1import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{t}from"./react-CUdNIagt.js";import{r as n}from"./router-compat-Dpp9Ww5w.js";import{t as r}from"./cookieConsent-BkwtP3wg.js";var i=e(t(),1),a=[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`],o=`utm_params`,s=`first_visit_at`,c=()=>{let e=n();(0,i.useEffect)(()=>{localStorage.getItem(s)||localStorage.setItem(s,new Date().toISOString());try{let t=new URLSearchParams(e.search).get(`iy_att`);t&&/^[A-Za-z0-9_-]{6,128}$/.test(t)&&localStorage.setItem(`iy_att`,t)}catch{}if(!r())return;let t=new URLSearchParams(e.search);if(a.some(e=>t.has(e))){let n=localStorage.getItem(o),r=n?JSON.parse(n):{landing_page:e.pathname,captured_at:new Date().toISOString(),first_visit_at:localStorage.getItem(s)||new Date().toISOString()};a.forEach(e=>{let n=t.get(e);n&&(r[e]=n)}),localStorage.setItem(o,JSON.stringify(r)),sessionStorage.setItem(o,JSON.stringify(r))}},[e.search,e.pathname])},l=()=>{try{let e=localStorage.getItem(o)||sessionStorage.getItem(o);return e?JSON.parse(e):null}catch{return null}};export{c as n,l as t};
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.