1import{a as x}from"./chunk-TNR3F2WC.js";import{Eb as d,Ja as o,Rb as u,Sb as c,Wa as s,jb as p,kb as f,pb as m,pc as l,qb as r,rb as a,sc as v}from"./chunk-EUG4F67F.js";function g(n,_){if(n&1&&(r(0,"div",1),u(1),a()),n&2){let i=d();o(),c(i.counter().text)}}var w=(()=>{class n{constructor(){this.counter=v.required(),this.suffix=l(()=>this.pad(this.counter().postfix,"start")),this.prefix=l(()=>this.pad(this.counter().prefix,"end")),this.finalValue=l(()=>{let{decimals:i=0,value:t}=this.counter();return`${this.prefix()}${Number(t).toFixed(i)}${this.suffix()}`})}pad(i,t){let e=i?.trim();if(!e)return"";let h=t==="start"?e.at(0):e.at(-1);return/[a-z0-9]/i.test(h)?t==="start"?` ${e}`:`${e} `:e}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=s({type:n,selectors:[["app-counter-animation"]],inputs:{counter:[1,"counter"]},decls:6,vars:7,consts:[[1,"counter"],[1,"counter__text"],[1,"counter__value",3,"v2CountUp","prefix","suffix","decimals"],[1,"counter__title"]],template:function(t,e){t&1&&(r(0,"div",0),p(1,g,2,1,"div",1),r(2,"span",2),u(3),a(),r(4,"p",3),u(5),a()()),t&2&&(o(),f(e.counter().text?1:-1),o(),m("v2CountUp",e.counter().value)("prefix",e.prefix())("suffix",e.suffix())("decimals",e.counter().decimals??0),o(),c(e.finalValue()),o(2),c(e.counter().title))},dependencies:[x],styles:[`.counter{display:flex;flex-direction:column;gap:var(--space-3)}.counter__text{font-size:13px;line-height:18px;color:var(--color-muted)}.counter__value{display:block;font-family:var(--font-body);font-size:clamp(1.9rem,2.8vw,3.2rem);font-weight:700;line-height:.92;letter-spacing:-.03em;color:var(--color-text)}.counter__title{font-family:var(--font-body);font-size:clamp(.9rem,1vw,1rem);line-height:1.5;color:var(--color-muted)} 2`],encapsulation:2})}}return n})();export{w as a};
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.