import{u as v}from"./q-DElv2fU_.js";import{e as m}from"./q-DElv2fU_.js";const r=({track:a})=>{const[s,e,c,u]=v();a(()=>u.url.pathname);const o=c.onQVisible$;if(o){const t=new CustomEvent("qvisible");Array.isArray(o)?o.flat(10).forEach(i=>i==null?void 0:i(t,s.value)):o==null||o(t,s.value)}s.value&&(e==null||e(void 0,s.value))};export{m as _hW,r as s_JDGL8SQ1dS8};