1import{r as f}from"./index.o9bRfbtw.js";function v(s,r,i=3e3){const[a,d]=f.useState(r===0);return f.useEffect(()=>{if(r===0)return;const u=s.current;if(!u)return;let c=!1;const n=()=>{c||(c=!0,d(!0))},o=[...u.querySelectorAll('link[rel="stylesheet"]')];if(o.length===0){n();return}let h=o.length;const t=()=>{--h<=0&&n()},l=[];for(const e of o){if(e.sheet){t();continue}e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0}),l.push(()=>{e.removeEventListener("load",t),e.removeEventListener("error",t)})}const m=window.setTimeout(n,i);return()=>{window.clearTimeout(m);for(const e of l)e()}},[s,r,i]),a}export{v 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.