1var i=Object.defineProperty;var r=(t,e)=>i(t,"name",{value:e,configurable:!0});import{A as o}from"./index-ClNjN171.js";import{r as u}from"./vendor-react-B7SHFsLe.js";const f=2*60*1e3;let a=null,c=0,s=null;async function h(){const t=await fetch(`${o}/api/public/stats`);if(!t.ok)return null;const e=await t.text();if(!e)return null;const n=JSON.parse(e);return!n.success||!n.stats?null:n.stats}r(h,"load");function p(){return a&&Date.now()-c<f?Promise.resolve(a):(s||(s=h().then(t=>(t&&(a=t,c=Date.now()),t)).catch(t=>(console.error("Failed to fetch public stats:",t),null)).finally(()=>{s=null})),s)}r(p,"fetchPublicStats");function b(){const[t,e]=u.useState(a);return u.useEffect(()=>{let n=!0;return p().then(l=>{n&&l&&e(l)}),()=>{n=!1}},[]),t}r(b,"usePublicStats");export{b as u};
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.