File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@ionic/core/dist/ionic/p-ef07f721.js
/*!
* (C) Ionic http://ionicframework.com - MIT License
*/
import{c as o}from"./p-ebe7e343.js";import{a as t}from"./p-d2917828.js";const s="ion-content",n=".ion-content-scroll-host",e=o=>"ION-CONTENT"===o.tagName,a=async t=>e(t)?(await new Promise((s=>o(t,s))),t.getScrollElement()):t,r=o=>o.querySelector(".ion-content-scroll-host")||o.querySelector("ion-content, .ion-content-scroll-host"),i=o=>o.closest("ion-content, .ion-content-scroll-host"),c=(o,t)=>e(o)?o.scrollToTop(t):Promise.resolve(o.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"})),l=(o,t,s,n)=>e(o)?o.scrollByPoint(t,s,n):Promise.resolve(o.scrollBy({top:s,left:t,behavior:n>0?"smooth":"auto"})),h=o=>t(o,"ion-content"),m=o=>{if(e(o)){const t=o.scrollY;return o.scrollY=!1,t}return o.style.setProperty("overflow","hidden"),!0},f=(o,t)=>{e(o)?o.scrollY=t:o.style.removeProperty("overflow")};export{s as I,r as a,n as b,l as c,m as d,i as f,a as g,e as i,h as p,f as r,c as s}