vendor: 6,385 bytes, lines 1-2
1import{$ as We,$a as s6,$d as gt,Aa as i1,Ac as ct,Ad as E6,Bc as lt,Bd as q1,C as j1,Cd as W1,Da as Ve,Dd as $1,E as ue,Ea as r6,F as yr,Fa as Fe,Fb as b4,Fc as Cr,Fd as G1,Ga as zr,Gb as g6,Gc as xr,H as _1,Hb as _4,Hc as Sr,Hd as V6,Ia as Ri,Ib as ge,J as w1,Ja as te,Jb as Y,Jd as Zi,Ka as W,Kb as S,Kd as Qi,L as Yi,La as g4,Lb as y6,M as m4,Mb as fe,N as ot,Na as br,Nb as zn,O as Us,Oa as R,Ob as Se,P as Et,Pa as y4,Pb as w4,Q as Nt,Qa as Le,Qb as Bi,R as M1,Ra as Ni,Rb as M4,Rc as ne,S as f4,Sa as n6,Sb as bn,Sd as O6,T as qs,Ta as vn,Tb as s1,Tc as w6,Td as Ji,U as Ws,Ua as i6,Ub as Mt,Ud as S4,Va as Kt,Vb as _e,Vd as T4,W as $s,Wa as Xt,Wb as C1,Wd as ea,X as Gs,Xa as a1,Xb as ye,Xd as vt,Y as Ks,Ya as a6,Yb as ji,Yd as se,Z as Fi,Za as o6,Zb as Mr,_ as st,_a as z4,_d as F,a as Je,aa as L,ab as Zt,ad as _n,ae as le,b as Rs,ba as Xs,bb as gn,be as k4,c as qe,ca as ze,cb as _r,cc as $e,cd as C4,ce as D4,d as h4,da as Zs,db as wr,dc as z6,dd as Ki,e as fn,eb as c6,ec as b6,f as C,fa as Q,fb as l6,fc as Ui,g as Ie,ga as Ye,gb as h6,gc as qi,gd as Tr,h as N1,ha as _,hb as d6,hc as et,hd as De,i as Hi,ia as I,ib as u6,ic as tt,id as M6,j as Ns,ja as Qs,jb as m6,jc as Ge,jd as C6,je as H6,k as bt,ka as O,kb as f6,kc as Wi,kd as x6,ke as Mn,l as B1,la as p4,lb as o1,lc as $i,ld as N,le as ta,m as Rt,ma as T,mc as _6,md as c1,n as ke,na as h,nc as Gi,nd as Ot,o as P,oa as Js,od as ht,p as pn,pa as v4,pb as p6,pd as x4,q as Pt,qa as ut,qc as Ct,qe as A6,r as Bs,ra as e6,rb as be,rd as Xi,re as ra,s as A,sa as _t,sb as yn,sc as re,sd as S6,t as gr,ta as Vt,tb as wt,tc as ft,td as U1,te as I6,u as at,ua as Li,uc as pt,ud as T6,v as d4,va as t6,vb as Oe,vd as k6,w as Ai,wa as G,wb as ve,wd as U,x as u4,xb as v,xd as D6,y as js,yb as v6,yc as x1,yd as wn,ye as Y6,z as Ii,za as n1,zb as mt,zc as S1,zd as P6}from"./chunk-NACBYLXS.js";import{a as z,b as X,c as Ls,f as l4}from"./chunk-EQDQRRRY.js";var Sn=class{},h1=class{},Jt=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 2`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),a=e.slice(r+1).trim();this.addHeaderEntry(i,a)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let a=n.value;if(!a)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(s=>a.indexOf(s)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(a=>a.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var V4=class{encodeKey(n){return F6(n)}encodeValue(n){return F6(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function D7(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[o,s]=a==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,a)),n.decodeValue(i.slice(a+1))],c=e.get(o)||[];c.push(s),e.set(o,c)}),e}var P7=/%(\d[a-f0-9])/gi,E7={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function F6(t){return encodeURIComponent(t).replace(P7,(n,e)=>E7[e]??n)}function na(t){return`${t}`}var T1=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new V4,n.fromString){if(n.fromObject)throw new Q(2805,!1);this.map=D7(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(na):[na(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(a=>{e.push({param:r,value:a,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>
2this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(na(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(na(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var O4=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function V7(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function L6(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function R6(t){return typeof Blob<"u"&&t instanceof Blob}function N6(t){return typeof FormData<"u"&&t instanceof FormData}function O7(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Cn="Content-Type",ia="Accept",Y4="X-Request-URL",$6="text/plain",G6="application/json",K6=`${G6}, ${$6}, */*`,xn=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let a;if(V7(this.method)||i?(this.body=r!==void 0?r:null,a=i):a=r,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??=new Jt,this.context??=new O4,!this.params)this.params=new T1,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+c+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||L6(this.body)||R6(this.body)||N6(this.body)||O7(this.body)?this.body:this.body instanceof T1?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||N6(this.body)?null:R6(this.body)?this.body.type||null:L6(this.body)?null:typeof this.body=="string"?$6:this.body instanceof T1?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?G6:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,a=n.transferCache??this.transferCache,o=n.body!==void 0?n.body:this.body,s=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,l=n.headers||this.headers,d=n.params||this.params,u=n.context??this.context;return n.setHeaders!==void 0&&(l=Object.keys(n.setHeaders).reduce((f,p)=>f.set(p,n.setHeaders[p]),l)),n.setParams&&(d=Object.keys(n.setParams).reduce((f,p)=>f.set(p,n.setParams[p]),d)),new t(e,r,o,{params:d,headers:l,context:u,reportProgress:c,responseType:i,withCredentials:s,transferCache:a})}},l1=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(l1||{}),Tn=class{headers;status;statusText;url;ok;type;constructor(n,e=200,r="OK"){this.headers=n.headers||new Jt,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},aa=class t extends Tn{constructor(n={}){super(n)}type=l1.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},k1=class t extends Tn{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=l1.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Qt=class extends Tn{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},F4=200,H7=204;function P4(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var L4=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let a;if(e instanceof xn)a=e;else{let c;i.headers instanceof Jt?c=i.headers:c=new Jt(i.headers);let l;i.params&&(i.params instanceof T1?l=i.params:l=new T1({fromObject:i.params})),a=new xn(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=P(a).pipe(w1(c=>this.handler.handle(c)));if(e instanceof xn||i.observe==="events")return o;let s=o.pipe(ue(c=>c instanceof k1));switch(i.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Q(2806,!1);return c.body}));case"blob":return s.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Q(2807,!1);return c.body}));case"text":return s.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new Q(2808,!1);return c.body}));case"json":default:return s.pipe(A(c=>c.body))}case"response":return s;default:throw new Q(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new T1().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,P4(i,r))}post(e,r,i={}){return this.request("POST",e,P4(i,r))}put(e,r,i={}){return this.request("PUT",e,P4(i,r))}static \u0275fac=function(r){return new(r||t)(T(Sn))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),A7=/^\)\]\}',?\n/;function B6(t){if(t.url)return t.url;let n=Y4.toLocaleLowerCase();return t.headers.get(n)}var X6=new O(""),E4=(()=>{class t{fetchImpl=h(H4,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(W);handle(e){return new qe(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(A4,a=>r.error(new Qt({error:a}))),()=>i.abort()})}doRequest(e,r,i){return l4(this,null,function*(){let a=this.createRequestInit(e),o;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,z({signal:r},a)));I7(p),i.next({type:l1.Sent}),o=yield p}catch(p){i.error(new Qt({error:p,status:p.status??0,statusText:p.statusText,url:e.urlWithParams,headers:p.headers}));return}let s=new Jt(o.headers),c=o.statusText,l=B6(o)??e.urlWithParams,d=o.status,u=null;if(e.reportProgress&&i.next(new aa({headers:s,status:d,statusText:c,url:l})),o.body){let p=o.headers.get("content-length"),w=[],M=o.body.getReader(),x=0,B,Z,q=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>l4(this,null,function*(){for(;;){let{done:je,value:Ce}=yield M.read();if(je)break;if(w.push(Ce),x+=Ce.length,e.reportProgress){Z=e.responseType==="text"?(Z??"")+(B??=new TextDecoder).decode(Ce,{stream:!0}):void 0;let Ze=()=>i.next({type:l1.DownloadProgress,total:p?+p:void 0,loaded:x,partialText:Z});q?q.run(Ze):Ze()}}}));let Be=this.concatChunks(w,x);try{let je=o.headers.get(Cn)??"";u=this.parseBody(e,Be,je)}catch(je){i.error(new Qt({error:je,headers:new Jt(o.headers),status:o.status,statusText:o.statusText,url:B6(o)??e.urlWithParams}));return}}d===0&&(d=u?F4:0),d>=200&&d<300?(i.next(new k1({body:u,headers:s,status:d,statusText:c,url:l})),i.complete()):i.error(new Qt({error:u,headers:s,status:d,statusText:c,url:l}))})}parseBody(e,r,i){switch(e.responseType){case"json":let a=new TextDecoder().decode(r).replace(A7,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;
2if(e.headers.forEach((a,o)=>r[a]=o.join(",")),e.headers.has(ia)||(r[ia]=K6),!e.headers.has(Cn)){let a=e.detectContentTypeHeader();a!==null&&(r[Cn]=a)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),a=0;for(let o of e)i.set(o,a),a+=o.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),H4=class{};function A4(){}function I7(t){t.then(A4,A4)}function Y7(t,n){return n(t)}function F7(t,n,e){return(r,i)=>Vt(e,()=>n(r,a=>t(a,i)))}var R4=new O(""),Z6=new O(""),L7=new O("",{providedIn:"root",factory:()=>!0});var j6=(()=>{class t extends Sn{backend;injector;chain=null;pendingTasks=h(Ri);contributeToStability=h(L7);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(R4),...this.injector.get(Z6,[])]));this.chain=r.reduceRight((i,a)=>F7(i,a,this.injector),Y7)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Nt(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(T(h1),T(_t))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),R7=0,U6,N7="JSONP injected script did not invoke callback.",B7="JSONP requests must use JSONP request method.",j7="JSONP requests must use Json response type.",U7="JSONP requests do not support headers.",oa=class{};function q7(){return typeof window=="object"?window:{}}var Q6=(()=>{class t{callbackMap;document;resolvedPromise=Promise.resolve();constructor(e,r){this.callbackMap=e,this.document=r}nextCallback(){return`ng_jsonp_callback_${R7++}`}handle(e){if(e.method!=="JSONP")throw new Error(B7);if(e.responseType!=="json")throw new Error(j7);if(e.headers.keys().length>0)throw new Error(U7);return new qe(r=>{let i=this.nextCallback(),a=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${i}$1`),o=this.document.createElement("script");o.src=a;let s=null,c=!1;this.callbackMap[i]=f=>{delete this.callbackMap[i],s=f,c=!0};let l=()=>{o.removeEventListener("load",d),o.removeEventListener("error",u),o.remove(),delete this.callbackMap[i]},d=f=>{this.resolvedPromise.then(()=>{if(l(),!c){r.error(new Qt({url:a,status:0,statusText:"JSONP Error",error:new Error(N7)}));return}r.next(new k1({body:s,status:F4,statusText:"OK",url:a})),r.complete()})},u=f=>{l(),r.error(new Qt({error:f,status:0,statusText:"JSONP Error",url:a}))};return o.addEventListener("load",d),o.addEventListener("error",u),this.document.body.appendChild(o),r.next({type:l1.Sent}),()=>{c||this.removeListeners(o),l()}})}removeListeners(e){U6??=this.document.implementation.createHTMLDocument(),U6.adoptNode(e)}static \u0275fac=function(r){return new(r||t)(T(oa),T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function W7(t,n){return t.method==="JSONP"?h(Q6).handle(t):n(t)}var $7=/^\)\]\}',?\n/,G7=RegExp(`^${Y4}:`,"m");function K7(t){return"responseURL"in t&&t.responseURL?t.responseURL:G7.test(t.getAllResponseHeaders())?t.getResponseHeader(Y4):null}var q6=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Q(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ke(r.\u0275loadImpl()):P(null)).pipe(We(()=>new qe(a=>{let o=r.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((M,x)=>o.setRequestHeader(M,x.join(","))),e.headers.has(ia)||o.setRequestHeader(ia,K6),!e.headers.has(Cn)){let M=e.detectContentTypeHeader();M!==null&&o.setRequestHeader(Cn,M)}if(e.responseType){let M=e.responseType.toLowerCase();o.responseType=M!=="json"?M:"text"}let s=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let M=o.statusText||"OK",x=new Jt(o.getAllResponseHeaders()),B=K7(o)||e.url;return c=new aa({headers:x,status:o.status,statusText:M,url:B}),c},d=()=>{let{headers:M,status:x,statusText:B,url:Z}=l(),q=null;x!==H7&&(q=typeof o.response>"u"?o.responseText:o.response),x===0&&(x=q?F4:0);let Be=x>=200&&x<300;if(e.responseType==="json"&&typeof q=="string"){let je=q;q=q.replace($7,"");try{q=q!==""?JSON.parse(q):null}catch(Ce){q=je,Be&&(Be=!1,q={error:Ce,text:q})}}Be?(a.next(new k1({body:q,headers:M,status:x,statusText:B,url:Z||void 0})),a.complete()):a.error(new Qt({error:q,headers:M,status:x,statusText:B,url:Z||void 0}))},u=M=>{let{url:x}=l(),B=new Qt({error:M,status:o.status||0,statusText:o.statusText||"Unknown Error",url:x||void 0});a.error(B)},f=!1,p=M=>{f||(a.next(l()),f=!0);let x={type:l1.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(x.total=M.total),e.responseType==="text"&&o.responseText&&(x.partialText=o.responseText),a.next(x)},w=M=>{let x={type:l1.UploadProgress,loaded:M.loaded};M.lengthComputable&&(x.total=M.total),a.next(x)};return o.addEventListener("load",d),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),e.reportProgress&&(o.addEventListener("progress",p),s!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(s),a.next({type:l1.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",d),o.removeEventListener("timeout",u),e.reportProgress&&(o.removeEventListener("progress",p),s!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(r){return new(r||t)(T(ea))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),J6=new O(""),X7="XSRF-TOKEN",Z7=new O("",{providedIn:"root",factory:()=>X7}),Q7="X-XSRF-TOKEN",J7=new O("",{providedIn:"root",factory:()=>Q7}),sa=class{},eh=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Zi(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(T(U),T(Kt),T(Z7))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function th(t,n){let e=t.url.toLowerCase();if(!h(J6)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=h(sa).getToken(),i=h(J7);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}var N4=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(N4||{});function e8(t,n){return{\u0275kind:t,\u0275providers:n}}function Yg(...t){let n=[L4,q6,j6,{provide:Sn,useExisting:j6},{provide:h1,useFactory:()=>h(X6,{optional:!0})??h(q6)},{provide:R4,useValue:th,multi:!0},{provide:J6,useValue:!0},{provide:sa,useClass:eh}];for(let e of t)n.push(...e.\u0275providers);return ut(n)}function Fg(){return e8(N4.JsonpSupport,[Q6,{provide:oa,useFactory:q7},{provide:R4,useValue:W7,multi:!0}])}function Lg(){return e8(N4.Fetch,[E4,{provide:X6,useExisting:E4},{provide:h1,useExisting:E4}])}var rh=new O(""),nh="b",ih="h",ah="s",oh="st",sh="u",ch="rt",I4=new O(""),lh=["GET","HEAD"];function hh(t,n){let f=h(I4),{isCacheActive:e}=f,r=Ls(f,["isCacheActive"]),{transferCache:i,method:a}=t;if(!e||i===!1||a==="POST"&&!r.includePostRequests&&!i||a!=="POST"&&!lh.includes(a)||!r.includeRequestsWithAuthHeaders&&dh(t)||r.filter?.(t)===!1)return n(t);let o=h(a6);if(h(rh,{optional:!0}))throw new Q(2803,!1);let c=t.url,l=uh(t,c),d=o.get(l,null),u=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(u=i.includeHeaders),d){let{[nh]:p,[ch]:w,[ih]:M,[ah]:x,[oh]:B,[sh]:Z}=d,q=p;switch(w){case"arraybuffer":q=new TextEncoder().encode(p).buffer;break;case"blob":q=new Blob([p]);break}let Be=new Jt(M);return P(new k1({body:q,headers:Be,status:x,statusText:B,url:Z}))}return n(t).pipe(ze(p=>{p instanceof k1}))}function dh(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function W6(t){return[...t.keys()].sort().map(n=>`${n}=${t.getAll(n)}`).join("&")}function uh(t,n){let{params:e,method:r,responseType:i}=t,a=W6(e),o=t.serializeBody();o instanceof URLSearchParams?o=W6(o):typeof o!="string"&&(o="");let s=[r,i,n,o,a].join("|"),c=mh(s);return c}function mh(t){let n=0;for(let e of t)n=Math.imul(31,n)+e.charCodeAt(0)<<0;
2return n+=2147483648,n.toString()}function t8(t){return[{provide:I4,useFactory:()=>(z4("NgHttpTransferCache"),z({isCacheActive:!0},t))},{provide:Z6,useValue:hh,multi:!0},{provide:bn,multi:!0,useFactory:()=>{let n=h(s1),e=h(I4);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var j4=class extends k6{supportsDOMEvents=!0},U4=class t extends j4{static makeCurrent(){T6(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=vh();return e==null?null:gh(e)}resetBaseElement(){kn=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Zi(document.cookie,n)}},kn=null;function vh(){return kn=kn||document.querySelector("base"),kn?kn.getAttribute("href"):null}function gh(t){return new URL(t,document.baseURI).pathname}var yh=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),q4=new O(""),s8=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i,a){return this._findPluginFor(r).addEventListener(e,r,i,a)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(a=>a.supports(e)),!r)throw new Q(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(T(q4),T(W))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),la=class{_doc;constructor(n){this._doc=n}manager},ca="ng-app-id";function r8(t){for(let n of t)n.remove()}function n8(t,n){let e=n.createElement("style");return e.textContent=t,e}function zh(t,n,e,r){let i=t.head?.querySelectorAll(`style[${ca}="${n}"],link[${ca}="${n}"]`);if(i)for(let a of i)a.removeAttribute(ca),a instanceof HTMLLinkElement?r.set(a.href.slice(a.href.lastIndexOf("/")+1),{usage:0,elements:[a]}):a.textContent&&e.set(a.textContent,{usage:0,elements:[a]})}function W4(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var c8=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,r,i,a={}){this.doc=e,this.appId=r,this.nonce=i,this.isServer=S4(a),zh(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,n8);r?.forEach(i=>this.addUsage(i,this.external,W4))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let a=r.get(e);a?a.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(r8(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])r8(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,n8(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,W4(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ca,this.appId),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(T(U),T(vn),T(a1,8),T(Kt))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),B4={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},K4=/%COMP%/g;var l8="%COMP%",bh=`_nghost-${l8}`,_h=`_ngcontent-${l8}`,wh=!0,Mh=new O("",{providedIn:"root",factory:()=>wh});function Ch(t){return _h.replace(K4,t)}function xh(t){return bh.replace(K4,t)}function h8(t,n){return n.map(e=>e.replace(K4,t))}var ha=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,a,o,s,c,l=null,d=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=c,this.nonce=l,this.tracingService=d,this.platformIsServer=S4(s),this.defaultRenderer=new Dn(e,o,c,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===gn.ShadowDom&&(r=X(z({},r),{encapsulation:gn.Emulated}));let i=this.getOrCreateRenderer(e,r);
vendor: 3,831 bytes, line 2
2return i instanceof da?i.applyToHost(e):i instanceof Pn&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,a=i.get(r.id);if(!a){let o=this.doc,s=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer,f=this.tracingService;switch(r.encapsulation){case gn.Emulated:a=new da(c,l,r,this.appId,d,o,s,u,f);break;case gn.ShadowDom:return new $4(c,l,e,r,o,s,this.nonce,u,f);default:a=new Pn(c,l,r,d,o,s,u,f);break}i.set(r.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(T(s8),T(c8),T(vn),T(Mh),T(U),T(Kt),T(W),T(a1),T(o6,8))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Dn=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,a){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=a}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(B4[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(i8(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(i8(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new Q(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let a=B4[i];a?n.setAttributeNS(a,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=B4[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(yn.DashCase|yn.Important)?n.style.setProperty(e,r,i&yn.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&yn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=U1().getGlobalEventTarget(this.doc,n),!n))throw new Q(5102,!1);let a=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(a=this.tracingService.wrapEventListener(n,e,a)),this.eventManager.addEventListener(n,e,a,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function i8(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var $4=class extends Dn{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,a,o,s,c,l){super(n,a,o,c,l),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=h8(i.id,d);for(let f of d){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=f,this.shadowRoot.appendChild(p)}let u=i.getExternalStyles?.();if(u)for(let f of u){let p=W4(f,a);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Pn=class extends Dn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,a,o,s,c,l){super(n,a,o,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=l?h8(l,d):d,this.styleUrls=r.getExternalStyles?.(l)}
2applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},da=class extends Pn{contentAttr;hostAttr;constructor(n,e,r,i,a,o,s,c,l){let d=i+"-"+r.id;super(n,e,r,a,o,s,c,l,d),this.contentAttr=Ch(d),this.hostAttr=xh(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},Sh=(()=>{class t extends la{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,a){return e.addEventListener(r,i,a),()=>this.removeEventListener(e,r,i,a)}removeEventListener(e,r,i,a){return e.removeEventListener(r,i,a)}static \u0275fac=function(r){return new(r||t)(T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),a8=["alt","control","meta","shift"],Th={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},kh={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Dh=(()=>{class t extends la{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,a){let o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>U1().onAndCancel(e,o.domEventName,s,a))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let a=t._normalizeKey(r.pop()),o="",s=r.indexOf("code");if(s>-1&&(r.splice(s,1),o="code."),a8.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),o+=l+".")}),o+=a,r.length!=0||a.length===0)return null;let c={};return c.domEventName=i,c.fullKey=o,c}static matchEventFullKeyCode(e,r){let i=Th[e.key]||e.key,a="";return r.indexOf("code.")>-1&&(i=e.code,a="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),a8.forEach(o=>{if(o!==i){let s=kh[o];s(e)&&(a+=o+".")}}),a+=i,a===r)}static eventCallback(e,r,i){return a=>{t.matchEventFullKeyCode(a,e)&&i.runGuarded(()=>r(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function cy(t,n){return C6(z({rootComponent:t},Ph(n)))}function Ph(t){return{appProviders:[...Ah,...t?.providers??[]],platformProviders:Hh}}function Eh(){U4.makeCurrent()}function Vh(){return new g4}function Oh(){return n6(document),document}var Hh=[{provide:Kt,useValue:O6},{provide:i6,useValue:Eh,multi:!0},{provide:U,useFactory:Oh,deps:[]}];var Ah=[{provide:e6,useValue:"root"},{provide:g4,useFactory:Vh,deps:[]},{provide:q4,useClass:Sh,multi:!0,deps:[U]},{provide:q4,useClass:Dh,multi:!0,deps:[U]},ha,c8,s8,{provide:Oe,useExisting:ha},{provide:ea,useClass:yh,deps:[]},[]];var ly=(()=>{class t{_doc;_dom;constructor(e){this._doc=e,this._dom=U1()}addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e?e.reduce((i,a)=>(a&&i.push(this._getOrCreateElement(a,r)),i),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll(`meta[${e}]`);return r?[].slice.call(r):[]}updateTag(e,r){if(!e)return null;r=r||this._parseSelector(e);let i=this.getTag(r);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(!r){let o=this._parseSelector(e),s=this.getTags(o).filter(c=>this._containsAttributes(e,c))[0];if(s!==void 0)return s}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,r){return Object.keys(e).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),e[i])),r}_parseSelector(e){let r=e.name?"name":"property";return`${r}="${e[r]}"`}_containsAttributes(e,r){return Object.keys(e).every(i=>r.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Ih[e]||e}static \u0275fac=function(r){return new(r||t)(T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ih={httpEquiv:"http-equiv"},d8=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var En=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=T(Yh),i},providedIn:"root"})}return t})(),Yh=(()=>
vendor: 35,647 bytes, line 2
2{class t extends En{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case o1.NONE:return r;case o1.HTML:return wr(r,"HTML")?_r(r):f6(this._doc,String(r)).toString();case o1.STYLE:return wr(r,"Style")?_r(r):r;case o1.SCRIPT:if(wr(r,"Script"))return _r(r);throw new Q(5200,!1);case o1.URL:return wr(r,"URL")?_r(r):m6(String(r));case o1.RESOURCE_URL:if(wr(r,"ResourceURL"))return _r(r);throw new Q(5201,!1);default:throw new Q(5202,!1)}}bypassSecurityTrustHtml(e){return c6(e)}bypassSecurityTrustStyle(e){return l6(e)}bypassSecurityTrustScript(e){return h6(e)}bypassSecurityTrustUrl(e){return d6(e)}bypassSecurityTrustResourceUrl(e){return u6(e)}static \u0275fac=function(r){return new(r||t)(T(U))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G4=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t}(G4||{});function hy(...t){let n=[],e=new Set,r=e.has(G4.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:a}of t)e.add(a),i.length&&n.push(i);return ut([[],x6(),e.has(G4.NoHttpTransferCache)||r?[]:t8({}),n])}var K="primary",qn=Symbol("RouteTitle"),t2=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Or(t){return new t2(t)}function Fh(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let a=0;a<r.length;a++){let o=r[a],s=t[a];if(o[0]===":")i[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function Lh(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!e1(t[e],n[e]))return!1;return!0}function e1(t,n){let e=t?r2(t):void 0,r=n?r2(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let a=0;a<e.length;a++)if(i=e[a],!_8(t[i],n[i]))return!1;return!0}function r2(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function _8(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,a)=>r[a]===i)}else return t===n}function w8(t){return t.length>0?t[t.length-1]:null}function V1(t){return Pt(t)?t:Bi(t)?ke(Promise.resolve(t)):P(t)}var Rh={exact:C8,subset:x8},M8={exact:Nh,subset:Bh,ignored:()=>!0};function u8(t,n,e){return Rh[e.paths](t.root,n.root,e.matrixParams)&&M8[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Nh(t,n){return e1(t,n)}function C8(t,n,e){if(!X1(t.segments,n.segments)||!fa(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!C8(t.children[r],n.children[r],e))return!1;return!0}function Bh(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>_8(t[e],n[e]))}function x8(t,n,e){return S8(t,n,n.segments,e)}function S8(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!X1(i,e)||n.hasChildren()||!fa(i,e,r))}else if(t.segments.length===e.length){if(!X1(t.segments,e)||!fa(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!x8(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!X1(t.segments,i)||!fa(t.segments,i,r)||!t.children[K]?!1:S8(t.children[K],n,a,r)}}function fa(t,n,e){return n.every((r,i)=>M8[e](t[i].parameters,r.parameters))}var u1=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ce([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Or(this.queryParams),this._queryParamMap}toString(){return qh.serialize(this)}},ce=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pa(this)}},K1=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Or(this.parameters),this._parameterMap}toString(){return k8(this)}};function jh(t,n){return X1(t,n)&&t.every((e,r)=>e1(e.parameters,n[r].parameters))}function X1(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Uh(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===K&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==K&&(e=e.concat(n(i,r)))}),e}var Fr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>new Hr,providedIn:"root"})}return t})(),Hr=class{parse(n){let e=new i2(n);return new u1(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Vn(n.root,!0)}`,r=Gh(n.queryParams),i=typeof n.fragment=="string"?`#${Wh(n.fragment)}`:"";return`${e}${r}${i}`}},qh=new Hr;function pa(t){return t.segments.map(n=>k8(n)).join("/")}function Vn(t,n){if(!t.hasChildren())return pa(t);if(n){let e=t.children[K]?Vn(t.children[K],!1):"",r=[];return Object.entries(t.children).forEach(([i,a])=>{i!==K&&r.push(`${i}:${Vn(a,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Uh(t,(r,i)=>i===K?[Vn(t.children[K],!1)]:[`${i}:${Vn(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[K]!=null?`${pa(t)}/${e[0]}`:`${pa(t)}/(${e.join("//")})`}}function T8(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ua(t){return T8(t).replace(/%3B/gi,";")}function Wh(t){return encodeURI(t)}function n2(t){return T8(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function va(t){return decodeURIComponent(t)}function m8(t){return va(t.replace(/\+/g,"%20"))}function k8(t){return`${n2(t.path)}${$h(t.parameters)}`}function $h(t){return Object.entries(t).map(([n,e])=>`;${n2(n)}=${n2(e)}`).join("")}function Gh(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${ua(e)}=${ua(i)}`).join("&"):`${ua(e)}=${ua(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Kh=/^[^\/()?;#]+/;function Z4(t){let n=t.match(Kh);return n?n[0]:""}var Xh=/^[^\/()?;=#]+/;function Zh(t){let n=t.match(Xh);return n?n[0]:""}var Qh=/^[^=?&#]+/;function Jh(t){let n=t.match(Qh);return n?n[0]:""}var ed=/^[^&#]+/;function td(t){let n=t.match(ed);return n?n[0]:""}var i2=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[K]=new ce(n,e)),r}parseSegment(){let n=Z4(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new Q(4009,!1);return this.capture(n),new K1(va(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=Zh(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Z4(this.remaining);i&&(r=i,this.capture(r))}n[va(e)]=va(r)}parseQueryParam(n){let e=Jh(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=td(this.remaining);o&&(r=o,this.capture(r))}let i=m8(e),a=m8(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(a)}else n[i]=a}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Z4(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new Q(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=K);let o=this.parseChildren();e[a]=Object.keys(o).length===1?o[K]:new ce([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new Q(4011,!1)}};function D8(t){return t.segments.length>0?new ce([],{[K]:t}):t}function P8(t){let n={};for(let[r,i]of Object.entries(t.children)){let a=P8(i);if(r===K&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[r]=a)}let e=new ce(t.segments,n);return rd(e)}function rd(t){if(t.numberOfChildren===1&&t.children[K]){let n=t.children[K];return new ce(t.segments.concat(n.segments),n.children)}return t}function Z1(t){return t instanceof u1}function nd(t,n,e=null,r=null){let i=E8(t);return V8(i,n,e,r)}function E8(t){let n;function e(a){let o={};for(let c of a.children){let l=e(c);o[c.outlet]=l}let s=new ce(a.url,o);return a===t&&(n=s),s}let r=e(t.root),i=D8(r);return n??i}function V8(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Q4(i,i,i,e,r);let a=id(n);if(a.toRoot())return Q4(i,i,new ce([],{}),e,r);let o=ad(a,i,t),s=o.processChildren?Hn(o.segmentGroup,o.index,a.commands):H8(o.segmentGroup,o.index,a.commands);return Q4(i,o.segmentGroup,s,e,r)}function ga(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Yn(t){return typeof t=="object"&&t!=null&&t.outlets}function Q4(t,n,e,r,i){let a={};r&&Object.entries(r).forEach(([c,l])=>{a[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let o;t===n?o=e:o=O8(t,n,e);let s=D8(P8(o));return new u1(s,a,i)}function O8(t,n,e){let r={};return Object.entries(t.children).forEach(([i,a])=>{a===n?r[i]=e:r[i]=O8(a,n,e)}),new ce(t.segments,r)}var ya=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ga(r[0]))throw new Q(4003,!1);let i=r.find(Yn);if(i&&i!==w8(r))throw new Q(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function id(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ya(!0,0,t);let n=0,e=!1,r=t.reduce((i,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([c,l])=>{s[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:s}]}if(a.segmentPath)return[...i,a.segmentPath]}return typeof a!="string"?[...i,a]:o===0?(a.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&i.push(s))}),i):[...i,a]},[]);return new ya(e,n,r)}var Pr=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function ad(t,n,e){if(t.isAbsolute)return new Pr(n,!0,0);if(!e)return new Pr(n,!1,NaN);if(e.parent===null)return new Pr(e,!0,0);let r=ga(t.commands[0])?0:1,i=e.segments.length-1+r;return od(e,i,t.numberOfDoubleDots)}function od(t,n,e){let r=t,i=n,a=e;for(;a>i;){if(a-=i,r=r.parent,!r)throw new Q(4005,!1);i=r.segments.length}return new Pr(r,!1,i-a)}function sd(t){return Yn(t[0])?t[0].outlets:{[K]:t}}function H8(t,n,e){if(t??=new ce([],{}),t.segments.length===0&&t.hasChildren())return Hn(t,n,e);let r=cd(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let a=new ce(t.segments.slice(0,r.pathIndex),{});return a.children[K]=new ce(t.segments.slice(r.pathIndex),t.children),Hn(a,0,i)}else return r.match&&i.length===0?new ce(t.segments,{}):r.match&&!t.hasChildren()?a2(t,n,e):r.match?Hn(t,0,i):a2(t,n,e)}function Hn(t,n,e){if(e.length===0)return new ce(t.segments,{});{let r=sd(e),i={};if(Object.keys(r).some(a=>a!==K)&&t.children[K]&&t.numberOfChildren===1&&t.children[K].segments.length===0){let a=Hn(t.children[K],n,e);return new ce(t.segments,a.children)}return Object.entries(r).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[a]=H8(t.children[a],n,o))}),Object.entries(t.children).forEach(([a,o])=>{r[a]===void 0&&(i[a]=o)}),new ce(t.segments,i)}}function cd(t,n,e){let r=0,i=n,a={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return a;let o=t.segments[i],s=e[r];if(Yn(s))break;let c=`${s}`,l=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!p8(c,l,o))return a;r+=2}else{if(!p8(c,{},o))return a;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function a2(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let a=e[i];if(Yn(a)){let c=ld(a.outlets);return new ce(r,c)}if(i===0&&ga(e[0])){let c=t.segments[n];r.push(new K1(c.path,f8(e[0]))),i++;continue}let o=Yn(a)?a.outlets[K]:`${a}`,s=i<e.length-1?e[i+1]:null;o&&s&&ga(s)?(r.push(new K1(o,f8(s))),i+=2):(r.push(new K1(o,{})),i++)}return new ce(r,{})}function ld(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=a2(new ce([],{}),0,r))}),n}function f8(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function p8(t,n,e){return t==e.path&&e1(n,e.parameters)}var An="imperative",Re=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Re||{}),Ht=class{id;url;constructor(n,e){this.id=n,this.url=e}},Ar=class extends Ht{type=Re.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},t1=class extends Ht{urlAfterRedirects;type=Re.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},St=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(St||{}),za=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(za||{}),d1=class extends Ht{reason;code;type=Re.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},D1=class extends Ht{reason;code;type=Re.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},Fn=class extends Ht{error;target;type=Re.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ba=class extends Ht{urlAfterRedirects;state;type=Re.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},o2=class extends Ht{urlAfterRedirects;state;type=Re.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},s2=class extends Ht{urlAfterRedirects;state;shouldActivate;type=Re.GuardsCheckEnd;constructor(n,e,r,i,a){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},c2=class extends Ht{urlAfterRedirects;state;type=Re.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},l2=class extends Ht{urlAfterRedirects;state;type=Re.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},h2=class{route;type=Re.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},d2=class{route;type=Re.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},u2=class{snapshot;type=Re.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},m2=class{snapshot;type=Re.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},f2=class{snapshot;type=Re.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},p2=class{snapshot;type=Re.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_a=class{routerEvent;position;anchor;type=Re.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Ln=class{},Ir=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function hd(t,n){return t.providers&&!t._injector&&(t._injector=_4(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Bt(t){return t.outlet||K}function dd(t,n){let e=t.filter(r=>Bt(r)===n);return e.push(...t.filter(r=>Bt(r)!==n)),e}function Wn(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var v2=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Wn(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new $n(this.rootInjector)}},$n=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new v2(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(T(_t))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wa=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=g2(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=g2(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=y2(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return y2(n,this._root).map(e=>e.value)}};function g2(t,n){if(t===n.value)return n;for(let e of n.children){let r=g2(t,e);if(r)return r}return null}function y2(t,n){if(t===n.value)return[n];for(let e of n.children){let r=y2(t,e);if(r.length)return r.unshift(n),r}return[]}var xt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Dr(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ma=class extends wa{snapshot;constructor(n,e){super(n),this.snapshot=e,T2(this,n)}toString(){return this.snapshot.toString()}};function A8(t){let n=ud(t),e=new Ie([new K1("",{})]),r=new Ie({}),i=new Ie({}),a=new Ie({}),o=new Ie(""),s=new P1(e,r,a,o,i,K,t,n.root);return s.snapshot=n.root,new Ma(new xt(s,[]),n)}function ud(t){let n={},e={},r={},i="",a=new Er([],n,r,i,e,K,t,null,{});return new xa("",new xt(a,[]))}var P1=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,a,o,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(l=>l[qn]))??P(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(n=>Or(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(n=>Or(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ca(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:z(z({},n.params),t.params),data:z(z({},n.data),t.data),resolve:z(z(z(z({},t.data),n.data),i?.data),t._resolvedData)}:r={params:z({},t.params),data:z({},t.data),resolve:z(z({},t.data),t._resolvedData??{})},i&&Y8(i)&&(r.resolve[qn]=i.title),r}var Er=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[qn]}constructor(n,e,r,i,a,o,s,c,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Or(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Or(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},xa=class extends wa{url;constructor(n,e){super(e),this.url=n,T2(this,e)}toString(){return I8(this._root)}};function T2(t,n){n.value._routerState=t,n.children.forEach(e=>T2(t,e))}function I8(t){let n=t.children.length>0?` { ${t.children.map(I8).join(", ")} } `:"";return`${t.value}${n}`}function J4(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,e1(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),e1(n.params,e.params)||t.paramsSubject.next(e.params),Lh(n.url,e.url)||t.urlSubject.next(e.url),e1(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function z2(t,n){let e=e1(t.params,n.params)&&jh(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||z2(t.parent,n.parent))}function Y8(t){return typeof t.title=="string"||t.title===null}var md=new O(""),fd=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=K;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=br(void 0);parentContexts=h($n);location=h(mt);changeDetector=h(De);inputBinder=h(Da,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Q(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Q(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Q(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new Q(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new b2(e,s,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[G]})}return t})(),b2=class t{route;childContexts;parent;outletData;__ngOutletInjector(n){return new t(this.route,this.childContexts,n,this.outletData)}constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===P1?this.route:n===$n?this.childContexts:n===md?this.outletData:this.parent.get(n,e)}},Da=new O(""),v8=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=gr([r.queryParams,r.params,r.data]).pipe(We(([a,o,s],c)=>(s=z(z(z({},a),o),s),c===0?P(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let o=S6(r.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function pd(t,n,e){let r=Rn(t,n._root,e?e._root:void 0);return new Ma(r,n)}function Rn(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=vd(t,n,e);return new xt(r,i)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>Rn(t,s)),o}}let r=gd(n.value),i=n.children.map(a=>Rn(t,a));return new xt(r,i)}}function vd(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Rn(t,r,i);return Rn(t,r)})}function gd(t){return new P1(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Nn=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},F8="ngNavigationCancelingError";function Sa(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Z1(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=L8(!1,St.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function L8(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[F8]=!0,e.cancellationCode=n,e}function yd(t){return R8(t)&&Z1(t.url)}function R8(t){return!!t&&t[F8]}var zd=(t,n,e,r)=>A(i=>(new _2(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),_2=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,a){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=a}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),J4(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Dr(e);n.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,i[o],r),delete i[o]}),Object.values(i).forEach(a=>{this.deactivateRouteAndItsChildren(a,r)})}deactivateRoutes(n,e,r){let i=n.value,a=e?e.value:null;if(i===a)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else a&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,a=Dr(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),s=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,a=Dr(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Dr(e);n.children.forEach(a=>{this.activateRoutes(a,i[a.value.outlet],r),this.forwardEvent(new p2(a.value.snapshot))}),n.children.length&&this.forwardEvent(new m2(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,a=e?e.value:null;if(J4(i),i===a)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),J4(s.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},Ta=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Vr=class{component;route;constructor(n,e){this.component=n,this.route=e}};function bd(t,n,e){let r=t._root,i=n?n._root:null;return On(r,i,e,[r.value])}function _d(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Lr(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Qs(t)?t:n.get(t):r}function On(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let a=Dr(n);return t.children.forEach(o=>{wd(o,a[o.value.outlet],e,r.concat([o.value]),i),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>In(s,e.getContext(o),i)),i}function wd(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let c=Md(o,a,a.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ta(r)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?On(t,n,s?s.children:null,r,i):On(t,n,e,r,i),c&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new Vr(s.outlet.component,o))}else o&&In(n,s,i),i.canActivateChecks.push(new Ta(r)),a.component?On(t,null,s?s.children:null,r,i):On(t,null,e,r,i);return i}function Md(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!X1(t.url,n.url);case"pathParamsOrQueryParamsChange":return!X1(t.url,n.url)||!e1(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!z2(t,n)||!e1(t.queryParams,n.queryParams);case"paramsChange":default:return!z2(t,n)}}function In(t,n,e){let r=Dr(t),i=t.value;Object.entries(r).forEach(([a,o])=>{i.component?n?In(o,n.children.getContext(a),e):In(o,null,e):In(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Vr(n.outlet.component,i)):e.canDeactivateChecks.push(new Vr(null,i)):e.canDeactivateChecks.push(new Vr(null,i))}function Gn(t){return typeof t=="function"}function Cd(t){return typeof t=="boolean"}function xd(t){return t&&Gn(t.canLoad)}function Sd(t){return t&&Gn(t.canActivate)}function Td(t){return t&&Gn(t.canActivateChild)}function kd(t){return t&&Gn(t.canDeactivate)}function Dd(t){return t&&Gn(t.canMatch)}function N8(t){return t instanceof Bs||t?.name==="EmptyError"}var ma=Symbol("INITIAL_VALUE");function Yr(){return We(t=>gr(t.map(n=>n.pipe(ot(1),st(ma)))).pipe(A(n=>{for(let e of n)if(e!==!0){if(e===ma)return ma;if(e===!1||Pd(e))return e}return!0}),ue(n=>n!==ma),ot(1)))}function Pd(t){return Z1(t)||t instanceof Nn}function Ed(t,n){return at(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return o.length===0&&a.length===0?P(X(z({},e),{guardsResult:!0}
2)):Vd(o,r,i,t).pipe(at(s=>s&&Cd(s)?Od(r,a,t,n):P(s)),A(s=>X(z({},e),{guardsResult:s})))})}function Vd(t,n,e,r){return ke(t).pipe(at(i=>Fd(i.component,i.route,e,n,r)),M1(i=>i!==!0,!0))}function Od(t,n,e,r){return ke(n).pipe(w1(i=>Ai(Ad(i.route.parent,r),Hd(i.route,r),Yd(t,i.path,e),Id(t,i.route,e))),M1(i=>i!==!0,!0))}function Hd(t,n){return t!==null&&n&&n(new f2(t)),P(!0)}function Ad(t,n){return t!==null&&n&&n(new u2(t)),P(!0)}function Id(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return P(!0);let i=r.map(a=>u4(()=>{let o=Wn(n)??e,s=Lr(a,o),c=Sd(s)?s.canActivate(n,t):Vt(o,()=>s(n,t));return V1(c).pipe(M1())}));return P(i).pipe(Yr())}function Yd(t,n,e){let r=n[n.length-1],a=n.slice(0,n.length-1).reverse().map(o=>_d(o)).filter(o=>o!==null).map(o=>u4(()=>{let s=o.guards.map(c=>{let l=Wn(o.node)??e,d=Lr(c,l),u=Td(d)?d.canActivateChild(r,t):Vt(l,()=>d(r,t));return V1(u).pipe(M1())});return P(s).pipe(Yr())}));return P(a).pipe(Yr())}function Fd(t,n,e,r,i){let a=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!a||a.length===0)return P(!0);let o=a.map(s=>{let c=Wn(n)??i,l=Lr(s,c),d=kd(l)?l.canDeactivate(t,n,e,r):Vt(c,()=>l(t,n,e,r));return V1(d).pipe(M1())});return P(o).pipe(Yr())}function Ld(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return P(!0);let a=i.map(o=>{let s=Lr(o,t),c=xd(s)?s.canLoad(n,e):Vt(t,()=>s(n,e));return V1(c)});return P(a).pipe(Yr(),B8(r))}function B8(t){return Rs(ze(n=>{if(typeof n!="boolean")throw Sa(t,n)}),A(n=>n===!0))}function Rd(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return P(!0);let a=i.map(o=>{let s=Lr(o,t),c=Dd(s)?s.canMatch(n,e):Vt(t,()=>s(n,e));return V1(c)});return P(a).pipe(Yr(),B8(r))}var Bn=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},jn=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function kr(t){return pn(new Bn(t))}function Nd(t){return pn(new Q(4e3,!1))}function Bd(t){return pn(L8(!1,St.GuardRejected))}var w2=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return P(r);if(i.numberOfChildren>1||!i.children[K])return Nd(`${n.redirectTo}`);i=i.children[K]}}applyRedirectCommands(n,e,r,i,a){if(typeof e!="string"){let s=e,{queryParams:c,fragment:l,routeConfig:d,url:u,outlet:f,params:p,data:w,title:M}=i,x=Vt(a,()=>s({params:p,data:w,queryParams:c,fragment:l,routeConfig:d,url:u,outlet:f,title:M}));if(x instanceof u1)throw new jn(x);e=x}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new jn(o);return o}applyRedirectCreateUrlTree(n,e,r,i){let a=this.createSegmentGroup(n,e.root,r,i);return new u1(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);r[i]=e[s]}else r[i]=a}),r}createSegmentGroup(n,e,r,i){let a=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([s,c])=>{o[s]=this.createSegmentGroup(n,c,r,i)}),new ce(a,o)}createSegments(n,e,r,i){return e.map(a=>a.path[0]===":"?this.findPosParam(n,a,i):this.findOrReturn(a,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new Q(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},M2={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};
2function jd(t,n,e,r,i){let a=j8(t,n,e);return a.matched?(r=hd(n,r),Rd(r,n,e,i).pipe(A(o=>o===!0?a:z({},M2)))):P(a)}function j8(t,n,e){if(n.path==="**")return Ud(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?z({},M2):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Fh)(e,t,n);if(!i)return z({},M2);let a={};Object.entries(i.posParams??{}).forEach(([s,c])=>{a[s]=c.path});let o=i.consumed.length>0?z(z({},a),i.consumed[i.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Ud(t){return{matched:!0,parameters:t.length>0?w8(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function g8(t,n,e,r){return e.length>0&&$d(t,e,r)?{segmentGroup:new ce(n,Wd(r,new ce(e,t.children))),slicedSegments:[]}:e.length===0&&Gd(t,e,r)?{segmentGroup:new ce(t.segments,qd(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new ce(t.segments,t.children),slicedSegments:e}}function qd(t,n,e,r){let i={};for(let a of e)if(Pa(t,n,a)&&!r[Bt(a)]){let o=new ce([],{});i[Bt(a)]=o}return z(z({},r),i)}function Wd(t,n){let e={};e[K]=n;for(let r of t)if(r.path===""&&Bt(r)!==K){let i=new ce([],{});e[Bt(r)]=i}return e}function $d(t,n,e){return e.some(r=>Pa(t,n,r)&&Bt(r)!==K)}function Gd(t,n,e){return e.some(r=>Pa(t,n,r))}function Pa(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Kd(t,n,e){return n.length===0&&!t.children[e]}var C2=class{};function Xd(t,n,e,r,i,a,o="emptyOnly"){return new x2(t,n,e,r,i,o,a).recognize()}var Zd=31,x2=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,a,o,s){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new w2(this.urlSerializer,this.urlTree)}noMatchError(n){return new Q(4002,`'${n.segmentGroup}'`)}recognize(){let n=g8(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(A(({children:e,rootSnapshot:r})=>{let i=new xt(r,e),a=new xa("",i),o=nd(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}}))}match(n){let e=new Er([],Object.freeze({}),Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),K,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,K,e).pipe(A(r=>({children:r,rootSnapshot:e})),_1(r=>{if(r instanceof jn)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Bn?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,a){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,a):this.processSegment(n,e,r,r.segments,i,!0,a).pipe(A(o=>o instanceof xt?[o]:[]))}processChildren(n,e,r,i){let a=[];for(let o of Object.keys(r.children))o==="primary"?a.unshift(o):a.push(o);return ke(a).pipe(w1(o=>{let s=r.children[o],c=dd(e,o);return this.processSegmentGroup(n,c,s,o,i)}),$s((o,s)=>(o.push(...s),o)),m4(null),qs(),at(o=>{if(o===null)return kr(r);let s=U8(o);return Qd(s),P(s)}))}processSegment(n,e,r,i,a,o,s){return ke(e).pipe(w1(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,a,o,s).pipe(_1(l=>{if(l instanceof Bn)return P(null);throw l}))),M1(c=>!!c),_1(c=>{if(N8(c))return Kd(r,i,a)?P(new C2):kr(r);throw c}))}processSegmentAgainstRoute(n,e,r,i,a,o,s,c){return Bt(r)!==o&&(o===K||!Pa(i,a,r))?kr(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,a,o,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,a,o,c):kr(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,a,o,s){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=j8(e,i,a);if(!c)return kr(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Zd&&(this.allowRedirects=!1));
2let p=new Er(a,l,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,y8(i),Bt(i),i.component??i._loadedComponent??null,i,z8(i)),w=Ca(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(w.params),p.data=Object.freeze(w.data);let M=this.applyRedirects.applyRedirectCommands(d,i.redirectTo,u,p,n);return this.applyRedirects.lineralizeSegments(i,M).pipe(at(x=>this.processSegment(n,r,e,x.concat(f),o,!1,s)))}matchSegmentAgainstRoute(n,e,r,i,a,o){let s=jd(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),s.pipe(We(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(We(({routes:l})=>{let d=r._loadedInjector??n,{parameters:u,consumedSegments:f,remainingSegments:p}=c,w=new Er(f,u,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,y8(r),Bt(r),r.component??r._loadedComponent??null,r,z8(r)),M=Ca(w,o,this.paramsInheritanceStrategy);w.params=Object.freeze(M.params),w.data=Object.freeze(M.data);let{segmentGroup:x,slicedSegments:B}=g8(e,f,p,l);if(B.length===0&&x.hasChildren())return this.processChildren(d,l,x,w).pipe(A(q=>new xt(w,q)));if(l.length===0&&B.length===0)return P(new xt(w,[]));let Z=Bt(r)===a;return this.processSegment(d,l,x,B,Z?K:a,!0,w).pipe(A(q=>new xt(w,q instanceof xt?[q]:[])))}))):kr(e)))}getChildConfig(n,e,r){return e.children?P({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?P({routes:e._loadedRoutes,injector:e._loadedInjector}):Ld(n,e,r,this.urlSerializer).pipe(at(i=>i?this.configLoader.loadChildren(n,e).pipe(ze(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):Bd(e))):P({routes:[],injector:n})}};function Qd(t){t.sort((n,e)=>n.value.outlet===K?-1:e.value.outlet===K?1:n.value.outlet.localeCompare(e.value.outlet))}function Jd(t){let n=t.value.routeConfig;return n&&n.path===""}function U8(t){let n=[],e=new Set;for(let r of t){if(!Jd(r)){n.push(r);continue}let i=n.find(a=>r.value.routeConfig===a.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=U8(r.children);n.push(new xt(r.value,i))}return n.filter(r=>!e.has(r))}function y8(t){return t.data||{}}function z8(t){return t.resolve||{}}function eu(t,n,e,r,i,a){return at(o=>Xd(t,n,e,r,o.extractedUrl,i,a).pipe(A(({state:s,tree:c})=>X(z({},o),{targetSnapshot:s,urlAfterRedirects:c}))))}function tu(t,n){return at(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return P(e);let a=new Set(i.map(c=>c.route)),o=new Set;for(let c of a)if(!o.has(c))for(let l of q8(c))o.add(l);let s=0;return ke(o).pipe(w1(c=>a.has(c)?ru(c,r,t,n):(c.data=Ca(c,c.parent,t).resolve,P(void 0))),ze(()=>s++),f4(1),at(c=>s===o.size?P(e):bt))})}function q8(t){let n=t.children.map(e=>q8(e)).flat();return[t,...n]}function ru(t,n,e,r){let i=t.routeConfig,a=t._resolve;return i?.title!==void 0&&!Y8(i)&&(a[qn]=i.title),nu(a,t,n,r).pipe(A(o=>(t._resolvedData=o,t.data=Ca(t,t.parent,e).resolve,null)))}function nu(t,n,e,r){let i=r2(t);if(i.length===0)return P({});let a={};return ke(i).pipe(at(o=>iu(t[o],n,e,r).pipe(M1(),ze(s=>{if(s instanceof Nn)throw Sa(new Hr,s);a[o]=s}))),f4(1),A(()=>a),_1(o=>N8(o)?bt:pn(o)))}function iu(t,n,e,r){let i=Wn(n)??r,a=Lr(t,i),o=a.resolve?a.resolve(n,e):Vt(i,()=>a(n,e));return V1(o)}function e2(t){return We(n=>{let e=t(n);return e?ke(e).pipe(A(()=>n)):P(n)})}var W8=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(a=>a.outlet===K);return r}getResolvedTitleForRoute(e){return e.data[qn]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>h(au),providedIn:"root"})}return t})(),au=(()=>{class t extends W8{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(T(d8))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kn=new O("",{providedIn:"root",factory:()=>({})}),ou=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Ge(0,"router-outlet")},dependencies:[fd],encapsulation:2})}return t})();function k2(t){let n=t.children&&t.children.map(k2),e=n?X(z({},t),{children:n}):z({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==K&&(e.component=ou),e}var Un=new O(""),D2=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Ki);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return P(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=V1(e.loadComponent()).pipe(A($8),ze(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),Nt(()=>{this.componentLoaders.delete(e)})),i=new fn(r,()=>new C).pipe(h4());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return P({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let a=su(r,this.compiler,e,this.onLoadEndListener).pipe(Nt(()=>{this.childrenLoaders.delete(r)})),o=new fn(a,()=>new C).pipe(h4());return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function su(t,n,e,r){return V1(t.loadChildren()).pipe(A($8),at(i=>i instanceof g6||Array.isArray(i)?P(i):ke(n.compileModuleAsync(i))),A(i=>{r&&r(t);let a,o,s=!1;return Array.isArray(i)?(o=i,s=!0):(a=i.create(e).injector,o=a.get(Un,[],{optional:!0,self:!0}).flat()),{routes:o.map(k2),injector:a}}))}function cu(t){return t&&typeof t=="object"&&"default"in t}function $8(t){return cu(t)?t.default:t}var P2=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>h(lu),providedIn:"root"})}return t})(),lu=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G8=new O(""),K8=new O("");function hu(t,n,e){let r=t.get(K8),i=t.get(U);return t.get(W).runOutsideAngular(()=>
2{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let a,o=new Promise(l=>{a=l}),s=i.startViewTransition(()=>(a(),du(t))),{onViewTransitionCreated:c}=r;return c&&Vt(t,()=>c({transition:s,from:n,to:e})),o})}function du(t){return new Promise(n=>{Zt({read:()=>setTimeout(n)},{injector:t})})}var X8=new O(""),Ea=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new C;transitionAbortSubject=new C;configLoader=h(D2);environmentInjector=h(_t);destroyRef=h(zr);urlSerializer=h(Fr);rootContexts=h($n);location=h(q1);inputBindingEnabled=h(Da,{optional:!0})!==null;titleStrategy=h(W8);options=h(Kn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(P2);createViewTransition=h(G8,{optional:!0});navigationErrorHandler=h(X8,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>P(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new h2(i)),r=i=>this.events.next(new d2(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(X(z(z({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new Ie({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:An,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ue(a=>a.id!==0),A(a=>X(z({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),We(a=>{let o=!1,s=!1;return P(a).pipe(We(c=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",St.SupersededByNewNavigation),bt;this.currentTransition=a,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?X(z({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&d!=="reload"){let u="";return this.events.next(new D1(c.id,this.urlSerializer.serialize(c.rawUrl),u,za.IgnoredSameUrlNavigation)),c.resolve(!1),bt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return P(c).pipe(We(u=>{let f=this.transitions?.getValue();return this.events.next(new Ar(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions?.getValue()?bt:Promise.resolve(u)}),eu(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ze(u=>{a.targetSnapshot=u.targetSnapshot,a.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=X(z({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let f=new ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:u,extractedUrl:f,source:p,restoredState:w,extras:M}=c,x=new Ar(u,this.urlSerializer.serialize(f),p,w);this.events.next(x);let B=A8(this.rootComponentType).snapshot;return this.currentTransition=a=X(z({},c),{targetSnapshot:B,urlAfterRedirects:f,extras:X(z({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,P(a)}else{let u="";return this.events.next(new D1(c.id,this.urlSerializer.serialize(c.extractedUrl),u,za.IgnoredByUrlHandlingStrategy)),c.resolve(!1),bt}}),ze(c=>{let l=new o2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}
2),A(c=>(this.currentTransition=a=X(z({},c),{guards:bd(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),Ed(this.environmentInjector,c=>this.events.next(c)),ze(c=>{if(a.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Sa(this.urlSerializer,c.guardsResult);let l=new s2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),ue(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",St.GuardRejected),!1)),e2(c=>{if(c.guards.canActivateChecks.length)return P(c).pipe(ze(l=>{let d=new c2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),We(l=>{let d=!1;return P(l).pipe(tu(this.paramsInheritanceStrategy,this.environmentInjector),ze({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",St.NoDataFromResolver)}}))}),ze(l=>{let d=new l2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),e2(c=>{let l=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(ze(f=>{d.component=f}),A(()=>{})));for(let f of d.children)u.push(...l(f));return u};return gr(l(c.targetSnapshot.root)).pipe(m4(null),ot(1))}),e2(()=>this.afterPreactivation()),We(()=>{let{currentSnapshot:c,targetSnapshot:l}=a,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?ke(d).pipe(A(()=>a)):P(a)}),A(c=>{let l=pd(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=X(z({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,a}),ze(()=>{this.events.next(new Ln)}),zd(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ot(1),ze({next:c=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new t1(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{o=!0}}),L(this.transitionAbortSubject.pipe(ze(c=>{throw c}))),Nt(()=>{!o&&!s&&this.cancelNavigationTransition(a,"",St.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),_1(c=>{if(this.destroyed)return a.resolve(!1),bt;if(s=!0,R8(c))this.events.next(new d1(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),yd(c)?this.events.next(new Ir(c.url,c.navigationBehaviorOptions)):a.resolve(!1);else{let l=new Fn(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0);try{let d=Vt(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Nn){let{message:u,cancellationCode:f}=Sa(this.urlSerializer,d);this.events.next(new d1(a.id,this.urlSerializer.serialize(a.extractedUrl),u,f)),this.events.next(new Ir(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(l),c}catch(d){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(d)}}return bt}))}))}cancelNavigationTransition(e,r,i){let a=new d1(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function uu(t){return t!==An}var mu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>h(fu),providedIn:"root"})}return t})(),S2=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}
2shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},fu=(()=>{class t extends S2{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Z8=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>h(pu),providedIn:"root"})}return t})(),pu=(()=>{class t extends Z8{location=h(q1);urlSerializer=h(Fr);options=h(Kn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=h(P2);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new u1;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=A8(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof Ar)this.stateMemento=this.createStateMemento();else if(e instanceof D1)this.rawUrlTree=r.initialUrl;else if(e instanceof ba){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof Ln?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):e instanceof d1&&(e.code===St.GuardRejected||e.code===St.NoDataFromResolver)?this.restoreHistory(r):e instanceof Fn?this.restoreHistory(r,!0):e instanceof t1&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof u1?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let a=this.browserPageId,o=z(z({},r.extras.state),this.generateNgRouterState(r.id,a));this.location.replaceState(i,"",o)}else{let a=z(z({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,a=this.currentPageId-i;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Q8(t,n){t.events.pipe(ue(e=>e instanceof t1||e instanceof d1||e instanceof Fn||e instanceof D1),A(e=>e instanceof t1||e instanceof D1?0:(e instanceof d1?e.code===St.Redirect||e.code===St.SupersededByNewNavigation:!1)?2:1),ue(e=>e!==2),ot(1)).subscribe(()=>{n()})}var vu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gu={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},E1=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(w4);stateManager=h(Z8);options=h(Kn,{optional:!0})||{};pendingTasks=h(Ri);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Ea);
vendor: 5,069 bytes, line 2
2urlSerializer=h(Fr);location=h(q1);urlHandlingStrategy=h(P2);_events=new C;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(mu);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Un,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Da,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Je;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(i!==null&&a!==null){if(this.stateManager.handleRouterEvent(r,a),r instanceof d1&&r.code!==St.Redirect&&r.code!==St.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof t1)this.navigated=!0;else if(r instanceof Ir){let o=r.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=z({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||uu(i.source)},o);this.scheduleNavigation(s,An,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}zu(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),An,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let a={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let c=z({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,r,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(k2),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:o,d=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":d=z(z({},this.currentUrlTree.queryParams),a);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=a||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let f=i?i.snapshot:this.routerState.snapshot.root;u=E8(f)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return V8(u,e,d,l??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Z1(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(a,An,null,r)}navigate(e,r={skipLocationChange:!1}){return yu(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=z({},vu):r===!1?i=z({},gu):i=r,Z1(e))return u8(this.currentUrlTree,e,i);let a=this.parseUrl(e);return u8(this.currentUrlTree,a,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,a])=>(a!=null&&(r[i]=a),r),{})}scheduleNavigation(e,r,i,a,o){if(this.disposed)return Promise.resolve(!1);let s,c,l;o?(s=o.resolve,c=o.reject,l=o.promise):l=new Promise((u,f)=>{s=u,c=f});let d=this.pendingTasks.add();return Q8(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(u=>Promise.reject(u))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yu(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new Q(4008,!1)}function zu(t){return!(t instanceof Ln)&&!(t instanceof Ir)}var Py=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
2isAnchorElement;subscription;onChanges=new C;constructor(e,r,i,a,o,s){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=a,this.el=o,this.locationStrategy=s;let c=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof t1&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Z1(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,a,o){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||r||i||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:p6(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,a=this.el.nativeElement;r!==null?i.setAttribute(a,e,r):i.removeAttribute(a,e)}get urlTree(){return this.routerLinkInput===null?null:Z1(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(v(E1),v(P1),r6("tabindex"),v(ve),v(R),v(wn))};static \u0275dir=S({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Ct("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Mt("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",N],skipLocationChange:[2,"skipLocationChange","skipLocationChange",N],replaceUrl:[2,"replaceUrl","replaceUrl",N],routerLink:"routerLink"},features:[G]})}return t})();var ka=class{};var bu=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,a,o){this.router=e,this.injector=i,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ue(e=>e instanceof t1),w1(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let a of r){a.providers&&!a._injector&&(a._injector=_4(a.providers,e,`Route: ${a.path}`));let o=a._injector??e,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&i.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&i.push(this.processRoutes(s,a.children??a._loadedRoutes))}return ke(i).pipe(d4())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=P(null);let a=i.pipe(at(o=>o===null?P(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return ke([a,o]).pipe(d4())}else return a})}static \u0275fac=function(r){return new(r||t)(T(E1),T(Ki),T(_t),T(ka),T(D2))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t}
2)(),E2=new O(""),J8=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,r,i,a,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=a,this.options=o,o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ar?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof t1?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof D1&&e.code===za.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _a&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _a(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){v6()};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function Ey(t,...n){return ut([{provide:Un,multi:!0,useValue:t},[],{provide:P1,useFactory:ec,deps:[E1]},{provide:bn,multi:!0,useFactory:tc},n.map(e=>e.\u0275providers)])}function ec(t){return t.routerState.root}function Rr(t,n){return{\u0275kind:t,\u0275providers:n}}function Vy(t={}){return Rr(4,[{provide:E2,useFactory:()=>{let e=h(T4),r=h(W),i=h(Ea),a=h(Fr);return new J8(a,i,e,r,t)}}])}function tc(){let t=h(Fe);return n=>{let e=t.get(s1);if(n!==e.components[0])return;let r=t.get(E1),i=t.get(rc);t.get(V2)===1&&r.initialNavigation(),t.get(nc,null,p4.Optional)?.setUpPreloading(),t.get(E2,null,p4.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var rc=new O("",{factory:()=>new C}),V2=new O("",{providedIn:"root",factory:()=>1});function _u(){return Rr(2,[{provide:V2,useValue:0},{provide:M4,multi:!0,deps:[Fe],useFactory:n=>{let e=n.get(D6,Promise.resolve());return()=>e.then(()=>new Promise(r=>{let i=n.get(E1),a=n.get(rc);Q8(i,()=>{r(!0)}),n.get(Ea).afterPreactivation=()=>(r(!0),a.closed?P(void 0):a),i.initialNavigation()}))}}])}function wu(){return Rr(3,[{provide:M4,multi:!0,useFactory:()=>{let n=h(E1);return()=>{n.setUpLocationChangeListener()}}},{provide:V2,useValue:2}])}var nc=new O("");function Mu(t){return Rr(0,[{provide:nc,useExisting:bu},{provide:ka,useExisting:t}])}function Cu(){return Rr(8,[v8,{provide:Da,useExisting:v8}])}function xu(t){let n=[{provide:G8,useValue:hu},{provide:K8,useValue:z({skipNextTransition:!!t?.skipInitialTransition},t)}];return Rr(9,n)}var Su=[q1,{provide:Fr,useClass:Hr},E1,$n,{provide:P1,useFactory:ec,deps:[E1]},D2,[]],Oy=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Su,[],{provide:Un,multi:!0,useValue:e},[],r?.errorHandler?{provide:X8,useValue:r.errorHandler}:[],{provide:Kn,useValue:r||{}},r?.useHash?ku():Du(),Tu(),r?.preloadingStrategy?Mu(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Pu(r):[],r?.bindToComponentInputs?Cu().\u0275providers:[],r?.enableViewTransitions?xu().\u0275providers:[],Eu()]}}static forChild(e){return{ngModule:t,providers:[{provide:Un,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();function Tu(){return{provide:E2,useFactory:()=>{let t=h(T4),n=h(W),e=h(Kn),r=h(Ea),i=h(Fr);return e.scrollOffset&&t.setOffset(e.scrollOffset),new J8(i,r,t,n,e)}}}function ku(){return{provide:wn,useClass:E6}}function Du(){return{provide:wn,useClass:P6}}function Pu(t){return[t.initialNavigation==="disabled"?wu().\u0275providers:[],t.initialNavigation==="enabledBlocking"?_u().\u0275providers:[]]}var b8=new O("");function Eu(){return[{provide:b8,useFactory:tc},{provide:bn,multi:!0,useExisting:b8}]}function He(t,n){Vu(t)&&(t="100%");var e=Ou(t);return t=n===360?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:(n===360?t=(t<0?t%n+n:t%n)/parseFloat(String(n)):t=t%n/parseFloat(String(n)),t)}function Xn(t){return Math.min(1,Math.max(0,t))}function Vu(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function Ou(t){return typeof t=="string"&&t.indexOf("%")!==-1}function Va(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Zn(t){return t<=1?"".concat(Number(t)*100,"%"):t}function O1(t){return t.length===1?"0"+t:String(t)}function ic(t,n,e){return{r:He(t,255)*255,g:He(n,255)*255,b:He(e,255)*255}}function H2(t,n,e){t=He(t,255),n=He(n,255),e=He(e,255);var r=Math.max(t,n,e),i=Math.min(t,n,e),a=0,o=0,s=(r+i)/2;if(r===i)o=0,a=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case t:a=(n-e)/c+(n<e?6:0);break;case n:a=(e-t)/c+2;break;case e:a=(t-n)/c+4;break;default:break}a/=6}return{h:a,s:o,l:s}}function O2(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(n-t)*(6*e):e<1/2?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function ac(t,n,e){var r,i,a;if(t=He(t,360),n=He(n,100),e=He(e,100),n===0)i=e,a=e,r=e;else{var o=e<.5?e*(1+n):e+n-e*n,s=2*e-o;r=O2(s,o,t+1/3),i=O2(s,o,t),a=O2(s,o,t-1/3)}return{r:r*255,g:i*255,b:a*255}}function Q1(t,n,e){t=He(t,255),n=He(n,255),e=He(e,255);var r=Math.max(t,n,e),i=Math.min(t,n,e),a=0,o=r,s=r-i,c=r===0?0:s/r;if(r===i)a=0;else{switch(r){case t:a=(n-e)/s+(n<e?6:0);break;case n:a=(e-t)/s+2;break;case e:a=(t-n)/s+4;break;default:break}a/=6}return{h:a,s:c,v:o}}function oc(t,n,e){t=He(t,360)*6,n=He(n,100),e=He(e,100);var r=Math.floor(t),i=t-r,a=e*(1-n),o=e*(1-i*n),s=e*(1-(1-i)*n),c=r%6,l=[e,o,a,a,s,e][c],d=[s,e,e,o,a,a][c],u=[a,a,s,e,e,o][c];return{r:l*255,g:d*255,b:u*255}}function J1(t,n,e,r){var i=[O1(Math.round(t).toString(16)),O1(Math.round(n).toString(16)),O1(Math.round(e).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function sc(t,n,e,r,i){var a=[O1(Math.round(t).toString(16)),O1(Math.round(n).toString(16)),O1(Math.round(e).toString(16)),O1(Hu(r))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Hu(t){return Math.round(parseFloat(t)*255).toString(16)}function A2(t){return yt(t)/255}function yt(t){return parseInt(t,16)}function cc(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Qn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
2almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function zt(t){var n={r:0,g:0,b:0},e=1,r=null,i=null,a=null,o=!1,s=!1;return typeof t=="string"&&(t=Yu(t)),typeof t=="object"&&(m1(t.r)&&m1(t.g)&&m1(t.b)?(n=ic(t.r,t.g,t.b),o=!0,s=String(t.r).substr(-1)==="%"?"prgb":"rgb"):m1(t.h)&&m1(t.s)&&m1(t.v)?(r=Zn(t.s),i=Zn(t.v),n=oc(t.h,r,i),o=!0,s="hsv"):m1(t.h)&&m1(t.s)&&m1(t.l)&&(r=Zn(t.s),a=Zn(t.l),n=ac(t.h,r,a),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=Va(e),{ok:o,format:t.format||s,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var Au="[-\\+]?\\d+%?",Iu="[-\\+]?\\d*\\.\\d+%?",H1="(?:".concat(Iu,")|(?:").concat(Au,")"),I2="[\\s|\\(]+(".concat(H1,")[,|\\s]+(").concat(H1,")[,|\\s]+(").concat(H1,")\\s*\\)?"),Y2="[\\s|\\(]+(".concat(H1,")[,|\\s]+(").concat(H1,")[,|\\s]+(").concat(H1,")[,|\\s]+(").concat(H1,")\\s*\\)?"),jt={CSS_UNIT:new RegExp(H1),rgb:new RegExp("rgb"+I2),rgba:new RegExp("rgba"+Y2),hsl:new RegExp("hsl"+I2),hsla:new RegExp("hsla"+Y2),hsv:new RegExp("hsv"+I2),hsva:new RegExp("hsva"
2+Y2),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Yu(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var n=!1;if(Qn[t])t=Qn[t],n=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=jt.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=jt.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=jt.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=jt.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=jt.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=jt.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=jt.hex8.exec(t),e?{r:yt(e[1]),g:yt(e[2]),b:yt(e[3]),a:A2(e[4]),format:n?"name":"hex8"}:(e=jt.hex6.exec(t),e?{r:yt(e[1]),g:yt(e[2]),b:yt(e[3]),format:n?"name":"hex"}:(e=jt.hex4.exec(t),e?{r:yt(e[1]+e[1]),g:yt(e[2]+e[2]),b:yt(e[3]+e[3]),a:A2(e[4]+e[4]),format:n?"name":"hex8"}:(e=jt.hex3.exec(t),e?{r:yt(e[1]+e[1]),g:yt(e[2]+e[2]),b:yt(e[3]+e[3]),format:n?"name":"hex"}:!1)))))))))}function m1(t){return!!jt.CSS_UNIT.exec(String(t))}var Oa=function(){function t(n,e){n===void 0&&(n=""),e===void 0&&(e={});var r;if(n instanceof t)return n;typeof n=="number"&&(n=cc(n)),this.originalInput=n;var i=zt(n);this.originalInput=n,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=e.format)!==null&&r!==void 0?r:i.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(n.r*299+n.g*587+n.b*114)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),e,r,i,a=n.r/255,o=n.g/255,s=n.b/255;return a<=.03928?e=a/12.92:e=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*e+.7152*r+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=Va(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var n=this.toHsl().s;return n===0},t.prototype.toHsv=function(){var n=Q1(this.r,this.g,this.b);return{h:n.h*360,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=Q1(this.r,this.g,this.b),e=Math.round(n.h*360),r=Math.round(n.s*100),i=Math.round(n.v*100);return this.a===1?"hsv(".concat(e,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=H2(this.r,this.g,this.b);return{h:n.h*360,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=H2(this.r,this.g,this.b),e=Math.round(n.h*360),r=Math.round(n.s*100),i=Math.round(n.l*100);return this.a===1?"hsl(".concat(e,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return n===void 0&&(n=!1),J1(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return n===void 0&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return n===void 0&&(n=!1),sc(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return n===void 0&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return n===void 0&&(n=!1),this.a===1?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),e=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(n,", ").concat(e,", ").concat(r,")"):"rgba(".concat(n,", ").concat(e,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(He(e,255)*100),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(He(e,255)*100)};return this.a===1?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var n="#"+J1(this.r,this.g,this.b,!1),e=0,r=Object.entries(Qn);e<r.length;e++){var i=r[e],a=i[0],o=i[1];if(n===o)return a}return!1},t.prototype.toString=function(n){var e=!!n;n=n??this.format;var r=!1,i=this.a<1&&this.a>=0,a=!e&&i&&(n.startsWith("hex")||n==="name");return a?n==="name"&&this.a===0?this.toName():this.toRgbString():(n==="rgb"&&(r=this.toRgbString()),n==="prgb"&&(r=this.toPercentageRgbString()),(n==="hex"||n==="hex6")&&(r=this.toHexString()),n==="hex3"&&(r=this.toHexString(!0)),n==="hex4"&&(r=this.toHex8String(!0)),n==="hex8"&&(r=this.toHex8String()),n==="name"&&(r=this.toName()),n==="hsl"&&(r=this.toHslString()),n==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=Xn(e.l),new t(e)},t.prototype.brighten=function(n){n===void 0&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(n/100)))),e.g=M
2ath.max(0,Math.min(255,e.g-Math.round(255*-(n/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(n/100)))),new t(e)},t.prototype.darken=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=Xn(e.l),new t(e)},t.prototype.tint=function(n){return n===void 0&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return n===void 0&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=Xn(e.s),new t(e)},t.prototype.saturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=Xn(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),r=(e.h+n)%360;return e.h=r<0?360+r:r,new t(e)},t.prototype.mix=function(n,e){e===void 0&&(e=50);var r=this.toRgb(),i=new t(n).toRgb(),a=e/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new t(o)},t.prototype.analogous=function(n,e){n===void 0&&(n=6),e===void 0&&(e=30);var r=this.toHsl(),i=360/e,a=[this];for(r.h=(r.h-(i*n>>1)+720)%360;--n;)r.h=(r.h+i)%360,a.push(new t(r));return a},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){n===void 0&&(n=6);for(var e=this.toHsv(),r=e.h,i=e.s,a=e.v,o=[],s=1/n;n--;)o.push(new t({h:r,s:i,v:a})),a=(a+s)%1;return o},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),r=new t(n).toRgb(),i=e.a+r.a*(1-e.a);return new t({r:(e.r*e.a+r.r*r.a*(1-e.a))/i,g:(e.g*e.a+r.g*r.a*(1-e.a))/i,b:(e.b*e.a+r.b*r.a*(1-e.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var e=this.toHsl(),r=e.h,i=[this],a=360/n,o=1;o<n;o++)i.push(new t({h:(r+o*a)%360,s:e.s,l:e.l}));return i},t.prototype.equals=function(n){return this.toRgbString()===new t(n).toRgbString()},t}();var Ha=2,lc=.16,Fu=.05,Lu=.05,Ru=.15,fc=5,pc=4,Nu=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function hc(t){var n=t.r,e=t.g,r=t.b,i=Q1(n,e,r);return{h:i.h*360,s:i.s,v:i.v}}function Aa(t){var n=t.r,e=t.g,r=t.b;return"#".concat(J1(n,e,r,!1))}function Bu(t,n,e){var r=e/100,i={r:(n.r-t.r)*r+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b};return i}function dc(t,n,e){var r;return Math.round(t.h)>=60&&Math.round(t.h)<=240?r=e?Math.round(t.h)-Ha*n:Math.round(t.h)+Ha*n:r=e?Math.round(t.h)+Ha*n:Math.round(t.h)-Ha*n,r<0?r+=360:r>=360&&(r-=360),r}function uc(t,n,e){if(t.h===0&&t.s===0)return t.s;var r;return e?r=t.s-lc*n:n===pc?r=t.s+lc:r=t.s+Fu*n,r>1&&(r=1),e&&n===fc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function mc(t,n,e){var r;return e?r=t.v+Lu*n:r=t.v-Ru*n,r>1&&(r=1),Number(r.toFixed(2))}function Nr(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],r=zt(t),i=fc;i>0;i-=1){var a=hc(r),o=Aa(zt({h:dc(a,i,!0),s:uc(a,i,!0),v:mc(a,i,!0)}));e.push(o)}e.push(Aa(r));for(var s=1;s<=pc;s+=1){var c=hc(r),l=Aa(zt({h:dc(c,s),s:uc(c,s),v:mc(c,s)}));e.push(l)}return n.theme==="dark"?Nu.map(function(d){var u=d.index,f=d.opacity,p=Aa(Bu(zt(n.backgroundColor||"#141414"),zt(e[u]),f*100));return p}):e}var F2={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Ke={},L2={};Object.keys(F2).forEach(function(t){Ke[t]=Nr(F2[t]),Ke[t].primary=Ke[t][5],L2[t]=Nr(F2[t],{theme:"dark",backgroundColor:"#141414"}),L2[t].primary=L2[t][5]});var Qy=Ke.red,Jy=Ke.volcano,ez=Ke.gold,tz=Ke.orange,rz=Ke.yellow,nz=Ke.lime,iz=Ke.green,az=Ke.cyan,oz=Ke.blue,sz=Ke.geekblue,cz=Ke.purple,lz=Ke.magenta,hz=Ke.grey,dz=Ke.grey;var f1="[@ant-design/icons-angular]:";function ju(t){console.error(`${f1} ${t}.`)}function yc(t){Tr()&&console.warn(`${f1} ${t}.`)}function vc(t){return Nr(t)[0]}function Ia(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${f1}Theme "${n}" is not a recognized theme!`)}}function Uu(t,n,e,r){return`${Ia(t,n)}-${e}-${r}`}function qu(t){return t==="o"?"outline":t}function Wu(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function zc(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="str
2ing"}function $u(t){let n=t.split("-"),e=qu(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}function Gu(t){return t.cloneNode(!0)}function Ku(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function Ya(t){let n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${f1}The icon type ${t} is not valid!`)}}function Xu(t){return Ya(t)[1]!==""}function Zu(){return new Error(`${f1}Type should have a namespace. Try "namespace:${name}".`)}function gc(t){return new Error(`${f1}the icon ${t} does not exist or is not registered.`)}function Qu(){return ju('you need to import "HttpClientModule" to use dynamic importing.'),null}function Ju(t){return new Error(`${f1}The url "${t}" is unsafe.`)}function e9(){return new Error(`${f1}<svg> tag not found.`)}function t9(){return new Error(`${f1}Importing timeout error.`)}var r9="__ant_icon_load",n9=new O("ant_icons"),R2=(()=>{class t{set twoToneColor({primaryColor:e,secondaryColor:r}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=r||vc(e)}get twoToneColor(){return z({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(e,r,i,a,o){this._rendererFactory=e,this._handler=r,this._document=i,this.sanitizer=a,this._antIcons=o,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new C,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new L4(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?yc("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[r9]=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(r=>{this._svgDefinitions.set(Ia(r.name,r.theme),r)})}addIconLiteral(e,r){let[i,a]=Ya(e);if(!a)throw Zu();this.addIcon({name:e,icon:r})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,r){let i=zc(e)?e:this._svgDefinitions.get(e)||null;if(!i&&this._disableDynamicLoading)throw gc(e);return(i?P(i):this._loadIconDynamically(e)).pipe(A(o=>{if(!o)throw gc(e);return this._loadSVGFromCacheOrCreateNew(o,r)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return P(Qu());let r=this._inProgressFetches.get(e);if(!r){let[i,a]=Ya(e),o=a?{name:e,icon:""}:$u(i),s=this._enableJsonpLoading?".js":".svg",c=(a?`${this._assetsUrlRoot}assets/${a}/${i}`:`${this._assetsUrlRoot}assets/${o.theme}/${o.name}`)+s,l=this.sanitizer.sanitize(o1.URL,c);if(!l)throw Ju(c);r=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(o,l):this._http.get(l,{responseType:"text"}).pipe(A(u=>X(z({},o),{icon:u})))).pipe(ze(u=>this.addIcon(u)),Nt(()=>this._inProgressFetches.delete(e)),_1(()=>P(null)),Gs()),this._inProgressFetches.set(e,r)}return r}_loadIconDynamicallyWithJsonp(e,r){return new qe(i=>{let a=this._document.createElement("script"),o=setTimeout(()=>{s(),i.error(t9())},6e3);a.src=r;function s(){a.parentNode.removeChild(a),clearTimeout(o)}this._document.body.appendChild(a),this._jsonpIconLoad$.pipe(ue(c=>c.name===e.name&&c.theme===e.theme),ot(1)).subscribe(c=>{i.next(c),s()})})}_loadSVGFromCacheOrCreateNew(e,r){let i,a=r||this._twoToneColorPalette.primaryColor,o=vc(a)||this._twoToneColorPalette.secondaryColor,s=e.theme==="twotone"?Uu(e.name,e.theme,a,o):e.theme===void 0?e.name:Ia(e.name,e.theme),c=this._svgRenderedDefinitions.get(s);return c?i=c.icon:(i=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(Xu(e.name)?e.icon:Ku(e.icon)),e.theme==="twotone",a,o)),this._svgRenderedDefinitions.set(s,X(z({},e),{icon:i}))),Gu(i)}_createSVGElementFromString(e){let r=this._document.createElement("div");r.innerHTML=e;let i=r.querySelector("svg");if(!i)throw e9;return i}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,r,i,a){if(r){let o=e.childNodes,s=o.length;for(let c=0;c<s;c++){let l=o[c];l.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(l,"fill",a):this._renderer.setAttribute(l,"fill",i)}}return this._renderer.setAttribute(e,"fill","currentColor"),e}static{this.\u0275fac=function(r){return new(r||t)(T(Oe),T(h1,8),T(U,8),T(En),T(n9,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function i9(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}var bc=(()=>{class t{constructor(e){this._iconService=e,this._elementRef=h(R),this._renderer=h(ve)}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(!this.type){this._clearSVGElement(),e(null);return}let r=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(i=>{let a=this._getSelfRenderMeta();i9(r,a)?(this._setSVGElement(i),e(i)):e(null)})})}
2_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,r){if(zc(e))return e;{let[i,a]=Ya(e);return a?e:Wu(i)?(r&&yc(`'type' ${i} already gets a theme inside so 'theme' ${r} would be ignored`),i):Ia(i,r||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){let e=this._elementRef.nativeElement,r=e.childNodes,i=r.length;for(let a=i-1;a>=0;a--){let o=r[a];o.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(e,o)}}static{this.\u0275fac=function(r){return new(r||t)(v(R2))}}static{this.\u0275dir=S({type:t,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[G]})}}return t})();var xz={fill:["alipay-square","aliwangwang","alipay-circle","alert","amazon-circle","android","apple","amazon-square","appstore","api","bank","behance-circle","behance-square","bell","bilibili","audio","book","account-book","box-plot","bug","backward","build","calculator","calendar","bulb","camera","caret-down","caret-right","caret-left","carry-out","car","caret-up","chrome","ci-circle","check-square","clock-circle","close-circle","close-square","cloud","code-sandbox-circle","code","codepen-square","code-sandbox-square","codepen-circle","compass","check-circle","contacts","container","credit-card","control","crown","copy","copyright-circle","customer-service","dashboard","database","delete","diff","dingtalk-circle","dingtalk-square","discord","dislike","dollar-circle","down-circle","down-square","dribbble-square","dribbble-circle","edit","environment","euro-circle","experiment","eye","eye-invisible","exclamation-circle","dropbox-circle","fast-backward","facebook","file-excel","file-exclamation","file","file-image","file-markdown","file-pdf","file-ppt","fast-forward","dropbox-square","file-text","file-zip","file-unknown","file-word","filter","fire","flag","folder-add","folder","folder-open","file-add","frown","fund","forward","funnel-plot","gift","gitlab","gold","github","golden","google-plus-square","google-plus-circle","google-square","heart","format-painter","highlight","home","hourglass","hdd","html5","idcard","google-circle","ie-square","insurance","instagram","ie-circle","layout","left-circle","interaction","left-square","linkedin","like","mail","mac-command","medicine-box","medium-circle","medium-square","meh","lock","merge","message","minus-circle","minus-square","mobile","moon","muted","notification","pay-circle","phone","pinterest","play-circle","pie-chart","pause-circle","picture","play-square","pound-circle","plus-circle","plus-square","printer","product","profile","property-safety","project","qq-circle","question-circle","qq-square","reconciliation","red-envelope","reddit-circle","read","reddit-square","right-circle","right-square","rest","money-collect","safety-certificate","rocket","schedule","security-scan","pushpin","setting","save","shopping","shop","signal","open-a-i","signature","sketch-circle","skype","slack-circle","sketch-square","slack-square","skin","sliders","smile","snippets","sound","spotify","star","step-backward","step-forward","stop","sun","info-circle","tablet","tag","taobao-circle","tags","thunderbolt","taobao-square","tik-tok","tool","trademark-circle","trophy","twitch","robot","truck","twitter-square","twitter-circle","unlock","up-circle","switcher","up-square","usb","video-camera","wallet","wechat","weibo-circle","windows","yahoo","youtube","yuque","zhihu-circle","zhihu-square","wechat-work","weibo-square","x","warning"],outline:["aim","alert","align-right","align-center","aliwangwang","amazon","ant-design","api","ant-cloud","align-left","apple","alipay-circle","appstore-add","alipay","arrow-down","arrows-alt","apartment","audio","audio-muted","arrow-up","android","aliyun","area-chart","arrow-left","backward","bank","baidu","barcode","bars","behance-square","behance","bell","bilibili","bg-colors","block","bold","border-bottom","border-horizontal","border-left","border","border-inner","bar-chart","border-right","border-verticle","account-book","alibaba","branches","border-top","arrow-right","bug","audit","calendar","calculator","camera","box-plot","car","bulb","book","caret-right","carry-out","caret-left","caret-down","check","check-square","chrome","caret-up","clock-circle","ci","ci-circle","close","close-circle","close-square","cloud-download","cloud","cloud-server","cloud-sync","code","check-circle","codepen-circle","code-sandbox","codepen","cluster","column-height","cloud-upload","column-width","compress","compass","console-sql","appstore","contacts","coffee","container","copy","control","copyright-circle","clear","build","dash","database","border-outer","delete","dashboard","delete-row","delivered-procedure","deployment-unit","delete-column","de
2sktop","diff","dingtalk","dingding","dislike","disconnect","comment","docker","dollar-circle","double-left","dollar","dot-chart","dot-net","double-right","down-circle","down","borderless-table","drag","dribbble-square","dribbble","down-square","ellipsis","dropbox","enter","euro-circle","environment","exception","euro","customer-service","exclamation-circle","expand-alt","exclamation","expand","export","experiment","eye-invisible","eye","facebook","fast-forward","fall","download","field-binary","field-number","credit-card","field-string","field-time","file-excel","file-exclamation","file-add","file-done","crown","discord","file-markdown","file","file-pdf","file-jpg","file-gif","file-sync","file-protect","file-search","file-unknown","file-word","file-text","file-zip","filter","flag","fire","folder-add","folder-open","folder","font-size","edit","file-ppt","form","folder-view","copyright","fork","forward","function","fullscreen-exit","fund","fund-projection-screen","funnel-plot","gateway","gift","gif","font-colors","frown","global","gitlab","gold","google","google-plus","group","hdd","harmony-o-s","heart","heat-map","highlight","home","html5","format-painter","ie","idcard","github","hourglass","holder","fullscreen","info-circle","fund-view","inbox","insert-row-left","info","import","insert-row-above","insert-row-right","interaction","italic","java","issues-close","java-script","kubernetes","instagram","laptop","layout","insurance","left-square","line-chart","left-circle","line","like","loading","loading-3-quarters","linux","line-height","left","lock","mac-command","mail","link","man","medicine-box","medium-workmark","medium","meh","logout","menu-fold","login","linkedin","message","menu","minus-circle","key","minus-square","mobile","money-collect","fast-backward","monitor","moon","more","node-index","node-collapse","node-expand","merge","menu-unfold","number","merge-cells","notification","ordered-list","paper-clip","partition","muted","pause","one-to-one","pay-circle","percentage","pic-center","pic-right","pic-left","pause-circle","pie-chart","picture","play-circle","play-square","plus","plus-square","plus-circle","pound-circle","pound","poweroff","profile","printer","project","product","phone","property-safety","python","pinterest","pushpin","qrcode","question-circle","radius-bottomleft","radius-bottomright","pull-request","question","radius-setting","radar-chart","radius-upleft","radius-upright","read","reconciliation","red-envelope","reddit","redo","reload","retweet","rest","right-circle","right-square","right","robot","rise","rocket","rollback","rotate-right","safety-certificate","rotate-left","qq","ruby","save","scan","security-scan","scissor","schedule","select","send","minus","shake","setting","shop","shopping","shopping-cart","shrink","sisternode","sketch","skin","skype","slack","slack-square","sliders","small-dash","smile","snippets","file-image","solution","sort-ascending","split-cells","sort-descending","signature","spotify","search","star","step-forward","stock","sound","step-backward","share-alt","stop","sun","strikethrough","swap-left","swap","switcher","sync","table","tag","tablet","taobao-circle","taobao","team","subnode","thunderbolt","tags","tool","trademark-circle","tik-tok","to-top","swap-right","translation","safety","truck","twitch","underline","undo","unlock","ungroup","trademark","twitter","open-a-i","up","up-square","upload","usb","trophy","user","user-delete","usergroup-add","usergroup-delete","unordered-list","verified","vertical-left","vertical-right","video-camera","video-camera-add","vertical-align-top","user-add","history","insert-row-below","wechat","wechat-work","warning","weibo-circle","weibo","wifi","weibo-square","windows","whats-app","woman","user-switch","yahoo","x","yuque","zhihu","youtube","vertical-align-middle","up-circle","transaction","zoom-out","zoom-in","vertical-align-bottom","wallet"],twotone:["account-book","alert","api","audio","bank","bell","book","appstore","bug","bulb","calendar","calculator","car","camera","box-plot","carry-out","ci-circle","ci","check-square","clock-circle","close-circle","close-square","check-circle","cloud","code","compass","contacts","container","copy","build","credit-card","copyright","customer-service","crown","dashboard","delete","diff","database","dollar-circle","dollar","down-circle","dislike","copyright-circle","down-square","edit","euro-circle","environment","euro","exclamation-circle","experiment","eye-invisible","eye","file-add","file-excel","file-exclamation","control","file-image","file-markdown","file","file-text","file-unknown","file-zip","filter","fire","file-ppt","flag","folder-open","folder-add","folder","frown","fund","funnel-plot","gift","gold","file-word","hdd","heart","file-pdf","home","hourglass","html5","i
2dcard","highlight","info-circle","insurance","layout","interaction","left-square","like","left-circle","lock","mail","medicine-box","meh","minus-square","minus-circle","mobile","money-collect","notification","message","pause-circle","phone","picture","play-circle","play-square","pie-chart","plus-circle","pound-circle","plus-square","printer","project","profile","property-safety","pushpin","question-circle","reconciliation","red-envelope","rest","right-circle","right-square","rocket","safety-certificate","save","security-scan","schedule","setting","shop","shopping","skin","sliders","snippets","star","stop","switcher","tablet","tag","tags","sound","tool","trophy","thunderbolt","unlock","up-square","usb","smile","video-camera","wallet","warning","trademark-circle","up-circle"]};var Fa={isTestMode:!1};var _c={},a9="[NG-ZORRO]:";function o9(...t){let n=t.reduce((e,r)=>e+r.toString(),"");return _c[n]?!1:(_c[n]=!0,!0)}function s9(t,...n){(Fa.isTestMode||Tr()&&o9(...n))&&t(...n)}var p1=(...t)=>s9((...n)=>console.warn(a9,...n),...t);var wc={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Vz={name:"account-book",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" /></svg>'};var Mc={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'};var Cc={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var xc={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var Sc={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var Tc={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'};var kc={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},Dc={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false">
2<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'};var Pc={name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'};var Ec={name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false">
2<path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},Vc={name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'};var Oc={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'};var Hc={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'};var Ac={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'};var Ic={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'};var Yc={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'};var Fc={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.
21 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'};var Lc={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'};var Rc={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var Nc={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'};var Bc={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},jc={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'};var Uc={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'};var qc={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'};var Wc={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'};var $c={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'};var Gc={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'};var Kc={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'};var Xc={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false">
2<path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'};var Zc={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'};var Qc={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'};var Jc={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'};var e0={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'};var t0={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'};var r0={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'};var N2={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false">
2<path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var n0={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'};var i0={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var a0={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'};var o0={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'};var s0={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'};var c0={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'};var l0={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},h0={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var c9=["success","processing","error","default","warning"],l9=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function v0(t){return l9.indexOf(t)!==-1}function Az(t){return c9.indexOf(t)!==-1}var La=2,d0=.16,h9=.05,d9=.05,u9=.15,g0=5,y0=4,m9=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function u0({r:t,g:n,b:e}){let r=Q1(t,n,e);return{h:r.h*360,s:r.s,v:r.v}}function Ra({r:t,g:n,b:e}){return`#${J1(t,n,e,!1)}`}function f9(t,n,e){let r=e/100;return{r:(n.r-t.r)*r+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b}}function m0(t,n,e){let r;return Math.round(t.h)>=60&&Math.round(t.h)<=240?r=e?Math.round(t.h)-La*n:Math.round(t.h)+La*n:r=e?Math.round(t.h)+La*n:Math.round(t.h)-La*n,r<0?r+=360:r>=360&&(r-=360),r}
2function f0(t,n,e){if(t.h===0&&t.s===0)return t.s;let r;return e?r=t.s-d0*n:n===y0?r=t.s+d0:r=t.s+h9*n,r>1&&(r=1),e&&n===g0&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function p0(t,n,e){let r;return e?r=t.v+d9*n:r=t.v-u9*n,r>1&&(r=1),Number(r.toFixed(2))}function B2(t,n={}){let e=[],r=zt(t);for(let i=g0;i>0;i-=1){let a=u0(r),o=Ra(zt({h:m0(a,i,!0),s:f0(a,i,!0),v:p0(a,i,!0)}));e.push(o)}e.push(Ra(r));for(let i=1;i<=y0;i+=1){let a=u0(r),o=Ra(zt({h:m0(a,i),s:f0(a,i),v:p0(a,i)}));e.push(o)}return n.theme==="dark"?m9.map(({index:i,opacity:a})=>Ra(f9(zt(n.backgroundColor||"#141414"),zt(e[i]),a*100))):e}function z0(t){return t!=null&&`${t}`!="false"}function er(t,n=0){return p9(t)?Number(t):arguments.length===2?n:0}function p9(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Br(t){return Array.isArray(t)?t:[t]}function Me(t){return t==null?"":typeof t=="string"?t:`${t}px`}function A1(t){return t instanceof R?t.nativeElement:t}function jz(t){let n;return t==null?n=[]:Array.isArray(t)?n=t:n=[t],n}function Uz(t,n){if(!t||!n||t.length!==n.length)return!1;let e=t.length;for(let r=0;r<e;r++)if(t[r]!==n[r])return!1;return!0}function Te(t){return typeof t<"u"&&t!==null}function qz(t){return typeof t>"u"||t===null}function K2(t,n){if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;let e=Object.keys(t),r=Object.keys(n);if(e.length!==r.length)return!1;let i=Object.prototype.hasOwnProperty.bind(n);for(let a=0;a<e.length;a++){let o=e[a];if(!i(o)||t[o]!==n[o])return!1}return!0}function Jn(t){return t instanceof wt}function w0(t){return z0(t)}function X2(t){return c1(t,0)}function Wz(t){return c1(t,1)}function $z(t){return c1(t,1/0)}function Gz(t,n=0){return er(t,n)}function Kz(t){return Me(t)}function Xz(t,...n){return typeof t=="function"?t(...n):t}function Zz(t){t.stopPropagation(),t.preventDefault()}function Qz(t){if(!t.getClientRects().length)return{top:0,left:0};let n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}function Z2(t){return t.type.startsWith("touch")}function M0(t){return Z2(t)?t.touches[0]||t.changedTouches[0]:t}function v9(t){let n=Array.isArray(t)?t:[t],e=n.join("").replace(/(\$|\^)/g,"\\$1");return n.length>1&&(e=`[${e}]`),new RegExp(`(\\s|^)(${e})[^\\s]*`,"g")}function Jz(t,n="@"){if(typeof t!="string")return[];let e=v9(n),r=t.match(e);return r!==null?r.map(i=>i.trim()):[]}function eb(t,n,e){if(t.length>n)return t;let r=`${g9(n,e)}${t}`;return r.slice(r.length-n,r.length)}function g9(t,n){return Array(t).fill(n).join("")}function y9(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function tb(t,n,e){return(e-t)/(n-t)*100}function rb(t){let n=t.toString(),e=n.indexOf(".");return e>=0?n.length-e-1:0}function nb(t,n,e){return isNaN(t)||t<n?n:t>e?e:t}function ib(t){return typeof t=="number"&&isFinite(t)}function ab(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function ob(t,n=0){return t.reduce((e,r)=>e+r,n)}function sb(t){let n=t;if(n.scrollIntoViewIfNeeded){n.scrollIntoViewIfNeeded(!1);return}if(t.scrollIntoView){t.scrollIntoView(!1);return}}var z9=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],C0=typeof window<"u",b9=C0&&window.mozInnerScreenX!=null,Na=t=>parseInt(t,10);function cb(t,n,e){if(!C0)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");let r=e&&e.debug||!1;if(r){let d=document.querySelector("#input-textarea-caret-position-mirror-div");d&&d.parentNode.removeChild(d)}let i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);let a=i.style,o=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,s=t.nodeName==="INPUT";a.whiteSpace="pre-wrap",s||(a.wordWrap="break-word"),a.position="absolute",r||(a.visibility="hidden"),z9.forEach(d=>{s&&d==="lineHeight"?a.lineHeight=o.height:a[d]=o[d]}),b9?t.scrollHeight>Na(o.height)&&(a.overflowY="scroll"):a.overflow="hidden",i.textContent=t.value.substring(0,n),s&&(i.textContent=i.textContent.replace(/\s/g,"\xA0"));let c=document.createElement("span");c.textContent=t.value.substring(n)||".",i.appendChild(c);let l={top:c.offsetTop+Na(o.borderTopWidth),left:c.offsetLeft+Na(o.borderLeftWidth),height:Na(o.lineHeight)};return r?(c.style.backgroundColor="#eee",_9(t,l)):document.body.removeChild(i),l}function _9(t,n){let e=getComputedStyle(t).getPropertyValue("font-size"),r=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(r),r.id="DEBUG",r.style.position="absolute",r.style.backgroundColor="red",r.style.height=e,r.style.width="1px",r.style.top=`${t.getBoundingClientRect().top-t.scrollTop+window.pageYOffset+n.top}px`,r.style.left=`${t.getBoundingClientRect().left-t.scrollLeft+window.pageXOffset+n.left}px`}function lb(t){if(typeof window<"u"&&window.document&&window.document.documentElement){let n=Array.isArray(t)?t:[t],{documentElement:e}=window.document;return n.some(r=>
2r in e.style)}return!1}function Q2(t){return t?Object.keys(t).map(n=>{let e=t[n];return`${n}:${typeof e=="string"?e:`${e}px`}`}).join(";"):""}var w9=1,$2=3,M9=8,he,j2={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function U2(t){if(!t)return 0;let n=t.match(/^\d*(\.\d*)?/);return n?Number(n[0]):0}function C9(t){return Array.prototype.slice.apply(t).map(e=>`${e}: ${t.getPropertyValue(e)};`).join("")}function x9(t){let n=[];return t.forEach(e=>{let r=n[n.length-1];r&&e.nodeType===$2&&r.nodeType===$2?r.data+=e.data:n.push(e)}),n}function hb(t,n,e,r,i,a=""){he||(he=document.createElement("div"),he.setAttribute("aria-hidden","true"),document.body.appendChild(he));let o=window.getComputedStyle(t),s=C9(o),c=U2(o.lineHeight),l=Math.round(c*(n+1)+U2(o.paddingTop)+U2(o.paddingBottom));he.setAttribute("style",s),he.style.position="fixed",he.style.left="0",he.style.height="auto",he.style.minHeight="auto",he.style.maxHeight="auto",he.style.top="-999999px",he.style.zIndex="-1000",he.style.textOverflow="clip",he.style.whiteSpace="normal",he.style.webkitLineClamp="none";let d=x9(e),u=document.createElement("div"),f=document.createElement("span"),p=document.createTextNode(a),w=document.createElement("span");Object.assign(u.style,j2),Object.assign(f.style,j2),Object.assign(w.style,j2),d.forEach(ae=>{f.appendChild(ae)}),f.appendChild(p),r.forEach(ae=>{w.appendChild(ae.cloneNode(!0))}),u.appendChild(f),u.appendChild(w),he.appendChild(u);function M(){return he.offsetHeight<l}if(M()){let ae=he.innerHTML;return he.removeChild(u),{contentNodes:e,text:ae,ellipsis:!1}}let x=Array.prototype.slice.apply(he.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:ae})=>ae!==M9),B=Array.prototype.slice.apply(he.childNodes[0].childNodes[1].cloneNode(!0).childNodes);he.removeChild(u),he.innerHTML="";let Z=document.createElement("span");he.appendChild(Z);let q=document.createTextNode(i+a);Z.appendChild(q),B.forEach(ae=>{he.appendChild(ae)});function Be(ae){Z.insertBefore(ae,q)}function je(ae,Ee,it=0,Qe=Ee.length,Gt=0){let b1=Math.floor((it+Qe)/2);if(ae.textContent=Ee.slice(0,b1),it>=Qe-1)for(let xe=Qe;xe>=it;xe-=1){let Ue=Ee.slice(0,xe);if(ae.textContent=Ue,M()||!Ue)return xe===Ee.length?{finished:!1,node:document.createTextNode(Ee)}:{finished:!0,node:document.createTextNode(Ue)}}return M()?je(ae,Ee,b1,Qe,b1):je(ae,Ee,it,b1,Gt)}function Ce(ae,Ee){let it=ae.nodeType;if(it===w9)return M()?{finished:!1,node:d[Ee]}:(Z.removeChild(ae),{finished:!0,node:null});if(it===$2){let Qe=ae.textContent||"",Gt=document.createTextNode(Qe);return Be(Gt),je(Gt,Qe)}return{finished:!1,node:null}}let Ze=[];x.some((ae,Ee)=>{let{finished:it,node:Qe}=Ce(ae,Ee);return Qe&&Ze.push(Qe),it});let Lt={contentNodes:Ze,text:he.innerHTML,ellipsis:!0};for(;he.firstChild;)he.removeChild(he.firstChild);return Lt}var q2,W2,b0={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function db(t="vertical",n="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&q2)return q2;if(!e&&W2)return W2;let r=document.createElement("div");Object.keys(b0).forEach(a=>{r.style[a]=b0[a]}),r.className=`${n}-hide-scrollbar scroll-div-append-to-body`,e?r.style.overflowY="scroll":r.style.overflowX="scroll",document.body.appendChild(r);let i=0;return e?(i=r.offsetWidth-r.clientWidth,q2=i):(i=r.offsetHeight-r.clientHeight,W2=i),document.body.removeChild(r),i}function ub(t,n){return t&&t<n?t:n}function mb(){let t=new C;return Promise.resolve().then(()=>t.next()),t.pipe(ot(1))}function fb(t){return Pt(t)?t:y9(t)?ke(Promise.resolve(t)):P(t)}function J2(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var S9="rc-util-key";function x0({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:S9}function e3(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function _0(t,n={}){if(!J2())return null;let e=document.createElement("style");n.cspNonce&&(e.nonce=n.cspNonce),e.innerHTML=t;let r=e3(n),{firstChild:i}=r;return n.prepend&&r.prepend?r.prepend(e):n.prepend&&i?r.insertBefore(e,i):r.appendChild(e),e}
2var G2=new Map;function T9(t,n={}){let e=e3(n);return Array.from(G2.get(e)?.children||[]).find(r=>r.tagName==="STYLE"&&r.getAttribute(x0(n))===t)}function S0(t,n,e={}){let r=e3(e);if(!G2.has(r)){let o=_0("",e),{parentNode:s}=o;G2.set(r,s),s.removeChild(o)}let i=T9(n,e);if(i)return e.cspNonce&&i.nonce!==e.cspNonce&&(i.nonce=e.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let a=_0(t,e);return a?.setAttribute(x0(e),n),a}function ei(t,n,e){return{[`${t}-status-success`]:n==="success",[`${t}-status-warning`]:n==="warning",[`${t}-status-error`]:n==="error",[`${t}-status-validating`]:n==="validating",[`${t}-has-feedback`]:e}}function k9(t){return typeof Zone<"u"?Zone.root.run(t):t()}function T0(t,n,e){return t?new qe(r=>k9(()=>Ii(t,n,e).subscribe(r))):bt}var E0=new O("nz-config");function Cb(t){return ut([{provide:E0,useValue:t}])}var D9=`-ant-${Date.now()}-${Math.random()}`;function P9(t,n){let e={},r=(o,s)=>{let c=o.clone();return c=s?.(c)||c,c.toRgbString()},i=(o,s)=>{let c=new Oa(o),l=B2(c.toRgbString());e[`${s}-color`]=r(c),e[`${s}-color-disabled`]=l[1],e[`${s}-color-hover`]=l[4],e[`${s}-color-active`]=l[7],e[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),e[`${s}-color-deprecated-bg`]=l[1],e[`${s}-color-deprecated-border`]=l[3]};if(n.primaryColor){i(n.primaryColor,"primary");let o=new Oa(n.primaryColor),s=B2(o.toRgbString());s.forEach((l,d)=>{e[`primary-${d+1}`]=l}),e["primary-color-deprecated-l-35"]=r(o,l=>l.lighten(35)),e["primary-color-deprecated-l-20"]=r(o,l=>l.lighten(20)),e["primary-color-deprecated-t-20"]=r(o,l=>l.tint(20)),e["primary-color-deprecated-t-50"]=r(o,l=>l.tint(50)),e["primary-color-deprecated-f-12"]=r(o,l=>l.setAlpha(l.getAlpha()*.12));let c=new Oa(s[0]);e["primary-color-active-deprecated-f-30"]=r(c,l=>l.setAlpha(l.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=r(c,l=>l.darken(2))}return n.successColor&&i(n.successColor,"success"),n.warningColor&&i(n.warningColor,"warning"),n.errorColor&&i(n.errorColor,"error"),n.infoColor&&i(n.infoColor,"info"),` 3 :root { 4 ${Object.keys(e).map(o=>`--${t}-${o}: ${e[o]};`).join(` 5`)} 6 } 7 `.trim()}function k0(t,n,e){let r=P9(t,n);J2()?S0(r,`${D9}-dynamic-theme`,{cspNonce:e}):p1("NzConfigService: SSR do not support dynamic theme with css variables.")}var D0=function(t){return t!==void 0},P0="ant",Ut=(()=>{class t{configUpdated$=new C;config=h(E0,{optional:!0})||{};cspNonce=h(a1,{optional:!0});constructor(){this.config.theme&&k0(this.getConfig().prefixCls?.prefixCls||P0,this.config.theme,this.cspNonce)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(ue(r=>r===e),A(()=>{}))}set(e,r){this.config[e]=z(z({},this.config[e]),r),e==="theme"&&this.config.theme&&k0(this.getConfig().prefixCls?.prefixCls||P0,this.config.theme,this.cspNonce),this.configUpdated$.next(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function tr(){return function(t,n){n.addInitializer(function(){let e=h(Ut),r=this[n.name],i,a=!1;Object.defineProperty(this,n.name,{get:()=>{let o=e.getConfigForComponent(this._nzModuleName)?.[n.name];return a?i:D0(o)?o:r},set:o=>{a=D0(o),i=o},enumerable:!0,configurable:!0})})}}var r3;try{r3=typeof Intl<"u"&&Intl.v8BreakIterator}catch{r3=!1}var me=(()=>{class t{_platformId=h(Kt);isBrowser=this._platformId?Ji(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||r3)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),V0=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var ti;function E9(){if(ti==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ti=!0}))}finally{ti=ti||!1}return ti}function O0(t){return E9()?t:!!t.capture}var qt=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(qt||{}),ja,rr;
7function Ua(){if(rr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return rr=!1,rr;if("scrollBehavior"in document.documentElement.style)rr=!0;else{let t=Element.prototype.scrollTo;t?rr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):rr=!1}}return rr}function jr(){if(typeof document!="object"||!document)return qt.NORMAL;if(ja==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),ja=qt.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,ja=t.scrollLeft===0?qt.NEGATED:qt.INVERTED),t.remove()}return ja}var t3;function V9(){if(t3==null){let t=typeof document<"u"?document.head:null;t3=!!(t&&(t.createShadowRoot||t.attachShadow))}return t3}function H0(t){if(V9()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function A0(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function At(t){return t.composedPath?t.composedPath()[0]:t.target}function n3(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function v1(t,n,e,r,i){let a=parseInt(C4.major),o=parseInt(C4.minor);return a>19||a===19&&o>0||a===0&&o===0?t.listen(n,e,r,i):(n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)})}var O9=[wc,Mc,xc,kc,Cc,Sc,Hc,Oc,Tc,Dc,Vc,Pc,Ec,Ac,Ic,Yc,Fc,Lc,$c,Rc,Bc,Nc,jc,Uc,qc,Wc,i0,Gc,Xc,Kc,Zc,Qc,Jc,e0,t0,N2,r0,N2,s0,c0,o0,n0,a0,h0,l0],Y0=new O("nz_icons"),Bb=new O("nz_icon_default_twotone_color"),I0="#1890ff",F0=(()=>{class t extends R2{nzConfigService;platform;configUpdated$=new C;get _disableDynamicLoading(){return!this.platform.isBrowser}iconfontCache=new Set;subscription=null;ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){let{scriptUrl:r}=e;if(this._document&&!this.iconfontCache.has(r)){let i=this._renderer.createElement("script");this._renderer.setAttribute(i,"src",r),this._renderer.setAttribute(i,"data-namespace",r.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,i),this.iconfontCache.add(r)}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(e,r,i,a){super(e,h(h1,{optional:!0}),h(U),r,[...O9,...h(Y0,{optional:!0})||[]]),this.nzConfigService=i,this.platform=a,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){let r=this.getConfig().nzTwotoneColor||I0,i=I0;r&&(r.startsWith("#")?i=r:p1("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:i}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(r){return new(r||t)(T(Oe),T(En),T(Ut),T(me))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),L0=new O("nz_icons_patch"),R0=(()=>{class t{rootIconService;patched=!1;extraIcons=h(L0,{self:!0});constructor(e){this.rootIconService=e}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}static \u0275fac=function(r){return new(r||t)(T(F0))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),I1=(()=>{class t extends bc{ngZone;changeDetectorRef;iconService;renderer;cacheClassName=null;set nzSpin(e){this.spin=e}nzRotate=0;set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}hostClass;el;iconfont;spin=!1;destroy$=new C;constructor(e,r,i,a){super(i),this.ngZone=e,this.changeDetectorRef=r,this.iconService=i,this.renderer=a;let o=h(R0,{optional:!0});o&&o.doPatch(),this.el=this._elementRef.nativeElement}ngOnChanges(e){let{nzType:r,nzTwotoneColor:i,nzSpin:a,nzTheme:o,nzRotate:s}=e;r||i||a||o?this.changeIcon2():s?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngAfterContentChecked(){if(!this.type){let e=this.el.children,r=e.length;if(!this.type&&e.length)for(;r--;){let i=e[r];
7i.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(i)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{ke(this._changeIcon()).pipe(L(this.destroy$)).subscribe({next:e=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})},error:p1})})}handleSpin(e){this.spin||this.type==="loading"?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}static \u0275fac=function(r){return new(r||t)(v(W),v(De),v(F0),v(ve))};static \u0275dir=S({type:t,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:[1,"anticon"],inputs:{nzSpin:[2,"nzSpin","nzSpin",N],nzRotate:[2,"nzRotate","nzRotate",c1],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[fe,G]})}return t})(),H9=t=>ut([{provide:Y0,useValue:t}]),A9=t=>[R0,{provide:L0,useValue:t}],Ur=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[H9(e)]}}static forChild(e){return{ngModule:t,providers:[A9(e)]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var jb=(()=>{class t{elementRef;renderer;hidden=null;setHiddenAttribute(){this.hidden?typeof this.hidden=="string"?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden):this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(e,r){this.elementRef=e,this.renderer=r,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static \u0275fac=function(r){return new(r||t)(v(R),v(ve))};static \u0275dir=S({type:t,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[G]})}return t})(),N0=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var B0=["moz","ms","webkit"];function I9(){let t=0;return function(n){let e=new Date().getTime(),r=Math.max(0,16-(e-t)),i=window.setTimeout(()=>{n(e+r)},r);return t=e+r,i}}function Y9(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);let t=B0.filter(n=>`${n}RequestAnimationFrame`in window)[0];return t?window[`${t}RequestAnimationFrame`]:I9()}function qb(t){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);let n=B0.filter(e=>`${e}CancelAnimationFrame`in window||`${e}CancelRequestAnimationFrame`in window)[0];return n?(window[`${n}CancelAnimationFrame`]||window[`${n}CancelRequestAnimationFrame`]).call(this,t):clearTimeout(t)}var a3=Y9();var j0=new Set,nr,ni=(()=>{class t{_platform=h(me);_nonce=h(a1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L9}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&F9(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function F9(t,n){if(!j0.has(t))try{nr||(nr=document.createElement("style"),n&&nr.setAttribute("nonce",n),nr.setAttribute("type","text/css"),document.head.appendChild(nr)),nr.sheet&&(nr.sheet.insertRule(`@media ${t} {body{ }}`,0),j0.add(t))}catch(e){console.error(e)}}function L9(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var q0=(()=>{class t{_mediaMatcher=h(ni);_zone=h(W);_queries=new Map;
7_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return U0(Br(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=U0(Br(e)).map(o=>this._registerQuery(o).observable),a=gr(i);return a=Ai(a.pipe(ot(1)),a.pipe(Fi(1),Yi(0))),a.pipe(A(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),a={observable:new qe(o=>{let s=c=>this._zone.run(()=>o.next(c));return r.addListener(s),()=>{r.removeListener(s)}}).pipe(st(r),A(({matches:o})=>({query:e,matches:o})),L(this._destroySubject)),mql:r};return this._queries.set(e,a),a}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function U0(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var o3=()=>{},s3=(()=>{class t{ngZone;rendererFactory2;resizeSource$=new C;listeners=0;renderer;disposeHandle=o3;handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})};constructor(e,r){this.ngZone=e,this.rendererFactory2=r,this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=o3}subscribe(){return this.registerListener(),this.resizeSource$.pipe(yr(16),Nt(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){this.listeners===0&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,this.listeners===0&&(this.disposeHandle(),this.disposeHandle=o3)}static \u0275fac=function(r){return new(r||t)(T(W),T(Oe))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),R9=new Map,c_=(()=>{class t{get singletonRegistry(){return Fa.isTestMode?R9:this._singletonRegistry}_singletonRegistry=new Map;registerSingletonWithKey(e,r){let i=this.singletonRegistry.has(e),a=i?this.singletonRegistry.get(e):this.withNewTarget(r);i||this.singletonRegistry.set(e,a)}unregisterSingletonWithKey(e){this.singletonRegistry.has(e)&&this.singletonRegistry.delete(e)}getSingletonWithKey(e){return this.singletonRegistry.has(e)?this.singletonRegistry.get(e).target:null}withNewTarget(e){return{target:e}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function N9(t){let n=M0(t);return{x:n.pageX,y:n.pageY}}var l_=(()=>{class t{draggingThreshold=5;currentDraggingSequence=null;currentStartingPoint=null;handleRegistry=new Set;renderer;constructor(e){this.renderer=e.createRenderer(null,null)}requestDraggingSequence(e){return this.handleRegistry.size||this.registerDraggingHandler(Z2(e)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=N9(e),this.currentDraggingSequence=new C,this.currentDraggingSequence.pipe(A(r=>({x:r.pageX-this.currentStartingPoint.x,y:r.pageY-this.currentStartingPoint.y})),ue(r=>Math.abs(r.x)>this.draggingThreshold||Math.abs(r.y)>this.draggingThreshold),Nt(()=>this.teardownDraggingSequence()))}registerDraggingHandler(e){e?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",r=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(r.touches[0]||r.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",r=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(r)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}static \u0275fac=function(r){return new(r||t)(T(Oe))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function B9(t,n,e,r){let i=e-n,a=t/(r/2);return a<1?i/2*a*a*a+n:i/2*((a-=2)*a*a+2)+n}var $0=(()=>{class t{ngZone;doc=h(U);constructor(e){this.ngZone=e}setScrollTop(e,r=0){e===window?(this.doc.body.scrollTop=r,this.doc.documentElement.scrollTop=r):e.scrollTop=r}getOffset(e){let r={top:0,left:0};if(!e||!e.getClientRects().length)return r;let i=e.getBoundingClientRect();if(i.width||i.height){let a=e.ownerDocument.documentElement;r.top=i.top-a.clientTop,r.left=i.left-a.clientLeft}else r.top=i.top,r.left=i.left;return r}getScroll(e,r=!0){if(typeof window>"u")return 0;let i=r?"scrollTop":"scrollLeft",a=0;return this.isWindow(e)?a=e[r?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[i]:e&&(a=e[i]),e&&!this.isWindow(e)&&typeof a!="number"&&(a=(e.ownerDocument||e).documentElement[i]),a}isWindow(e){return e!=null&&e===e.window}
7scrollTo(e,r=0,i={}){let a=e||window,o=this.getScroll(a),s=Date.now(),{easing:c,callback:l,duration:d=450}=i,u=()=>{let p=Date.now()-s,w=(c||B9)(p>d?d:p,o,r,d);this.isWindow(a)?a.scrollTo(window.pageXOffset,w):a instanceof HTMLDocument||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=w:a.scrollTop=w,p<d?a3(u):typeof l=="function"&&this.ngZone.run(l)};this.ngZone.runOutsideAngular(()=>a3(u))}static \u0275fac=function(r){return new(r||t)(T(W))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G0=function(t){return t.xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",t}(G0||{}),ii={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},h_={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"},K0=(()=>{class t{resizeService;mediaMatcher;destroy$=new C;constructor(e,r){this.resizeService=e,this.mediaMatcher=r,this.resizeService.subscribe().pipe(L(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(e,r){if(r){let i=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(A(i),st(i()),Et((a,o)=>a[0]===o[0]),A(a=>a[1]))}else{let i=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(A(i),st(i()),Et())}}matchMedia(e,r){let i=G0.md,a={};return Object.keys(e).map(o=>{let s=o,c=this.mediaMatcher.matchMedia(ii[s]).matches;a[o]=c,c&&(i=s)}),r?[i,a]:i}static \u0275fac=function(r){return new(r||t)(T(s3),T(ni))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tt=(()=>{class t extends C{ngOnDestroy(){this.next(),this.complete()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),d_=(()=>{class t{platform;counter=new Map;linkRefs=new Map;document=h(U);constructor(e){this.platform=e}addPreload(e){if(this.platform.isBrowser)return()=>{};let r=`${e.src}${e.srcset}`,i=this.counter.get(r)||0;if(i++,this.counter.set(r,i),!this.linkRefs.has(r)){let a=this.appendPreloadLink(e);this.linkRefs.set(r,a)}return()=>{if(this.counter.has(r)){let a=this.counter.get(r);if(a--,a===0){let o=this.linkRefs.get(r);this.removePreloadLink(o),this.counter.delete(r),this.linkRefs.delete(r)}else this.counter.set(r,a)}}}appendPreloadLink(e){let r=this.document.createElement("link");return r.setAttribute("rel","preload"),r.setAttribute("as","image"),r.setAttribute("href",e.src),e.srcset&&r.setAttribute("imagesrcset",e.srcset),this.document.head.appendChild(r),r}removePreloadLink(e){this.document.head.contains(e)&&this.document.head.removeChild(e)}static \u0275fac=function(r){return new(r||t)(T(me))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var j9=new O("cdk-dir-doc",{providedIn:"root",factory:U9});function U9(){return h(U)}var q9=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function X0(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?q9.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Pe=(()=>{class t{value="ltr";change=new te;constructor(){let e=h(j9,{optional:!0});if(e){let r=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=X0(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),z_=(()=>{class t{_dir="ltr";_isInitialized=!1;_rawDir;change=new te;get dir(){return this._dir}set dir(e){let r=this._dir;this._dir=X0(e),this._rawDir=e,r!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(r,i){r&2&&Mt("dir",i._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[ne([{provide:Pe,useExisting:t}])]})}return t})(),ir=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();function W9(t){t||(Li(W9),t=h(zr));let n=new qe(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(L(n))}function c3(t,n){let e=!n?.manualCleanup;e&&!n?.injector&&Li(c3);let r=e?n?.injector?.get(zr)??h(zr):null,i=$9(n?.equal),a;n?.requireSync?a=Le({kind:0},{equal:i}):a=Le({kind:1,value:n?.initialValue},{equal:i});let o=t.subscribe({next:s=>a.set({kind:1,value:s}),error:s=>{if(n?.rejectErrors)throw s;a.set({kind:2,error:s})}});if(n?.requireSync&&a().kind===0)throw new Q(601,!1);return r?.onDestroy(o.unsubscribe.bind(o)),ht(()=>{let s=a();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new Q(601,!1)}},{equal:n?.equal})}function $9(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}var qr=(()=>{class t{viewContainer;templateRef;embeddedViewRef=null;context=new l3;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,r){return!0}recreateView(){this.viewContainer.clear(),Jn(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context)}updateContext(){let e=Jn(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,r=this.embeddedViewRef.context;if(e)for(let i of Object.keys(e))r[i]=e[i]}constructor(e,r){this.viewContainer=e,this.templateRef=r}
7ngOnChanges(e){let{nzStringTemplateOutletContext:r,nzStringTemplateOutlet:i}=e,a=()=>{let s=!1;return i&&(s=i.firstChange||Jn(i.previousValue)||Jn(i.currentValue)),r&&(d=>{let u=Object.keys(d.previousValue||{}),f=Object.keys(d.currentValue||{});if(u.length===f.length){for(let p of f)if(u.indexOf(p)===-1)return!0;return!1}else return!0})(r)||s};i&&(this.context.$implicit=i.currentValue),a()?this.recreateView():this.updateContext()}static \u0275fac=function(r){return new(r||t)(v(mt),v(wt))};static \u0275dir=S({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[G]})}return t})(),l3=class{$implicit},$a=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var J0=["*"],G9=t=>({$implicit:t});function K9(t,n){if(t&1&&xr(0),t&2){let e=re(3);Sr(e.nzSplit)}}function X9(t,n){if(t&1&&(et(0,"span",3),Se(1,K9,1,1,"ng-template",4),tt()),t&2){let e=re(),r=e.$index,i=e.$count,a=re();C1("margin-block-end",a.nzDirection==="vertical"?r===i-1?null:a.spaceSize:null,"px")("margin-inline-end",a.nzDirection==="horizontal"?r===i-1?null:a.spaceSize:null,"px"),be(),_e("nzStringTemplateOutlet",a.nzSplit)("nzStringTemplateOutletContext",w6(6,G9,r))}}function Z9(t,n){if(t&1&&(et(0,"div",0),_6(1,1),tt(),Se(2,X9,2,8,"span",2)),t&2){let e=n.$implicit,r=n.$index,i=n.$count,a=re();C1("margin-block-end",a.nzDirection==="vertical"?r===i-1?null:a.spaceSize:null,"px")("margin-inline-end",a.nzDirection==="horizontal"?r===i-1?null:a.spaceSize:null,"px"),be(),_e("ngTemplateOutlet",e),be(),$e(a.nzSplit&&r!==i-1?2:-1)}}var ai=new O("NZ_SPACE_COMPACT_SIZE"),el=new O("NZ_SPACE_COMPACT_ITEMS"),Wr=new O("NZ_SPACE_COMPACT_ITEM_TYPE"),Q9=(()=>{class t{nzBlock=br(!1,{transform:N});nzDirection=br("horizontal");nzSize=br("default");elementRef=h(R);static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(r,i){r&2&&ye("ant-space-compact-block",i.nzBlock())("ant-space-compact-vertical",i.nzDirection()==="vertical")},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[ne([{provide:ai,useFactory:()=>h(t).nzSize},{provide:el,useFactory:()=>Le([])}])],ngContentSelectors:J0,decls:1,vars:0,template:function(r,i){r&1&&(ft(),pt(0))},encapsulation:2,changeDetection:0})}return t})(),oi=(()=>{class t{spaceCompactCmp=h(Q9,{host:!0,optional:!0});items=h(el,{host:!0,optional:!0});type=h(Wr);elementRef=h(R);directionality=h(Pe);dir=c3(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=ht(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),r=this.spaceCompactCmp.nzDirection(),i=[J9(this.type,r,this.dir()==="rtl")],a=e.indexOf(this),o=e.findIndex(s=>s);return a===o?i.push(em(this.type,r)):a===e.length-1&&i.push(tm(this.type,r)),i});constructor(){!this.spaceCompactCmp||!this.items||Zt(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(r=>{let i=r.slice();return i.splice(e,0,this),i})}})}ngOnDestroy(){this.items?.update(e=>e.filter(r=>r!==this))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,hostVars:2,hostBindings:function(r,i){r&2&&Mr(i.class())},exportAs:["nzSpaceCompactItem"]})}return t})();function d3(t,n,e){return`ant-${t}-compact-${n==="vertical"?"vertical-":""}${e}`}function J9(t,n,e){let r=e?"-rtl":"";return`${d3(t,n,"item")}${r}`}function em(t,n){return d3(t,n,"first-item")}function tm(t,n){return d3(t,n,"last-item")}var rm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzSpaceItem",""]]})}return t})(),nm="space",Q0={small:8,middle:16,large:24},W_=(()=>{let t,n=[],e=[];return class h3{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[tr()],B1(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:a=>"nzSize"in a,get:a=>a.nzSize,set:(a,o)=>{a.nzSize=o}},metadata:i},n,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:i})}nzConfigService;cdr;_nzModuleName=nm;nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=Rt(this,n,"small");items=Rt(this,e);mergedAlign;spaceSize=Q0.small;destroy$=new C;constructor(i,a){this.nzConfigService=i,this.cdr=a}updateSpaceItems(){let i=typeof this.nzSize=="string"?Q0[this.nzSize]:this.nzSize;this.spaceSize=i/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe(L(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}static \u0275fac=function(a){return new(a||h3)(v(Ut),v(De))};static \u0275cmp=ge({type:h3,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(a,o,s){if
7(a&1&&x1(s,rm,4,wt),a&2){let c;ct(c=lt())&&(o.items=c)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(a,o){a&2&&(C1("flex-wrap",o.nzWrap?"wrap":null),ye("ant-space-horizontal",o.nzDirection==="horizontal")("ant-space-vertical",o.nzDirection==="vertical")("ant-space-align-start",o.mergedAlign==="start")("ant-space-align-end",o.mergedAlign==="end")("ant-space-align-center",o.mergedAlign==="center")("ant-space-align-baseline",o.mergedAlign==="baseline"))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",N],nzSize:"nzSize"},exportAs:["nzSpace"],features:[G],ngContentSelectors:J0,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split",3,"margin-block-end","margin-inline-end"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(a,o){a&1&&(ft(),pt(0),Ui(1,Z9,3,6,null,null,b6)),a&2&&(be(),qi(o.items))},dependencies:[Qi,qr],encapsulation:2,changeDetection:0})}})(),$_=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var im=(()=>{class t extends ra{constructor(e,r,i){super(e,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||t)(T(U),T(Mn),T(ta))};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();function am(){return new A6}function om(t,n,e){return new Y6(t,n,e)}var rl=[{provide:ta,useFactory:am},{provide:ra,useClass:im},{provide:Oe,useFactory:om,deps:[ha,ra,W]}],nw=[{provide:Mn,useClass:H6},{provide:Xt,useValue:"NoopAnimations"},...rl],iw=[{provide:Mn,useFactory:()=>new I6},{provide:Xt,useFactory:()=>"BrowserAnimations"},...rl];var u3=class{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(n,e,r,i,a){this.triggerElement=n,this.ngZone=e,this.insertExtraNode=r,this.platform=i,this.cspNonce=a,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}onClick=n=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||n.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){let n=this.triggerElement,e=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=` 8 [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node { 9 --antd-wave-shadow-color: ${e}; 10 }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",n.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&n!=="#ffffff"&&n!=="rgb(255, 255, 255)"&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&n!=="transparent"}isNotGrey(n){let e=n.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return e&&e[1]&&e[2]&&e[3]?!(e[1]===e[2]&&e[2]===e[3]):!0}getWaveColor(n){let e=getComputedStyle(n);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(n,e){this.ngZone.runOutsideAngular(()=>setTimeout(n,e))}},sm={disabled:!1},nl=new O("nz-wave-global-options");function cm(t){return ut([{provide:nl,useValue:t}])}var mw=(()=>{class t{ngZone;elementRef;nzWaveExtraNode=!1;waveRenderer;waveDisabled=!1;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=h(a1,{optional:!0});platform=h(me);config=h(nl,{optional:!0});animationType=h(Xt,{optional:!0});constructor(e,r){this.ngZone=e,this.elementRef=r,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let e=!1;return this.config&&typeof this.config.disabled=="boolean"&&(e=this.config.disabled),this.animationType==="NoopAnimations"&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new u3(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static \u0275fac=function(r){return new(r||t)(v(W),v(R))};static \u0275dir=S({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return t})(),il=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({providers:[cm(sm)]})}return t})();var lm=["nz-button",""],ol=["*"];function hm(t,n){t&1&&Ge(0,"nz-icon",0)}var al="button",dm=(()=>{let t,n=[],e=[];return class m3{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[tr()],B1(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:a=>"nzSize"in a,get:a=>a.nzSize,set:(a,o)=>{a.nzSize=o}},metadata:i},n,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:i})}elementRef;cdr;renderer;nzConfigService;directionality;_nzModuleName=al;nzIconDirectiveElement;nzBlock=!1;nzGhost=!1;nzSearch=!1;nzLoading=!1;nzDanger=!1;disabled=!1;tabIndex=null;nzType=null;nzShape=null;nzSize=Rt(this,n,"default");dir=(Rt(this,e),"ltr");finalSize=ht(()=>this.compactSize?this.compactSize():this.size());size=Le(this.nzSize);compactSize=h(ai,{optional:!0});destroy$=h(Tt);loading$=new C;
10insertSpan(i,a){i.forEach(o=>{if(o.nodeName==="#text"){let s=a.createElement("span"),c=a.parentNode(o);a.insertBefore(c,s,o),a.appendChild(s,o)}})}get iconOnly(){let i=Array.from(this.elementRef?.nativeElement?.childNodes||[]),a=i.every(s=>s.nodeName!=="#text"),o=i.filter(s=>!(s.nodeName==="#comment"||s?.classList?.contains("anticon"))).length==0;return!!this.nzIconDirectiveElement&&o&&a}constructor(i,a,o,s,c){this.elementRef=i,this.cdr=a,this.renderer=o,this.nzConfigService=s,this.directionality=c}ngOnInit(){this.size.set(this.nzSize),this.nzConfigService.getConfigChangeEventForComponent(al).pipe(L(this.destroy$)).subscribe(()=>{this.size.set(this.nzSize),this.cdr.markForCheck()}),this.directionality.change?.pipe(L(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value,T0(this.elementRef.nativeElement,"click",{capture:!0}).pipe(L(this.destroy$)).subscribe(i=>{(this.disabled&&i.target?.tagName==="A"||this.nzLoading)&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnChanges({nzLoading:i,nzSize:a}){i&&this.loading$.next(this.nzLoading),a&&this.size.set(a.currentValue)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(st(this.nzLoading),ue(()=>!!this.nzIconDirectiveElement),L(this.destroy$)).subscribe(i=>{let a=this.nzIconDirectiveElement.nativeElement;i?this.renderer.setStyle(a,"display","none"):this.renderer.removeStyle(a,"display")})}static \u0275fac=function(a){return new(a||m3)(v(R),v(De),v(ve),v(Ut),v(Pe))};static \u0275cmp=ge({type:m3,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(a,o,s){if(a&1&&x1(s,I1,5,R),a&2){let c;ct(c=lt())&&(o.nzIconDirectiveElement=c.first)}},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(a,o){a&2&&(Mt("tabindex",o.disabled?-1:o.tabIndex===null?null:o.tabIndex)("disabled",o.disabled||null),ye("ant-btn-default",o.nzType==="default")("ant-btn-primary",o.nzType==="primary")("ant-btn-dashed",o.nzType==="dashed")("ant-btn-link",o.nzType==="link")("ant-btn-text",o.nzType==="text")("ant-btn-circle",o.nzShape==="circle")("ant-btn-round",o.nzShape==="round")("ant-btn-lg",o.finalSize()==="large")("ant-btn-sm",o.finalSize()==="small")("ant-btn-dangerous",o.nzDanger)("ant-btn-loading",o.nzLoading)("ant-btn-background-ghost",o.nzGhost)("ant-btn-block",o.nzBlock)("ant-input-search-button",o.nzSearch)("ant-btn-rtl",o.dir==="rtl")("ant-btn-icon-only",o.iconOnly))},inputs:{nzBlock:[2,"nzBlock","nzBlock",N],nzGhost:[2,"nzGhost","nzGhost",N],nzSearch:[2,"nzSearch","nzSearch",N],nzLoading:[2,"nzLoading","nzLoading",N],nzDanger:[2,"nzDanger","nzDanger",N],disabled:[2,"disabled","disabled",N],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[ne([Tt,{provide:Wr,useValue:"btn"}]),zn([oi]),G],attrs:lm,ngContentSelectors:ol,decls:2,vars:1,consts:[["nzType","loading"]],template:function(a,o){a&1&&(ft(),Se(0,hm,1,0,"nz-icon",0),pt(1)),a&2&&$e(o.nzLoading?0:-1)},dependencies:[Ur,I1],encapsulation:2,changeDetection:0})}})(),Ow=(()=>{class t{directionality;nzSize="default";dir="ltr";destroy$=new C;constructor(e){this.directionality=e}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static \u0275fac=function(r){return new(r||t)(v(Pe))};static \u0275cmp=ge({type:t,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(r,i){r&2&&ye("ant-btn-group-lg",i.nzSize==="large")("ant-btn-group-sm",i.nzSize==="small")("ant-btn-group-rtl",i.dir==="rtl")},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:ol,decls:1,vars:0,template:function(r,i){r&1&&(ft(),pt(0))},encapsulation:2,changeDetection:0})}return t})(),Hw=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[dm,N0,il]})}return t})();function um(t,n){if(t&1&&Ge(0,"nz-icon",0),t&2){let e=re();_e("nzType",e.iconType)}}var f3=(()=>{class t{formStatusChanges=new N1(1);static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Ga=(()=>{class t{noFormStatus=new Ie(!1);static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),mm={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},p3=(()=>{class t{cdr;status="";constructor(e){this.cdr=e}iconType=null;ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?mm[this.status]:null,this.cdr.markForCheck()}static \u0275fac=function(r){return new(r||t)(v(De))};static \u0275cmp=ge({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(r,i){r&2&&ye("ant-form-item-feedback-icon-error",i.status==="error")("ant-form-item-feedback-icon-warning",i.status==="warning")("ant-form-item-feedback-icon-success",i.status==="success")("ant-form-item-feedback-icon-validating",i.status==="validating")},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[G],decls:1,vars:1,consts:[[3,"nzType"]],template:function(r,i){r&1&&Se(0,um,1,1,"nz-icon",0),r&2&&$e(i.iconType?0:-1)},dependencies:[Ur,I1],encapsulation:2,changeDetection:0})}return t})();var fl=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(v(ve),v(R))};static \u0275dir=S({type:t})}return t})(),_3=(()=>{class t extends fl{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,features:[fe]})}return t})(),F1=new O(""),fm={provide:F1,useExisting:Ye(()=>pm),multi:!0},pm=(()=>{class t extends _3{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){r&1&&Ct("change",function(o){return i.onChange(o.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[ne([fm]),fe]})}return t})(),vm={provide:F1,useExisting:Ye(()=>ao),multi:!0};function gm(){let t=U1()?U1().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var ym=new O(""),ao=(()=>{class t extends fl{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!gm())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(v(ve),v(R),v(ym,8))};static \u0275dir=S({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Ct("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},standalone:!1,features:[ne([vm]),fe]})}return t})();function w3(t){return t==null||M3(t)===0}function M3(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var r1=new O(""),fi=new O(""),zm=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Xa=class{static min(n){return bm(n)}static max(n){return _m(n)}static required(n){return pl(n)}static requiredTrue(n){return wm(n)}static email(n){return vl(n)}static minLength(n){return gl(n)}static maxLength(n){return yl(n)}static pattern(n){return zl(n)}static nullValidator(n){return Za()}static compose(n){return xl(n)}static composeAsync(n){return Sl(n)}};function bm(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function _m(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function pl(t){return w3(t.value)?{required:!0}:null}function wm(t){return t.value===!0?null:{required:!0}}function vl(t){return w3(t.value)||zm.test(t.value)?null:{email:!0}}function gl(t){return n=>{let e=n.value?.length??M3(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function yl(t){return n=>{let e=n.value?.length??M3(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function zl(t){if(!t)return Za;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(w3(r.value))return null;let i=r.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function Za(t){return null}function bl(t){return t!=null}function _l(t){return Bi(t)?ke(t):t}function wl(t){let n={};
vendor: 12,522 bytes, line 10
10return t.forEach(e=>{n=e!=null?z(z({},n),e):n}),Object.keys(n).length===0?null:n}function Ml(t,n){return n.map(e=>e(t))}function Mm(t){return!t.validate}function Cl(t){return t.map(n=>Mm(n)?n:e=>n.validate(e))}function xl(t){if(!t)return null;let n=t.filter(bl);return n.length==0?null:function(e){return wl(Ml(e,n))}}function C3(t){return t!=null?xl(Cl(t)):null}function Sl(t){if(!t)return null;let n=t.filter(bl);return n.length==0?null:function(e){let r=Ml(e,n).map(_l);return js(r).pipe(A(wl))}}function x3(t){return t!=null?Sl(Cl(t)):null}function sl(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Tl(t){return t._rawValidators}function kl(t){return t._rawAsyncValidators}function v3(t){return t?Array.isArray(t)?t:[t]:[]}function Qa(t,n){return Array.isArray(t)?t.includes(n):t===n}function cl(t,n){let e=v3(n);return v3(t).forEach(i=>{Qa(e,i)||e.push(i)}),e}function ll(t,n){return v3(n).filter(e=>!Qa(t,e))}var Ja=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=C3(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=x3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},g1=class extends Ja{name;get formDirective(){return null}get path(){return null}},Wt=class extends Ja{_parent=null;name=null;valueAccessor=null},eo=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Cm={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},eM=X(z({},Cm),{"[class.ng-submitted]":"isSubmitted"}),Dl=(()=>{class t extends eo{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(v(Wt,2))};static \u0275dir=S({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&ye("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[fe]})}return t})(),tM=(()=>{class t extends eo{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(v(g1,10))};static \u0275dir=S({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&ye("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[fe]})}return t})();var si="VALID",Ka="INVALID",$r="PENDING",ci="DISABLED",Y1=class{},to=class extends Y1{value;source;constructor(n,e){super(),this.value=n,this.source=e}},hi=class extends Y1{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},di=class extends Y1{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Gr=class extends Y1{status;source;constructor(n,e){super(),this.status=n,this.source=e}},g3=class extends Y1{source;constructor(n){super(),this.source=n}},y3=class extends Y1{source;constructor(n){super(),this.source=n}};function S3(t){return(oo(t)?t.validators:t)||null}function xm(t){return Array.isArray(t)?C3(t):t||null}function T3(t,n){return(oo(n)?n.asyncValidators:t)||null}function Sm(t){return Array.isArray(t)?x3(t):t||null}function oo(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Pl(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new Q(1e3,"");if(!r[e])throw new Q(1001,"")}function El(t,n,e){t._forEachChild((r,i)=>{if(e[i]===void 0)throw new Q(1002,"")})}var Kr=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Ot(this.statusReactive)}set status(n){Ot(()=>this.statusReactive.set(n))}_status=ht(()=>this.statusReactive());statusReactive=Le(void 0);get valid(){return this.status===si}get invalid(){return this.status===Ka}get pending(){return this.status==$r}get disabled(){return this.status===ci}get enabled(){return this.status!==ci}errors;get pristine(){return Ot(this.pristineReactive)}set pristine(n){Ot(()=>this.pristineReactive.set(n))}_pristine=ht(()=>this.pristineReactive());pristineReactive=Le(!0);get dirty(){return!this.pristine}get touched(){return Ot(this.touchedReactive)}set touched(n){Ot(()=>this.touchedReactive.set(n))}_touched=ht(()=>this.touchedReactive());touchedReactive=Le(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(cl(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(cl(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ll(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ll(n,this._rawAsyncValidators))}hasValidator(n){return Qa(this._rawValidators,n)}hasAsyncValidator(n){return Qa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(X(z({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new di(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new di(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(X(z({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new hi(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new hi(!0,r))}markAsPending(n={}){this.status=$r;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Gr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(X(z({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ci,this.errors=null,this._forEachChild(i=>{i.disable(X(z({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new to(this.value,r)),this._events.next(new Gr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(X(z({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=si,this._forEachChild(r=>{r.enable(X(z({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(X(z({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===si||this.status===$r)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new to(this.value,e)),this._events.next(new Gr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(X(z({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ci:si}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=$r,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let r=_l(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(n,e){let r=e?this.get(e):this;return r&&r.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Gr(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new te,this.statusChanges=new te}_calculateStatus(){return this._allControlsDisabled()?ci:this.errors?Ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($r)?$r:this._anyControlsHaveStatus(Ka)?Ka:si}
vendor: 15,961 bytes, line 10
10_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),i&&this._events.next(new hi(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new di(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){oo(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=xm(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Sm(this._rawAsyncValidators)}},Xr=class extends Kr{constructor(n,e,r){super(S3(e),T3(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){El(this,!0,n),Object.keys(n).forEach(r=>{Pl(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((i,a)=>{r=e(r,i,a)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var z3=class extends Xr{};var Zr=new O("",{providedIn:"root",factory:()=>so}),so="always";function Vl(t,n){return[...n.path,t]}function mi(t,n,e=so){k3(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),km(t,n),Pm(t,n),Dm(t,n),Tm(t,n)}function ro(t,n,e=!0){let r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),io(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function no(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Tm(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function k3(t,n){let e=Tl(t);n.validator!==null?t.setValidators(sl(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=kl(t);n.asyncValidator!==null?t.setAsyncValidators(sl(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();no(n._rawValidators,i),no(n._rawAsyncValidators,i)}function io(t,n){let e=!1;if(t!==null){if(n.validator!==null){let i=Tl(t);if(Array.isArray(i)&&i.length>0){let a=i.filter(o=>o!==n.validator);a.length!==i.length&&(e=!0,t.setValidators(a))}}if(n.asyncValidator!==null){let i=kl(t);if(Array.isArray(i)&&i.length>0){let a=i.filter(o=>o!==n.asyncValidator);a.length!==i.length&&(e=!0,t.setAsyncValidators(a))}}}let r=()=>{};return no(n._rawValidators,r),no(n._rawAsyncValidators,r),e}function km(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ol(t,n)})}function Dm(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ol(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function Ol(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Pm(t,n){let e=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function Hl(t,n){t==null,k3(t,n)}function Em(t,n){return io(t,n)}function D3(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Vm(t){return Object.getPrototypeOf(t.constructor)===_3}function Al(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function P3(t,n){if(!n)return null;Array.isArray(n);let e,r,i;return n.forEach(a=>{a.constructor===ao?e=a:Vm(a)?r=a:i=a}),i||r||e||null}function Om(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var Hm={provide:g1,useExisting:Ye(()=>Am)},li=Promise.resolve(),Am=(()=>{class t extends g1{callSetDisabledState;get submitted(){return Ot(this.submittedReactive)}_submitted=ht(()=>this.submittedReactive());submittedReactive=Le(!1);_directives=new Set;form;ngSubmit=new te;options;constructor(e,r,i){super(),this.callSetDisabledState=i,this.form=new Xr({},C3(e),x3(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){li.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),mi(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){li.then(()=>{let r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){li.then(()=>{let r=this._findContainer(e.path),i=new Xr({});Hl(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){li.then(()=>{let r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){li.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Al(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(r){return new(r||t)(v(r1,10),v(fi,10),v(Zr,8))};static \u0275dir=S({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&Ct("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ne([Hm]),fe]})}return t})();function hl(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function dl(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ui=class extends Kr{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(S3(e),T3(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oo(e)&&(e.nonNullable||e.initialValueIsDefault)&&(dl(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){hl(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){hl(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){dl(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var Im=t=>t instanceof ui;var Ym={provide:Wt,useExisting:Ye(()=>Fm)},ul=Promise.resolve(),Fm=(()=>{class t extends Wt{_changeDetectorRef;callSetDisabledState;control=new ui;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new te;constructor(e,r,i,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=P3(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),D3(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){mi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){ul.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&N(r);ul.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Vl(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(v(g1,9),v(r1,10),v(fi,10),v(F1,10),v(De,8),v(Zr,8))};static \u0275dir=S({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ne([Ym]),fe,G]})}return t})();var nM=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),Lm={provide:F1,useExisting:Ye(()=>Rm),multi:!0},Rm=(()=>{class t extends _3{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){r&1&&Ct("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[ne([Lm]),fe]})}return t})();var E3=new O(""),Nm={provide:Wt,useExisting:Ye(()=>V3)},V3=(()=>{class t extends Wt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new te;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=P3(this,i)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&ro(r,this,!1),mi(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}D3(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ro(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(v(r1,10),v(fi,10),v(F1,10),v(E3,8),v(Zr,8))};static \u0275dir=S({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ne([Nm]),fe,G]})}return t})(),Bm={provide:g1,useExisting:Ye(()=>jm)},jm=(()=>{class t extends g1{callSetDisabledState;get submitted(){return Ot(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=ht(()=>this._submittedReactive());_submittedReactive=Le(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new te;constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(io(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let r=this.form.get(e.path);return mi(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}
10removeControl(e){ro(e.control||null,e,!1),Om(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this._submittedReactive.set(!0),Al(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new g3(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new y3(this.form))}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(ro(r||null,e),Im(i)&&(mi(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);Hl(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let r=this.form.get(e.path);r&&Em(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){k3(this.form,this),this._oldForm&&io(this._oldForm,this)}static \u0275fac=function(r){return new(r||t)(v(r1,10),v(fi,10),v(Zr,8))};static \u0275dir=S({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Ct("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ne([Bm]),fe,G]})}return t})();var Um={provide:Wt,useExisting:Ye(()=>qm)},qm=(()=>{class t extends Wt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new te;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,a,o){super(),this._ngModelWarningConfig=o,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=P3(this,a)}ngOnChanges(e){this._added||this._setUpControl(),D3(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Vl(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(v(g1,13),v(r1,10),v(fi,10),v(F1,10),v(E3,8))};static \u0275dir=S({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ne([Um]),fe,G]})}return t})();function Il(t){return typeof t=="number"?t:parseInt(t,10)}var pi=(()=>{class t{_validator=Za;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Za,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,features:[G]})}return t})();var Wm={provide:r1,useExisting:Ye(()=>$m),multi:!0};var $m=(()=>{class t extends pi{required;inputName="required";normalizeInput=N;createValidator=e=>pl;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&Mt("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ne([Wm]),fe]})}return t})();var Gm={provide:r1,useExisting:Ye(()=>Km),multi:!0},Km=(()=>{class t extends pi{email;inputName="email";normalizeInput=N;createValidator=e=>vl;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[ne([Gm]),fe]})}return t})(),Xm={provide:r1,useExisting:Ye(()=>Zm),multi:!0},Zm=(()=>{class t extends pi{minlength;inputName="minlength";normalizeInput=e=>Il(e);createValidator=e=>gl(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Mt("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ne([Xm]),fe]})}return t})(),Qm={provide:r1,useExisting:Ye(()=>O3),multi:!0},O3=(()=>{class t extends pi{maxlength;inputName="maxlength";normalizeInput=e=>Il(e);createValidator=e=>yl(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Mt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ne([Qm]),fe]})}return t})(),Jm={provide:r1,useExisting:Ye(()=>ef),multi:!0},ef=(()=>{class t extends pi{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>zl(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Mt("pattern",
10i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[ne([Jm]),fe]})}return t})();var Yl=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})(),b3=class extends Kr{constructor(n,e,r){super(S3(e),T3(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,r={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,e={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){El(this,!1,n),n.forEach((r,i)=>{Pl(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,r)=>r._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,r)=>{n(e,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function ml(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var H3=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,r=null){let i=this._reduceControls(e),a={};return ml(r)?a=r:r!==null&&(a.validators=r.validator,a.asyncValidators=r.asyncValidator),new Xr(i,a)}record(e,r=null){let i=this._reduceControls(e);return new z3(i,r)}control(e,r,i){let a={};return this.useNonNullable?(ml(r)?a=r:(a.validators=r,a.asyncValidators=i),new ui(e,X(z({},a),{nonNullable:!0}))):new ui(e,r,i)}array(e,r,i){let a=e.map(o=>this._createControl(o));return new b3(a,r,i)}_reduceControls(e){let r={};return Object.keys(e).forEach(i=>{r[i]=this._createControl(e[i])}),r}_createControl(e){if(e instanceof ui)return e;if(e instanceof Kr)return e;if(Array.isArray(e)){let r=e[0],i=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(r,i,a)}else return this.control(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iM=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:()=>h(H3).nonNullable,providedIn:"root"})}return t})();var aM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Zr,useValue:e.callSetDisabledState??so}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[Yl]})}return t})(),Fl=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:E3,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Zr,useValue:e.callSetDisabledState??so}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[Yl]})}return t})();function co(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var lo=new WeakMap,vi=(()=>{class t{_appRef;_injector=h(Fe);_environmentInjector=h(_t);load(e){let r=this._appRef=this._appRef||this._injector.get(s1),i=lo.get(r);i||(i={loaders:new Set,refs:[]},lo.set(r,i),r.onDestroy(()=>
vendor: 5,758 bytes, line 10
10{lo.get(r)?.refs.forEach(a=>a.destroy()),lo.delete(r)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(Xi(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ll=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,i){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return t})();function A3(t){return Pt(t)?t:P(t)}var rf=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rl=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({providers:[rf]})}return t})();var wf=200,mo=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:wf;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ze(e=>this._pressedLetters.push(e)),Yi(n),ue(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;r<this._items.length+1;r++){let i=(this._selectedItemIndex+r)%this._items.length,a=this._items[i];if(!this._skipPredicateFn?.(a)&&a.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(a);break}}this._pressedLetters=[]})}},L3=class{_items;_activeItemIndex=-1;_activeItem=Le(null);_wrap=!1;_typeaheadSubscription=Je.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Ni?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):y4(n)&&(this._effectRef=x4(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new mo(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!n[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a<o?a:o-1,-1);break}else return;default:(i||co(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),r=typeof n=="number"?n:e.indexOf(n),i=e[r];this._activeItem.set(i??null),this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r)}
10destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let r=1;r<=e.length;r++){let i=(this._activeItemIndex+n*r+e.length)%e.length,a=e[i];if(!this._skipPredicateFn(a)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=e,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return y4(this._items)?this._items():this._items instanceof Ni?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let r=n.indexOf(e);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Nl=class extends L3{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}},R3=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=Je.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof Ni?(this._items=n.toArray(),n.changes.subscribe(r=>{this._items=r.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Pt(n)?n.subscribe(r=>{this._items=r,this._typeahead?.setItems(r),this._updateActiveItemIndex(r),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new C;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(o=>this._trackByFn(o)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let i=this._items[r];if(this._activeItem!==null&&this._trackByFn(i)===this._trackByFn(this._activeItem))return;let a=this._activeItem;this._activeItem=i??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),a?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(i=>this._trackByFn(i)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new mo(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}
10),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?A3(this._activeItem.getChildren()).pipe(ot(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=A3(n.getChildren()):e=P(this._items.filter(r=>r.getParent()===null)),e.pipe(ot(1)).subscribe(r=>{for(let i of r)i.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function Mf(){return(t,n)=>new R3(t,n)}var HM=new O("tree-key-manager",{providedIn:"root",factory:Mf});var Cf=(()=>{class t{_platform=h(me);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Sf(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=xf(Hf(e));if(r&&(Bl(r)===-1||!this.isVisible(r)))return!1;let i=e.nodeName.toLowerCase(),a=Bl(e);return e.hasAttribute("contenteditable")?a!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Vf(e)?!1:i==="audio"?e.hasAttribute("controls")?a!==-1:!1:i==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return Of(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xf(t){try{return t.frameElement}catch{return null}}function Sf(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Tf(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function kf(t){return Pf(t)&&t.type=="hidden"}function Df(t){return Ef(t)&&t.hasAttribute("href")}function Pf(t){return t.nodeName.toLowerCase()=="input"}function Ef(t){return t.nodeName.toLowerCase()=="a"}function ql(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Bl(t){if(!ql(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Vf(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function Of(t){return kf(t)?!1:Tf(t)||Df(t)||t.hasAttribute("contenteditable")||ql(t)}function Hf(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var N3=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,r,i,a=!1,o){this._element=n,this._checker=e,this._ngZone=r,this._document=i,this._injector=o,a||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=0;r<e.length;r++){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(i)return i}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=e.length-1;r>=0;r--){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(i)return i}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Zt(n,{injector:this._injector}):setTimeout(n)}},Af=(()=>{class t{_checker=h(Cf);_ngZone=h(W);_document=h(U);_injector=h(Fe);constructor(){h(vi).load(Ll)}create(e,r=!1){return new N3(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AM=(()=>{class t{_elementRef=h(R);_focusTrapFactory=h(Af);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){h(me).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let r=e.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=A0(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",N],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",N]},exportAs:["cdkTrapFocus"],features:[G]})}return t})();function If(t){return t.buttons===0||t.detail===0}function Yf(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Ff=new O("cdk-input-modality-detector-options"),Lf={ignoreKeys:[18,17,224,91,16]},Wl=650,I3={passive:!0,capture:!0},Rf=(()=>{class t{_platform=h(me);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ie(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=At(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Wl||(this._modality.next(If(e)?"keyboard":"mouse"),this._mostRecentTarget=At(e))};_onTouchstart=e=>{if(Yf(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=At(e)};constructor(){let e=h(W),r=h(U),i=h(Ff,{optional:!0});if(this._options=z(z({},Lf),i),this.modalityDetected=this._modality.pipe(Fi(1)),this.modalityChanged=this.modalityDetected.pipe(Et()),this._platform.isBrowser){let a=h(Oe).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[v1(a,r,"keydown",this._onKeydown,I3),v1(a,r,"mousedown",this._onMousedown,I3),v1(a,r,"touchstart",this._onTouchstart,I3)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e
vendor: 5,965 bytes, line 10
10=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var uo=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(uo||{}),Nf=new O("cdk-focus-monitor-default-options"),ho=O0({passive:!0,capture:!0}),B3=(()=>{class t{_ngZone=h(W);_platform=h(me);_inputModalityDetector=h(Rf);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=h(U,{optional:!0});_stopInputModalityDetector=new C;constructor(){let e=h(Nf,{optional:!0});this._detectionMode=e?.detectionMode||uo.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=At(e);for(let i=r;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,r=!1){let i=A1(e);if(!this._platform.isBrowser||i.nodeType!==1)return P();let a=H0(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return r&&(o.checkChildren=!0),o.subject;let s={checkChildren:r,subject:new C,rootNode:a};return this._elementInfo.set(i,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let r=A1(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){let a=A1(e),o=this._getDocument().activeElement;a===o?this._getClosestElementsInfo(a).forEach(([s,c])=>this._originChanged(s,r,c)):(this._setOrigin(r),typeof a.focus=="function"&&a.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===uo.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===uo.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Wl:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,r){let i=this._elementInfo.get(r),a=At(e);!i||!i.checkChildren&&r!==a||this._originChanged(r,this._getFocusOrigin(a),i)}_onBlur(e,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,ho),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,ho)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(L(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ho),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ho),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((i,a)=>{(a===e||i.checkChildren&&a.contains(e))&&r.push([a,i])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let o=0;o<a.length;o++)if(a[o].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IM=(()=>{class t{_elementRef=h(R);_focusMonitor=h(B3);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new te;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})(),ar=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(ar||{}
10),jl="cdk-high-contrast-black-on-white",Ul="cdk-high-contrast-white-on-black",Y3="cdk-high-contrast-active",Bf=(()=>{class t{_platform=h(me);_hasCheckedHighContrastMode;_document=h(U);_breakpointSubscription;constructor(){this._breakpointSubscription=h(q0).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ar.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,a=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ar.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ar.BLACK_ON_WHITE}return ar.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Y3,jl,Ul),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===ar.BLACK_ON_WHITE?e.add(Y3,jl):r===ar.WHITE_ON_BLACK&&e.add(Y3,Ul)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),YM=(()=>{class t{constructor(){h(Bf)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[Rl]})}return t})(),F3={},$l=(()=>{class t{_appId=h(vn);getId(e){return this._appId!=="ng"&&(e+=this._appId),F3.hasOwnProperty(e)||(F3[e]=0),`${e}${F3[e]++}`}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Uf=["nz-input-group-slot",""],Gl=["*"];function qf(t,n){if(t&1&&Ge(0,"nz-icon",0),t&2){let e=re();_e("nzType",e.icon)}}function Wf(t,n){if(t&1&&(Wi(0),xr(1),$i()),t&2){let e=re();be(),Sr(e.template)}}function $f(t,n){if(t&1&&Ge(0,"span",3),t&2){let e=re(2);_e("icon",e.nzAddOnBeforeIcon)("template",e.nzAddOnBefore)}}function Gf(t,n){}function Kf(t,n){if(t&1&&(et(0,"span",6),Se(1,Gf,0,0,"ng-template",5),tt()),t&2){let e=re(2),r=Cr(3);Mr(e.affixInGroupStatusCls),ye("ant-input-affix-wrapper-disabled",e.disabled)("ant-input-affix-wrapper-sm",e.isSmall)("ant-input-affix-wrapper-lg",e.isLarge)("ant-input-affix-wrapper-focused",e.focused),be(),_e("ngTemplateOutlet",r)}}function Xf(t,n){}function Zf(t,n){if(t&1&&Se(0,Xf,0,0,"ng-template",5),t&2){re(2);let e=Cr(5);_e("ngTemplateOutlet",e)}}function Qf(t,n){if(t&1&&Ge(0,"span",3),t&2){let e=re(2);_e("icon",e.nzAddOnAfterIcon)("template",e.nzAddOnAfter)}}function Jf(t,n){if(t&1&&(et(0,"span",2),Se(1,$f,1,2,"span",3)(2,Kf,2,11,"span",4)(3,Zf,1,1,null,5)(4,Qf,1,2,"span",3),tt()),t&2){let e=re();be(),$e(e.nzAddOnBefore||e.nzAddOnBeforeIcon?1:-1),be(),$e(e.isAffix||e.hasFeedback?2:3),be(2),$e(e.nzAddOnAfter||e.nzAddOnAfterIcon?4:-1)}}function ep(t,n){}function tp(t,n){if(t&1&&Se(0,ep,0,0,"ng-template",5),t&2){re(2);let e=Cr(3);_e("ngTemplateOutlet",e)}}function rp(t,n){}function np(t,n){if(t&1&&Se(0,rp,0,0,"ng-template",5),t&2){re(2);let e=Cr(5);_e("ngTemplateOutlet",e)}}function ip(t,n){if(t&1&&Se(0,tp,1,1,null,5)(1,np,1,1,null,5),t&2){let e=re();$e(e.isAffix?0:1)}}function ap(t,n){if(t&1&&Ge(0,"span",7),t&2){let e=re(2);_e("icon",e.nzPrefixIcon)("template",e.nzPrefix)}}function op(t,n){}function sp(t,n){if(t&1&&Ge(0,"nz-form-item-feedback-icon",9),t&2){let e=re(3);_e("status",e.status)}}function cp(t,n){if(t&1&&(et(0,"span",8),Se(1,sp,1,1,"nz-form-item-feedback-icon",9),tt()),t&2){let e=re(2);_e("icon",e.nzSuffixIcon)("template",e.nzSuffix),be(),$e(e.isFeedback?1:-1)}}function lp(t,n){if(t&1&&Se(0,ap,1,2,"span",7)(1,op,0,0,"ng-template",5)(2,cp,2,3,"span",8),t&2){let e=re(),r=Cr(5);$e(e.nzPrefix||e.nzPrefixIcon?0:-1),be(),_e("ngTemplateOutlet",r),be(),$e(e.nzSuffix||e.nzSuffixIcon||e.isFeedback?2:-1)}}function hp(t,n){if(t&1&&(et(0,"span",10),Ge(1,"nz-form-item-feedback-icon",9),tt()),t&2){let e=re(2);be(),_e("status",e.status)}}function dp(t,n){if(t&1&&(pt(0),Se(1,hp,2,1,"span",10)),t&2){let e=re();be(),$e(!e.isAddOn&&!e.isAffix&&e.isFeedback?1:-1)}}var up=["otpInput"];function mp(t,n){if(t&1){let e=Gi();et(0,"input",2,0),Ct("input",function(i){let a=n1(e).$index,o=re();return i1(o.onInput(a,i))})("focus",function(i){n1(e);let a=re();return i1(a.onFocus(i))})("keydown",function(i){let a=n1(e).$index,o=re();return i1(o.onKeyDown(a,i))})("paste",function(i){let a=n1(e).$index,o=re();return i1(o.onPaste(a,i))}),tt()}if(t&2){let e=n.$implicit,r=re();_e("nzSize",r.nzSize)("formControl",e)("nzStatus",r.nzStatus)}}var fp=[[["textarea","nz-input",""]]],pp=["textarea[nz-input]"],sC=(()=>{class t{ngZone;platform;resizeService;autosize=!1;el=h(R).nativeElement;cachedLineHeight;previousValue;previousMinRows;minRows;maxRows;maxHeight=null;minHeight=null;destroy$=new C;
10inputGap=10;set nzAutosize(e){typeof e=="string"||e===!0?this.autosize=!0:(i=>typeof i!="string"&&typeof i!="boolean"&&(!!i.maxRows||!!i.minRows))(e)&&(this.autosize=!0,this.minRows=e.minRows,this.maxRows=e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(e=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;let r=this.el,i=r.value;if(!e&&this.minRows===this.previousMinRows&&i===this.previousValue)return;let a=r.placeholder;r.classList.add("nz-textarea-autosize-measuring"),r.placeholder="";let o=Math.round((r.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;this.maxHeight!==null&&o>this.maxHeight&&(o=this.maxHeight),this.minHeight!==null&&o<this.minHeight&&(o=this.minHeight),r.style.height=`${o}px`,r.classList.remove("nz-textarea-autosize-measuring"),r.placeholder=a,typeof requestAnimationFrame<"u"&&this.ngZone.runOutsideAngular(()=>requestAnimationFrame(()=>{let{selectionStart:s,selectionEnd:c}=r;!this.destroy$.isStopped&&document.activeElement===r&&r.setSelectionRange(s,c)})),this.previousValue=i,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;let e=this.el.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this.el.parentNode.appendChild(e),this.cachedLineHeight=e.clientHeight-this.inputGap,this.el.parentNode.removeChild(e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){let e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.minHeight=`${e}px`),e}setMaxHeight(){let e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.maxHeight=`${e}px`),e}noopInputHandler(){}constructor(e,r,i){this.ngZone=e,this.platform=r,this.resizeService=i}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe(L(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}static \u0275fac=function(r){return new(r||t)(v(W),v(me),v(s3))};static \u0275dir=S({type:t,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(r,i){r&1&&Ct("input",function(){return i.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]})}return t})(),cC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzInputAddonBefore",""]]})}return t})(),lC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzInputAddonAfter",""]]})}return t})(),hC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzInputPrefix",""]]})}return t})(),dC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzInputSuffix",""]]})}return t})(),Kl=(()=>{class t{icon=null;type=null;template=null;static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(r,i){r&2&&ye("ant-input-group-addon",i.type==="addon")("ant-input-prefix",i.type==="prefix")("ant-input-suffix",i.type==="suffix")},inputs:{icon:"icon",type:"type",template:"template"},attrs:Uf,ngContentSelectors:Gl,decls:3,vars:2,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"]],template:function(r,i){r&1&&(ft(),Se(0,qf,1,1,"nz-icon",0)(1,Wf,2,1,"ng-container",1),pt(2)),r&2&&($e(i.icon?0:-1),be(),_e("nzStringTemplateOutlet",i.template))},dependencies:[Ur,I1,$a,qr],encapsulation:2,changeDetection:0})}return t})(),j3=(()=>{class t{renderer;elementRef;hostView;directionality;nzBorderless=!1;nzSize="default";nzStepperless=!0;nzStatus="";get disabled(){return this.ngControl&&this.ngControl.disabled!==null?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e}_disabled=!1;disabled$=new C;dir="ltr";prefixCls="ant-input";status="";
10statusCls={};hasFeedback=!1;feedbackRef=null;components=[];ngControl=h(Wt,{self:!0,optional:!0});finalSize=ht(()=>this.compactSize?this.compactSize():this.size());size=Le(this.nzSize);compactSize=h(ai,{optional:!0});destroy$=h(Tt);nzFormStatusService=h(f3,{optional:!0});nzFormNoStatusService=h(Ga,{optional:!0});constructor(e,r,i,a){this.renderer=e,this.elementRef=r,this.hostView=i,this.directionality=a}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Et((e,r)=>e.status===r.status&&e.hasFeedback===r.hasFeedback),L(this.destroy$)).subscribe(({status:e,hasFeedback:r})=>{this.setStatusStyles(e,r)}),this.ngControl&&this.ngControl.statusChanges?.pipe(ue(()=>this.ngControl.disabled!==null),L(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)}),this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges({disabled:e,nzStatus:r,nzSize:i}){e&&this.disabled$.next(this.disabled),r&&this.setStatusStyles(this.nzStatus,this.hasFeedback),i&&this.size.set(i.currentValue)}setStatusStyles(e,r){this.status=e,this.hasFeedback=r,this.renderFeedbackIcon(),this.statusCls=ei(this.prefixCls,e,r),Object.keys(this.statusCls).forEach(i=>{this.statusCls[i]?this.renderer.addClass(this.elementRef.nativeElement,i):this.renderer.removeClass(this.elementRef.nativeElement,i)})}renderFeedbackIcon(){if(!this.status||!this.hasFeedback||this.nzFormNoStatusService){this.hostView.clear(),this.feedbackRef=null;return}this.feedbackRef=this.feedbackRef||this.hostView.createComponent(p3),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status,this.feedbackRef.instance.updateIcon()}static \u0275fac=function(r){return new(r||t)(v(ve),v(R),v(mt),v(Pe))};static \u0275dir=S({type:t,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:13,hostBindings:function(r,i){r&2&&(Mt("disabled",i.disabled||null),ye("ant-input-disabled",i.disabled)("ant-input-borderless",i.nzBorderless)("ant-input-lg",i.finalSize()==="large")("ant-input-sm",i.finalSize()==="small")("ant-input-rtl",i.dir==="rtl")("ant-input-stepperless",i.nzStepperless))},inputs:{nzBorderless:[2,"nzBorderless","nzBorderless",N],nzSize:"nzSize",nzStepperless:[2,"nzStepperless","nzStepperless",N],nzStatus:"nzStatus",disabled:[2,"disabled","disabled",N]},exportAs:["nzInput"],features:[ne([Tt,{provide:Wr,useValue:"input"}]),zn([oi]),G]})}return t})(),uC=(()=>{class t{elementRef;constructor(e){this.elementRef=e}static \u0275fac=function(r){return new(r||t)(v(R))};static \u0275dir=S({type:t,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]})}return t})(),vp=(()=>{class t{focusMonitor;elementRef;renderer;cdr;directionality;listOfNzInputDirective;nzAddOnBeforeIcon=null;nzAddOnAfterIcon=null;nzPrefixIcon=null;nzSuffixIcon=null;nzAddOnBefore;nzAddOnAfter;nzPrefix;nzStatus="";nzSuffix;nzSize="default";nzSearch=!1;nzCompact=!1;isLarge=!1;isSmall=!1;isAffix=!1;isAddOn=!1;isFeedback=!1;focused=!1;disabled=!1;dir="ltr";prefixCls="ant-input";affixStatusCls={};groupStatusCls={};affixInGroupStatusCls={};status="";hasFeedback=!1;destroy$=new C;nzFormStatusService=h(f3,{optional:!0});nzFormNoStatusService=h(Ga,{optional:!0});constructor(e,r,i,a,o){this.focusMonitor=e,this.elementRef=r,this.renderer=i,this.cdr=a,this.directionality=o}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(e=>e.size.set(this.nzSize))}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Et((e,r)=>e.status===r.status&&e.hasFeedback===r.hasFeedback),L(this.destroy$)).subscribe(({status:e,hasFeedback:r})=>{this.setStatusStyles(e,r)}),this.focusMonitor.monitor(this.elementRef,!0).pipe(L(this.destroy$)).subscribe(e=>{this.focused=!!e,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.updateChildrenInputSize();let e=this.listOfNzInputDirective.changes.pipe(st(this.listOfNzInputDirective));e.pipe(We(r=>j1(e,...r.map(i=>i.disabled$))),at(()=>e),A(r=>r.some(i=>i.disabled)),L(this.destroy$)).subscribe(r=>{this.disabled=r,this.cdr.markForCheck()})}ngOnChanges(e){let{nzSize:r,nzSuffix:i,nzPrefix:a,nzPrefixIcon:o,nzSuffixIcon:s,nzAddOnAfter:c,nzAddOnBefore:l,nzAddOnAfterIcon:d,nzAddOnBeforeIcon:u,nzStatus:f}=e;r&&(this.updateChildrenInputSize(),this.isLarge=this.nzSize==="large",this.isSmall=this.nzSize==="small"),(i||a||o||s)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(c||l||d||u)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.
10noFormStatus?.next(this.isAddOn)),f&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles(e,r){this.status=e,this.hasFeedback=r,this.isFeedback=!!e&&r;let i=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon);this.isAffix=i||!this.isAddOn&&r,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=ei(`${this.prefixCls}-affix-wrapper`,e,r):{},this.cdr.markForCheck(),this.affixStatusCls=ei(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":e,this.isAddOn?!1:r),this.groupStatusCls=ei(`${this.prefixCls}-group-wrapper`,this.isAddOn?e:"",this.isAddOn?r:!1);let a=z(z({},this.affixStatusCls),this.groupStatusCls);Object.keys(a).forEach(o=>{a[o]?this.renderer.addClass(this.elementRef.nativeElement,o):this.renderer.removeClass(this.elementRef.nativeElement,o)})}static \u0275fac=function(r){return new(r||t)(v(B3),v(R),v(ve),v(De),v(Pe))};static \u0275cmp=ge({type:t,selectors:[["nz-input-group"]],contentQueries:function(r,i,a){if(r&1&&x1(a,j3,4),r&2){let o;ct(o=lt())&&(i.listOfNzInputDirective=o)}},hostVars:40,hostBindings:function(r,i){r&2&&ye("ant-input-group-compact",i.nzCompact)("ant-input-search-enter-button",i.nzSearch)("ant-input-search",i.nzSearch)("ant-input-search-rtl",i.dir==="rtl")("ant-input-search-sm",i.nzSearch&&i.isSmall)("ant-input-search-large",i.nzSearch&&i.isLarge)("ant-input-group-wrapper",i.isAddOn)("ant-input-group-wrapper-rtl",i.dir==="rtl")("ant-input-group-wrapper-lg",i.isAddOn&&i.isLarge)("ant-input-group-wrapper-sm",i.isAddOn&&i.isSmall)("ant-input-affix-wrapper",i.isAffix&&!i.isAddOn)("ant-input-affix-wrapper-rtl",i.dir==="rtl")("ant-input-affix-wrapper-focused",i.isAffix&&i.focused)("ant-input-affix-wrapper-disabled",i.isAffix&&i.disabled)("ant-input-affix-wrapper-lg",i.isAffix&&!i.isAddOn&&i.isLarge)("ant-input-affix-wrapper-sm",i.isAffix&&!i.isAddOn&&i.isSmall)("ant-input-group",!i.isAffix&&!i.isAddOn)("ant-input-group-rtl",i.dir==="rtl")("ant-input-group-lg",!i.isAffix&&!i.isAddOn&&i.isLarge)("ant-input-group-sm",!i.isAffix&&!i.isAddOn&&i.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:[2,"nzSearch","nzSearch",N],nzCompact:[2,"nzCompact","nzCompact",N]},exportAs:["nzInputGroup"],features:[ne([Ga,{provide:Wr,useValue:"input"}]),zn([oi]),G],ngContentSelectors:Gl,decls:6,vars:1,consts:[["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","class"],[3,"ngTemplateOutlet"],[1,"ant-input-affix-wrapper"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status"],["nz-input-group-slot","","type","suffix"]],template:function(r,i){r&1&&(ft(),Se(0,Jf,5,3,"span",2)(1,ip,2,1)(2,lp,3,3,"ng-template",null,0,_n)(4,dp,2,1,"ng-template",null,1,_n)),r&2&&$e(i.isAddOn?0:1)},dependencies:[Kl,Qi,p3],encapsulation:2,changeDetection:0})}return t})(),gp=(()=>{class t{formBuilder;nzDestroyService;otpInputs;nzLength=6;nzSize="default";disabled=!1;nzStatus="";nzFormatter=e=>e;nzMask=null;otpArray;internalValue=[];onChangeCallback;onTouched=()=>{};constructor(e,r){this.formBuilder=e,this.nzDestroyService=r,this.createFormArray()}ngOnChanges(e){e.nzLength?.currentValue&&this.createFormArray(),e.disabled&&this.setDisabledState(this.disabled)}onInput(e,r){let i=r.target,a=this.otpInputs.toArray()[e+1];i.value&&a?a.nativeElement.focus():a||this.selectInputBox(e)}onFocus(e){e.target.select()}onKeyDown(e,r){let i=this.otpInputs.toArray()[e-1];r.keyCode===8&&(r.preventDefault(),this.internalValue[e]="",this.otpArray.at(e).setValue("",{emitEvent:!1}),i&&this.selectInputBox(e-1),this.emitValue())}writeValue(e){if(!e){this.otpArray.reset();return}let r=e.split("");this.internalValue=r,r.forEach((i,a)=>{let o=this.nzFormatter(i),s=this.nzMask?this.nzMask:o;this.otpArray.at(a).setValue(s,{emitEvent:!1})})}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.otpArray.disable():this.otpArray.enable()}onPaste(e,r){let i=r.clipboardData?.getData("text")||"";if(!i)return;let a=e;for(let o of i.split(""))if(a<this.nzLength){let s=this.nzFormatter(o);
10this.internalValue[a]=o;let c=this.nzMask?this.nzMask:s;this.otpArray.at(a).setValue(c,{emitEvent:!1}),a++}else break;r.preventDefault(),this.selectInputBox(a),this.emitValue()}createFormArray(){this.otpArray=this.formBuilder.array([]),this.internalValue=new Array(this.nzLength).fill("");for(let e=0;e<this.nzLength;e++){let r=this.formBuilder.nonNullable.control("",[Xa.required]);r.valueChanges.pipe(ze(i=>{let a=this.nzFormatter(i);this.internalValue[e]=a,r.setValue(this.nzMask??a,{emitEvent:!1}),this.emitValue()}),L(this.nzDestroyService)).subscribe(),this.otpArray.push(r)}}emitValue(){let e=this.internalValue.join("");this.onChangeCallback&&this.onChangeCallback(e)}selectInputBox(e){let r=this.otpInputs.toArray();e>=r.length&&(e=r.length-1),r[e].nativeElement.select()}static \u0275fac=function(r){return new(r||t)(v(H3),v(Tt))};static \u0275cmp=ge({type:t,selectors:[["nz-input-otp"]],viewQuery:function(r,i){if(r&1&&S1(up,5),r&2){let a;ct(a=lt())&&(i.otpInputs=a)}},hostAttrs:[1,"ant-otp"],inputs:{nzLength:[2,"nzLength","nzLength",c1],nzSize:"nzSize",disabled:[2,"disabled","disabled",N],nzStatus:"nzStatus",nzFormatter:"nzFormatter",nzMask:"nzMask"},exportAs:["nzInputOtp"],features:[ne([{provide:F1,useExisting:Ye(()=>t),multi:!0},Tt]),G],decls:2,vars:0,consts:[["otpInput",""],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"nzSize","formControl","nzStatus"],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"input","focus","keydown","paste","nzSize","formControl","nzStatus"]],template:function(r,i){r&1&&Ui(0,mp,2,3,"input",1,z6),r&2&&qi(i.otpArray.controls)},dependencies:[j3,Fl,ao,Dl,O3,V3],encapsulation:2,changeDetection:0})}return t})(),mC=(()=>{class t{renderer;elementRef;nzInputDirective;nzMaxCharacterCount=0;nzComputeCharacterCount=e=>e.length;nzFormatter=(e,r)=>`${e}${r>0?`/${r}`:""}`;configChange$=new C;destroy$=new C;constructor(e,r){this.renderer=e,this.elementRef=r}ngAfterContentInit(){if(!this.nzInputDirective&&Tr())throw new Error("[nz-textarea-count]: Could not find matching textarea[nz-input] child.");if(this.nzInputDirective.ngControl){let e=this.nzInputDirective.ngControl.valueChanges||bt;j1(e,this.configChange$).pipe(L(this.destroy$),A(()=>this.nzInputDirective.ngControl.value),st(this.nzInputDirective.ngControl.value)).subscribe(r=>{this.setDataCount(r)})}}setDataCount(e){let r=Te(e)?String(e):"",i=this.nzComputeCharacterCount(r),a=this.nzFormatter(i,this.nzMaxCharacterCount);this.renderer.setAttribute(this.elementRef.nativeElement,"data-count",a)}ngOnDestroy(){this.configChange$.complete(),this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(r){return new(r||t)(v(ve),v(R))};static \u0275cmp=ge({type:t,selectors:[["nz-textarea-count"]],contentQueries:function(r,i,a){if(r&1&&x1(a,j3,7),r&2){let o;ct(o=lt())&&(i.nzInputDirective=o.first)}},hostAttrs:[1,"ant-input-textarea-show-count"],inputs:{nzMaxCharacterCount:[2,"nzMaxCharacterCount","nzMaxCharacterCount",c1],nzComputeCharacterCount:"nzComputeCharacterCount",nzFormatter:"nzFormatter"},ngContentSelectors:pp,decls:1,vars:0,template:function(r,i){r&1&&(ft(fp),pt(0))},encapsulation:2,changeDetection:0})}return t})(),fC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[vp,Kl,gp]})}return t})();var yp=(()=>{class t{elementRef;renderer;mediaMatcher;ngZone;platform;breakpointService;directionality;nzAlign=null;nzJustify=null;nzGutter=null;actualGutter$=new N1(1);dir="ltr";destroy$=new C;getGutter(){let e=[null,null],r=this.nzGutter||0;return(Array.isArray(r)?r:[r,null]).forEach((a,o)=>{typeof a=="object"&&a!==null?(e[o]=null,Object.keys(ii).map(s=>{let c=s;this.mediaMatcher.matchMedia(ii[c]).matches&&a[c]&&(e[o]=a[c])})):e[o]=Number(a)||null}),e}setGutterStyle(){let[e,r]=this.getGutter();this.actualGutter$.next([e,r]);let i=(a,o)=>{let s=this.elementRef.nativeElement;o!==null&&this.renderer.setStyle(s,a,`-${o/2}px`)};i("margin-left",e),i("margin-right",e),i("margin-top",r),i("margin-bottom",r)}constructor(e,r,i,a,o,s,c){this.elementRef=e,this.renderer=r,this.mediaMatcher=i,this.ngZone=a,this.platform=o,this.breakpointService=s,this.directionality=c}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(ii).pipe(L(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(r){return new(r||t)(v(R),v(ve),v(ni),v(W),v(me),v(K0),v(Pe))};static \u0275dir=S({type:t,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(r,i){r&2&&ye("ant-row-top",i.nzAlign==="top")("ant-row-middle",i.nzAlign==="middle")("ant-row-bottom",i.nzAlign==="bottom")("ant-row-start",i.nzJustify==="start")("ant-row-end",i.nzJustify==="end")("ant-row-center",i.nzJustify==="center")("ant-row-space-around",i.nzJustify==="space-around")("ant-row-space-between",i.nzJustify==="space-between")("ant-row-space-evenly",i.nzJustify==="space-evenly")("ant-row-rtl",i.dir==="rtl")},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[G]})}return t})(),xC=(()=>{class t{elementRef;renderer;directionality;classMap={};destroy$=new C;hostFlexStyle=null;dir="ltr";nzFlex=null;nzSpan=null;nzOrder=null;nzOffset=null;nzPush=null;nzPull=null;
10nzXs=null;nzSm=null;nzMd=null;nzLg=null;nzXl=null;nzXXl=null;setHostClassMap(){let e=z({"ant-col":!0,[`ant-col-${this.nzSpan}`]:Te(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:Te(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:Te(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:Te(this.nzPull),[`ant-col-push-${this.nzPush}`]:Te(this.nzPush),"ant-col-rtl":this.dir==="rtl"},this.generateClass());for(let r in this.classMap)this.classMap.hasOwnProperty(r)&&this.renderer.removeClass(this.elementRef.nativeElement,r);this.classMap=z({},e);for(let r in this.classMap)this.classMap.hasOwnProperty(r)&&this.classMap[r]&&this.renderer.addClass(this.elementRef.nativeElement,r)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(e){return typeof e=="number"?`${e} ${e} auto`:typeof e=="string"&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}generateClass(){let e=["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],r={};return e.forEach(i=>{let a=i.replace("nz","").toLowerCase();if(Te(this[i]))if(typeof this[i]=="number"||typeof this[i]=="string")r[`ant-col-${a}-${this[i]}`]=!0;else{let o=this[i];["span","pull","push","offset","order"].forEach(c=>{let l=c==="span"?"-":`-${c}-`;r[`ant-col-${a}${l}${o[c]}`]=o&&Te(o[c])})}}),r}nzRowDirective=h(yp,{host:!0,optional:!0});constructor(e,r,i){this.elementRef=e,this.renderer=r,this.directionality=i}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(e){this.setHostClassMap();let{nzFlex:r}=e;r&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(L(this.destroy$)).subscribe(([e,r])=>{let i=(a,o)=>{let s=this.elementRef.nativeElement;o!==null&&this.renderer.setStyle(s,a,`${o/2}px`)};i("padding-left",e),i("padding-right",e),i("padding-top",r),i("padding-bottom",r)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(r){return new(r||t)(v(R),v(ve),v(Pe))};static \u0275dir=S({type:t,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(r,i){r&2&&C1("flex",i.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[G]})}return t})(),SC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var zp=(()=>{class t{create(e){return typeof ResizeObserver>"u"?null:new ResizeObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xl=(()=>{class t{nzResizeObserverFactory;observedElements=new Map;constructor(e){this.nzResizeObserverFactory=e}ngOnDestroy(){this.observedElements.forEach((e,r)=>this.cleanupObserver(r))}observe(e){let r=A1(e);return new qe(i=>{let o=this.observeElement(r).subscribe(i);return()=>{o.unsubscribe(),this.unobserveElement(r)}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{let r=new C,i=this.nzResizeObserverFactory.create(a=>r.next(a));i&&i.observe(e),this.observedElements.set(e,{observer:i,stream:r,count:1})}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e))}cleanupObserver(e){if(this.observedElements.has(e)){let{observer:r,stream:i}=this.observedElements.get(e);r&&r.disconnect(),i.complete(),this.observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)(T(zp))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _p=["fixedEl"],wp=["*"],U3=function(t){return t.resize="resize",t.scroll="scroll",t.touchstart="touchstart",t.touchmove="touchmove",t.touchend="touchend",t.pageshow="pageshow",t.load="LOAD",t}(U3||{});function Mp(t){return typeof window<"u"&&t===window}function Zl(t){return Mp(t)?{top:0,left:0,bottom:0}:t.getBoundingClientRect()}var Cp="affix",Qr="ant-affix",xp=20,Sp=(()=>{let t,n=[],e=[],r,i=[],a=[];return class q3{static{let s=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[tr()],r=[tr()],B1(null,null,t,{kind:"field",name:"nzOffsetTop",static:!1,private:!1,access:{has:c=>
10"nzOffsetTop"in c,get:c=>c.nzOffsetTop,set:(c,l)=>{c.nzOffsetTop=l}},metadata:s},n,e),B1(null,null,r,{kind:"field",name:"nzOffsetBottom",static:!1,private:!1,access:{has:c=>"nzOffsetBottom"in c,get:c=>c.nzOffsetBottom,set:(c,l)=>{c.nzOffsetBottom=l}},metadata:s},i,a),s&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s})}nzConfigService;scrollSrv;ngZone;platform;renderer;nzResizeObserver;cdr;directionality;_nzModuleName=Cp;fixedEl;nzTarget;nzOffsetTop=Rt(this,n,void 0);nzOffsetBottom=(Rt(this,e),Rt(this,i,void 0));nzChange=(Rt(this,a),new te);dir="ltr";placeholderNode;affixStyle;placeholderStyle;positionChangeSubscription=Je.EMPTY;offsetChanged$=new N1(1);destroy$=new C;timeout;document=h(U);get target(){let s=this.nzTarget;return(typeof s=="string"?this.document.querySelector(s):s)||window}constructor(s,c,l,d,u,f,p,w,M){this.nzConfigService=c,this.scrollSrv=l,this.ngZone=d,this.platform=u,this.renderer=f,this.nzResizeObserver=p,this.cdr=w,this.directionality=M,this.placeholderNode=s.nativeElement}ngOnInit(){this.directionality.change?.pipe(L(this.destroy$)).subscribe(s=>{this.dir=s,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(s){let{nzOffsetBottom:c,nzOffsetTop:l,nzTarget:d}=s;(c||l)&&this.offsetChanged$.next(),d&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();let s=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>j1(...Object.keys(U3).map(c=>Ii(this.target,c)),this.offsetChanged$.pipe(A(()=>({}))),this.nzResizeObserver.observe(s)).pipe(Zs(xp,void 0,{trailing:!0}),L(this.destroy$)).subscribe(c=>this.updatePosition(c))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(!0),this.destroy$.complete()}getOffset(s,c){let l=s.getBoundingClientRect(),d=Zl(c),u=this.scrollSrv.getScroll(c,
10!0),f=this.scrollSrv.getScroll(c,!1),p=this.document.body,w=p.clientTop||0,M=p.clientLeft||0;return{top:l.top-d.top+u-w,left:l.left-d.left+f-M,width:l.width,height:l.height}}setAffixStyle(s,c){let l=this.affixStyle,d=this.target===window;if(s.type==="scroll"&&l&&c&&d||K2(l,c))return;let u=!!c,f=this.fixedEl.nativeElement;this.renderer.setStyle(f,"cssText",Q2(c)),this.affixStyle=c,u?f.classList.add(Qr):f.classList.remove(Qr),this.updateRtlClass(),(c&&!l||!c&&l)&&this.nzChange.emit(u)}setPlaceholderStyle(s){let c=this.placeholderStyle;K2(s,c)||(this.renderer.setStyle(this.placeholderNode,"cssText",Q2(s)),this.placeholderStyle=s)}syncPlaceholderStyle(s){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;let c={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(s,z(z({},this.affixStyle),c)),this.setPlaceholderStyle(c)}updatePosition(s){if(!this.platform.isBrowser)return;let c=this.target,l=this.nzOffsetTop,d=this.scrollSrv.getScroll(c,
10!0),u=this.getOffset(this.placeholderNode,c),f=this.fixedEl.nativeElement,p={width:f.offsetWidth,height:f.offsetHeight},w={top:!1,bottom:!1};typeof l!="number"&&typeof this.nzOffsetBottom!="number"?(w.top=!0,l=0):(w.top=typeof l=="number",w.bottom=typeof this.nzOffsetBottom=="number");let M=Zl(c),x=c.innerHeight||c.clientHeight;if(d>=u.top-l&&w.top){let B=u.width,Z=M.top+l;this.setAffixStyle(s,{position:"fixed",top:Z,left:M.left+u.left,width:B}),this.setPlaceholderStyle({width:B,height:p.height})}else if(d<=u.top+p.height+this.nzOffsetBottom-x&&w.bottom){let B=c===window?0:window.innerHeight-M.bottom,Z=u.width;this.setAffixStyle(s,{position:"fixed",bottom:B+this.nzOffsetBottom,left:M.left+u.left,width:Z}),this.setPlaceholderStyle({width:Z,height:u.height})}else s.type===U3.resize&&this.affixStyle&&this.affixStyle.position==="fixed"&&this.placeholderNode.offsetWidth?this.setAffixStyle(s,X(z({},this.affixStyle),{width:this.placeholderNode.offsetWidth})):this.setAffixStyle(s),this.setPlaceholderStyle();s.type==="resize"&&this.syncPlaceholderStyle(s)}updateRtlClass(){let s=this.fixedEl.nativeElement;this.dir==="rtl"?s.classList.contains(Qr)?s.classList.add(`${Qr}-rtl`):s.classList.remove(`${Qr}-rtl`):s.classList.remove(`${Qr}-rtl`)}static \u0275fac=function(c){return new(c||q3)(v(R),v(Ut),v($0),v(W),v(me),v(ve),v(Xl),v(De),v(Pe))};static \u0275cmp=ge({type:q3,selectors:[["nz-affix"]],viewQuery:function(c,l){if(c&1&&S1(_p,7),c&2){let d;ct(d=lt())&&(l.fixedEl=d.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:[2,"nzOffsetTop","nzOffsetTop",X2],nzOff
10setBottom:[2,"nzOffsetBottom","nzOffsetBottom",X2]},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[G],ngContentSelectors:wp,decls:3,vars:0,consts:[["fixedEl",""]],template:function(c,l){c&1&&(ft(),et(0,"div",null,0),pt(2),tt())},dependencies:[ir,V0],encapsulation:2,changeDetection:0})}})(),$C=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[Sp]})}return t})();function dt(t){"@babel/helpers - typeof";return dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},dt(t)}function j(t){if(t===null||t===!0||t===!1)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}function m(t,n){if(n.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+n.length+" present")}function g(t){m(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||dt(t)==="object"&&n==="[object Date]"?new Date(t.getTime()):typeof t=="number"||n==="[object Number]"?new Date(t):((typeof t=="string"||n==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function fo(t,n){m(2,arguments);var e=g(t),r=j(n);return isNaN(r)?new Date(NaN):(r&&e.setDate(e.getDate()+r),e)}function Jr(t,n){m(2,arguments);var e=g(t),r=j(n);if(isNaN(r))return new Date(NaN);if(!r)return e;var i=e.getDate(),a=new Date(e.getTime());a.setMonth(e.getMonth()+r+1,0);var o=a.getDate();return i>=o?a:(e.setFullYear(a.getFullYear(),a.getMonth(),i),e)}function W3(t,n){m(2,arguments);var e=g(t).getTime(),r=j(n);return new Date(e+r)}var Tp={};function Ne(){return Tp}function en(t,n){var e,r,i,a,o,s,c,l;m(1,arguments);var d=Ne(),u=j((e=(r=(i=(a=n?.weekStartsOn)!==null&&a!==void 0?a:n==null||(o=n.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&r!==void 0?r:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&e!==void 0?e:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=g(t),p=f.getDay(),w=(p<u?7:0)+p-u;return f.setDate(f.getDate()-w),f.setHours(0,0,0,0),f}function L1(t){return m(1,arguments),en(t,{weekStartsOn:1})}function $3(t){m(1,arguments);var n=g(t),e=n.getFullYear(),r=new Date(0);r.setFullYear(e+1,0,4),r.setHours(0,0,0,0);var i=L1(r),a=new Date(0);a.setFullYear(e,0,4),a.setHours(0,0,0,0);var o=L1(a);return n.getTime()>=i.getTime()?e+1:n.getTime()>=o.getTime()?e:e-1}function G3(t){m(1,arguments);var n=$3(t),e=new Date(0);e.setFullYear(n,0,4),e.setHours(0,0,0,0);var r=L1(e);return r}function $t(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}function or(t){m(1,arguments);var n=g(t);return n.setHours(0,0,0,0),n}var kp=864e5;function gi(t,n){m(2,arguments);var e=or(t),r=or(n),i=e.getTime()-$t(e),a=r.getTime()-$t(r);return Math.round((i-a)/kp)}function po(t,n){m(2,arguments);var e=j(n);return Jr(t,e*12)}function sr(t,n){m(2,arguments);var e=g(t),r=g(n),i=e.getTime()-r.getTime();return i<0?-1:i>0?1:i}var Dp=365.2425,Pp=Math.pow(10,8)*24*60*60*1e3,vo=6e4,go=36e5,Ql=1e3,Wx=-Pp;var Ep=3600;var Jl=Ep*24,$x=Jl*7,Vp=Jl*Dp,Op=Vp/12,Gx=Op*3;function cr(t,n){m(2,arguments);var e=or(t),r=or(n);return e.getTime()===r.getTime()}function K3(t){return m(1,arguments),t instanceof Date||dt(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function tn(t){if(m(1,arguments),!K3(t)&&typeof t!="number")return!1;var n=g(t);return!isNaN(Number(n))}function rn(t,n){m(2,arguments);var e=g(t),r=g(n),i=e.getFullYear()-r.getFullYear(),a=e.getMonth()-r.getMonth();return i*12+a}function y1(t){m(1,arguments);var n=g(t),e=Math.floor(n.getMonth()/3)+1;return e}function yo(t,n){m(2,arguments);var e=g(t),r=g(n),i=e.getFullYear()-r.getFullYear(),a=y1(e)-y1(r);return i*4+a}function zo(t,n){m(2,arguments);var e=g(t),r=g(n);return e.getFullYear()-r.getFullYear()}function lr(t,n){return m(2,arguments),g(t).getTime()-g(n).getTime()}var e5={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(n){return n<0?Math.ceil(n):Math.floor(n)}},Hp="trunc";function nn(t){return t?e5[t]:e5[Hp]}function bo(t,n,e){m(2,arguments);var r=lr(t,n)/go;return nn(e?.roundingMethod)(r)}function _o(t,n,e){m(2,arguments);var r=lr(t,n)/vo;return nn(e?.roundingMethod)(r)}function X3(t){m(1,arguments);var n=g(t);return n.setHours(23,59,59,999),n}function wo(t){m(1,arguments);var n=g(t),e=n.getMonth();return n.setFullYear(n.getFullYear(),e+1,0),n.setHours(23,59,59,999),n}function an(t){m(1,arguments);var n=g(t);return X3(n).getTime()===wo(n).getTime()}function Z3(t,n){m(2,arguments);var e=g(t),r=g(n),i=sr(e,r),a=Math.abs(rn(e,r)),o;if(a<1)o=0;else{e.getMonth()===1&&e.getDate()>27&&e.setDate(30),e.setMonth(e.getMonth()-i*a);var s=sr(e,r)===-i;an(g(t))&&a===1&&sr(t,r)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function on(t,n,e){m(2,arguments);var r=lr(t,n)/1e3;return nn(e?.roundingMethod)(r)}function Mo(t){m(1,arguments);var n=g(t);return n.setSeconds(0,0),n}function yi(t){m(1,arguments);var n=g(t),e=n.getMonth(),r=e-e%3;return n.setMonth(r,1),n.setHours(0,0,0,0),n}
vendor: 22,182 bytes, line 10
10function Co(t){m(1,arguments);var n=g(t);return n.setDate(1),n.setHours(0,0,0,0),n}function zi(t,n){m(2,arguments);var e=j(n);return W3(t,-e)}var Ap=864e5;function Q3(t){m(1,arguments);var n=g(t),e=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var r=n.getTime(),i=e-r;return Math.floor(i/Ap)+1}function It(t){m(1,arguments);var n=1,e=g(t),r=e.getUTCDay(),i=(r<n?7:0)+r-n;return e.setUTCDate(e.getUTCDate()-i),e.setUTCHours(0,0,0,0),e}function bi(t){m(1,arguments);var n=g(t),e=n.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(e+1,0,4),r.setUTCHours(0,0,0,0);var i=It(r),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var o=It(a);return n.getTime()>=i.getTime()?e+1:n.getTime()>=o.getTime()?e:e-1}function J3(t){m(1,arguments);var n=bi(t),e=new Date(0);e.setUTCFullYear(n,0,4),e.setUTCHours(0,0,0,0);var r=It(e);return r}var Ip=6048e5;function _i(t){m(1,arguments);var n=g(t),e=It(n).getTime()-J3(n).getTime();return Math.round(e/Ip)+1}function kt(t,n){var e,r,i,a,o,s,c,l;m(1,arguments);var d=Ne(),u=j((e=(r=(i=(a=n?.weekStartsOn)!==null&&a!==void 0?a:n==null||(o=n.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&r!==void 0?r:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&e!==void 0?e:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=g(t),p=f.getUTCDay(),w=(p<u?7:0)+p-u;return f.setUTCDate(f.getUTCDate()-w),f.setUTCHours(0,0,0,0),f}function hr(t,n){var e,r,i,a,o,s,c,l;m(1,arguments);var d=g(t),u=d.getUTCFullYear(),f=Ne(),p=j((e=(r=(i=(a=n?.firstWeekContainsDate)!==null&&a!==void 0?a:n==null||(o=n.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&e!==void 0?e:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(u+1,0,p),w.setUTCHours(0,0,0,0);var M=kt(w,n),x=new Date(0);x.setUTCFullYear(u,0,p),x.setUTCHours(0,0,0,0);var B=kt(x,n);return d.getTime()>=M.getTime()?u+1:d.getTime()>=B.getTime()?u:u-1}function es(t,n){var e,r,i,a,o,s,c,l;m(1,arguments);var d=Ne(),u=j((e=(r=(i=(a=n?.firstWeekContainsDate)!==null&&a!==void 0?a:n==null||(o=n.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&r!==void 0?r:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&e!==void 0?e:1),f=hr(t,n),p=new Date(0);p.setUTCFullYear(f,0,u),p.setUTCHours(0,0,0,0);var w=kt(p,n);return w}var Yp=6048e5;function wi(t,n){m(1,arguments);var e=g(t),r=kt(e,n).getTime()-es(e,n).getTime();return Math.round(r/Yp)+1}function ie(t,n){for(var e=t<0?"-":"",r=Math.abs(t).toString();r.length<n;)r="0"+r;return e+r}var Fp={y:function(n,e){var r=n.getUTCFullYear(),i=r>0?r:1-r;return ie(e==="yy"?i%100:i,e.length)},M:function(n,e){var r=n.getUTCMonth();return e==="M"?String(r+1):ie(r+1,2)},d:function(n,e){return ie(n.getUTCDate(),e.length)},a:function(n,e){var r=n.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(n,e){return ie(n.getUTCHours()%12||12,e.length)},H:function(n,e){return ie(n.getUTCHours(),e.length)},m:function(n,e){return ie(n.getUTCMinutes(),e.length)},s:function(n,e){return ie(n.getUTCSeconds(),e.length)},S:function(n,e){var r=e.length,i=n.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,r-3));return ie(a,e.length)}},z1=Fp;var sn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Lp={G:function(n,e,r){var i=n.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(n,e,r){if(e==="yo"){var i=n.getUTCFullYear(),a=i>0?i:1-i;return r.ordinalNumber(a,{unit:"year"})}return z1.y(n,e)},Y:function(n,e,r,i){var a=hr(n,i),o=a>0?a:1-a;if(e==="YY"){var s=o%100;return ie(s,2)}return e==="Yo"?r.ordinalNumber(o,{unit:"year"}):ie(o,e.length)},R:function(n,e){var r=bi(n);return ie(r,e.length)},u:function(n,e){var r=n.getUTCFullYear();return ie(r,e.length)},Q:function(n,e,r){var i=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return ie(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(n,e,r){var i=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return ie(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(n,e,r){var i=n.getUTCMonth();switch(e){case"M":case"MM":return z1.M(n,e);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(n,e,r){var i=n.getUTCMonth();switch(e){case"L":return String(i+1);case"LL":return ie(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(n,e,r,i){var a=wi(n,i);return e==="wo"?r.ordinalNumber(a,{unit:"week"}):ie(a,e.length)},I:function(n,e,r){var i=_i(n);return e==="Io"?r.ordinalNumber(i,{unit:"week"}):ie(i,e.length)},d:function(n,e,r){return e==="do"?r.ordinalNumber(n.getUTCDate(),{unit:"date"}):z1.d(n,e)},D:function(n,e,r){var i=Q3(n);return e==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):ie(i,e.length)},E:function(n,e,r){var i=n.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(n,e,r,i){var a=n.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return ie(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(n,e,r,i){var a=n.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return ie(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(n,e,r){var i=n.getUTCDay(),a=i===0?7:i;switch(e){case"i":return String(a);case"ii":return ie(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(n,e,r){var i=n.getUTCHours(),a=i/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,e,r){var i=n.getUTCHours(),a;switch(i===12?a=sn.noon:i===0?a=sn.midnight:a=i/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,e,r){var i=n.getUTCHours(),a;switch(i>=17?a=sn.evening:i>=12?a=sn.afternoon:i>=4?a=sn.morning:a=sn.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,e,r){if(e==="ho"){var i=n.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return z1.h(n,e)},H:function(n,e,r){return e==="Ho"?r.ordinalNumber(n.getUTCHours(),{unit:"hour"}):z1.H(n,e)},K:function(n,e,r){var i=n.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(i,{unit:"hour"}):ie(i,e.length)},k:function(n,e,r){var i=n.getUTCHours();return i===0&&(i=24),e==="ko"?r.ordinalNumber(i,{unit:"hour"}):ie(i,e.length)},m:function(n,e,r){return e==="mo"?r.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):z1.m(n,e)},s:function(n,e,r){return e==="so"?r.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):z1.s(n,e)},S:function(n,e){return z1.S(n,e)},X:function(n,e,r,i){var a=i._originalDate||n,o=a.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return r5(o);case"XXXX":case"XX":return dr(o);case"XXXXX":case"XXX":default:return dr(o,":")}},x:function(n,e,r,i){var a=i._originalDate||n,o=a.getTimezoneOffset();switch(e){case"x":return r5(o);case"xxxx":case"xx":return dr(o);case"xxxxx":case"xxx":default:return dr(o,":")}},O:function(n,e,r,i){var a=i._originalDate||n,o=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+t5(o,":");case"OOOO":default:return"GMT"+dr(o,":")}},z:function(n,e,r,i){var a=i._originalDate||n,o=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+t5(o,":");case"zzzz":default:return"GMT"+dr(o,":")}},t:function(n,e,r,i){var a=i._originalDate||n,o=Math.floor(a.getTime()/1e3);return ie(o,e.length)},T:function(n,e,r,i){var a=i._originalDate||n,o=a.getTime();return ie(o,e.length)}};function t5(t,n){var e=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),a=r%60;if(a===0)return e+String(i);var o=n||"";return e+String(i)+o+ie(a,2)}function r5(t,n){if(t%60===0){var e=t>0?"-":"+";return e+ie(Math.abs(t)/60,2)}return dr(t,n)}function dr(t,n){var e=n||"",r=t>0?"-":"+",i=Math.abs(t),a=ie(Math.floor(i/60),2),o=ie(i%60,2);return r+a+e+o}var n5=Lp;var i5=function(n,e){switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},a5=function(n,e){switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Rp=function(n,e){var r=n.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return i5(n,e);var o;switch(i){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",i5(i,e)).replace("{{time}}",a5(a,e))},Np={p:a5,P:Rp},Mi=Np;var Bp=["D","DD"],jp=["YY","YYYY"];function xo(t){return Bp.indexOf(t)!==-1}function So(t){return jp.indexOf(t)!==-1}function cn(t,n,e){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Up={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},qp=function(n,e,r){var i,a=Up[n];return typeof a=="string"?i=a:e===1?i=a.one:i=a.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},o5=qp;function Ci(t){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.width?String(n.width):t.defaultWidth,r=t.formats[e]||t.formats[t.defaultWidth];return r}}var Wp={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$p={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Gp={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Kp={date:Ci({formats:Wp,defaultWidth:"full"}),time:Ci({formats:$p,defaultWidth:"full"}),dateTime:Ci({formats:Gp,defaultWidth:"full"})},s5=Kp;var Xp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Zp=function(n,e,r,i){return Xp[n]},c5=Zp;function ur(t){return function(n,e){var r=e!=null&&e.context?String(e.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,o=e!=null&&e.width?String(e.width):a;i=t.formattingValues[o]||t.formattingValues[a]}else{var s=t.defaultWidth,c=e!=null&&e.width?String(e.width):t.defaultWidth;i=t.values[c]||t.values[s]}var l=t.argumentCallback?t.argumentCallback(n):n;return i[l]}}var Qp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jp={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ev={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},tv={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},rv={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},nv={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},iv=function(n,e){var r=Number(n),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},av={ordinalNumber:iv,era:ur({values:Qp,defaultWidth:"wide"}),quarter:ur({values:Jp,defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:ur({values:ev,defaultWidth:"wide"}),day:ur({values:tv,defaultWidth:"wide"}),dayPeriod:ur({values:rv,defaultWidth:"wide",formattingValues:nv,defaultFormattingWidth:"wide"})},l5=av;function mr(t){return function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=n.match(i);if(!a)return null;var o=a[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?sv(s,function(u){return u.test(o)}):ov(s,function(u){return u.test(o)}),l;l=t.valueCallback?t.valueCallback(c):c,l=e.valueCallback?e.valueCallback(l):l;var d=n.slice(o.length);return{value:l,rest:d}}}function ov(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e}function sv(t,n){for(var e=0;e<t.length;e++)if(n(t[e]))return e}function ts(t){return function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.match(t.matchPattern);if(!r)return null;var i=r[0],a=n.match(t.parsePattern);if(!a)return null;var o=t.valueCallback?t.valueCallback(a[0]):a[0];o=e.valueCallback?e.valueCallback(o):o;var s=n.slice(i.length);return{value:o,rest:s}}}var cv=/^(\d+)(th|st|nd|rd)?/i,lv=/\d+/i,hv={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},dv={any:[/^b/i,/^(a|c)/i]},uv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mv={any:[/1/i,/2/i,/3/i,/4/i]},fv={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},pv={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},vv={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},gv={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},yv={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},zv={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},bv={ordinalNumber:ts({matchPattern:cv,parsePattern:lv,valueCallback:function(n){return parseInt(n,10)}}),era:mr({matchPatterns:hv,defaultMatchWidth:"wide",parsePatterns:dv,defaultParseWidth:"any"}),quarter:mr({matchPatterns:uv,defaultMatchWidth:"wide",parsePatterns:mv,defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:mr({matchPatterns:fv,defaultMatchWidth:"wide",parsePatterns:pv,defaultParseWidth:"any"}),day:mr({matchPatterns:vv,defaultMatchWidth:"wide",parsePatterns:gv,defaultParseWidth:"any"}),dayPeriod:mr({matchPatterns:yv,defaultMatchWidth:"any",parsePatterns:zv,defaultParseWidth:"any"})},h5=bv;var _v={code:"en-US",formatDistance:o5,formatLong:s5,formatRelative:c5,localize:l5,match:h5,options:{weekStartsOn:0,firstWeekContainsDate:1}},d5=_v;var ln=d5;var wv=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cv=/^'([^]*?)'?$/,xv=/''/g,Sv=/[a-zA-Z]/;function To(t,n,e){var r,i,a,o,s,c,l,d,u,f,p,w,M,x,B,Z,q,Be;m(2,arguments);var je=String(n),Ce=Ne(),Ze=(r=(i=e?.locale)!==null&&i!==void 0?i:Ce.locale)!==null&&r!==void 0?r:ln,Lt=j((a=(o=(s=(c=e?.firstWeekContainsDate)!==null&&c!==void 0?c:e==null||(l=e.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:Ce.firstWeekContainsDate)!==null&&o!==void 0?o:(u=Ce.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(Lt>=1&&Lt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ae=j((p=(w=(M=(x=e?.weekStartsOn)!==null&&x!==void 0?x:e==null||(B=e.locale)===null||B===void 0||(Z=B.options)===null||Z===void 0?void 0:Z.weekStartsOn)!==null&&M!==void 0?M:Ce.weekStartsOn)!==null&&w!==void 0?w:(q=Ce.locale)===null||q===void 0||(Be=q.options)===null||Be===void 0?void 0:Be.weekStartsOn)!==null&&p!==void 0?p:0);if(!(ae>=0&&ae<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Ze.localize)throw new RangeError("locale must contain localize property");if(!Ze.formatLong)throw new RangeError("locale must contain formatLong property");var Ee=g(t);if(!tn(Ee))throw new RangeError("Invalid time value");var it=$t(Ee),Qe=zi(Ee,it),Gt={firstWeekContainsDate:Lt,weekStartsOn:ae,locale:Ze,_originalDate:Ee},b1=je.match(Mv).map(function(xe){var Ue=xe[0];if(Ue==="p"||Ue==="P"){var R1=Mi[Ue];return R1(xe,Ze.formatLong)}return xe}).join("").match(wv).map(function(xe){if(xe==="''")return"'";var Ue=xe[0];if(Ue==="'")return Tv(xe);var R1=n5[Ue];
10if(R1)return!(e!=null&&e.useAdditionalWeekYearTokens)&&So(xe)&&cn(xe,n,String(t)),!(e!=null&&e.useAdditionalDayOfYearTokens)&&xo(xe)&&cn(xe,n,String(t)),R1(Qe,xe,Ze.localize,Gt);if(Ue.match(Sv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ue+"`");return xe}).join("");return b1}function Tv(t){var n=t.match(Cv);return n?n[1].replace(xv,"'"):t}function fr(t,n){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}function rs(t){return fr({},t)}var u5=1440,kv=2520,ns=43200,Dv=86400;function m5(t,n,e){var r,i;m(2,arguments);var a=Ne(),o=(r=(i=e?.locale)!==null&&i!==void 0?i:a.locale)!==null&&r!==void 0?r:ln;if(!o.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=sr(t,n);if(isNaN(s))throw new RangeError("Invalid time value");var c=fr(rs(e),{addSuffix:!!e?.addSuffix,comparison:s}),l,d;s>0?(l=g(n),d=g(t)):(l=g(t),d=g(n));var u=on(d,l),f=($t(d)-$t(l))/1e3,p=Math.round((u-f)/60),w;if(p<2)return e!=null&&e.includeSeconds?u<5?o.formatDistance("lessThanXSeconds",5,c):u<10?o.formatDistance("lessThanXSeconds",10,c):u<20?o.formatDistance("lessThanXSeconds",20,c):u<40?o.formatDistance("halfAMinute",0,c):u<60?o.formatDistance("lessThanXMinutes",1,c):o.formatDistance("xMinutes",1,c):p===0?o.formatDistance("lessThanXMinutes",1,c):o.formatDistance("xMinutes",p,c);if(p<45)return o.formatDistance("xMinutes",p,c);if(p<90)return o.formatDistance("aboutXHours",1,c);if(p<u5){var M=Math.round(p/60);return o.formatDistance("aboutXHours",M,c)}else{if(p<kv)return o.formatDistance("xDays",1,c);if(p<ns){var x=Math.round(p/u5);return o.formatDistance("xDays",x,c)}else if(p<Dv)return w=Math.round(p/ns),o.formatDistance("aboutXMonths",w,c)}if(w=Z3(d,l),w<12){var B=Math.round(p/ns);return o.formatDistance("xMonths",B,c)}else{var Z=w%12,q=Math.floor(w/12);return Z<3?o.formatDistance("aboutXYears",q,c):Z<9?o.formatDistance("overXYears",q,c):o.formatDistance("almostXYears",q+1,c)}}function is(t){m(1,arguments);var n=g(t),e=n.getFullYear(),r=n.getMonth(),i=new Date(0);return i.setFullYear(e,r+1,0),i.setHours(0,0,0,0),i.getDate()}var Pv=6048e5;function ko(t){m(1,arguments);var n=g(t),e=L1(n).getTime()-G3(n).getTime();return Math.round(e/Pv)+1}function Do(t){return m(1,arguments),g(t).getDate()===1}function as(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function f5(t,n){if(t){if(typeof t=="string")return as(t,n);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?as(t,n):void 0}}function os(t,n){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=f5(t))||n&&t&&typeof t.length=="number"){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 11In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){e=e.call(t)},n:function(){var l=e.next();return o=l.done,l},e:function(l){s=!0,a=l},f:function(){try{o||e.return==null||e.return()}finally{if(s)throw a}}}}function b(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Po(t,n){return Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},Po(t,n)}function E(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Po(t,n)}function xi(t){return xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(t)}function ss(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ss=function(){return!!t})()}function p5(t,n){if(n&&(dt(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}function V(t){var n=ss();return function(){var e,r=xi(t);if(n){var i=xi(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return p5(this,e)}}function k(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function v5(t,n){if(dt(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var r=e.call(t,n||"default");if(dt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function Eo(t){var n=v5(t,"string");return dt(n)=="symbol"?n:n+""}function g5(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Eo(r.key),r)}}function D(t,n,e){return n&&g5(t.prototype,n),e&&g5(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t,n,e){return(n=Eo(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ev=10,y5=function(){function t(){k(this,t),y(this,"priority",void 0),y(this,"subPriority",0)}return D(t,[{key:"validate",value:function(e,r){return!0}}]),t}(),z5=function(t){E(e,t);var n=V(e);function e(r,i,a,o,s){var c;
vendor: 27,488 bytes, line 11
11return k(this,e),c=n.call(this),c.value=r,c.validateValue=i,c.setValue=a,c.priority=o,s&&(c.subPriority=s),c}return D(e,[{key:"validate",value:function(i,a){return this.validateValue(i,this.value,a)}},{key:"set",value:function(i,a,o){return this.setValue(i,a,this.value,o)}}]),e}(y5),b5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",Ev),y(b(r),"subPriority",-1),r}return D(e,[{key:"set",value:function(i,a){if(a.timestampIsSet)return i;var o=new Date(0);return o.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),o.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),o}}]),e}(y5);var H=function(){function t(){k(this,t),y(this,"incompatibleTokens",void 0),y(this,"priority",void 0),y(this,"subPriority",void 0)}return D(t,[{key:"run",value:function(e,r,i,a){var o=this.parse(e,r,i,a);return o?{setter:new z5(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,r,i){return!0}}]),t}();var _5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",140),y(b(r),"incompatibleTokens",["R","u","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"G":case"GG":case"GGG":return o.era(i,{width:"abbreviated"})||o.era(i,{width:"narrow"});case"GGGGG":return o.era(i,{width:"narrow"});case"GGGG":default:return o.era(i,{width:"wide"})||o.era(i,{width:"abbreviated"})||o.era(i,{width:"narrow"})}}},{key:"set",value:function(i,a,o){return a.era=o,i.setUTCFullYear(o,0,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var ee={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Yt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function de(t,n){return t&&{value:n(t.value),rest:t.rest}}function J(t,n){var e=n.match(t);return e?{value:parseInt(e[0],10),rest:n.slice(e[0].length)}:null}function Ft(t,n){var e=n.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:n.slice(1)};var r=e[1]==="+"?1:-1,i=e[2]?parseInt(e[2],10):0,a=e[3]?parseInt(e[3],10):0,o=e[5]?parseInt(e[5],10):0;return{value:r*(i*go+a*vo+o*Ql),rest:n.slice(e[0].length)}}function Vo(t){return J(ee.anyDigitsSigned,t)}function $(t,n){switch(t){case 1:return J(ee.singleDigit,n);case 2:return J(ee.twoDigits,n);case 3:return J(ee.threeDigits,n);case 4:return J(ee.fourDigits,n);default:return J(new RegExp("^\\d{1,"+t+"}"),n)}}function hn(t,n){switch(t){case 1:return J(ee.singleDigitSigned,n);case 2:return J(ee.twoDigitsSigned,n);case 3:return J(ee.threeDigitsSigned,n);case 4:return J(ee.fourDigitsSigned,n);default:return J(new RegExp("^-?\\d{1,"+t+"}"),n)}}function dn(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Oo(t,n){var e=n>0,r=e?n:1-n,i;if(r<=50)i=t||100;else{var a=r+50,o=Math.floor(a/100)*100,s=t>=a%100;i=t+o-(s?100:0)}return e?i:1-i}function Ho(t){return t%400===0||t%4===0&&t%100!==0}var w5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",130),y(b(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){var s=function(l){return{year:l,isTwoDigitYear:a==="yy"}};switch(a){case"y":return de($(4,i),s);case"yo":return de(o.ordinalNumber(i,{unit:"year"}),s);default:return de($(a.length,i),s)}}},{key:"validate",value:function(i,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(i,a,o){var s=i.getUTCFullYear();if(o.isTwoDigitYear){var c=Oo(o.year,s);return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}var l=!("era"in a)||a.era===1?o.year:1-o.year;return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var M5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",130),y(b(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){var s=function(l){return{year:l,isTwoDigitYear:a==="YY"}};switch(a){case"Y":return de($(4,i),s);case"Yo":return de(o.ordinalNumber(i,{unit:"year"}),s);default:return de($(a.length,i),s)}}},{key:"validate",value:function(i,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(i,a,o,s){var c=hr(i,s);if(o.isTwoDigitYear){var l=Oo(o.year,c);return i.setUTCFullYear(l,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),kt(i,s)}var d=!("era"in a)||a.era===1?o.year:1-o.year;return i.setUTCFullYear(d,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),kt(i,s)}}]),e}(H);var C5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",130),y(b(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a){return a==="R"?hn(4,i):hn(a.length,i)}},{key:"set",value:function(i,a,o){var s=new Date(0);return s.setUTCFullYear(o,0,4),s.setUTCHours(0,0,0,0),It(s)}}]),e}(H);var x5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",130),y(b(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a){return a==="u"?hn(4,i):hn(a.length,i)}},{key:"set",value:function(i,a,o){return i.setUTCFullYear(o,0,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var S5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",120),y(b(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"Q":case"QQ":return $(a.length,i);case"Qo":return o.ordinalNumber(i,{unit:"quarter"});case"QQQ":return o.quarter(i,{width:"abbreviated",context:"formatting"})||o.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(i,{width:"wide",context:"formatting"})||o.quarter(i,{width:"abbreviated",context:"formatting"})||o.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=1&&a<=4}},{key:"set",value:function(i,a,o){return i.setUTCMonth((o-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var T5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",120),y(b(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"q":case"qq":return $(a.length,i);case"qo":return o.ordinalNumber(i,{unit:"quarter"});case"qqq":return o.quarter(i,{width:"abbreviated",context:"standalone"})||o.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(i,{width:"wide",context:"standalone"})||o.quarter(i,{width:"abbreviated",context:"standalone"})||o.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=1&&a<=4}},{key:"set",value:function(i,a,o){return i.setUTCMonth((o-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var k5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),y(b(r),"priority",110),r}return D(e,[{key:"parse",value:function(i,a,o){var s=function(l){return l-1};switch(a){case"M":return de(J(ee.month,i),s);case"MM":return de($(2,i),s);case"Mo":return de(o.ordinalNumber(i,{unit:"month"}),s);case"MMM":return o.month(i,{width:"abbreviated",context:"formatting"})||o.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(i,{width:"wide",context:"formatting"})||o.month(i,{width:"abbreviated",context:"formatting"})||o.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,o){return i.setUTCMonth(o,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);var D5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",110),y(b(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){var s=function(l){return l-1};switch(a){case"L":return de(J(ee.month,i),s);case"LL":return de($(2,i),s);case"Lo":return de(o.ordinalNumber(i,{unit:"month"}),s);case"LLL":return o.month(i,{width:"abbreviated",context:"standalone"})||o.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(i,{width:"wide",context:"standalone"})||o.month(i,{width:"abbreviated",context:"standalone"})||o.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,o){return i.setUTCMonth(o,1),i.setUTCHours(0,0,0,0),i}}]),e}(H);function cs(t,n,e){m(2,arguments);var r=g(t),i=j(n),a=wi(r,e)-i;return r.setUTCDate(r.getUTCDate()-a*7),r}var P5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",100),y(b(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"w":return J(ee.week,i);case"wo":return o.ordinalNumber(i,{unit:"week"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=53}},{key:"set",value:function(i,a,o,s){return kt(cs(i,o,s),s)}}]),e}(H);function ls(t,n){m(2,arguments);var e=g(t),r=j(n),i=_i(e)-r;return e.setUTCDate(e.getUTCDate()-i*7),e}var E5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",100),y(b(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"I":return J(ee.week,i);case"Io":return o.ordinalNumber(i,{unit:"week"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=53}},{key:"set",value:function(i,a,o){return It(ls(i,o))}}]),e}(H);var Vv=[31,28,31,30,31,30,31,31,30,31,30,31],Ov=[31,29,31,30,31,30,31,31,30,31,30,31],V5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"subPriority",1),y(b(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"d":return J(ee.date,i);case"do":return o.ordinalNumber(i,{unit:"date"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){var o=i.getUTCFullYear(),s=Ho(o),c=i.getUTCMonth();return s?a>=1&&a<=Ov[c]:a>=1&&a<=Vv[c]}},{key:"set",value:function(i,a,o){return i.setUTCDate(o),i.setUTCHours(0,0,0,0),i}}]),e}(H);var O5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"subpriority",1),y(b(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"D":case"DD":return J(ee.dayOfYear,i);case"Do":return o.ordinalNumber(i,{unit:"date"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){var o=i.getUTCFullYear(),s=Ho(o);return s?a>=1&&a<=366:a>=1&&a<=365}},{key:"set",value:function(i,a,o){return i.setUTCMonth(0,o),i.setUTCHours(0,0,0,0),i}}]),e}(H);function pr(t,n,e){var r,i,a,o,s,c,l,d;m(2,arguments);var u=Ne(),f=j((r=(i=(a=(o=e?.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&a!==void 0?a:u.weekStartsOn)!==null&&i!==void 0?i:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=g(t),w=j(n),M=p.getUTCDay(),x=w%7,B=(x+7)%7,Z=(B<f?7:0)+w-M;return p.setUTCDate(p.getUTCDate()+Z),p}var H5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"E":case"EE":case"EEE":return o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(i,{width:"wide",context:"formatting"})||o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,o,s){return i=pr(i,o,s),i.setUTCHours(0,0,0,0),i}}]),e}(H);var A5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o,s){var c=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(a){case"e":case"ee":return de($(a.length,i),c);case"eo":return de(o.ordinalNumber(i,{unit:"day"}),c);case"eee":return o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"});case"eeeee":return o.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(i,{width:"wide",context:"formatting"})||o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,o,s){return i=pr(i,o,s),i.setUTCHours(0,0,0,0),i}}]),e}(H);var I5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o,s){var c=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(a){case"c":case"cc":return de($(a.length,i),c);case"co":return de(o.ordinalNumber(i,{unit:"day"}),c);case"ccc":return o.day(i,{width:"abbreviated",context:"standalone"})||o.day(i,{width:"short",context:"standalone"})||o.day(i,{width:"narrow",context:"standalone"});case"ccccc":return o.day(i,{width:"narrow",context:"standalone"});case"cccccc":return o.day(i,{width:"short",context:"standalone"})||o.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(i,{width:"wide",context:"standalone"})||o.day(i,{width:"abbreviated",context:"standalone"})||o.day(i,{width:"short",context:"standalone"})||o.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,o,s){return i=pr(i,o,s),i.setUTCHours(0,0,0,0),i}}]),e}(H);function hs(t,n){m(2,arguments);var e=j(n);e%7===0&&(e=e-7);var r=1,i=g(t),a=i.getUTCDay(),o=e%7,s=(o+7)%7,c=(s<r?7:0)+e-a;return i.setUTCDate(i.getUTCDate()+c),i}var Y5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",90),y(b(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){var s=function(l){return l===0?7:l};switch(a){case"i":case"ii":return $(a.length,i);case"io":return o.ordinalNumber(i,{unit:"day"});case"iii":return de(o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return de(o.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return de(o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return de(o.day(i,{width:"wide",context:"formatting"})||o.day(i,{width:"abbreviated",context:"formatting"})||o.day(i,{width:"short",context:"formatting"})||o.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,a){return a>=1&&a<=7}},{key:"set",value:function(i,a,o){return i=hs(i,o),i.setUTCHours(0,0,0,0),i}}]),e}(H);var F5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",80),y(b(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"a":case"aa":case"aaa":return o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(i,{width:"wide",context:"formatting"})||o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,o){return i.setUTCHours(dn(o),0,0,0),i}}]),e}(H);var L5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",80),y(b(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"b":case"bb":case"bbb":return o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(i,{width:"wide",context:"formatting"})||o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,o){return i.setUTCHours(dn(o),0,0,0),i}}]),e}(H);var R5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",80),y(b(r),"incompatibleTokens",["a","b","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"B":case"BB":case"BBB":return o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(i,{width:"wide",context:"formatting"})||o.dayPeriod(i,{width:"abbreviated",context:"formatting"})||o.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,o){return i.setUTCHours(dn(o),0,0,0),i}}]),e}(H);var N5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",70),y(b(r),"incompatibleTokens",["H","K","k","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"h":return J(ee.hour12h,i);case"ho":return o.ordinalNumber(i,{unit:"hour"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=12}},{key:"set",value:function(i,a,o){var s=i.getUTCHours()>=12;return s&&o<12?i.setUTCHours(o+12,0,0,0):!s&&o===12?i.setUTCHours(0,0,0,0):i.setUTCHours(o,0,0,0),i}}]),e}(H);var B5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",70),y(b(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"H":return J(ee.hour23h,i);case"Ho":return o.ordinalNumber(i,{unit:"hour"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=23}},{key:"set",value:function(i,a,o){return i.setUTCHours(o,0,0,0),i}}]),e}(H);var j5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",70),y(b(r),"incompatibleTokens",["h","H","k","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"K":return J(ee.hour11h,i);case"Ko":return o.ordinalNumber(i,{unit:"hour"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,o){var s=i.getUTCHours()>=12;return s&&o<12?i.setUTCHours(o+12,0,0,0):i.setUTCHours(o,0,0,0),i}}]),e}(H);var U5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",70),y(b(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"k":return J(ee.hour24h,i);case"ko":return o.ordinalNumber(i,{unit:"hour"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=24}},{key:"set",value:function(i,a,o){var s=o<=24?o%24:o;return i.setUTCHours(s,0,0,0),i}}]),e}(H);var q5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",60),y(b(r),"incompatibleTokens",["t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"m":return J(ee.minute,i);case"mo":return o.ordinalNumber(i,{unit:"minute"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=59}},{key:"set",value:function(i,a,o){return i.setUTCMinutes(o,0,0),i}}]),e}(H);var W5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",50),y(b(r),"incompatibleTokens",["t","T"]),r}return D(e,[{key:"parse",value:function(i,a,o){switch(a){case"s":return J(ee.second,i);case"so":return o.ordinalNumber(i,{unit:"second"});default:return $(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=59}},{key:"set",value:function(i,a,o){return i.setUTCSeconds(o,0),i}}]),e}(H);var $5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",30),y(b(r),"incompatibleTokens",["t","T"]),r}return D(e,[{key:"parse",value:function(i,a){var o=function(c){return Math.floor(c*Math.pow(10,-a.length+3))};return de($(a.length,i),o)}},{key:"set",value:function(i,a,o){return i.setUTCMilliseconds(o),i}}]),e}(H);var G5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",10),y(b(r),"incompatibleTokens",["t","T","x"]),r}return D(e,[{key:"parse",value:function(i,a){switch(a){case"X":return Ft(Yt.basicOptionalMinutes,i);case"XX":return Ft(Yt.basic,i);case"XXXX":return Ft(Yt.basicOptionalSeconds,i);case"XXXXX":return Ft(Yt.extendedOptionalSeconds,i);case"XXX":default:return Ft(Yt.extended,i)}}},{key:"set",value:function(i,a,o){return a.timestampIsSet?i:new Date(i.getTime()-o)}}]),e}(H);var K5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",10),y(b(r),"incompatibleTokens",["t","T","X"]),r}return D(e,[{key:"parse",value:function(i,a){switch(a){case"x":return Ft(Yt.basicOptionalMinutes,i);case"xx":return Ft(Yt.basic,i);case"xxxx":return Ft(Yt.basicOptionalSeconds,i);case"xxxxx":return Ft(Yt.extendedOptionalSeconds,i);case"xxx":default:return Ft(Yt.extended,i)}}},{key:"set",value:function(i,a,o){return a.timestampIsSet?i:new Date(i.getTime()-o)}}]),e}(H);var X5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",40),y(b(r),"incompatibleTokens","*"),r}return D(e,[{key:"parse",value:function(i){return Vo(i)}},{key:"set",value:function(i,a,o){return[new Date(o*1e3),{timestampIsSet:!0}]}}]),e}(H);var Z5=function(t){E(e,t);var n=V(e);function e(){var r;k(this,e);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n.call.apply(n,[this].concat(a)),y(b(r),"priority",20),y(b(r),"incompatibleTokens","*"),r}return D(e,[{key:"parse",value:function(i){return Vo(i)}},{key:"set",value:function(i,a,o){return[new Date(o),{timestampIsSet:!0}]}}]),e}(H);var Q5={G:new _5,y:new w5,Y:new M5,R:new C5,u:new x5,Q:new S5,q:new T5,M:new k5,L:new D5,w:new P5,I:new E5,d:new V5,D:new O5,E:new H5,e:new A5,c:new I5,i:new Y5,a:new F5,b:new L5,B:new R5,h:new N5,H:new B5,K:new j5,k:new U5,m:new q5,s:new W5,S:new $5,X:new G5,x:new K5,t:new X5,T:new Z5};
11var Hv=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Av=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Iv=/^'([^]*?)'?$/,Yv=/''/g,Fv=/\S/,Lv=/[a-zA-Z]/;function Ao(t,n,e,r){var i,a,o,s,c,l,d,u,f,p,w,M,x,B,Z,q,Be,je;m(3,arguments);var Ce=String(t),Ze=String(n),Lt=Ne(),ae=(i=(a=r?.locale)!==null&&a!==void 0?a:Lt.locale)!==null&&i!==void 0?i:ln;if(!ae.match)throw new RangeError("locale must contain match property");var Ee=j((o=(s=(c=(l=r?.firstWeekContainsDate)!==null&&l!==void 0?l:r==null||(d=r.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&c!==void 0?c:Lt.firstWeekContainsDate)!==null&&s!==void 0?s:(f=Lt.locale)===null||f===void 0||(p=f.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(Ee>=1&&Ee<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var it=j((w=(M=(x=(B=r?.weekStartsOn)!==null&&B!==void 0?B:r==null||(Z=r.locale)===null||Z===void 0||(q=Z.options)===null||q===void 0?void 0:q.weekStartsOn)!==null&&x!==void 0?x:Lt.weekStartsOn)!==null&&M!==void 0?M:(Be=Lt.locale)===null||Be===void 0||(je=Be.options)===null||je===void 0?void 0:je.weekStartsOn)!==null&&w!==void 0?w:0);if(!(it>=0&&it<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(Ze==="")return Ce===""?g(e):new Date(NaN);var Qe={firstWeekContainsDate:Ee,weekStartsOn:it,locale:ae},Gt=[new b5],b1=Ze.match(Av).map(function(Ae){var pe=Ae[0];if(pe in Mi){var Dt=Mi[pe];return Dt(Ae,ae.formatLong)}return Ae}).join("").match(Hv),xe=[],Ue=os(b1),R1;try{var x7=function(){var pe=R1.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&So(pe)&&cn(pe,Ze,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&xo(pe)&&cn(pe,Ze,t);var Dt=pe[0],Oi=Q5[Dt];if(Oi){var Is=Oi.incompatibleTokens;if(Array.isArray(Is)){var Ys=xe.find(function(Fs){return Is.includes(Fs.token)||Fs.token===Dt});if(Ys)throw new RangeError("The format string mustn't contain `".concat(Ys.fullToken,"` and `").concat(pe,"` at the same time"))}else if(Oi.incompatibleTokens==="*"&&xe.length>0)throw new RangeError("The format string mustn't contain `".concat(pe,"` and any other token at the same time"));xe.push({token:Dt,fullToken:pe});var c4=Oi.run(Ce,pe,ae.match,Qe);if(!c4)return{v:new Date(NaN)};Gt.push(c4.setter),Ce=c4.rest}else{if(Dt.match(Lv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Dt+"`");if(pe==="''"?pe="'":Dt==="'"&&(pe=Rv(pe)),Ce.indexOf(pe)===0)Ce=Ce.slice(pe.length);else return{v:new Date(NaN)}}};for(Ue.s();!(R1=Ue.n()).done;){var Vs=x7();if(dt(Vs)==="object")return Vs.v}}catch(Ae){Ue.e(Ae)}finally{Ue.f()}if(Ce.length>0&&Fv.test(Ce))return new Date(NaN);var S7=Gt.map(function(Ae){return Ae.priority}).sort(function(Ae,pe){return pe-Ae}).filter(function(Ae,pe,Dt){return Dt.indexOf(Ae)===pe}).map(function(Ae){return Gt.filter(function(pe){return pe.priority===Ae}).sort(function(pe,Dt){return Dt.subPriority-pe.subPriority})}).map(function(Ae){return Ae[0]}),s4=g(e);if(isNaN(s4.getTime()))return new Date(NaN);var mn=zi(s4,$t(s4)),Os={},Ei=os(S7),Hs;try{for(Ei.s();!(Hs=Ei.n()).done;){var As=Hs.value;if(!As.validate(mn,Qe))return new Date(NaN);var Vi=As.set(mn,Os,Qe);Array.isArray(Vi)?(mn=Vi[0],fr(Os,Vi[1])):mn=Vi}}catch(Ae){Ei.e(Ae)}finally{Ei.f()}return mn}function Rv(t){return t.match(Iv)[1].replace(Yv,"'")}function Io(t){m(1,arguments);var n=g(t);return n.setMinutes(0,0,0),n}function Yo(t,n){m(2,arguments);var e=Io(t),r=Io(n);return e.getTime()===r.getTime()}function Fo(t,n){m(2,arguments);var e=Mo(t),r=Mo(n);return e.getTime()===r.getTime()}function Lo(t,n){m(2,arguments);var e=g(t),r=g(n);return e.getFullYear()===r.getFullYear()&&e.getMonth()===r.getMonth()}function Ro(t,n){m(2,arguments);var e=yi(t),r=yi(n);return e.getTime()===r.getTime()}function No(t){m(1,arguments);var n=g(t);return n.setMilliseconds(0),n}function Bo(t,n){m(2,arguments);var e=No(t),r=No(n);return e.getTime()===r.getTime()}function jo(t,n){m(2,arguments);var e=g(t),r=g(n);return e.getFullYear()===r.getFullYear()}function Uo(t){return m(1,arguments),cr(t,Date.now())}function un(t,n){m(2,arguments);var e=g(t),r=j(n),i=e.getFullYear(),a=e.getDate(),o=new Date(0);o.setFullYear(i,r,15),o.setHours(0,0,0,0);var s=is(o);return e.setMonth(r,Math.min(a,s)),e}function qo(t,n,e){var r,i,a,o,s,c,l,d;m(2,arguments);var u=Ne(),f=j((r=(i=(a=(o=e?.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&a!==void 0?a:u.weekStartsOn)!==null&&i!==void 0?i:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=g(t),w=j(n),M=p.getDay(),x=w%7,B=(x+7)%7,Z=7-f,q=w<0||w>6?w-(M+Z)%7:(B+Z)%7-(M+Z)%7;return fo(p,q)}function J5(t,n){m(2,arguments);var e=g(t),r=j(n);return e.setHours(r),e}function Wo(t,n){m(2,arguments);var e=g(t),r=j(n),i=Math.floor(e.getMonth()/3)+1,a=r-i;return un(e,e.getMonth()+a*3)}function $o(t,n){m(2,arguments);var e=g(t),r=j(n);return isNaN(e.getTime())?new Date(NaN):(e.setFullYear(r),e)}function AF(t){let[n,e]=t;return!!n&&!!e&&e.isBeforeDay(n)}function IF(t,n,e="month",r="left"){let[i,a]=t,o=i||new Si,s=a||(n?o:o.add(1,e));return i&&!a?(o=i,s=n?i:i.add(1,e)):!i&&a?(o=n?a:a.add(-1,e),s=a):i&&a&&!n&&(i.isSame(a,e)||r==="left"?s=o.add(1,e):o=s.add(-1,e)),[o,s]}function YF(t){return Array.isArray(t)?t.map(n=>n instanceof Si?n.clone():null):t instanceof Si?t.clone():null}var Si=class t{nativeDate;constructor(n){if(n)if(n instanceof Date)this.nativeDate=n;else if(typeof n=="string"||typeof n=="number")p1('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(n);else throw new Error('The input date type is not supported ("Date" is now recommended)');else this.nativeDate=new Date}calendarStart(n){return new t(en(Co(this.nativeDate),n))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new t(new Date(this.nativeDate))}setHms(n,e,r){let i=new Date(this.nativeDate.setHours(n,e,r));return new t(i)}setYear(n){return new t($o(this.nativeDate,n))}addYears(n){return new t(po(this.nativeDate,n))}setMonth(n){return new t(un(this.nativeDate,n))}addMonths(n){return new t(Jr(this.nativeDate,n))}setDay(n,e){return new t(qo(this.nativeDate,n,e))}setDate(n){let e=new Date(this.nativeDate);return e.setDate(n),new t(e)}getQuarter(){return y1(this.nativeDate)}setQuarter(n){return new t(Wo(this.nativeDate,n))}addDays(n){return this.setDate(this.getDate()+n)}add(n,e){switch(e){case"decade":return this.addYears(n*10);case"year":return this.addYears(n);case"month":return this.addMonths(n);default:return this.addMonths(n)}}isSame(n,e="day"){let r;switch(e){case"decade":r=(i,a)=>Math.abs(i.getFullYear()-a.getFullYear())<11;break;case"year":r=jo;break;case"quarter":r=Ro;break;case"month":r=Lo;break;case"day":r=cr;break;case"hour":r=Yo;break;case"minute":r=Fo;break;case"second":r=Bo;break;default:r=cr;break}return r(this.nativeDate,this.toNativeDate(n))}isSameYear(n){return this.isSame(n,"year")}isSameQuarter(n){return this.isSame(n,"quarter")}isSameMonth(n){return this.isSame(n,"month")}isSameDay(n){return this.isSame(n,"day")}isSameHour(n){return this.isSame(n,"hour")}isSameMinute(n){return this.isSame(n,"minute")}isSameSecond(n){return this.isSame(n,"second")}isBefore(n,e="day"){if(n===null)return!1;let r;switch(e){case"year":r=zo;break;case"quarter":r=yo;break;case"month":r=rn;break;case"day":r=gi;break;case"hour":r=bo;break;case"minute":r=_o;break;case"second":r=on;break;default:r=gi;break}return r(this.nativeDate,this.toNativeDate(n))<0}isBeforeYear(n){return this.isBefore(n,"year")}isBeforeQuarter(n){return this.isBefore(n,"quarter")}isBeforeMonth(n){return this.isBefore(n,"month")}isBeforeDay(n){return this.isBefore(n,"day")}isToday(){return Uo(this.nativeDate)}isValid(){return tn(this.nativeDate)}isFirstDayOfMonth(){return Do(this.nativeDate)}isLastDayOfMonth(){return an(this.nativeDate)}toNativeDate(n){return n instanceof t?n.nativeDate:n}},FF=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],Go=class{format;localeId;regex=null;matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null};constructor(n,e){this.format=n,this.localeId=e,this.genRegexp()}toDate(n){let e=this.getTimeResult(n),r=new Date;return Te(e?.hour)&&r.setHours(e.hour),Te(e?.minute)&&r.setMinutes(e.minute),Te(e?.second)&&r.setSeconds(e.second),e?.period===1&&r.getHours()<12&&r.setHours(r.getHours()+12),r}getTimeResult(n){let e=this.regex.exec(n),r=null;return e?(Te(this.matchMap.periodNarrow)&&(r=G1(this.localeId,W1.Format,$1.Narrow).indexOf(e[this.matchMap.periodNarrow+1])),Te(this.matchMap.periodWide)&&(r=G1(this.localeId,W1.Format,$1.Wide).indexOf(e[this.matchMap.periodWide+1])),Te(this.matchMap.periodAbbreviated)&&(r=G1(this.localeId,W1.Format,$1.Abbreviated).indexOf(e[this.matchMap.periodAbbreviated+1])),{hour:Te(this.matchMap.hour)?Number.parseInt(e[this.matchMap.hour+1],10):null,minute:Te(this.matchMap.minute)?Number.parseInt(e[this.matchMap.minute+1],10):null,second:Te(this.matchMap.second)?Number.parseInt(e[this.matchMap.second+1],10):null,period:r}):null}genRegexp(){let n=this.format.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$&"),e=/h{1,2}/i,r=/m{1,2}/,i=/s{1,2}/,a=/aaaaa/,o=/aaaa/,s=/a{1,3}/,c=e.exec(this.format),l=r.exec(this.format),d=i.exec(this.format),u=a.exec(this.format),f=null,p=null;u||(f=o.exec(this.format)),!f&&!u&&(p=s.exec(this.format)),[c,l,d,u,f,p].filter(M=>!!M).sort((M,x)=>
11M.index-x.index).forEach((M,x)=>{switch(M){case c:this.matchMap.hour=x,n=n.replace(e,"(\\d{1,2})");break;case l:this.matchMap.minute=x,n=n.replace(r,"(\\d{1,2})");break;case d:this.matchMap.second=x,n=n.replace(i,"(\\d{1,2})");break;case u:{this.matchMap.periodNarrow=x;let B=G1(this.localeId,W1.Format,$1.Narrow).join("|");n=n.replace(a,`(${B})`);break}case f:{this.matchMap.periodWide=x;let B=G1(this.localeId,W1.Format,$1.Wide).join("|");n=n.replace(o,`(${B})`);break}case p:{this.matchMap.periodAbbreviated=x;let B=G1(this.localeId,W1.Format,$1.Abbreviated).join("|");n=n.replace(s,`(${B})`);break}}}),this.regex=new RegExp(n)}};var Nv={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},Bv={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6
vendor: 4,775 bytes, line 11
11"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},TimePicker:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},Calendar:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectNone:"\u6E05\u7A7A\u6240\u6709"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Image:{preview:"\u9884\u89C8"},CronExpression:{cronError:"cron \u8868\u8FBE\u5F0F\u4E0D\u5408\u6CD5",second:"\u79D2",minute:"\u5206\u949F",hour:"\u5C0F\u65F6",day:"\u65E5",month:"\u6708",week:"\u5468"
11},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},CheckList:{checkList:"\u4EFB\u52A1\u6E05\u5355",checkListFinish:"\u4F60\u5DF2\u6210\u529F\u5B8C\u6210\u4EFB\u52A1\u6E05\u5355\uFF01",checkListClose:"\u5173\u95ED",checkListFooter:"\u4E0D\u9700\u8981\u64CD\u4F5C\u6307\u5F15",checkListCheck:"\u4F60\u8981\u5173\u95ED\u64CD\u4F5C\u6E05\u5355\u5417",ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",checkListCheckOther:"\u4EE5\u540E\u4E0D\u518D\u9700\u8981\u64CD\u4F5C\u6E05\u5355"}},jv=new O("nz-i18n");var Uv=new O("nz-date-locale"),ms=(()=>{class t{_locale;_change=new Ie(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(h(jv,{optional:!0})||Bv),this.setDateLocale(h(Uv,{optional:!0}))}translate(e,r){let i=this._getObjectPath(this._locale,e);return typeof i=="string"?(r&&Object.keys(r).forEach(a=>i=i.replace(new RegExp(`%${a}%`,"g"),r[a])),i):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,r){let i=e?this._getObjectPath(this._locale,e):this._locale;return!i&&!r&&p1(`Missing translations for "${e}" in language "${this._locale.locale}". 12You can use "NzI18nService.setLocale" as a temporary fix. 13Welcome to submit a pull request to help us optimize the translations! 14https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),i||r||this._getObjectPath(Nv,e)||{}}_getObjectPath(e,r){let i=e,a=r.split("."),o=a.length,s=0;for(;i&&s<o;)i=i[a[s++]];return s===o?i:null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),KF=(()=>{class t{_locale=h(ms);transform(e,r){return this._locale.translate(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=y6({name:"nzI18n",type:t,pure:!0})}return t})(),XF=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})(),qv=new O("date-config"),Wv={firstDayOfWeek:void 0};function $v(t){return z(z({},Wv),t)}function Gv(){let t=h(ms);return t.getDateLocale()?new ds(t):new us(t)}var e7=(()=>{class t{i18n;config=$v(h(qv,{optional:!0}));constructor(e){this.i18n=e}static \u0275fac=function(r){return new(r||t)(T(ms))};static \u0275prov=_({token:t,factory:()=>Gv(),providedIn:"root"})}return t})(),ds=class extends e7{getISOWeek(n){return ko(n)}getFirstDayOfWeek(){let n;try{n=this.i18n.getDateLocale().options.weekStartsOn}catch{n=1}return this.config.firstDayOfWeek==null?n:this.config.firstDayOfWeek}format(n,e){return n?To(n,e,{locale:this.i18n.getDateLocale()}):""}parseDate(n,e){return Ao(n,e,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(n,e){return this.parseDate(n,e)}},us=class extends e7{getISOWeek(n){return+this.format(n,"w")}getFirstDayOfWeek(){if(this.config.firstDayOfWeek===void 0){let n=this.i18n.getLocaleId();return n&&["zh-cn","zh-tw"].indexOf(n.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(n,e){return n?this.replaceQuarter(V6(n,e,this.i18n.getLocaleId()),n):""}parseDate(n){return new Date(n)}parseTime(n,e){return new Go(e,this.i18n.getLocaleId()).toDate(n)}replaceQuarter(n,e){let r=y1(e).toString(),i={Q:r,QQ:`0${r}`,QQQ:`Q${r}`};return n.replace(/Q+(?![^[]*])/g,a=>i[a]??r).replace(/\[(Q+)]/g,"$1")}};var Ti=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},fs=class extends Ti{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,r,i,a){super(),this.component=n,this.viewContainerRef
vendor: 4,350 bytes, line 14
14=e,this.injector=r,this.projectableNodes=a}},ki=class extends Ti{templateRef;viewContainerRef;context;injector;constructor(n,e,r,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},ps=class extends Ti{element;constructor(n){super(),this.element=n instanceof R?n.nativeElement:n}},Ko=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof fs)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof ki)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof ps)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Xo=class extends Ko{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,r,i,a){super(),this.outletElement=n,this._appRef=r,this._defaultInjector=i,this._document=a}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,i=r.get(b4,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,i=n.injector||this._defaultInjector||Fe.NULL,a=i.get(_t,r.injector);e=Xi(n.component,{elementInjector:i,environmentInjector:a,projectableNodes:n.projectableNodes||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(r);i!==-1&&e.remove(i)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this._document.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var aL=(()=>{class t extends Ko{_moduleRef=h(b4,{optional:!0});_document=h(U);_viewContainerRef=h(mt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new te;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(i,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(r,i)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;
14return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[fe]})}return t})();var t7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var vs=class{};function n7(t){return t&&typeof t.connect=="function"&&!(t instanceof fn)}var Zo=class extends vs{_data;constructor(n){super(),this._data=n}connect(){return Pt(this._data)?this._data:P(this._data)}disconnect(){}},Di=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t}(Di||{}),gs=new O("_ViewRepeater");var Qo=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,i,a){n.forEachOperation((o,s,c)=>{let l,d;if(o.previousIndex==null){let u=()=>r(o,s,c);l=this._insertView(u,c,e,i(o)),d=l?Di.INSERTED:Di.REPLACED}else c==null?(this._detachAndCacheView(s,e),d=Di.REMOVED):(l=this._moveView(s,c,e,i(o)),d=Di.MOVED);a&&a({context:l?.context,operation:d,record:o})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,i){let a=this._insertViewFromCache(e,r);if(a){a.context.$implicit=i;return}let o=n();return r.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,i){let a=r.get(n);return r.move(a,e),a.context.$implicit=i,a}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=e.indexOf(n);r===-1?n.destroy():e.remove(r)}}_insertViewFromCache(n,e){let r=this._viewCache.pop();return r&&e.insert(r,n),r||null}},r7=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new C;constructor(n=!1,e,r=!0,i){this._multiple=n,this._emitChanges=r,this.compareWith=i,e&&e.length&&(n?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(r=>this._markSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,r=new Set(n.map(a=>this._getConcreteValue(a)));n.forEach(a=>this._markSelected(a)),e.filter(a=>!r.has(this._getConcreteValue(a,r))).forEach(a=>this._unmarkSelected(a));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let r of e)if(this.compareWith(n,r))return r;return n}else return n}};var Kv=["contentWrapper"],Xv=["*"],s7=new O("VIRTUAL_SCROLL_STRATEGY"),ys=class{_scrolledIndexChange=new C;scrolledIndexChange=this._scrolledIndexChange.pipe(Et());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,r){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,r){r<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},r=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),a=this._viewport.measureScrollOffset(),o=this._itemSize>0?a/this._itemSize:0;if(e.end>i){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(o,i-c));o!=l&&(o=l,a=l*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(i,e.start+c))}let s=a-e.start*this._itemSize;if(s<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-s)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(i,Math.ceil(o+(r+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(a+r);if(c<this._minBufferPx&&e.end!=i){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(i,e.end+l),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}};function Zv(t){return t._scrollStrategy}var kL=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=er(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=er(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=er(e)}_maxBufferPx=200;_scrollStrategy=new ys(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[ne([{provide:s7,useFactory:Zv,deps:[Ye(()=>t)]}]),G]})}return t})(),Qv=20,Jo=(()=>{class t{_ngZone=h(W);_platform=h(me);_renderer=h(Oe).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;
vendor: 9,340 bytes, line 14
14scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Qv){return this._platform.isBrowser?new qe(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(yr(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):P()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let i=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(ue(a=>!a||i.indexOf(a)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((i,a)=>{this._scrollableContainsElement(a,e)&&r.push(a)}),r}_scrollableContainsElement(e,r){let i=A1(r),a=e.getElementRef().nativeElement;do if(i==a)return!0;while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zs=(()=>{class t{elementRef=h(R);scrollDispatcher=h(Jo);ngZone=h(W);dir=h(Pe,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=h(ve);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let r=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),i&&jr()!=qt.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),jr()==qt.INVERTED?e.left=e.right:jr()==qt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;Ua()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",i="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let o=this.dir&&this.dir.value=="rtl";return e=="start"?e=o?i:r:e=="end"&&(e=o?r:i),o&&jr()==qt.INVERTED?e==r?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&jr()==qt.NEGATED?e==r?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==r?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),Jv=20,Pi=(()=>{class t{_platform=h(me);_listeners;_viewportSize;_change=new C;_document=h(U,{optional:!0});constructor(){let e=h(W),r=h(Oe).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=a=>this._change.next(a);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),i=e.documentElement,a=i.getBoundingClientRect(),o=-a.top||e.body.scrollTop||r.scrollY||i.scrollTop||0,s=-a.left||e.body.scrollLeft||r.scrollX||i.scrollLeft||0;return{top:o,left:s}}change(e=Jv){return e>0?this._change.pipe(yr(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),i7=new O("VIRTUAL_SCROLLABLE"),eg=(()=>{class t extends zs{constructor(){super()}measureViewportSize(e){let r=this.elementRef.nativeElement;return e==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,features:[fe]})}return t})();function tg(t,n){return t.start==n.start&&t.end==n.end}var rg=typeof requestAnimationFrame<"u"?Ns:Hi,ng=(()=>{class t extends eg{elementRef=h(R);_changeDetectorRef=h(De);_scrollStrategy=h(s7,{optional:!0});scrollable=h(i7,{optional:!0});_platform=h(me);_detachedSubject=new C;_renderedRangeSubject=new C;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new qe(e=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth="";_totalContentHeight="";_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_isChangeDetectionPending=!1;_runAfterChangeDetection=[];_viewportChanges=Je.EMPTY;_injector=h(Fe);_isDestroyed=!1;constructor(){super();let e=h(Pi);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(st(null),yr(0,rg),L(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(L(this._detachedSubject)).subscribe(r=>{let i=r.length;i!==this._dataLength&&(this._dataLength=i,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){tg(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,r="to-start"){e=this.appendOnly&&r==="to-start"?0:e;let i=this.dir&&this.dir.value=="rtl",a=this.orientation=="horizontal",o=a?"X":"Y",c=`translate${o}(${Number((a&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,r==="to-end"&&(c+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,r="auto"){let i={behavior:r};this.orientation==="horizontal"?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,r="auto"){this._scrollStrategy.scrollToIndex(e,r)}measureScrollOffset(e){let r;return this.scrollable==this?r=i=>super.measureScrollOffset(i):r=i=>this.scrollable.measureScrollOffset(i),Math.max(0,r(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let r,i="left",a="right",o=this.dir?.value=="rtl";e=="start"?r=o?a:i:e=="end"?r=o?i:a:e?r=e:r=this.orientation==="horizontal"?"left"
14:"top";let s=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-s}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Zt(()=>{this._isChangeDetectionPending=!1;let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of e)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,i){if(r&1&&S1(Kv,7),r&2){let a;ct(a=lt())&&(i._contentWrapper=a.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,i){r&2&&ye("cdk-virtual-scroll-orientation-horizontal",i.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",i.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",N]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[ne([{provide:zs,useFactory:(e,r)=>e||r,deps:[[new v4,new Js(i7)],t]}]),fe],ngContentSelectors:Xv,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,i){r&1&&(ft(),et(0,"div",1,0),pt(2),tt(),Ge(3,"div",2)),r&2&&(be(3),C1("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}return t})();function a7(t,n,e){let r=e;if(!r.getBoundingClientRect)return 0;let i=r.getBoundingClientRect();return t==="horizontal"?n==="start"?i.left:i.right:n==="start"?i.top:i.bottom}var DL=(()=>
vendor: 42,288 bytes, line 14
14{class t{_viewContainerRef=h(mt);_template=h(wt);_differs=h(M6);_viewRepeater=h(gs);_viewport=h(ng,{skipSelf:!0});viewChange=new C;_dataSourceChanges=new C;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,n7(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Zo(Pt(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(r,i)=>e(r+(this._renderedRange?this._renderedRange.start:0),i):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=er(e)}dataStream=this._dataSourceChanges.pipe(st(null),Ws(),We(([e,r])=>this._changeDataSource(e,r)),Ks(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new C;constructor(){let e=h(W);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(L(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,r){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let i=e.start-this._renderedRange.start,a=e.end-e.start,o,s;for(let c=0;c<a;c++){let l=this._viewContainerRef.get(c+i);if(l&&l.rootNodes.length){o=s=l.rootNodes[0];break}}for(let c=a-1;c>-1;c--){let l=this._viewContainerRef.get(c+i);if(l&&l.rootNodes.length){s=l.rootNodes[l.rootNodes.length-1];break}}return o&&s?a7(r,"end",s)-a7(r,"start",o):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,r):r)),this._needsUpdate=!0)}_changeDataSource(e,r){return e&&e.disconnect(this),this._needsUpdate=!0,r?r.connect(this):P()}_updateContext(){let e=this._data.length,r=this._viewContainerRef.length;for(;r--;){let i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(a,o,s)=>this._getEmbeddedViewArgs(a,s),a=>a.item),e.forEachIdentityChange(a=>{let o=this._viewContainerRef.get(a.currentIndex);o.context.$implicit=a.item});let r=this._data.length,i=this._viewContainerRef.length;for(;i--;){let a=this._viewContainerRef.get(i);a.context.index=this._renderedRange.start+i,a.context.count=r,this._updateComputedContextProperties(a.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,r){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[ne([{provide:gs,useClass:Qo}])]})}return t})();var o7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})(),bs=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[ir,o7,ir,o7]})}return t})();var c7=Ua(),_s=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Me(-this._previousScrollPosition.left),n.style.top=Me(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,r=n.style,i=e.style,a=r.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),c7&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),c7&&(r.scrollBehavior=a,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};var ws=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,i){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ue(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},e4=class{enable(){}disable(){}attach(){}};function Ms(t,n){return n.some(e=>{let r=t.bottom<e.top,i=t.top>e.bottom,a=t.right<e.left,o=t.left>e.right;return r||i||a||o})}function l7(t,n){return n.some(e=>{let r=t.top<e.top,i=t.bottom>e.bottom,a=t.left<e.left,o=t.right>e.right;return r||i||a||o})}var Cs=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,i){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Ms(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ag=(()=>{class t{_scrollDispatcher=h(Jo);_viewportRuler=h(Pi);_ngZone=h(W);_document=h(U);constructor(){}noop=()=>new e4;close=e=>new ws(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new _s(this._viewportRuler,this._document);reposition=e=>new Cs(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),t4=class{positionStrategy;scrollStrategy=new e4;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let r of e)n[r]!==void 0&&(this[r]=n[r])}}},we=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(n,e,r,i,a){this.offsetX=r,this.offsetY=i,this.panelClass=a,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}};var xs=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var p7=(()=>{class t{_attachedOverlays=[];_document=h(U);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),og=(()=>{class t extends p7{_ngZone=h(W);_renderer=h(Oe).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let r=this._attachedOverlays;for(let i=r.length-1;i>-1;i--)if(r[i]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[i]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sg=(()=>{class t extends p7{_platform=h(me);_ngZone=h(W);_renderer=h(Oe).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let r=this._document.body,i={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[v1(this._renderer,r,"pointerdown",this._pointerDownListener,i),v1(this._renderer,r,"click",this._clickListener,i),v1(this._renderer,r,"auxclick",this._clickListener,i),v1(this._renderer,r,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=At(e)};_clickListener=e=>{let r=At(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let a=this._attachedOverlays.slice();for(let o=a.length-1;o>-1;o--){let s=a[o];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(h7(s.overlayElement,r)||h7(s.overlayElement,i))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function h7(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var v7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ge({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return t})(),g7=(()=>{class t{_platform=h(me);_containerElement;_document=h(U);_styleLoader=h(vi);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||n3()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<i.length;a++)i[a].remove()}let r=this._document.createElement("div");r.classList.add(e),n3()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(v7)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ss=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,r,i){this._renderer=e,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Ts=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=Je.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_renders=new C;_afterRenderRef;_afterNextRenderRef;constructor(n,e,r,i,a,o,s,c,l,d=!1,u,f){this._portalOutlet=n,this._host=e,this._pane=r,this._config=i,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=d,this._injector=u,this._renderer=f,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=Ot(()=>s6(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Zt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=z(z({},this._config),n),this._updateElementSize()}setDirection(n){this._config=X(z({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Me(this._config.width),n.height=Me(this._config.height),n.minWidth=Me(this._config.minWidth),n.minHeight=Me(this._config.minHeight),n.maxWidth=Me(this._config.maxWidth),n.maxHeight=Me(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Ss(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,r){let i=Br(e||[]).filter(a=>!!a);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(L(j1(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},d7="cdk-overlay-connected-position-bounding-box",cg=/([A-Za-z%]+)$/,ks=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C;_resizeSubscription=Je.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,i,a){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=a,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(d7),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,r=this._viewportRect,i=this._containerRect,a=[],o;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,i,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,r,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,r)){a.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!o||o.overlayFit.visibleArea<d.visibleArea)&&(o={overlayFit:d,overlayPoint:l,originPoint:c,position:s,overlayRect:e})}if(a.length){let s=null,c=-1;for(let l of a){let d=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);d>c&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(d7),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,r){let i;if(r.originX=="center")i=n.left+n.width/2;else{let o=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;i=r.originX=="start"?o:s}e.left<0&&(i-=e.left);let a;return r.originY=="center"?a=n.top+n.height/2:a=r.originY=="top"?n.top:n.bottom,e.top<0&&(a-=e.top),{x:i,y:a}}_getOverlayPoint(n,e,r){let i;r.overlayX=="center"?i=-e.width/2:r.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let a;return r.overlayY=="center"?a=-e.height/2:a=r.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+a}}_getOverlayFit(n,e,r,i){let a=m7(e),{x:o,y:s}=n,c=this._getOffset(i,"x"),l=this._getOffset(i,"y");c&&(o+=c),l&&(s+=l);let d=0-o,u=o+a.width-r.width,f=0-s,p=s+a.height-r.height,w=this._subtractOverflows(a.width,d,u),M=this._subtractOverflows(a.height,f,p),x=w*M;return{visibleArea:x,isCompletelyWithinViewport:a.width*a.height===x,fitsInViewportVertically:M===a.height,fitsInViewportHorizontally:w==a.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let i=r.bottom-e.y,a=r.right-e.x,o=u7(this._overlayRef.getConfig().minHeight),s=u7(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||o!=null&&o<=i,l=n.fitsInViewportHorizontally||s!=null&&s<=a;return c&&l}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=m7(e),a=this._viewportRect,o=Math.max(n.x+i.width-a.width,0),s=Math.max(n.y+i.height-a.height,0),c=Math.max(a.top-r.top-n.y,0),l=Math.max(a.left-r.left-n.x,0),d=0,u=0;return i.width<=a.width?d=l||-o:d=n.x<this._viewportMargin?a.left-r.left-n.x:0,i.height<=a.height?u=c||-s:u=n.y<this._viewportMargin?a.top-r.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!lg(this._lastScrollVisibility,r)){let i=new xs(n,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(n,e){let r=this._viewportRect,i=this._isRtl(),a,o,s;if(e.overlayY==="top")o=n.y,a=r.height-o+this._viewportMargin;else if(e.overlayY==="bottom")s=r.height-n.y+this._viewportMargin*2,a=r.height-s+this._viewportMargin;else{let p=Math.min(r.bottom-n.y+r.top,n.y),w=this._lastBoundingBoxSize.height;a=p*2,o=n.y-p,a>w&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.y-w/2)}let c=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,l=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,d,u,f;if(l)f=r.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)u=n.x,d=r.right-n.x;else{let p=Math.min(r.right-n.x+r.left,n.x),w=this._lastBoundingBoxSize.width;d=p*2,u=n.x-p,d>w&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-w/2)}return{top:o,left:u,bottom:s,right:f,width:d,height:a}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Me(r.height),i.top=Me(r.top),i.bottom=Me(r.bottom),i.width=Me(r.width),i.left=Me(r.left),i.right=Me(r.right),e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(i.maxHeight=Me(a)),o&&(i.maxWidth=Me(o))}this._lastBoundingBoxSize=r,vr(this._boundingBox.style,i)}_resetBoundingBoxStyles(){vr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();vr(r,this._getExactOverlayY(e,n,d)),vr(r,this._getExactOverlayX(e,n,d))}else r.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),r.transform=s.trim(),o.maxHeight&&(i?r.maxHeight=Me(o.maxHeight):a&&(r.maxHeight="")),o.maxWidth&&(i?r.maxWidth=Me(o.maxWidth):a&&(r.maxWidth="")),vr(this._pane.style,r)}_getExactOverlayY(n,e,r){let i={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r)),n.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;i.bottom=`${o-(a.y+this._overlayRect.height)}px`}else i.top=Me(a.y);return i}_getExactOverlayX(n,e,r){let i={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r));let o;if(this._isRtl()?o=n.overlayX==="end"?"left":"right":o=n.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(a.x+this._overlayRect.width)}px`}else i.left=Me(a.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:l7(n,r),isOriginOutsideView:Ms(n,r),isOverlayClipped:l7(e,r),isOverlayOutsideView:Ms(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Br(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof R)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}};function vr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function u7(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(cg);return!e||e==="px"?parseFloat(n):null}return t||null}function m7(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function lg(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var f7="cdk-global-overlay-wrapper",Ds=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(f7),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:a,maxWidth:o,maxHeight:s}=r,c=(i==="100%"||i==="100vw")&&(!o||o==="100%"||o==="100vw"),l=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",p="",w="",M="";c?M="flex-start":d==="center"?(M="center",f?w=u:p=u):f?d==="left"||d==="end"?(M="flex-end",p=u):(d==="right"||d==="start")&&(M="flex-start",w=u):d==="left"||d==="start"?(M="flex-start",p=u):(d==="right"||d==="end")&&(M="flex-end",w=u),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":w,e.justifyContent=M,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(f7),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},hg=(()=>{class t{_viewportRuler=h(Pi);_document=h(U);_platform=h(me);_overlayContainer=h(g7);constructor(){}global(){return new Ds}flexibleConnectedTo(e){return new ks(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),n4=(()=>{class t{scrollStrategies=h(ag);_overlayContainer=h(g7);_positionBuilder=h(hg);_keyboardDispatcher=h(og);_injector=h(Fe);_ngZone=h(W);_document=h(U);_directionality=h(Pe);_location=h(q1);_outsideClickDispatcher=h(sg);_animationsModuleType=h(Xt,{optional:!0});_idGenerator=h($l);_renderer=h(Oe).createRenderer(null,null);_appRef;_styleLoader=h(vi);constructor(){}create(e){this._styleLoader.load(v7);let r=this._createHostElement(),i=this._createPaneElement(r),a=this._createPortalOutlet(i),o=new t4(e);return o.direction=o.direction||this._directionality.value,new Ts(a,r,i,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(_t),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let r=this._document.createElement("div");return r.id=this._idGenerator.getId("cdk-overlay-"),r.classList.add("cdk-overlay-pane"),e.appendChild(r),r}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(s1)),new Xo(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],y7=new O("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(n4);return()=>t.scrollStrategies.reposition()}}),r4=(()=>{class t{elementRef=h(R);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),i4=(()=>{class t{_overlay=h(n4);_dir=h(Pe,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=Je.EMPTY;_attachSubscription=Je.EMPTY;_detachSubscription=Je.EMPTY;_positionSubscription=Je.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h(y7);_disposeOnNavigation=!1;_ngZone=h(W);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new te;positionChange=new te;attach=new te;detach=new te;overlayKeydown=new te;overlayOutsideClick=new te;constructor(){let e=h(wt),r=h(mt);this._templatePortal=new ki(e,r),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=dg);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!co(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let i=this._getOriginElement(),a=At(r);(!i||i!==a&&!i.contains(a))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new t4({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}
14_getOrigin(){return this.origin instanceof r4?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof r4?this.origin.elementRef.nativeElement:this.origin instanceof R?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Xs(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",N],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",N],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",N],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",N],push:[2,"cdkConnectedOverlayPush","push",N],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",N]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[G]})}return t})();function ug(t){return()=>t.scrollStrategies.reposition()}var mg={provide:y7,deps:[n4],useFactory:ug},z7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({providers:[n4,mg],imports:[ir,t7,bs,bs]})}return t})();var Xe=(()=>{class t{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"}return t})(),rt=(()=>{class t{static EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return t})(),eR=vt("collapseMotion",[gt("expanded",F({height:"*"})),gt("collapsed",F({height:0,overflow:"hidden"})),gt("hidden",F({height:0,overflow:"hidden",borderTopWidth:"0"}
14)),le("expanded => collapsed",se(`150ms ${rt.EASE_IN_OUT}`)),le("expanded => hidden",se(`150ms ${rt.EASE_IN_OUT}`)),le("collapsed => expanded",se(`150ms ${rt.EASE_IN_OUT}`)),le("hidden => expanded",se(`150ms ${rt.EASE_IN_OUT}`))]),tR=vt("treeCollapseMotion",[le("* => *",[k4("nz-tree-node:leave,nz-tree-builtin-node:leave",[F({overflow:"hidden"}),D4(0,[se(`150ms ${rt.EASE_IN_OUT}`,F({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),k4("nz-tree-node:enter,nz-tree-builtin-node:enter",[F({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),D4(0,[se(`150ms ${rt.EASE_IN_OUT}`,F({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),rR=vt("drawerMaskMotion",[le(":enter",[F({opacity:0}),se(`${Xe.SLOW}`,F({opacity:1}))]),le(":leave",[F({opacity:1}),se(`${Xe.SLOW}`,F({opacity:0}))])]),nR=vt("fadeMotion",[le("* => enter",[F({opacity:0}),se(`${Xe.BASE}`,F({opacity:1}))]),le("* => leave, :leave",[F({opacity:1}),se(`${Xe.BASE}`,F({opacity:0}))])]),iR=vt("helpMotion",[le(":enter",[F({opacity:0,transform:"translateY(-5px)"}),se(`${Xe.SLOW}
14 ${rt.EASE_IN_OUT}`,F({opacity:1,transform:"translateY(0)"}))]),le(":leave",[F({opacity:1,transform:"translateY(0)"}),se(`${Xe.SLOW} ${rt.EASE_IN_OUT}`,F({opacity:0,transform:"translateY(-5px)"}))])]),aR=vt("moveUpMotion",[le("* => enter",[F({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),se(`${Xe.BASE}`,F({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),le("* => leave",[F({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),se(`${Xe.BASE}`,F({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),oR=vt("notificationMotion",[gt("enterRight",F({opacity:1,transform:"translateX(0)"})),le("* => enterRight",[F({opacity:0,transform:"translateX(5%)"}),se("100ms linear")]),gt("enterLeft",F({opacity:1,transform:"translateX(0)"})),le("* => enterLeft",[F({opacity:0,transform:"translateX(-5%)"}),se("100ms linear")]),gt("enterTop",F({opacity:1,transform:"translateY(0)"})),le("* => enterTop",[F({opacity:0,transform:"translateY(-5%)"}),se("100ms linear")]),gt("enterBottom",F({opacity:1,transform:"translateY(0)"})),le("* => enterBottom",[F({opacity:0,transform:"translateY(5%)"}),se("100ms linear")]),gt("leave",F({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),le("* => leave",[F({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),se("100ms linear")])]),fg=`${Xe.BASE} ${rt.EASE_OUT_QUINT}`,pg=`${Xe.BASE} ${rt.EASE_IN_QUINT}`,sR=vt("slideMotion",[gt("void",F({opacity:0,transform:"scaleY(0.8)"})),gt("enter",F({opacity:1,transform:"scaleY(1)"})),le("void => *",[se(fg)]),le("* => void",[se(pg)])]),cR=vt("slideAlertMotion",[le(":leave",[F({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),se(`${Xe.SLOW}
14 ${rt.EASE_IN_OUT_CIRC}`,F({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),lR=vt("tabSwitchMotion",[gt("leave",F({display:"none"})),le("* => enter",[F({display:"block",opacity:0}),se(Xe.SLOW)]),le("* => leave, :leave",[F({position:"absolute",top:0,left:0,width:"100%"}),se(Xe.SLOW,F({opacity:0})),F({display:"none"})])]),hR=vt("thumbMotion",[gt("from",F({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),gt("to",F({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),le("from => to",se(`300ms ${rt.EASE_IN_OUT}`))]),_7=vt("zoomBigMotion",[le("void => active",[F({opacity:0,transform:"scale(0.8)"}),se(`${Xe.BASE} ${rt.EASE_OUT_CIRC}`,F({opacity:1,transform:"scale(1)"}))]),le("active => void",[F({opacity:1,transform:"scale(1)"}),se(`${Xe.BASE} ${rt.EASE_IN_OUT_CIRC}`,F({opacity:0,transform:"scale(0.8)"}))])]),dR=vt("zoomBadgeMotion",[le(":enter",[F({opacity:0,transform:"scale(0) translate(50%, -50%)"}),se(`${Xe.SLOW} ${rt.EASE_OUT_BACK}`,F({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),le(":leave",[F({opacity:1,transform:"scale(1) translate(50%, -50%)"}),se(`${Xe.SLOW} ${rt.EASE_IN_BACK}`,F({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);var a4=(()=>{class t{animationType=h(Xt,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(r,i){r&2&&ye("nz-animate-disabled",i.nzNoAnimation||i.animationType==="NoopAnimations")},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",N]},exportAs:["nzNoAnimation"]})}return t})(),yR=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();var nt={top:new we({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new we({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new we({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new we({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new we({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new we({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new we({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new we({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new we({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new we({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new we({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new we({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new we({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new we({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Ps=[nt.top,nt.right,nt.bottom,nt.left],TR=[nt.bottomLeft,nt.bottomRight,nt.topLeft,nt.topRight],kR=[new we({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new we({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],DR=[nt.bottomLeft,new we({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function Es(t){for(let n in nt)if(t.connectionPair.originX===nt[n].originX&&t.connectionPair.originY===nt[n].originY&&t.connectionPair.overlayX===nt[n].overlayX&&t.connectionPair.overlayY===nt[n].overlayY)return n}var o4={bottomLeft:new we({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new we({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new we({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new we({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},PR=[o4.bottomLeft,o4.topLeft,o4.bottomRight,o4.topRight],w7=(()=>{class t{cdkConnectedOverlay;nzDestroyService;nzArrowPointAtCenter=!1;constructor(e,r){this.cdkConnectedOverlay=e,this.nzDestroyService=r,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(L(this.nzDestroyService)).subscribe(i=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(i)})}updateArrowPosition(e){let r=this.getOriginRect(),i=Es(e),a=0,o=0;i==="topLeft"||i==="bottomLeft"?a=r.width/2-14:i==="topRight"||i==="bottomRight"?a=-(r.width/2-14):i==="leftTop"||i==="rightTop"?o=r.height/2-10:(i==="leftBottom"||i==="rightBottom")&&(o=-(r.height/2-10)),(this.cdkConnectedOverlay.offsetX!==a||this.cdkConnectedOverlay.offsetY!==o)&&(this.cdkConnectedOverlay.offsetY=o,this.cdkConnectedOverlay.offsetX=a,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin
14instanceof r4?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof R)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+r,height:i,width:r}}static \u0275fac=function(r){return new(r||t)(v(i4),v(Tt))};static \u0275dir=S({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",N]},exportAs:["nzConnectedOverlay"],features:[ne([Tt])]})}return t})(),M7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({})}return t})();function ER(t,n){n&&(t._host.style.zIndex=`${n}`)}var gg=["overlay"];function yg(t,n){if(t&1&&(Wi(0),xr(1),$i()),t&2){let e=re(2);be(),Sr(e.nzTitle)}}function zg(t,n){if(t&1&&(et(0,"div",2)(1,"div",3)(2,"div",4),Ge(3,"span",5),tt(),et(4,"div",6),Se(5,yg,2,1,"ng-container",7),tt()()()),t&2){let e=re();ji(e.nzOverlayStyle),Mr(e._classMap),ye("ant-tooltip-rtl",e.dir==="rtl"),_e("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),be(3),ji(e._contentStyleMap),be(),ji(e._contentStyleMap),be(),_e("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}var bg=(()=>{class t{componentType;config;cdkConnectedOverlayPush;visibleChange=new te;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new C;triggerDisposables=[];delayTimer;elementRef=h(R);hostView=h(mt);renderer=h(ve);noAnimation=h(a4,{host:!0,optional:!0});nzConfigService=h(Ut);platformId=h(Kt);constructor(e){this.componentType=e}ngAfterViewInit(){Ji(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){let{trigger:r}=e;r&&!r.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let r=this.component.nzVisibleChange.pipe(Et());r.pipe(L(this.destroy$)).subscribe(i=>{this.internalVisible=i,this.visibleChange.emit(i)}),r.pipe(ue(i=>i),Us(0,Hi),ue(()=>!!this.component?.overlay?.overlayRef),L(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){let e=this.elementRef.nativeElement,r=this.trigger;if(this.removeTriggerListeners(),r==="hover"){let i;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!i&&(i=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(i,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)}
14)),this.triggerDisposables.push(this.renderer.listen(i,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else r==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):r==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",i=>{i.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){let r=z({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush]},this.getProxyPropertyMap());(e||Object.keys(r).filter(i=>!i.startsWith("directive"))).forEach(i=>{if(r[i]){let[a,o]=r[i];this.updateComponentValue(a,o())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,r){typeof r<"u"&&(this.component[e]=r)}delayEnterLeave(e,r,i=-1){this.delayTimer?this.clearTogglingTimer():i>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,r?this.show():this.hide()},i*1e3):r&&e?this.show():this.hide()}
14removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(r){return new(r||t)(v(t6))};static \u0275dir=S({type:t,features:[G]})}return t})(),_g=(()=>{class t{overlay;noAnimation=h(a4,{host:!0,optional:!0});cdr=h(De);directionality=h(Pe);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new C;set nzVisible(e){let r=w0(e);this._visible!==r&&(this._visible=r,this.nzVisibleChange.next(r))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let r=e.map(i=>nt[i]);this._positions=[...r,...Ps]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...Ps];destroy$=new C;ngOnInit(){this.directionality.change?.pipe(L(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=Es(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;let r=At(e);!this.origin.nativeElement.contains(r)&&this.nzTrigger!==null&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap=X(z({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0})}transformClassListToMap(e){let r={};return(e!==null?e.split(/\s+/):[]).forEach(a=>r[a]=!0),r}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,viewQuery:function(r,i){if(r&1&&S1(gg,5),r&2){let a;ct(a=lt())&&(i.overlay=a.first)}}})}return t})();function wg(t){return t instanceof wt?!1:t===""||!Te(t)}var eN=(()=>{class t extends bg{title;titleContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;arrowPointAtCenter;cdkConnectedOverlayPush=!0;nzTooltipColor;directiveContent=null;content=null;overlayClickable;visibleChange=new te;constructor(){super(C7)}getProxyPropertyMap(){return X(z({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]})}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(r,i){r&2&&ye("ant-tooltip-open",i.visible)},inputs:{title:[0,"nzTooltipTitle","title"],titleContext:[0,"nzTooltipTitleContext","titleContext"],directiveTitle:[0,"nz-tooltip","directiveTitle"],trigger:[0,"nzTooltipTrigger","trigger"],placement:[0,"nzTooltipPlacement","placement"],origin:[0,"nzTooltipOrigin","origin"],visible:[0,"nzTooltipVisible","visible"],mouseEnterDelay:[0,"nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzTooltipOverlayClassName","overlayClassName"],overlayStyle:[0,"nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:[2,"nzTooltipArrowPointAtCenter","arrowPointAtCenter",N],cdkConnectedOverlayPush:[2,"cdkConnectedOverlayPush","cdkConnectedOverlayPush",N],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[fe]})}return t})(),C7=(()=>{class t extends _g{nzTitle=null;nzTitleContext=null;nzColor;_contentStyleMap={};isEmpty(){return wg(this.nzTitle)}updateStyles(){let e=this.nzColor&&v0(this.nzColor);this._classMap=X(z({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null,"--antd-arrow-background-color":this.nzColor}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(t)))(i||t)}})();static \u0275cmp=ge({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[fe],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(r,i){if(r&1){let a=Gi();Se(0,zg,6,15,"ng-template",1,0,_n),Ct("overlayOutsideClick",function(s){return n1(a),i1(i.onClickOutside(s))})("detach",function(){return n1(a),i1(i.hide())})("positionChange",function(s){return n1(a),i1(i.onPositionChange(s))})}r&2&&_e("cdkConnectedOverlayOrigin",i.origin)("cdkConnectedOverlayOpen",i._visible)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayPush",i.cdkConnectedOverlayPush)("nzArrowPointAtCenter",i.nzArrowPointAtCenter)},dependencies:[z7,i4,a4,$a,qr,M7,w7],encapsulation:2,data:{animation:[_7]},changeDetection:0})}return t})(),tN=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Y({type:t});static \u0275inj=I({imports:[C7]})}return t})();export{Jt as a,T1 as b,xn as c,l1 as d,k1 as e,L4 as f,Yg as g,Fg as h,Lg as i,ha as j,cy as k,ly as l,d8 as m,En as n,hy as o,Pe as p,z_ as q,ir as r,K as s,Ar as t,t1 as u,P1 as v,fd as w,E1 as x,Py as y,Ey as z,Vy as A,Oy as B,a9 as C,p1 as D,fo as E,gi as F,tn as G,wo as H,yi as I,m5 as J,ko as K,J5 as L,er as M,Br as N,Me as O,A1 as P,jz as Q,Uz as R,Te as S,qz as T,Jn as U,w0 as V,X2 as W,Wz as X,$z as Y,Gz as Z,Kz as _,Xz as $,Zz as aa,Qz as ba,Z2 as ca,Jz as da,eb as ea,y9 as fa,tb as ga,rb as ha,nb as ia,ib as ja,ab as ka,ob as la,sb as ma,cb as na,lb as oa,hb as pa,db as qa,ub as ra,mb as sa,fb as ta,ei as ua,T0 as va,AF as wa,IF as xa,YF as ya,Si as za,FF as Aa,Nv as Ba,Bv as Ca,ms as Da,KF as Ea,XF as Fa,e7 as Ga,Oa as Ha,c9 as Ia,l9 as Ja,v0 as Ka,Az as La,Cb as Ma,Ut as Na,tr as Oa,xz as Pa,Vz as Qa,$c as Ra,Xc as Sa,Jc as Ta,me as Ua,O0 as Va,H0 as Wa,At as Xa,v1 as Ya,F0 as Za,I1 as _a,H9 as $a,Ur as ab,fs as bb,ki as cb,Ko as db,aL as eb,t7 as fb,co as gb,vi as hb,A3 as ib,Nl as jb,HM as kb,Af as lb,AM as mb,If as nb,Yf as ob,B3 as pb,IM as qb,YM as rb,$l as sb,vs as tb,n7 as ub,r7 as vb,kL as wb,Jo as xb,zs as yb,Pi as zb,ng as Ab,DL as Bb,o7 as Cb,bs as Db,t4 as Eb,we as Fb,og as Gb,Ts as Hb,n4 as Ib,r4 as Jb,i4 as Kb,z7 as Lb,eR as Mb,tR as Nb,rR as Ob,nR as Pb,iR as Qb,aR as Rb,oR as Sb,sR as Tb,cR as Ub,lR as Vb,hR as Wb,_7 as Xb,dR as Yb,a4 as Zb,yR as _b,qr as $b,$a as ac,qb as bc,a3 as cc,s3 as dc,c_ as ec,l_ as fc,$0 as gc,G0 as hc,ii as ic,h_ as jc,K0 as kc,Tt as lc,d_ as mc,nt as nc,TR as oc,kR as pc,DR as qc,Es as rc,o4 as sc,PR as tc,w7 as u
14c,M7 as vc,ER as wc,bg as xc,wg as yc,eN as zc,C7 as Ac,tN as Bc,W9 as Cc,c3 as Dc,ai as Ec,Wr as Fc,Q9 as Gc,oi as Hc,rm as Ic,W_ as Jc,$_ as Kc,jb as Lc,mw as Mc,il as Nc,dm as Oc,Ow as Pc,Hw as Qc,F1 as Rc,pm as Sc,ym as Tc,ao as Uc,fi as Vc,Xa as Wc,Wt as Xc,Dl as Yc,tM as Zc,Kr as _c,Am as $c,Fm as ad,nM as bd,Rm as cd,V3 as dd,jm as ed,qm as fd,$m as gd,Km as hd,Zm as id,O3 as jd,ef as kd,H3 as ld,iM as md,aM as nd,Fl as od,f3 as pd,Ga as qd,p3 as rd,sC as sd,cC as td,lC as ud,hC as vd,dC as wd,j3 as xd,uC as yd,vp as zd,gp as Ad,mC as Bd,fC as Cd,yp as Dd,xC as Ed,SC as Fd,Xl as Gd,Sp as Hd,$C as Id};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.