1import{n as e,r as t}from"./rolldown-runtime-S-ySWqyJ.js";import{i as n}from"./framework-lj9SIvjL.js";import{c as r}from"./index-BewWE-Vv.js";var i=e({Beacon:()=>s,track:()=>o}),a=t(n(),1);function o(e){fetch(`/api/hit`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({path:window.location.pathname,event:e}),keepalive:!0}).catch(()=>{})}function s(){let e=r(),t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{t.current!==e&&(t.current=e,fetch(`/api/hit`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({path:e,ref:document.referrer}),keepalive:!0}).catch(()=>{}))},[e]),null}export{o as n,i 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.