PageSourceSearch

https://haloxlabs.ai/assets/useCountUp-B9P7iGL5.js

js haloxlabs.ai collected 2026-10-05 12:01:32 UTC 823 bytes, 1 lines download raw bytes

1import{r as s}from"./react-vendor-CFATMFaB.js";function q(o,u,a=1200){const e=o.match(/^([\d,.]+)(.*)/),i=e?e[1].replace(/,/g,""):"0",F=e?e[2]:"",t=e?parseFloat(i):0,g=e?!i.includes("."):!0,x=e?e[1].includes(","):!1,m=!!e,[f,c]=s.useState(0),r=s.useRef(0),n=s.useRef();if(s.useEffect(()=>{if(!u||!m){c(0),r.current=0;return}if(typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches){r.current=t,c(t);return}const p=r.current,M=performance.now(),l=R=>{const S=R-M,h=Math.min(S/a,1),A=1-Math.pow(1-h,3),w=p+(t-p)*A;r.current=w,c(w),h<1&&(n.current=requestAnimationFrame(l))};return n.current=requestAnimationFrame(l),()=>{n.current&&cancelAnimationFrame(n.current)}},[u,t,a,m]),!e)return o;const d=g?Math.round(f):f.toFixed(1);return`${x?Number(d).toLocaleString():String(d)}${F}`}export{q 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.