text: import { f as readTask, w as writeTask } from './chunk-f257aad1.js';
  import './chunk-1074393c.js';
  
  function startStatusTap() {
      const win = window;
      win.addEventListener('statusTap', () => {
          readTask(() => {
              const width = win.innerWidth;
              const height = win.innerHeight;
              const el = document.elementFromPoint(width / 2, height / 2);
              if (!el) {
                  return;
              }
              const contentEl = el.closest('ion-content');
              if (contentEl) {
                  contentEl.componentOnReady().then(() => {
                      writeTask(() => contentEl.scrollToTop(300));
                  });
              }
          });
      });
  }
  
  export { startStatusTap };
  