import{i as o,w as t}from"./p-d00c3523.js";import{c as n}from"./p-6da8225a.js";
/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */const s=()=>{const s=window;s.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(s.innerWidth/2,s.innerHeight/2);if(!o)return;const a=o.closest("ion-content");a&&new Promise((o=>n(a,o))).then((()=>{t((async()=>{a.style.setProperty("--overflow","hidden"),await a.scrollToTop(300),a.style.removeProperty("--overflow")}))}))}))}))};export{s as startStatusTap}