PageSourceSearch

https://sso.com.br/assets/animated-counter-CWRE1u6u.js

js sso.com.br collected 2026-10-07 00:55:46 UTC 698 bytes, 1 lines download raw bytes

1import{r as e,j as t}from"./react--TxKtD1d.js";const r=({end:r,duration:n=2e3,prefix:s="",suffix:a="",className:o=""})=>{const[c,i]=e.useState(0),[u,f]=e.useState(!1),m=e.useRef(null);return e.useEffect(()=>{const e=new IntersectionObserver(([e])=>{e.isIntersecting&&!u&&f(!0)},{threshold:.1});return m.current&&e.observe(m.current),()=>e.disconnect()},[u]),e.useEffect(()=>{if(!u)return;let e,t;const s=a=>{e||(e=a);const o=Math.min((a-e)/n,1),c=1-Math.pow(1-o,4);i(Math.floor(c*r)),o<1&&(t=requestAnimationFrame(s))};return t=requestAnimationFrame(s),()=>cancelAnimationFrame(t)},[u,r,n]),t.jsxs("span",{ref:m,className:o,children:[s,c.toLocaleString("pt-BR"),a]})};export{r as AnimatedCounter};

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.