1import{r as u}from"./index-CleidhS-.js";function l(r,n=2e3,a=!1){const[f,c]=u.useState(0);return u.useEffect(()=>{if(!a)return;let t=null,e;const o=s=>{t||(t=s);const i=Math.min((s-t)/n,1);c(Math.floor(i*r)),i<1&&(e=requestAnimationFrame(o))};return e=requestAnimationFrame(o),()=>cancelAnimationFrame(e)},[r,n,a]),f}export{l 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.