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