-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-CCLBSV4M.js
More file actions
25 lines (23 loc) · 172 KB
/
chunk-CCLBSV4M.js
File metadata and controls
25 lines (23 loc) · 172 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import{a as $i,b as Hi}from"./chunk-FSXUUIYJ.js";import{a as Fi,b as wi}from"./chunk-RH3ZT4AV.js";import{a as an,b as rn}from"./chunk-3RSAS7FX.js";import{b as ln,d as sn,e as ji,f as cn}from"./chunk-NNEG5XLF.js";import{a as Pi,b as Ri,c as Ui,d as Bi}from"./chunk-LCXGVWJY.js";import{b as Xt,c as Yt,d as Kt,e as Jt,f as Wi,g as Vi,h as en,i as tn,m as nn,n as on}from"./chunk-2VB5JCDE.js";import"./chunk-TNXZVDJM.js";import{b as De,c as Me}from"./chunk-EJLLX3NW.js";import{$ as vi,$b as Ii,Ba as $t,Fa as Ei,Ha as yi,I as Y,K as xi,Na as Ie,Oa as dt,Pb as ki,Qa as U,Qb as Di,Rb as Mi,Sa as G,Ub as Ti,V as Ot,Y as je,Yb as Li,Za as be,_ as zi,_a as Zt,_b as Ai,a as it,aa as Wt,ab as Ne,bb as ke,ca as An,hb as bi,i as ui,j as fi,k as hi,l as _i,la as te,m as gi,mc as pt,nb as Ni,oc as Oi,pa as Vt,qa as jt,ra as le,s as Ci,u as Ae,ub as Gt,vb as qt,x as Ln,yb as Qt}from"./chunk-GU7FRFWB.js";import{$ as Qn,$b as ue,A as Fn,Ab as y,Ac as he,Ba as J,Bb as Ee,Bc as ci,Cb as Je,Cc as Et,Dc as yt,E as Qe,Eb as Nn,Ec as Ft,Fc as kn,Gb as x,Gc as Dn,Hb as ei,Hc as Bt,Ia as Ye,Ja as Yn,Jc as O,Kc as di,L as qn,La as pe,Mb as ti,Mc as tt,Nb as X,Nc as we,Ob as h,Oc as Mn,Pb as _,Qb as Ut,Rb as me,Sb as H,Tb as Z,Ub as p,Uc as P,Vb as o,Wb as a,Xb as m,Y as Re,Yb as Be,Yc as $,Z as Lt,Zb as ye,Zc as Tn,_b as Oe,_c as pi,a as vt,ac as fe,ad as wt,bc as ni,bd as F,c as ze,cc as M,cd as mi,db as wn,dc as ii,eb as Ke,ec as oi,f as Ge,ga as At,gc as g,gd as nt,ha as ve,hc as ai,ib as c,ic as ri,id as Ve,ja as Xn,jc as d,kc as Fe,l as ie,la as C,lc as ee,m as R,md as Q,nb as Ue,nc as oe,nd as ct,ob as Rt,oc as ae,p as qe,pc as re,qa as It,qb as Kn,ra as Pt,rb as bn,rc as li,sa as v,sc as si,sd as Si,t as St,ta as S,tc as w,td as In,ua as de,uc as B,v as Gn,vc as V,vd as Ht,wa as Xe,wb as Jn,wc as We,xa as Se,xc as N,xd as Pn,ya as Le,yc as i,zc as et}from"./chunk-GUHHCQYK.js";import{a as j,b as lt,c as Zn,g as st}from"./chunk-OW75ZOQB.js";var yo=t=>({$implicit:t});function Fo(t,l){if(t&1&&m(0,"nz-icon",3),t&2){let e=d(3);p("nzType",e.icon)}}function wo(t,l){if(t&1&&(ue(0),i(1),fe()),t&2){let e=l.$implicit,n=d(4);c(),he(" ",e(n.nzPercent)," ")}}function bo(t,l){if(t&1&&x(0,wo,2,1,"ng-container",4),t&2){let e=d(3);p("nzStringTemplateOutlet",e.formatter)("nzStringTemplateOutletContext",we(2,yo,e.nzPercent))}}function No(t,l){if(t&1&&(o(0,"span",2),h(1,Fo,1,1,"nz-icon",3)(2,bo,1,4,"ng-container"),a()),t&2){let e=d(2);c(),_((e.status==="exception"||e.status==="success")&&!e.nzFormat?1:2)}}function ko(t,l){if(t&1&&h(0,No,3,1,"span",2),t&2){let e=d();_(e.nzShowInfo?0:-1)}}function Do(t,l){if(t&1&&m(0,"div",8),t&2){let e=l.$implicit;We(e)}}function Mo(t,l){}function To(t,l){if(t&1&&(o(0,"div",5),H(1,Do,1,2,"div",6,Ut),x(3,Mo,0,0,"ng-template",7),a()),t&2){let e=d(2),n=w(1);c(),Z(e.steps),c(2),p("ngTemplateOutlet",n)}}function Lo(t,l){if(t&1&&m(0,"div",13),t&2){let e=d(3);B("width",e.nzSuccessPercent,"%")("border-radius",e.nzStrokeLinecap==="round"?"100px":"0")("height",e.strokeWidth,"px")}}function Ao(t,l){}function Io(t,l){if(t&1&&(o(0,"div",9)(1,"div",10),m(2,"div",11),h(3,Lo,1,6,"div",12),a()(),x(4,Ao,0,0,"ng-template",7)),t&2){let e=d(2),n=w(1);c(2),B("width",e.nzPercent,"%")("border-radius",e.nzStrokeLinecap==="round"?"100px":"0")("background",e.isGradient?null:e.nzStrokeColor)("background-image",e.isGradient?e.lineGradient:null)("height",e.strokeWidth,"px"),c(),_(e.nzSuccessPercent||e.nzSuccessPercent===0?3:-1),c(),p("ngTemplateOutlet",n)}}function Po(t,l){if(t&1&&(o(0,"div"),h(1,To,4,1,"div",5)(2,Io,5,12),a()),t&2){let e=d();c(),_(e.isSteps?1:2)}}function Ro(t,l){if(t&1&&(de(),m(0,"stop")),t&2){let e=l.$implicit;X("offset",e.offset)("stop-color",e.color)}}function Uo(t,l){if(t&1&&(de(),o(0,"defs")(1,"linearGradient",17),H(2,Ro,1,2,":svg:stop",null,Ut),a()()),t&2){let e=d(2);c(),p("id","gradient-"+e.gradientId),c(),Z(e.circleGradient)}}function Bo(t,l){if(t&1&&(de(),m(0,"path",18)),t&2){let e=l.$implicit,n=d(2);We(e.strokePathStyle),X("d",n.pathString)("stroke-linecap",n.nzStrokeLinecap)("stroke",e.stroke)("stroke-width",n.nzPercent?n.strokeWidth:0)}}function Oo(t,l){}function Wo(t,l){if(t&1&&(o(0,"div",10),de(),o(1,"svg",14),h(2,Uo,4,1,":svg:defs"),m(3,"path",15),H(4,Bo,1,6,":svg:path",16,Ut),a(),x(6,Oo,0,0,"ng-template",7),a()),t&2){let e=d(),n=w(1);B("width",e.nzWidth,"px")("height",e.nzWidth,"px")("font-size",e.nzWidth*.15+6,"px"),V("ant-progress-circle-gradient",e.isGradient),c(2),_(e.isGradient?2:-1),c(),We(e.trailPathStyle),X("stroke-width",e.strokeWidth)("d",e.pathString),c(),Z(e.progressCirclePath),c(2),p("ngTemplateOutlet",n)}}function Vo(t){return+t.replace("%","")}var qi=t=>{let l=[];return Object.keys(t).forEach(e=>{let n=t[e],r=Vo(e);isNaN(r)||l.push({key:r,value:n})}),l=l.sort((e,n)=>e.key-n.key),l},jo=t=>qi(t).map(({key:l,value:e})=>({offset:`${l}%`,color:e})),$o=t=>{let s=t,{from:l="#1890ff",to:e="#1890ff",direction:n="to right"}=s,r=Zn(s,["from","to","direction"]);if(Object.keys(r).length!==0){let u=qi(r).map(({key:z,value:E})=>`${E} ${z}%`).join(", ");return`linear-gradient(${n}, ${u})`}return`linear-gradient(${n}, ${l}, ${e})`},Ho=0,Zi="progress",Zo=new Map([["success","check"],["exception","close"]]),Go=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),qo=t=>`${t}%`,bt=(()=>{var ge;let t,l=[],e=[],n,r=[],s=[],u,z=[],E=[],L,W=[],q=[],I,T=[],k=[],b,K=[],at=[],Sn,ne=[],Hn=[];return ge=class{_nzModuleName=Zi;cdr=C(Ve);directionality=C(Ae);destroyRef=C(Le);nzShowInfo=R(this,l,!0);nzWidth=(R(this,e),132);nzStrokeColor=R(this,r,void 0);nzSize=(R(this,s),R(this,z,"default"));nzFormat=R(this,E);nzSuccessPercent;nzPercent=0;nzStrokeWidth=R(this,W,void 0);nzGapDegree=(R(this,q),R(this,T,void 0));nzStatus=R(this,k);nzType="line";nzGapPosition=R(this,K,"top");nzStrokeLinecap=(R(this,at),R(this,ne,"round"));nzSteps=(R(this,Hn),0);steps=[];lineGradient=null;isGradient=!1;isSteps=!1;gradientId=Ho++;progressCirclePath=[];circleGradient;trailPathStyle=null;pathString;icon;dir="ltr";get formatter(){return this.nzFormat||qo}get status(){return this.nzStatus||this.inferredStatus}get strokeWidth(){return this.nzStrokeWidth||(this.nzType==="line"&&this.nzSize!=="small"?8:6)}get isCircleStyle(){return this.nzType==="circle"||this.nzType==="dashboard"}cachedStatus="normal";inferredStatus="normal";constructor(){jt(Zi,()=>{this.updateIcon(),this.setStrokeColor(),this.getCirclePaths()})}ngOnChanges(A){let{nzSteps:f,nzGapPosition:D,nzStrokeLinecap:Ce,nzStrokeColor:ce,nzGapDegree:He,nzType:rt,nzStatus:Ze,nzPercent:xe,nzSuccessPercent:Tt,nzStrokeWidth:En}=A;Ze&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(xe||Tt)&&(parseInt(this.nzPercent.toString(),10)>=100?(je(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||this.nzSuccessPercent===void 0)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(Ze||xe||Tt||ce)&&this.updateIcon(),ce&&this.setStrokeColor(),(D||Ce||He||rt||xe||ce||ce)&&this.getCirclePaths(),(xe||f||En)&&(this.isSteps=this.nzSteps>0,this.isSteps&&this.getSteps())}ngOnInit(){this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(A=>{this.dir=A,this.cdr.detectChanges()}),this.dir=this.directionality.value}updateIcon(){let A=Zo.get(this.status);this.icon=A?A+(this.isCircleStyle?"-o":"-circle-fill"):""}getSteps(){let A=Math.floor(this.nzSteps*(this.nzPercent/100)),f=this.nzSize==="small"?2:14,D=[];for(let Ce=0;Ce<this.nzSteps;Ce++){let ce;Ce<=A-1&&(ce=this.nzStrokeColor);let He={backgroundColor:`${ce}`,width:`${f}px`,height:`${this.strokeWidth}px`};D.push(He)}this.steps=D}getCirclePaths(){if(!this.isCircleStyle)return;let A=je(this.nzSuccessPercent)?[this.nzSuccessPercent,this.nzPercent]:[this.nzPercent],f=50-this.strokeWidth/2,D=this.nzGapPosition||(this.nzType==="circle"?"top":"bottom"),Ce=Math.PI*2*f,ce=this.nzGapDegree||(this.nzType==="circle"?0:75),He=0,rt=-f,Ze=0,xe=f*-2;switch(D){case"left":He=-f,rt=0,Ze=f*2,xe=0;break;case"right":He=f,rt=0,Ze=f*-2,xe=0;break;case"bottom":rt=f,xe=f*2;break;default:}this.pathString=`M 50,50 m ${He},${rt}
a ${f},${f} 0 1 1 ${Ze},${-xe}
a ${f},${f} 0 1 1 ${-Ze},${xe}`,this.trailPathStyle={strokeDasharray:`${Ce-ce}px ${Ce}px`,strokeDashoffset:`-${ce/2}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"},this.progressCirclePath=A.map((Tt,En)=>{let yn=A.length===2&&En===0;return{stroke:this.isGradient&&!yn?`url(#gradient-${this.gradientId})`:null,strokePathStyle:{stroke:this.isGradient?null:yn?Go.get("success"):this.nzStrokeColor,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s",strokeDasharray:`${(Tt||0)/100*(Ce-ce)}px ${Ce}px`,strokeDashoffset:`-${ce/2}px`}}}).reverse()}setStrokeColor(){let A=this.nzStrokeColor,f=this.isGradient=!!A&&typeof A!="string";f&&!this.isCircleStyle?this.lineGradient=$o(A):f&&this.isCircleStyle?this.circleGradient=jo(this.nzStrokeColor):(this.lineGradient=null,this.circleGradient=[])}},(()=>{let A=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[le()],n=[le()],u=[le()],L=[le()],I=[le()],b=[le()],Sn=[le()],ie(null,null,t,{kind:"field",name:"nzShowInfo",static:!1,private:!1,access:{has:f=>"nzShowInfo"in f,get:f=>f.nzShowInfo,set:(f,D)=>{f.nzShowInfo=D}},metadata:A},l,e),ie(null,null,n,{kind:"field",name:"nzStrokeColor",static:!1,private:!1,access:{has:f=>"nzStrokeColor"in f,get:f=>f.nzStrokeColor,set:(f,D)=>{f.nzStrokeColor=D}},metadata:A},r,s),ie(null,null,u,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:f=>"nzSize"in f,get:f=>f.nzSize,set:(f,D)=>{f.nzSize=D}},metadata:A},z,E),ie(null,null,L,{kind:"field",name:"nzStrokeWidth",static:!1,private:!1,access:{has:f=>"nzStrokeWidth"in f,get:f=>f.nzStrokeWidth,set:(f,D)=>{f.nzStrokeWidth=D}},metadata:A},W,q),ie(null,null,I,{kind:"field",name:"nzGapDegree",static:!1,private:!1,access:{has:f=>"nzGapDegree"in f,get:f=>f.nzGapDegree,set:(f,D)=>{f.nzGapDegree=D}},metadata:A},T,k),ie(null,null,b,{kind:"field",name:"nzGapPosition",static:!1,private:!1,access:{has:f=>"nzGapPosition"in f,get:f=>f.nzGapPosition,set:(f,D)=>{f.nzGapPosition=D}},metadata:A},K,at),ie(null,null,Sn,{kind:"field",name:"nzStrokeLinecap",static:!1,private:!1,access:{has:f=>"nzStrokeLinecap"in f,get:f=>f.nzStrokeLinecap,set:(f,D)=>{f.nzStrokeLinecap=D}},metadata:A},ne,Hn),A&&Object.defineProperty(ge,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:A})})(),st(ge,"\u0275fac",function(f){return new(f||ge)}),st(ge,"\u0275cmp",y({type:ge,selectors:[["nz-progress"]],inputs:{nzShowInfo:"nzShowInfo",nzWidth:"nzWidth",nzStrokeColor:"nzStrokeColor",nzSize:"nzSize",nzFormat:"nzFormat",nzSuccessPercent:[2,"nzSuccessPercent","nzSuccessPercent",Wt],nzPercent:[2,"nzPercent","nzPercent",ct],nzStrokeWidth:[2,"nzStrokeWidth","nzStrokeWidth",Wt],nzGapDegree:[2,"nzGapDegree","nzGapDegree",Wt],nzStatus:"nzStatus",nzType:"nzType",nzGapPosition:"nzGapPosition",nzStrokeLinecap:"nzStrokeLinecap",nzSteps:[2,"nzSteps","nzSteps",ct]},exportAs:["nzProgress"],features:[Ye],decls:5,vars:18,consts:[["progressInfoTemplate",""],[1,"ant-progress-inner",3,"width","height","fontSize","ant-progress-circle-gradient"],[1,"ant-progress-text"],[3,"nzType"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-progress-steps-outer"],[1,"ant-progress-steps-item",3,"style"],[3,"ngTemplateOutlet"],[1,"ant-progress-steps-item"],[1,"ant-progress-outer"],[1,"ant-progress-inner"],[1,"ant-progress-bg"],[1,"ant-progress-success-bg",3,"width","border-radius","height"],[1,"ant-progress-success-bg"],["viewBox","0 0 100 100",1,"ant-progress-circle"],["stroke","#f3f3f3","fill-opacity","0",1,"ant-progress-circle-trail"],["fill-opacity","0",1,"ant-progress-circle-path",3,"style"],["x1","100%","y1","0%","x2","0%","y2","0%",3,"id"],["fill-opacity","0",1,"ant-progress-circle-path"]],template:function(f,D){f&1&&(x(0,ko,1,1,"ng-template",null,0,P),o(2,"div"),h(3,Po,3,1,"div"),h(4,Wo,7,14,"div",1),a()),f&2&&(c(2),N("ant-progress ant-progress-status-"+D.status),V("ant-progress-line",D.nzType==="line")("ant-progress-small",D.nzSize==="small")("ant-progress-default",D.nzSize==="default")("ant-progress-show-info",D.nzShowInfo)("ant-progress-circle",D.isCircleStyle)("ant-progress-steps",D.isSteps)("ant-progress-rtl",D.dir==="rtl"),c(),_(D.nzType==="line"?3:-1),c(),_(D.isCircleStyle?4:-1))},dependencies:[G,U,dt,Ie,it],encapsulation:2,changeDetection:0})),ge})(),dn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ee({type:t});static \u0275inj=ve({imports:[bt]})}return t})();var Qo=["file"],Xo=["nz-upload-btn",""],Ki=["*"],Nt=t=>({$implicit:t}),Yo=()=>({opacity:.5,"pointer-events":"none"});function Ko(t,l){}function Jo(t,l){if(t&1&&(o(0,"div",16),x(1,Ko,0,0,"ng-template",17),a()),t&2){let e=d(2).$implicit,n=w(5);V("ant-upload-list-item-file",!e.isUploading),c(),p("ngTemplateOutlet",n)("ngTemplateOutletContext",we(4,Nt,e))}}function ea(t,l){if(t&1&&m(0,"img",19),t&2){let e=d(3).$implicit;p("src",e.thumbUrl||e.url,Ke),X("alt",e.name)}}function ta(t,l){}function na(t,l){if(t&1&&x(0,ta,0,0,"ng-template",17),t&2){let e=d(3).$implicit,n=w(5);p("ngTemplateOutlet",n)("ngTemplateOutletContext",we(2,Nt,e))}}function ia(t,l){if(t&1){let e=M();o(0,"a",18),g("click",function(r){v(e);let s=d(2).$implicit,u=d();return S(u.handlePreview(s,r))}),h(1,ea,1,2,"img",19)(2,na,1,4,null,17),a()}if(t&2){let e=d(2).$implicit;V("ant-upload-list-item-file",!e.isImageUrl),p("href",e.url||e.thumbUrl,Ke),c(),_(e.isImageUrl?1:2)}}function oa(t,l){}function aa(t,l){if(t&1&&(o(0,"div",15),x(1,oa,0,0,"ng-template",17),a()),t&2){let e=d(2).$implicit,n=w(5);c(),p("ngTemplateOutlet",n)("ngTemplateOutletContext",we(2,Nt,e))}}function ra(t,l){if(t&1&&h(0,Jo,2,6,"div",13)(1,ia,3,4,"a",14)(2,aa,2,4,"div",15),t&2){let e,n=d().$implicit;_((e=n.iconType)==="uploading"?0:e==="thumbnail"?1:2)}}function la(t,l){t&1&&m(0,"nz-icon",21)}function sa(t,l){if(t&1&&m(0,"nz-icon",22),t&2){let e=d(3).$implicit;p("nzType",e.isImageUrl?"picture":"file")}}function ca(t,l){if(t&1&&h(0,la,1,0,"nz-icon",21)(1,sa,1,1,"nz-icon",22),t&2){let e=d(2).$implicit;_(e.isUploading?0:1)}}function da(t,l){if(t&1&&i(0),t&2){let e=d(5);he(" ",e.locale.uploading," ")}}function pa(t,l){if(t&1&&m(0,"nz-icon",22),t&2){let e=d(3).$implicit;p("nzType",e.isImageUrl?"picture":"file")}}function ma(t,l){if(t&1&&h(0,da,1,1)(1,pa,1,1,"nz-icon",22),t&2){let e=d(2).$implicit;_(e.isUploading?0:1)}}function ua(t,l){if(t&1&&m(0,"nz-icon",20),t&2){let e=d(2).$implicit;p("nzType",e.isUploading?"loading":"paper-clip")}}function fa(t,l){if(t&1&&h(0,ca,2,1)(1,ma,2,1)(2,ua,1,1,"nz-icon",20),t&2){let e,n=d(3);_((e=n.listType)==="picture"?0:e==="picture-card"?1:2)}}function ha(t,l){}function _a(t,l){if(t&1&&x(0,ha,0,0,"ng-template",17),t&2){let e=d().$implicit,n=d(2);p("ngTemplateOutlet",n.iconRender)("ngTemplateOutletContext",we(2,Nt,e))}}function ga(t,l){if(t&1&&h(0,fa,3,1)(1,_a,1,4,null,17),t&2){let e=d(2);_(e.iconRender?1:0)}}function Ca(t,l){if(t&1){let e=M();o(0,"button",24),g("click",function(r){v(e);let s=d(2).$implicit,u=d();return S(u.handleRemove(s,r))}),m(1,"nz-icon",25),a()}if(t&2){let e=d(3);X("title",e.locale.removeFile)}}function xa(t,l){if(t&1&&h(0,Ca,2,1,"button",23),t&2){let e=d(2);_(e.icons.showRemoveIcon?0:-1)}}function za(t,l){if(t&1){let e=M();o(0,"button",24),g("click",function(){v(e);let r=d(2).$implicit,s=d();return S(s.handleDownload(r))}),m(1,"nz-icon",26),a()}if(t&2){let e=d(3);X("title",e.locale.downloadFile)}}function va(t,l){if(t&1&&h(0,za,2,1,"button",23),t&2){let e=d().$implicit;_(e.showDownload?0:-1)}}function Sa(t,l){}function Ea(t,l){}function ya(t,l){if(t&1&&(o(0,"span"),x(1,Sa,0,0,"ng-template",10)(2,Ea,0,0,"ng-template",10),a()),t&2){d(2);let e=w(7),n=w(9),r=d();N(O("ant-upload-list-item-card-actions ",r.listType==="picture"?"picture":"")),c(),p("ngTemplateOutlet",n),c(),p("ngTemplateOutlet",e)}}function Fa(t,l){if(t&1&&h(0,ya,3,5,"span",6),t&2){let e=d(2);_(e.listType!=="picture-card"?0:-1)}}function wa(t,l){if(t&1){let e=M();o(0,"a",29),g("click",function(r){v(e);let s=d(2).$implicit,u=d();return S(u.handlePreview(s,r))}),i(1),a()}if(t&2){let e=d(2).$implicit;p("href",e.url,Ke),X("title",e.name)("download",e.linkProps&&e.linkProps.download),c(),he(" ",e.name," ")}}function ba(t,l){if(t&1){let e=M();o(0,"span",30),g("click",function(r){v(e);let s=d(2).$implicit,u=d();return S(u.handlePreview(s,r))}),i(1),a()}if(t&2){let e=d(2).$implicit;X("title",e.name),c(),he(" ",e.name," ")}}function Na(t,l){}function ka(t,l){if(t&1&&(h(0,wa,2,4,"a",27)(1,ba,2,2,"span",28),x(2,Na,0,0,"ng-template",10)),t&2){let e=d().$implicit,n=w(11);_(e.url?0:1),c(2),p("ngTemplateOutlet",n)}}function Da(t,l){}function Ma(t,l){}function Ta(t,l){if(t&1){let e=M();o(0,"a",32),g("click",function(r){v(e);let s=d(2).$implicit,u=d();return S(u.handlePreview(s,r))}),m(1,"nz-icon",33),a()}if(t&2){let e=d(2).$implicit,n=d();We(e.url||e.thumbUrl?null:tt(4,Yo)),p("href",e.url||e.thumbUrl,Ke),X("title",n.locale.previewFile)}}function La(t,l){}function Aa(t,l){if(t&1&&x(0,La,0,0,"ng-template",10),t&2){d(2);let e=w(9);p("ngTemplateOutlet",e)}}function Ia(t,l){}function Pa(t,l){if(t&1&&(o(0,"span",11),h(1,Ta,2,5,"a",31),h(2,Aa,1,1,null,10),x(3,Ia,0,0,"ng-template",10),a()),t&2){let e=d().$implicit,n=w(7),r=d();c(),_(r.icons.showPreviewIcon?1:-1),c(),_(e.status==="done"?2:-1),c(),p("ngTemplateOutlet",n)}}function Ra(t,l){if(t&1&&(o(0,"div",12),m(1,"nz-progress",34),a()),t&2){let e=d().$implicit;c(),p("nzPercent",e.percent)("nzShowInfo",!1)("nzStrokeWidth",2)}}function Ua(t,l){if(t&1&&(o(0,"div")(1,"div",7),x(2,ra,3,1,"ng-template",null,0,P)(4,ga,2,1,"ng-template",null,1,P)(6,xa,1,1,"ng-template",null,2,P)(8,va,1,1,"ng-template",null,3,P)(10,Fa,1,1,"ng-template",null,4,P)(12,ka,3,2,"ng-template",null,5,P),o(14,"div",8)(15,"span",9),x(16,Da,0,0,"ng-template",10)(17,Ma,0,0,"ng-template",10),a()(),h(18,Pa,4,3,"span",11),h(19,Ra,2,3,"div",12),a()()),t&2){let e=l.$implicit,n=w(3),r=w(13),s=d();N(O("ant-upload-list-",s.listType,"-container")),c(),N(di("ant-upload-list-item ant-upload-list-item-",e.status," ant-upload-list-item-list-type-",s.listType)),p("@itemState",void 0)("nzTooltipTitle",e.status==="error"?e.message:null),X("data-key",e.key),c(15),p("ngTemplateOutlet",n),c(),p("ngTemplateOutlet",r),c(),_(s.listType==="picture-card"&&!e.isUploading?18:-1),c(),_(e.isUploading?19:-1)}}var Ba=["uploadComp"],Oa=["listComp"],Wa=()=>[];function Va(t,l){if(t&1&&m(0,"nz-upload-list",6,3),t&2){let e=d(2);B("display",e.nzShowUploadList?"":"none"),p("locale",e.locale)("listType",e.nzListType)("items",e.nzFileList||tt(13,Wa))("icons",e.nzShowUploadList)("iconRender",e.nzIconRender)("previewFile",e.nzPreviewFile)("previewIsImage",e.nzPreviewIsImage)("onPreview",e.nzPreview)("onRemove",e.onRemove)("onDownload",e.nzDownload)("dir",e.dir)}}function ja(t,l){t&1&&ni(0)}function $a(t,l){if(t&1&&x(0,ja,1,0,"ng-container",7),t&2){let e=d(2);p("ngTemplateOutlet",e.nzFileListRender)("ngTemplateOutletContext",we(2,Nt,e.nzFileList))}}function Ha(t,l){if(t&1&&(h(0,Va,2,14,"nz-upload-list",5),h(1,$a,1,4,"ng-container")),t&2){let e=d();_(e.locale&&!e.nzFileListRender?0:-1),c(),_(e.nzFileListRender?1:-1)}}function Za(t,l){t&1&&ee(0)}function Ga(t,l){}function qa(t,l){if(t&1&&(o(0,"div")(1,"div",8,4),x(3,Ga,0,0,"ng-template",9),a()()),t&2){let e=d(),n=w(3);N(e.classList),B("display",e.nzShowButton?"":"none"),c(),p("options",e._btnOptions),c(2),p("ngTemplateOutlet",n)}}function Qa(t,l){}function Xa(t,l){}function Ya(t,l){if(t&1){let e=M();o(0,"div",10),g("drop",function(r){v(e);let s=d();return S(s.fileDrop(r))})("dragover",function(r){v(e);let s=d();return S(s.fileDrop(r))})("dragleave",function(r){v(e);let s=d();return S(s.fileDrop(r))}),o(1,"div",11,4)(3,"div",12),x(4,Qa,0,0,"ng-template",9),a()()(),x(5,Xa,0,0,"ng-template",9)}if(t&2){let e=d(),n=w(1),r=w(3);N(e.classList),c(),p("options",e._btnOptions),c(3),p("ngTemplateOutlet",r),c(),p("ngTemplateOutlet",n)}}function Ka(t,l){}function Ja(t,l){}function er(t,l){if(t&1&&x(0,Ka,0,0,"ng-template",9)(1,Ja,0,0,"ng-template",9),t&2){d(2);let e=w(1),n=w(5);p("ngTemplateOutlet",e),c(),p("ngTemplateOutlet",n)}}function tr(t,l){}function nr(t,l){}function ir(t,l){if(t&1&&x(0,tr,0,0,"ng-template",9)(1,nr,0,0,"ng-template",9),t&2){d(2);let e=w(1),n=w(5);p("ngTemplateOutlet",n),c(),p("ngTemplateOutlet",e)}}function or(t,l){if(t&1&&h(0,er,2,2)(1,ir,2,2),t&2){let e=d();_(e.nzListType==="picture-card"?0:1)}}var ar=(()=>{class t{reqs={};destroyed=!1;file;options;onClick(){this.options.disabled||!this.options.openFileDialogOnClick||this.file.nativeElement.click()}onFileDrop(e){if(this.options.disabled||e.type==="dragover"){e.preventDefault();return}if(this.options.directory)this.traverseFileTree(e.dataTransfer.items);else{let n=Array.prototype.slice.call(e.dataTransfer.files).filter(r=>this.attrAccept(r,this.options.accept));n.length&&this.uploadFiles(n)}e.preventDefault()}onChange(e){if(this.options.disabled)return;let n=e.target;this.uploadFiles(n.files),n.value=""}traverseFileTree(e){let n=(r,s)=>{r.isFile?r.file(u=>{this.attrAccept(u,this.options.accept)&&this.uploadFiles([u])}):r.isDirectory&&r.createReader().readEntries(z=>{for(let E of z)n(E,`${s}${r.name}/`)})};for(let r of e)n(r.webkitGetAsEntry(),"")}attrAccept(e,n){if(e&&n){let r=Array.isArray(n)?n:n.split(","),s=`${e.name}`,u=`${e.type}`,z=u.replace(/\/.*$/,"");return r.some(E=>{let L=E.trim();return L.charAt(0)==="."?s.toLowerCase().indexOf(L.toLowerCase(),s.toLowerCase().length-L.toLowerCase().length)!==-1:/\/\*$/.test(L)?z===L.replace(/\/.*$/,""):u===L})}return!0}attachUid(e){return e.uid||(e.uid=Math.random().toString(36).substring(2)),e}uploadFiles(e){let n=qe(Array.prototype.slice.call(e));this.options.filters&&this.options.filters.forEach(r=>{n=n.pipe(Re(s=>{let u=r.fn(s);return u instanceof ze?u:qe(u)}))}),n.subscribe({next:r=>{r.forEach(s=>{this.attachUid(s),this.upload(s,r)})},error:r=>{Ot("Unhandled upload filter error",r)}})}upload(e,n){if(!this.options.beforeUpload)return this.post(e);let r=this.options.beforeUpload(e,n),s=z=>{let E=Object.prototype.toString.call(z);typeof z!="boolean"&&(E==="[object File]"||E==="[object Blob]")?(z.uid=e.uid,this.post(e,z)):z&&this.post(e)},u=z=>{Ot("Unhandled upload beforeUpload error",z)};if(r instanceof ze)r.subscribe({next:s,error:u});else if(r instanceof Promise)r.then(s).catch(u);else if(r)return this.post(e)}post(e,n){if(this.destroyed)return;let r=qe(n||e),s,u=this.options,{uid:z}=e,{action:E,data:L,headers:W,transformFile:q}=u,I={action:typeof E=="string"?E:"",name:u.name,headers:W,file:e,postFile:e,data:L,withCredentials:u.withCredentials,onProgress:u.onProgress?T=>{u.onProgress(T,e)}:void 0,onSuccess:(T,k)=>{this.clean(z),u.onSuccess(T,e,k)},onError:T=>{this.clean(z),u.onError(T,e)}};if(typeof E=="function"){let T=E(e);T instanceof ze?r=r.pipe(Re(()=>T),St(k=>(I.action=k,e))):I.action=T}if(typeof q=="function"){let T=q(e);r=r.pipe(Re(()=>T instanceof ze?T:qe(T)),Qn(k=>s=k))}if(typeof L=="function"){let T=L(e);T instanceof ze?r=r.pipe(Qe(()=>!n),Re(()=>T),St(k=>(I.data=k,s??e))):I.data=T}if(typeof W=="function"){let T=W(e);T instanceof ze?r=r.pipe(Re(()=>T),St(k=>(I.headers=k,s??e))):I.headers=T}r.subscribe(T=>{I.postFile=T;let k=(u.customRequest||this.xhr).call(this,I);k instanceof vt||Ot("Must return Subscription type in '[nzCustomRequest]' property"),this.reqs[z]=k,u.onStart(e)})}xhr(e){let n=new FormData;e.data&&Object.keys(e.data).map(s=>{n.append(s,e.data[s])}),n.append(e.name,e.postFile),e.headers||(e.headers={}),e.headers["X-Requested-With"]!==null?e.headers["X-Requested-With"]="XMLHttpRequest":delete e.headers["X-Requested-With"];let r=new fi("POST",e.action,n,{reportProgress:!0,withCredentials:e.withCredentials,headers:new ui(e.headers)});return this.http.request(r).subscribe({next:s=>{s.type===hi.UploadProgress?(s.total>0&&(s.percent=s.loaded/s.total*100),e.onProgress(s,e.file)):s instanceof _i&&e.onSuccess(s.body,e.file,s)},error:s=>{this.abort(e.file),e.onError(s,e.file)}})}clean(e){let n=this.reqs[e];n instanceof vt&&n.unsubscribe(),delete this.reqs[e]}abort(e){e?this.clean(e&&e.uid):Object.keys(this.reqs).forEach(n=>this.clean(n))}http=C(gi,{optional:!0});elementRef=C(pe);destroyRef=C(Le);constructor(){if(!this.http)throw new Error("Not found 'HttpClient', You can configure 'HttpClient' with 'provideHttpClient()' in your root module.");this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.abort()})}ngOnInit(){te(this.elementRef.nativeElement,"click").pipe(Y(this.destroyRef)).subscribe(()=>this.onClick()),te(this.elementRef.nativeElement,"keydown").pipe(Y(this.destroyRef)).subscribe(e=>{this.options.disabled||(e.key==="Enter"||e.keyCode===13)&&this.onClick()})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["","nz-upload-btn",""]],viewQuery:function(n,r){if(n&1&&oe(Qo,7),n&2){let s;ae(s=re())&&(r.file=s.first)}},hostAttrs:[1,"ant-upload"],hostVars:4,hostBindings:function(n,r){n&1&&g("drop",function(u){return r.onFileDrop(u)})("dragover",function(u){return r.onFileDrop(u)}),n&2&&(X("tabindex","0")("role","button"),V("ant-upload-disabled",r.options.disabled))},inputs:{options:"options"},exportAs:["nzUploadBtn"],attrs:Xo,ngContentSelectors:Ki,decls:3,vars:6,consts:[["file",""],["type","file",3,"change","multiple"]],template:function(n,r){if(n&1){let s=M();Fe(),Be(0,"input",1,0),ri("change",function(z){return v(s),S(r.onChange(z))}),ye(),ee(2)}n&2&&(B("display","none"),ii("multiple",r.options.multiple),X("accept",r.options.accept)("directory",r.options.directory?"directory":null)("webkitdirectory",r.options.directory?"webkitdirectory":null))},encapsulation:2})}return t})(),Xi=t=>!!t&&t.indexOf("image/")===0,$e=200,Ji=(()=>{class t{list=[];get showPic(){return this.listType==="picture"||this.listType==="picture-card"}locale={};listType;set items(e){this.list=e}icons;onPreview;onRemove;onDownload;previewFile;previewIsImage;iconRender=null;dir="ltr";document=C(Se);destroyRef=C(Le);ngZone=C(Rt);cdr=C(Ve);platform=C(Ln);genErr(e){return e.response&&typeof e.response=="string"?e.response:e.error&&e.error.statusText||this.locale.uploadError}extname(e){let n=e.split("/"),s=n[n.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(s)||[""])[0]}isImageUrl(e){if(Xi(e.type))return!0;let n=e.thumbUrl||e.url||"";if(!n)return!1;let r=this.extname(n);return/^data:image\//.test(n)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg)$/i.test(r)?!0:/^data:/.test(n)?!1:!r}getIconType(e){return this.showPic?e.isUploading||!e.thumbUrl&&!e.url?"uploading":"thumbnail":""}previewImage(e){if(!Xi(e.type)||!this.platform.isBrowser)return qe("");let n=this.document.createElement("canvas");n.width=$e,n.height=$e,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${$e}px; height: ${$e}px; z-index: 9999; display: none;`,this.document.body.appendChild(n);let r=n.getContext("2d"),s=new Image,u=URL.createObjectURL(e);return s.src=u,te(s,"load").pipe(St(()=>{let{width:z,height:E}=s,L=$e,W=$e,q=0,I=0;z<E?(W=E*($e/z),I=-(W-L)/2):(L=z*($e/E),q=-(L-W)/2);try{r.drawImage(s,q,I,L,W)}catch{}let T=n.toDataURL();return this.document.body.removeChild(n),URL.revokeObjectURL(u),T}))}genThumb(){if(!this.platform.isBrowser)return;let e=window;!this.showPic||typeof document>"u"||typeof e>"u"||!e.FileReader||!e.File||this.list.filter(n=>n.originFileObj instanceof File&&n.thumbUrl===void 0).forEach(n=>{n.thumbUrl="";let r=(this.previewFile?this.previewFile(n):this.previewImage(n.originFileObj)).pipe(Y(this.destroyRef));this.ngZone.runOutsideAngular(()=>{r.subscribe(s=>{this.ngZone.run(()=>{n.thumbUrl=s,this.detectChanges()})})})})}showDownload(e){return!!(this.icons.showDownloadIcon&&e.status==="done")}fixData(){this.list.forEach(e=>{e.isUploading=e.status==="uploading",e.message=this.genErr(e),e.linkProps=typeof e.linkProps=="string"?JSON.parse(e.linkProps):e.linkProps,e.isImageUrl=this.previewIsImage?this.previewIsImage(e):this.isImageUrl(e),e.iconType=this.getIconType(e),e.showDownload=this.showDownload(e)})}handlePreview(e,n){if(this.onPreview)return n.preventDefault(),this.onPreview(e)}handleRemove(e,n){n.preventDefault(),this.onRemove&&this.onRemove(e)}handleDownload(e){typeof this.onDownload=="function"?this.onDownload(e):e.url&&window.open(e.url)}detectChanges(){this.fixData(),this.cdr.detectChanges()}ngOnChanges(){this.fixData(),this.genThumb()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-upload-list"]],hostAttrs:[1,"ant-upload-list"],hostVars:8,hostBindings:function(n,r){n&2&&V("ant-upload-list-rtl",r.dir==="rtl")("ant-upload-list-text",r.listType==="text")("ant-upload-list-picture",r.listType==="picture")("ant-upload-list-picture-card",r.listType==="picture-card")},inputs:{locale:"locale",listType:"listType",items:"items",icons:"icons",onPreview:"onPreview",onRemove:"onRemove",onDownload:"onDownload",previewFile:"previewFile",previewIsImage:"previewIsImage",iconRender:"iconRender",dir:"dir"},exportAs:["nzUploadList"],features:[Ye],decls:2,vars:0,consts:[["icon",""],["iconNode",""],["removeIcon",""],["downloadIcon",""],["downloadOrDelete",""],["preview",""],[3,"class"],["nz-tooltip","",3,"nzTooltipTitle"],[1,"ant-upload-list-item-info"],[1,"ant-upload-span"],[3,"ngTemplateOutlet"],[1,"ant-upload-list-item-actions"],[1,"ant-upload-list-item-progress"],[1,"ant-upload-list-item-thumbnail",3,"ant-upload-list-item-file"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-thumbnail",3,"ant-upload-list-item-file","href"],[1,"ant-upload-text-icon"],[1,"ant-upload-list-item-thumbnail"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-thumbnail",3,"click","href"],[1,"ant-upload-list-item-image",3,"src"],[3,"nzType"],["nzType","loading"],["nzTheme","twotone",3,"nzType"],["type","button","nz-button","","nzType","text","nzSize","small",1,"ant-upload-list-item-card-actions-btn"],["type","button","nz-button","","nzType","text","nzSize","small",1,"ant-upload-list-item-card-actions-btn",3,"click"],["nzType","delete"],["nzType","download"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-name",3,"href"],[1,"ant-upload-list-item-name"],["target","_blank","rel","noopener noreferrer",1,"ant-upload-list-item-name",3,"click","href"],[1,"ant-upload-list-item-name",3,"click"],["target","_blank","rel","noopener noreferrer",3,"href","style"],["target","_blank","rel","noopener noreferrer",3,"click","href"],["nzType","eye"],["nzType","line",3,"nzPercent","nzShowInfo","nzStrokeWidth"]],template:function(n,r){n&1&&H(0,Ua,20,14,"div",6,me),n&2&&Z(r.list)},dependencies:[Oi,pt,it,G,U,ke,Ne,be,dn,bt],encapsulation:2,data:{animation:[Si("itemState",[Pn(":enter",[Ht({height:"0",width:"0",opacity:0}),In(150,Ht({height:"*",width:"*",opacity:1}))]),Pn(":leave",[In(150,Ht({height:"0",width:"0",opacity:0}))])])]},changeDetection:0})}return t})(),kt=(()=>{class t{static ngAcceptInputType_nzShowUploadList;cdr=C(Ve);i18n=C(bi);directionality=C(Ae);destroyRef=C(Le);uploadComp;listComp;locale;dir="ltr";nzType="select";nzLimit=0;nzSize=0;nzFileType;nzAccept;nzAction;nzDirectory=!1;nzOpenFileDialogOnClick=!0;nzBeforeUpload;nzCustomRequest;nzData;nzFilter=[];nzFileList=[];nzDisabled=!1;nzHeaders;nzListType="text";nzMultiple=!1;nzName="file";_showUploadList=!0;document=C(Se);set nzShowUploadList(e){this._showUploadList=typeof e=="boolean"?vi(e):e}get nzShowUploadList(){return this._showUploadList}nzShowButton=!0;nzWithCredentials=!1;nzRemove;nzPreview;nzPreviewFile;nzPreviewIsImage;nzTransformFile;nzDownload;nzIconRender=null;nzFileListRender=null;nzChange=new Ue;nzFileListChange=new Ue;_btnOptions;zipOptions(){typeof this.nzShowUploadList=="boolean"&&this.nzShowUploadList&&(this.nzShowUploadList={showPreviewIcon:!0,showRemoveIcon:!0,showDownloadIcon:!0});let e=this.nzFilter.slice();if(this.nzMultiple&&this.nzLimit>0&&e.findIndex(n=>n.name==="limit")===-1&&e.push({name:"limit",fn:n=>n.slice(-this.nzLimit)}),this.nzSize>0&&e.findIndex(n=>n.name==="size")===-1&&e.push({name:"size",fn:n=>n.filter(r=>r.size/1024<=this.nzSize)}),this.nzFileType&&this.nzFileType.length>0&&e.findIndex(n=>n.name==="type")===-1){let n=this.nzFileType.split(",");e.push({name:"type",fn:r=>r.filter(s=>~n.indexOf(s.type))})}return this._btnOptions={disabled:this.nzDisabled,accept:this.nzAccept,action:this.nzAction,directory:this.nzDirectory,openFileDialogOnClick:this.nzOpenFileDialogOnClick,beforeUpload:this.nzBeforeUpload,customRequest:this.nzCustomRequest,data:this.nzData,headers:this.nzHeaders,name:this.nzName,multiple:this.nzMultiple,withCredentials:this.nzWithCredentials,filters:e,transformFile:this.nzTransformFile,onStart:this.onStart,onProgress:this.onProgress,onSuccess:this.onSuccess,onError:this.onError},this}platform=C(Ln);fileToObject(e){return{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.filename||e.name,size:e.size,type:e.type,uid:e.uid,response:e.response,error:e.error,percent:0,originFileObj:e}}getFileItem(e,n){return n.filter(r=>r.uid===e.uid)[0]}removeFileItem(e,n){return n.filter(r=>r.uid!==e.uid)}onStart=e=>{this.nzFileList||(this.nzFileList=[]);let n=this.fileToObject(e);n.status="uploading",this.nzFileList=this.nzFileList.concat(n),this.nzFileListChange.emit(this.nzFileList),this.nzChange.emit({file:n,fileList:this.nzFileList,type:"start"}),this.detectChangesList()};onProgress=(e,n)=>{let r=this.nzFileList,s=this.getFileItem(n,r);s.percent=e.percent,this.nzChange.emit({event:e,file:j({},s),fileList:this.nzFileList,type:"progress"}),this.detectChangesList()};onSuccess=(e,n)=>{let r=this.nzFileList,s=this.getFileItem(n,r);s.status="done",s.response=e,this.nzChange.emit({file:j({},s),fileList:r,type:"success"}),this.detectChangesList()};onError=(e,n)=>{let r=this.nzFileList,s=this.getFileItem(n,r);s.error=e,s.status="error",this.nzChange.emit({file:j({},s),fileList:r,type:"error"}),this.detectChangesList()};dragState;fileDrop(e){e.type!==this.dragState&&(this.dragState=e.type,this.setClassMap())}detectChangesList(){this.cdr.detectChanges(),this.listComp?.detectChanges()}onRemove=e=>{this.uploadComp.abort(e),e.status="removed";let n=typeof this.nzRemove=="function"?this.nzRemove(e):this.nzRemove==null?!0:this.nzRemove;(n instanceof ze?n:qe(n)).pipe(Qe(r=>r)).subscribe(()=>{this.nzFileList=this.removeFileItem(e,this.nzFileList),this.nzChange.emit({file:e,fileList:this.nzFileList,type:"removed"}),this.nzFileListChange.emit(this.nzFileList),this.cdr.detectChanges()})};prefixCls="ant-upload";classList=[];setClassMap(){let e=[];this.nzType==="drag"?(this.nzFileList.some(n=>n.status==="uploading")&&e.push(`${this.prefixCls}-drag-uploading`),this.dragState==="dragover"&&e.push(`${this.prefixCls}-drag-hover`)):e=[`${this.prefixCls}-select-${this.nzListType}`],this.classList=[this.prefixCls,`${this.prefixCls}-${this.nzType}`,...e,this.nzDisabled&&`${this.prefixCls}-disabled`||"",this.dir==="rtl"&&`${this.prefixCls}-rtl`||""].filter(n=>!!n),this.cdr.detectChanges()}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(e=>{this.dir=e,this.setClassMap(),this.cdr.detectChanges()}),this.i18n.localeChange.pipe(Y(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Upload"),this.detectChangesList()})}ngAfterViewInit(){this.platform.FIREFOX&&te(this.document.body,"drop").pipe(Y(this.destroyRef)).subscribe(e=>{e.preventDefault(),e.stopPropagation()})}ngOnChanges(){this.zipOptions().setClassMap()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-upload"]],viewQuery:function(n,r){if(n&1&&(oe(Ba,5),oe(Oa,5)),n&2){let s;ae(s=re())&&(r.uploadComp=s.first),ae(s=re())&&(r.listComp=s.first)}},hostVars:2,hostBindings:function(n,r){n&2&&V("ant-upload-picture-card-wrapper",r.nzListType==="picture-card")},inputs:{nzType:"nzType",nzLimit:[2,"nzLimit","nzLimit",ct],nzSize:[2,"nzSize","nzSize",ct],nzFileType:"nzFileType",nzAccept:"nzAccept",nzAction:"nzAction",nzDirectory:[2,"nzDirectory","nzDirectory",Q],nzOpenFileDialogOnClick:[2,"nzOpenFileDialogOnClick","nzOpenFileDialogOnClick",Q],nzBeforeUpload:"nzBeforeUpload",nzCustomRequest:"nzCustomRequest",nzData:"nzData",nzFilter:"nzFilter",nzFileList:"nzFileList",nzDisabled:[2,"nzDisabled","nzDisabled",Q],nzHeaders:"nzHeaders",nzListType:"nzListType",nzMultiple:[2,"nzMultiple","nzMultiple",Q],nzName:"nzName",nzShowUploadList:"nzShowUploadList",nzShowButton:[2,"nzShowButton","nzShowButton",Q],nzWithCredentials:[2,"nzWithCredentials","nzWithCredentials",Q],nzRemove:"nzRemove",nzPreview:"nzPreview",nzPreviewFile:"nzPreviewFile",nzPreviewIsImage:"nzPreviewIsImage",nzTransformFile:"nzTransformFile",nzDownload:"nzDownload",nzIconRender:"nzIconRender",nzFileListRender:"nzFileListRender"},outputs:{nzChange:"nzChange",nzFileListChange:"nzFileListChange"},exportAs:["nzUpload"],features:[Ye],ngContentSelectors:Ki,decls:8,vars:1,consts:[["list",""],["con",""],["btn",""],["listComp",""],["uploadComp",""],[3,"display","locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir"],[3,"locale","listType","items","icons","iconRender","previewFile","previewIsImage","onPreview","onRemove","onDownload","dir"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-upload-btn","",3,"options"],[3,"ngTemplateOutlet"],[3,"drop","dragover","dragleave"],["nz-upload-btn","",1,"ant-upload-btn",3,"options"],[1,"ant-upload-drag-container"]],template:function(n,r){n&1&&(Fe(),x(0,Ha,2,2,"ng-template",null,0,P)(2,Za,1,0,"ng-template",null,1,P)(4,qa,4,6,"ng-template",null,2,P),h(6,Ya,6,5)(7,or,2,1)),n&2&&(c(6),_(r.nzType==="drag"?6:7))},dependencies:[Ji,it,ar],encapsulation:2,changeDetection:0})}return t})(),un=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ee({type:t});static \u0275inj=ve({imports:[kt,Ji]})}return t})();var lr=["*"],sr=["imgRef"],cr=["imagePreviewWrapper"];function dr(t,l){if(t&1){let e=M();o(0,"div",13),g("click",function(r){v(e);let s=d();return S(s.onSwitchLeft(r))}),m(1,"nz-icon",14),a(),o(2,"div",15),g("click",function(r){v(e);let s=d();return S(s.onSwitchRight(r))}),m(3,"nz-icon",16),a()}if(t&2){let e=d();V("ant-image-preview-switch-left-disabled",e.index<=0),c(2),V("ant-image-preview-switch-right-disabled",e.index>=e.images.length-1)}}function pr(t,l){if(t&1&&(o(0,"li",5),i(1),a()),t&2){let e=d();c(),ci("",e.index+1," / ",e.images.length)}}function mr(t,l){if(t&1){let e=M();o(0,"li",17),g("click",function(){let r=v(e).$implicit;return S(r.onClick())}),m(1,"nz-icon",18),a()}if(t&2){let e=l.$implicit,n=d();V("ant-image-preview-operations-operation-disabled",n.zoomOutDisabled&&e.type==="zoomOut"),c(),p("nzType",e.icon)("nzRotate",e.rotate??0)}}function ur(t,l){if(t&1&&m(0,"img",20,1),t&2){let e=d().$implicit,n=d();B("width",e.width)("height",e.height)("transform",n.previewImageTransform),X("src",n.sanitizerResourceUrl(e.src),Ke)("srcset",e.srcset)("alt",e.alt)}}function fr(t,l){if(t&1&&h(0,ur,2,9,"img",19),t&2){let e=l.$index,n=d();_(e===n.index?0:-1)}}var hr=(()=>{class t{nzScaleStep=null;images=[];addImage(e){this.images.push(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-image-group"]],inputs:{nzScaleStep:"nzScaleStep"},exportAs:["nzImageGroup"],ngContentSelectors:lr,decls:1,vars:0,template:function(n,r){n&1&&(Fe(),ee(0))},encapsulation:2,changeDetection:0})}return t})(),oo="image",Dt=class{nzKeyboard=!0;nzNoAnimation=!1;nzMaskClosable=!0;nzCloseOnNavigation=!0;nzZIndex;nzZoom;nzRotate;nzFlipHorizontally;nzFlipVertically;nzScaleStep;nzDirection};function _r(t){let l={};return t.width<=t.clientWidth&&t.height<=t.clientHeight&&(l={x:0,y:0}),(t.width>t.clientWidth||t.height>t.clientHeight)&&(l={x:no(t.left,t.width,t.clientWidth),y:no(t.top,t.height,t.clientHeight)}),l}function gr(t){let l=t.getBoundingClientRect(),e=document.documentElement;return{left:l.left+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||document.body.clientLeft||0),top:l.top+(window.pageYOffset||e.scrollTop)-(e.clientTop||document.body.clientTop||0)}}function Cr(){let t=document.documentElement.clientWidth,l=window.innerHeight||document.documentElement.clientHeight;return{width:t,height:l}}function no(t,l,e){let n=t+l,r=(l-e)/2,s=null;return l>e?(t>0&&(s=r),t<0&&n<e&&(s=-r)):(t<0||n>e)&&(s=t<0?r:-r),s}var io={x:0,y:0},Un=.5,xr=1,zr=0,ao=(()=>{class t{document=C(Se);ngZone=C(Rt);cdr=C(Ve);nzConfigService=C(Vt);config=C(Dt);sanitizer=C(Ci);destroyRef=C(Le);_defaultNzZoom=xr;_defaultNzScaleStep=Un;_defaultNzRotate=zr;images=[];index=0;isDragging=!1;visible=!0;animationStateChanged=new Ue;scaleStepMap=new Map;previewImageTransform="";previewImageWrapperTransform="";operations=[{icon:"close",onClick:()=>{this.onClose()},type:"close"},{icon:"zoom-in",onClick:()=>{this.onZoomIn()},type:"zoomIn"},{icon:"zoom-out",onClick:()=>{this.onZoomOut()},type:"zoomOut"},{icon:"rotate-right",onClick:()=>{this.onRotateRight()},type:"rotateRight"},{icon:"rotate-left",onClick:()=>{this.onRotateLeft()},type:"rotateLeft"},{icon:"swap",onClick:()=>{this.onHorizontalFlip()},type:"flipHorizontally"},{icon:"swap",onClick:()=>{this.onVerticalFlip()},type:"flipVertically",rotate:90}];zoomOutDisabled=!1;position=j({},io);previewRef;closeClick=new Ue;imageRef;imagePreviewWrapper;zoom=this.config.nzZoom??this._defaultNzZoom;rotate=this.config.nzRotate??this._defaultNzRotate;scaleStep=this.config.nzScaleStep??this._defaultNzScaleStep;flipHorizontally=this.config.nzFlipHorizontally??!1;flipVertically=this.config.nzFlipVertically??!1;get animationDisabled(){return this.config.nzNoAnimation??!1}get maskClosable(){let e=this.nzConfigService.getConfigForComponent(oo)||{};return this.config.nzMaskClosable??e.nzMaskClosable??!0}constructor(){this.updateZoomOutDisabled(),this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform()}ngOnInit(){te(this.imagePreviewWrapper.nativeElement,"mousedown").pipe(Y(this.destroyRef)).subscribe(()=>{this.isDragging=!0}),te(this.imagePreviewWrapper.nativeElement,"wheel").pipe(Y(this.destroyRef)).subscribe(e=>{this.ngZone.run(()=>this.wheelZoomEventHandler(e))}),te(this.document,"keydown").pipe(Qe(e=>e.keyCode===27),Y(this.destroyRef)).subscribe(()=>{this.ngZone.run(()=>{this.onClose(),this.markForCheck()})})}setImages(e,n){n&&(this.scaleStepMap=n),this.images=e,this.markForCheck()}switchTo(e){this.index=e,this.markForCheck()}next(){this.index<this.images.length-1&&(this.reset(),this.index++,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.markForCheck())}prev(){this.index>0&&(this.reset(),this.index--,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.markForCheck())}markForCheck(){this.cdr.markForCheck()}onClose(){this.visible=!1,this.closeClick.emit()}onZoomIn(){let e=this.scaleStepMap.get(this.images[this.index].src??this.images[this.index].srcset)??this.scaleStep;this.zoom+=e,this.updatePreviewImageTransform(),this.updateZoomOutDisabled()}onZoomOut(){if(this.zoom>1){let e=this.scaleStepMap.get(this.images[this.index].src??this.images[this.index].srcset)??this.scaleStep;this.zoom-=e,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.zoom<=1&&this.reCenterImage()}}onRotateRight(){this.rotate+=90,this.updatePreviewImageTransform()}onRotateLeft(){this.rotate-=90,this.updatePreviewImageTransform()}onSwitchLeft(e){e.preventDefault(),e.stopPropagation(),this.prev()}onSwitchRight(e){e.preventDefault(),e.stopPropagation(),this.next()}onHorizontalFlip(){this.flipHorizontally=!this.flipHorizontally,this.updatePreviewImageTransform()}onVerticalFlip(){this.flipVertically=!this.flipVertically,this.updatePreviewImageTransform()}wheelZoomEventHandler(e){e.preventDefault(),e.stopPropagation(),this.handlerImageTransformationWhileZoomingWithMouse(e,e.deltaY),this.handleImageScaleWhileZoomingWithMouse(e.deltaY),this.updatePreviewImageWrapperTransform(),this.updatePreviewImageTransform(),this.markForCheck()}onAnimationStart(e){this.animationStateChanged.emit(e)}onAnimationDone(e){this.animationStateChanged.emit(e)}onDragEnd(e){this.isDragging=!1;let n=this.imageRef.nativeElement.offsetWidth*this.zoom,r=this.imageRef.nativeElement.offsetHeight*this.zoom,{left:s,top:u}=gr(this.imageRef.nativeElement),{width:z,height:E}=Cr(),L=this.rotate%180!==0,q=_r({width:L?r:n,height:L?n:r,left:s,top:u,clientWidth:z,clientHeight:E});je(q.x)||je(q.y)?this.position=j(j({},this.position),q):!je(q.x)&&!je(q.y)&&(this.position={x:e.source.getFreeDragPosition().x,y:e.source.getFreeDragPosition().y})}sanitizerResourceUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}updatePreviewImageTransform(){this.previewImageTransform=`scale3d(${this.zoom*(this.flipHorizontally?-1:1)}, ${this.zoom*(this.flipVertically?-1:1)}, 1) rotate(${this.rotate}deg)`}updatePreviewImageWrapperTransform(){this.previewImageWrapperTransform=`translate3d(${this.position.x}px, ${this.position.y}px, 0)`}updateZoomOutDisabled(){this.zoomOutDisabled=this.zoom<=1}handlerImageTransformationWhileZoomingWithMouse(e,n){let r,s=this.imageRef.nativeElement,z=getComputedStyle(s).transform.match(/matrix.*\((.+)\)/);z?r=+z[1].split(", ")[0]:r=this.zoom;let E=(e.clientX-s.getBoundingClientRect().x)/r,L=(e.clientY-s.getBoundingClientRect().y)/r,W=n<0?this.scaleStep/2:-this.scaleStep/2;this.position.x+=-E*W*2+s.offsetWidth*W,this.position.y+=-L*W*2+s.offsetHeight*W}handleImageScaleWhileZoomingWithMouse(e){this.isZoomedInWithMouseWheel(e)?this.onZoomIn():this.onZoomOut(),this.zoom<=1&&this.reCenterImage()}isZoomedInWithMouseWheel(e){return e<0}reset(){this.zoom=this.config.nzZoom??this._defaultNzZoom,this.scaleStep=this.config.nzScaleStep??this._defaultNzScaleStep,this.rotate=this.config.nzRotate??this._defaultNzRotate,this.flipHorizontally=!1,this.flipVertically=!1,this.reCenterImage()}reCenterImage(){this.position=j({},io)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-image-preview"]],viewQuery:function(n,r){if(n&1&&(oe(sr,5),oe(cr,7)),n&2){let s;ae(s=re())&&(r.imageRef=s.first),ae(s=re())&&(r.imagePreviewWrapper=s.first)}},hostAttrs:[1,"ant-image-preview-root"],hostVars:6,hostBindings:function(n,r){n&1&&ai("@fadeMotion.start",function(u){return r.onAnimationStart(u)})("@fadeMotion.done",function(u){return r.onAnimationDone(u)}),n&2&&(oi("@.disabled",r.config.nzNoAnimation)("@fadeMotion",r.visible?"enter":"leave"),B("z-index",r.config.nzZIndex),V("ant-image-preview-moving",r.isDragging))},exportAs:["nzImagePreview"],decls:17,vars:5,consts:[["imagePreviewWrapper",""],["imgRef",""],[1,"ant-image-preview-mask"],[1,"ant-image-preview-operations-wrapper"],[1,"ant-image-preview-operations"],[1,"ant-image-preview-operations-progress"],[1,"ant-image-preview-operations-operation",3,"ant-image-preview-operations-operation-disabled"],["tabindex","-1",1,"ant-image-preview-wrap",3,"click"],["role","dialog","aria-modal","true",1,"ant-image-preview"],["tabindex","0","aria-hidden","true",1,"ant-image-preview-focus-trap"],[1,"ant-image-preview-content"],[1,"ant-image-preview-body"],["cdkDrag","",1,"ant-image-preview-img-wrapper",3,"cdkDragEnded","cdkDragFreeDragPosition"],[1,"ant-image-preview-switch-left",3,"click"],["nzType","left","nzTheme","outline"],[1,"ant-image-preview-switch-right",3,"click"],["nzType","right","nzTheme","outline"],[1,"ant-image-preview-operations-operation",3,"click"],["nzTheme","outline",1,"ant-image-preview-operations-icon",3,"nzType","nzRotate"],["cdkDragHandle","",1,"ant-image-preview-img",3,"width","height","transform"],["cdkDragHandle","",1,"ant-image-preview-img"]],template:function(n,r){if(n&1){let s=M();m(0,"div",2),o(1,"div",3),h(2,dr,4,4),o(3,"ul",4),h(4,pr,2,2,"li",5),H(5,mr,2,4,"li",6,me),a()(),o(7,"div",7),g("click",function(z){return v(s),S(r.maskClosable&&z.target===z.currentTarget&&r.onClose())}),o(8,"div",8),m(9,"div",9),o(10,"div",10)(11,"div",11)(12,"div",12,0),g("cdkDragEnded",function(z){return v(s),S(r.onDragEnd(z))}),H(14,fr,1,1,null,null,me),a()()(),m(16,"div",9),a()()}n&2&&(c(2),_(r.images.length>1?2:-1),c(2),_(r.images.length>1?4:-1),c(),Z(r.operations),c(7),B("transform",r.previewImageWrapperTransform),p("cdkDragFreeDragPosition",r.position),c(2),Z(r.images))},dependencies:[G,U,Wi,Vi],encapsulation:2,data:{animation:[Ei]},changeDetection:0})}return t})(),Bn=class{previewInstance;config;overlayRef;destroy$=new Ge;constructor(l,e,n){this.previewInstance=l,this.config=e,this.overlayRef=n,n.keydownEvents().pipe(Qe(r=>this.config.nzKeyboard&&(r.keyCode===27||r.keyCode===37||r.keyCode===39)&&!Ni(r))).subscribe(r=>{r.preventDefault(),r.keyCode===27&&l.onClose(),r.keyCode===37&&this.prev(),r.keyCode===39&&this.next()}),n.detachments().subscribe(()=>{this.overlayRef.dispose()}),l.closeClick.pipe(qn(1),Re(()=>l.animationStateChanged),Qe(r=>r.phaseName==="done"),Lt(this.destroy$)).subscribe(()=>{this.close()})}switchTo(l){this.previewInstance.switchTo(l)}next(){this.previewInstance.next()}prev(){this.previewInstance.prev()}close(){this.destroy$.next(),this.overlayRef.dispose()}},ro=(()=>{class t{injector=C(Xe);nzConfigService=C(Vt);directionality=C(Ae);preview(e,n,r){return this.display(e,n,r)}display(e,n,r){let s=j(j({},new Dt),n??{}),u=this.createOverlay(s),z=this.attachPreviewComponent(u,s);z.setImages(e,r);let E=new Bn(z,s,u);return z.previewRef=E,E}attachPreviewComponent(e,n){let r=Xe.create({parent:this.injector,providers:[{provide:Li,useValue:e},{provide:Dt,useValue:n}]}),s=new ki(ao,null,r);return e.attach(s).instance}createOverlay(e){let n=this.nzConfigService.getConfigForComponent(oo)||{};return Ii(this.injector,{scrollStrategy:Ti(this.injector),positionStrategy:Ai(this.injector),disposeOnNavigation:e.nzCloseOnNavigation??n.nzCloseOnNavigation??!0,direction:e.nzDirection||n.nzDirection||this.directionality.value})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=At({token:t,factory:t.\u0275fac})}return t})(),vr="image",lo=(()=>{var I;let t,l=[],e=[],n,r=[],s=[],u,z=[],E=[],L,W=[],q=[];return I=class{document=C(Se);nzConfigService=C(Vt);elementRef=C(pe);nzImageService=C(ro);cdr=C(Ve);directionality=C(Ae);destroyRef=C(Le);_nzModuleName=vr;nzSrc="";nzSrcset="";nzDisablePreview=R(this,l,!1);nzFallback=(R(this,e),R(this,r,null));nzPlaceholder=(R(this,s),R(this,z,null));nzScaleStep=(R(this,E),R(this,W,null));dir=R(this,q);backLoadImage;status="normal";backLoadDestroy$=new Ge;parentGroup=C(hr,{optional:!0});get previewable(){return!this.nzDisablePreview&&this.status!=="error"}ngOnInit(){this.backLoad(),this.parentGroup&&this.parentGroup.addImage(this),this.directionality&&(this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(k=>{this.dir=k,this.cdr.detectChanges()}),this.dir=this.directionality.value)}onPreview(){if(this.previewable)if(this.parentGroup){let k=this.parentGroup.images.filter(ne=>ne.previewable),b=k.map(ne=>({src:ne.nzSrc,srcset:ne.nzSrcset})),K=k.findIndex(ne=>this===ne),at=new Map;k.forEach(ne=>{at.set(ne.nzSrc??ne.nzSrcset,ne.nzScaleStep??this.parentGroup.nzScaleStep??this.nzScaleStep??Un)}),this.nzImageService.preview(b,{nzDirection:this.dir},at).switchTo(K)}else{let k=[{src:this.nzSrc,srcset:this.nzSrcset}];this.nzImageService.preview(k,{nzDirection:this.dir,nzScaleStep:this.nzScaleStep??Un})}}getElement(){return this.elementRef}ngOnChanges(k){let{nzSrc:b}=k;b&&(this.getElement().nativeElement.src=b.currentValue,this.backLoad())}backLoad(){this.backLoadImage=this.document.createElement("img"),this.backLoadImage.src=this.nzSrc,this.backLoadImage.srcset=this.nzSrcset,this.status="loading",this.backLoadDestroy$.next(),this.backLoadDestroy$.complete(),this.backLoadDestroy$=new Ge,this.backLoadImage.complete?(this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset):(this.nzPlaceholder?(this.getElement().nativeElement.src=this.nzPlaceholder,this.getElement().nativeElement.srcset=""):(this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset),Fn(this.backLoadImage,"load").pipe(Lt(this.backLoadDestroy$),Y(this.destroyRef)).subscribe(()=>{this.status="normal",this.getElement().nativeElement.src=this.nzSrc,this.getElement().nativeElement.srcset=this.nzSrcset}),Fn(this.backLoadImage,"error").pipe(Lt(this.backLoadDestroy$),Y(this.destroyRef)).subscribe(()=>{this.status="error",this.nzFallback&&(this.getElement().nativeElement.src=this.nzFallback,this.getElement().nativeElement.srcset="")}))}},(()=>{let k=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[le()],n=[le()],u=[le()],L=[le()],ie(null,null,t,{kind:"field",name:"nzDisablePreview",static:!1,private:!1,access:{has:b=>"nzDisablePreview"in b,get:b=>b.nzDisablePreview,set:(b,K)=>{b.nzDisablePreview=K}},metadata:k},l,e),ie(null,null,n,{kind:"field",name:"nzFallback",static:!1,private:!1,access:{has:b=>"nzFallback"in b,get:b=>b.nzFallback,set:(b,K)=>{b.nzFallback=K}},metadata:k},r,s),ie(null,null,u,{kind:"field",name:"nzPlaceholder",static:!1,private:!1,access:{has:b=>"nzPlaceholder"in b,get:b=>b.nzPlaceholder,set:(b,K)=>{b.nzPlaceholder=K}},metadata:k},z,E),ie(null,null,L,{kind:"field",name:"nzScaleStep",static:!1,private:!1,access:{has:b=>"nzScaleStep"in b,get:b=>b.nzScaleStep,set:(b,K)=>{b.nzScaleStep=K}},metadata:k},W,q),k&&Object.defineProperty(I,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:k})})(),st(I,"\u0275fac",function(b){return new(b||I)}),st(I,"\u0275dir",Je({type:I,selectors:[["img","nz-image",""]],hostBindings:function(b,K){b&1&&g("click",function(){return K.onPreview()})},inputs:{nzSrc:"nzSrc",nzSrcset:"nzSrcset",nzDisablePreview:[2,"nzDisablePreview","nzDisablePreview",Q],nzFallback:"nzFallback",nzPlaceholder:"nzPlaceholder",nzScaleStep:"nzScaleStep"},exportAs:["nzImage"],features:[Ye]})),I})(),so=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ee({type:t});static \u0275inj=ve({providers:[ro],imports:[ao]})}return t})();var co=new Xn("",{providedIn:"root",factory:()=>{let t=C(Xe);return new ze(l=>{let e=Kn(()=>{l.next(),l.complete()},{injector:t});return()=>e.destroy()})}});var yr=["content"],uo=["*"];function Fr(t,l){t&1&&ee(0)}function wr(t,l){if(t&1&&m(0,"img",2),t&2){let e=d(2);p("nzSrc",l)("nzDisablePreview",e.disabled())}}function br(t,l){if(t&1&&(o(0,"span",5),i(1),a()),t&2){d(2);let e=Bt(0);c(),he("",(e||0).toFixed(0),"%")}}function Nr(t,l){if(t&1&&(m(0,"nz-progress",4),x(1,br,2,1,"ng-template",null,0,P)),t&2){let e=w(2);d();let n=Bt(0);p("nzPercent",n)("nzWidth",48)("nzFormat",e)}}function kr(t,l){if(t&1&&(kn(0),h(1,Nr,3,3)),t&2){let e=Dn(d(3).item().percent);c(),_(e!==void 0?1:-1)}}function Dr(t,l){if(t&1&&(o(0,"div")(1,"div"),i(2),a()()),t&2){let e=d(3);N(O("",e.cardCls,"-desc")),c(),N(O("",e.cardCls,"-ellipsis-prefix")),c(),et(e.desc())}}function Mr(t,l){if(t&1&&(o(0,"div"),h(1,kr,2,2),h(2,Dr,3,7,"div",3),a()),t&2){d();let e=Bt(1),n=d();N(O("",n.cardCls,"-img-mask")),c(),_(e==="uploading"?1:-1),c(),_(e==="error"?2:-1)}}function Tr(t,l){if(t&1&&(h(0,wr,1,2,"img",2),kn(1),h(2,Mr,3,5,"div",3)),t&2){let e,n=d();_((e=n.previewUrl())?0:-1,e),c();let r=Dn(n.item().status||"done");c(),_(r!=="done"?2:-1)}}function Lr(t,l){t&1&&(de(),o(0,"svg",6)(1,"title"),i(2,"video"),a(),o(3,"g",7),m(4,"path",8),a()())}function Ar(t,l){t&1&&(de(),o(0,"svg",6)(1,"title"),i(2,"audio"),a(),o(3,"g",7),m(4,"path",9),a()())}function Ir(t,l){if(t&1&&(ue(0),m(1,"nz-icon",11),fe()),t&2){let e=l.$implicit;c(),p("nzType",e)}}function Pr(t,l){if(t&1&&x(0,Ir,2,1,"ng-container",10),t&2){let e=d(2);p("nzStringTemplateOutlet",e.finalIcon().icon)}}function Rr(t,l){if(t&1&&(o(0,"div"),h(1,Lr,5,0,":svg:svg",6)(2,Ar,5,0,":svg:svg",6)(3,Pr,1,1,"ng-container"),a(),o(4,"div")(5,"div")(6,"div"),i(7),a(),o(8,"div"),i(9),a()(),o(10,"div")(11,"div"),i(12),a()()()),t&2){let e,n=d();N(O("",n.cardCls,"-icon")),B("color",n.finalIcon().color),c(),_((e=n.finalIcon().key)==="video"?1:e==="audio"?2:3),c(3),N(O("",n.cardCls,"-content")),c(),N(O("",n.cardCls,"-name")),c(),N(O("",n.cardCls,"-ellipsis-prefix")),c(),et(n.nameParts().prefix||n.emptyChar),c(),N(O("",n.cardCls,"-ellipsis-suffix")),c(),et(n.nameParts().suffix),c(),N(O("",n.cardCls,"-desc")),c(),N(O("",n.cardCls,"-ellipsis-prefix")),c(),et(n.desc())}}function Ur(t,l){if(t&1){let e=M();o(0,"button",12),g("click",function(){v(e);let r=d();return S(r.onRemove())}),m(1,"nz-icon",13),a()}if(t&2){let e=d();N(O("",e.cardCls,"-remove"))}}var Vn=()=>[],Br=(t,l)=>l.uid;function Or(t,l){if(t&1&&m(0,"nx-file-list-card",2),t&2){let e=l.$implicit,n=d();p("item",e)("disabled",n.disabled())("removeCallback",n.removeCallback())}}function Wr(t,l){if(t&1){let e=M();o(0,"nz-upload",4),g("nzChange",function(r){v(e);let s=d();return S(s.onUploadChange(r))}),o(1,"button",5),m(2,"nz-icon",6),a()()}if(t&2){let e=d();p("nzShowUploadList",!1)("nzFileList",e.uploadConfig().fileList||tt(15,Vn))("nzAction",e.uploadConfig().action)("nzBeforeUpload",e.uploadConfig().beforeUpload)("nzData",e.uploadConfig().data)("nzHeaders",e.uploadConfig().headers)("nzMultiple",e.uploadConfig().multiple||!1)("nzAccept",e.uploadConfig().accept||"")("nzCustomRequest",e.uploadConfig().customRequest),c(),N(O("",e.LIST_CLS,"-upload-btn")),c(),N(O("",e.LIST_CLS,"-upload-btn-icon"))}}function Vr(t,l){if(t&1){let e=M();o(0,"button",7),g("click",function(){v(e),d();let r=w(1);return S(r.scrollTo("left"))}),m(1,"nz-icon",8),a(),o(2,"button",7),g("click",function(){v(e),d();let r=w(1);return S(r.scrollTo("right"))}),m(3,"nz-icon",9),a()}if(t&2){let e=d();N(O("",e.LIST_CLS,"-prev-btn")),c(2),N(O("",e.LIST_CLS,"-next-btn"))}}function jr(t,l){if(t&1&&(ue(0),m(1,"nz-icon",3),fe()),t&2){let e=l.$implicit;c(),p("nzType",e)}}function $r(t,l){if(t&1&&(o(0,"div"),x(1,jr,2,1,"ng-container",1),a()),t&2){let e=d().$implicit,n=d();N(O("",n.PLACEHOLDER_CLS,"-icon")),c(),p("nzStringTemplateOutlet",e.icon)}}function Hr(t,l){if(t&1&&(o(0,"div"),i(1),a()),t&2){let e=d(2);N(O("",e.PLACEHOLDER_CLS,"-title")),c(),et(l)}}function Zr(t,l){if(t&1&&(o(0,"div"),i(1),a()),t&2){let e=d(2);N(O("",e.PLACEHOLDER_CLS,"-description")),c(),et(l)}}function Gr(t,l){if(t&1&&(ue(0),o(1,"div"),h(2,$r,2,4,"div",2),h(3,Hr,2,4,"div",2),h(4,Zr,2,4,"div",2),a(),fe()),t&2){let e,n,r=l.$implicit,s=d();c(),N(O("",s.PLACEHOLDER_CLS,"-inner")),c(),_(r.icon?2:-1),c(),_((e=r.title)?3:-1,e),c(),_((n=r.description)?4:-1,n)}}function qr(t,l){if(t&1){let e=M();o(0,"nz-upload",3),g("nzChange",function(r){v(e);let s=d();return S(s.onUploadChange(r))}),ee(1),a()}if(t&2){let e=d();p("nzShowUploadList",!1)("nzFileList",e.uploadConfig().fileList||tt(10,Vn))("nzAction",e.uploadConfig().action)("nzBeforeUpload",e.uploadConfig().beforeUpload)("nzData",e.uploadConfig().data)("nzHeaders",e.uploadConfig().headers)("nzMultiple",e.uploadConfig().multiple||!1)("nzAccept",e.uploadConfig().accept||"")("nzCustomRequest",e.uploadConfig().customRequest)("nzDisabled",e.disabled())}}function Qr(t,l){if(t&1){let e=M();o(0,"nx-file-list",4),g("fileChange",function(r){v(e);let s=d();return S(s.onUploadChange(r))}),a(),o(1,"nx-placeholder-uploader",2),g("uploadChange",function(r){v(e);let s=d();return S(s.onUploadChange(r))}),a()}if(t&2){let e=d();B("display",e.fileList().length===0?"none":null),p("items",e.fileList())("overflow",e.overflow())("disabled",e.disabled())("uploadConfig",e.uploadConfig())("removeCallback",e.onItemRemove),c(),B("display",e.fileList().length>0?"none":null),p("placeholder",e.inlinePlaceholder())("uploadConfig",e.uploadConfig())("disabled",e.disabled())}}var jn="ant-attachment",mt=`${jn}-list`,Mt=`${mt}-card`,On=`${jn}-drop-area`,fn=`${jn}-placeholder`,Xr=(()=>{class t{vcr=C(Jn);appRef=C(ti);injector=C(Xe);doc=C(Se);getDropContainer=F();disabled=F(!1,{transform:Q});dropTpl=mi.required("content",{read:bn});portalOutlet=null;containerHost=null;subscription=null;constructor(){Tn(e=>{let n=this.getDropContainer();if(!n||this.disabled()){this.dispose();return}let r=n();if(!r){this.dispose();return}this.setupPortal(r),this.setupDragListeners(),e(()=>this.dispose())})}setupPortal(e){this.teardownPortal(),this.containerHost=this.doc.createElement("div"),this.containerHost.style.display="none",this.containerHost.classList.add(...e.tagName==="BODY"?[On,`${On}-on-body`]:[On]),e.appendChild(this.containerHost),this.portalOutlet=new Mi(this.containerHost,this.appRef,this.injector);let n=new Di(this.dropTpl(),this.vcr);this.portalOutlet.attach(n)}teardownPortal(){this.portalOutlet&&(this.portalOutlet.dispose(),this.portalOutlet=null),this.containerHost?.parentElement&&(this.containerHost.parentElement.removeChild(this.containerHost),this.containerHost=null)}setShowArea(e){this.containerHost&&(this.containerHost.style.display=e?"block":"none")}setupDragListeners(){this.subscription?.unsubscribe(),this.subscription=new vt,this.subscription.add(te(this.doc,"dragenter").subscribe(()=>{this.setShowArea(!0)})),this.subscription.add(te(this.doc,"dragover").subscribe(e=>{e.preventDefault()})),this.subscription.add(te(this.doc,"dragleave").subscribe(e=>{e.relatedTarget||this.setShowArea(!1)})),this.subscription.add(te(this.doc,"drop").subscribe(e=>{this.setShowArea(!1),e.preventDefault()}))}dispose(){this.teardownPortal(),this.subscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nx-drop-area"]],viewQuery:function(n,r){n&1&&li(r.dropTpl,yr,5,bn),n&2&&si()},inputs:{getDropContainer:[1,"getDropContainer"],disabled:[1,"disabled"]},exportAs:["nxDropArea"],ngContentSelectors:uo,decls:2,vars:0,consts:[["content",""]],template:function(n,r){n&1&&(Fe(),ei(0,Fr,1,0,"ng-template",null,0,P))},encapsulation:2,changeDetection:0})}return t})(),Yr=t=>t.indexOf("image/")===0,hn=200;function Kr(t){return new Promise(l=>{if(!t||!t.type||!Yr(t.type)){l("");return}let e=new Image;if(e.onload=()=>{let{width:n,height:r}=e,s=n/r,u=s>1?hn:hn*s,z=s>1?hn/s:hn,E=document.createElement("canvas");E.width=u,E.height=z,E.style.cssText=`position: fixed; left: 0; top: 0; width: ${u}px; height: ${z}px; z-index: 9999; display: none;`,document.body.appendChild(E),E.getContext("2d").drawImage(e,0,0,u,z);let W=E.toDataURL();document.body.removeChild(E),window.URL.revokeObjectURL(e.src),l(W)},e.crossOrigin="anonymous",t.type.startsWith("image/svg+xml")){let n=new FileReader;n.onload=()=>{n.result&&typeof n.result=="string"&&(e.src=n.result)},n.readAsDataURL(t)}else if(t.type.startsWith("image/gif")){let n=new FileReader;n.onload=()=>{n.result&&l(n.result)},n.readAsDataURL(t)}else e.src=window.URL.createObjectURL(t)})}var fo=["png","jpg","jpeg","gif","bmp","webp","svg"],_n="#8c8c8c",Wn="\xA0",gn=[{key:"excel",icon:"file-excel",color:"#22b35e",ext:["xlsx","xls"]},{key:"image",icon:"file-image",color:_n,ext:fo},{key:"markdown",icon:"file-markdown",color:_n,ext:["md","mdx"]},{key:"pdf",icon:"file-pdf",color:"#ff4d4f",ext:["pdf"]},{key:"ppt",icon:"file-ppt",color:"#ff6e31",ext:["ppt","pptx"]},{key:"word",icon:"file-word",color:"#1677ff",ext:["doc","docx"]},{key:"zip",icon:"file-zip",color:"#fab714",ext:["zip","rar","7z","tar","gz"]},{key:"video",icon:"",color:"#ff4d4f",ext:["mp4","avi","mov","wmv","flv","mkv"]},{key:"audio",icon:"",color:_n,ext:["mp3","wav","flac","ape","aac","ogg"]},{key:"default",icon:"file-text",color:_n,ext:[]}];function po(t,l){return l.some(e=>t.toLowerCase()===`.${e}`)}function Jr(t){let l=t,e=["B","KB","MB","GB","TB","PB","EB"],n=0;for(;l>=1024&&n<e.length-1;)l/=1024,n++;return`${l.toFixed(0)} ${e[n]}`}var ut=(()=>{class t{cardCls=Mt;emptyChar=Wn;item=F.required();disabled=F(!1,{transform:Q});icon=F();type=F();removeCallback=F();onRemove=()=>{this.removeCallback()?.(this.item())};previewImg=J("");constructor(){Tn(e=>{let n=this.item();if(n.originFileObj){let r=!0;Kr(n.originFileObj).then(s=>{r&&this.previewImg.set(s)}),e(()=>{r=!1})}else this.previewImg.set("")})}nameParts=$(()=>{let e=this.item().name||"",n=e.match(/^(.*)\.[^.]+$/);return n?{prefix:n[1],suffix:e.slice(n[1].length)}:{prefix:e,suffix:""}});isImg=$(()=>po(this.nameParts().suffix,fo));desc=$(()=>{let e=this.item();return e.description?e.description:e.status==="uploading"?`${e.percent||0}%`:e.status==="error"?e.response||Wn:e.size?Jr(e.size):Wn});finalIcon=$(()=>{let e=this.icon();if(zi(e))return{key:"default",icon:e,color:"",ext:[]};if(typeof e=="string"){let r=gn.find(s=>s.key===e);if(r)return r}let n=this.nameParts().suffix;for(let r of gn)if(po(n,r.ext))return r;return gn[gn.length-1]});previewUrl=$(()=>{let e=this.item();return e.thumbUrl||e.url||this.previewImg()||""});shouldShowImagePreview=$(()=>{let e=this.type(),n=this.item(),r=this.isImg(),s=this.previewUrl();return e==="image"||e!=="file"&&r&&(n.originFileObj||s)});hostCls=$(()=>({[Mt]:!0,[`${Mt}-status-${this.item().status||"done"}`]:!0,[`${Mt}-type-preview`]:this.shouldShowImagePreview(),[`${Mt}-type-overview`]:!this.shouldShowImagePreview()}));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nx-file-list-card"]],hostVars:2,hostBindings:function(n,r){n&2&&N(r.hostCls())},inputs:{item:[1,"item"],disabled:[1,"disabled"],icon:[1,"icon"],type:[1,"type"],removeCallback:[1,"removeCallback"]},exportAs:["nxFileListCard"],decls:3,vars:2,consts:[["progressFormat",""],["type","button",3,"class"],["nz-image","","nzAlt","preview",3,"nzSrc","nzDisablePreview"],[3,"class"],["nzType","circle","nzStrokeColor","#FFF",3,"nzPercent","nzWidth","nzFormat"],[2,"color","#FFF"],["width","1em","height","1em","viewBox","0 0 16 16","xmlns","http://www.w3.org/2000/svg"],["stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["d","M14.1178571,4.0125 C14.225,4.11964286 14.2857143,4.26428571 14.2857143,4.41607143 L14.2857143,15.4285714 C14.2857143,15.7446429 14.0303571,16 13.7142857,16 L2.28571429,16 C1.96964286,16 1.71428571,15.7446429 1.71428571,15.4285714 L1.71428571,0.571428571 C1.71428571,0.255357143 1.96964286,0 2.28571429,0 L9.86964286,0 C10.0214286,0 10.1678571,0.0607142857 10.275,0.167857143 L14.1178571,4.0125 Z M12.9678571,4.67857143 L9.60714286,1.31785714 L9.60714286,4.67857143 L12.9678571,4.67857143 Z M10.5379461,10.3101106 L6.68957555,13.0059749 C6.59910784,13.0693494 6.47439406,13.0473861 6.41101953,12.9569184 C6.3874624,12.9232903 6.37482581,12.8832269 6.37482581,12.8421686 L6.37482581,7.45043999 C6.37482581,7.33998304 6.46436886,7.25043999 6.57482581,7.25043999 C6.61588409,7.25043999 6.65594753,7.26307658 6.68957555,7.28663371 L10.5379461,9.98249803 C10.6284138,10.0458726 10.6503772,10.1705863 10.5870027,10.2610541 C10.5736331,10.2801392 10.5570312,10.2967411 10.5379461,10.3101106 Z","fill","currentColor"],["d","M14.1178571,4.0125 C14.225,4.11964286 14.2857143,4.26428571 14.2857143,4.41607143 L14.2857143,15.4285714 C14.2857143,15.7446429 14.0303571,16 13.7142857,16 L2.28571429,16 C1.96964286,16 1.71428571,15.7446429 1.71428571,15.4285714 L1.71428571,0.571428571 C1.71428571,0.255357143 1.96964286,0 2.28571429,0 L9.86964286,0 C10.0214286,0 10.1678571,0.0607142857 10.275,0.167857143 L14.1178571,4.0125 Z M10.7315824,7.11216117 C10.7428131,7.15148751 10.7485063,7.19218979 10.7485063,7.23309113 L10.7485063,8.07742614 C10.7484199,8.27364959 10.6183424,8.44607275 10.4296853,8.50003683 L8.32984514,9.09986306 L8.32984514,11.7071803 C8.32986605,12.5367078 7.67249692,13.217028 6.84345686,13.2454634 L6.79068592,13.2463395 C6.12766108,13.2463395 5.53916361,12.8217001 5.33010655,12.1924966 C5.1210495,11.563293 5.33842118,10.8709227 5.86959669,10.4741173 C6.40077221,10.0773119 7.12636292,10.0652587 7.67042486,10.4442027 L7.67020842,7.74937024 L7.68449368,7.74937024 C7.72405122,7.59919041 7.83988806,7.48101083 7.98924584,7.4384546 L10.1880418,6.81004755 C10.42156,6.74340323 10.6648954,6.87865515 10.7315824,7.11216117 Z M9.60714286,1.31785714 L12.9678571,4.67857143 L9.60714286,4.67857143 L9.60714286,1.31785714 Z","fill","currentColor"],[4,"nzStringTemplateOutlet"],["nzTheme","fill",3,"nzType"],["type","button",3,"click"],["nzType","close-circle","nzTheme","fill"]],template:function(n,r){n&1&&(h(0,Tr,3,3)(1,Rr,13,27),h(2,Ur,2,3,"button",1)),n&2&&(_(r.shouldShowImagePreview()?0:1),c(2),_(!r.disabled()&&r.removeCallback()?2:-1))},dependencies:[G,U,so,lo,dn,bt,Ie],encapsulation:2,changeDetection:0})}return t})(),mo=1,el=(()=>{class t{host=C(pe);afterNextRender$=C(co);overflow=F("wrap");pingStart=J(!1);pingEnd=J(!1);listContainerCls=$(()=>({[mt]:!0,[`${mt}-overflow-${this.overflow()}`]:!!this.overflow(),[`${mt}-overflow-ping-start`]:this.pingStart(),[`${mt}-overflow-ping-end`]:this.pingEnd()}));constructor(){xi(this.overflow).pipe(Gn(()=>this.afterNextRender$)).subscribe(()=>this.checkPing())}checkPing(){let e=this.host.nativeElement,n=this.overflow();n==="scrollX"?(this.pingStart.set(Math.abs(e.scrollLeft)>=mo),this.pingEnd.set(e.scrollWidth-e.clientWidth-Math.abs(e.scrollLeft)>=mo)):n==="scrollY"?(this.pingStart.set(e.scrollTop!==0),this.pingEnd.set(e.scrollHeight-e.clientHeight!==e.scrollTop)):(this.pingStart.set(!1),this.pingEnd.set(!1))}scrollTo(e){let n=this.host.nativeElement,r=e==="left"?-1:1;n.scrollTo({left:n.scrollLeft+r*n.clientWidth,behavior:"smooth"})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=Je({type:t,selectors:[["","nx-file-list-overflow-wrap",""]],hostVars:2,hostBindings:function(n,r){n&1&&g("scroll",function(){return r.checkPing()}),n&2&&N(r.listContainerCls())},inputs:{overflow:[1,"overflow"]},exportAs:["nxFileListOverflowWrap"]})}return t})(),ho=(()=>{class t{LIST_CLS=mt;items=F([]);overflow=F("wrap");disabled=F(!1,{transform:Q});uploadConfig=F({});removeCallback=F();fileChange=wt();onUploadChange(e){this.fileChange.emit(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nx-file-list"]],hostAttrs:[1,"ant-attachment"],inputs:{items:[1,"items"],overflow:[1,"overflow"],disabled:[1,"disabled"],uploadConfig:[1,"uploadConfig"],removeCallback:[1,"removeCallback"]},outputs:{fileChange:"fileChange"},exportAs:["nxFileList"],decls:6,vars:3,consts:[["container","nxFileListOverflowWrap"],["nx-file-list-overflow-wrap","",3,"overflow"],[3,"item","disabled","removeCallback"],[3,"nzShowUploadList","nzFileList","nzAction","nzBeforeUpload","nzData","nzHeaders","nzMultiple","nzAccept","nzCustomRequest"],[3,"nzChange","nzShowUploadList","nzFileList","nzAction","nzBeforeUpload","nzData","nzHeaders","nzMultiple","nzAccept","nzCustomRequest"],["nz-button","","nzType","dashed"],["nzType","plus"],["nz-button","","nzType","default","nzSize","small","nzShape","circle",3,"click"],["nzType","left"],["nzType","right"]],template:function(n,r){n&1&&(o(0,"div",1,0),H(2,Or,1,3,"nx-file-list-card",2,Br),h(4,Wr,3,16,"nz-upload",3),h(5,Vr,4,6),a()),n&2&&(p("overflow",r.overflow()),c(2),Z(r.items()),c(2),_(r.disabled()?-1:4),c(),_(r.overflow()==="scrollX"?5:-1))},dependencies:[ke,Ne,be,Zt,G,U,un,kt,ut,el],encapsulation:2,changeDetection:0})}return t})(),_o=(()=>{class t{PLACEHOLDER_CLS=fn;elementRef=C(pe);placeholder=F();uploadConfig=F({});disabled=F(!1,{transform:Q});uploadChange=wt();dragIn=J(!1);onDragEnter(){this.disabled()||this.dragIn.set(!0)}onDragLeave(e){this.elementRef.nativeElement.contains(e.relatedTarget)||this.dragIn.set(!1)}onDrop(){this.dragIn.set(!1)}class=$(()=>({[`${fn}`]:!0,[`${fn}-drag-in`]:this.dragIn(),[`${fn}-disabled`]:this.disabled()}));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nx-placeholder-uploader"]],hostVars:2,hostBindings:function(n,r){n&1&&g("dragenter",function(){return r.onDragEnter()})("dragleave",function(u){return r.onDragLeave(u)})("drop",function(){return r.onDrop()}),n&2&&N(r.class())},inputs:{placeholder:[1,"placeholder"],uploadConfig:[1,"uploadConfig"],disabled:[1,"disabled"]},outputs:{uploadChange:"uploadChange"},exportAs:["nxPlaceholderUploader"],decls:2,vars:12,consts:[["nzType","drag",3,"nzChange","nzShowUploadList","nzFileList","nzAction","nzBeforeUpload","nzData","nzHeaders","nzMultiple","nzAccept","nzCustomRequest","nzDisabled"],[4,"nzStringTemplateOutlet"],[3,"class"],[3,"nzType"]],template:function(n,r){n&1&&(o(0,"nz-upload",0),g("nzChange",function(u){return r.uploadChange.emit(u)}),x(1,Gr,5,6,"ng-container",1),a()),n&2&&(p("nzShowUploadList",!1)("nzFileList",r.uploadConfig().fileList||tt(11,Vn))("nzAction",r.uploadConfig().action)("nzBeforeUpload",r.uploadConfig().beforeUpload)("nzData",r.uploadConfig().data)("nzHeaders",r.uploadConfig().headers)("nzMultiple",r.uploadConfig().multiple||!1)("nzAccept",r.uploadConfig().accept||"")("nzCustomRequest",r.uploadConfig().customRequest)("nzDisabled",r.disabled()),c(),p("nzStringTemplateOutlet",r.placeholder()))},dependencies:[Ie,un,kt,G,U],encapsulation:2,changeDetection:0})}return t})(),Pe=(()=>{class t{elementRef=C(pe);silent=F(!1,{transform:Q});items=F([]);overflow=F("wrap");placeholder=F();getDropContainer=F();disabled=F(!1,{transform:Q});action=F();beforeUpload=F();data=F();headers=F();multiple=F(!1,{transform:Q});accept=F();customRequest=F();maxCount=F();fileChange=wt();remove=wt();fileList=pi(()=>this.items());defaultInlinePlaceholder={title:"Click or Drop files here",description:"Support file type: image, video, audio, document, etc."};inlinePlaceholder=$(()=>{let e=this.placeholder();return typeof e=="function"?e("inline"):e});dropPlaceholder=$(()=>{let e=this.placeholder();return typeof e=="function"?e("drop"):e});uploadConfig=$(()=>({action:this.action(),beforeUpload:this.beforeUpload(),data:this.data(),headers:this.headers(),multiple:this.multiple(),accept:this.accept(),customRequest:this.customRequest(),maxCount:this.maxCount(),fileList:this.fileList()||[]}));effectiveDropContainer=$(()=>{let e=this.getDropContainer();return e===null?null:typeof e=="function"?e:()=>this.elementRef.nativeElement});onUploadChange(e){this.fileList.set(e.fileList),this.fileChange.emit(e)}onItemRemove=e=>{let n=this.fileList().filter(r=>r.uid!==e.uid);this.fileList.set(n),this.fileChange.emit({file:lt(j({},e),{status:"removed"}),fileList:n}),this.remove.emit(e)};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nx-attachments"]],hostAttrs:[1,"ant-attachment"],inputs:{silent:[1,"silent"],items:[1,"items"],overflow:[1,"overflow"],placeholder:[1,"placeholder"],getDropContainer:[1,"getDropContainer"],disabled:[1,"disabled"],action:[1,"action"],beforeUpload:[1,"beforeUpload"],data:[1,"data"],headers:[1,"headers"],multiple:[1,"multiple"],accept:[1,"accept"],customRequest:[1,"customRequest"],maxCount:[1,"maxCount"]},outputs:{fileChange:"fileChange",remove:"remove"},exportAs:["nxAttachments"],ngContentSelectors:uo,decls:4,vars:6,consts:[[3,"nzShowUploadList","nzFileList","nzAction","nzBeforeUpload","nzData","nzHeaders","nzMultiple","nzAccept","nzCustomRequest","nzDisabled"],[3,"getDropContainer","disabled"],[3,"uploadChange","placeholder","uploadConfig","disabled"],[3,"nzChange","nzShowUploadList","nzFileList","nzAction","nzBeforeUpload","nzData","nzHeaders","nzMultiple","nzAccept","nzCustomRequest","nzDisabled"],[3,"fileChange","items","overflow","disabled","uploadConfig","removeCallback"]],template:function(n,r){n&1&&(Fe(),h(0,qr,2,11,"nz-upload",0)(1,Qr,2,12),o(2,"nx-drop-area",1)(3,"nx-placeholder-uploader",2),g("uploadChange",function(u){return r.onUploadChange(u)}),a()()),n&2&&(_(r.silent()?0:1),c(2),p("getDropContainer",r.effectiveDropContainer())("disabled",r.disabled()),c(),p("placeholder",r.dropPlaceholder())("uploadConfig",r.uploadConfig())("disabled",r.disabled()))},dependencies:[un,kt,ho,_o,Xr],encapsulation:2,changeDetection:0})}return t})(),_e=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ee({type:t});static \u0275inj=ve({imports:[Pe,ho,ut,_o]})}return t})();var ht=class t{messageService=C(Bi);document=C(Se);elementRef=C(pe);items=J([]);fullscreenDrop=nt(!1);getDropContainer=$(()=>this.fullscreenDrop()?()=>this.document.body:()=>this.elementRef.nativeElement);placeholder={icon:"upload",title:"Drag & Drop files here",description:"Support file type: image, video, audio, document, etc."};beforeUpload=()=>!1;onChange(l){l.type==="start"&&this.messageService.info(`Mock upload: ${l.file.name}`)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-basic"]],inputs:{fullscreenDrop:[1,"fullscreenDrop"]},outputs:{fullscreenDrop:"fullscreenDropChange"},decls:7,vars:5,consts:[["nx-sender-prefix",""],["silent","",3,"fileChange","items","getDropContainer","beforeUpload","placeholder"],["nz-button","","nzType","text"],["nzType","link"],["nzCheckedChildren","Fullscreen Drop","nzUnCheckedChildren","Fullscreen Drop",3,"ngModelChange","ngModel"]],template:function(e,n){e&1&&(o(0,"nx-sender")(1,"div",0)(2,"nx-attachments",1),g("fileChange",function(s){return n.onChange(s)}),o(3,"button",2),m(4,"nz-icon",3),a()()()(),m(5,"br"),o(6,"nz-switch",4),Ft("ngModelChange",function(s){return yt(n.fullscreenDrop,s)||(n.fullscreenDrop=s),s}),a()),e&2&&(c(2),p("items",n.items())("getDropContainer",n.getDropContainer())("beforeUpload",n.beforeUpload)("placeholder",n.placeholder),c(4),Et("ngModel",n.fullscreenDrop))},dependencies:[Qt,Gt,qt,_e,Pe,cn,sn,ln,ke,Ne,be,G,U,rn,an],encapsulation:2})};function ol(t,l){t&1&&m(0,"span",8)}function al(t,l){t&1&&m(0,"span",9)}function rl(t,l){t&1&&m(0,"span",10)}function ll(t,l){t&1&&m(0,"span",11)}function sl(t,l){t&1&&m(0,"span",12)}var cl=[{uid:"1",name:"excel-file.xlsx",size:111111,icon:"robot",type:"file"},{uid:"2",name:"image-file.png",size:333333,icon:"file-image",type:"file"},{uid:"3",name:"pdf-file.pdf",size:444444,icon:"copy",type:"file"},{uid:"4",name:"video-file.mp4",size:666666,icon:"video-camera",type:"file"},{uid:"5",name:"audio-file.mp3",size:777777,icon:"customer-service",type:"file"},{uid:"6",name:"image name without file ext",size:888888,url:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",type:"image"}],_t=class t{files=cl;static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-files-custom"]],decls:17,vars:17,consts:[["robotIcon",""],["fileImageIcon",""],["copyIcon",""],["videoCameraIcon",""],["audioIcon",""],["nzVertical","","nzGap","middle"],["disabled","",3,"item","icon","type"],["disabled","",3,"item","type"],["nz-icon","","nzType","robot",2,"color","rgb(250, 183, 20)"],["nz-icon","","nzType","file-image","nzTheme","fill",2,"color","rgb(22, 119, 255)"],["nz-icon","","nzType","copy","nzTheme","fill",2,"color","rgb(140, 140, 140)"],["nz-icon","","nzType","video-camera","nzTheme","fill",2,"color","rgb(255, 77, 79)"],["nz-icon","","nzType","customer-service","nzTheme","fill",2,"color","rgb(255, 110, 49)"]],template:function(e,n){if(e&1&&(x(0,ol,1,0,"ng-template",null,0,P)(2,al,1,0,"ng-template",null,1,P)(4,rl,1,0,"ng-template",null,2,P)(6,ll,1,0,"ng-template",null,3,P)(8,sl,1,0,"ng-template",null,4,P),o(10,"nz-flex",5),m(11,"nx-file-list-card",6)(12,"nx-file-list-card",6)(13,"nx-file-list-card",6)(14,"nx-file-list-card",6)(15,"nx-file-list-card",6)(16,"nx-file-list-card",7),a()),e&2){let r=w(1),s=w(3),u=w(5),z=w(7),E=w(9);c(11),p("item",n.files[0])("icon",r)("type",n.files[0].type),c(),p("item",n.files[1])("icon",s)("type",n.files[1].type),c(),p("item",n.files[2])("icon",u)("type",n.files[2].type),c(),p("item",n.files[3])("icon",z)("type",n.files[3].type),c(),p("item",n.files[4])("icon",E)("type",n.files[4].type),c(),p("item",n.files[5])("type",n.files[5].type)}},dependencies:[_e,ut,Me,De,G,U],encapsulation:2})};var dl=(t,l)=>l.uid;function pl(t,l){if(t&1&&m(0,"nx-file-list-card",1),t&2){let e=l.$implicit;p("item",e)}}var gt=class t{files=[{uid:"1",name:"excel-file.xlsx",size:111111},{uid:"2",name:"word-file.docx",size:222222},{uid:"3",name:"image-file.png",size:333333},{uid:"4",name:"pdf-file.pdf",size:444444},{uid:"5",name:"ppt-file.pptx",size:555555},{uid:"6",name:"video-file.mp4",size:666666},{uid:"7",name:"audio-file.mp3",size:777777},{uid:"8",name:"zip-file.zip",size:888888},{uid:"9",name:"markdown-file.md",size:999999,description:"Custom description here"},{uid:"10",name:"image-file.png",size:123456,thumbUrl:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"}];static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-files"]],decls:3,vars:0,consts:[["nzVertical","","nzGap","middle"],[3,"item"]],template:function(e,n){e&1&&(o(0,"nz-flex",0),H(1,pl,1,1,"nx-file-list-card",1,dl),a()),e&2&&(c(),Z(n.files))},dependencies:[_e,ut,Me,De],encapsulation:2})};var go=Array.from({length:30}).map((t,l)=>({uid:String(l),name:`file-${l}.jpg`,status:"done",thumbUrl:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"})),Ct=class t{overflowOptions=[{label:"Wrap",value:"wrap"},{label:"Scroll X",value:"scrollX"},{label:"Scroll Y",value:"scrollY"}];overflow=nt("wrap");disabled=nt(!1);items=J(go);toggleData(){this.items.update(l=>l.length?[]:go)}placeholder={icon:"cloud-upload",title:"Click or Drop files here",description:"Support file type: image, video, audio, document, etc."};beforeUpload=()=>!1;onChange(l){this.items.set(l.fileList)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-overflow"]],inputs:{overflow:[1,"overflow"],disabled:[1,"disabled"]},outputs:{overflow:"overflowChange",disabled:"disabledChange"},decls:6,vars:9,consts:[["nzVertical","","nzGap","middle"],["nzGap","middle","nzAlign","center"],[2,"margin-inline-end","auto",3,"ngModelChange","nzOptions","ngModel"],["nzCheckedChildren","Data","nzUnCheckedChildren","Data",3,"ngModelChange","ngModel"],["nzCheckedChildren","Disabled","nzUnCheckedChildren","Disabled",3,"ngModelChange","ngModel"],[3,"fileChange","items","overflow","disabled","beforeUpload","placeholder"]],template:function(e,n){e&1&&(o(0,"nz-flex",0)(1,"nz-flex",1)(2,"nz-segmented",2),Ft("ngModelChange",function(s){return yt(n.overflow,s)||(n.overflow=s),s}),a(),o(3,"nz-switch",3),g("ngModelChange",function(){return n.toggleData()}),a(),o(4,"nz-switch",4),Ft("ngModelChange",function(s){return yt(n.disabled,s)||(n.disabled=s),s}),a()(),o(5,"nx-attachments",5),g("fileChange",function(s){return n.onChange(s)}),a()()),e&2&&(c(2),p("nzOptions",n.overflowOptions),Et("ngModel",n.overflow),c(),p("ngModel",n.items().length>0),c(),Et("ngModel",n.disabled),c(),p("items",n.items())("overflow",n.overflow())("disabled",n.disabled())("beforeUpload",n.beforeUpload)("placeholder",n.placeholder))},dependencies:[Qt,Gt,qt,_e,Pe,Me,De,Hi,$i,rn,an],encapsulation:2})};var ml=[[["nz-result-content"],["","nz-result-content",""]],[["","nz-result-icon",""]],[["div","nz-result-title",""]],[["div","nz-result-subtitle",""]],[["div","nz-result-extra",""]]],ul=["nz-result-content, [nz-result-content]","[nz-result-icon]","div[nz-result-title]","div[nz-result-subtitle]","div[nz-result-extra]"];function fl(t,l){if(t&1&&(ue(0),m(1,"nz-icon",5),fe()),t&2){let e=l.$implicit;c(),p("nzType",e)}}function hl(t,l){if(t&1&&x(0,fl,2,1,"ng-container",4),t&2){let e=d(2);p("nzStringTemplateOutlet",e.icon())}}function _l(t,l){if(t&1&&m(0,"nz-icon",5),t&2){let e=d(3);p("nzType",e.defaultIcon())}}function gl(t,l){t&1&&ee(0,1,null,_l,1,1)}function Cl(t,l){if(t&1&&h(0,hl,1,1,"ng-container")(1,gl,2,0),t&2){let e=d();_(e.icon()?0:1)}}function xl(t,l){t&1&&m(0,"nz-result-not-found")}function zl(t,l){t&1&&m(0,"nz-result-server-error")}function vl(t,l){t&1&&m(0,"nz-result-unauthorized")}function Sl(t,l){if(t&1&&h(0,xl,1,0,"nz-result-not-found")(1,zl,1,0,"nz-result-server-error")(2,vl,1,0,"nz-result-unauthorized"),t&2){let e,n=d();_((e=n.nzStatus())==="404"?0:e==="500"?1:e==="403"?2:-1)}}function El(t,l){if(t&1&&(o(0,"div",1),i(1),a()),t&2){let e=d(2);c(),he(" ",e.nzTitle()," ")}}function yl(t,l){if(t&1&&x(0,El,2,1,"div",6),t&2){let e=d();p("nzStringTemplateOutlet",e.nzTitle())}}function Fl(t,l){t&1&&ee(0,2)}function wl(t,l){if(t&1&&(o(0,"div",2),i(1),a()),t&2){let e=d(2);c(),he(" ",e.nzSubTitle()," ")}}function bl(t,l){if(t&1&&x(0,wl,2,1,"div",7),t&2){let e=d();p("nzStringTemplateOutlet",e.nzSubTitle())}}function Nl(t,l){t&1&&ee(0,3)}function kl(t,l){if(t&1&&(o(0,"div",3),i(1),a()),t&2){let e=d(2);c(),he(" ",e.nzExtra()," ")}}function Dl(t,l){if(t&1&&x(0,kl,2,1,"div",8),t&2){let e=d();p("nzStringTemplateOutlet",e.nzExtra())}}function Ml(t,l){t&1&&ee(0,4)}var Tl=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-result-not-found"]],exportAs:["nzResultNotFound"],decls:62,vars:0,consts:[["width","252","height","294"],["d","M0 .387h251.772v251.772H0z"],["fill","none","fillRule","evenodd"],["transform","translate(0 .012)"],["fill","#fff"],["d","M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321","fill","#E4EBF7","mask","url(#b)"],["d","M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66","fill","#FFF"],["d","M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788","stroke","#FFF","strokeWidth","2"],["d","M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175","fill","#FFF"],["d","M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932","fill","#FFF"],["d","M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011","par","","stroke","#FFF","strokeWidth","2"],["d","M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382","fill","#FFF"],["d","M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z","stroke","#FFF","strokeWidth","2"],["stroke","#FFF","strokeWidth","2","d","M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"],["d","M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742","fill","#FFF"],["d","M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48","fill","#1890FF"],["d","M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894","fill","#FFF"],["d","M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88","fill","#FFB594"],["d","M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624","fill","#FFC6A0"],["d","M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682","fill","#FFF"],["d","M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573","fill","#CBD1D1"],["d","M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z","fill","#2B0849"],["d","M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558","fill","#A4AABA"],["d","M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z","fill","#CBD1D1"],["d","M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062","fill","#2B0849"],["d","M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15","fill","#A4AABA"],["d","M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165","fill","#7BB2F9"],["d","M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M107.275 222.1s2.773-1.11 6.102-3.884","stroke","#648BD8","strokeLinecap","round","strokeLinejoin","round"],["d","M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038","fill","#192064"],["d","M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81","fill","#FFF"],["d","M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642","fill","#192064"],["d","M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268","fill","#FFC6A0"],["d","M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456","fill","#FFC6A0"],["d","M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z","fill","#520038"],["d","M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254","fill","#552950"],["stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round","d","M110.13 74.84l-.896 1.61-.298 4.357h-2.228"],["d","M110.846 74.481s1.79-.716 2.506.537","stroke","#5C2552","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67","stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M103.287 72.93s1.83 1.113 4.137.954","stroke","#5C2552","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639","stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"],["d","M129.405 122.865s-5.272 7.403-9.422 10.768","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M119.306 107.329s.452 4.366-2.127 32.062","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"],["d","M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01","fill","#F2D7AD"],["d","M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92","fill","#F4D19D"],["d","M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z","fill","#F2D7AD"],["fill","#CC9B6E","d","M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"],["d","M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83","fill","#F4D19D"],["fill","#CC9B6E","d","M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"],["fill","#CC9B6E","d","M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"],["d","M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238","fill","#FFC6A0"],["d","M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647","fill","#5BA02E"],["d","M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647","fill","#92C110"],["d","M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187","fill","#F2D7AD"],["d","M88.979 89.48s7.776 5.384 16.6 2.842","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"]],template:function(n,r){n&1&&(de(),Be(0,"svg",0)(1,"defs"),Oe(2,"path",1),ye(),Be(3,"g",2)(4,"g",3),Oe(5,"mask",4)(6,"path",5),ye(),Oe(7,"path",6)(8,"path",7)(9,"path",8)(10,"path",9)(11,"path",10)(12,"path",11)(13,"path",12)(14,"path",13)(15,"path",14)(16,"path",15)(17,"path",16)(18,"path",17)(19,"path",18)(20,"path",19)(21,"path",20)(22,"path",21)(23,"path",22)(24,"path",23)(25,"path",24)(26,"path",25)(27,"path",26)(28,"path",27)(29,"path",28)(30,"path",29)(31,"path",30)(32,"path",31)(33,"path",32)(34,"path",33)(35,"path",34)(36,"path",35)(37,"path",36)(38,"path",37)(39,"path",38)(40,"path",39)(41,"path",40)(42,"path",41)(43,"path",42)(44,"path",43)(45,"path",44)(46,"path",45)(47,"path",46)(48,"path",47)(49,"path",48)(50,"path",49)(51,"path",50)(52,"path",51)(53,"path",52)(54,"path",53)(55,"path",54)(56,"path",55)(57,"path",56)(58,"path",57)(59,"path",58)(60,"path",59)(61,"path",60),ye()())},encapsulation:2,changeDetection:0})}return t})(),Ll=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-result-server-error"]],exportAs:["nzResultServerError"],decls:69,vars:0,consts:[["width","254","height","294"],["d","M0 .335h253.49v253.49H0z"],["d","M0 293.665h253.49V.401H0z"],["fill","none","fillRule","evenodd"],["transform","translate(0 .067)"],["fill","#fff"],["d","M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134","fill","#E4EBF7","mask","url(#b)"],["d","M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671","fill","#FFF"],["d","M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861","stroke","#FFF","strokeWidth","2"],["d","M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238","fill","#FFF"],["d","M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775","fill","#FFF"],["d","M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68","fill","#FF603B"],["d","M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733","fill","#FFF"],["d","M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487","fill","#FFB594"],["d","M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235","fill","#FFF"],["d","M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246","fill","#FFB594"],["d","M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508","fill","#FFC6A0"],["d","M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z","fill","#520038"],["d","M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26","fill","#552950"],["stroke","#DB836E","strokeWidth","1.063","strokeLinecap","round","strokeLinejoin","round","d","M99.206 73.644l-.9 1.62-.3 4.38h-2.24"],["d","M99.926 73.284s1.8-.72 2.52.54","stroke","#5C2552","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68","stroke","#DB836E","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M92.326 71.724s1.84 1.12 4.16.96","stroke","#5C2552","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954","stroke","#DB836E","strokeWidth","1.063","strokeLinecap","round","strokeLinejoin","round"],["d","M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044","stroke","#E4EBF7","strokeWidth","1.136","strokeLinecap","round","strokeLinejoin","round"],["d","M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583","fill","#FFF"],["d","M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75","fill","#FFC6A0"],["d","M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713","fill","#FFC6A0"],["d","M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16","fill","#FFC6A0"],["d","M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575","fill","#FFF"],["d","M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47","fill","#CBD1D1"],["d","M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z","fill","#2B0849"],["d","M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671","fill","#A4AABA"],["d","M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z","fill","#CBD1D1"],["d","M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162","fill","#2B0849"],["d","M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156","fill","#A4AABA"],["d","M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69","fill","#7BB2F9"],["d","M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M96.973 219.373s2.882-1.153 6.34-4.034","stroke","#648BD8","strokeWidth","1.032","strokeLinecap","round","strokeLinejoin","round"],["d","M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62","fill","#192064"],["d","M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843","fill","#FFF"],["d","M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668","fill","#192064"],["d","M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69","fill","#FFC6A0"],["d","M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593","stroke","#DB836E","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594","fill","#FFC6A0"],["d","M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M109.278 112.533s3.38-3.613 7.575-4.662","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M107.375 123.006s9.697-2.745 11.445-.88","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955","stroke","#BFCDDD","strokeWidth","2","strokeLinecap","round","strokeLinejoin","round"],["d","M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01","fill","#A3B4C6"],["d","M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813","fill","#A3B4C6"],["fill","#A3B4C6","mask","url(#d)","d","M154.098 190.096h70.513v-84.617h-70.513z"],["d","M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208","fill","#BFCDDD","mask","url(#d)"],["d","M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802","fill","#FFF","mask","url(#d)"],["d","M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209","fill","#BFCDDD","mask","url(#d)"],["d","M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751","stroke","#7C90A5","strokeWidth","1.124","strokeLinecap","round","strokeLinejoin","round","mask","url(#d)"],["d","M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802","fill","#FFF","mask","url(#d)"],["d","M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407","fill","#BFCDDD","mask","url(#d)"],["d","M177.259 207.217v11.52M201.05 207.217v11.52","stroke","#A3B4C6","strokeWidth","1.124","strokeLinecap","round","strokeLinejoin","round","mask","url(#d)"],["d","M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422","fill","#5BA02E","mask","url(#d)"],["d","M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423","fill","#92C110","mask","url(#d)"],["d","M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209","fill","#F2D7AD","mask","url(#d)"]],template:function(n,r){n&1&&(de(),Be(0,"svg",0)(1,"defs"),Oe(2,"path",1)(3,"path",2),ye(),Be(4,"g",3)(5,"g",4),Oe(6,"mask",5)(7,"path",6),ye(),Oe(8,"path",7)(9,"path",8)(10,"path",9)(11,"path",10)(12,"path",11)(13,"path",12)(14,"path",13)(15,"path",14)(16,"path",15)(17,"path",16)(18,"path",17)(19,"path",18)(20,"path",19)(21,"path",20)(22,"path",21)(23,"path",22)(24,"path",23)(25,"path",24)(26,"path",25)(27,"path",26)(28,"path",27)(29,"path",28)(30,"path",29)(31,"path",30)(32,"path",31)(33,"path",32)(34,"path",33)(35,"path",34)(36,"path",35)(37,"path",36)(38,"path",37)(39,"path",38)(40,"path",39)(41,"path",40)(42,"path",41)(43,"path",42)(44,"path",43)(45,"path",44)(46,"path",45)(47,"path",46)(48,"path",47)(49,"path",48)(50,"path",49)(51,"path",50)(52,"path",51)(53,"path",52)(54,"path",53)(55,"path",54)(56,"path",55)(57,"mask",5)(58,"path",56)(59,"path",57)(60,"path",58)(61,"path",59)(62,"path",60)(63,"path",61)(64,"path",62)(65,"path",63)(66,"path",64)(67,"path",65)(68,"path",66),ye()())},encapsulation:2,changeDetection:0})}return t})(),Al=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-result-unauthorized"]],exportAs:["nzResultUnauthorized"],decls:56,vars:0,consts:[["width","251","height","294"],["fill","none","fillRule","evenodd"],["d","M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023","fill","#E4EBF7"],["d","M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65","fill","#FFF"],["d","M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73","stroke","#FFF","strokeWidth","2"],["d","M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126","fill","#FFF"],["d","M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873","fill","#FFF"],["d","M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36","stroke","#FFF","strokeWidth","2"],["d","M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375","fill","#FFF"],["d","M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z","stroke","#FFF","strokeWidth","2"],["stroke","#FFF","strokeWidth","2","d","M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"],["d","M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321","fill","#A26EF4"],["d","M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734","fill","#FFF"],["d","M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717","fill","#FFF"],["d","M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61","fill","#5BA02E"],["d","M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611","fill","#92C110"],["d","M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17","fill","#F2D7AD"],["d","M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085","fill","#FFF"],["d","M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233","fill","#FFC6A0"],["d","M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367","fill","#FFB594"],["d","M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95","fill","#FFC6A0"],["d","M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929","fill","#FFF"],["d","M78.18 94.656s.911 7.41-4.914 13.078","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437","stroke","#E4EBF7","strokeWidth",".932","strokeLinecap","round","strokeLinejoin","round"],["d","M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z","fill","#FFC6A0"],["d","M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91","fill","#FFB594"],["d","M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103","fill","#5C2552"],["d","M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145","fill","#FFC6A0"],["stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round","d","M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"],["d","M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32","fill","#552950"],["d","M91.132 86.786s5.269 4.957 12.679 2.327","stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round"],["d","M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25","fill","#DB836E"],["d","M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073","stroke","#5C2552","strokeWidth","1.526","strokeLinecap","round","strokeLinejoin","round"],["d","M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254","stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round"],["d","M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M66.508 86.763s-1.598 8.83-6.697 14.078","stroke","#E4EBF7","strokeWidth","1.114","strokeLinecap","round","strokeLinejoin","round"],["d","M128.31 87.934s3.013 4.121 4.06 11.785","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M64.09 84.816s-6.03 9.912-13.607 9.903","stroke","#DB836E","strokeWidth",".795","strokeLinecap","round","strokeLinejoin","round"],["d","M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73","fill","#FFC6A0"],["d","M130.532 85.488s4.588 5.757 11.619 6.214","stroke","#DB836E","strokeWidth",".75","strokeLinecap","round","strokeLinejoin","round"],["d","M121.708 105.73s-.393 8.564-1.34 13.612","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M115.784 161.512s-3.57-1.488-2.678-7.14","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68","fill","#CBD1D1"],["d","M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z","fill","#2B0849"],["d","M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62","fill","#A4AABA"],["d","M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z","fill","#CBD1D1"],["d","M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078","fill","#2B0849"],["d","M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15","fill","#A4AABA"],["d","M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954","fill","#7BB2F9"],["d","M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M108.459 220.905s2.759-1.104 6.07-3.863","stroke","#648BD8","strokeLinecap","round","strokeLinejoin","round"],["d","M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017","fill","#192064"],["d","M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806","fill","#FFF"],["d","M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64","fill","#192064"],["d","M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"]],template:function(n,r){n&1&&(de(),Be(0,"svg",0)(1,"g",1),Oe(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"path",34)(35,"path",35)(36,"path",36)(37,"path",37)(38,"path",38)(39,"path",39)(40,"path",40)(41,"path",41)(42,"path",42)(43,"path",43)(44,"path",44)(45,"path",45)(46,"path",46)(47,"path",47)(48,"path",48)(49,"path",49)(50,"path",50)(51,"path",51)(52,"path",52)(53,"path",53)(54,"path",54)(55,"path",55),ye()())},encapsulation:2,changeDetection:0})}return t})();var xo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=Je({type:t,selectors:[["","nz-result-icon",""]],exportAs:["nzResultIcon"]})}return t})();var zo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=Je({type:t,selectors:[["div","nz-result-extra",""]],hostAttrs:[1,"ant-result-extra"],exportAs:["nzResultExtra"]})}return t})(),Co={success:"check-circle",error:"close-circle",info:"exclamation-circle",warning:"warning"},Il=["404","500","403"],$n=(()=>{class t{dir=C(Ae).valueSignal;nzIcon=F();nzTitle=F();nzSubTitle=F();nzExtra=F();nzStatus=F("info");class=$(()=>({"ant-result":!0,[`ant-result-${this.nzStatus()}`]:!0,"ant-result-rtl":this.dir()==="rtl"}));isException=$(()=>Il.indexOf(this.nzStatus())!==-1);icon=$(()=>{let e=this.nzIcon();return typeof e=="string"&&Co[e]||e});defaultIcon=$(()=>Co[this.nzStatus()]);static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-result"]],hostVars:2,hostBindings:function(n,r){n&2&&N(r.class())},inputs:{nzIcon:[1,"nzIcon"],nzTitle:[1,"nzTitle"],nzSubTitle:[1,"nzSubTitle"],nzExtra:[1,"nzExtra"],nzStatus:[1,"nzStatus"]},exportAs:["nzResult"],ngContentSelectors:ul,decls:10,vars:4,consts:[[1,"ant-result-icon"],[1,"ant-result-title"],[1,"ant-result-subtitle"],[1,"ant-result-extra"],[4,"nzStringTemplateOutlet"],["nzTheme","fill",3,"nzType"],["class","ant-result-title",4,"nzStringTemplateOutlet"],["class","ant-result-subtitle",4,"nzStringTemplateOutlet"],["class","ant-result-extra",4,"nzStringTemplateOutlet"]],template:function(n,r){n&1&&(Fe(ml),o(0,"div",0),h(1,Cl,2,1)(2,Sl,3,1),a(),h(3,yl,1,1,"div",1)(4,Fl,1,0),h(5,bl,1,1,"div",2)(6,Nl,1,0),ee(7),h(8,Dl,1,1,"div",3)(9,Ml,1,0)),n&2&&(c(),_(r.isException()?2:1),c(2),_(r.nzTitle()?3:4),c(2),_(r.nzSubTitle()?5:6),c(3),_(r.nzExtra()?8:9))},dependencies:[dt,Ie,G,U,Tl,Ll,Al],encapsulation:2,changeDetection:0})}return t})();var vo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ee({type:t});static \u0275inj=ve({imports:[$n]})}return t})();function Rl(t,l){t&1&&(o(0,"nz-result",7)(1,"div",8)(2,"button",9),i(3,"Do Upload"),a()(),o(4,"div",10),m(5,"nz-icon",11),a()())}var Ul=[{uid:"1",name:"uploading file.xlsx",status:"uploading",percent:93},{uid:"2",name:"uploaded file.docx",status:"done",size:123456,description:"Customize description"},{uid:"3",name:"upload error with long text file name.zip",status:"error",response:"Server Error 500"},{uid:"4",name:"image uploading preview.png",status:"uploading",percent:33,thumbUrl:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"},{uid:"5",name:"image done preview.png",status:"done",size:123456,thumbUrl:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"},{uid:"6",name:"image error preview.png",status:"error",response:"Server Error 500",thumbUrl:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"}],xt=class t{items=J([]);getPlaceholderFn=l=>e=>e==="drop"?{title:"Drop file here"}:l;objectPlaceholder={icon:"cloud-upload",title:"Click or Drop files here",description:"Support file type: image, video, audio, document, etc."};beforeUpload=()=>!1;onChange(l){this.items.set(l.fileList)}fillFiles(){this.items.set(Ul)}resetFiles(){this.items.set([])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-placeholder"]],decls:12,vars:8,consts:[["placeholder",""],["nz-flex","","nzVertical","","nzGap","middle",1,"wrapper"],[1,"box"],[3,"fileChange","items","beforeUpload","placeholder"],["nzGap","middle"],["nz-button","","nzType","primary",2,"flex","1",3,"click","disabled"],["nz-button","",2,"flex","1",3,"click","disabled"],["nzTitle","Custom Placeholder Node","nzSubTitle","Support file type: image, video, audio, document, etc."],["nz-result-extra",""],["nz-button","","nzType","primary"],["nz-result-icon",""],["nzType","cloud-upload"]],template:function(e,n){if(e&1){let r=M();o(0,"div",1)(1,"div",2)(2,"nx-attachments",3),g("fileChange",function(u){return v(r),S(n.onChange(u))}),a()(),o(3,"div",2)(4,"nx-attachments",3),g("fileChange",function(u){return v(r),S(n.onChange(u))}),a(),x(5,Rl,6,0,"ng-template",null,0,P),a(),o(7,"nz-flex",4)(8,"button",5),g("click",function(){return v(r),S(n.fillFiles())}),i(9," Fill Files "),a(),o(10,"button",6),g("click",function(){return v(r),S(n.resetFiles())}),i(11," Reset Files "),a()()()}if(e&2){let r=w(6);c(2),p("items",n.items())("beforeUpload",n.beforeUpload)("placeholder",n.getPlaceholderFn(n.objectPlaceholder)),c(2),p("items",n.items())("beforeUpload",n.beforeUpload)("placeholder",n.getPlaceholderFn(r)),c(4),p("disabled",n.items().length>0),c(2),p("disabled",n.items().length===0)}},dependencies:[_e,Pe,ke,Ne,be,Zt,Me,De,vo,$n,zo,xo],styles:["[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:16px;background:#0000000a}[_nghost-%COMP%] .box[_ngcontent-%COMP%]{border-radius:4px;overflow:hidden;background:#fff}"]})};var So=(t,l)=>({$implicit:t,data:l}),Bl=t=>({$implicit:t});function Ol(t,l){}function Wl(t,l){if(t&1&&x(0,Ol,0,0,"ng-template",1),t&2){let e=d();p("ngTemplateOutlet",e.instance.template)("ngTemplateOutletContext",Mn(2,So,e,e.instance.options==null?null:e.instance.options.nzData))}}function Vl(t,l){t&1&&m(0,"nz-icon",6)}function jl(t,l){t&1&&m(0,"nz-icon",7)}function $l(t,l){t&1&&m(0,"nz-icon",8)}function Hl(t,l){t&1&&m(0,"nz-icon",9)}function Zl(t,l){if(t&1&&(ue(0),m(1,"div",15),fe()),t&2){let e=d(2);c(),p("innerHTML",e.instance.title,wn)}}function Gl(t,l){if(t&1&&(ue(0),m(1,"div",15),fe()),t&2){let e=d(2);c(),p("innerHTML",e.instance.content,wn)}}function ql(t,l){}function Ql(t,l){if(t&1&&(o(0,"span",14),x(1,ql,0,0,"ng-template",1),a()),t&2){let e=d(2);c(),p("ngTemplateOutlet",l)("ngTemplateOutletContext",we(2,Bl,e))}}function Xl(t,l){if(t&1&&(o(0,"div",2)(1,"div",2)(2,"div"),h(3,Vl,1,0,"nz-icon",6)(4,jl,1,0,"nz-icon",7)(5,$l,1,0,"nz-icon",8)(6,Hl,1,0,"nz-icon",9),o(7,"div",10),x(8,Zl,2,1,"ng-container",11),a(),o(9,"div",12),x(10,Gl,2,1,"ng-container",13),a(),h(11,Ql,2,4,"span",14),a()()()),t&2){let e,n,r=d();c(2),V("ant-notification-notice-with-icon",r.instance.type!=="blank"),c(),_((e=r.instance.type)==="success"?3:e==="info"?4:e==="warning"?5:e==="error"?6:-1),c(5),p("nzStringTemplateOutlet",r.instance.title),c(2),p("nzStringTemplateOutlet",r.instance.content)("nzStringTemplateOutletContext",Mn(7,So,r,r.instance.options==null?null:r.instance.options.nzData)),c(),_((n=r.instance.options==null?null:r.instance.options.nzButton)?11:-1,n)}}function Yl(t,l){if(t&1&&(ue(0),m(1,"nz-icon",16),fe()),t&2){let e=l.$implicit;c(),p("nzType",e)}}function Kl(t,l){if(t&1&&x(0,Yl,2,1,"ng-container",11),t&2){let e=d();p("nzStringTemplateOutlet",e.instance.options==null?null:e.instance.options.nzCloseIcon)}}function Jl(t,l){t&1&&m(0,"nz-icon",5)}function es(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","topLeft")}}function ts(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","topRight")}}function ns(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","bottomLeft")}}function is(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","bottomRight")}}function os(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","top")}}function as(t,l){if(t&1){let e=M();o(0,"nz-notification",7),g("destroyed",function(r){v(e);let s=d();return S(s.remove(r.id,r.userAction))}),a()}if(t&2){let e=l.$implicit;p("instance",e)("placement","bottom")}}var rs=(()=>{class t extends Ui{instance;index;placement;destroyed=new Ue;constructor(){super(),this.destroyRef.onDestroy(()=>{this.instance.onClick.complete()})}onClick(e){this.instance.onClick.next(e)}close(){this.destroy(!0)}get state(){if(this.instance.state==="enter")switch(this.placement){case"topLeft":case"bottomLeft":return"enterLeft";case"topRight":case"bottomRight":return"enterRight";case"top":return"enterTop";case"bottom":return"enterBottom";default:return"enterRight"}else return this.instance.state}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-notification"]],inputs:{instance:"instance",index:"index",placement:"placement"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[Nn],decls:7,vars:7,consts:[[1,"ant-notification-notice","ant-notification-notice-closable",3,"click","mouseenter","mouseleave"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-notification-notice-content"],["tabindex","0",1,"ant-notification-notice-close",3,"click"],[1,"ant-notification-notice-close-x"],["nzType","close",1,"ant-notification-close-icon"],["nzType","check-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-success"],["nzType","info-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-info"],["nzType","exclamation-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-warning"],["nzType","close-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-error"],[1,"ant-notification-notice-message"],[4,"nzStringTemplateOutlet"],[1,"ant-notification-notice-description"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-notification-notice-btn"],[3,"innerHTML"],[3,"nzType"]],template:function(n,r){n&1&&(o(0,"div",0),g("@notificationMotion.done",function(u){return r.animationStateChanged.next(u)})("click",function(u){return r.onClick(u)})("mouseenter",function(){return r.onEnter()})("mouseleave",function(){return r.onLeave()}),h(1,Wl,1,5,null,1)(2,Xl,12,10,"div",2),o(3,"a",3),g("click",function(){return r.close()}),o(4,"span",4),h(5,Kl,1,1,"ng-container")(6,Jl,1,0,"nz-icon",5),a()()()),n&2&&(We((r.instance.options==null?null:r.instance.options.nzStyle)||null),N((r.instance.options==null?null:r.instance.options.nzClass)||""),p("@notificationMotion",r.state),c(),_(r.instance.template?1:2),c(4),_(r.instance.options!=null&&r.instance.options.nzCloseIcon?5:6))},dependencies:[G,U,dt,Ie,it],encapsulation:2,data:{animation:[yi]}})}return t})(),xn="notification",ls={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:8,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"},ss=(()=>{class t extends Ri{dir=this.nzConfigService.getConfigForComponent(xn)?.nzDirection||"ltr";bottom;top;topLeftInstances=[];topRightInstances=[];bottomLeftInstances=[];bottomRightInstances=[];topInstances=[];bottomInstances=[];constructor(){super(),this.updateConfig()}create(e){let n=this.onCreate(e),r=n.options.nzKey,s=this.instances.find(u=>u.options.nzKey===e.options.nzKey);return r&&s?this.replaceNotification(s,n):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,n]),this.readyInstances(),n}onCreate(e){return e.options=this.mergeOptions(e.options),e.onClose=new Ge,e.onClick=new Ge,e}subscribeConfigChange(){jt(xn,()=>{this.updateConfig(),this.dir=this.nzConfigService.getConfigForComponent(xn)?.nzDirection||this.dir})}updateConfig(){this.config=j(j(j({},ls),this.config),this.nzConfigService.getConfigForComponent(xn)),this.top=An(this.config.nzTop),this.bottom=An(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(e,n){e.title=n.title,e.content=n.content,e.template=n.template,e.type=n.type,e.options=n.options}readyInstances(){let e={topLeft:[],topRight:[],bottomLeft:[],bottomRight:[],top:[],bottom:[]};this.instances.forEach(n=>{switch(n.options.nzPlacement){case"topLeft":e.topLeft.unshift(n);break;case"topRight":e.topRight.unshift(n);break;case"bottomLeft":e.bottomLeft.unshift(n);break;case"bottomRight":e.bottomRight.unshift(n);break;case"top":e.top.unshift(n);break;case"bottom":e.bottom.unshift(n);break;default:e.topRight.unshift(n)}}),this.topLeftInstances=e.topLeft,this.topRightInstances=e.topRight,this.bottomLeftInstances=e.bottomLeft,this.bottomRightInstances=e.bottomRight,this.topInstances=e.top,this.bottomInstances=e.bottom,this.cdr.detectChanges()}mergeOptions(e){let{nzDuration:n,nzAnimate:r,nzPauseOnHover:s,nzPlacement:u}=this.config;return j({nzDuration:n,nzAnimate:r,nzPauseOnHover:s,nzPlacement:u},e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=y({type:t,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[Nn],decls:18,vars:40,consts:[[1,"ant-notification","ant-notification-topLeft"],[3,"instance","placement"],[1,"ant-notification","ant-notification-topRight"],[1,"ant-notification","ant-notification-bottomLeft"],[1,"ant-notification","ant-notification-bottomRight"],[1,"ant-notification","ant-notification-top"],[1,"ant-notification","ant-notification-bottom"],[3,"destroyed","instance","placement"]],template:function(n,r){n&1&&(o(0,"div",0),H(1,es,1,2,"nz-notification",1,me),a(),o(3,"div",2),H(4,ts,1,2,"nz-notification",1,me),a(),o(6,"div",3),H(7,ns,1,2,"nz-notification",1,me),a(),o(9,"div",4),H(10,is,1,2,"nz-notification",1,me),a(),o(12,"div",5),H(13,os,1,2,"nz-notification",1,me),a(),o(15,"div",6),H(16,as,1,2,"nz-notification",1,me),a()),n&2&&(B("top",r.top)("left","0px"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.topLeftInstances),c(2),B("top",r.top)("right","0px"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.topRightInstances),c(2),B("bottom",r.bottom)("left","0px"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.bottomLeftInstances),c(2),B("bottom",r.bottom)("right","0px"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.bottomRightInstances),c(2),B("top",r.top)("left","50%")("transform","translateX(-50%)"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.topInstances),c(2),B("bottom",r.bottom)("left","50%")("transform","translateX(-50%)"),V("ant-notification-rtl",r.dir==="rtl"),c(),Z(r.bottomInstances))},dependencies:[rs],encapsulation:2,changeDetection:0})}return t})(),cs=0,Eo=(()=>{class t extends Pi{componentPrefix="notification-";success(e,n,r){return this.create("success",e,n,r)}error(e,n,r){return this.create("error",e,n,r)}info(e,n,r){return this.create("info",e,n,r)}warning(e,n,r){return this.create("warning",e,n,r)}blank(e,n,r){return this.create("blank",e,n,r)}create(e,n,r,s){return this.createInstance({type:e,title:n,content:r},s)}template(e,n){return this.createInstance({template:e},n)}generateMessageId(){return`${this.componentPrefix}-${cs++}`}createInstance(e,n){return this.container=this.withContainer(ss),this.container.create(lt(j({},e),{createdAt:new Date,messageId:n?.nzKey||this.generateMessageId(),options:n}))}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Yn(t)))(r||t)}})();static \u0275prov=At({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ds=["sender"];function ps(t,l){if(t&1){let e=M();o(0,"nx-sender-header",7),g("openChange",function(r){v(e);let s=d();return S(s.open.set(r))}),o(1,"nx-attachments",8),g("fileChange",function(r){v(e);let s=d();return S(s.onChange(r))}),a()()}if(t&2){let e=d();p("open",e.open()),c(),p("items",e.items())("beforeUpload",e.beforeUpload)("placeholder",e.placeholder)("getDropContainer",e.getDropContainer)}}var zt=class t{notification=C(Eo);senderElementRef;open=nt(!0);text=J("");items=J([]);placeholder=l=>l==="drop"?{title:"Drop file here"}:{icon:"cloud-upload",title:"Upload files",description:"Click or drag files to this area to upload"};getDropContainer=()=>this.senderElementRef?.nativeElement??null;beforeUpload=()=>!1;onChange(l){this.items.set(l.fileList.map(e=>e.uid===l.file.uid&&l.file.status!=="removed"&&e.originFileObj?(e.url?.startsWith("blob:")&&URL.revokeObjectURL(e.url),lt(j({},e),{url:URL.createObjectURL(e.originFileObj)})):e))}onSubmit(){this.notification.info("Mock Submit",`You said: ${this.text()}<br>Attachments: ${this.items().map(l=>l.name).join(", ")||"none"}`),this.items.set([]),this.text.set("")}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nx-demo-attachments-with-sender"]],viewQuery:function(e,n){if(e&1&&oe(ds,5,pe),e&2){let r;ae(r=re())&&(n.senderElementRef=r.first)}},inputs:{open:[1,"open"]},outputs:{open:"openChange"},decls:8,vars:3,consts:[["sender",""],["header",""],["nz-flex","","nzAlign","flex-end",2,"min-height","250px"],[3,"valueChange","submitSend","header","value"],["nx-sender-prefix","",3,"nzDot"],["nz-button","","nzType","text",3,"click"],["nzType","link"],["title","Attachments",2,"padding","0",3,"openChange","open"],[3,"fileChange","items","beforeUpload","placeholder","getDropContainer"]],template:function(e,n){if(e&1){let r=M();o(0,"div",2)(1,"nx-sender",3,0),g("valueChange",function(u){return v(r),S(n.text.set(u))})("submitSend",function(){return v(r),S(n.onSubmit())}),o(3,"nz-badge",4)(4,"button",5),g("click",function(){return v(r),S(n.open.set(!n.open()))}),m(5,"nz-icon",6),a()()()(),x(6,ps,2,5,"ng-template",null,1,P)}if(e&2){let r=w(7);c(),p("header",r)("value",n.text()),c(2),p("nzDot",n.items().length>0&&!n.open())}},dependencies:[_e,Pe,cn,sn,ln,ji,wi,Fi,ke,Ne,be,Me,De,G,U],encapsulation:2})};function _s(t,l){t&1&&m(0,"nx-demo-attachments-basic",43)}function gs(t,l){t&1&&m(0,"nx-demo-attachments-placeholder",44)}function Cs(t,l){t&1&&m(0,"nx-demo-attachments-overflow",45)}function xs(t,l){t&1&&m(0,"nx-demo-attachments-with-sender",46)}function zs(t,l){t&1&&m(0,"nx-demo-attachments-files",47)}function vs(t,l){t&1&&m(0,"nx-demo-attachments-files-custom",48)}var zn=class t{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nz-demo-attachments"]],viewQuery:function(e,n){if(e&1&&oe(Xt,5),e&2){let r;ae(r=re())&&(n.codeBoxes=r)}},decls:514,vars:2,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#\u4F55\u65F6\u4F7F\u7528","nzTitle","\u4F55\u65F6\u4F7F\u7528",1,"toc-indent-1"],["nzHref","#\u4EE3\u7801\u6F14\u793A","nzTitle","\u4EE3\u7801\u6F14\u793A",1,"toc-indent-1"],["nzHref","#components-attachments-demo-basic","nzTitle","\u57FA\u672C\u4F7F\u7528",1,"toc-indent-2"],["nzHref","#components-attachments-demo-placeholder","nzTitle","\u5360\u4F4D\u4FE1\u606F",1,"toc-indent-2"],["nzHref","#components-attachments-demo-overflow","nzTitle","\u6EA2\u51FA\u6A21\u5F0F",1,"toc-indent-2"],["nzHref","#components-attachments-demo-with-sender","nzTitle","\u914D\u5408\u8F93\u5165\u6846",1,"toc-indent-2"],["nzHref","#components-attachments-demo-files","nzTitle","\u6587\u4EF6\u5361\u7247",1,"toc-indent-2"],["nzHref","#components-attachments-demo-files-custom","nzTitle","\u81EA\u5B9A\u4E49\u5361\u7247\u56FE\u6807",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","attachments","description","\u7528\u4E8E\u5C55\u793A\u4E00\u7EC4\u9644\u4EF6\u4FE1\u606F\u96C6\u5408\u3002","language","zh"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["id","\u4EE3\u7801\u6F14\u793A"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = '\u4EE3\u7801\u6F14\u793A'",1,"anchor"],["cols","1"],["showcase","","component","attachments","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\uFF0C\u53EF\u4EE5\u901A\u8FC7 <code>getDropContainer</code> \u652F\u6301\u62D6\u62FD\u4E0A\u4F20\u3002</p>","title","\u57FA\u672C\u4F7F\u7528",4,"templateRef"],["showcase","","component","attachments","key","placeholder","doc","<p>\u4FEE\u6539\u5360\u4F4D\u4FE1\u606F\u3002</p>","title","\u5360\u4F4D\u4FE1\u606F",4,"templateRef"],["showcase","","component","attachments","key","overflow","doc","<p>\u63A7\u5236\u9644\u4EF6\u8D85\u51FA\u533A\u57DF\u957F\u5EA6\u65F6\u7684\u5C55\u793A\u65B9\u5F0F\u3002</p>","title","\u6EA2\u51FA\u6A21\u5F0F",4,"templateRef"],["showcase","","component","attachments","key","with-sender","doc","<p>\u914D\u5408 <code>nx-sender-header</code> \u4F7F\u7528\uFF0C\u5728\u5BF9\u8BDD\u4E2D\u63D2\u5165\u9644\u4EF6\u3002</p>","title","\u914D\u5408\u8F93\u5165\u6846",4,"templateRef"],["showcase","","component","attachments","key","files","doc","<p>\u5355\u72EC\u7684\u6587\u4EF6\u5361\u7247\uFF0C\u7528\u4E8E\u4E00\u4E9B\u5C55\u793A\u573A\u666F\u3002</p>","title","\u6587\u4EF6\u5361\u7247",4,"templateRef"],["showcase","","component","attachments","key","files-custom","doc","<p>\u81EA\u5B9A\u4E49\u6587\u4EF6\u5361\u7247\u7684\u56FE\u6807\u3002</p>","title","\u81EA\u5B9A\u4E49\u5361\u7247\u56FE\u6807",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-attachments"],["onclick","window.location.hash = 'nx-attachments'",1,"anchor"],["href","https://ng.ant.design/components/upload/zh","target","_blank","rel","noopener"],[1,"language-ts"],[1,"token","keyword"],[1,"token","class-name"],[1,"token","punctuation"],[1,"token","operator"],[1,"token","builtin"],["id","nxattachment"],["onclick","window.location.hash = 'nxattachment'",1,"anchor"],["id","nx-file-list-card"],["onclick","window.location.hash = 'nx-file-list-card'",1,"anchor"],[1,"token","string"],["showcase","","component","attachments","key","basic","doc","<p>\u57FA\u7840\u7528\u6CD5\uFF0C\u53EF\u4EE5\u901A\u8FC7 <code>getDropContainer</code> \u652F\u6301\u62D6\u62FD\u4E0A\u4F20\u3002</p>","title","\u57FA\u672C\u4F7F\u7528"],["showcase","","component","attachments","key","placeholder","doc","<p>\u4FEE\u6539\u5360\u4F4D\u4FE1\u606F\u3002</p>","title","\u5360\u4F4D\u4FE1\u606F"],["showcase","","component","attachments","key","overflow","doc","<p>\u63A7\u5236\u9644\u4EF6\u8D85\u51FA\u533A\u57DF\u957F\u5EA6\u65F6\u7684\u5C55\u793A\u65B9\u5F0F\u3002</p>","title","\u6EA2\u51FA\u6A21\u5F0F"],["showcase","","component","attachments","key","with-sender","doc","<p>\u914D\u5408 <code>nx-sender-header</code> \u4F7F\u7528\uFF0C\u5728\u5BF9\u8BDD\u4E2D\u63D2\u5165\u9644\u4EF6\u3002</p>","title","\u914D\u5408\u8F93\u5165\u6846"],["showcase","","component","attachments","key","files","doc","<p>\u5355\u72EC\u7684\u6587\u4EF6\u5361\u7247\uFF0C\u7528\u4E8E\u4E00\u4E9B\u5C55\u793A\u573A\u666F\u3002</p>","title","\u6587\u4EF6\u5361\u7247"],["showcase","","component","attachments","key","files-custom","doc","<p>\u81EA\u5B9A\u4E49\u6587\u4EF6\u5361\u7247\u7684\u56FE\u6807\u3002</p>","title","\u81EA\u5B9A\u4E49\u5361\u7247\u56FE\u6807"]],template:function(e,n){e&1&&(o(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),g("nzClick",function(s){return n.goLink(s)}),m(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),a()(),o(12,"section",11)(13,"h1"),i(14," Attachments "),o(15,"span",12),i(16,"\u8F93\u5165\u9644\u4EF6"),a()(),m(17,"component-meta",13),o(18,"section",11)(19,"h2",14)(20,"span"),i(21,"\u4F55\u65F6\u4F7F\u7528"),a(),o(22,"a",15),i(23,"#"),a()(),o(24,"p"),i(25,"Attachments \u7EC4\u4EF6\u7528\u4E8E\u9700\u8981\u5C55\u793A\u4E00\u7EC4\u9644\u4EF6\u4FE1\u606F\u96C6\u5408\u7684\u573A\u666F\u3002"),a()(),o(26,"h2",16)(27,"span"),i(28,"\u4EE3\u7801\u6F14\u793A"),a(),o(29,"nz-icon",17),g("click",function(){return n.expandAllCode()}),a(),o(30,"a",18),i(31,"#"),a()()(),o(32,"demo-wrapper",19),x(33,_s,1,0,"nx-demo-attachments-basic",20)(34,gs,1,0,"nx-demo-attachments-placeholder",21)(35,Cs,1,0,"nx-demo-attachments-overflow",22)(36,xs,1,0,"nx-demo-attachments-with-sender",23)(37,zs,1,0,"nx-demo-attachments-files",24)(38,vs,1,0,"nx-demo-attachments-files-custom",25),a(),o(39,"section",26),Pt(),o(40,"h2",27)(41,"span"),i(42,"API"),a(),o(43,"a",28),i(44,"#"),a()(),o(45,"h3",29)(46,"span"),i(47,"nx-attachments"),a(),o(48,"a",30),i(49,"#"),a()(),o(50,"p"),i(51,"\u7EE7\u627F ng-zorro-antd "),o(52,"a",31),i(53,"Upload"),a(),i(54," \u5C5E\u6027\u3002"),a(),o(55,"table")(56,"thead")(57,"tr")(58,"th"),i(59,"\u5C5E\u6027"),a(),o(60,"th"),i(61,"\u8BF4\u660E"),a(),o(62,"th"),i(63,"\u7C7B\u578B"),a(),o(64,"th"),i(65,"\u9ED8\u8BA4\u503C"),a()()(),o(66,"tbody")(67,"tr")(68,"td")(69,"code"),i(70,"[items]"),a()(),o(71,"td"),i(72,"\u9644\u4EF6\u5217\u8868\uFF0C\u540C Upload "),o(73,"code"),i(74,"fileList"),a()(),o(75,"td")(76,"code"),i(77,"NxAttachment[]"),a()(),o(78,"td")(79,"code"),i(80,"[]"),a()()(),o(81,"tr")(82,"td")(83,"code"),i(84,"[overflow]"),a()(),o(85,"td"),i(86,"\u6587\u4EF6\u5217\u8868\u8D85\u51FA\u65F6\u6837\u5F0F"),a(),o(87,"td")(88,"code"),i(89,"'wrap' | 'scrollX' | 'scrollY'"),a()(),o(90,"td")(91,"code"),i(92,"'wrap'"),a()()(),o(93,"tr")(94,"td")(95,"code"),i(96,"[placeholder]"),a()(),o(97,"td"),i(98,"\u6CA1\u6709\u6587\u4EF6\u65F6\u7684\u5360\u4F4D\u4FE1\u606F"),a(),o(99,"td")(100,"code"),i(101,"NxPlaceholder | ((type: 'inline' | 'drop') => NxPlaceholder)"),a()(),o(102,"td"),i(103,"-"),a()(),o(104,"tr")(105,"td")(106,"code"),i(107,"[getDropContainer]"),a()(),o(108,"td"),i(109,"\u8BBE\u7F6E\u62D6\u62FD\u65F6\u53EF\u4EE5\u91CA\u653E\u6587\u4EF6\u7684\u533A\u57DF"),a(),o(110,"td")(111,"code"),i(112,"null | (() => HTMLElement | null | undefined)"),a()(),o(113,"td"),i(114,"-"),a()(),o(115,"tr")(116,"td")(117,"code"),i(118,"[disabled]"),a()(),o(119,"td"),i(120,"\u662F\u5426\u7981\u7528"),a(),o(121,"td")(122,"code"),i(123,"boolean"),a()(),o(124,"td")(125,"code"),i(126,"false"),a()()(),o(127,"tr")(128,"td")(129,"code"),i(130,"[silent]"),a()(),o(131,"td"),i(132,"\u9759\u9ED8\u6A21\u5F0F\uFF0C\u5C06 "),o(133,"code"),i(134,"ng-content"),a(),i(135," \u5305\u88F9\u5728\u9690\u85CF\u7684\u4E0A\u4F20\u4E2D"),a(),o(136,"td")(137,"code"),i(138,"boolean"),a()(),o(139,"td")(140,"code"),i(141,"false"),a()()(),o(142,"tr")(143,"td")(144,"code"),i(145,"[action]"),a()(),o(146,"td"),i(147,"\u4E0A\u4F20\u5730\u5740"),a(),o(148,"td")(149,"code"),i(150,"string | ((file: NzUploadFile) => string)"),a()(),o(151,"td"),i(152,"-"),a()(),o(153,"tr")(154,"td")(155,"code"),i(156,"[beforeUpload]"),a()(),o(157,"td"),i(158,"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u7684\u94A9\u5B50\uFF0C\u8FD4\u56DE "),o(159,"code"),i(160,"false"),a(),i(161," \u505C\u6B62\u4E0A\u4F20"),a(),o(162,"td")(163,"code"),i(164,"(file, fileList) => NzBeforeUploadFileType"),a()(),o(165,"td"),i(166,"-"),a()(),o(167,"tr")(168,"td")(169,"code"),i(170,"[data]"),a()(),o(171,"td"),i(172,"\u4E0A\u4F20\u6240\u9700\u989D\u5916\u53C2\u6570\u6216\u8FD4\u56DE\u4E0A\u4F20\u989D\u5916\u53C2\u6570\u7684\u65B9\u6CD5"),a(),o(173,"td")(174,"code"),i(175,"Record<string, unknown> | ((file) => Record<string, unknown>)"),a()(),o(176,"td"),i(177,"-"),a()(),o(178,"tr")(179,"td")(180,"code"),i(181,"[headers]"),a()(),o(182,"td"),i(183,"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8"),a(),o(184,"td")(185,"code"),i(186,"Record<string, string> | ((file) => Record<string, string>)"),a()(),o(187,"td"),i(188,"-"),a()(),o(189,"tr")(190,"td")(191,"code"),i(192,"[multiple]"),a()(),o(193,"td"),i(194,"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6"),a(),o(195,"td")(196,"code"),i(197,"boolean"),a()(),o(198,"td")(199,"code"),i(200,"false"),a()()(),o(201,"tr")(202,"td")(203,"code"),i(204,"[accept]"),a()(),o(205,"td"),i(206,"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B"),a(),o(207,"td")(208,"code"),i(209,"string"),a()(),o(210,"td"),i(211,"-"),a()(),o(212,"tr")(213,"td")(214,"code"),i(215,"[customRequest]"),a()(),o(216,"td"),i(217,"\u81EA\u5B9A\u4E49\u4E0A\u4F20\u5B9E\u73B0"),a(),o(218,"td")(219,"code"),i(220,"(item: NzUploadXHRArgs) => Subscription"),a()(),o(221,"td"),i(222,"-"),a()(),o(223,"tr")(224,"td")(225,"code"),i(226,"[maxCount]"),a()(),o(227,"td"),i(228,"\u9650\u5236\u4E0A\u4F20\u6570\u91CF"),a(),o(229,"td")(230,"code"),i(231,"number"),a()(),o(232,"td"),i(233,"-"),a()(),o(234,"tr")(235,"td")(236,"code"),i(237,"(fileChange)"),a()(),o(238,"td"),i(239,"\u4E0A\u4F20\u6587\u4EF6\u6539\u53D8\u65F6\u7684\u56DE\u8C03"),a(),o(240,"td")(241,"code"),i(242,"EventEmitter<NzUploadChangeParam>"),a()(),o(243,"td"),i(244,"-"),a()(),o(245,"tr")(246,"td")(247,"code"),i(248,"[removeCallback]"),a()(),o(249,"td"),i(250,"\u70B9\u51FB\u79FB\u9664\u6587\u4EF6\u65F6\u7684\u56DE\u8C03"),a(),o(251,"td")(252,"code"),i(253,"(item: NxAttachment) => void"),a()(),o(254,"td"),i(255,"-"),a()()()(),o(256,"pre")(257,"code",32)(258,"span",33),i(259,"interface"),a(),i(260," "),o(261,"span",34),i(262,"NxPlaceholderConfig"),a(),i(263," "),o(264,"span",35),i(265,"{"),a(),i(266,`
icon`),o(267,"span",36),i(268,"?"),a(),o(269,"span",36),i(270,":"),a(),i(271," TemplateRef"),o(272,"span",36),i(273,"<"),a(),o(274,"span",33),i(275,"void"),a(),o(276,"span",36),i(277,">"),a(),i(278," "),o(279,"span",36),i(280,"|"),a(),i(281," "),o(282,"span",37),i(283,"string"),a(),o(284,"span",35),i(285,";"),a(),i(286,`
title`),o(287,"span",36),i(288,"?"),a(),o(289,"span",36),i(290,":"),a(),i(291," "),o(292,"span",37),i(293,"string"),a(),o(294,"span",35),i(295,";"),a(),i(296,`
description`),o(297,"span",36),i(298,"?"),a(),o(299,"span",36),i(300,":"),a(),i(301," "),o(302,"span",37),i(303,"string"),a(),o(304,"span",35),i(305,";"),a(),i(306,`
`),o(307,"span",35),i(308,"}"),a(),i(309,`
`),o(310,"span",33),i(311,"type"),a(),i(312," "),o(313,"span",34),i(314,"NxPlaceholder"),a(),i(315," "),o(316,"span",36),i(317,"="),a(),i(318," NxPlaceholderConfig "),o(319,"span",36),i(320,"|"),a(),i(321," TemplateRef"),o(322,"span",36),i(323,"<"),a(),o(324,"span",33),i(325,"void"),a(),o(326,"span",36),i(327,">"),a(),o(328,"span",35),i(329,";"),a(),i(330,`
`),a()(),o(331,"h3",38)(332,"span"),i(333,"NxAttachment"),a(),o(334,"a",39),i(335,"#"),a()(),o(336,"pre")(337,"code",32)(338,"span",33),i(339,"interface"),a(),i(340," "),o(341,"span",34),i(342,"NxAttachment"),a(),i(343," "),o(344,"span",33),i(345,"extends"),a(),i(346," "),o(347,"span",34),i(348,"NzUploadFile"),a(),i(349," "),o(350,"span",35),i(351,"{"),a(),i(352,`
description`),o(353,"span",36),i(354,"?"),a(),o(355,"span",36),i(356,":"),a(),i(357," "),o(358,"span",37),i(359,"string"),a(),o(360,"span",35),i(361,";"),a(),i(362,`
`),o(363,"span",35),i(364,"}"),a(),i(365,`
`),a()(),o(366,"h3",40)(367,"span"),i(368,"nx-file-list-card"),a(),o(369,"a",41),i(370,"#"),a()(),o(371,"table")(372,"thead")(373,"tr")(374,"th"),i(375,"\u5C5E\u6027"),a(),o(376,"th"),i(377,"\u8BF4\u660E"),a(),o(378,"th"),i(379,"\u7C7B\u578B"),a(),o(380,"th"),i(381,"\u9ED8\u8BA4\u503C"),a()()(),o(382,"tbody")(383,"tr")(384,"td")(385,"code"),i(386,"[item]"),a()(),o(387,"td"),i(388,"\u9644\u4EF6\uFF0C\u540C Upload "),o(389,"code"),i(390,"NzUploadFile"),a()(),o(391,"td")(392,"code"),i(393,"NxAttachment"),a()(),o(394,"td"),i(395,"-"),a()(),o(396,"tr")(397,"td")(398,"code"),i(399,"[disabled]"),a()(),o(400,"td"),i(401,"\u662F\u5426\u7981\u7528\uFF08\u9690\u85CF\u5220\u9664\u6309\u94AE\uFF09"),a(),o(402,"td")(403,"code"),i(404,"boolean"),a()(),o(405,"td")(406,"code"),i(407,"false"),a()()(),o(408,"tr")(409,"td")(410,"code"),i(411,"[icon]"),a()(),o(412,"td"),i(413,"\u81EA\u5B9A\u4E49\u56FE\u6807\uFF08\u9884\u8BBE key \u6216\u6A21\u677F\u5F15\u7528\uFF09"),a(),o(414,"td")(415,"code"),i(416,"TemplateRef<void> | NxPresetIcons"),a()(),o(417,"td"),i(418,"-"),a()(),o(419,"tr")(420,"td")(421,"code"),i(422,"[type]"),a()(),o(423,"td"),i(424,"\u5F3A\u5236\u6307\u5B9A\u6587\u4EF6\u7C7B\u578B\uFF0C"),o(425,"code"),i(426,"image"),a(),i(427," \u5C55\u793A\u56FE\u7247\u9884\u89C8"),a(),o(428,"td")(429,"code"),i(430,"'file' | 'image'"),a()(),o(431,"td"),i(432,"-"),a()(),o(433,"tr")(434,"td")(435,"code"),i(436,"[removeCallback]"),a()(),o(437,"td"),i(438,"\u70B9\u51FB\u5220\u9664\u6309\u94AE\u65F6\u7684\u56DE\u8C03"),a(),o(439,"td")(440,"code"),i(441,"(item: NxAttachment) => void"),a()(),o(442,"td"),i(443,"-"),a()()()(),o(444,"pre")(445,"code",32)(446,"span",33),i(447,"type"),a(),i(448," "),o(449,"span",34),i(450,"NxPresetIcons"),a(),i(451," "),o(452,"span",36),i(453,"="),a(),i(454," "),o(455,"span",42),i(456,"'default'"),a(),i(457," "),o(458,"span",36),i(459,"|"),a(),i(460," "),o(461,"span",42),i(462,"'excel'"),a(),i(463," "),o(464,"span",36),i(465,"|"),a(),i(466," "),o(467,"span",42),i(468,"'image'"),a(),i(469," "),o(470,"span",36),i(471,"|"),a(),i(472," "),o(473,"span",42),i(474,"'markdown'"),a(),i(475," "),o(476,"span",36),i(477,"|"),a(),i(478," "),o(479,"span",42),i(480,"'pdf'"),a(),i(481," "),o(482,"span",36),i(483,"|"),a(),i(484," "),o(485,"span",42),i(486,"'ppt'"),a(),i(487," "),o(488,"span",36),i(489,"|"),a(),i(490," "),o(491,"span",42),i(492,"'word'"),a(),i(493," "),o(494,"span",36),i(495,"|"),a(),i(496," "),o(497,"span",42),i(498,"'zip'"),a(),i(499," "),o(500,"span",36),i(501,"|"),a(),i(502," "),o(503,"span",42),i(504,"'video'"),a(),i(505," "),o(506,"span",36),i(507,"|"),a(),i(508," "),o(509,"span",42),i(510,"'audio'"),a(),o(511,"span",35),i(512,";"),a(),i(513,`
`),a()(),It(),a()()),e&2&&(c(),p("nzOffsetTop",16),c(),p("nzAffix",!1))},dependencies:[on,nn,Kt,Yt,Jt,en,tn,$t,pt,U,ht,_t,gt,Ct,xt,zt],encapsulation:2})};function Ss(t,l){t&1&&m(0,"nx-demo-attachments-basic",43)}function Es(t,l){t&1&&m(0,"nx-demo-attachments-placeholder",44)}function ys(t,l){t&1&&m(0,"nx-demo-attachments-overflow",45)}function Fs(t,l){t&1&&m(0,"nx-demo-attachments-with-sender",46)}function ws(t,l){t&1&&m(0,"nx-demo-attachments-files",47)}function bs(t,l){t&1&&m(0,"nx-demo-attachments-files-custom",48)}var vn=class t{expanded=!1;codeBoxes;goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=y({type:t,selectors:[["nz-demo-attachments"]],viewQuery:function(e,n){if(e&1&&oe(Xt,5),e&2){let r;ae(r=re())&&(n.codeBoxes=r)}},decls:513,vars:2,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#when_to_use","nzTitle","When To Use",1,"toc-indent-1"],["nzHref","#examples","nzTitle","Examples",1,"toc-indent-1"],["nzHref","#components-attachments-demo-basic","nzTitle","Basic",1,"toc-indent-2"],["nzHref","#components-attachments-demo-placeholder","nzTitle","Placeholder",1,"toc-indent-2"],["nzHref","#components-attachments-demo-overflow","nzTitle","Overflow",1,"toc-indent-2"],["nzHref","#components-attachments-demo-with-sender","nzTitle","Combination",1,"toc-indent-2"],["nzHref","#components-attachments-demo-files","nzTitle","File Card",1,"toc-indent-2"],["nzHref","#components-attachments-demo-files-custom","nzTitle","Custom Card Icon",1,"toc-indent-2"],["nzHref","#api","nzTitle","API",1,"toc-indent-1"],[1,"markdown"],[1,"subtitle"],["name","attachments","description","Display the collection of attachment information.","language","en"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["id","examples"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["onclick","window.location.hash = 'Examples'",1,"anchor"],["cols","1"],["showcase","","component","attachments","key","basic","doc","<p>Basic usage. You can use <code>getDropContainer</code> to support drag and drop upload.</p>","title","Basic",4,"templateRef"],["showcase","","component","attachments","key","placeholder","doc","<p>Modify placeholder information.</p>","title","Placeholder",4,"templateRef"],["showcase","","component","attachments","key","overflow","doc","<p>Controls the layout of attachments when they exceed the area.</p>","title","Overflow",4,"templateRef"],["showcase","","component","attachments","key","with-sender","doc","<p>Work with <code>nx-sender-header</code> to insert file into the conversation.</p>","title","Combination",4,"templateRef"],["showcase","","component","attachments","key","files","doc","<p>A single file card, used in some display scenarios.</p>","title","File Card",4,"templateRef"],["showcase","","component","attachments","key","files-custom","doc","<p>Customize the icon of file cards.</p>","title","Custom Card Icon",4,"templateRef"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nx-attachments"],["onclick","window.location.hash = 'nx-attachments'",1,"anchor"],["href","https://ng.ant.design/components/upload/en","target","_blank","rel","noopener"],[1,"language-ts"],[1,"token","keyword"],[1,"token","class-name"],[1,"token","punctuation"],[1,"token","operator"],[1,"token","builtin"],["id","nxattachment"],["onclick","window.location.hash = 'nxattachment'",1,"anchor"],["id","nx-file-list-card"],["onclick","window.location.hash = 'nx-file-list-card'",1,"anchor"],[1,"token","string"],["showcase","","component","attachments","key","basic","doc","<p>Basic usage. You can use <code>getDropContainer</code> to support drag and drop upload.</p>","title","Basic"],["showcase","","component","attachments","key","placeholder","doc","<p>Modify placeholder information.</p>","title","Placeholder"],["showcase","","component","attachments","key","overflow","doc","<p>Controls the layout of attachments when they exceed the area.</p>","title","Overflow"],["showcase","","component","attachments","key","with-sender","doc","<p>Work with <code>nx-sender-header</code> to insert file into the conversation.</p>","title","Combination"],["showcase","","component","attachments","key","files","doc","<p>A single file card, used in some display scenarios.</p>","title","File Card"],["showcase","","component","attachments","key","files-custom","doc","<p>Customize the icon of file cards.</p>","title","Custom Card Icon"]],template:function(e,n){e&1&&(o(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),g("nzClick",function(s){return n.goLink(s)}),m(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10),a()(),o(12,"section",11)(13,"h1"),i(14," Attachments "),m(15,"span",12),a(),m(16,"component-meta",13),o(17,"section",11)(18,"h2",14)(19,"span"),i(20,"When To Use"),a(),o(21,"a",15),i(22,"#"),a()(),o(23,"p"),i(24,"The Attachments component is used in scenarios where a set of attachment information needs to be displayed."),a()(),o(25,"h2",16)(26,"span"),i(27,"Examples"),a(),o(28,"nz-icon",17),g("click",function(){return n.expandAllCode()}),a(),o(29,"a",18),i(30,"#"),a()()(),o(31,"demo-wrapper",19),x(32,Ss,1,0,"nx-demo-attachments-basic",20)(33,Es,1,0,"nx-demo-attachments-placeholder",21)(34,ys,1,0,"nx-demo-attachments-overflow",22)(35,Fs,1,0,"nx-demo-attachments-with-sender",23)(36,ws,1,0,"nx-demo-attachments-files",24)(37,bs,1,0,"nx-demo-attachments-files-custom",25),a(),o(38,"section",26),Pt(),o(39,"h2",27)(40,"span"),i(41,"API"),a(),o(42,"a",28),i(43,"#"),a()(),o(44,"h3",29)(45,"span"),i(46,"nx-attachments"),a(),o(47,"a",30),i(48,"#"),a()(),o(49,"p"),i(50,"For more properties, see "),o(51,"a",31),i(52,"Upload"),a(),i(53,"."),a(),o(54,"table")(55,"thead")(56,"tr")(57,"th"),i(58,"Property"),a(),o(59,"th"),i(60,"Description"),a(),o(61,"th"),i(62,"Type"),a(),o(63,"th"),i(64,"Default"),a()()(),o(65,"tbody")(66,"tr")(67,"td")(68,"code"),i(69,"[items]"),a()(),o(70,"td"),i(71,"Attachment list, same as Upload "),o(72,"code"),i(73,"fileList"),a()(),o(74,"td")(75,"code"),i(76,"NxAttachment[]"),a()(),o(77,"td")(78,"code"),i(79,"[]"),a()()(),o(80,"tr")(81,"td")(82,"code"),i(83,"[overflow]"),a()(),o(84,"td"),i(85,"Behavior when the file list overflows"),a(),o(86,"td")(87,"code"),i(88,"'wrap' | 'scrollX' | 'scrollY'"),a()(),o(89,"td")(90,"code"),i(91,"'wrap'"),a()()(),o(92,"tr")(93,"td")(94,"code"),i(95,"[placeholder]"),a()(),o(96,"td"),i(97,"Placeholder information when there is no file"),a(),o(98,"td")(99,"code"),i(100,"NxPlaceholder | ((type: 'inline' | 'drop') => NxPlaceholder)"),a()(),o(101,"td"),i(102,"-"),a()(),o(103,"tr")(104,"td")(105,"code"),i(106,"[getDropContainer]"),a()(),o(107,"td"),i(108,"Config the area where files can be dropped"),a(),o(109,"td")(110,"code"),i(111,"null | (() => HTMLElement | null | undefined)"),a()(),o(112,"td"),i(113,"-"),a()(),o(114,"tr")(115,"td")(116,"code"),i(117,"[disabled]"),a()(),o(118,"td"),i(119,"Whether to disable"),a(),o(120,"td")(121,"code"),i(122,"boolean"),a()(),o(123,"td")(124,"code"),i(125,"false"),a()()(),o(126,"tr")(127,"td")(128,"code"),i(129,"[silent]"),a()(),o(130,"td"),i(131,"Silent mode \u2014 wraps "),o(132,"code"),i(133,"ng-content"),a(),i(134," in an invisible upload"),a(),o(135,"td")(136,"code"),i(137,"boolean"),a()(),o(138,"td")(139,"code"),i(140,"false"),a()()(),o(141,"tr")(142,"td")(143,"code"),i(144,"[action]"),a()(),o(145,"td"),i(146,"Upload URL"),a(),o(147,"td")(148,"code"),i(149,"string | ((file: NzUploadFile) => string)"),a()(),o(150,"td"),i(151,"-"),a()(),o(152,"tr")(153,"td")(154,"code"),i(155,"[beforeUpload]"),a()(),o(156,"td"),i(157,"Hook before uploading, return "),o(158,"code"),i(159,"false"),a(),i(160," to stop"),a(),o(161,"td")(162,"code"),i(163,"(file, fileList) => NzBeforeUploadFileType"),a()(),o(164,"td"),i(165,"-"),a()(),o(166,"tr")(167,"td")(168,"code"),i(169,"[data]"),a()(),o(170,"td"),i(171,"Extra params or a function to get them"),a(),o(172,"td")(173,"code"),i(174,"Record<string, unknown> | ((file) => Record<string, unknown>)"),a()(),o(175,"td"),i(176,"-"),a()(),o(177,"tr")(178,"td")(179,"code"),i(180,"[headers]"),a()(),o(181,"td"),i(182,"Headers for the request"),a(),o(183,"td")(184,"code"),i(185,"Record<string, string> | ((file) => Record<string, string>)"),a()(),o(186,"td"),i(187,"-"),a()(),o(188,"tr")(189,"td")(190,"code"),i(191,"[multiple]"),a()(),o(192,"td"),i(193,"Whether to support selecting multiple files"),a(),o(194,"td")(195,"code"),i(196,"boolean"),a()(),o(197,"td")(198,"code"),i(199,"false"),a()()(),o(200,"tr")(201,"td")(202,"code"),i(203,"[accept]"),a()(),o(204,"td"),i(205,"Accepted file types"),a(),o(206,"td")(207,"code"),i(208,"string"),a()(),o(209,"td"),i(210,"-"),a()(),o(211,"tr")(212,"td")(213,"code"),i(214,"[customRequest]"),a()(),o(215,"td"),i(216,"Custom upload implementation"),a(),o(217,"td")(218,"code"),i(219,"(item: NzUploadXHRArgs) => Subscription"),a()(),o(220,"td"),i(221,"-"),a()(),o(222,"tr")(223,"td")(224,"code"),i(225,"[maxCount]"),a()(),o(226,"td"),i(227,"Limit the number of uploaded files"),a(),o(228,"td")(229,"code"),i(230,"number"),a()(),o(231,"td"),i(232,"-"),a()(),o(233,"tr")(234,"td")(235,"code"),i(236,"(fileChange)"),a()(),o(237,"td"),i(238,"Callback when upload status changes"),a(),o(239,"td")(240,"code"),i(241,"EventEmitter<NzUploadChangeParam>"),a()(),o(242,"td"),i(243,"-"),a()(),o(244,"tr")(245,"td")(246,"code"),i(247,"[removeCallback]"),a()(),o(248,"td"),i(249,"Callback when a file is removed"),a(),o(250,"td")(251,"code"),i(252,"(item: NxAttachment) => void"),a()(),o(253,"td"),i(254,"-"),a()()()(),o(255,"pre")(256,"code",32)(257,"span",33),i(258,"interface"),a(),i(259," "),o(260,"span",34),i(261,"NxPlaceholderConfig"),a(),i(262," "),o(263,"span",35),i(264,"{"),a(),i(265,`
icon`),o(266,"span",36),i(267,"?"),a(),o(268,"span",36),i(269,":"),a(),i(270," TemplateRef"),o(271,"span",36),i(272,"<"),a(),o(273,"span",33),i(274,"void"),a(),o(275,"span",36),i(276,">"),a(),i(277," "),o(278,"span",36),i(279,"|"),a(),i(280," "),o(281,"span",37),i(282,"string"),a(),o(283,"span",35),i(284,";"),a(),i(285,`
title`),o(286,"span",36),i(287,"?"),a(),o(288,"span",36),i(289,":"),a(),i(290," "),o(291,"span",37),i(292,"string"),a(),o(293,"span",35),i(294,";"),a(),i(295,`
description`),o(296,"span",36),i(297,"?"),a(),o(298,"span",36),i(299,":"),a(),i(300," "),o(301,"span",37),i(302,"string"),a(),o(303,"span",35),i(304,";"),a(),i(305,`
`),o(306,"span",35),i(307,"}"),a(),i(308,`
`),o(309,"span",33),i(310,"type"),a(),i(311," "),o(312,"span",34),i(313,"NxPlaceholder"),a(),i(314," "),o(315,"span",36),i(316,"="),a(),i(317," NxPlaceholderConfig "),o(318,"span",36),i(319,"|"),a(),i(320," TemplateRef"),o(321,"span",36),i(322,"<"),a(),o(323,"span",33),i(324,"void"),a(),o(325,"span",36),i(326,">"),a(),o(327,"span",35),i(328,";"),a(),i(329,`
`),a()(),o(330,"h3",38)(331,"span"),i(332,"NxAttachment"),a(),o(333,"a",39),i(334,"#"),a()(),o(335,"pre")(336,"code",32)(337,"span",33),i(338,"interface"),a(),i(339," "),o(340,"span",34),i(341,"NxAttachment"),a(),i(342," "),o(343,"span",33),i(344,"extends"),a(),i(345," "),o(346,"span",34),i(347,"NzUploadFile"),a(),i(348," "),o(349,"span",35),i(350,"{"),a(),i(351,`
description`),o(352,"span",36),i(353,"?"),a(),o(354,"span",36),i(355,":"),a(),i(356," "),o(357,"span",37),i(358,"string"),a(),o(359,"span",35),i(360,";"),a(),i(361,`
`),o(362,"span",35),i(363,"}"),a(),i(364,`
`),a()(),o(365,"h3",40)(366,"span"),i(367,"nx-file-list-card"),a(),o(368,"a",41),i(369,"#"),a()(),o(370,"table")(371,"thead")(372,"tr")(373,"th"),i(374,"Property"),a(),o(375,"th"),i(376,"Description"),a(),o(377,"th"),i(378,"Type"),a(),o(379,"th"),i(380,"Default"),a()()(),o(381,"tbody")(382,"tr")(383,"td")(384,"code"),i(385,"[item]"),a()(),o(386,"td"),i(387,"Attachment item, same as Upload "),o(388,"code"),i(389,"NzUploadFile"),a()(),o(390,"td")(391,"code"),i(392,"NxAttachment"),a()(),o(393,"td"),i(394,"-"),a()(),o(395,"tr")(396,"td")(397,"code"),i(398,"[disabled]"),a()(),o(399,"td"),i(400,"Whether to disable (hides the remove button)"),a(),o(401,"td")(402,"code"),i(403,"boolean"),a()(),o(404,"td")(405,"code"),i(406,"false"),a()()(),o(407,"tr")(408,"td")(409,"code"),i(410,"[icon]"),a()(),o(411,"td"),i(412,"Custom icon (preset key or template ref)"),a(),o(413,"td")(414,"code"),i(415,"TemplateRef<void> | NxPresetIcons"),a()(),o(416,"td"),i(417,"-"),a()(),o(418,"tr")(419,"td")(420,"code"),i(421,"[type]"),a()(),o(422,"td"),i(423,"Force file display type \u2014 "),o(424,"code"),i(425,"image"),a(),i(426," shows preview mode"),a(),o(427,"td")(428,"code"),i(429,"'file' | 'image'"),a()(),o(430,"td"),i(431,"-"),a()(),o(432,"tr")(433,"td")(434,"code"),i(435,"[removeCallback]"),a()(),o(436,"td"),i(437,"Callback when remove button is clicked"),a(),o(438,"td")(439,"code"),i(440,"(item: NxAttachment) => void"),a()(),o(441,"td"),i(442,"-"),a()()()(),o(443,"pre")(444,"code",32)(445,"span",33),i(446,"type"),a(),i(447," "),o(448,"span",34),i(449,"NxPresetIcons"),a(),i(450," "),o(451,"span",36),i(452,"="),a(),i(453," "),o(454,"span",42),i(455,"'default'"),a(),i(456," "),o(457,"span",36),i(458,"|"),a(),i(459," "),o(460,"span",42),i(461,"'excel'"),a(),i(462," "),o(463,"span",36),i(464,"|"),a(),i(465," "),o(466,"span",42),i(467,"'image'"),a(),i(468," "),o(469,"span",36),i(470,"|"),a(),i(471," "),o(472,"span",42),i(473,"'markdown'"),a(),i(474," "),o(475,"span",36),i(476,"|"),a(),i(477," "),o(478,"span",42),i(479,"'pdf'"),a(),i(480," "),o(481,"span",36),i(482,"|"),a(),i(483," "),o(484,"span",42),i(485,"'ppt'"),a(),i(486," "),o(487,"span",36),i(488,"|"),a(),i(489," "),o(490,"span",42),i(491,"'word'"),a(),i(492," "),o(493,"span",36),i(494,"|"),a(),i(495," "),o(496,"span",42),i(497,"'zip'"),a(),i(498," "),o(499,"span",36),i(500,"|"),a(),i(501," "),o(502,"span",42),i(503,"'video'"),a(),i(504," "),o(505,"span",36),i(506,"|"),a(),i(507," "),o(508,"span",42),i(509,"'audio'"),a(),o(510,"span",35),i(511,";"),a(),i(512,`
`),a()(),It(),a()()),e&2&&(c(),p("nzOffsetTop",16),c(),p("nzAffix",!1))},dependencies:[on,nn,Kt,Yt,Jt,en,tn,$t,pt,U,ht,_t,gt,Ct,xt,zt],encapsulation:2})};var Ns=[{path:"en",component:vn},{path:"zh",component:zn}],td=Ns;export{td as default};