1import{f as tt,g as et}from"./chunk-34E445TD.js";import{D as G,Qa as K,Xa as Q,b as Z,c as U,d as q,hb as W,hc as X,ic as Y,sa as J}from"./chunk-FE3MHUBC.js";import{$b as T,Ab as M,Ac as z,Cb as g,Eb as b,Fb as O,Ja as y,Qb as u,Qc as L,Sb as d,Uc as A,Wc as k,Xb as s,Yb as c,Zb as p,Zc as H,_b as h,ac as S,ad as $,bc as F,ha as C,kb as a,kc as o,la as m,qd as j,uc as E,ud as B,wb as x,wc as P,xb as _,xc as R,ya as I,zb as w,zc as f}from"./chunk-OQ4XWHPB.js";var nt=(()=>{class t{transform(e,n="HH:mm:ss"){let i=Number(e||0);return K.reduce((r,[N,V])=>{if(r.indexOf(N)!==-1){let D=Math.floor(i/V);return i-=D*V,r.replace(new RegExp(`${N}+`,"g"),at=>J(D.toString(),at.length,"0"))}return r},n)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=w({name:"nzTimeRange",type:t,pure:!0})}return t})(),it=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_({type:t});static \u0275inj=C({})}return t})();var rt=t=>({$implicit:t});function st(t,l){if(t&1&&F(0,1),t&2){let e=o();s("ngTemplateOutlet",e.nzValueTemplate)("ngTemplateOutletContext",L(2,rt,e.nzValue))}}function ct(t,l){if(t&1&&(c(0,"span",2),f(1),p()),t&2){let e=o(2);a(),z(e.displayInt)}}function pt(t,l){if(t&1&&(c(0,"span",3),f(1),p()),t&2){let e=o(2);a(),z(e.displayDecimal)}}function mt(t,l){if(t&1&&(u(0,ct,2,1,"span",2),u(1,pt,2,1,"span",3)),t&2){let e=o();d(e.displayInt?0:-1),a(),d(e.displayDecimal?1:-1)}}function ut(t,l){if(t&1&&(T(0),f(1),S()),t&2){let e=o();a(),z(e.nzTitle)}}function dt(t,l){t&1&&h(0,"nz-skeleton",2),t&2&&s("nzParagraph",!1)}function ft(t,l){if(t&1&&(T(0),f(1),S()),t&2){let e=o(3);a(),z(e.nzPrefix)}}function zt(t,l){if(t&1&&(c(0,"span",5),g(1,ft,2,1,"ng-container",1),p()),t&2){let e=o(2);a(),s("nzStringTemplateOutlet",e.nzPrefix)}}function gt(t,l){if(t&1&&(T(0),f(1),S()),t&2){let e=o(3);a(),z(e.nzSuffix)}}function Ct(t,l){if(t&1&&(c(0,"span",7),g(1,gt,2,1,"ng-container",1),p()),t&2){let e=o(2);a(),s("nzStringTemplateOutlet",e.nzSuffix)}}function xt(t,l){if(t&1&&(c(0,"div",4),u(1,zt,2,1,"span",5),h(2,"nz-statistic-number",6),u(3,Ct,2,1,"span",7),p()),t&2){let e=o();R(e.nzValueStyle),a(),d(e.nzPrefix?1:-1),a(),s("nzValue",e.nzValue)("nzValueTemplate",e.nzValueTemplate),a(),d(e.nzSuffix?3:-1)}}function _t(t,l){if(t&1&&(f(0),A(1,"nzTimeRange")),t&2){let e=o();z(k(1,1,e.diff,e.nzFormat))}}var ht=(()=>{class t{nzValue;nzValueTemplate;displayInt="";displayDecimal="";locale_id=m($);ngOnChanges(){this.formatNumber()}formatNumber(){let e=typeof this.nzValue=="number"?".":U(this.locale_id,Z.Decimal),n=String(this.nzValue),[i,r]=n.split(e);this.displayInt=i,this.displayDecimal=r?`${e}${r}`:""}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],features:[y],decls:3,vars:1,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(n,i){n&1&&(c(0,"span",0),u(1,st,1,4,"ng-container",1)(2,mt,2,2),p()),n&2&&(a(),d(i.nzValueTemplate?1:2))},dependencies:[q],encapsulation:2,changeDetection:0})}return t})(),v=(()=>{class t{nzPrefix;nzSuffix;nzTitle;nzValue;nzValueStyle={};nzValueTemplate;nzLoading=!1;dir="ltr";cdr=m(j);destroyRef=m(I);directionality=m(G);ngOnInit(){this.directionality.change?.pipe(Q(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["nz-statistic"]],hostAttrs:[1,"ant-statistic"],hostVars:2,hostBindings:function(n,i){n&2&&P("ant-statistic-rtl",i.dir==="rtl")},inputs:{nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueStyle:"nzValueStyle",nzValueTemplate:"nzValueTemplate",nzLoading:[2,"nzLoading","nzLoading",B]},exportAs:["nzStatistic"],decls:4,vars:2,consts:[[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-skeleton",3,"nzParagraph"],[1,"ant-statistic-content",3,"style"],[1,"ant-statistic-content"],[1,"ant-statistic-content-prefix"],[3,"nzValue","nzValueTemplate"],[1,"ant-statistic-content-suffix"]],template:function(n,i){n&1&&(c(0,"div",0),g(1,ut,2,1,"ng-container",1),p(),u(2,dt,1,1,"nz-skeleton",2)(3,xt,4,6,"div",3)),n&2&&(a(),s("nzStringTemplateOutlet",i.nzTitle),a(),d(i.nzLoading?2:3))},dependencies:[et,tt,ht,Y,X],encapsulation:2,changeDetection:0})}return t})(),Tt=1e3/30,St=(()=>{class t extends v{ngZone=m(O);platform=m(W);nzFormat="HH:mm:ss";nzCountdownFinish=new b;diff;target=0;intervalId=null;constructor(){super(),this.destroyRef.onDestroy(()=>{this.stopTimer()})}ngOnChanges(e){let{nzValue:n}=e;n&&(this.target=Number(n.currentValue),n.isFirstChange()||this.syncTimer())}ngOnInit(){super.ngOnInit(),this.syncTimer()}syncTimer(){this.target>=Date.now()?this.startTimer():this.stopTimer()}startTimer(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.stopTimer(),this.intervalId=setInterval(()=>
1{this.updateValue(),this.cdr.detectChanges()},Tt)})}stopTimer(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}updateValue(){this.diff=Math.max(this.target-Date.now(),0),this.diff===0&&(this.stopTimer(),this.nzCountdownFinish.observers.length&&this.ngZone.run(()=>this.nzCountdownFinish.emit()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["nz-countdown"]],inputs:{nzFormat:"nzFormat"},outputs:{nzCountdownFinish:"nzCountdownFinish"},exportAs:["nzCountdown"],features:[M,y],decls:3,vars:6,consts:[["countDownTpl",""],[3,"nzValue","nzValueStyle","nzValueTemplate","nzTitle","nzPrefix","nzSuffix"]],template:function(n,i){if(n&1&&(h(0,"nz-statistic",1),g(1,_t,2,4,"ng-template",null,0,H)),n&2){let r=E(2);s("nzValue",i.diff)("nzValueStyle",i.nzValueStyle)("nzValueTemplate",i.nzValueTemplate||r)("nzTitle",i.nzTitle)("nzPrefix",i.nzPrefix)("nzSuffix",i.nzSuffix)}},dependencies:[v,it,nt],encapsulation:2,changeDetection:0})}return t})(),$t=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_({type:t});static \u0275inj=C({imports:[v,St]})}return t})();export{v as a,St as b,$t as c};
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.