1import{h as g,n as S,bY as C,aC as r,S as F,bZ as U}from"./DQw3abuF.js";function w(o,i,l){const{locale:a="fr",duration:s=2,startOnVisible:f=!0,numberSuffix:u,formattingFn:c=v}=l??{};let t;function d(){o.value&&(t||(t=new U(o.value,+i.value,{formattingFn:c,duration:s})))}function v(n){return(a?n.toLocaleString(a):String(n))+(" "+(g(u)??""))}function e(){d(),t?.start()}S(()=>{if(!f)return e();const{stop:n}=C(o.value,h=>{h.forEach(m=>{m.intersectionRatio>.5&&(e(),n())})},{threshold:.5})}),r(i,n=>t?.update(+n)),F(u)&&r(u,()=>t?.update(+i.value));function p(){t?.printValue(+i.value)}return{formatNumber:p}}export{w as u}; 2//# sourceMappingURL=BoYeCoEM.js.map
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.