1import { 2 findClosestIonContent, 3 scrollToTop 4} from "./chunk-V3YFOG6Q.js"; 5import "./chunk-3J4L7S6G.js"; 6import { 7 readTask, 8 writeTask 9} from "./chunk-LONO5O5R.js"; 10import { 11 componentOnReady 12} from "./chunk-PWC4K6CW.js"; 13import { 14 __async 15} from "./chunk-CO64IJQE.js"; 16 17// node_modules/@ionic/core/components/status-tap.js 18var startStatusTap = () => { 19 const win = window; 20 win.addEventListener("statusTap", () => { 21 readTask(() => { 22 const width = win.innerWidth; 23 const height = win.innerHeight; 24 const el = document.elementFromPoint(width / 2, height / 2); 25 if (!el) { 26 return; 27 } 28 const contentEl = findClosestIonContent(el); 29 if (contentEl) { 30 new Promise((resolve) => componentOnReady(contentEl, resolve)).then(() => { 31 writeTask(() => __async(void 0, null, function* () { 32 contentEl.style.setProperty("--overflow", "hidden"); 33 yield scrollToTop(contentEl, 300); 34 contentEl.style.removeProperty("--overflow"); 35 })); 36 }); 37 } 38 }); 39 }); 40}; 41export { 42 startStatusTap 43};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.