bimplus-webcomponents 0.0.175 → 0.0.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11647,7 +11647,7 @@ ${a.map((f,g)=>`${g+1}) ${f.toString()}`).join(`
11647
11647
  `+p.message,g,a,f),p[Oye]=g,p[EX]=null,p}function Dye(p,h,a,f=null){p=p&&p.charAt(0)===`
11648
11648
  `&&p.charAt(1)==_ye?p.slice(2):p;let g=aC(h);if(Array.isArray(h))g=h.map(aC).join(" -> ");else if(typeof h=="object"){let D=[];for(let q in h)if(h.hasOwnProperty(q)){let de=h[q];D.push(q+":"+(typeof de=="string"?JSON.stringify(de):aC(de)))}g=`{${D.join(", ")}}`}return`${a}${f?"("+f+")":""}[${g}]: ${p.replace(wye,`
11649
11649
  `)}`}var eB=Ede(yde("Optional"),8);var $X=Ede(yde("SkipSelf"),4);function UP(p,h){let a=p.hasOwnProperty(_X);return a?p[_X]:null}function Sye(p,h,a){if(p.length!==h.length)return!1;for(let f=0;f<p.length;f++){let g=p[f],D=h[f];if(a&&(g=a(g),D=a(D)),D!==g)return!1}return!0}function zye(p){return p.flat(Number.POSITIVE_INFINITY)}function poe(p,h){p.forEach(a=>Array.isArray(a)?poe(a,h):h(a))}function Cde(p,h,a){h>=p.length?p.push(a):p.splice(h,0,a)}function CX(p,h){return h>=p.length-1?p.pop():p.splice(h,1)[0]}function Rye(p,h){let a=[];for(let f=0;f<p;f++)a.push(h);return a}function Lye(p,h,a,f){let g=p.length;if(g==h)p.push(a,f);else if(g===1)p.push(f,p[0]),p[0]=a;else{for(g--,p.push(p[g-1],p[g]);g>h;){let D=g-2;p[g]=p[D],g--}p[h]=a,p[h+1]=f}}function eQ(p,h,a){let f=TV(p,h);return f>=0?p[f|1]=a:(f=~f,Lye(p,f,h,a)),f}function jre(p,h){let a=TV(p,h);if(a>=0)return p[a|1]}function TV(p,h){return xye(p,h,1)}function xye(p,h,a){let f=0,g=p.length>>a;for(;g!==f;){let D=f+(g-f>>1),q=p[D<<a];if(h===q)return D<<a;q>h?g=D:f=D+1}return~(g<<a)}var jP={},B_=[],pV=new Mo(""),Dde=new Mo("",-1),Sde=new Mo(""),DX=class{get(h,a=qP){if(a===qP){let f=new Error(`NullInjectorError: No provider for ${aC(h)}!`);throw f.name="NullInjectorError",f}return a}};function G9(p){return p[gye]||null}function Nye(p){return p[yye]||null}function Pye(p){return p[Mye]||null}function tQ(p){return{\u0275providers:p}}function hoe(...p){return{\u0275providers:zde(!0,p),\u0275fromNgModule:!0}}function zde(p,...h){let a=[],f=new Set,g,D=q=>{a.push(q)};return poe(h,q=>{let de=q;cae(de,D,[],f)&&(g||=[],g.push(de))}),g!==void 0&&Rde(g,D),a}function Rde(p,h){for(let a=0;a<p.length;a++){let{ngModule:f,providers:g}=p[a];foe(g,D=>{h(D,f)})}}function cae(p,h,a,f){if(p=C_(p),!p)return!1;let g=null,D=Tue(p),q=!D&&G9(p);if(!D&&!q){let G=p.ngModule;if(D=Tue(G),D)g=G;else return!1}else{if(q&&!q.standalone)return!1;g=p}let de=f.has(g);if(q){if(de)return!1;if(f.add(g),q.dependencies){let G=typeof q.dependencies=="function"?q.dependencies():q.dependencies;for(let ee of G)cae(ee,h,a,f)}}else if(D){if(D.imports!=null&&!de){f.add(g);let ee;try{poe(D.imports,fe=>{cae(fe,h,a,f)&&(ee||=[],ee.push(fe))})}finally{}ee!==void 0&&Rde(ee,h)}if(!de){let ee=UP(g)||(()=>new g);h({provide:g,useFactory:ee,deps:B_},g),h({provide:Sde,useValue:g,multi:!0},g),h({provide:pV,useValue:()=>h0(g),multi:!0},g)}let G=D.providers;if(G!=null&&!de){let ee=p;foe(G,fe=>{h(fe,ee)})}}else return!1;return g!==p&&p.providers!==void 0}function foe(p,h){for(let a of p)Ode(a)&&(a=a.\u0275providers),Array.isArray(a)?foe(a,h):h(a)}var Bye=Zg({provide:String,useValue:Zg});function Lde(p){return p!==null&&typeof p=="object"&&Bye in p}function kye(p){return!!(p&&p.useExisting)}function Hye(p){return!!(p&&p.useFactory)}function V9(p){return typeof p=="function"}function Fye(p){return!!p.useClass}var nQ=new Mo(""),yX={},Sue={},Gre;function iQ(){return Gre===void 0&&(Gre=new DX),Gre}var EA=class{},hV=class extends EA{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(h,a,f,g){super(),this.parent=a,this.source=f,this.scopes=g,dae(h,q=>this.processProvider(q)),this.records.set(Dde,H9(void 0,this)),g.has("environment")&&this.records.set(EA,H9(void 0,this));let D=this.records.get(nQ);D!=null&&typeof D.value=="string"&&this.scopes.add(D.value),this.injectorDefTypes=new Set(this.get(Sde,B_,df.Self))}retrieve(h,a){let f=a;return this.get(h,f.optional?Sre:qP,f)}destroy(){cV(this),this._destroyed=!0;let h=mp(null);try{for(let f of this._ngOnDestroyHooks)f.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let f of a)f()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),mp(h)}}onDestroy(h){return cV(this),this._onDestroyHooks.push(h),()=>this.removeOnDestroy(h)}runInContext(h){cV(this);let a=zR(this),f=P_(void 0),g;try{return h()}finally{zR(a),P_(f)}}get(h,a=qP,f=df.Default){if(cV(this),h.hasOwnProperty(Cue))return h[Cue](this);f=JX(f);let g,D=zR(this),q=P_(void 0);try{if(!(f&df.SkipSelf)){let G=this.records.get(h);if(G===void 0){let ee=Gye(h)&&uoe(h);ee&&this.injectableDefInScope(ee)?G=H9(uae(h),yX):G=null,this.records.set(h,G)}if(G!=null)return this.hydrate(h,G)}let de=f&df.Self?iQ():this.parent;return a=f&df.Optional&&a===qP?null:a,de.get(h,a)}catch(de){if(de.name==="NullInjectorError"){if((de[EX]=de[EX]||[]).unshift(aC(h)),D)throw de;return Cye(de,h,"R3InjectorError",this.source)}else throw de}finally{P_(q),zR(D)}}resolveInjectorInitializers(){let h=mp(null),a=zR(this),f=P_(void 0),g;try{let D=this.get(pV,B_,df.Self);for(let q of D)q()}finally{zR(a),P_(f),mp(h)}}toString(){let h=[],a=this.records;for(let f of a.keys())h.push(aC(f));return`R3Injector[${h.join(", ")}]`}processProvider(h){h=C_(h);let a=V9(h)?h:C_(h&&h.provide),f=Wye(h);if(!V9(h)&&h.multi===!0){let g=this.records.get(a);g||(g=H9(void 0,yX,!0),g.factory=()=>lae(g.multi),this.records.set(a,g)),a=h,g.multi.push(h)}this.records.set(a,f)}hydrate(h,a){let f=mp(null);try{return a.value===Sue?wde(aC(h)):a.value===yX&&(a.value=Sue,a.value=a.factory()),typeof a.value=="object"&&a.value&&jye(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{mp(f)}}injectableDefInScope(h){if(!h.providedIn)return!1;let a=C_(h.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(h){let a=this._onDestroyHooks.indexOf(h);a!==-1&&this._onDestroyHooks.splice(a,1)}};function uae(p){let h=uoe(p),a=h!==null?h.factory:UP(p);if(a!==null)return a;if(p instanceof Mo)throw new h1(204,!1);if(p instanceof Function)return qye(p);throw new h1(204,!1)}function qye(p){if(p.length>0)throw new h1(204,!1);let a=bye(p);return a!==null?()=>a.factory(p):()=>new p}function Wye(p){if(Lde(p))return H9(void 0,p.useValue);{let h=xde(p);return H9(h,yX)}}function xde(p,h,a){let f;if(V9(p)){let g=C_(p);return UP(g)||uae(g)}else if(Lde(p))f=()=>C_(p.useValue);else if(Hye(p))f=()=>p.useFactory(...lae(p.deps||[]));else if(kye(p))f=()=>h0(C_(p.useExisting));else{let g=C_(p&&(p.useClass||p.provide));if(Uye(p))f=()=>new g(...lae(p.deps));else return UP(g)||uae(g)}return f}function cV(p){if(p.destroyed)throw new h1(205,!1)}function H9(p,h,a=!1){return{factory:p,value:h,multi:a?[]:void 0}}function Uye(p){return!!p.deps}function jye(p){return p!==null&&typeof p=="object"&&typeof p.ngOnDestroy=="function"}function Gye(p){return typeof p=="function"||typeof p=="object"&&p instanceof Mo}function dae(p,h){for(let a of p)Array.isArray(a)?dae(a,h):a&&Ode(a)?dae(a.\u0275providers,h):h(a)}function sQ(p,h){let a;p instanceof hV?(cV(p),a=p):a=new TX(p);let f,g=zR(a),D=P_(void 0);try{return h()}finally{zR(g),P_(D)}}function Nde(){return _de()!==void 0||JG()!=null}function $P(p){if(!Nde())throw new h1(-203,!1)}function Vye(p){return typeof p=="function"}var BR=0,Ud=1,Ou=2,Dw=3,aS=4,F_=5,Y9=6,SX=7,EI=8,fV=9,xR=10,Kg=11,mV=12,zue=13,tB=14,k_=15,GP=16,F9=17,NR=18,rQ=19,Pde=20,sL=21,Vre=22,VP=23,oC=24,U9=25,yA=26,Bde=1;var YP=7,zX=8,X9=9,Cw=10;function rL(p){return Array.isArray(p)&&typeof p[Bde]=="object"}function kR(p){return Array.isArray(p)&&p[Bde]===!0}function moe(p){return(p.flags&4)!==0}function nB(p){return p.componentOffset>-1}function aQ(p){return(p.flags&1)===1}function gS(p){return!!p.template}function RX(p){return(p[Ou]&512)!==0}function EV(p){return(p[Ou]&256)===256}var pae=class{previousValue;currentValue;firstChange;constructor(h,a,f){this.previousValue=h,this.currentValue=a,this.firstChange=f}isFirstChange(){return this.firstChange}};function kde(p,h,a,f){h!==null?h.applyValueToInputSignal(h,f):p[a]=f}var Gd=(()=>{let p=()=>Hde;return p.ngInherit=!0,p})();function Hde(p){return p.type.prototype.ngOnChanges&&(p.setInput=Xye),Yye}function Yye(){let p=qde(this),h=p?.current;if(h){let a=p.previous;if(a===jP)p.previous=h;else for(let f in h)a[f]=h[f];p.current=null,this.ngOnChanges(h)}}function Xye(p,h,a,f,g){let D=this.declaredInputs[f],q=qde(p)||Qye(p,{previous:jP,current:null}),de=q.current||(q.current={}),G=q.previous,ee=G[D];de[D]=new pae(ee&&ee.currentValue,a,G===jP),kde(p,h,g,a)}var Fde="__ngSimpleChanges__";function qde(p){return p[Fde]||null}function Qye(p,h){return p[Fde]=h}var Rue=null;var _v=function(p,h=null,a){Rue?.(p,h,a)},Wde="svg",Zye="math";function yS(p){for(;Array.isArray(p);)p=p[BR];return p}function Ude(p,h){return yS(h[p])}function OS(p,h){return yS(h[p.index])}function boe(p,h){return p.data[h]}function voe(p,h){return p[h]}function MS(p,h){let a=h[p];return rL(a)?a:a[BR]}function Kye(p){return(p[Ou]&4)===4}function goe(p){return(p[Ou]&128)===128}function Jye(p){return kR(p[Dw])}function aL(p,h){return h==null?null:p[h]}function jde(p){p[F9]=0}function yoe(p){p[Ou]&1024||(p[Ou]|=1024,goe(p)&&iB(p))}function $ye(p,h){for(;p>0;)h=h[tB],p--;return h}function CV(p){return!!(p[Ou]&9216||p[oC]?.dirty)}function hae(p){p[xR].changeDetectionScheduler?.notify(8),p[Ou]&64&&(p[Ou]|=1024),CV(p)&&iB(p)}function iB(p){p[xR].changeDetectionScheduler?.notify(0);let h=XP(p);for(;h!==null&&!(h[Ou]&8192||(h[Ou]|=8192,!goe(h)));)h=XP(h)}function Gde(p,h){if(EV(p))throw new h1(911,!1);p[sL]===null&&(p[sL]=[]),p[sL].push(h)}function eMe(p,h){if(p[sL]===null)return;let a=p[sL].indexOf(h);a!==-1&&p[sL].splice(a,1)}function XP(p){let h=p[Dw];return kR(h)?h[Dw]:h}function Vde(p){return p[SX]??=[]}function Yde(p){return p.cleanup??=[]}function tMe(p,h,a,f){let g=Vde(h);g.push(a),p.firstCreatePass&&Yde(p).push(f,g.length-1)}var jd={lFrame:tpe(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var fae=!1;function nMe(){return jd.lFrame.elementDepthCount}function iMe(){jd.lFrame.elementDepthCount++}function sMe(){jd.lFrame.elementDepthCount--}function Moe(){return jd.bindingsEnabled}function Xde(){return jd.skipHydrationRootTNode!==null}function rMe(p){return jd.skipHydrationRootTNode===p}function aMe(){jd.skipHydrationRootTNode=null}function F1(){return jd.lFrame.lView}function Jg(){return jd.lFrame.tView}function Ci(p){return jd.lFrame.contextLView=p,p[EI]}function Di(p){return jd.lFrame.contextLView=null,p}function Sw(){let p=Qde();for(;p!==null&&p.type===64;)p=p.parent;return p}function Qde(){return jd.lFrame.currentTNode}function oMe(){let p=jd.lFrame,h=p.currentTNode;return p.isParent?h:h.parent}function e9(p,h){let a=jd.lFrame;a.currentTNode=p,a.isParent=h}function Ioe(){return jd.lFrame.isParent}function Aoe(){jd.lFrame.isParent=!1}function lMe(){return jd.lFrame.contextLView}function Zde(){return fae}function LX(p){let h=fae;return fae=p,h}function lL(){let p=jd.lFrame,h=p.bindingRootIndex;return h===-1&&(h=p.bindingRootIndex=p.tView.bindingStartIndex),h}function Kde(){return jd.lFrame.bindingIndex}function cMe(p){return jd.lFrame.bindingIndex=p}function t9(){return jd.lFrame.bindingIndex++}function oQ(p){let h=jd.lFrame,a=h.bindingIndex;return h.bindingIndex=h.bindingIndex+p,a}function uMe(){return jd.lFrame.inI18n}function dMe(p,h){let a=jd.lFrame;a.bindingIndex=a.bindingRootIndex=p,mae(h)}function pMe(){return jd.lFrame.currentDirectiveIndex}function mae(p){jd.lFrame.currentDirectiveIndex=p}function hMe(p){let h=jd.lFrame.currentDirectiveIndex;return h===-1?null:p[h]}function Jde(){return jd.lFrame.currentQueryIndex}function Ooe(p){jd.lFrame.currentQueryIndex=p}function fMe(p){let h=p[Ud];return h.type===2?h.declTNode:h.type===1?p[F_]:null}function $de(p,h,a){if(a&df.SkipSelf){let g=h,D=p;for(;g=g.parent,g===null&&!(a&df.Host);)if(g=fMe(D),g===null||(D=D[tB],g.type&10))break;if(g===null)return!1;h=g,p=D}let f=jd.lFrame=epe();return f.currentTNode=h,f.lView=p,!0}function woe(p){let h=epe(),a=p[Ud];jd.lFrame=h,h.currentTNode=a.firstChild,h.lView=p,h.tView=a,h.contextLView=p,h.bindingIndex=a.bindingStartIndex,h.inI18n=!1}function epe(){let p=jd.lFrame,h=p===null?null:p.child;return h===null?tpe(p):h}function tpe(p){let h={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:p,child:null,inI18n:!1};return p!==null&&(p.child=h),h}function npe(){let p=jd.lFrame;return jd.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}var ipe=npe;function _oe(){let p=npe();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function mMe(p){return(jd.lFrame.contextLView=$ye(p,jd.lFrame.contextLView))[EI]}function wS(){return jd.lFrame.selectedIndex}function QP(p){jd.lFrame.selectedIndex=p}function sB(){let p=jd.lFrame;return boe(p.tView,p.selectedIndex)}function n9(){jd.lFrame.currentNamespace=Wde}function Toe(){bMe()}function bMe(){jd.lFrame.currentNamespace=null}function vMe(){return jd.lFrame.currentNamespace}var spe=!0;function lQ(){return spe}function cQ(p){spe=p}function gMe(p,h,a){let{ngOnChanges:f,ngOnInit:g,ngDoCheck:D}=h.type.prototype;if(f){let q=Hde(h);(a.preOrderHooks??=[]).push(p,q),(a.preOrderCheckHooks??=[]).push(p,q)}g&&(a.preOrderHooks??=[]).push(0-p,g),D&&((a.preOrderHooks??=[]).push(p,D),(a.preOrderCheckHooks??=[]).push(p,D))}function Eoe(p,h){for(let a=h.directiveStart,f=h.directiveEnd;a<f;a++){let D=p.data[a].type.prototype,{ngAfterContentInit:q,ngAfterContentChecked:de,ngAfterViewInit:G,ngAfterViewChecked:ee,ngOnDestroy:fe}=D;q&&(p.contentHooks??=[]).push(-a,q),de&&((p.contentHooks??=[]).push(a,de),(p.contentCheckHooks??=[]).push(a,de)),G&&(p.viewHooks??=[]).push(-a,G),ee&&((p.viewHooks??=[]).push(a,ee),(p.viewCheckHooks??=[]).push(a,ee)),fe!=null&&(p.destroyHooks??=[]).push(a,fe)}}function MX(p,h,a){rpe(p,h,3,a)}function IX(p,h,a,f){(p[Ou]&3)===a&&rpe(p,h,a,f)}function Yre(p,h){let a=p[Ou];(a&3)===h&&(a&=16383,a+=1,p[Ou]=a)}function rpe(p,h,a,f){let g=f!==void 0?p[F9]&65535:0,D=f??-1,q=h.length-1,de=0;for(let G=g;G<q;G++)if(typeof h[G+1]=="number"){if(de=h[G],f!=null&&de>=f)break}else h[G]<0&&(p[F9]+=65536),(de<D||D==-1)&&(yMe(p,a,h,G),p[F9]=(p[F9]&4294901760)+G+2),G++}function Lue(p,h){_v(4,p,h);let a=mp(null);try{h.call(p)}finally{mp(a),_v(5,p,h)}}function yMe(p,h,a,f){let g=a[f]<0,D=a[f+1],q=g?-a[f]:a[f],de=p[q];g?p[Ou]>>14<p[F9]>>16&&(p[Ou]&3)===h&&(p[Ou]+=16384,Lue(de,D)):Lue(de,D)}var j9=-1,ZP=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(h,a,f){this.factory=h,this.canSeeViewProviders=a,this.injectImpl=f}};function MMe(p){return(p.flags&8)!==0}function IMe(p){return(p.flags&16)!==0}function AMe(p,h,a){let f=0;for(;f<a.length;){let g=a[f];if(typeof g=="number"){if(g!==0)break;f++;let D=a[f++],q=a[f++],de=a[f++];p.setAttribute(h,q,de,D)}else{let D=g,q=a[++f];OMe(D)?p.setProperty(h,D,q):p.setAttribute(h,D,q),f++}}return f}function ape(p){return p===3||p===4||p===6}function OMe(p){return p.charCodeAt(0)===64}function Q9(p,h){if(!(h===null||h.length===0))if(p===null||p.length===0)p=h.slice();else{let a=-1;for(let f=0;f<h.length;f++){let g=h[f];typeof g=="number"?a=g:a===0||(a===-1||a===2?xue(p,a,g,null,h[++f]):xue(p,a,g,null,null))}}return p}function xue(p,h,a,f,g){let D=0,q=p.length;if(h===-1)q=-1;else for(;D<p.length;){let de=p[D++];if(typeof de=="number"){if(de===h){q=-1;break}else if(de>h){q=D-1;break}}}for(;D<p.length;){let de=p[D];if(typeof de=="number")break;if(de===a){g!==null&&(p[D+1]=g);return}D++,g!==null&&D++}q!==-1&&(p.splice(q,0,h),D=q+1),p.splice(D++,0,a),g!==null&&p.splice(D++,0,g)}var Xre={},bae=class{injector;parentInjector;constructor(h,a){this.injector=h,this.parentInjector=a}get(h,a,f){f=JX(f);let g=this.injector.get(h,Xre,f);return g!==Xre||a===Xre?g:this.parentInjector.get(h,a,f)}};function ope(p){return p!==j9}function xX(p){return p&32767}function wMe(p){return p>>16}function NX(p,h){let a=wMe(p),f=h;for(;a>0;)f=f[tB],a--;return f}var vae=!0;function PX(p){let h=vae;return vae=p,h}var _Me=256,lpe=_Me-1,cpe=5,TMe=0,bS={};function EMe(p,h,a){let f;typeof a=="string"?f=a.charCodeAt(0)||0:a.hasOwnProperty(dV)&&(f=a[dV]),f==null&&(f=a[dV]=TMe++);let g=f&lpe,D=1<<g;h.data[p+(g>>cpe)]|=D}function BX(p,h){let a=upe(p,h);if(a!==-1)return a;let f=h[Ud];f.firstCreatePass&&(p.injectorIndex=h.length,Qre(f.data,p),Qre(h,null),Qre(f.blueprint,null));let g=Coe(p,h),D=p.injectorIndex;if(ope(g)){let q=xX(g),de=NX(g,h),G=de[Ud].data;for(let ee=0;ee<8;ee++)h[D+ee]=de[q+ee]|G[q+ee]}return h[D+8]=g,D}function Qre(p,h){p.push(0,0,0,0,0,0,0,0,h)}function upe(p,h){return p.injectorIndex===-1||p.parent&&p.parent.injectorIndex===p.injectorIndex||h[p.injectorIndex+8]===null?-1:p.injectorIndex}function Coe(p,h){if(p.parent&&p.parent.injectorIndex!==-1)return p.parent.injectorIndex;let a=0,f=null,g=h;for(;g!==null;){if(f=mpe(g),f===null)return j9;if(a++,g=g[tB],f.injectorIndex!==-1)return f.injectorIndex|a<<16}return j9}function gae(p,h,a){EMe(p,h,a)}function CMe(p,h){if(h==="class")return p.classes;if(h==="style")return p.styles;let a=p.attrs;if(a){let f=a.length,g=0;for(;g<f;){let D=a[g];if(ape(D))break;if(D===0)g=g+2;else if(typeof D=="number")for(g++;g<f&&typeof a[g]=="string";)g++;else{if(D===h)return a[g+1];g=g+2}}}return null}function dpe(p,h,a){if(a&df.Optional||p!==void 0)return p;doe(h,"NodeInjector")}function ppe(p,h,a,f){if(a&df.Optional&&f===void 0&&(f=null),(a&(df.Self|df.Host))===0){let g=p[fV],D=P_(void 0);try{return g?g.get(h,f,a&df.Optional):Tde(h,f,a&df.Optional)}finally{P_(D)}}return dpe(f,h,a)}function hpe(p,h,a,f=df.Default,g){if(p!==null){if(h[Ou]&2048&&!(f&df.Self)){let q=RMe(p,h,a,f,bS);if(q!==bS)return q}let D=fpe(p,h,a,f,bS);if(D!==bS)return D}return ppe(h,a,f,g)}function fpe(p,h,a,f,g){let D=SMe(a);if(typeof D=="function"){if(!$de(h,p,f))return f&df.Host?dpe(g,a,f):ppe(h,a,f,g);try{let q;if(q=D(f),q==null&&!(f&df.Optional))doe(a);else return q}finally{ipe()}}else if(typeof D=="number"){let q=null,de=upe(p,h),G=j9,ee=f&df.Host?h[k_][F_]:null;for((de===-1||f&df.SkipSelf)&&(G=de===-1?Coe(p,h):h[de+8],G===j9||!Pue(f,!1)?de=-1:(q=h[Ud],de=xX(G),h=NX(G,h)));de!==-1;){let fe=h[Ud];if(Nue(D,de,fe.data)){let ye=DMe(de,h,a,q,f,ee);if(ye!==bS)return ye}G=h[de+8],G!==j9&&Pue(f,h[Ud].data[de+8]===ee)&&Nue(D,de,h)?(q=fe,de=xX(G),h=NX(G,h)):de=-1}}return g}function DMe(p,h,a,f,g,D){let q=h[Ud],de=q.data[p+8],G=f==null?nB(de)&&vae:f!=q&&(de.type&3)!==0,ee=g&df.Host&&D===de,fe=AX(de,q,a,G,ee);return fe!==null?bV(h,q,fe,de):bS}function AX(p,h,a,f,g){let D=p.providerIndexes,q=h.data,de=D&1048575,G=p.directiveStart,ee=p.directiveEnd,fe=D>>20,ye=f?de:de+fe,je=g?de+fe:ee;for(let $e=ye;$e<je;$e++){let Dt=q[$e];if($e<G&&a===Dt||$e>=G&&Dt.type===a)return $e}if(g){let $e=q[G];if($e&&gS($e)&&$e.type===a)return G}return null}function bV(p,h,a,f){let g=p[a],D=h.data;if(g instanceof ZP){let q=g;q.resolving&&wde(Iye(D[a]));let de=PX(q.canSeeViewProviders);q.resolving=!0;let G,ee=q.injectImpl?P_(q.injectImpl):null,fe=$de(p,f,df.Default);try{g=p[a]=q.factory(void 0,D,p,f),h.firstCreatePass&&a>=f.directiveStart&&gMe(a,D[a],h)}finally{ee!==null&&P_(ee),PX(de),q.resolving=!1,ipe()}}return g}function SMe(p){if(typeof p=="string")return p.charCodeAt(0)||0;let h=p.hasOwnProperty(dV)?p[dV]:void 0;return typeof h=="number"?h>=0?h&lpe:zMe:h}function Nue(p,h,a){let f=1<<p;return!!(a[h+(p>>cpe)]&f)}function Pue(p,h){return!(p&df.Self)&&!(p&df.Host&&h)}var WP=class{_tNode;_lView;constructor(h,a){this._tNode=h,this._lView=a}get(h,a,f){return hpe(this._tNode,this._lView,h,JX(f),a)}};function zMe(){return new WP(Sw(),F1())}function $g(p){return _V(()=>{let h=p.prototype.constructor,a=h[_X]||yae(h),f=Object.prototype,g=Object.getPrototypeOf(p.prototype).constructor;for(;g&&g!==f;){let D=g[_X]||yae(g);if(D&&D!==a)return D;g=Object.getPrototypeOf(g)}return D=>new D})}function yae(p){return Mde(p)?()=>{let h=yae(C_(p));return h&&h()}:UP(p)}function RMe(p,h,a,f,g){let D=p,q=h;for(;D!==null&&q!==null&&q[Ou]&2048&&!RX(q);){let de=fpe(D,q,a,f|df.Self,bS);if(de!==bS)return de;let G=D.parent;if(!G){let ee=q[Pde];if(ee){let fe=ee.get(a,bS,f);if(fe!==bS)return fe}G=mpe(q),q=q[tB]}D=G}return g}function mpe(p){let h=p[Ud],a=h.type;return a===2?h.declTNode:a===1?p[F_]:null}function DV(p){return CMe(Sw(),p)}function Bue(p,h=null,a=null,f){let g=LMe(p,h,a,f);return g.resolveInjectorInitializers(),g}function LMe(p,h=null,a=null,f,g=new Set){let D=[a||B_,hoe(p)];return f=f||(typeof p=="object"?void 0:aC(p)),new hV(D,h||iQ(),f||null,g)}var Ab=class p{static THROW_IF_NOT_FOUND=qP;static NULL=new DX;static create(h,a){if(Array.isArray(h))return Bue({name:""},a,h,"");{let f=h.name??"";return Bue({name:f},h.parent,h.providers,f)}}static \u0275prov=ha({token:p,providedIn:"any",factory:()=>h0(Dde)});static __NG_ELEMENT_ID__=-1};var Z9=class{attributeName;constructor(h){this.attributeName=h}__NG_ELEMENT_ID__=()=>DV(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},xMe=new Mo("");xMe.__NG_ELEMENT_ID__=p=>{let h=Sw();if(h===null)throw new h1(204,!1);if(h.type&2)return h.value;if(p&df.Optional)return null;throw new h1(204,!1)};var bpe=!1,lC=(()=>{class p{static __NG_ELEMENT_ID__=NMe;static __NG_ENV_ID__=a=>a}return p})(),kX=class extends lC{_lView;constructor(h){super(),this._lView=h}onDestroy(h){return Gde(this._lView,h),()=>eMe(this._lView,h)}};function NMe(){return new kX(F1())}var PR=class{},Doe=new Mo("",{providedIn:"root",factory:()=>!1});var vpe=new Mo(""),gpe=new Mo(""),rB=(()=>{class p{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fu(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let a=this.taskId++;return this.pendingTasks.add(a),a}has(a){return this.pendingTasks.has(a)}remove(a){this.pendingTasks.delete(a),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=ha({token:p,providedIn:"root",factory:()=>new p})}return p})();var Mae=class extends H0{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(h=!1){super(),this.__isAsync=h,Nde()&&(this.destroyRef=Pi(lC,{optional:!0})??void 0,this.pendingTasks=Pi(rB,{optional:!0})??void 0)}emit(h){let a=mp(null);try{super.next(h)}finally{mp(a)}}subscribe(h,a,f){let g=h,D=a||(()=>null),q=f;if(h&&typeof h=="object"){let G=h;g=G.next?.bind(G),D=G.error?.bind(G),q=G.complete?.bind(G)}this.__isAsync&&(D=this.wrapInTimeout(D),g&&(g=this.wrapInTimeout(g)),q&&(q=this.wrapInTimeout(q)));let de=super.subscribe({next:g,error:D,complete:q});return h instanceof Xp&&h.add(de),de}wrapInTimeout(h){return a=>{let f=this.pendingTasks?.add();setTimeout(()=>{h(a),f!==void 0&&this.pendingTasks?.remove(f)})}}},ns=Mae;function vV(...p){}function ype(p){let h,a;function f(){p=vV;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),h!==void 0&&clearTimeout(h)}catch{}}return h=setTimeout(()=>{p(),f()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{p(),f()})),()=>f()}function kue(p){return queueMicrotask(()=>p()),()=>{p=vV}}var Soe="isAngularZone",HX=Soe+"_ID",PMe=0,Qu=class p{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ns(!1);onMicrotaskEmpty=new ns(!1);onStable=new ns(!1);onError=new ns(!1);constructor(h){let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:g=!1,scheduleInRootZone:D=bpe}=h;if(typeof Zone>"u")throw new h1(908,!1);Zone.assertZonePatched();let q=this;q._nesting=0,q._outer=q._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(q._inner=q._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(q._inner=q._inner.fork(Zone.longStackTraceZoneSpec)),q.shouldCoalesceEventChangeDetection=!g&&f,q.shouldCoalesceRunChangeDetection=g,q.callbackScheduled=!1,q.scheduleInRootZone=D,HMe(q)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Soe)===!0}static assertInAngularZone(){if(!p.isInAngularZone())throw new h1(909,!1)}static assertNotInAngularZone(){if(p.isInAngularZone())throw new h1(909,!1)}run(h,a,f){return this._inner.run(h,a,f)}runTask(h,a,f,g){let D=this._inner,q=D.scheduleEventTask("NgZoneEvent: "+g,h,BMe,vV,vV);try{return D.runTask(q,a,f)}finally{D.cancelTask(q)}}runGuarded(h,a,f){return this._inner.runGuarded(h,a,f)}runOutsideAngular(h){return this._outer.run(h)}},BMe={};function zoe(p){if(p._nesting==0&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function kMe(p){if(p.isCheckStableRunning||p.callbackScheduled)return;p.callbackScheduled=!0;function h(){ype(()=>{p.callbackScheduled=!1,Iae(p),p.isCheckStableRunning=!0,zoe(p),p.isCheckStableRunning=!1})}p.scheduleInRootZone?Zone.root.run(()=>{h()}):p._outer.run(()=>{h()}),Iae(p)}function HMe(p){let h=()=>{kMe(p)},a=PMe++;p._inner=p._inner.fork({name:"angular",properties:{[Soe]:!0,[HX]:a,[HX+a]:!0},onInvokeTask:(f,g,D,q,de,G)=>{if(FMe(G))return f.invokeTask(D,q,de,G);try{return Hue(p),f.invokeTask(D,q,de,G)}finally{(p.shouldCoalesceEventChangeDetection&&q.type==="eventTask"||p.shouldCoalesceRunChangeDetection)&&h(),Fue(p)}},onInvoke:(f,g,D,q,de,G,ee)=>{try{return Hue(p),f.invoke(D,q,de,G,ee)}finally{p.shouldCoalesceRunChangeDetection&&!p.callbackScheduled&&!qMe(G)&&h(),Fue(p)}},onHasTask:(f,g,D,q)=>{f.hasTask(D,q),g===D&&(q.change=="microTask"?(p._hasPendingMicrotasks=q.microTask,Iae(p),zoe(p)):q.change=="macroTask"&&(p.hasPendingMacrotasks=q.macroTask))},onHandleError:(f,g,D,q)=>(f.handleError(D,q),p.runOutsideAngular(()=>p.onError.emit(q)),!1)})}function Iae(p){p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&p.callbackScheduled===!0?p.hasPendingMicrotasks=!0:p.hasPendingMicrotasks=!1}function Hue(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function Fue(p){p._nesting--,zoe(p)}var Aae=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ns;onMicrotaskEmpty=new ns;onStable=new ns;onError=new ns;run(h,a,f){return h.apply(a,f)}runGuarded(h,a,f){return h.apply(a,f)}runOutsideAngular(h){return h()}runTask(h,a,f,g){return h.apply(a,f)}};function FMe(p){return Mpe(p,"__ignore_ng_zone__")}function qMe(p){return Mpe(p,"__scheduler_tick__")}function Mpe(p,h){return!Array.isArray(p)||p.length!==1?!1:p[0]?.data?.[h]===!0}var oS=class{_console=console;handleError(h){this._console.error("ERROR",h)}},WMe=new Mo("",{providedIn:"root",factory:()=>{let p=Pi(Qu),h=Pi(oS);return a=>p.runOutsideAngular(()=>h.handleError(a))}}),Oae=class{destroyed=!1;listeners=null;errorHandler=Pi(oS,{optional:!0});destroyRef=Pi(lC);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(h){if(this.destroyed)throw new h1(953,!1);return(this.listeners??=[]).push(h),{unsubscribe:()=>{let a=this.listeners?.indexOf(h);a!==void 0&&a!==-1&&this.listeners?.splice(a,1)}}}emit(h){if(this.destroyed){console.warn(wV(953,!1));return}if(this.listeners===null)return;let a=mp(null);try{for(let f of this.listeners)try{f(h)}catch(g){this.errorHandler?.handleError(g)}}finally{mp(a)}}};function que(p,h){return gde(p,h)}function UMe(p){return gde(KX,p)}var qf=(que.required=UMe,que);function jMe(){return aB(Sw(),F1())}function aB(p,h){return new Cl(OS(p,h))}var Cl=(()=>{class p{nativeElement;constructor(a){this.nativeElement=a}static __NG_ELEMENT_ID__=jMe}return p})();function GMe(p){return p instanceof Cl?p.nativeElement:p}function uQ(p){return typeof p=="function"&&p[x_]!==void 0}function C0(p,h){let a=Uce(p),f=a[x_];return h?.equal&&(f.equal=h.equal),a.set=g=>KG(f,g),a.update=g=>jce(f,g),a.asReadonly=Ipe.bind(a),a}function Ipe(){let p=this[x_];if(p.readonlyFn===void 0){let h=()=>this();h[x_]=p,p.readonlyFn=h}return p.readonlyFn}function Ape(p){return uQ(p)&&typeof p.set=="function"}function VMe(){return this._results[Symbol.iterator]()}var gV=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new H0}constructor(h=!1){this._emitDistinctChangesOnly=h}get(h){return this._results[h]}map(h){return this._results.map(h)}filter(h){return this._results.filter(h)}find(h){return this._results.find(h)}reduce(h,a){return this._results.reduce(h,a)}forEach(h){this._results.forEach(h)}some(h){return this._results.some(h)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(h,a){this.dirty=!1;let f=zye(h);(this._changesDetected=!Sye(this._results,f,a))&&(this._results=f,this.length=f.length,this.last=f[this.length-1],this.first=f[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(h){this._onDirty=h}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=VMe};function Ope(p){return(p.flags&128)===128}var wpe=function(p){return p[p.OnPush=0]="OnPush",p[p.Default=1]="Default",p}(wpe||{}),_pe=new Map,YMe=0;function XMe(){return YMe++}function QMe(p){_pe.set(p[rQ],p)}function wae(p){_pe.delete(p[rQ])}var Wue="__ngContext__";function oB(p,h){rL(h)?(p[Wue]=h[rQ],QMe(h)):p[Wue]=h}function Tpe(p){return Cpe(p[mV])}function Epe(p){return Cpe(p[aS])}function Cpe(p){for(;p!==null&&!kR(p);)p=p[aS];return p}var _ae;function Dpe(p){_ae=p}function Spe(){if(_ae!==void 0)return _ae;if(typeof document<"u")return document;throw new h1(210,!1)}var SV=new Mo("",{providedIn:"root",factory:()=>ZMe}),ZMe="ng",Roe=new Mo(""),HR=new Mo("",{providedIn:"platform",factory:()=>"unknown"});var FR=new Mo(""),zV=new Mo("",{providedIn:"root",factory:()=>Spe().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var KMe="h",JMe="b";var zpe=!1,$Me=new Mo("",{providedIn:"root",factory:()=>zpe});var Loe=function(p){return p[p.CHANGE_DETECTION=0]="CHANGE_DETECTION",p[p.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",p}(Loe||{}),lB=new Mo(""),Uue=new Set;function i9(p){Uue.has(p)||(Uue.add(p),performance?.mark?.("mark_feature_usage",{detail:{feature:p}}))}var xoe=(()=>{class p{view;node;constructor(a,f){this.view=a,this.node=f}static __NG_ELEMENT_ID__=eIe}return p})();function eIe(){return new xoe(F1(),Sw())}var q9=function(p){return p[p.EarlyRead=0]="EarlyRead",p[p.Write=1]="Write",p[p.MixedReadWrite=2]="MixedReadWrite",p[p.Read=3]="Read",p}(q9||{}),Rpe=(()=>{class p{impl=null;execute(){this.impl?.execute()}static \u0275prov=ha({token:p,providedIn:"root",factory:()=>new p})}return p})(),tIe=[q9.EarlyRead,q9.Write,q9.MixedReadWrite,q9.Read],nIe=(()=>{class p{ngZone=Pi(Qu);scheduler=Pi(PR);errorHandler=Pi(oS,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){Pi(lB,{optional:!0})}execute(){let a=this.sequences.size>0;a&&_v(16),this.executing=!0;for(let f of tIe)for(let g of this.sequences)if(!(g.erroredOrDestroyed||!g.hooks[f]))try{g.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let D=g.hooks[f];return D(g.pipelinedValue)},g.snapshot))}catch(D){g.erroredOrDestroyed=!0,this.errorHandler?.handleError(D)}this.executing=!1;for(let f of this.sequences)f.afterRun(),f.once&&(this.sequences.delete(f),f.destroy());for(let f of this.deferredRegistrations)this.sequences.add(f);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),a&&_v(17)}register(a){let{view:f}=a;f!==void 0?((f[U9]??=[]).push(a),iB(f),f[Ou]|=8192):this.executing?this.deferredRegistrations.add(a):this.addSequence(a)}addSequence(a){this.sequences.add(a),this.scheduler.notify(7)}unregister(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))}maybeTrace(a,f){return f?f.run(Loe.AFTER_NEXT_RENDER,a):a()}static \u0275prov=ha({token:p,providedIn:"root",factory:()=>new p})}return p})(),Tae=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(h,a,f,g,D,q=null){this.impl=h,this.hooks=a,this.view=f,this.once=g,this.snapshot=q,this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let h=this.view?.[U9];h&&(this.view[U9]=h.filter(a=>a!==this))}};function dQ(p,h){!h?.injector&&$P(dQ);let a=h?.injector??Pi(Ab);return i9("NgAfterRender"),Lpe(p,a,h,!1)}function qR(p,h){!h?.injector&&$P(qR);let a=h?.injector??Pi(Ab);return i9("NgAfterNextRender"),Lpe(p,a,h,!0)}function iIe(p,h){if(p instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[h]=p,a}else return[p.earlyRead,p.write,p.mixedReadWrite,p.read]}function Lpe(p,h,a,f){let g=h.get(Rpe);g.impl??=h.get(nIe);let D=h.get(lB,null,{optional:!0}),q=a?.phase??q9.MixedReadWrite,de=a?.manualCleanup!==!0?h.get(lC):null,G=h.get(xoe,null,{optional:!0}),ee=new Tae(g.impl,iIe(p,q),G?.view,f,de,D?.snapshot(null));return g.impl.register(ee),ee}var sIe=()=>null;function xpe(p,h,a=!1){return sIe(p,h,a)}function Npe(p,h){let a=p.contentQueries;if(a!==null){let f=mp(null);try{for(let g=0;g<a.length;g+=2){let D=a[g],q=a[g+1];if(q!==-1){let de=p.data[q];Ooe(D),de.contentQueries(2,h[q],q)}}}finally{mp(f)}}}function Eae(p,h,a){Ooe(0);let f=mp(null);try{h(p,a)}finally{mp(f)}}function Noe(p,h,a){if(moe(h)){let f=mp(null);try{let g=h.directiveStart,D=h.directiveEnd;for(let q=g;q<D;q++){let de=p.data[q];if(de.contentQueries){let G=a[q];de.contentQueries(1,G,q)}}}finally{mp(f)}}}var IS=function(p){return p[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",p}(IS||{}),mX;function rIe(){if(mX===void 0&&(mX=null,LR.trustedTypes))try{mX=LR.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch{}return mX}function pQ(p){return rIe()?.createHTML(p)||p}var bX;function aIe(){if(bX===void 0&&(bX=null,LR.trustedTypes))try{bX=LR.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch{}return bX}function jue(p){return aIe()?.createHTML(p)||p}var FX=class{changingThisBreaksApplicationSecurity;constructor(h){this.changingThisBreaksApplicationSecurity=h}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bde})`}};function cB(p){return p instanceof FX?p.changingThisBreaksApplicationSecurity:p}function Poe(p,h){let a=oIe(p);if(a!=null&&a!==h){if(a==="ResourceURL"&&h==="URL")return!0;throw new Error(`Required a safe ${h}, got a ${a} (see ${bde})`)}return a===h}function oIe(p){return p instanceof FX&&p.getTypeName()||null}function lIe(p){let h=new Dae(p);return cIe()?new Cae(h):h}var Cae=class{inertDocumentHelper;constructor(h){this.inertDocumentHelper=h}getInertBodyElement(h){h="<body><remove></remove>"+h;try{let a=new window.DOMParser().parseFromString(pQ(h),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(h):(a.firstChild?.remove(),a)}catch{return null}}},Dae=class{defaultDoc;inertDocument;constructor(h){this.defaultDoc=h,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(h){let a=this.inertDocument.createElement("template");return a.innerHTML=pQ(h),a}};function cIe(){try{return!!new window.DOMParser().parseFromString(pQ(""),"text/html")}catch{return!1}}var uIe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Boe(p){return p=String(p),p.match(uIe)?p:"unsafe:"+p}function WR(p){let h={};for(let a of p.split(","))h[a]=!0;return h}function RV(...p){let h={};for(let a of p)for(let f in a)a.hasOwnProperty(f)&&(h[f]=!0);return h}var Ppe=WR("area,br,col,hr,img,wbr"),Bpe=WR("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kpe=WR("rp,rt"),dIe=RV(kpe,Bpe),pIe=RV(Bpe,WR("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hIe=RV(kpe,WR("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Gue=RV(Ppe,pIe,hIe,dIe),Hpe=WR("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fIe=WR("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),mIe=WR("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bIe=RV(Hpe,fIe,mIe),vIe=WR("script,style,template"),Sae=class{sanitizedSomething=!1;buf=[];sanitizeChildren(h){let a=h.firstChild,f=!0,g=[];for(;a;){if(a.nodeType===Node.ELEMENT_NODE?f=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,f&&a.firstChild){g.push(a),a=MIe(a);continue}for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let D=yIe(a);if(D){a=D;break}a=g.pop()}}return this.buf.join("")}startElement(h){let a=Vue(h).toLowerCase();if(!Gue.hasOwnProperty(a))return this.sanitizedSomething=!0,!vIe.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);let f=h.attributes;for(let g=0;g<f.length;g++){let D=f.item(g),q=D.name,de=q.toLowerCase();if(!bIe.hasOwnProperty(de)){this.sanitizedSomething=!0;continue}let G=D.value;Hpe[de]&&(G=Boe(G)),this.buf.push(" ",q,'="',Yue(G),'"')}return this.buf.push(">"),!0}endElement(h){let a=Vue(h).toLowerCase();Gue.hasOwnProperty(a)&&!Ppe.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))}chars(h){this.buf.push(Yue(h))}};function gIe(p,h){return(p.compareDocumentPosition(h)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function yIe(p){let h=p.nextSibling;if(h&&p!==h.previousSibling)throw Fpe(h);return h}function MIe(p){let h=p.firstChild;if(h&&gIe(p,h))throw Fpe(h);return h}function Vue(p){let h=p.nodeName;return typeof h=="string"?h:"FORM"}function Fpe(p){return new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`)}var IIe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AIe=/([^\#-~ |!])/g;function Yue(p){return p.replace(/&/g,"&amp;").replace(IIe,function(h){let a=h.charCodeAt(0),f=h.charCodeAt(1);return"&#"+((a-55296)*1024+(f-56320)+65536)+";"}).replace(AIe,function(h){return"&#"+h.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var vX;function qpe(p,h){let a=null;try{vX=vX||lIe(p);let f=h?String(h):"";a=vX.getInertBodyElement(f);let g=5,D=f;do{if(g===0)throw new Error("Failed to sanitize html because the input is unstable");g--,f=D,D=a.innerHTML,a=vX.getInertBodyElement(f)}while(f!==D);let de=new Sae().sanitizeChildren(Xue(a)||a);return pQ(de)}finally{if(a){let f=Xue(a)||a;for(;f.firstChild;)f.firstChild.remove()}}}function Xue(p){return"content"in p&&OIe(p)?p.content:null}function OIe(p){return p.nodeType===Node.ELEMENT_NODE&&p.nodeName==="TEMPLATE"}var hQ=function(p){return p[p.NONE=0]="NONE",p[p.HTML=1]="HTML",p[p.STYLE=2]="STYLE",p[p.SCRIPT=3]="SCRIPT",p[p.URL=4]="URL",p[p.RESOURCE_URL=5]="RESOURCE_URL",p}(hQ||{});function S_(p){let h=Wpe();return h?jue(h.sanitize(hQ.HTML,p)||""):Poe(p,"HTML")?jue(cB(p)):qpe(Spe(),vS(p))}function q_(p){let h=Wpe();return h?h.sanitize(hQ.URL,p)||"":Poe(p,"URL")?cB(p):Boe(vS(p))}function Wpe(){let p=F1();return p&&p[xR].sanitizer}var wIe=/^>|^->|<!--|-->|--!>|<!-$/g,_Ie=/(<|>)/g,TIe="\u200B$1\u200B";function EIe(p){return p.replace(wIe,h=>h.replace(_Ie,TIe))}function fQ(p){return p.ownerDocument.defaultView}function MI(p){return p.ownerDocument}function CIe(p,h,a){let f=p.length;for(;;){let g=p.indexOf(h,a);if(g===-1)return g;if(g===0||p.charCodeAt(g-1)<=32){let D=h.length;if(g+D===f||p.charCodeAt(g+D)<=32)return g}a=g+1}}var Upe="ng-template";function DIe(p,h,a,f){let g=0;if(f){for(;g<h.length&&typeof h[g]=="string";g+=2)if(h[g]==="class"&&CIe(h[g+1].toLowerCase(),a,0)!==-1)return!0}else if(koe(p))return!1;if(g=h.indexOf(1,g),g>-1){let D;for(;++g<h.length&&typeof(D=h[g])=="string";)if(D.toLowerCase()===a)return!0}return!1}function koe(p){return p.type===4&&p.value!==Upe}function SIe(p,h,a){let f=p.type===4&&!a?Upe:p.value;return h===f}function zIe(p,h,a){let f=4,g=p.attrs,D=g!==null?xIe(g):0,q=!1;for(let de=0;de<h.length;de++){let G=h[de];if(typeof G=="number"){if(!q&&!sS(f)&&!sS(G))return!1;if(q&&sS(G))continue;q=!1,f=G|f&1;continue}if(!q)if(f&4){if(f=2|f&1,G!==""&&!SIe(p,G,a)||G===""&&h.length===1){if(sS(f))return!1;q=!0}}else if(f&8){if(g===null||!DIe(p,g,G,a)){if(sS(f))return!1;q=!0}}else{let ee=h[++de],fe=RIe(G,g,koe(p),a);if(fe===-1){if(sS(f))return!1;q=!0;continue}if(ee!==""){let ye;if(fe>D?ye="":ye=g[fe+1].toLowerCase(),f&2&&ee!==ye){if(sS(f))return!1;q=!0}}}}return sS(f)||q}function sS(p){return(p&1)===0}function RIe(p,h,a,f){if(h===null)return-1;let g=0;if(f||!a){let D=!1;for(;g<h.length;){let q=h[g];if(q===p)return g;if(q===3||q===6)D=!0;else if(q===1||q===2){let de=h[++g];for(;typeof de=="string";)de=h[++g];continue}else{if(q===4)break;if(q===0){g+=4;continue}}g+=D?1:2}return-1}else return NIe(h,p)}function jpe(p,h,a=!1){for(let f=0;f<h.length;f++)if(zIe(p,h[f],a))return!0;return!1}function LIe(p){let h=p.attrs;if(h!=null){let a=h.indexOf(5);if((a&1)===0)return h[a+1]}return null}function xIe(p){for(let h=0;h<p.length;h++){let a=p[h];if(ape(a))return h}return p.length}function NIe(p,h){let a=p.indexOf(4);if(a>-1)for(a++;a<p.length;){let f=p[a];if(typeof f=="number")return-1;if(f===h)return a;a++}return-1}function PIe(p,h){e:for(let a=0;a<h.length;a++){let f=h[a];if(p.length===f.length){for(let g=0;g<p.length;g++)if(p[g]!==f[g])continue e;return!0}}return!1}function Que(p,h){return p?":not("+h.trim()+")":h}function BIe(p){let h=p[0],a=1,f=2,g="",D=!1;for(;a<p.length;){let q=p[a];if(typeof q=="string")if(f&2){let de=p[++a];g+="["+q+(de.length>0?'="'+de+'"':"")+"]"}else f&8?g+="."+q:f&4&&(g+=" "+q);else g!==""&&!sS(q)&&(h+=Que(D,g),g=""),f=q,D=D||!sS(f);a++}return g!==""&&(h+=Que(D,g)),h}function kIe(p){return p.map(BIe).join(",")}function HIe(p){let h=[],a=[],f=1,g=2;for(;f<p.length;){let D=p[f];if(typeof D=="string")g===2?D!==""&&h.push(D,p[++f]):g===8&&a.push(D);else{if(!sS(g))break;g=D}f++}return a.length&&h.push(1,...a),h}var Ow={};function FIe(p,h){return p.createText(h)}function qIe(p,h,a){p.setValue(h,a)}function WIe(p,h){return p.createComment(EIe(h))}function Gpe(p,h,a){return p.createElement(h,a)}function qX(p,h,a,f,g){p.insertBefore(h,a,f,g)}function Vpe(p,h,a){p.appendChild(h,a)}function Zue(p,h,a,f,g){f!==null?qX(p,h,a,f,g):Vpe(p,h,a)}function UIe(p,h,a){p.removeChild(null,h,a)}function jIe(p,h,a){p.setAttribute(h,"style",a)}function GIe(p,h,a){a===""?p.removeAttribute(h,"class"):p.setAttribute(h,"class",a)}function Ype(p,h,a){let{mergedAttrs:f,classes:g,styles:D}=a;f!==null&&AMe(p,h,f),g!==null&&GIe(p,h,g),D!==null&&jIe(p,h,D)}function Hoe(p,h,a,f,g,D,q,de,G,ee,fe){let ye=yA+f,je=ye+g,$e=VIe(ye,je),Dt=typeof ee=="function"?ee():ee;return $e[Ud]={type:p,blueprint:$e,template:a,queries:null,viewQuery:de,declTNode:h,data:$e.slice().fill(null,ye),bindingStartIndex:ye,expandoStartIndex:je,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof D=="function"?D():D,pipeRegistry:typeof q=="function"?q():q,firstChild:null,schemas:G,consts:Dt,incompleteFirstPass:!1,ssrId:fe}}function VIe(p,h){let a=[];for(let f=0;f<h;f++)a.push(f<p?null:Ow);return a}function YIe(p){let h=p.tView;return h===null||h.incompleteFirstPass?p.tView=Hoe(1,null,p.template,p.decls,p.vars,p.directiveDefs,p.pipeDefs,p.viewQuery,p.schemas,p.consts,p.id):h}function Foe(p,h,a,f,g,D,q,de,G,ee,fe){let ye=h.blueprint.slice();return ye[BR]=g,ye[Ou]=f|4|128|8|64|1024,(ee!==null||p&&p[Ou]&2048)&&(ye[Ou]|=2048),jde(ye),ye[Dw]=ye[tB]=p,ye[EI]=a,ye[xR]=q||p&&p[xR],ye[Kg]=de||p&&p[Kg],ye[fV]=G||p&&p[fV]||null,ye[F_]=D,ye[rQ]=XMe(),ye[Y9]=fe,ye[Pde]=ee,ye[k_]=h.type==2?p[k_]:ye,ye}function XIe(p,h,a){let f=OS(h,p),g=YIe(a),D=p[xR].rendererFactory,q=qoe(p,Foe(p,g,null,Xpe(a),f,h,null,D.createRenderer(f,a),null,null,null));return p[h.index]=q}function Xpe(p){let h=16;return p.signals?h=4096:p.onPush&&(h=64),h}function Qpe(p,h,a,f){if(a===0)return-1;let g=h.length;for(let D=0;D<a;D++)h.push(f),p.blueprint.push(f),p.data.push(null);return g}function qoe(p,h){return p[mV]?p[zue][aS]=h:p[mV]=h,p[zue]=h,h}function Kt(p=1){Zpe(Jg(),F1(),wS()+p,!1)}function Zpe(p,h,a,f){if(!f)if((h[Ou]&3)===3){let D=p.preOrderCheckHooks;D!==null&&MX(h,D,a)}else{let D=p.preOrderHooks;D!==null&&IX(h,D,0,a)}QP(a)}var mQ=function(p){return p[p.None=0]="None",p[p.SignalBased=1]="SignalBased",p[p.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",p}(mQ||{});function zae(p,h,a,f){let g=mp(null);try{let[D,q,de]=p.inputs[a],G=null;(q&mQ.SignalBased)!==0&&(G=h[D][x_]),G!==null&&G.transformFn!==void 0?f=G.transformFn(f):de!==null&&(f=de.call(h,f)),p.setInput!==null?p.setInput(h,G,f,a,D):kde(h,G,D,f)}finally{mp(g)}}function Kpe(p,h,a,f,g){let D=wS(),q=f&2;try{QP(-1),q&&h.length>yA&&Zpe(p,h,yA,!1),_v(q?2:0,g),a(f,g)}finally{QP(D),_v(q?3:1,g)}}function bQ(p,h,a){e4e(p,h,a),(a.flags&64)===64&&t4e(p,h,a)}function Woe(p,h,a=OS){let f=h.localNames;if(f!==null){let g=h.index+1;for(let D=0;D<f.length;D+=2){let q=f[D+1],de=q===-1?a(h,p):p[q];p[g++]=de}}}function QIe(p,h,a,f){let D=f.get($Me,zpe)||a===IS.ShadowDom,q=p.selectRootElement(h,D);return ZIe(q),q}function ZIe(p){KIe(p)}var KIe=()=>null;function JIe(p){return p==="class"?"className":p==="for"?"htmlFor":p==="formaction"?"formAction":p==="innerHtml"?"innerHTML":p==="readonly"?"readOnly":p==="tabindex"?"tabIndex":p}function LV(p,h,a,f,g,D,q,de){if(!de&&joe(h,p,a,f,g)){nB(h)&&$Ie(a,h.index);return}if(h.type&3){let G=OS(h,a);f=JIe(f),g=q!=null?q(g,h.value||"",f):g,D.setProperty(G,f,g)}else h.type&12}function $Ie(p,h){let a=MS(h,p);a[Ou]&16||(a[Ou]|=64)}function e4e(p,h,a){let f=a.directiveStart,g=a.directiveEnd;nB(a)&&XIe(h,a,p.data[f+a.componentOffset]),p.firstCreatePass||BX(a,h);let D=a.initialInputs;for(let q=f;q<g;q++){let de=p.data[q],G=bV(h,p,q,a);if(oB(G,h),D!==null&&r4e(h,q-f,G,de,a,D),gS(de)){let ee=MS(a.index,h);ee[EI]=bV(h,p,q,a)}}}function t4e(p,h,a){let f=a.directiveStart,g=a.directiveEnd,D=a.index,q=pMe();try{QP(D);for(let de=f;de<g;de++){let G=p.data[de],ee=h[de];mae(de),(G.hostBindings!==null||G.hostVars!==0||G.hostAttrs!==null)&&n4e(G,ee)}}finally{QP(-1),mae(q)}}function n4e(p,h){p.hostBindings!==null&&p.hostBindings(1,h)}function Uoe(p,h){let a=p.directiveRegistry,f=null;if(a)for(let g=0;g<a.length;g++){let D=a[g];jpe(h,D.selectors,!1)&&(f??=[],gS(D)?f.unshift(D):f.push(D))}return f}function i4e(p,h,a,f,g,D){let q=OS(p,h);s4e(h[Kg],q,D,p.value,a,f,g)}function s4e(p,h,a,f,g,D,q){if(D==null)p.removeAttribute(h,g,a);else{let de=q==null?vS(D):q(D,f||"",g);p.setAttribute(h,g,de,a)}}function r4e(p,h,a,f,g,D){let q=D[h];if(q!==null)for(let de=0;de<q.length;de+=2){let G=q[de],ee=q[de+1];zae(f,a,G,ee)}}function Jpe(p,h){let a=p[fV],f=a?a.get(oS,null):null;f&&f.handleError(h)}function joe(p,h,a,f,g){let D=p.inputs?.[f],q=p.hostDirectiveInputs?.[f],de=!1;if(q)for(let G=0;G<q.length;G+=2){let ee=q[G],fe=q[G+1],ye=h.data[ee];zae(ye,a[ee],fe,g),de=!0}if(D)for(let G of D){let ee=a[G],fe=h.data[G];zae(fe,ee,f,g),de=!0}return de}function a4e(p,h){let a=MS(h,p),f=a[Ud];o4e(f,a);let g=a[BR];g!==null&&a[Y9]===null&&(a[Y9]=xpe(g,a[fV])),_v(18),Goe(f,a,a[EI]),_v(19,a[EI])}function o4e(p,h){for(let a=h.length;a<p.blueprint.length;a++)h.push(p.blueprint[a])}function Goe(p,h,a){woe(h);try{let f=p.viewQuery;f!==null&&Eae(1,f,a);let g=p.template;g!==null&&Kpe(p,h,g,1,a),p.firstCreatePass&&(p.firstCreatePass=!1),h[NR]?.finishViewCreation(p),p.staticContentQueries&&Npe(p,h),p.staticViewQueries&&Eae(2,p.viewQuery,a);let D=p.components;D!==null&&l4e(h,D)}catch(f){throw p.firstCreatePass&&(p.incompleteFirstPass=!0,p.firstCreatePass=!1),f}finally{h[Ou]&=-5,_oe()}}function l4e(p,h){for(let a=0;a<h.length;a++)a4e(p,h[a])}function xV(p,h,a,f){let g=mp(null);try{let D=h.tView,de=p[Ou]&4096?4096:16,G=Foe(p,D,a,de,null,h,null,null,f?.injector??null,f?.embeddedViewInjector??null,f?.dehydratedView??null),ee=p[h.index];G[GP]=ee;let fe=p[NR];return fe!==null&&(G[NR]=fe.createEmbeddedView(D)),Goe(D,G,a),G}finally{mp(g)}}function K9(p,h){return!h||h.firstChild===null||Ope(p)}var c4e;function Voe(p,h){return c4e(p,h)}var AS=function(p){return p[p.Important=1]="Important",p[p.DashCase=2]="DashCase",p}(AS||{});function Yoe(p){return(p.flags&32)===32}function W9(p,h,a,f,g){if(f!=null){let D,q=!1;kR(f)?D=f:rL(f)&&(q=!0,f=f[BR]);let de=yS(f);p===0&&a!==null?g==null?Vpe(h,a,de):qX(h,a,de,g||null,!0):p===1&&a!==null?qX(h,a,de,g||null,!0):p===2?UIe(h,de,q):p===3&&h.destroyNode(de),D!=null&&y4e(h,p,D,a,g)}}function u4e(p,h){$pe(p,h),h[BR]=null,h[F_]=null}function d4e(p,h,a,f,g,D){f[BR]=g,f[F_]=h,yQ(p,f,a,1,g,D)}function $pe(p,h){h[xR].changeDetectionScheduler?.notify(9),yQ(p,h,h[Kg],2,null,null)}function p4e(p){let h=p[mV];if(!h)return Zre(p[Ud],p);for(;h;){let a=null;if(rL(h))a=h[mV];else{let f=h[Cw];f&&(a=f)}if(!a){for(;h&&!h[aS]&&h!==p;)rL(h)&&Zre(h[Ud],h),h=h[Dw];h===null&&(h=p),rL(h)&&Zre(h[Ud],h),a=h&&h[aS]}h=a}}function Xoe(p,h){let a=p[X9],f=a.indexOf(h);a.splice(f,1)}function vQ(p,h){if(EV(h))return;let a=h[Kg];a.destroyNode&&yQ(p,h,a,3,null,null),p4e(h)}function Zre(p,h){if(EV(h))return;let a=mp(null);try{h[Ou]&=-129,h[Ou]|=256,h[oC]&&ZG(h[oC]),f4e(p,h),h4e(p,h),h[Ud].type===1&&h[Kg].destroy();let f=h[GP];if(f!==null&&kR(h[Dw])){f!==h[Dw]&&Xoe(f,h);let g=h[NR];g!==null&&g.detachView(p)}wae(h)}finally{mp(a)}}function h4e(p,h){let a=p.cleanup,f=h[SX];if(a!==null)for(let q=0;q<a.length-1;q+=2)if(typeof a[q]=="string"){let de=a[q+3];de>=0?f[de]():f[-de].unsubscribe(),q+=2}else{let de=f[a[q+1]];a[q].call(de)}f!==null&&(h[SX]=null);let g=h[sL];if(g!==null){h[sL]=null;for(let q=0;q<g.length;q++){let de=g[q];de()}}let D=h[VP];if(D!==null){h[VP]=null;for(let q of D)q.destroy()}}function f4e(p,h){let a;if(p!=null&&(a=p.destroyHooks)!=null)for(let f=0;f<a.length;f+=2){let g=h[a[f]];if(!(g instanceof ZP)){let D=a[f+1];if(Array.isArray(D))for(let q=0;q<D.length;q+=2){let de=g[D[q]],G=D[q+1];_v(4,de,G);try{G.call(de)}finally{_v(5,de,G)}}else{_v(4,g,D);try{D.call(g)}finally{_v(5,g,D)}}}}}function ehe(p,h,a){return m4e(p,h.parent,a)}function m4e(p,h,a){let f=h;for(;f!==null&&f.type&168;)h=f,f=h.parent;if(f===null)return a[BR];if(nB(f)){let{encapsulation:g}=p.data[f.directiveStart+f.componentOffset];if(g===IS.None||g===IS.Emulated)return null}return OS(f,a)}function the(p,h,a){return v4e(p,h,a)}function b4e(p,h,a){return p.type&40?OS(p,a):null}var v4e=b4e,Kue;function gQ(p,h,a,f){let g=ehe(p,f,h),D=h[Kg],q=f.parent||h[F_],de=the(q,f,h);if(g!=null)if(Array.isArray(a))for(let G=0;G<a.length;G++)Zue(D,g,a[G],de,!1);else Zue(D,g,a,de,!1);Kue!==void 0&&Kue(D,f,h,a,g)}function uV(p,h){if(h!==null){let a=h.type;if(a&3)return OS(h,p);if(a&4)return Rae(-1,p[h.index]);if(a&8){let f=h.child;if(f!==null)return uV(p,f);{let g=p[h.index];return kR(g)?Rae(-1,g):yS(g)}}else{if(a&128)return uV(p,h.next);if(a&32)return Voe(h,p)()||yS(p[h.index]);{let f=nhe(p,h);if(f!==null){if(Array.isArray(f))return f[0];let g=XP(p[k_]);return uV(g,f)}else return uV(p,h.next)}}}return null}function nhe(p,h){if(h!==null){let f=p[k_][F_],g=h.projection;return f.projection[g]}return null}function Rae(p,h){let a=Cw+p+1;if(a<h.length){let f=h[a],g=f[Ud].firstChild;if(g!==null)return uV(f,g)}return h[YP]}function Qoe(p,h,a,f,g,D,q){for(;a!=null;){if(a.type===128){a=a.next;continue}let de=f[a.index],G=a.type;if(q&&h===0&&(de&&oB(yS(de),f),a.flags|=2),!Yoe(a))if(G&8)Qoe(p,h,a.child,f,g,D,!1),W9(h,p,g,de,D);else if(G&32){let ee=Voe(a,f),fe;for(;fe=ee();)W9(h,p,g,fe,D);W9(h,p,g,de,D)}else G&16?ihe(p,h,f,a,g,D):W9(h,p,g,de,D);a=q?a.projectionNext:a.next}}function yQ(p,h,a,f,g,D){Qoe(a,f,p.firstChild,h,g,D,!1)}function g4e(p,h,a){let f=h[Kg],g=ehe(p,a,h),D=a.parent||h[F_],q=the(D,a,h);ihe(f,0,h,a,g,q)}function ihe(p,h,a,f,g,D){let q=a[k_],G=q[F_].projection[f.projection];if(Array.isArray(G))for(let ee=0;ee<G.length;ee++){let fe=G[ee];W9(h,p,g,fe,D)}else{let ee=G,fe=q[Dw];Ope(f)&&(ee.flags|=128),Qoe(p,h,ee,fe,g,D,!0)}}function y4e(p,h,a,f,g){let D=a[YP],q=yS(a);D!==q&&W9(h,p,f,D,g);for(let de=Cw;de<a.length;de++){let G=a[de];yQ(G[Ud],G,p,h,f,D)}}function M4e(p,h,a,f,g){if(h)g?p.addClass(a,f):p.removeClass(a,f);else{let D=f.indexOf("-")===-1?void 0:AS.DashCase;g==null?p.removeStyle(a,f,D):(typeof g=="string"&&g.endsWith("!important")&&(g=g.slice(0,-10),D|=AS.Important),p.setStyle(a,f,g,D))}}function WX(p,h,a,f,g=!1){for(;a!==null;){if(a.type===128){a=g?a.projectionNext:a.next;continue}let D=h[a.index];D!==null&&f.push(yS(D)),kR(D)&&I4e(D,f);let q=a.type;if(q&8)WX(p,h,a.child,f);else if(q&32){let de=Voe(a,h),G;for(;G=de();)f.push(G)}else if(q&16){let de=nhe(h,a);if(Array.isArray(de))f.push(...de);else{let G=XP(h[k_]);WX(G[Ud],G,de,f,!0)}}a=g?a.projectionNext:a.next}return f}function I4e(p,h){for(let a=Cw;a<p.length;a++){let f=p[a],g=f[Ud].firstChild;g!==null&&WX(f[Ud],f,g,h)}p[YP]!==p[BR]&&h.push(p[YP])}function she(p){if(p[U9]!==null){for(let h of p[U9])h.impl.addSequence(h);p[U9].length=0}}var rhe=[];function A4e(p){return p[oC]??O4e(p)}function O4e(p){let h=rhe.pop()??Object.create(_4e);return h.lView=p,h}function w4e(p){p.lView[oC]!==p&&(p.lView=null,rhe.push(p))}var _4e=Nd(k0({},C9),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:p=>{iB(p.lView)},consumerOnSignalRead(){this.lView[oC]=this}});function T4e(p){let h=p[oC]??Object.create(E4e);return h.lView=p,h}var E4e=Nd(k0({},C9),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:p=>{let h=XP(p.lView);for(;h&&!ahe(h[Ud]);)h=XP(h);h&&yoe(h)},consumerOnSignalRead(){this.lView[oC]=this}});function ahe(p){return p.type!==2}function ohe(p){if(p[VP]===null)return;let h=!0;for(;h;){let a=!1;for(let f of p[VP])f.dirty&&(a=!0,f.zone===null||Zone.current===f.zone?f.run():f.zone.run(()=>f.run()));h=a&&!!(p[Ou]&8192)}}var C4e=100;function lhe(p,h=!0,a=0){let g=p[xR].rendererFactory,D=!1;D||g.begin?.();try{D4e(p,a)}catch(q){throw h&&Jpe(p,q),q}finally{D||g.end?.()}}function D4e(p,h){let a=Zde();try{LX(!0),Lae(p,h);let f=0;for(;CV(p);){if(f===C4e)throw new h1(103,!1);f++,Lae(p,1)}}finally{LX(a)}}function S4e(p,h,a,f){if(EV(h))return;let g=h[Ou],D=!1,q=!1;woe(h);let de=!0,G=null,ee=null;D||(ahe(p)?(ee=A4e(h),G=QG(ee)):Rce()===null?(de=!1,ee=T4e(h),G=QG(ee)):h[oC]&&(ZG(h[oC]),h[oC]=null));try{jde(h),cMe(p.bindingStartIndex),a!==null&&Kpe(p,h,a,2,f);let fe=(g&3)===3;if(!D)if(fe){let $e=p.preOrderCheckHooks;$e!==null&&MX(h,$e,null)}else{let $e=p.preOrderHooks;$e!==null&&IX(h,$e,0,null),Yre(h,0)}if(q||z4e(h),ohe(h),che(h,0),p.contentQueries!==null&&Npe(p,h),!D)if(fe){let $e=p.contentCheckHooks;$e!==null&&MX(h,$e)}else{let $e=p.contentHooks;$e!==null&&IX(h,$e,1),Yre(h,1)}L4e(p,h);let ye=p.components;ye!==null&&dhe(h,ye,0);let je=p.viewQuery;if(je!==null&&Eae(2,je,f),!D)if(fe){let $e=p.viewCheckHooks;$e!==null&&MX(h,$e)}else{let $e=p.viewHooks;$e!==null&&IX(h,$e,2),Yre(h,2)}if(p.firstUpdatePass===!0&&(p.firstUpdatePass=!1),h[Vre]){for(let $e of h[Vre])$e();h[Vre]=null}D||(she(h),h[Ou]&=-73)}catch(fe){throw D||iB(h),fe}finally{ee!==null&&(RY(ee,G),de&&w4e(ee)),_oe()}}function che(p,h){for(let a=Tpe(p);a!==null;a=Epe(a))for(let f=Cw;f<a.length;f++){let g=a[f];uhe(g,h)}}function z4e(p){for(let h=Tpe(p);h!==null;h=Epe(h)){if(!(h[Ou]&2))continue;let a=h[X9];for(let f=0;f<a.length;f++){let g=a[f];yoe(g)}}}function R4e(p,h,a){_v(18);let f=MS(h,p);uhe(f,a),_v(19,f[EI])}function uhe(p,h){goe(p)&&Lae(p,h)}function Lae(p,h){let f=p[Ud],g=p[Ou],D=p[oC],q=!!(h===0&&g&16);if(q||=!!(g&64&&h===0),q||=!!(g&1024),q||=!!(D?.dirty&&LY(D)),q||=!1,D&&(D.dirty=!1),p[Ou]&=-9217,q)S4e(f,p,f.template,p[EI]);else if(g&8192){ohe(p),che(p,1);let de=f.components;de!==null&&dhe(p,de,1),she(p)}}function dhe(p,h,a){for(let f=0;f<h.length;f++)R4e(p,h[f],a)}function L4e(p,h){let a=p.hostBindingOpCodes;if(a!==null)try{for(let f=0;f<a.length;f++){let g=a[f];if(g<0)QP(~g);else{let D=g,q=a[++f],de=a[++f];dMe(q,D);let G=h[D];_v(24,G),de(2,G),_v(25,G)}}}finally{QP(-1)}}function Zoe(p,h){let a=Zde()?64:1088;for(p[xR].changeDetectionScheduler?.notify(h);p;){p[Ou]|=a;let f=XP(p);if(RX(p)&&!f)return p;p=f}return null}function phe(p,h,a,f){return[p,!0,0,h,null,f,null,a,null,null]}function hhe(p,h){let a=Cw+h;if(a<p.length)return p[a]}function NV(p,h,a,f=!0){let g=h[Ud];if(x4e(g,h,p,a),f){let q=Rae(a,p),de=h[Kg],G=de.parentNode(p[YP]);G!==null&&d4e(g,p[F_],de,h,G,q)}let D=h[Y9];D!==null&&D.firstChild!==null&&(D.firstChild=null)}function fhe(p,h){let a=yV(p,h);return a!==void 0&&vQ(a[Ud],a),a}function yV(p,h){if(p.length<=Cw)return;let a=Cw+h,f=p[a];if(f){let g=f[GP];g!==null&&g!==p&&Xoe(g,f),h>0&&(p[a-1][aS]=f[aS]);let D=CX(p,Cw+h);u4e(f[Ud],f);let q=D[NR];q!==null&&q.detachView(D[Ud]),f[Dw]=null,f[aS]=null,f[Ou]&=-129}return f}function x4e(p,h,a,f){let g=Cw+f,D=a.length;f>0&&(a[g-1][aS]=h),f<D-Cw?(h[aS]=a[g],Cde(a,Cw+f,h)):(a.push(h),h[aS]=null),h[Dw]=a;let q=h[GP];q!==null&&a!==q&&mhe(q,h);let de=h[NR];de!==null&&de.insertView(p),hae(h),h[Ou]|=128}function mhe(p,h){let a=p[X9],f=h[Dw];if(rL(f))p[Ou]|=2;else{let g=f[Dw][k_];h[k_]!==g&&(p[Ou]|=2)}a===null?p[X9]=[h]:a.push(h)}var MV=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let h=this._lView,a=h[Ud];return WX(a,h,a.firstChild,[])}constructor(h,a,f=!0){this._lView=h,this._cdRefInjectingView=a,this.notifyErrorHandler=f}get context(){return this._lView[EI]}set context(h){this._lView[EI]=h}get destroyed(){return EV(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let h=this._lView[Dw];if(kR(h)){let a=h[zX],f=a?a.indexOf(this):-1;f>-1&&(yV(h,f),CX(a,f))}this._attachedToViewContainer=!1}vQ(this._lView[Ud],this._lView)}onDestroy(h){Gde(this._lView,h)}markForCheck(){Zoe(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ou]&=-129}reattach(){hae(this._lView),this._lView[Ou]|=128}detectChanges(){this._lView[Ou]|=1024,lhe(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new h1(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let h=RX(this._lView),a=this._lView[GP];a!==null&&!h&&Xoe(a,this._lView),$pe(this._lView[Ud],this._lView)}attachToAppRef(h){if(this._attachedToViewContainer)throw new h1(902,!1);this._appRef=h;let a=RX(this._lView),f=this._lView[GP];f!==null&&!a&&mhe(f,this._lView),hae(this._lView)}};function bhe(p){return CV(p._lView)||!!(p._lView[Ou]&64)}function vhe(p){yoe(p._cdRefInjectingView||p._lView)}var up=(()=>{class p{static __NG_ELEMENT_ID__=B4e}return p})(),N4e=up,P4e=class extends N4e{_declarationLView;_declarationTContainer;elementRef;constructor(h,a,f){super(),this._declarationLView=h,this._declarationTContainer=a,this.elementRef=f}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(h,a){return this.createEmbeddedViewImpl(h,a)}createEmbeddedViewImpl(h,a,f){let g=xV(this._declarationLView,this._declarationTContainer,h,{embeddedViewInjector:a,dehydratedView:f});return new MV(g)}};function B4e(){return MQ(Sw(),F1())}function MQ(p,h){return p.type&4?new P4e(h,p,aB(p,h)):null}function PV(p,h,a,f,g){let D=p.data[h];if(D===null)D=k4e(p,h,a,f,g),uMe()&&(D.flags|=32);else if(D.type&64){D.type=a,D.value=f,D.attrs=g;let q=oMe();D.injectorIndex=q===null?-1:q.injectorIndex}return e9(D,!0),D}function k4e(p,h,a,f,g){let D=Qde(),q=Ioe(),de=q?D:D&&D.parent,G=p.data[h]=F4e(p,de,a,h,f,g);return H4e(p,G,D,q),G}function H4e(p,h,a,f){p.firstChild===null&&(p.firstChild=h),a!==null&&(f?a.child==null&&h.parent!==null&&(a.child=h):a.next===null&&(a.next=h,h.prev=a))}function F4e(p,h,a,f,g,D){let q=h?h.injectorIndex:-1,de=0;return Xde()&&(de|=128),{type:a,index:f,insertBeforeIndex:null,injectorIndex:q,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:de,providerIndexes:0,value:g,attrs:D,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:h,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var WWe=new RegExp(`^(\\d+)*(${JMe}|${KMe})*(.*)`);var q4e=()=>null;function J9(p,h){return q4e(p,h)}var W4e=class{},ghe=class{},xae=class{resolveComponentFactory(h){throw Error(`No component factory found for ${aC(h)}.`)}},uB=class{static NULL=new xae},Aw=class{},CI=(()=>{class p{destroyNode=null;static __NG_ELEMENT_ID__=()=>U4e()}return p})();function U4e(){let p=F1(),h=Sw(),a=MS(h.index,p);return(rL(a)?a:p)[Kg]}var j4e=(()=>{class p{static \u0275prov=ha({token:p,providedIn:"root",factory:()=>null})}return p})();function Nae(p,h,a){let f=a?p.styles:null,g=a?p.classes:null,D=0;if(h!==null)for(let q=0;q<h.length;q++){let de=h[q];if(typeof de=="number")D=de;else if(D==1)g=rae(g,de);else if(D==2){let G=de,ee=h[++q];f=rae(f,G+": "+ee+";")}}a?p.styles=f:p.stylesWithoutHost=f,a?p.classes=g:p.classesWithoutHost=g}function ls(p,h=df.Default){let a=F1();if(a===null)return h0(p,h);let f=Sw();return hpe(f,a,C_(p),h)}function yhe(){let p="invalid";throw new Error(p)}function Koe(p,h,a,f,g){let D=f===null?null:{"":-1},q=g(p,a);if(q!==null){let de,G=null,ee=null,fe=V4e(q);fe===null?de=q:[de,G,ee]=fe,Q4e(p,h,a,de,D,G,ee)}D!==null&&f!==null&&G4e(a,f,D)}function G4e(p,h,a){let f=p.localNames=[];for(let g=0;g<h.length;g+=2){let D=a[h[g+1]];if(D==null)throw new h1(-301,!1);f.push(h[g],D)}}function V4e(p){let h=null,a=!1;for(let q=0;q<p.length;q++){let de=p[q];if(q===0&&gS(de)&&(h=de),de.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let f=null,g=null,D=null;for(let q of p)q.findHostDirectiveDefs!==null&&(f??=[],g??=new Map,D??=new Map,Y4e(q,f,D,g)),q===h&&(f??=[],f.push(q));return f!==null?(f.push(...h===null?p:p.slice(1)),[f,g,D]):null}function Y4e(p,h,a,f){let g=h.length;p.findHostDirectiveDefs(p,h,f),a.set(p,[g,h.length-1])}function X4e(p,h,a){h.componentOffset=a,(p.components??=[]).push(h.index)}function Q4e(p,h,a,f,g,D,q){let de=f.length,G=!1;for(let je=0;je<de;je++){let $e=f[je];!G&&gS($e)&&(G=!0,X4e(p,a,je)),gae(BX(a,h),p,$e.type)}tAe(a,p.data.length,de);for(let je=0;je<de;je++){let $e=f[je];$e.providersResolver&&$e.providersResolver($e)}let ee=!1,fe=!1,ye=Qpe(p,h,de,null);de>0&&(a.directiveToIndex=new Map);for(let je=0;je<de;je++){let $e=f[je];if(a.mergedAttrs=Q9(a.mergedAttrs,$e.hostAttrs),K4e(p,a,h,ye,$e),eAe(ye,$e,g),q!==null&&q.has($e)){let[gn,$n]=q.get($e);a.directiveToIndex.set($e.type,[ye,gn+a.directiveStart,$n+a.directiveStart])}else(D===null||!D.has($e))&&a.directiveToIndex.set($e.type,ye);$e.contentQueries!==null&&(a.flags|=4),($e.hostBindings!==null||$e.hostAttrs!==null||$e.hostVars!==0)&&(a.flags|=64);let Dt=$e.type.prototype;!ee&&(Dt.ngOnChanges||Dt.ngOnInit||Dt.ngDoCheck)&&((p.preOrderHooks??=[]).push(a.index),ee=!0),!fe&&(Dt.ngOnChanges||Dt.ngDoCheck)&&((p.preOrderCheckHooks??=[]).push(a.index),fe=!0),ye++}Z4e(p,a,D)}function Z4e(p,h,a){for(let f=h.directiveStart;f<h.directiveEnd;f++){let g=p.data[f];if(a===null||!a.has(g))Jue(0,h,g,f),Jue(1,h,g,f),ede(h,f,!1);else{let D=a.get(g);$ue(0,h,D,f),$ue(1,h,D,f),ede(h,f,!0)}}}function Jue(p,h,a,f){let g=p===0?a.inputs:a.outputs;for(let D in g)if(g.hasOwnProperty(D)){let q;p===0?q=h.inputs??={}:q=h.outputs??={},q[D]??=[],q[D].push(f),Mhe(h,D)}}function $ue(p,h,a,f){let g=p===0?a.inputs:a.outputs;for(let D in g)if(g.hasOwnProperty(D)){let q=g[D],de;p===0?de=h.hostDirectiveInputs??={}:de=h.hostDirectiveOutputs??={},de[q]??=[],de[q].push(f,D),Mhe(h,q)}}function Mhe(p,h){h==="class"?p.flags|=8:h==="style"&&(p.flags|=16)}function ede(p,h,a){let{attrs:f,inputs:g,hostDirectiveInputs:D}=p;if(f===null||!a&&g===null||a&&D===null||koe(p)){p.initialInputs??=[],p.initialInputs.push(null);return}let q=null,de=0;for(;de<f.length;){let G=f[de];if(G===0){de+=4;continue}else if(G===5){de+=2;continue}else if(typeof G=="number")break;if(!a&&g.hasOwnProperty(G)){let ee=g[G];for(let fe of ee)if(fe===h){q??=[],q.push(G,f[de+1]);break}}else if(a&&D.hasOwnProperty(G)){let ee=D[G];for(let fe=0;fe<ee.length;fe+=2)if(ee[fe]===h){q??=[],q.push(ee[fe+1],f[de+1]);break}}de+=2}p.initialInputs??=[],p.initialInputs.push(q)}function K4e(p,h,a,f,g){p.data[f]=g;let D=g.factory||(g.factory=UP(g.type,!0)),q=new ZP(D,gS(g),ls);p.blueprint[f]=q,a[f]=q,J4e(p,h,f,Qpe(p,a,g.hostVars,Ow),g)}function J4e(p,h,a,f,g){let D=g.hostBindings;if(D){let q=p.hostBindingOpCodes;q===null&&(q=p.hostBindingOpCodes=[]);let de=~h.index;$4e(q)!=de&&q.push(de),q.push(a,f,D)}}function $4e(p){let h=p.length;for(;h>0;){let a=p[--h];if(typeof a=="number"&&a<0)return a}return 0}function eAe(p,h,a){if(a){if(h.exportAs)for(let f=0;f<h.exportAs.length;f++)a[h.exportAs[f]]=p;gS(h)&&(a[""]=p)}}function tAe(p,h,a){p.flags|=1,p.directiveStart=h,p.directiveEnd=h+a,p.providerIndexes=h}function Ihe(p,h,a,f,g,D,q,de){let G=h.consts,ee=aL(G,q),fe=PV(h,p,2,f,ee);return D&&Koe(h,a,fe,aL(G,de),g),fe.mergedAttrs=Q9(fe.mergedAttrs,fe.attrs),fe.attrs!==null&&Nae(fe,fe.attrs,!1),fe.mergedAttrs!==null&&Nae(fe,fe.mergedAttrs,!0),h.queries!==null&&h.queries.elementStart(h,fe),fe}function Ahe(p,h){Eoe(p,h),moe(h)&&p.queries.elementEnd(h)}var Pae=class extends uB{ngModule;constructor(h){super(),this.ngModule=h}resolveComponentFactory(h){let a=G9(h);return new IV(a,this.ngModule)}};function nAe(p){return Object.keys(p).map(h=>{let[a,f,g]=p[h],D={propName:a,templateName:h,isSignal:(f&mQ.SignalBased)!==0};return g&&(D.transform=g),D})}function iAe(p){return Object.keys(p).map(h=>({propName:p[h],templateName:h}))}function sAe(p,h,a){let f=h instanceof EA?h:h?.injector;return f&&p.getStandaloneInjector!==null&&(f=p.getStandaloneInjector(f)||f),f?new bae(a,f):a}function rAe(p){let h=p.get(Aw,null);if(h===null)throw new h1(407,!1);let a=p.get(j4e,null),f=p.get(PR,null);return{rendererFactory:h,sanitizer:a,changeDetectionScheduler:f}}function aAe(p,h){let a=(p.selectors[0][0]||"div").toLowerCase();return Gpe(h,a,a==="svg"?Wde:a==="math"?Zye:null)}var IV=class extends ghe{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=nAe(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iAe(this.componentDef.outputs),this.cachedOutputs}constructor(h,a){super(),this.componentDef=h,this.ngModule=a,this.componentType=h.type,this.selector=kIe(h.selectors),this.ngContentSelectors=h.ngContentSelectors??[],this.isBoundToModule=!!a}create(h,a,f,g){_v(22);let D=mp(null);try{let q=this.componentDef,de=f?["ng-version","19.2.2"]:HIe(this.componentDef.selectors[0]),G=Hoe(0,null,null,1,0,null,null,null,null,[de],null),ee=sAe(q,g||this.ngModule,h),fe=rAe(ee),ye=fe.rendererFactory.createRenderer(null,q),je=f?QIe(ye,f,q.encapsulation,ee):aAe(q,ye),$e=Foe(null,G,null,512|Xpe(q),null,null,fe,ye,ee,null,xpe(je,ee,!0));$e[yA]=je,woe($e);let Dt=null;try{let gn=Ihe(yA,G,$e,"#host",()=>[this.componentDef],!0,0);je&&(Ype(ye,je,gn),oB(je,$e)),bQ(G,$e,gn),Noe(G,gn,$e),Ahe(G,gn),a!==void 0&&oAe(gn,this.ngContentSelectors,a),Dt=MS(gn.index,$e),$e[EI]=Dt[EI],Goe(G,$e,null)}catch(gn){throw Dt!==null&&wae(Dt),wae($e),gn}finally{_v(23),_oe()}return new Bae(this.componentType,$e)}finally{mp(D)}}},Bae=class extends W4e{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(h,a){super(),this._rootLView=a,this._tNode=boe(a[Ud],yA),this.location=aB(this._tNode,a),this.instance=MS(this._tNode.index,a)[EI],this.hostView=this.changeDetectorRef=new MV(a,void 0,!1),this.componentType=h}setInput(h,a){let f=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(h)&&Object.is(this.previousInputValues.get(h),a))return;let g=this._rootLView,D=joe(f,g[Ud],g,h,a);this.previousInputValues.set(h,a);let q=MS(f.index,g);Zoe(q,1)}get injector(){return new WP(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(h){this.hostView.onDestroy(h)}};function oAe(p,h,a){let f=p.projection=[];for(let g=0;g<h.length;g++){let D=a[g];f.push(D!=null&&D.length?Array.from(D):null)}}var zw=(()=>{class p{static __NG_ELEMENT_ID__=lAe}return p})();function lAe(){let p=Sw();return whe(p,F1())}var cAe=zw,Ohe=class extends cAe{_lContainer;_hostTNode;_hostLView;constructor(h,a,f){super(),this._lContainer=h,this._hostTNode=a,this._hostLView=f}get element(){return aB(this._hostTNode,this._hostLView)}get injector(){return new WP(this._hostTNode,this._hostLView)}get parentInjector(){let h=Coe(this._hostTNode,this._hostLView);if(ope(h)){let a=NX(h,this._hostLView),f=xX(h),g=a[Ud].data[f+8];return new WP(g,a)}else return new WP(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(h){let a=tde(this._lContainer);return a!==null&&a[h]||null}get length(){return this._lContainer.length-Cw}createEmbeddedView(h,a,f){let g,D;typeof f=="number"?g=f:f!=null&&(g=f.index,D=f.injector);let q=J9(this._lContainer,h.ssrId),de=h.createEmbeddedViewImpl(a||{},D,q);return this.insertImpl(de,g,K9(this._hostTNode,q)),de}createComponent(h,a,f,g,D){let q=h&&!Vye(h),de;if(q)de=a;else{let Dt=a||{};de=Dt.index,f=Dt.injector,g=Dt.projectableNodes,D=Dt.environmentInjector||Dt.ngModuleRef}let G=q?h:new IV(G9(h)),ee=f||this.parentInjector;if(!D&&G.ngModule==null){let gn=(q?ee:this.parentInjector).get(EA,null);gn&&(D=gn)}let fe=G9(G.componentType??{}),ye=J9(this._lContainer,fe?.id??null),je=ye?.firstChild??null,$e=G.create(ee,g,je,D);return this.insertImpl($e.hostView,de,K9(this._hostTNode,ye)),$e}insert(h,a){return this.insertImpl(h,a,!0)}insertImpl(h,a,f){let g=h._lView;if(Jye(g)){let de=this.indexOf(h);if(de!==-1)this.detach(de);else{let G=g[Dw],ee=new Ohe(G,G[F_],G[Dw]);ee.detach(ee.indexOf(h))}}let D=this._adjustIndex(a),q=this._lContainer;return NV(q,g,D,f),h.attachToViewContainerRef(),Cde(Kre(q),D,h),h}move(h,a){return this.insert(h,a)}indexOf(h){let a=tde(this._lContainer);return a!==null?a.indexOf(h):-1}remove(h){let a=this._adjustIndex(h,-1),f=yV(this._lContainer,a);f&&(CX(Kre(this._lContainer),a),vQ(f[Ud],f))}detach(h){let a=this._adjustIndex(h,-1),f=yV(this._lContainer,a);return f&&CX(Kre(this._lContainer),a)!=null?new MV(f):null}_adjustIndex(h,a=0){return h??this.length+a}};function tde(p){return p[zX]}function Kre(p){return p[zX]||(p[zX]=[])}function whe(p,h){let a,f=h[p.index];return kR(f)?a=f:(a=phe(f,h,null,p),h[p.index]=a,qoe(h,a)),dAe(a,h,p,f),new Ohe(a,p,h)}function uAe(p,h){let a=p[Kg],f=a.createComment(""),g=OS(h,p),D=a.parentNode(g);return qX(a,D,f,a.nextSibling(g),!1),f}var dAe=fAe,pAe=()=>!1;function hAe(p,h,a){return pAe(p,h,a)}function fAe(p,h,a,f){if(p[YP])return;let g;a.type&8?g=yS(f):g=uAe(h,a),p[YP]=g}var kae=class p{queryList;matches=null;constructor(h){this.queryList=h}clone(){return new p(this.queryList)}setDirty(){this.queryList.setDirty()}},Hae=class p{queries;constructor(h=[]){this.queries=h}createEmbeddedView(h){let a=h.queries;if(a!==null){let f=h.contentQueries!==null?h.contentQueries[0]:a.length,g=[];for(let D=0;D<f;D++){let q=a.getByIndex(D),de=this.queries[q.indexInDeclarationView];g.push(de.clone())}return new p(g)}return null}insertView(h){this.dirtyQueriesWithMatches(h)}detachView(h){this.dirtyQueriesWithMatches(h)}finishViewCreation(h){this.dirtyQueriesWithMatches(h)}dirtyQueriesWithMatches(h){for(let a=0;a<this.queries.length;a++)Joe(h,a).matches!==null&&this.queries[a].setDirty()}},UX=class{flags;read;predicate;constructor(h,a,f=null){this.flags=a,this.read=f,typeof h=="string"?this.predicate=AAe(h):this.predicate=h}},Fae=class p{queries;constructor(h=[]){this.queries=h}elementStart(h,a){for(let f=0;f<this.queries.length;f++)this.queries[f].elementStart(h,a)}elementEnd(h){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(h)}embeddedTView(h){let a=null;for(let f=0;f<this.length;f++){let g=a!==null?a.length:0,D=this.getByIndex(f).embeddedTView(h,g);D&&(D.indexInDeclarationView=f,a!==null?a.push(D):a=[D])}return a!==null?new p(a):null}template(h,a){for(let f=0;f<this.queries.length;f++)this.queries[f].template(h,a)}getByIndex(h){return this.queries[h]}get length(){return this.queries.length}track(h){this.queries.push(h)}},qae=class p{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(h,a=-1){this.metadata=h,this._declarationNodeIndex=a}elementStart(h,a){this.isApplyingToNode(a)&&this.matchTNode(h,a)}elementEnd(h){this._declarationNodeIndex===h.index&&(this._appliesToNextNode=!1)}template(h,a){this.elementStart(h,a)}embeddedTView(h,a){return this.isApplyingToNode(h)?(this.crossesNgTemplate=!0,this.addMatch(-h.index,a),new p(this.metadata)):null}isApplyingToNode(h){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,f=h.parent;for(;f!==null&&f.type&8&&f.index!==a;)f=f.parent;return a===(f!==null?f.index:-1)}return this._appliesToNextNode}matchTNode(h,a){let f=this.metadata.predicate;if(Array.isArray(f))for(let g=0;g<f.length;g++){let D=f[g];this.matchTNodeWithReadOption(h,a,mAe(a,D)),this.matchTNodeWithReadOption(h,a,AX(a,h,D,!1,!1))}else f===up?a.type&4&&this.matchTNodeWithReadOption(h,a,-1):this.matchTNodeWithReadOption(h,a,AX(a,h,f,!1,!1))}matchTNodeWithReadOption(h,a,f){if(f!==null){let g=this.metadata.read;if(g!==null)if(g===Cl||g===zw||g===up&&a.type&4)this.addMatch(a.index,-2);else{let D=AX(a,h,g,!1,!1);D!==null&&this.addMatch(a.index,D)}else this.addMatch(a.index,f)}}addMatch(h,a){this.matches===null?this.matches=[h,a]:this.matches.push(h,a)}};function mAe(p,h){let a=p.localNames;if(a!==null){for(let f=0;f<a.length;f+=2)if(a[f]===h)return a[f+1]}return null}function bAe(p,h){return p.type&11?aB(p,h):p.type&4?MQ(p,h):null}function vAe(p,h,a,f){return a===-1?bAe(h,p):a===-2?gAe(p,h,f):bV(p,p[Ud],a,h)}function gAe(p,h,a){if(a===Cl)return aB(h,p);if(a===up)return MQ(h,p);if(a===zw)return whe(h,p)}function _he(p,h,a,f){let g=h[NR].queries[f];if(g.matches===null){let D=p.data,q=a.matches,de=[];for(let G=0;q!==null&&G<q.length;G+=2){let ee=q[G];if(ee<0)de.push(null);else{let fe=D[ee];de.push(vAe(h,fe,q[G+1],a.metadata.read))}}g.matches=de}return g.matches}function Wae(p,h,a,f){let g=p.queries.getByIndex(a),D=g.matches;if(D!==null){let q=_he(p,h,g,a);for(let de=0;de<D.length;de+=2){let G=D[de];if(G>0)f.push(q[de/2]);else{let ee=D[de+1],fe=h[-G];for(let ye=Cw;ye<fe.length;ye++){let je=fe[ye];je[GP]===je[Dw]&&Wae(je[Ud],je,ee,f)}if(fe[X9]!==null){let ye=fe[X9];for(let je=0;je<ye.length;je++){let $e=ye[je];Wae($e[Ud],$e,ee,f)}}}}}return f}function yAe(p,h){return p[NR].queries[h].queryList}function The(p,h,a){let f=new gV((a&4)===4);return tMe(p,h,f,f.destroy),(h[NR]??=new Hae).queries.push(new kae(f))-1}function MAe(p,h,a){let f=Jg();return f.firstCreatePass&&(Ehe(f,new UX(p,h,a),-1),(h&2)===2&&(f.staticViewQueries=!0)),The(f,F1(),h)}function IAe(p,h,a,f){let g=Jg();if(g.firstCreatePass){let D=Sw();Ehe(g,new UX(h,a,f),D.index),OAe(g,p),(a&2)===2&&(g.staticContentQueries=!0)}return The(g,F1(),a)}function AAe(p){return p.split(",").map(h=>h.trim())}function Ehe(p,h,a){p.queries===null&&(p.queries=new Fae),p.queries.track(new qae(h,a))}function OAe(p,h){let a=p.contentQueries||(p.contentQueries=[]),f=a.length?a[a.length-1]:-1;h!==f&&a.push(p.queries.length-1,h)}function Joe(p,h){return p.queries.getByIndex(h)}function wAe(p,h){let a=p[Ud],f=Joe(a,h);return f.crossesNgTemplate?Wae(a,p,h,[]):_he(a,p,f,h)}function Che(p,h){let a=Object.create(vde),f=new Oae;a.value=p;function g(){return XG(a),nde(a.value),a.value}return g[x_]=a,g.asReadonly=Ipe.bind(g),g.set=D=>{a.equal(a.value,D)||(KG(a,D),f.emit(D))},g.update=D=>{nde(a.value),g.set(D(a.value))},g.subscribe=f.subscribe.bind(f),g.destroyRef=f.destroyRef,g}function nde(p){if(p===KX)throw new h1(952,!1)}function ide(p,h){return Che(p,h)}function _Ae(p){return Che(KX,p)}var UR=(ide.required=_Ae,ide);var KP=class{};var jX=class extends KP{injector;componentFactoryResolver=new Pae(this);instance=null;constructor(h){super();let a=new hV([...h.providers,{provide:KP,useValue:this},{provide:uB,useValue:this.componentFactoryResolver}],h.parent||iQ(),h.debugName,new Set(["environment"]));this.injector=a,h.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(h){this.injector.onDestroy(h)}};function TAe(p,h,a=null){return new jX({providers:p,parent:h,debugName:a,runEnvironmentInitializers:!0}).injector}var EAe=(()=>{class p{_injector;cachedInjectors=new Map;constructor(a){this._injector=a}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){let f=zde(!1,a.type),g=f.length>0?TAe([f],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,g)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(let a of this.cachedInjectors.values())a!==null&&a.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=ha({token:p,providedIn:"environment",factory:()=>new p(h0(EA))})}return p})();function ks(p){return _V(()=>{let h=Dhe(p),a=Nd(k0({},h),{decls:p.decls,vars:p.vars,template:p.template,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,onPush:p.changeDetection===wpe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:h.standalone&&p.dependencies||null,getStandaloneInjector:h.standalone?g=>g.get(EAe).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:p.signals??!1,data:p.data||{},encapsulation:p.encapsulation||IS.Emulated,styles:p.styles||B_,_:null,schemas:p.schemas||null,tView:null,id:""});h.standalone&&i9("NgStandalone"),She(a);let f=p.dependencies;return a.directiveDefs=sde(f,!1),a.pipeDefs=sde(f,!0),a.id=RAe(a),a})}function CAe(p){return G9(p)||Nye(p)}function DAe(p){return p!==null}function Hd(p){return _V(()=>({type:p.type,bootstrap:p.bootstrap||B_,declarations:p.declarations||B_,imports:p.imports||B_,exports:p.exports||B_,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null}))}function SAe(p,h){if(p==null)return jP;let a={};for(let f in p)if(p.hasOwnProperty(f)){let g=p[f],D,q,de,G;Array.isArray(g)?(de=g[0],D=g[1],q=g[2]??D,G=g[3]||null):(D=g,q=g,de=mQ.None,G=null),a[D]=[f,de,G],h[D]=q}return a}function zAe(p){if(p==null)return jP;let h={};for(let a in p)p.hasOwnProperty(a)&&(h[p[a]]=a);return h}function Dl(p){return _V(()=>{let h=Dhe(p);return She(h),h})}function DI(p){return{type:p.type,name:p.name,factory:null,pure:p.pure!==!1,standalone:p.standalone??!0,onDestroy:p.type.prototype.ngOnDestroy||null}}function Dhe(p){let h={};return{type:p.type,providersResolver:null,factory:null,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:h,inputConfig:p.inputs||jP,exportAs:p.exportAs||null,standalone:p.standalone??!0,signals:p.signals===!0,selectors:p.selectors||B_,viewQuery:p.viewQuery||null,features:p.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:SAe(p.inputs,h),outputs:zAe(p.outputs),debugInfo:null}}function She(p){p.features?.forEach(h=>h(p))}function sde(p,h){if(!p)return null;let a=h?Pye:CAe;return()=>(typeof p=="function"?p():p).map(f=>a(f)).filter(DAe)}function RAe(p){let h=0,a=typeof p.consts=="function"?"":p.consts,f=[p.selectors,p.ngContentSelectors,p.hostVars,p.hostAttrs,a,p.vars,p.decls,p.encapsulation,p.standalone,p.signals,p.exportAs,JSON.stringify(p.inputs),JSON.stringify(p.outputs),Object.getOwnPropertyNames(p.type.prototype),!!p.contentQueries,!!p.viewQuery];for(let D of f.join("|"))h=Math.imul(31,h)+D.charCodeAt(0)<<0;return h+=2147483648,"c"+h}function LAe(p){return Object.getPrototypeOf(p.prototype).constructor}function el(p){let h=LAe(p.type),a=!0,f=[p];for(;h;){let g;if(gS(p))g=h.\u0275cmp||h.\u0275dir;else{if(h.\u0275cmp)throw new h1(903,!1);g=h.\u0275dir}if(g){if(a){f.push(g);let q=p;q.inputs=Jre(p.inputs),q.declaredInputs=Jre(p.declaredInputs),q.outputs=Jre(p.outputs);let de=g.hostBindings;de&&kAe(p,de);let G=g.viewQuery,ee=g.contentQueries;if(G&&PAe(p,G),ee&&BAe(p,ee),xAe(p,g),fye(p.outputs,g.outputs),gS(g)&&g.data.animation){let fe=p.data;fe.animation=(fe.animation||[]).concat(g.data.animation)}}let D=g.features;if(D)for(let q=0;q<D.length;q++){let de=D[q];de&&de.ngInherit&&de(p),de===el&&(a=!1)}}h=Object.getPrototypeOf(h)}NAe(f)}function xAe(p,h){for(let a in h.inputs){if(!h.inputs.hasOwnProperty(a)||p.inputs.hasOwnProperty(a))continue;let f=h.inputs[a];f!==void 0&&(p.inputs[a]=f,p.declaredInputs[a]=h.declaredInputs[a])}}function NAe(p){let h=0,a=null;for(let f=p.length-1;f>=0;f--){let g=p[f];g.hostVars=h+=g.hostVars,g.hostAttrs=Q9(g.hostAttrs,a=Q9(a,g.hostAttrs))}}function Jre(p){return p===jP?{}:p===B_?[]:p}function PAe(p,h){let a=p.viewQuery;a?p.viewQuery=(f,g)=>{h(f,g),a(f,g)}:p.viewQuery=h}function BAe(p,h){let a=p.contentQueries;a?p.contentQueries=(f,g,D)=>{h(f,g,D),a(f,g,D)}:p.contentQueries=h}function kAe(p,h){let a=p.hostBindings;a?p.hostBindings=(f,g)=>{h(f,g),a(f,g)}:p.hostBindings=h}function zhe(p){return $oe(p)?Array.isArray(p)||!(p instanceof Map)&&Symbol.iterator in p:!1}function HAe(p,h){if(Array.isArray(p))for(let a=0;a<p.length;a++)h(p[a]);else{let a=p[Symbol.iterator](),f;for(;!(f=a.next()).done;)h(f.value)}}function $oe(p){return p!==null&&(typeof p=="function"||typeof p=="object")}function dB(p,h,a){return p[h]=a}function Rhe(p,h){return p[h]}function H_(p,h,a){let f=p[h];return Object.is(f,a)?!1:(p[h]=a,!0)}function AV(p,h,a,f){let g=H_(p,h,a);return H_(p,h+1,f)||g}function Lhe(p,h,a,f,g){let D=AV(p,h,a,f);return H_(p,h+2,g)||D}function xhe(p,h,a,f,g,D){let q=AV(p,h,a,f);return AV(p,h+2,g,D)||q}function FAe(p,h,a,f,g,D,q,de,G){let ee=h.consts,fe=PV(h,p,4,q||null,de||null);Moe()&&Koe(h,a,fe,aL(ee,G),Uoe),fe.mergedAttrs=Q9(fe.mergedAttrs,fe.attrs),Eoe(h,fe);let ye=fe.tView=Hoe(2,fe,f,g,D,h.directiveRegistry,h.pipeRegistry,null,h.schemas,ee,null);return h.queries!==null&&(h.queries.template(h,fe),ye.queries=h.queries.embeddedTView(fe)),fe}function GX(p,h,a,f,g,D,q,de,G,ee){let fe=a+yA,ye=h.firstCreatePass?FAe(fe,h,p,f,g,D,q,de,G):h.data[fe];e9(ye,!1);let je=qAe(h,p,ye,a);lQ()&&gQ(h,p,je,ye),oB(je,p);let $e=phe(je,p,je,ye);return p[fe]=$e,qoe(p,$e),hAe($e,ye,p),aQ(ye)&&bQ(h,p,ye),G!=null&&Woe(p,ye,ee),ye}function as(p,h,a,f,g,D,q,de){let G=F1(),ee=Jg(),fe=aL(ee.consts,D);return GX(G,ee,p,h,a,f,g,fe,q,de),as}var qAe=WAe;function WAe(p,h,a,f){return cQ(!0),h[Kg].createComment("")}var Nhe=new Mo("");var Phe=(()=>{class p{static \u0275prov=ha({token:p,providedIn:"root",factory:()=>new Uae})}return p})(),Uae=class{queuedEffectCount=0;queues=new Map;schedule(h){this.enqueue(h)}remove(h){let a=h.zone,f=this.queues.get(a);f.has(h)&&(f.delete(h),this.queuedEffectCount--)}enqueue(h){let a=h.zone;this.queues.has(a)||this.queues.set(a,new Set);let f=this.queues.get(a);f.has(h)||(this.queuedEffectCount++,f.add(h))}flush(){for(;this.queuedEffectCount>0;)for(let[h,a]of this.queues)h===null?this.flushQueue(a):h.run(()=>this.flushQueue(a))}flushQueue(h){for(let a of h)h.delete(a),this.queuedEffectCount--,a.run()}};function pB(p){return!!p&&typeof p.then=="function"}function ele(p){return!!p&&typeof p.subscribe=="function"}var UAe=new Mo("");var Bhe=(()=>{class p{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((a,f)=>{this.resolve=a,this.reject=f});appInits=Pi(UAe,{optional:!0})??[];injector=Pi(Ab);constructor(){}runInitializers(){if(this.initialized)return;let a=[];for(let g of this.appInits){let D=sQ(this.injector,g);if(pB(D))a.push(D);else if(ele(D)){let q=new Promise((de,G)=>{D.subscribe({complete:de,error:G})});a.push(q)}}let f=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{f()}).catch(g=>{this.reject(g)}),a.length===0&&f(),this.initialized=!0}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),khe=new Mo("");function jAe(){Wce(()=>{throw new h1(600,!1)})}function GAe(p){return p.isBoundToModule}var VAe=10;var D_=(()=>{class p{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Pi(WMe);afterRenderManager=Pi(Rpe);zonelessEnabled=Pi(Doe);rootEffectScheduler=Pi(Phe);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new H0;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=Pi(rB).hasPendingTasks.pipe(Xu(a=>!a));constructor(){Pi(lB,{optional:!0})}whenStable(){let a;return new Promise(f=>{a=this.isStable.subscribe({next:g=>{g&&f()}})}).finally(()=>{a.unsubscribe()})}_injector=Pi(EA);_rendererFactory=null;get injector(){return this._injector}bootstrap(a,f){_v(10);let g=a instanceof ghe;if(!this._injector.get(Bhe).done){let je="";throw new h1(405,je)}let q;g?q=a:q=this._injector.get(uB).resolveComponentFactory(a),this.componentTypes.push(q.componentType);let de=GAe(q)?void 0:this._injector.get(KP),G=f||q.selector,ee=q.create(Ab.NULL,[],G,de),fe=ee.location.nativeElement,ye=ee.injector.get(Nhe,null);return ye?.registerApplication(fe),ee.onDestroy(()=>{this.detachView(ee.hostView),OX(this.components,ee),ye?.unregisterApplication(fe)}),this._loadComponent(ee),_v(11,ee),ee}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){_v(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Loe.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new h1(101,!1);let a=mp(null);try{this._runningTick=!0,this.synchronize()}catch(f){this.internalErrorHandler(f)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,mp(a),this.afterTick.next(),_v(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Aw,null,{optional:!0}));let a=0;for(;this.dirtyFlags!==0&&a++<VAe;)_v(14),this.synchronizeOnce(),_v(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let a=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:f,notifyErrorHandler:g}of this.allViews)YAe(f,g,a,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:a})=>CV(a))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(a){let f=a;this._views.push(f),f.attachToAppRef(this)}detachView(a){let f=a;OX(this._views,f),f.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a),this._injector.get(khe,[]).forEach(g=>g(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>OX(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new h1(406,!1);let a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function OX(p,h){let a=p.indexOf(h);a>-1&&p.splice(a,1)}function YAe(p,h,a,f){if(!a&&!CV(p))return;lhe(p,h,a&&!f?0:1)}function Tl(p,h,a,f){let g=F1(),D=t9();if(H_(g,D,h)){let q=Jg(),de=sB();i4e(de,g,p,h,a,f)}return Tl}function tle(p,h,a,f){return H_(p,t9(),a)?h+vS(a)+f:Ow}function Hhe(p,h,a,f,g,D){let q=Kde(),de=AV(p,q,a,g);return oQ(2),de?h+vS(a)+f+vS(g)+D:Ow}function XAe(p,h,a,f,g,D,q,de){let G=Kde(),ee=Lhe(p,G,a,g,q);return oQ(3),ee?h+vS(a)+f+vS(g)+D+vS(q)+de:Ow}function gX(p,h){return p<<17|h<<2}function JP(p){return p>>17&32767}function QAe(p){return(p&2)==2}function ZAe(p,h){return p&131071|h<<17}function jae(p){return p|2}function $9(p){return(p&131068)>>2}function $re(p,h){return p&-131069|h<<2}function KAe(p){return(p&1)===1}function Gae(p){return p|1}function JAe(p,h,a,f,g,D){let q=D?h.classBindings:h.styleBindings,de=JP(q),G=$9(q);p[f]=a;let ee=!1,fe;if(Array.isArray(a)){let ye=a;fe=ye[1],(fe===null||TV(ye,fe)>0)&&(ee=!0)}else fe=a;if(g)if(G!==0){let je=JP(p[de+1]);p[f+1]=gX(je,de),je!==0&&(p[je+1]=$re(p[je+1],f)),p[de+1]=ZAe(p[de+1],f)}else p[f+1]=gX(de,0),de!==0&&(p[de+1]=$re(p[de+1],f)),de=f;else p[f+1]=gX(G,0),de===0?de=f:p[G+1]=$re(p[G+1],f),G=f;ee&&(p[f+1]=jae(p[f+1])),rde(p,fe,f,!0),rde(p,fe,f,!1),$Ae(h,fe,p,f,D),q=gX(de,G),D?h.classBindings=q:h.styleBindings=q}function $Ae(p,h,a,f,g){let D=g?p.residualClasses:p.residualStyles;D!=null&&typeof h=="string"&&TV(D,h)>=0&&(a[f+1]=Gae(a[f+1]))}function rde(p,h,a,f){let g=p[a+1],D=h===null,q=f?JP(g):$9(g),de=!1;for(;q!==0&&(de===!1||D);){let G=p[q],ee=p[q+1];eOe(G,h)&&(de=!0,p[q+1]=f?Gae(ee):jae(ee)),q=f?JP(ee):$9(ee)}de&&(p[a+1]=f?jae(g):Gae(g))}function eOe(p,h){return p===null||h==null||(Array.isArray(p)?p[1]:p)===h?!0:Array.isArray(p)&&typeof h=="string"?TV(p,h)>=0:!1}var rS={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tOe(p){return p.substring(rS.key,rS.keyEnd)}function nOe(p){return iOe(p),Fhe(p,qhe(p,0,rS.textEnd))}function Fhe(p,h){let a=rS.textEnd;return a===h?-1:(h=rS.keyEnd=sOe(p,rS.key=h,a),qhe(p,h,a))}function iOe(p){rS.key=0,rS.keyEnd=0,rS.value=0,rS.valueEnd=0,rS.textEnd=p.length}function qhe(p,h,a){for(;h<a&&p.charCodeAt(h)<=32;)h++;return h}function sOe(p,h,a){for(;h<a&&p.charCodeAt(h)>32;)h++;return h}function Rn(p,h,a){let f=F1(),g=t9();if(H_(f,g,h)){let D=Jg(),q=sB();LV(D,q,f,p,h,f[Kg],a,!1)}return Rn}function Vae(p,h,a,f,g){joe(h,p,a,g?"class":"style",f)}function B2(p,h,a){return Uhe(p,h,a,!1),B2}function ul(p,h){return Uhe(p,h,null,!0),ul}function Z6(p){jhe(uOe,Whe,p,!0)}function Whe(p,h){for(let a=nOe(h);a>=0;a=Fhe(h,a))eQ(p,tOe(h),!0)}function Uhe(p,h,a,f){let g=F1(),D=Jg(),q=oQ(2);if(D.firstUpdatePass&&Vhe(D,p,q,f),h!==Ow&&H_(g,q,h)){let de=D.data[wS()];Yhe(D,de,g,g[Kg],p,g[q+1]=pOe(h,a),f,q)}}function jhe(p,h,a,f){let g=Jg(),D=oQ(2);g.firstUpdatePass&&Vhe(g,null,D,f);let q=F1();if(a!==Ow&&H_(q,D,a)){let de=g.data[wS()];if(Xhe(de,f)&&!Ghe(g,D)){let G=f?de.classesWithoutHost:de.stylesWithoutHost;G!==null&&(a=rae(G,a||"")),Vae(g,de,q,a,f)}else dOe(g,de,q,q[Kg],q[D+1],q[D+1]=cOe(p,h,a),f,D)}}function Ghe(p,h){return h>=p.expandoStartIndex}function Vhe(p,h,a,f){let g=p.data;if(g[a+1]===null){let D=g[wS()],q=Ghe(p,a);Xhe(D,f)&&h===null&&!q&&(h=!1),h=rOe(g,D,h,f),JAe(g,D,h,a,q,f)}}function rOe(p,h,a,f){let g=hMe(p),D=f?h.residualClasses:h.residualStyles;if(g===null)(f?h.classBindings:h.styleBindings)===0&&(a=eae(null,p,h,a,f),a=OV(a,h.attrs,f),D=null);else{let q=h.directiveStylingLast;if(q===-1||p[q]!==g)if(a=eae(g,p,h,a,f),D===null){let G=aOe(p,h,f);G!==void 0&&Array.isArray(G)&&(G=eae(null,p,h,G[1],f),G=OV(G,h.attrs,f),oOe(p,h,f,G))}else D=lOe(p,h,f)}return D!==void 0&&(f?h.residualClasses=D:h.residualStyles=D),a}function aOe(p,h,a){let f=a?h.classBindings:h.styleBindings;if($9(f)!==0)return p[JP(f)]}function oOe(p,h,a,f){let g=a?h.classBindings:h.styleBindings;p[JP(g)]=f}function lOe(p,h,a){let f,g=h.directiveEnd;for(let D=1+h.directiveStylingLast;D<g;D++){let q=p[D].hostAttrs;f=OV(f,q,a)}return OV(f,h.attrs,a)}function eae(p,h,a,f,g){let D=null,q=a.directiveEnd,de=a.directiveStylingLast;for(de===-1?de=a.directiveStart:de++;de<q&&(D=h[de],f=OV(f,D.hostAttrs,g),D!==p);)de++;return p!==null&&(a.directiveStylingLast=de),f}function OV(p,h,a){let f=a?1:2,g=-1;if(h!==null)for(let D=0;D<h.length;D++){let q=h[D];typeof q=="number"?g=q:g===f&&(Array.isArray(p)||(p=p===void 0?[]:["",p]),eQ(p,q,a?!0:h[++D]))}return p===void 0?null:p}function cOe(p,h,a){if(a==null||a==="")return B_;let f=[],g=cB(a);if(Array.isArray(g))for(let D=0;D<g.length;D++)p(f,g[D],!0);else if(typeof g=="object")for(let D in g)g.hasOwnProperty(D)&&p(f,D,g[D]);else typeof g=="string"&&h(f,g);return f}function uOe(p,h,a){let f=String(h);f!==""&&!f.includes(" ")&&eQ(p,f,a)}function dOe(p,h,a,f,g,D,q,de){g===Ow&&(g=B_);let G=0,ee=0,fe=0<g.length?g[0]:null,ye=0<D.length?D[0]:null;for(;fe!==null||ye!==null;){let je=G<g.length?g[G+1]:void 0,$e=ee<D.length?D[ee+1]:void 0,Dt=null,gn;fe===ye?(G+=2,ee+=2,je!==$e&&(Dt=ye,gn=$e)):ye===null||fe!==null&&fe<ye?(G+=2,Dt=fe):(ee+=2,Dt=ye,gn=$e),Dt!==null&&Yhe(p,h,a,f,Dt,gn,q,de),fe=G<g.length?g[G]:null,ye=ee<D.length?D[ee]:null}}function Yhe(p,h,a,f,g,D,q,de){if(!(h.type&3))return;let G=p.data,ee=G[de+1],fe=KAe(ee)?ade(G,h,a,g,$9(ee),q):void 0;if(!VX(fe)){VX(D)||QAe(ee)&&(D=ade(G,null,a,g,de,q));let ye=Ude(wS(),a);M4e(f,q,ye,g,D)}}function ade(p,h,a,f,g,D){let q=h===null,de;for(;g>0;){let G=p[g],ee=Array.isArray(G),fe=ee?G[1]:G,ye=fe===null,je=a[g+1];je===Ow&&(je=ye?B_:void 0);let $e=ye?jre(je,f):fe===f?je:void 0;if(ee&&!VX($e)&&($e=jre(G,f)),VX($e)&&(de=$e,q))return de;let Dt=p[g+1];g=q?JP(Dt):$9(Dt)}if(h!==null){let G=D?h.residualClasses:h.residualStyles;G!=null&&(de=jre(G,f))}return de}function VX(p){return p!==void 0}function pOe(p,h){return p==null||p===""||(typeof h=="string"?p=p+h:typeof p=="object"&&(p=aC(cB(p)))),p}function Xhe(p,h){return(p.flags&(h?8:16))!==0}function jR(p,h,a){let f=F1(),g=tle(f,p,h,a);jhe(eQ,Whe,g,!0)}function nle(){return F1()[k_][EI]}var Yae=class{destroy(h){}updateValue(h,a){}swap(h,a){let f=Math.min(h,a),g=Math.max(h,a),D=this.detach(g);if(g-f>1){let q=this.detach(f);this.attach(f,D),this.attach(g,q)}else this.attach(f,D)}move(h,a){this.attach(a,this.detach(h))}};function tae(p,h,a,f,g){return p===a&&Object.is(h,f)?1:Object.is(g(p,h),g(a,f))?-1:0}function hOe(p,h,a){let f,g,D=0,q=p.length-1,de=void 0;if(Array.isArray(h)){let G=h.length-1;for(;D<=q&&D<=G;){let ee=p.at(D),fe=h[D],ye=tae(D,ee,D,fe,a);if(ye!==0){ye<0&&p.updateValue(D,fe),D++;continue}let je=p.at(q),$e=h[G],Dt=tae(q,je,G,$e,a);if(Dt!==0){Dt<0&&p.updateValue(q,$e),q--,G--;continue}let gn=a(D,ee),$n=a(q,je),Ri=a(D,fe);if(Object.is(Ri,$n)){let os=a(G,$e);Object.is(os,gn)?(p.swap(D,q),p.updateValue(q,$e),G--,q--):p.move(q,D),p.updateValue(D,fe),D++;continue}if(f??=new YX,g??=lde(p,D,q,a),Xae(p,f,D,Ri))p.updateValue(D,fe),D++,q++;else if(g.has(Ri))f.set(gn,p.detach(D)),q--;else{let os=p.create(D,h[D]);p.attach(D,os),D++,q++}}for(;D<=G;)ode(p,f,a,D,h[D]),D++}else if(h!=null){let G=h[Symbol.iterator](),ee=G.next();for(;!ee.done&&D<=q;){let fe=p.at(D),ye=ee.value,je=tae(D,fe,D,ye,a);if(je!==0)je<0&&p.updateValue(D,ye),D++,ee=G.next();else{f??=new YX,g??=lde(p,D,q,a);let $e=a(D,ye);if(Xae(p,f,D,$e))p.updateValue(D,ye),D++,q++,ee=G.next();else if(!g.has($e))p.attach(D,p.create(D,ye)),D++,q++,ee=G.next();else{let Dt=a(D,fe);f.set(Dt,p.detach(D)),q--}}}for(;!ee.done;)ode(p,f,a,p.length,ee.value),ee=G.next()}for(;D<=q;)p.destroy(p.detach(q--));f?.forEach(G=>{p.destroy(G)})}function Xae(p,h,a,f){return h!==void 0&&h.has(f)?(p.attach(a,h.get(f)),h.delete(f),!0):!1}function ode(p,h,a,f,g){if(Xae(p,h,f,a(f,g)))p.updateValue(f,g);else{let D=p.create(f,g);p.attach(f,D)}}function lde(p,h,a,f){let g=new Set;for(let D=h;D<=a;D++)g.add(f(D,p.at(D)));return g}var YX=class{kvMap=new Map;_vMap=void 0;has(h){return this.kvMap.has(h)}delete(h){if(!this.has(h))return!1;let a=this.kvMap.get(h);return this._vMap!==void 0&&this._vMap.has(a)?(this.kvMap.set(h,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(h),!0}get(h){return this.kvMap.get(h)}set(h,a){if(this.kvMap.has(h)){let f=this.kvMap.get(h);this._vMap===void 0&&(this._vMap=new Map);let g=this._vMap;for(;g.has(f);)f=g.get(f);g.set(f,a)}else this.kvMap.set(h,a)}forEach(h){for(let[a,f]of this.kvMap)if(h(f,a),this._vMap!==void 0){let g=this._vMap;for(;g.has(f);)f=g.get(f),h(f,a)}}};function Js(p,h){i9("NgControlFlow");let a=F1(),f=t9(),g=a[f]!==Ow?a[f]:-1,D=g!==-1?XX(a,yA+g):void 0,q=0;if(H_(a,f,p)){let de=mp(null);try{if(D!==void 0&&fhe(D,q),p!==-1){let G=yA+p,ee=XX(a,G),fe=Jae(a[Ud],G),ye=J9(ee,fe.tView.ssrId),je=xV(a,fe,h,{dehydratedView:ye});NV(ee,je,q,K9(fe,ye))}}finally{mp(de)}}else if(D!==void 0){let de=hhe(D,q);de!==void 0&&(de[EI]=h)}}var Qae=class{lContainer;$implicit;$index;constructor(h,a,f){this.lContainer=h,this.$implicit=a,this.$index=f}get $count(){return this.lContainer.length-Cw}};function tM(p,h){return h}var Zae=class{hasEmptyBlock;trackByFn;liveCollection;constructor(h,a,f){this.hasEmptyBlock=h,this.trackByFn=a,this.liveCollection=f}};function vp(p,h,a,f,g,D,q,de,G,ee,fe,ye,je){i9("NgControlFlow");let $e=F1(),Dt=Jg(),gn=G!==void 0,$n=F1(),Ri=de?q.bind($n[k_][EI]):q,os=new Zae(gn,Ri);$n[yA+p]=os,GX($e,Dt,p+1,h,a,f,g,aL(Dt.consts,D)),gn&&GX($e,Dt,p+2,G,ee,fe,ye,aL(Dt.consts,je))}var Kae=class extends Yae{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(h,a,f){super(),this.lContainer=h,this.hostLView=a,this.templateTNode=f}get length(){return this.lContainer.length-Cw}at(h){return this.getLView(h)[EI].$implicit}attach(h,a){let f=a[Y9];this.needsIndexUpdate||=h!==this.length,NV(this.lContainer,a,h,K9(this.templateTNode,f))}detach(h){return this.needsIndexUpdate||=h!==this.length-1,fOe(this.lContainer,h)}create(h,a){let f=J9(this.lContainer,this.templateTNode.tView.ssrId),g=xV(this.hostLView,this.templateTNode,new Qae(this.lContainer,a,h),{dehydratedView:f});return this.operationsCounter?.recordCreate(),g}destroy(h){vQ(h[Ud],h),this.operationsCounter?.recordDestroy()}updateValue(h,a){this.getLView(h)[EI].$implicit=a}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let h=0;h<this.length;h++)this.getLView(h)[EI].$index=h}getLView(h){return mOe(this.lContainer,h)}};function gp(p){let h=mp(null),a=wS();try{let f=F1(),g=f[Ud],D=f[a],q=a+1,de=XX(f,q);if(D.liveCollection===void 0){let ee=Jae(g,q);D.liveCollection=new Kae(de,f,ee)}else D.liveCollection.reset();let G=D.liveCollection;if(hOe(G,p,D.trackByFn),G.updateIndexes(),D.hasEmptyBlock){let ee=t9(),fe=G.length===0;if(H_(f,ee,fe)){let ye=a+2,je=XX(f,ye);if(fe){let $e=Jae(g,ye),Dt=J9(je,$e.tView.ssrId),gn=xV(f,$e,void 0,{dehydratedView:Dt});NV(je,gn,0,K9($e,Dt))}else fhe(je,0)}}}finally{mp(h)}}function XX(p,h){return p[h]}function fOe(p,h){return yV(p,h)}function mOe(p,h){return hhe(p,h)}function Jae(p,h){return boe(p,h)}function ln(p,h,a,f){let g=F1(),D=Jg(),q=yA+p,de=g[Kg],G=D.firstCreatePass?Ihe(q,D,g,h,Uoe,Moe(),a,f):D.data[q],ee=bOe(D,g,G,de,h,p);g[q]=ee;let fe=aQ(G);return e9(G,!0),Ype(de,ee,G),!Yoe(G)&&lQ()&&gQ(D,g,ee,G),(nMe()===0||fe)&&oB(ee,g),iMe(),fe&&(bQ(D,g,G),Noe(D,G,g)),f!==null&&Woe(g,G),ln}function vn(){let p=Sw();Ioe()?Aoe():(p=p.parent,e9(p,!1));let h=p;rMe(h)&&aMe(),sMe();let a=Jg();return a.firstCreatePass&&Ahe(a,h),h.classesWithoutHost!=null&&MMe(h)&&Vae(a,h,F1(),h.classesWithoutHost,!0),h.stylesWithoutHost!=null&&IMe(h)&&Vae(a,h,F1(),h.stylesWithoutHost,!1),vn}function Rs(p,h,a,f){return ln(p,h,a,f),vn(),Rs}var bOe=(p,h,a,f,g,D)=>(cQ(!0),Gpe(f,g,vMe()));function vOe(p,h,a,f,g){let D=h.consts,q=aL(D,f),de=PV(h,p,8,"ng-container",q);q!==null&&Nae(de,q,!0);let G=aL(D,g);return Moe()&&Koe(h,a,de,G,Uoe),de.mergedAttrs=Q9(de.mergedAttrs,de.attrs),h.queries!==null&&h.queries.elementStart(h,de),de}function cC(p,h,a){let f=F1(),g=Jg(),D=p+yA,q=g.firstCreatePass?vOe(D,g,f,h,a):g.data[D];e9(q,!0);let de=gOe(g,f,q,p);return f[D]=de,lQ()&&gQ(g,f,de,q),oB(de,f),aQ(q)&&(bQ(g,f,q),Noe(g,q,f)),a!=null&&Woe(f,q),cC}function uC(){let p=Sw(),h=Jg();return Ioe()?Aoe():(p=p.parent,e9(p,!1)),h.firstCreatePass&&(Eoe(h,p),moe(p)&&h.queries.elementEnd(p)),uC}function ey(p,h,a){return cC(p,h,a),uC(),ey}var gOe=(p,h,a,f)=>(cQ(!0),WIe(h[Kg],""));function zr(){return F1()}function s9(p,h,a){let f=F1(),g=t9();if(H_(f,g,h)){let D=Jg(),q=sB();LV(D,q,f,p,h,f[Kg],a,!0)}return s9}var FP=void 0;function yOe(p){let h=Math.floor(Math.abs(p)),a=p.toString().replace(/^[^.]*\.?/,"").length;return h===1&&a===0?1:5}var MOe=["en",[["a","p"],["AM","PM"],FP],[["AM","PM"],FP,FP],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],FP,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],FP,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",FP,"{1} 'at' {0}",FP],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",yOe],nae={};function K6(p){let h=IOe(p),a=cde(h);if(a)return a;let f=h.split("-")[0];if(a=cde(f),a)return a;if(f==="en")return MOe;throw new h1(701,!1)}function cde(p){return p in nae||(nae[p]=LR.ng&&LR.ng.common&&LR.ng.common.locales&&LR.ng.common.locales[p]),nae[p]}var rM=function(p){return p[p.LocaleId=0]="LocaleId",p[p.DayPeriodsFormat=1]="DayPeriodsFormat",p[p.DayPeriodsStandalone=2]="DayPeriodsStandalone",p[p.DaysFormat=3]="DaysFormat",p[p.DaysStandalone=4]="DaysStandalone",p[p.MonthsFormat=5]="MonthsFormat",p[p.MonthsStandalone=6]="MonthsStandalone",p[p.Eras=7]="Eras",p[p.FirstDayOfWeek=8]="FirstDayOfWeek",p[p.WeekendRange=9]="WeekendRange",p[p.DateFormat=10]="DateFormat",p[p.TimeFormat=11]="TimeFormat",p[p.DateTimeFormat=12]="DateTimeFormat",p[p.NumberSymbols=13]="NumberSymbols",p[p.NumberFormats=14]="NumberFormats",p[p.CurrencyCode=15]="CurrencyCode",p[p.CurrencySymbol=16]="CurrencySymbol",p[p.CurrencyName=17]="CurrencyName",p[p.Currencies=18]="Currencies",p[p.Directionality=19]="Directionality",p[p.PluralCase=20]="PluralCase",p[p.ExtraData=21]="ExtraData",p}(rM||{});function IOe(p){return p.toLowerCase().replace(/_/g,"-")}var QX="en-US";var AOe=QX;function OOe(p){typeof p=="string"&&(AOe=p.toLowerCase().replace(/_/g,"-"))}var wOe=(p,h,a)=>{};function _i(p,h,a,f){let g=F1(),D=Jg(),q=Sw();return Qhe(D,g,g[Kg],q,p,h,f),_i}function _Oe(p,h,a,f){let g=p.cleanup;if(g!=null)for(let D=0;D<g.length-1;D+=2){let q=g[D];if(q===a&&g[D+1]===f){let de=h[SX],G=g[D+2];return de.length>G?de[G]:null}typeof q=="string"&&(D+=2)}return null}function Qhe(p,h,a,f,g,D,q){let de=aQ(f),ee=p.firstCreatePass?Yde(p):null,fe=h[EI],ye=Vde(h),je=!0;if(f.type&3||q){let $e=OS(f,h),Dt=q?q($e):$e,gn=ye.length,$n=q?os=>q(yS(os[f.index])):f.index,Ri=null;if(!q&&de&&(Ri=_Oe(p,h,g,f.index)),Ri!==null){let os=Ri.__ngLastListenerFn__||Ri;os.__ngNextListenerFn__=D,Ri.__ngLastListenerFn__=D,je=!1}else{D=pde(f,h,fe,D),wOe(Dt,g,D);let os=a.listen(Dt,g,D);ye.push(D,os),ee&&ee.push(g,$n,gn,gn+1)}}else D=pde(f,h,fe,D);if(je){let $e=f.outputs?.[g],Dt=f.hostDirectiveOutputs?.[g];if(Dt&&Dt.length)for(let gn=0;gn<Dt.length;gn+=2){let $n=Dt[gn],Ri=Dt[gn+1];ude(f,p,h,$n,Ri,g,D,ye,ee)}if($e&&$e.length)for(let gn of $e)ude(f,p,h,gn,g,g,D,ye,ee)}}function ude(p,h,a,f,g,D,q,de,G){let ee=a[f],ye=h.data[f].outputs[g],$e=ee[ye].subscribe(q),Dt=de.length;de.push(q,$e),G&&G.push(D,p.index,Dt,-(Dt+1))}function dde(p,h,a,f){let g=mp(null);try{return _v(6,h,a),a(f)!==!1}catch(D){return Jpe(p,D),!1}finally{_v(7,h,a),mp(g)}}function pde(p,h,a,f){return function g(D){if(D===Function)return f;let q=nB(p)?MS(p.index,h):h;Zoe(q,5);let de=dde(h,a,f,D),G=g.__ngNextListenerFn__;for(;G;)de=dde(h,a,G,D)&&de,G=G.__ngNextListenerFn__;return de}}function on(p=1){return mMe(p)}function TOe(p,h){let a=null,f=LIe(p);for(let g=0;g<h.length;g++){let D=h[g];if(D==="*"){a=g;continue}if(f===null?jpe(p,D,!0):PIe(f,D))return g}return a}function Qf(p){let h=F1()[k_][F_];if(!h.projection){let a=p?p.length:1,f=h.projection=Rye(a,null),g=f.slice(),D=h.child;for(;D!==null;){if(D.type!==128){let q=p?TOe(D,p):0;q!==null&&(g[q]?g[q].projectionNext=D:f[q]=D,g[q]=D)}D=D.next}}}function Fd(p,h=0,a,f,g,D){let q=F1(),de=Jg(),G=f?p+1:null;G!==null&&GX(q,de,G,f,g,D,null,a);let ee=PV(de,yA+p,16,null,a||null);ee.projection===null&&(ee.projection=h),Aoe();let ye=!q[Y9]||Xde();q[k_][F_].projection[ee.projection]===null&&G!==null?EOe(q,de,G):ye&&!Yoe(ee)&&g4e(de,q,ee)}function EOe(p,h,a){let f=yA+a,g=h.data[f],D=p[f],q=J9(D,g.tView.ssrId),de=xV(p,g,void 0,{dehydratedView:q});NV(D,de,0,K9(g,q))}function Io(p,h,a){return Zhe(p,"",h,"",a),Io}function Zhe(p,h,a,f,g){let D=F1(),q=tle(D,h,a,f);if(q!==Ow){let de=Jg(),G=sB();LV(de,G,D,p,q,D[Kg],g,!1)}return Zhe}function ile(p,h,a,f,g,D,q){let de=F1(),G=Hhe(de,h,a,f,g,D);if(G!==Ow){let ee=Jg(),fe=sB();LV(ee,fe,de,p,G,de[Kg],q,!1)}return ile}function MA(p,h,a,f){IAe(p,h,a,f)}function $1(p,h,a){MAe(p,h,a)}function f0(p){let h=F1(),a=Jg(),f=Jde();Ooe(f+1);let g=Joe(a,f);if(p.dirty&&Kye(h)===((g.metadata.flags&2)===2)){if(g.matches===null)p.reset([]);else{let D=wAe(h,f);p.reset(D,GMe),p.notifyOnChanges()}return!0}return!1}function m0(){return yAe(F1(),Jde())}function COe(p,h,a,f){a>=p.data.length&&(p.data[a]=null,p.blueprint[a]=null),h[a]=f}function lf(p){let h=lMe();return voe(h,yA+p)}function Os(p,h=""){let a=F1(),f=Jg(),g=p+yA,D=f.firstCreatePass?PV(f,g,1,h,null):f.data[g],q=DOe(f,a,D,h,p);a[g]=q,lQ()&&gQ(f,a,q,D),e9(D,!1)}var DOe=(p,h,a,f,g)=>(cQ(!0),FIe(h[Kg],f));function s0(p){return ga("",p,""),s0}function ga(p,h,a){let f=F1(),g=tle(f,p,h,a);return g!==Ow&&rle(f,wS(),g),ga}function _S(p,h,a,f,g){let D=F1(),q=Hhe(D,p,h,a,f,g);return q!==Ow&&rle(D,wS(),q),_S}function sle(p,h,a,f,g,D,q){let de=F1(),G=XAe(de,p,h,a,f,g,D,q);return G!==Ow&&rle(de,wS(),G),sle}function rle(p,h,a){let f=Ude(h,p);qIe(p[Kg],f,a)}function IA(p,h,a){Ape(h)&&(h=h());let f=F1(),g=t9();if(H_(f,g,h)){let D=Jg(),q=sB();LV(D,q,f,p,h,f[Kg],a,!1)}return IA}function CA(p,h){let a=Ape(p);return a&&p.set(h),a}function AA(p,h){let a=F1(),f=Jg(),g=Sw();return Qhe(f,a,a[Kg],g,p,h),AA}function SOe(p,h,a){let f=Jg();if(f.firstCreatePass){let g=gS(p);$ae(a,f.data,f.blueprint,g,!0),$ae(h,f.data,f.blueprint,g,!1)}}function $ae(p,h,a,f,g){if(p=C_(p),Array.isArray(p))for(let D=0;D<p.length;D++)$ae(p[D],h,a,f,g);else{let D=Jg(),q=F1(),de=Sw(),G=V9(p)?p:C_(p.provide),ee=xde(p),fe=de.providerIndexes&1048575,ye=de.directiveStart,je=de.providerIndexes>>20;if(V9(p)||!p.multi){let $e=new ZP(ee,g,ls),Dt=sae(G,h,g?fe:fe+je,ye);Dt===-1?(gae(BX(de,q),D,G),iae(D,p,h.length),h.push(G),de.directiveStart++,de.directiveEnd++,g&&(de.providerIndexes+=1048576),a.push($e),q.push($e)):(a[Dt]=$e,q[Dt]=$e)}else{let $e=sae(G,h,fe+je,ye),Dt=sae(G,h,fe,fe+je),gn=$e>=0&&a[$e],$n=Dt>=0&&a[Dt];if(g&&!$n||!g&&!gn){gae(BX(de,q),D,G);let Ri=LOe(g?ROe:zOe,a.length,g,f,ee);!g&&$n&&(a[Dt].providerFactory=Ri),iae(D,p,h.length,0),h.push(G),de.directiveStart++,de.directiveEnd++,g&&(de.providerIndexes+=1048576),a.push(Ri),q.push(Ri)}else{let Ri=Khe(a[g?Dt:$e],ee,!g&&f);iae(D,p,$e>-1?$e:Dt,Ri)}!g&&f&&$n&&a[Dt].componentProviders++}}}function iae(p,h,a,f){let g=V9(h),D=Fye(h);if(g||D){let G=(D?C_(h.useClass):h).prototype.ngOnDestroy;if(G){let ee=p.destroyHooks||(p.destroyHooks=[]);if(!g&&h.multi){let fe=ee.indexOf(a);fe===-1?ee.push(a,[f,G]):ee[fe+1].push(f,G)}else ee.push(a,G)}}}function Khe(p,h,a){return a&&p.componentProviders++,p.multi.push(h)-1}function sae(p,h,a,f){for(let g=a;g<f;g++)if(h[g]===p)return g;return-1}function zOe(p,h,a,f){return eoe(this.multi,[])}function ROe(p,h,a,f){let g=this.multi,D;if(this.providerFactory){let q=this.providerFactory.componentProviders,de=bV(a,a[Ud],this.providerFactory.index,f);D=de.slice(0,q),eoe(g,D);for(let G=q;G<de.length;G++)D.push(de[G])}else D=[],eoe(g,D);return D}function eoe(p,h){for(let a=0;a<p.length;a++){let f=p[a];h.push(f())}return h}function LOe(p,h,a,f,g){let D=new ZP(p,a,ls);return D.multi=[],D.index=h,D.componentProviders=0,Khe(D,g,f&&!a),D}function dl(p,h=[]){return a=>{a.providersResolver=(f,g)=>SOe(f,g?g(p):p,h)}}function hB(p,h,a){let f=lL()+p,g=F1();return g[f]===Ow?dB(g,f,a?h.call(a):h()):Rhe(g,f)}function Wf(p,h,a,f){return $he(F1(),lL(),p,h,a,f)}function ry(p,h,a,f,g){return xOe(F1(),lL(),p,h,a,f,g)}function ty(p,h,a,f,g,D){return efe(F1(),lL(),p,h,a,f,g,D)}function IQ(p,h,a,f,g,D,q){return NOe(F1(),lL(),p,h,a,f,g,D,q)}function Jhe(p,h,a,f,g,D,q,de){let G=lL()+p,ee=F1(),fe=xhe(ee,G,a,f,g,D);return H_(ee,G+4,q)||fe?dB(ee,G+5,de?h.call(de,a,f,g,D,q):h(a,f,g,D,q)):Rhe(ee,G+5)}function AQ(p,h){let a=p[h];return a===Ow?void 0:a}function $he(p,h,a,f,g,D){let q=h+a;return H_(p,q,g)?dB(p,q+1,D?f.call(D,g):f(g)):AQ(p,q+1)}function xOe(p,h,a,f,g,D,q){let de=h+a;return AV(p,de,g,D)?dB(p,de+2,q?f.call(q,g,D):f(g,D)):AQ(p,de+2)}function efe(p,h,a,f,g,D,q,de){let G=h+a;return Lhe(p,G,g,D,q)?dB(p,G+3,de?f.call(de,g,D,q):f(g,D,q)):AQ(p,G+3)}function NOe(p,h,a,f,g,D,q,de,G){let ee=h+a;return xhe(p,ee,g,D,q,de)?dB(p,ee+4,G?f.call(G,g,D,q,de):f(g,D,q,de)):AQ(p,ee+4)}function ia(p,h){let a=Jg(),f,g=p+yA;a.firstCreatePass?(f=POe(h,a.pipeRegistry),a.data[g]=f,f.onDestroy&&(a.destroyHooks??=[]).push(g,f.onDestroy)):f=a.data[g];let D=f.factory||(f.factory=UP(f.type,!0)),q,de=P_(ls);try{let G=PX(!1),ee=D();return PX(G),COe(a,F1(),g,ee),ee}finally{P_(de)}}function POe(p,h){if(h)for(let a=h.length-1;a>=0;a--){let f=h[a];if(p===f.name)return f}}function oa(p,h,a){let f=p+yA,g=F1(),D=voe(g,f);return tfe(g,f)?$he(g,lL(),h,D.transform,a,D):D.transform(a)}function ale(p,h,a,f,g){let D=p+yA,q=F1(),de=voe(q,D);return tfe(q,D)?efe(q,lL(),h,de.transform,a,f,g,de):de.transform(a,f,g)}function tfe(p,h){return p[Ud].data[h].pure}function OA(p,h){return MQ(p,h)}var oL=class{full;major;minor;patch;constructor(h){this.full=h;let a=h.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}},ole=new oL("19.2.2");var BOe=(()=>{class p{zone=Pi(Qu);changeDetectionScheduler=Pi(PR);applicationRef=Pi(D_);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function kOe({ngZoneFactory:p,ignoreChangesOutsideZone:h,scheduleInRootZone:a}){return p??=()=>new Qu(Nd(k0({},HOe()),{scheduleInRootZone:a})),[{provide:Qu,useFactory:p},{provide:pV,multi:!0,useFactory:()=>{let f=Pi(BOe,{optional:!0});return()=>f.initialize()}},{provide:pV,multi:!0,useFactory:()=>{let f=Pi(FOe);return()=>{f.initialize()}}},h===!0?{provide:vpe,useValue:!0}:[],{provide:gpe,useValue:a??bpe}]}function HOe(p){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:p?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:p?.runCoalescing??!1}}var FOe=(()=>{class p{subscription=new Xp;initialized=!1;zone=Pi(Qu);pendingTasks=Pi(rB);initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Qu.assertNotInAngularZone(),queueMicrotask(()=>{a!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Qu.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var qOe=(()=>{class p{appRef=Pi(D_);taskService=Pi(rB);ngZone=Pi(Qu);zonelessEnabled=Pi(Doe);tracing=Pi(lB,{optional:!0});disableScheduling=Pi(vpe,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Xp;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(HX):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Pi(gpe,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Aae||!this.zoneIsDefined)}notify(a){if(!this.zonelessEnabled&&a===5)return;let f=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,f=!0;break}case 12:{this.appRef.dirtyFlags|=16,f=!0;break}case 13:{this.appRef.dirtyFlags|=2,f=!0;break}case 11:{f=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(f))return;let g=this.useMicrotaskScheduler?kue:ype;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>g(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>g(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(HX+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(f){throw this.taskService.remove(a),f}finally{this.cleanup()}this.useMicrotaskScheduler=!0,kue(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function WOe(){return typeof $localize<"u"&&$localize.locale||QX}var r9=new Mo("",{providedIn:"root",factory:()=>Pi(r9,df.Optional|df.SkipSelf)||WOe()});var toe=new Mo(""),UOe=new Mo("");function lV(p){return!p.moduleRef}function jOe(p){let h=lV(p)?p.r3Injector:p.moduleRef.injector,a=h.get(Qu);return a.run(()=>{lV(p)?p.r3Injector.resolveInjectorInitializers():p.moduleRef.resolveInjectorInitializers();let f=h.get(oS,null),g;if(a.runOutsideAngular(()=>{g=a.onError.subscribe({next:D=>{f.handleError(D)}})}),lV(p)){let D=()=>h.destroy(),q=p.platformInjector.get(toe);q.add(D),h.onDestroy(()=>{g.unsubscribe(),q.delete(D)})}else{let D=()=>p.moduleRef.destroy(),q=p.platformInjector.get(toe);q.add(D),p.moduleRef.onDestroy(()=>{OX(p.allPlatformModules,p.moduleRef),g.unsubscribe(),q.delete(D)})}return VOe(f,a,()=>{let D=h.get(Bhe);return D.runInitializers(),D.donePromise.then(()=>{let q=h.get(r9,QX);if(OOe(q||QX),!h.get(UOe,!0))return lV(p)?h.get(D_):(p.allPlatformModules.push(p.moduleRef),p.moduleRef);if(lV(p)){let G=h.get(D_);return p.rootComponent!==void 0&&G.bootstrap(p.rootComponent),G}else return GOe(p.moduleRef,p.allPlatformModules),p.moduleRef})})})}function GOe(p,h){let a=p.injector.get(D_);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(f=>a.bootstrap(f));else if(p.instance.ngDoBootstrap)p.instance.ngDoBootstrap(a);else throw new h1(-403,!1);h.push(p)}function VOe(p,h,a){try{let f=a();return pB(f)?f.catch(g=>{throw h.runOutsideAngular(()=>p.handleError(g)),g}):f}catch(f){throw h.runOutsideAngular(()=>p.handleError(f)),f}}var wX=null;function YOe(p=[],h){return Ab.create({name:h,providers:[{provide:nQ,useValue:"platform"},{provide:toe,useValue:new Set([()=>wX=null])},...p]})}function XOe(p=[]){if(wX)return wX;let h=YOe(p);return wX=h,jAe(),QOe(h),h}function QOe(p){let h=p.get(Roe,null);sQ(p,()=>{h?.forEach(a=>a())})}var Zf=(()=>{class p{static __NG_ELEMENT_ID__=ZOe}return p})();function ZOe(p){return KOe(Sw(),F1(),(p&16)===16)}function KOe(p,h,a){if(nB(p)&&!a){let f=MS(p.index,h);return new MV(f,f)}else if(p.type&175){let f=h[k_];return new MV(f,h)}return null}var noe=class{constructor(){}supports(h){return zhe(h)}create(h){return new ioe(h)}},JOe=(p,h)=>h,ioe=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(h){this._trackByFn=h||JOe}forEachItem(h){let a;for(a=this._itHead;a!==null;a=a._next)h(a)}forEachOperation(h){let a=this._itHead,f=this._removalsHead,g=0,D=null;for(;a||f;){let q=!f||a&&a.currentIndex<hde(f,g,D)?a:f,de=hde(q,g,D),G=q.currentIndex;if(q===f)g--,f=f._nextRemoved;else if(a=a._next,q.previousIndex==null)g++;else{D||(D=[]);let ee=de-g,fe=G-g;if(ee!=fe){for(let je=0;je<ee;je++){let $e=je<D.length?D[je]:D[je]=0,Dt=$e+je;fe<=Dt&&Dt<ee&&(D[je]=$e+1)}let ye=q.previousIndex;D[ye]=fe-ee}}de!==G&&h(q,de,G)}}forEachPreviousItem(h){let a;for(a=this._previousItHead;a!==null;a=a._nextPrevious)h(a)}forEachAddedItem(h){let a;for(a=this._additionsHead;a!==null;a=a._nextAdded)h(a)}forEachMovedItem(h){let a;for(a=this._movesHead;a!==null;a=a._nextMoved)h(a)}forEachRemovedItem(h){let a;for(a=this._removalsHead;a!==null;a=a._nextRemoved)h(a)}forEachIdentityChange(h){let a;for(a=this._identityChangesHead;a!==null;a=a._nextIdentityChange)h(a)}diff(h){if(h==null&&(h=[]),!zhe(h))throw new h1(900,!1);return this.check(h)?this:null}onDestroy(){}check(h){this._reset();let a=this._itHead,f=!1,g,D,q;if(Array.isArray(h)){this.length=h.length;for(let de=0;de<this.length;de++)D=h[de],q=this._trackByFn(de,D),a===null||!Object.is(a.trackById,q)?(a=this._mismatch(a,D,q,de),f=!0):(f&&(a=this._verifyReinsertion(a,D,q,de)),Object.is(a.item,D)||this._addIdentityChange(a,D)),a=a._next}else g=0,HAe(h,de=>{q=this._trackByFn(g,de),a===null||!Object.is(a.trackById,q)?(a=this._mismatch(a,de,q,g),f=!0):(f&&(a=this._verifyReinsertion(a,de,q,g)),Object.is(a.item,de)||this._addIdentityChange(a,de)),a=a._next,g++}),this.length=g;return this._truncate(a),this.collection=h,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let h;for(h=this._previousItHead=this._itHead;h!==null;h=h._next)h._nextPrevious=h._next;for(h=this._additionsHead;h!==null;h=h._nextAdded)h.previousIndex=h.currentIndex;for(this._additionsHead=this._additionsTail=null,h=this._movesHead;h!==null;h=h._nextMoved)h.previousIndex=h.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(h,a,f,g){let D;return h===null?D=this._itTail:(D=h._prev,this._remove(h)),h=this._unlinkedRecords===null?null:this._unlinkedRecords.get(f,null),h!==null?(Object.is(h.item,a)||this._addIdentityChange(h,a),this._reinsertAfter(h,D,g)):(h=this._linkedRecords===null?null:this._linkedRecords.get(f,g),h!==null?(Object.is(h.item,a)||this._addIdentityChange(h,a),this._moveAfter(h,D,g)):h=this._addAfter(new soe(a,f),D,g)),h}_verifyReinsertion(h,a,f,g){let D=this._unlinkedRecords===null?null:this._unlinkedRecords.get(f,null);return D!==null?h=this._reinsertAfter(D,h._prev,g):h.currentIndex!=g&&(h.currentIndex=g,this._addToMoves(h,g)),h}_truncate(h){for(;h!==null;){let a=h._next;this._addToRemovals(this._unlink(h)),h=a}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(h,a,f){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(h);let g=h._prevRemoved,D=h._nextRemoved;return g===null?this._removalsHead=D:g._nextRemoved=D,D===null?this._removalsTail=g:D._prevRemoved=g,this._insertAfter(h,a,f),this._addToMoves(h,f),h}_moveAfter(h,a,f){return this._unlink(h),this._insertAfter(h,a,f),this._addToMoves(h,f),h}_addAfter(h,a,f){return this._insertAfter(h,a,f),this._additionsTail===null?this._additionsTail=this._additionsHead=h:this._additionsTail=this._additionsTail._nextAdded=h,h}_insertAfter(h,a,f){let g=a===null?this._itHead:a._next;return h._next=g,h._prev=a,g===null?this._itTail=h:g._prev=h,a===null?this._itHead=h:a._next=h,this._linkedRecords===null&&(this._linkedRecords=new ZX),this._linkedRecords.put(h),h.currentIndex=f,h}_remove(h){return this._addToRemovals(this._unlink(h))}_unlink(h){this._linkedRecords!==null&&this._linkedRecords.remove(h);let a=h._prev,f=h._next;return a===null?this._itHead=f:a._next=f,f===null?this._itTail=a:f._prev=a,h}_addToMoves(h,a){return h.previousIndex===a||(this._movesTail===null?this._movesTail=this._movesHead=h:this._movesTail=this._movesTail._nextMoved=h),h}_addToRemovals(h){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ZX),this._unlinkedRecords.put(h),h.currentIndex=null,h._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=h,h._prevRemoved=null):(h._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=h),h}_addIdentityChange(h,a){return h.item=a,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=h:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=h,h}},soe=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(h,a){this.item=h,this.trackById=a}},roe=class{_head=null;_tail=null;add(h){this._head===null?(this._head=this._tail=h,h._nextDup=null,h._prevDup=null):(this._tail._nextDup=h,h._prevDup=this._tail,h._nextDup=null,this._tail=h)}get(h,a){let f;for(f=this._head;f!==null;f=f._nextDup)if((a===null||a<=f.currentIndex)&&Object.is(f.trackById,h))return f;return null}remove(h){let a=h._prevDup,f=h._nextDup;return a===null?this._head=f:a._nextDup=f,f===null?this._tail=a:f._prevDup=a,this._head===null}},ZX=class{map=new Map;put(h){let a=h.trackById,f=this.map.get(a);f||(f=new roe,this.map.set(a,f)),f.add(h)}get(h,a){let f=h,g=this.map.get(f);return g?g.get(h,a):null}remove(h){let a=h.trackById;return this.map.get(a).remove(h)&&this.map.delete(a),h}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function hde(p,h,a){let f=p.previousIndex;if(f===null)return f;let g=0;return a&&f<a.length&&(g=a[f]),f+h+g}var aoe=class{constructor(){}supports(h){return h instanceof Map||$oe(h)}create(){return new ooe}},ooe=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(h){let a;for(a=this._mapHead;a!==null;a=a._next)h(a)}forEachPreviousItem(h){let a;for(a=this._previousMapHead;a!==null;a=a._nextPrevious)h(a)}forEachChangedItem(h){let a;for(a=this._changesHead;a!==null;a=a._nextChanged)h(a)}forEachAddedItem(h){let a;for(a=this._additionsHead;a!==null;a=a._nextAdded)h(a)}forEachRemovedItem(h){let a;for(a=this._removalsHead;a!==null;a=a._nextRemoved)h(a)}diff(h){if(!h)h=new Map;else if(!(h instanceof Map||$oe(h)))throw new h1(900,!1);return this.check(h)?this:null}onDestroy(){}check(h){this._reset();let a=this._mapHead;if(this._appendAfter=null,this._forEach(h,(f,g)=>{if(a&&a.key===g)this._maybeAddToChanges(a,f),this._appendAfter=a,a=a._next;else{let D=this._getOrCreateRecordForKey(g,f);a=this._insertBeforeOrAppend(a,D)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let f=a;f!==null;f=f._nextRemoved)f===this._mapHead&&(this._mapHead=null),this._records.delete(f.key),f._nextRemoved=f._next,f.previousValue=f.currentValue,f.currentValue=null,f._prev=null,f._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(h,a){if(h){let f=h._prev;return a._next=h,a._prev=f,h._prev=a,f&&(f._next=a),h===this._mapHead&&(this._mapHead=a),this._appendAfter=h,h}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(h,a){if(this._records.has(h)){let g=this._records.get(h);this._maybeAddToChanges(g,a);let D=g._prev,q=g._next;return D&&(D._next=q),q&&(q._prev=D),g._next=null,g._prev=null,g}let f=new loe(h);return this._records.set(h,f),f.currentValue=a,this._addToAdditions(f),f}_reset(){if(this.isDirty){let h;for(this._previousMapHead=this._mapHead,h=this._previousMapHead;h!==null;h=h._next)h._nextPrevious=h._next;for(h=this._changesHead;h!==null;h=h._nextChanged)h.previousValue=h.currentValue;for(h=this._additionsHead;h!=null;h=h._nextAdded)h.previousValue=h.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(h,a){Object.is(a,h.currentValue)||(h.previousValue=h.currentValue,h.currentValue=a,this._addToChanges(h))}_addToAdditions(h){this._additionsHead===null?this._additionsHead=this._additionsTail=h:(this._additionsTail._nextAdded=h,this._additionsTail=h)}_addToChanges(h){this._changesHead===null?this._changesHead=this._changesTail=h:(this._changesTail._nextChanged=h,this._changesTail=h)}_forEach(h,a){h instanceof Map?h.forEach(a):Object.keys(h).forEach(f=>a(h[f],f))}},loe=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(h){this.key=h}};function fde(){return new fB([new noe])}var fB=(()=>{class p{factories;static \u0275prov=ha({token:p,providedIn:"root",factory:fde});constructor(a){this.factories=a}static create(a,f){if(f!=null){let g=f.factories.slice();a=a.concat(g)}return new p(a)}static extend(a){return{provide:p,useFactory:f=>p.create(a,f||fde()),deps:[[p,new $X,new eB]]}}find(a){let f=this.factories.find(g=>g.supports(a));if(f!=null)return f;throw new h1(901,!1)}}return p})();function mde(){return new lle([new aoe])}var lle=(()=>{class p{static \u0275prov=ha({token:p,providedIn:"root",factory:mde});factories;constructor(a){this.factories=a}static create(a,f){if(f){let g=f.factories.slice();a=a.concat(g)}return new p(a)}static extend(a){return{provide:p,useFactory:f=>p.create(a,f||mde()),deps:[[p,new $X,new eB]]}}find(a){let f=this.factories.find(g=>g.supports(a));if(f)return f;throw new h1(901,!1)}}return p})();function nfe(p){_v(8);try{let{rootComponent:h,appProviders:a,platformProviders:f}=p,g=XOe(f),D=[kOe({}),{provide:PR,useExisting:qOe},...a||[]],q=new jX({providers:D,parent:g,debugName:"",runEnvironmentInitializers:!1});return jOe({r3Injector:q.injector,platformInjector:g,rootComponent:h})}catch(h){return Promise.reject(h)}finally{_v(9)}}function Ss(p){return typeof p=="boolean"?p:p!=null&&p!=="false"}function J6(p,h=NaN){return!isNaN(parseFloat(p))&&!isNaN(Number(p))?Number(p):h}function W_(p){let h=mp(null);try{return p()}finally{mp(h)}}function nM(p,h){let a=Hce(p);return h?.equal&&(a[x_].equal=h.equal),a}var coe=class{[x_];constructor(h){this[x_]=h}destroy(){this[x_].destroy()}};function TS(p,h){!h?.injector&&$P(TS);let a=h?.injector??Pi(Ab),f=h?.manualCleanup!==!0?a.get(lC):null,g,D=a.get(xoe,null,{optional:!0}),q=a.get(PR);return D!==null&&!h?.forceRoot?(g=twe(D.view,q,p),f instanceof kX&&f._lView===D.view&&(f=null)):g=nwe(p,a.get(Phe),q),g.injector=a,f!==null&&(g.onDestroyFn=f.onDestroy(()=>g.destroy())),new coe(g)}var ife=Nd(k0({},C9),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:vV,run(){if(this.dirty=!1,this.hasRun&&!LY(this))return;this.hasRun=!0;let p=f=>(this.cleanupFns??=[]).push(f),h=QG(this),a=LX(!1);try{this.maybeCleanup(),this.fn(p)}finally{LX(a),RY(this,h)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),$Oe=Nd(k0({},ife),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ZG(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),ewe=Nd(k0({},ife),{consumerMarkedDirty(){this.view[Ou]|=8192,iB(this.view),this.notifier.notify(13)},destroy(){ZG(this),this.onDestroyFn(),this.maybeCleanup(),this.view[VP]?.delete(this)}});function twe(p,h,a){let f=Object.create(ewe);return f.view=p,f.zone=typeof Zone<"u"?Zone.current:null,f.notifier=h,f.fn=a,p[VP]??=new Set,p[VP].add(f),f.consumerMarkedDirty(f),f}function nwe(p,h,a){let f=Object.create($Oe);return f.fn=p,f.scheduler=h,f.notifier=a,f.zone=typeof Zone<"u"?Zone.current:null,f.scheduler.schedule(f),f.notifier.notify(12),f}function cL(p,h){let a=G9(p),f=h.elementInjector||iQ();return new IV(a).create(f,h.projectableNodes,h.hostElement,h.environmentInjector)}var iwe={schedule(p,h){let a=setTimeout(p,h);return()=>clearTimeout(a)}};function swe(p){return p.replace(/[A-Z]/g,h=>`-${h.toLowerCase()}`)}function rwe(p){return!!p&&p.nodeType===Node.ELEMENT_NODE}var cle;function awe(p,h){if(!cle){let a=Element.prototype;cle=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return p.nodeType===Node.ELEMENT_NODE?cle.call(p,h):!1}function owe(p){let h={};return p.forEach(({propName:a,templateName:f,transform:g})=>{h[swe(f)]=[a,g]}),h}function lwe(p,h){return h.get(uB).resolveComponentFactory(p).inputs}function cwe(p,h){let a=p.childNodes,f=h.map(()=>[]),g=-1;h.some((D,q)=>D==="*"?(g=q,!0):!1);for(let D=0,q=a.length;D<q;++D){let de=a[D],G=uwe(de,h,g);G!==-1&&f[G].push(de)}return f}function uwe(p,h,a){let f=a;return rwe(p)&&h.some((g,D)=>g!=="*"&&awe(p,g)?(f=D,!0):!1),f}var dwe=10,ule=class{componentFactory;inputMap=new Map;constructor(h,a){this.componentFactory=a.get(uB).resolveComponentFactory(h);for(let f of this.componentFactory.inputs)this.inputMap.set(f.propName,f.templateName)}create(h){return new dle(this.componentFactory,h,this.inputMap)}},dle=class{componentFactory;injector;inputMap;eventEmitters=new JR(1);events=this.eventEmitters.pipe($y(h=>T_(...h)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(h,a,f){this.componentFactory=h,this.injector=a,this.inputMap=f,this.ngZone=this.injector.get(Qu),this.appRef=this.injector.get(D_),this.cdScheduler=a.get(PR),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(h){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(h)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=iwe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},dwe))})}getInputValue(h){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(h):this.componentRef.instance[h])}setInputValue(h,a){if(this.componentRef===null){this.initialInputValues.set(h,a);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(h)??h,a),bhe(this.componentRef.hostView)&&(vhe(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(h){let a=Ab.create({providers:[],parent:this.injector}),f=cwe(h,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(a,f,h),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[h,a]of this.initialInputValues)this.setInputValue(h,a);this.initialInputValues.clear()}initializeOutputs(h){let a=this.componentFactory.outputs.map(({propName:f,templateName:g})=>{let D=h.instance[f];return new Pd(q=>{let de=D.subscribe(G=>q.next({name:g,value:G}));return()=>de.unsubscribe()})});this.eventEmitters.next(a)}runInZone(h){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(h):h()}},ple=class extends HTMLElement{ngElementEventsSubscription=null};function Up(p,h){let a=lwe(p,h.injector),f=h.strategyFactory||new ule(p,h.injector),g=owe(a);class D extends ple{injector;static observedAttributes=Object.keys(g);get ngElementStrategy(){if(!this._ngElementStrategy){let de=this._ngElementStrategy=f.create(this.injector||h.injector);a.forEach(({propName:G,transform:ee})=>{if(!this.hasOwnProperty(G))return;let fe=this[G];delete this[G],de.setInputValue(G,fe,ee)})}return this._ngElementStrategy}_ngElementStrategy;constructor(de){super(),this.injector=de}attributeChangedCallback(de,G,ee,fe){let[ye,je]=g[de];this.ngElementStrategy.setInputValue(ye,ee,je)}connectedCallback(){let de=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),de=!0),this.ngElementStrategy.connect(this),de||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(de=>{let G=new CustomEvent(de.name,{detail:de.value});this.dispatchEvent(G)})}}return a.forEach(({propName:q,transform:de})=>{Object.defineProperty(D.prototype,q,{get(){return this.ngElementStrategy.getInputValue(q)},set(G){this.ngElementStrategy.setInputValue(q,G,de)},configurable:!0,enumerable:!0})}),D}var dfe=null;function YR(){return dfe}function pfe(p){dfe??=p}var zQ=class{};var Uf=new Mo(""),hfe=(()=>{class p{historyGo(a){throw new Error("")}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:()=>Pi(pwe),providedIn:"platform"})}return p})();var pwe=(()=>{class p extends hfe{_location;_history;_doc=Pi(Uf);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return YR().getBaseHref(this._doc)}onPopState(a){let f=YR().getGlobalEventTarget(this._doc,"window");return f.addEventListener("popstate",a,!1),()=>f.removeEventListener("popstate",a)}onHashChange(a){let f=YR().getGlobalEventTarget(this._doc,"window");return f.addEventListener("hashchange",a,!1),()=>f.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,f,g){this._history.pushState(a,f,g)}replaceState(a,f,g){this._history.replaceState(a,f,g)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function ffe(p,h){return p?h?p.endsWith("/")?h.startsWith("/")?p+h.slice(1):p+h:h.startsWith("/")?p+h:`${p}/${h}`:p:h}function sfe(p){let h=p.search(/#|\?|$/);return p[h-1]==="/"?p.slice(0,h-1)+p.slice(h):p}function a9(p){return p&&p[0]!=="?"?`?${p}`:p}var Ole=(()=>{class p{historyGo(a){throw new Error("")}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:()=>Pi(hwe),providedIn:"root"})}return p})(),wle=new Mo(""),hwe=(()=>{class p extends Ole{_platformLocation;_baseHref;_removeListenerFns=[];constructor(a,f){super(),this._platformLocation=a,this._baseHref=f??this._platformLocation.getBaseHrefFromDOM()??Pi(Uf).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return ffe(this._baseHref,a)}path(a=!1){let f=this._platformLocation.pathname+a9(this._platformLocation.search),g=this._platformLocation.hash;return g&&a?`${f}${g}`:f}pushState(a,f,g,D){let q=this.prepareExternalUrl(g+a9(D));this._platformLocation.pushState(a,f,q)}replaceState(a,f,g,D){let q=this.prepareExternalUrl(g+a9(D));this._platformLocation.replaceState(a,f,q)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){this._platformLocation.historyGo?.(a)}static \u0275fac=function(f){return new(f||p)(h0(hfe),h0(wle,8))};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var _le=(()=>{class p{_subject=new H0;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(a){this._locationStrategy=a;let f=this._locationStrategy.getBaseHref();this._basePath=bwe(sfe(rfe(f))),this._locationStrategy.onPopState(g=>{this._subject.next({url:this.path(!0),pop:!0,state:g.state,type:g.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(a=!1){return this.normalize(this._locationStrategy.path(a))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(a,f=""){return this.path()==this.normalize(a+a9(f))}normalize(a){return p.stripTrailingSlash(mwe(this._basePath,rfe(a)))}prepareExternalUrl(a){return a&&a[0]!=="/"&&(a="/"+a),this._locationStrategy.prepareExternalUrl(a)}go(a,f="",g=null){this._locationStrategy.pushState(g,"",a,f),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+a9(f)),g)}replaceState(a,f="",g=null){this._locationStrategy.replaceState(g,"",a,f),this._notifyUrlChangeListeners(this.prepareExternalUrl(a+a9(f)),g)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(a=0){this._locationStrategy.historyGo?.(a)}onUrlChange(a){return this._urlChangeListeners.push(a),this._urlChangeSubscription??=this.subscribe(f=>{this._notifyUrlChangeListeners(f.url,f.state)}),()=>{let f=this._urlChangeListeners.indexOf(a);this._urlChangeListeners.splice(f,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(a="",f){this._urlChangeListeners.forEach(g=>g(a,f))}subscribe(a,f,g){return this._subject.subscribe({next:a,error:f??void 0,complete:g??void 0})}static normalizeQueryParams=a9;static joinWithSlash=ffe;static stripTrailingSlash=sfe;static \u0275fac=function(f){return new(f||p)(h0(Ole))};static \u0275prov=ha({token:p,factory:()=>fwe(),providedIn:"root"})}return p})();function fwe(){return new _le(h0(Ole))}function mwe(p,h){if(!p||!h.startsWith(p))return h;let a=h.substring(p.length);return a===""||["/",";","?","#"].includes(a[0])?a:h}function rfe(p){return p.replace(/\/index.html$/,"")}function bwe(p){if(new RegExp("^(https?:)?//").test(p)){let[,a]=p.split(/\/\/[^\/]+/);return a}return p}var mfe=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(mfe||{});var z_=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(z_||{}),i3=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(i3||{}),$6=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}($6||{}),eC={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function vwe(p){return K6(p)[rM.LocaleId]}function gwe(p,h,a){let f=K6(p),g=[f[rM.DayPeriodsFormat],f[rM.DayPeriodsStandalone]],D=dC(g,h);return dC(D,a)}function ywe(p,h,a){let f=K6(p),g=[f[rM.DaysFormat],f[rM.DaysStandalone]],D=dC(g,h);return dC(D,a)}function Mwe(p,h,a){let f=K6(p),g=[f[rM.MonthsFormat],f[rM.MonthsStandalone]],D=dC(g,h);return dC(D,a)}function Iwe(p,h){let f=K6(p)[rM.Eras];return dC(f,h)}function OQ(p,h){let a=K6(p);return dC(a[rM.DateFormat],h)}function wQ(p,h){let a=K6(p);return dC(a[rM.TimeFormat],h)}function _Q(p,h){let f=K6(p)[rM.DateTimeFormat];return dC(f,h)}function VR(p,h){let a=K6(p),f=a[rM.NumberSymbols][h];if(typeof f>"u"){if(h===eC.CurrencyDecimal)return a[rM.NumberSymbols][eC.Decimal];if(h===eC.CurrencyGroup)return a[rM.NumberSymbols][eC.Group]}return f}function Awe(p,h){return K6(p)[rM.NumberFormats][h]}function bfe(p){if(!p[rM.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[rM.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Owe(p){let h=K6(p);return bfe(h),(h[rM.ExtraData][2]||[]).map(f=>typeof f=="string"?hle(f):[hle(f[0]),hle(f[1])])}function wwe(p,h,a){let f=K6(p);bfe(f);let g=[f[rM.ExtraData][0],f[rM.ExtraData][1]],D=dC(g,h)||[];return dC(D,a)||[]}function dC(p,h){for(let a=h;a>-1;a--)if(typeof p[a]<"u")return p[a];throw new Error("Locale data API: locale data undefined")}function hle(p){let[h,a]=p.split(":");return{hours:+h,minutes:+a}}var _we=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,TQ={},Twe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function xQ(p,h,a,f){let g=Nwe(p);h=GR(a,h)||h;let q=[],de;for(;h;)if(de=Twe.exec(h),de){q=q.concat(de.slice(1));let fe=q.pop();if(!fe)break;h=fe}else{q.push(h);break}let G=g.getTimezoneOffset();f&&(G=gfe(f,G),g=xwe(g,f));let ee="";return q.forEach(fe=>{let ye=Rwe(fe);ee+=ye?ye(g,a,G):fe==="''"?"'":fe.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ee}function RQ(p,h,a){let f=new Date(0);return f.setFullYear(p,h,a),f.setHours(0,0,0),f}function GR(p,h){let a=vwe(p);if(TQ[a]??={},TQ[a][h])return TQ[a][h];let f="";switch(h){case"shortDate":f=OQ(p,$6.Short);break;case"mediumDate":f=OQ(p,$6.Medium);break;case"longDate":f=OQ(p,$6.Long);break;case"fullDate":f=OQ(p,$6.Full);break;case"shortTime":f=wQ(p,$6.Short);break;case"mediumTime":f=wQ(p,$6.Medium);break;case"longTime":f=wQ(p,$6.Long);break;case"fullTime":f=wQ(p,$6.Full);break;case"short":let g=GR(p,"shortTime"),D=GR(p,"shortDate");f=EQ(_Q(p,$6.Short),[g,D]);break;case"medium":let q=GR(p,"mediumTime"),de=GR(p,"mediumDate");f=EQ(_Q(p,$6.Medium),[q,de]);break;case"long":let G=GR(p,"longTime"),ee=GR(p,"longDate");f=EQ(_Q(p,$6.Long),[G,ee]);break;case"full":let fe=GR(p,"fullTime"),ye=GR(p,"fullDate");f=EQ(_Q(p,$6.Full),[fe,ye]);break}return f&&(TQ[a][h]=f),f}function EQ(p,h){return h&&(p=p.replace(/\{([^}]+)}/g,function(a,f){return h!=null&&f in h?h[f]:a})),p}function lS(p,h,a="-",f,g){let D="";(p<0||g&&p<=0)&&(g?p=-p+1:(p=-p,D=a));let q=String(p);for(;q.length<h;)q="0"+q;return f&&(q=q.slice(q.length-h)),D+q}function Ewe(p,h){return lS(p,3).substring(0,h)}function SI(p,h,a=0,f=!1,g=!1){return function(D,q){let de=Cwe(p,D);if((a>0||de>-a)&&(de+=a),p===3)de===0&&a===-12&&(de=12);else if(p===6)return Ewe(de,h);let G=VR(q,eC.MinusSign);return lS(de,h,G,f,g)}}function Cwe(p,h){switch(p){case 0:return h.getFullYear();case 1:return h.getMonth();case 2:return h.getDate();case 3:return h.getHours();case 4:return h.getMinutes();case 5:return h.getSeconds();case 6:return h.getMilliseconds();case 7:return h.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}function l3(p,h,a=z_.Format,f=!1){return function(g,D){return Dwe(g,D,p,h,a,f)}}function Dwe(p,h,a,f,g,D){switch(a){case 2:return Mwe(h,g,f)[p.getMonth()];case 1:return ywe(h,g,f)[p.getDay()];case 0:let q=p.getHours(),de=p.getMinutes();if(D){let ee=Owe(h),fe=wwe(h,g,f),ye=ee.findIndex(je=>{if(Array.isArray(je)){let[$e,Dt]=je,gn=q>=$e.hours&&de>=$e.minutes,$n=q<Dt.hours||q===Dt.hours&&de<Dt.minutes;if($e.hours<Dt.hours){if(gn&&$n)return!0}else if(gn||$n)return!0}else if(je.hours===q&&je.minutes===de)return!0;return!1});if(ye!==-1)return fe[ye]}return gwe(h,g,f)[q<12?0:1];case 3:return Iwe(h,f)[p.getFullYear()<=0?0:1];default:let G=a;throw new Error(`unexpected translation type ${G}`)}}function CQ(p){return function(h,a,f){let g=-1*f,D=VR(a,eC.MinusSign),q=g>0?Math.floor(g/60):Math.ceil(g/60);switch(p){case 0:return(g>=0?"+":"")+lS(q,2,D)+lS(Math.abs(g%60),2,D);case 1:return"GMT"+(g>=0?"+":"")+lS(q,1,D);case 2:return"GMT"+(g>=0?"+":"")+lS(q,2,D)+":"+lS(Math.abs(g%60),2,D);case 3:return f===0?"Z":(g>=0?"+":"")+lS(q,2,D)+":"+lS(Math.abs(g%60),2,D);default:throw new Error(`Unknown zone width "${p}"`)}}}var Swe=0,SQ=4;function zwe(p){let h=RQ(p,Swe,1).getDay();return RQ(p,0,1+(h<=SQ?SQ:SQ+7)-h)}function vfe(p){let h=p.getDay(),a=h===0?-3:SQ-h;return RQ(p.getFullYear(),p.getMonth(),p.getDate()+a)}function fle(p,h=!1){return function(a,f){let g;if(h){let D=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,q=a.getDate();g=1+Math.floor((q+D)/7)}else{let D=vfe(a),q=zwe(D.getFullYear()),de=D.getTime()-q.getTime();g=1+Math.round(de/6048e5)}return lS(g,p,VR(f,eC.MinusSign))}}function DQ(p,h=!1){return function(a,f){let D=vfe(a).getFullYear();return lS(D,p,VR(f,eC.MinusSign),h)}}var mle={};function Rwe(p){if(mle[p])return mle[p];let h;switch(p){case"G":case"GG":case"GGG":h=l3(3,i3.Abbreviated);break;case"GGGG":h=l3(3,i3.Wide);break;case"GGGGG":h=l3(3,i3.Narrow);break;case"y":h=SI(0,1,0,!1,!0);break;case"yy":h=SI(0,2,0,!0,!0);break;case"yyy":h=SI(0,3,0,!1,!0);break;case"yyyy":h=SI(0,4,0,!1,!0);break;case"Y":h=DQ(1);break;case"YY":h=DQ(2,!0);break;case"YYY":h=DQ(3);break;case"YYYY":h=DQ(4);break;case"M":case"L":h=SI(1,1,1);break;case"MM":case"LL":h=SI(1,2,1);break;case"MMM":h=l3(2,i3.Abbreviated);break;case"MMMM":h=l3(2,i3.Wide);break;case"MMMMM":h=l3(2,i3.Narrow);break;case"LLL":h=l3(2,i3.Abbreviated,z_.Standalone);break;case"LLLL":h=l3(2,i3.Wide,z_.Standalone);break;case"LLLLL":h=l3(2,i3.Narrow,z_.Standalone);break;case"w":h=fle(1);break;case"ww":h=fle(2);break;case"W":h=fle(1,!0);break;case"d":h=SI(2,1);break;case"dd":h=SI(2,2);break;case"c":case"cc":h=SI(7,1);break;case"ccc":h=l3(1,i3.Abbreviated,z_.Standalone);break;case"cccc":h=l3(1,i3.Wide,z_.Standalone);break;case"ccccc":h=l3(1,i3.Narrow,z_.Standalone);break;case"cccccc":h=l3(1,i3.Short,z_.Standalone);break;case"E":case"EE":case"EEE":h=l3(1,i3.Abbreviated);break;case"EEEE":h=l3(1,i3.Wide);break;case"EEEEE":h=l3(1,i3.Narrow);break;case"EEEEEE":h=l3(1,i3.Short);break;case"a":case"aa":case"aaa":h=l3(0,i3.Abbreviated);break;case"aaaa":h=l3(0,i3.Wide);break;case"aaaaa":h=l3(0,i3.Narrow);break;case"b":case"bb":case"bbb":h=l3(0,i3.Abbreviated,z_.Standalone,!0);break;case"bbbb":h=l3(0,i3.Wide,z_.Standalone,!0);break;case"bbbbb":h=l3(0,i3.Narrow,z_.Standalone,!0);break;case"B":case"BB":case"BBB":h=l3(0,i3.Abbreviated,z_.Format,!0);break;case"BBBB":h=l3(0,i3.Wide,z_.Format,!0);break;case"BBBBB":h=l3(0,i3.Narrow,z_.Format,!0);break;case"h":h=SI(3,1,-12);break;case"hh":h=SI(3,2,-12);break;case"H":h=SI(3,1);break;case"HH":h=SI(3,2);break;case"m":h=SI(4,1);break;case"mm":h=SI(4,2);break;case"s":h=SI(5,1);break;case"ss":h=SI(5,2);break;case"S":h=SI(6,1);break;case"SS":h=SI(6,2);break;case"SSS":h=SI(6,3);break;case"Z":case"ZZ":case"ZZZ":h=CQ(0);break;case"ZZZZZ":h=CQ(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":h=CQ(1);break;case"OOOO":case"ZZZZ":case"zzzz":h=CQ(2);break;default:return null}return mle[p]=h,h}function gfe(p,h){p=p.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(a)?h:a}function Lwe(p,h){return p=new Date(p.getTime()),p.setMinutes(p.getMinutes()+h),p}function xwe(p,h,a){let g=p.getTimezoneOffset(),D=gfe(h,g);return Lwe(p,-1*(D-g))}function Nwe(p){if(afe(p))return p;if(typeof p=="number"&&!isNaN(p))return new Date(p);if(typeof p=="string"){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){let[g,D=1,q=1]=p.split("-").map(de=>+de);return RQ(g,D-1,q)}let a=parseFloat(p);if(!isNaN(p-a))return new Date(a);let f;if(f=p.match(_we))return Pwe(f)}let h=new Date(p);if(!afe(h))throw new Error(`Unable to convert "${p}" into a date`);return h}function Pwe(p){let h=new Date(0),a=0,f=0,g=p[8]?h.setUTCFullYear:h.setFullYear,D=p[8]?h.setUTCHours:h.setHours;p[9]&&(a=Number(p[9]+p[10]),f=Number(p[9]+p[11])),g.call(h,Number(p[1]),Number(p[2])-1,Number(p[3]));let q=Number(p[4]||0)-a,de=Number(p[5]||0)-f,G=Number(p[6]||0),ee=Math.floor(parseFloat("0."+(p[7]||0))*1e3);return D.call(h,q,de,G,ee),h}function afe(p){return p instanceof Date&&!isNaN(p.valueOf())}var Bwe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ofe=22,LQ=".",BV="0",kwe=";",Hwe=",",ble="#";function Fwe(p,h,a,f,g,D,q=!1){let de="",G=!1;if(!isFinite(p))de=VR(a,eC.Infinity);else{let ee=jwe(p);q&&(ee=Uwe(ee));let fe=h.minInt,ye=h.minFrac,je=h.maxFrac;if(D){let os=D.match(Bwe);if(os===null)throw new Error(`${D} is not a valid digit info`);let Er=os[1],Ns=os[3],ya=os[5];Er!=null&&(fe=vle(Er)),Ns!=null&&(ye=vle(Ns)),ya!=null?je=vle(ya):Ns!=null&&ye>je&&(je=ye)}Gwe(ee,ye,je);let $e=ee.digits,Dt=ee.integerLen,gn=ee.exponent,$n=[];for(G=$e.every(os=>!os);Dt<fe;Dt++)$e.unshift(0);for(;Dt<0;Dt++)$e.unshift(0);Dt>0?$n=$e.splice(Dt,$e.length):($n=$e,$e=[0]);let Ri=[];for($e.length>=h.lgSize&&Ri.unshift($e.splice(-h.lgSize,$e.length).join(""));$e.length>h.gSize;)Ri.unshift($e.splice(-h.gSize,$e.length).join(""));$e.length&&Ri.unshift($e.join("")),de=Ri.join(VR(a,f)),$n.length&&(de+=VR(a,g)+$n.join("")),gn&&(de+=VR(a,eC.Exponential)+"+"+gn)}return p<0&&!G?de=h.negPre+de+h.negSuf:de=h.posPre+de+h.posSuf,de}function qwe(p,h,a){let f=Awe(h,mfe.Decimal),g=Wwe(f,VR(h,eC.MinusSign));return Fwe(p,g,h,eC.Group,eC.Decimal,a)}function Wwe(p,h="-"){let a={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},f=p.split(kwe),g=f[0],D=f[1],q=g.indexOf(LQ)!==-1?g.split(LQ):[g.substring(0,g.lastIndexOf(BV)+1),g.substring(g.lastIndexOf(BV)+1)],de=q[0],G=q[1]||"";a.posPre=de.substring(0,de.indexOf(ble));for(let fe=0;fe<G.length;fe++){let ye=G.charAt(fe);ye===BV?a.minFrac=a.maxFrac=fe+1:ye===ble?a.maxFrac=fe+1:a.posSuf+=ye}let ee=de.split(Hwe);if(a.gSize=ee[1]?ee[1].length:0,a.lgSize=ee[2]||ee[1]?(ee[2]||ee[1]).length:0,D){let fe=g.length-a.posPre.length-a.posSuf.length,ye=D.indexOf(ble);a.negPre=D.substring(0,ye).replace(/'/g,""),a.negSuf=D.slice(ye+fe).replace(/'/g,"")}else a.negPre=h+a.posPre,a.negSuf=a.posSuf;return a}function Uwe(p){if(p.digits[0]===0)return p;let h=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(h===0?p.digits.push(0,0):h===1&&p.digits.push(0),p.integerLen+=2),p}function jwe(p){let h=Math.abs(p)+"",a=0,f,g,D,q,de;for((g=h.indexOf(LQ))>-1&&(h=h.replace(LQ,"")),(D=h.search(/e/i))>0?(g<0&&(g=D),g+=+h.slice(D+1),h=h.substring(0,D)):g<0&&(g=h.length),D=0;h.charAt(D)===BV;D++);if(D===(de=h.length))f=[0],g=1;else{for(de--;h.charAt(de)===BV;)de--;for(g-=D,f=[],q=0;D<=de;D++,q++)f[q]=Number(h.charAt(D))}return g>ofe&&(f=f.splice(0,ofe-1),a=g-1,g=1),{digits:f,exponent:a,integerLen:g}}function Gwe(p,h,a){if(h>a)throw new Error(`The minimum number of digits after fraction (${h}) is higher than the maximum (${a}).`);let f=p.digits,g=f.length-p.integerLen,D=Math.min(Math.max(h,g),a),q=D+p.integerLen,de=f[q];if(q>0){f.splice(Math.max(p.integerLen,q));for(let ye=q;ye<f.length;ye++)f[ye]=0}else{g=Math.max(0,g),p.integerLen=1,f.length=Math.max(1,q=D+1),f[0]=0;for(let ye=1;ye<q;ye++)f[ye]=0}if(de>=5)if(q-1<0){for(let ye=0;ye>q;ye--)f.unshift(0),p.integerLen++;f.unshift(1),p.integerLen++}else f[q-1]++;for(;g<Math.max(0,D);g++)f.push(0);let G=D!==0,ee=h+p.integerLen,fe=f.reduceRight(function(ye,je,$e,Dt){return je=je+ye,Dt[$e]=je<10?je:je-10,G&&(Dt[$e]===0&&$e>=ee?Dt.pop():G=!1),je>=10?1:0},0);fe&&(f.unshift(fe),p.integerLen++)}function vle(p){let h=parseInt(p);if(isNaN(h))throw new Error("Invalid integer literal when parsing "+p);return h}function NQ(p,h){h=encodeURIComponent(h);for(let a of p.split(";")){let f=a.indexOf("="),[g,D]=f==-1?[a,""]:[a.slice(0,f),a.slice(f+1)];if(g.trim()===h)return decodeURIComponent(D)}return null}var gle=/\s+/,lfe=[],f1=(()=>{class p{_ngEl;_renderer;initialClasses=lfe;rawClass;stateMap=new Map;constructor(a,f){this._ngEl=a,this._renderer=f}set klass(a){this.initialClasses=a!=null?a.trim().split(gle):lfe}set ngClass(a){this.rawClass=typeof a=="string"?a.trim().split(gle):a}ngDoCheck(){for(let f of this.initialClasses)this._updateState(f,!0);let a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(let f of a)this._updateState(f,!0);else if(a!=null)for(let f of Object.keys(a))this._updateState(f,!!a[f]);this._applyStateDiff()}_updateState(a,f){let g=this.stateMap.get(a);g!==void 0?(g.enabled!==f&&(g.changed=!0,g.enabled=f),g.touched=!0):this.stateMap.set(a,{enabled:f,changed:!0,touched:!0})}_applyStateDiff(){for(let a of this.stateMap){let f=a[0],g=a[1];g.changed?(this._toggleClass(f,g.enabled),g.changed=!1):g.touched||(g.enabled&&this._toggleClass(f,!1),this.stateMap.delete(f)),g.touched=!1}}_toggleClass(a,f){a=a.trim(),a.length>0&&a.split(gle).forEach(g=>{f?this._renderer.addClass(this._ngEl.nativeElement,g):this._renderer.removeClass(this._ngEl.nativeElement,g)})}static \u0275fac=function(f){return new(f||p)(ls(Cl),ls(CI))};static \u0275dir=Dl({type:p,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return p})();var yle=class{$implicit;ngForOf;index;count;constructor(h,a,f,g){this.$implicit=h,this.ngForOf=a,this.index=f,this.count=g}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Kf=(()=>{class p{_viewContainer;_template;_differs;set ngForOf(a){this._ngForOf=a,this._ngForOfDirty=!0}set ngForTrackBy(a){this._trackByFn=a}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(a,f,g){this._viewContainer=a,this._template=f,this._differs=g}set ngForTemplate(a){a&&(this._template=a)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let a=this._ngForOf;!this._differ&&a&&(this._differ=this._differs.find(a).create(this.ngForTrackBy))}if(this._differ){let a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}_applyChanges(a){let f=this._viewContainer;a.forEachOperation((g,D,q)=>{if(g.previousIndex==null)f.createEmbeddedView(this._template,new yle(g.item,this._ngForOf,-1,-1),q===null?void 0:q);else if(q==null)f.remove(D===null?void 0:D);else if(D!==null){let de=f.get(D);f.move(de,q),cfe(de,g)}});for(let g=0,D=f.length;g<D;g++){let de=f.get(g).context;de.index=g,de.count=D,de.ngForOf=this._ngForOf}a.forEachIdentityChange(g=>{let D=f.get(g.currentIndex);cfe(D,g)})}static ngTemplateContextGuard(a,f){return!0}static \u0275fac=function(f){return new(f||p)(ls(zw),ls(up),ls(fB))};static \u0275dir=Dl({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return p})();function cfe(p,h){p.context.$implicit=h.item}var aM=(()=>{class p{_viewContainer;_context=new Mle;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(a,f){this._viewContainer=a,this._thenTemplateRef=f}set ngIf(a){this._context.$implicit=this._context.ngIf=a,this._updateView()}set ngIfThen(a){ufe(a,!1),this._thenTemplateRef=a,this._thenViewRef=null,this._updateView()}set ngIfElse(a){ufe(a,!1),this._elseTemplateRef=a,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(a,f){return!0}static \u0275fac=function(f){return new(f||p)(ls(zw),ls(up))};static \u0275dir=Dl({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return p})(),Mle=class{$implicit=null;ngIf=null};function ufe(p,h){if(p&&!p.createEmbeddedView)throw new h1(2020,!1)}var bB=(()=>{class p{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(a,f,g){this._ngEl=a,this._differs=f,this._renderer=g}set ngStyle(a){this._ngStyle=a,!this._differ&&a&&(this._differ=this._differs.find(a).create())}ngDoCheck(){if(this._differ){let a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}}_setStyle(a,f){let[g,D]=a.split("."),q=g.indexOf("-")===-1?void 0:AS.DashCase;f!=null?this._renderer.setStyle(this._ngEl.nativeElement,g,D?`${f}${D}`:f,q):this._renderer.removeStyle(this._ngEl.nativeElement,g,q)}_applyChanges(a){a.forEachRemovedItem(f=>this._setStyle(f.key,null)),a.forEachAddedItem(f=>this._setStyle(f.key,f.currentValue)),a.forEachChangedItem(f=>this._setStyle(f.key,f.currentValue))}static \u0275fac=function(f){return new(f||p)(ls(Cl),ls(lle),ls(CI))};static \u0275dir=Dl({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return p})(),tC=(()=>{class p{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(a){this._viewContainerRef=a}ngOnChanges(a){if(this._shouldRecreateView(a)){let f=this._viewContainerRef;if(this._viewRef&&f.remove(f.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let g=this._createContextForwardProxy();this._viewRef=f.createEmbeddedView(this.ngTemplateOutlet,g,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(a,f,g)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,f,g):!1,get:(a,f,g)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,f,g)}})}static \u0275fac=function(f){return new(f||p)(ls(zw))};static \u0275dir=Dl({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gd]})}return p})();function Tle(p,h){return new h1(2100,!1)}var Ile=class{createSubscription(h,a){return W_(()=>h.subscribe({next:a,error:f=>{throw f}}))}dispose(h){W_(()=>h.unsubscribe())}},Ale=class{createSubscription(h,a){return h.then(a,f=>{throw f})}dispose(h){}},Vwe=new Ale,Ywe=new Ile,PQ=(()=>{class p{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(a){this._ref=a}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(a){if(!this._obj){if(a)try{this.markForCheckOnValueUpdate=!1,this._subscribe(a)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue}_subscribe(a){this._obj=a,this._strategy=this._selectStrategy(a),this._subscription=this._strategy.createSubscription(a,f=>this._updateLatestValue(a,f))}_selectStrategy(a){if(pB(a))return Vwe;if(ele(a))return Ywe;throw Tle(p,a)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(a,f){a===this._obj&&(this._latestValue=f,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(f){return new(f||p)(ls(Zf,16))};static \u0275pipe=DI({name:"async",type:p,pure:!1})}return p})();var Xwe="mediumDate",Qwe=new Mo(""),Zwe=new Mo(""),BQ=(()=>{class p{locale;defaultTimezone;defaultOptions;constructor(a,f,g){this.locale=a,this.defaultTimezone=f,this.defaultOptions=g}transform(a,f,g,D){if(a==null||a===""||a!==a)return null;try{let q=f??this.defaultOptions?.dateFormat??Xwe,de=g??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return xQ(a,q,D||this.locale,de)}catch(q){throw Tle(p,q.message)}}static \u0275fac=function(f){return new(f||p)(ls(r9,16),ls(Qwe,24),ls(Zwe,24))};static \u0275pipe=DI({name:"date",type:p,pure:!0})}return p})();var kQ=(()=>{class p{_locale;constructor(a){this._locale=a}transform(a,f,g){if(!Kwe(a))return null;g||=this._locale;try{let D=Jwe(a);return qwe(D,g,f)}catch(D){throw Tle(p,D.message)}}static \u0275fac=function(f){return new(f||p)(ls(r9,16))};static \u0275pipe=DI({name:"number",type:p,pure:!0})}return p})();function Kwe(p){return!(p==null||p===""||p!==p)}function Jwe(p){if(typeof p=="string"&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if(typeof p!="number")throw new Error(`${p} is not a number`);return p}var Lo=(()=>{class p{static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({})}return p})(),Ele="browser",$we="server";function yfe(p){return p===Ele}function Cle(p){return p===$we}var mB=class{};var HV=class{},FQ=class{},o9=class p{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(h){h?typeof h=="string"?this.lazyInit=()=>{this.headers=new Map,h.split(`
11650
- `).forEach(a=>{let f=a.indexOf(":");if(f>0){let g=a.slice(0,f),D=a.slice(f+1).trim();this.addHeaderEntry(g,D)}})}:typeof Headers<"u"&&h instanceof Headers?(this.headers=new Map,h.forEach((a,f)=>{this.addHeaderEntry(f,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(h).forEach(([a,f])=>{this.setHeaderEntries(a,f)})}:this.headers=new Map}has(h){return this.init(),this.headers.has(h.toLowerCase())}get(h){this.init();let a=this.headers.get(h.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(h){return this.init(),this.headers.get(h.toLowerCase())||null}append(h,a){return this.clone({name:h,value:a,op:"a"})}set(h,a){return this.clone({name:h,value:a,op:"s"})}delete(h,a){return this.clone({name:h,value:a,op:"d"})}maybeSetNormalizedName(h,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,h)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(h=>this.applyUpdate(h)),this.lazyUpdate=null))}copyFrom(h){h.init(),Array.from(h.headers.keys()).forEach(a=>{this.headers.set(a,h.headers.get(a)),this.normalizedNames.set(a,h.normalizedNames.get(a))})}clone(h){let a=new p;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([h]),a}applyUpdate(h){let a=h.name.toLowerCase();switch(h.op){case"a":case"s":let f=h.value;if(typeof f=="string"&&(f=[f]),f.length===0)return;this.maybeSetNormalizedName(h.name,a);let g=(h.op==="a"?this.headers.get(a):void 0)||[];g.push(...f),this.headers.set(a,g);break;case"d":let D=h.value;if(!D)this.headers.delete(a),this.normalizedNames.delete(a);else{let q=this.headers.get(a);if(!q)return;q=q.filter(de=>D.indexOf(de)===-1),q.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,q)}break}}addHeaderEntry(h,a){let f=h.toLowerCase();this.maybeSetNormalizedName(h,f),this.headers.has(f)?this.headers.get(f).push(a):this.headers.set(f,[a])}setHeaderEntries(h,a){let f=(Array.isArray(a)?a:[a]).map(D=>D.toString()),g=h.toLowerCase();this.headers.set(g,f),this.maybeSetNormalizedName(h,g)}forEach(h){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>h(this.normalizedNames.get(a),this.headers.get(a)))}};var Sle=class{encodeKey(h){return Mfe(h)}encodeValue(h){return Mfe(h)}decodeKey(h){return decodeURIComponent(h)}decodeValue(h){return decodeURIComponent(h)}};function e5e(p,h){let a=new Map;return p.length>0&&p.replace(/^\?/,"").split("&").forEach(g=>{let D=g.indexOf("="),[q,de]=D==-1?[h.decodeKey(g),""]:[h.decodeKey(g.slice(0,D)),h.decodeValue(g.slice(D+1))],G=a.get(q)||[];G.push(de),a.set(q,G)}),a}var t5e=/%(\d[a-f0-9])/gi,n5e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mfe(p){return encodeURIComponent(p).replace(t5e,(h,a)=>n5e[a]??h)}function HQ(p){return`${p}`}var uL=class p{map;encoder;updates=null;cloneFrom=null;constructor(h={}){if(this.encoder=h.encoder||new Sle,h.fromString){if(h.fromObject)throw new h1(2805,!1);this.map=e5e(h.fromString,this.encoder)}else h.fromObject?(this.map=new Map,Object.keys(h.fromObject).forEach(a=>{let f=h.fromObject[a],g=Array.isArray(f)?f.map(HQ):[HQ(f)];this.map.set(a,g)})):this.map=null}has(h){return this.init(),this.map.has(h)}get(h){this.init();let a=this.map.get(h);return a?a[0]:null}getAll(h){return this.init(),this.map.get(h)||null}keys(){return this.init(),Array.from(this.map.keys())}append(h,a){return this.clone({param:h,value:a,op:"a"})}appendAll(h){let a=[];return Object.keys(h).forEach(f=>{let g=h[f];Array.isArray(g)?g.forEach(D=>{a.push({param:f,value:D,op:"a"})}):a.push({param:f,value:g,op:"a"})}),this.clone(a)}set(h,a){return this.clone({param:h,value:a,op:"s"})}delete(h,a){return this.clone({param:h,value:a,op:"d"})}toString(){return this.init(),this.keys().map(h=>{let a=this.encoder.encodeKey(h);return this.map.get(h).map(f=>a+"="+this.encoder.encodeValue(f)).join("&")}).filter(h=>h!=="").join("&")}clone(h){let a=new p({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(h),a}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(h=>this.map.set(h,this.cloneFrom.map.get(h))),this.updates.forEach(h=>{switch(h.op){case"a":case"s":let a=(h.op==="a"?this.map.get(h.param):void 0)||[];a.push(HQ(h.value)),this.map.set(h.param,a);break;case"d":if(h.value!==void 0){let f=this.map.get(h.param)||[],g=f.indexOf(HQ(h.value));g!==-1&&f.splice(g,1),f.length>0?this.map.set(h.param,f):this.map.delete(h.param)}else{this.map.delete(h.param);break}}}),this.cloneFrom=this.updates=null)}};var zle=class{map=new Map;set(h,a){return this.map.set(h,a),this}get(h){return this.map.has(h)||this.map.set(h,h.defaultValue()),this.map.get(h)}delete(h){return this.map.delete(h),this}has(h){return this.map.has(h)}keys(){return this.map.keys()}};function i5e(p){switch(p){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ife(p){return typeof ArrayBuffer<"u"&&p instanceof ArrayBuffer}function Afe(p){return typeof Blob<"u"&&p instanceof Blob}function Ofe(p){return typeof FormData<"u"&&p instanceof FormData}function s5e(p){return typeof URLSearchParams<"u"&&p instanceof URLSearchParams}var wfe="Content-Type",_fe="Accept",Cfe="X-Request-URL",Dfe="text/plain",Sfe="application/json",r5e=`${Sfe}, ${Dfe}, */*`,kV=class p{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(h,a,f,g){this.url=a,this.method=h.toUpperCase();let D;if(i5e(this.method)||g?(this.body=f!==void 0?f:null,D=g):D=f,D&&(this.reportProgress=!!D.reportProgress,this.withCredentials=!!D.withCredentials,D.responseType&&(this.responseType=D.responseType),D.headers&&(this.headers=D.headers),D.context&&(this.context=D.context),D.params&&(this.params=D.params),this.transferCache=D.transferCache),this.headers??=new o9,this.context??=new zle,!this.params)this.params=new uL,this.urlWithParams=a;else{let q=this.params.toString();if(q.length===0)this.urlWithParams=a;else{let de=a.indexOf("?"),G=de===-1?"?":de<a.length-1?"&":"";this.urlWithParams=a+G+q}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ife(this.body)||Afe(this.body)||Ofe(this.body)||s5e(this.body)?this.body:this.body instanceof uL?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||Ofe(this.body)?null:Afe(this.body)?this.body.type||null:Ife(this.body)?null:typeof this.body=="string"?Dfe:this.body instanceof uL?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Sfe:null}clone(h={}){let a=h.method||this.method,f=h.url||this.url,g=h.responseType||this.responseType,D=h.transferCache??this.transferCache,q=h.body!==void 0?h.body:this.body,de=h.withCredentials??this.withCredentials,G=h.reportProgress??this.reportProgress,ee=h.headers||this.headers,fe=h.params||this.params,ye=h.context??this.context;return h.setHeaders!==void 0&&(ee=Object.keys(h.setHeaders).reduce((je,$e)=>je.set($e,h.setHeaders[$e]),ee)),h.setParams&&(fe=Object.keys(h.setParams).reduce((je,$e)=>je.set($e,h.setParams[$e]),fe)),new p(a,f,q,{params:fe,headers:ee,context:ye,reportProgress:G,responseType:g,withCredentials:de,transferCache:D})}},vB=function(p){return p[p.Sent=0]="Sent",p[p.UploadProgress=1]="UploadProgress",p[p.ResponseHeader=2]="ResponseHeader",p[p.DownloadProgress=3]="DownloadProgress",p[p.Response=4]="Response",p[p.User=5]="User",p}(vB||{}),FV=class{headers;status;statusText;url;ok;type;constructor(h,a=200,f="OK"){this.headers=h.headers||new o9,this.status=h.status!==void 0?h.status:a,this.statusText=h.statusText||f,this.url=h.url||null,this.ok=this.status>=200&&this.status<300}},Rle=class p extends FV{constructor(h={}){super(h)}type=vB.ResponseHeader;clone(h={}){return new p({headers:h.headers||this.headers,status:h.status!==void 0?h.status:this.status,statusText:h.statusText||this.statusText,url:h.url||this.url||void 0})}},qQ=class p extends FV{body;constructor(h={}){super(h),this.body=h.body!==void 0?h.body:null}type=vB.Response;clone(h={}){return new p({body:h.body!==void 0?h.body:this.body,headers:h.headers||this.headers,status:h.status!==void 0?h.status:this.status,statusText:h.statusText||this.statusText,url:h.url||this.url||void 0})}},WQ=class extends FV{name="HttpErrorResponse";message;error;ok=!1;constructor(h){super(h,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${h.url||"(unknown url)"}`:this.message=`Http failure response for ${h.url||"(unknown url)"}: ${h.status} ${h.statusText}`,this.error=h.error||null}},a5e=200,o5e=204;function Dle(p,h){return{body:h,headers:p.headers,context:p.context,observe:p.observe,params:p.params,reportProgress:p.reportProgress,responseType:p.responseType,withCredentials:p.withCredentials,transferCache:p.transferCache}}var qV=(()=>{class p{handler;constructor(a){this.handler=a}request(a,f,g={}){let D;if(a instanceof kV)D=a;else{let G;g.headers instanceof o9?G=g.headers:G=new o9(g.headers);let ee;g.params&&(g.params instanceof uL?ee=g.params:ee=new uL({fromObject:g.params})),D=new kV(a,f,g.body!==void 0?g.body:null,{headers:G,context:g.context,params:ee,reportProgress:g.reportProgress,responseType:g.responseType||"json",withCredentials:g.withCredentials,transferCache:g.transferCache})}let q=Bd(D).pipe(E_(G=>this.handler.handle(G)));if(a instanceof kV||g.observe==="events")return q;let de=q.pipe(TA(G=>G instanceof qQ));switch(g.observe||"body"){case"body":switch(D.responseType){case"arraybuffer":return de.pipe(Xu(G=>{if(G.body!==null&&!(G.body instanceof ArrayBuffer))throw new h1(2806,!1);return G.body}));case"blob":return de.pipe(Xu(G=>{if(G.body!==null&&!(G.body instanceof Blob))throw new h1(2807,!1);return G.body}));case"text":return de.pipe(Xu(G=>{if(G.body!==null&&typeof G.body!="string")throw new h1(2808,!1);return G.body}));case"json":default:return de.pipe(Xu(G=>G.body))}case"response":return de;default:throw new h1(2809,!1)}}delete(a,f={}){return this.request("DELETE",a,f)}get(a,f={}){return this.request("GET",a,f)}head(a,f={}){return this.request("HEAD",a,f)}jsonp(a,f){return this.request("JSONP",a,{params:new uL().append(f,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(a,f={}){return this.request("OPTIONS",a,f)}patch(a,f,g={}){return this.request("PATCH",a,Dle(g,f))}post(a,f,g={}){return this.request("POST",a,Dle(g,f))}put(a,f,g={}){return this.request("PUT",a,Dle(g,f))}static \u0275fac=function(f){return new(f||p)(h0(HV))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();var l5e=new Mo("");function c5e(p,h){return h(p)}function u5e(p,h,a){return(f,g)=>sQ(a,()=>h(f,D=>p(D,g)))}var zfe=new Mo(""),d5e=new Mo(""),p5e=new Mo("",{providedIn:"root",factory:()=>!0});var Tfe=(()=>{class p extends HV{backend;injector;chain=null;pendingTasks=Pi(rB);contributeToStability=Pi(p5e);constructor(a,f){super(),this.backend=a,this.injector=f}handle(a){if(this.chain===null){let f=Array.from(new Set([...this.injector.get(zfe),...this.injector.get(d5e,[])]));this.chain=f.reduceRight((g,D)=>u5e(g,D,this.injector),c5e)}if(this.contributeToStability){let f=this.pendingTasks.add();return this.chain(a,g=>this.backend.handle(g)).pipe(qre(()=>this.pendingTasks.remove(f)))}else return this.chain(a,f=>this.backend.handle(f))}static \u0275fac=function(f){return new(f||p)(h0(FQ),h0(EA))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();var h5e=/^\)\]\}',?\n/,f5e=RegExp(`^${Cfe}:`,"m");function m5e(p){return"responseURL"in p&&p.responseURL?p.responseURL:f5e.test(p.getAllResponseHeaders())?p.getResponseHeader(Cfe):null}var Efe=(()=>{class p{xhrFactory;constructor(a){this.xhrFactory=a}handle(a){if(a.method==="JSONP")throw new h1(-2800,!1);let f=this.xhrFactory;return(f.\u0275loadImpl?Yu(f.\u0275loadImpl()):Bd(null)).pipe($y(()=>new Pd(D=>{let q=f.build();if(q.open(a.method,a.urlWithParams),a.withCredentials&&(q.withCredentials=!0),a.headers.forEach((gn,$n)=>q.setRequestHeader(gn,$n.join(","))),a.headers.has(_fe)||q.setRequestHeader(_fe,r5e),!a.headers.has(wfe)){let gn=a.detectContentTypeHeader();gn!==null&&q.setRequestHeader(wfe,gn)}if(a.responseType){let gn=a.responseType.toLowerCase();q.responseType=gn!=="json"?gn:"text"}let de=a.serializeBody(),G=null,ee=()=>{if(G!==null)return G;let gn=q.statusText||"OK",$n=new o9(q.getAllResponseHeaders()),Ri=m5e(q)||a.url;return G=new Rle({headers:$n,status:q.status,statusText:gn,url:Ri}),G},fe=()=>{let{headers:gn,status:$n,statusText:Ri,url:os}=ee(),Er=null;$n!==o5e&&(Er=typeof q.response>"u"?q.responseText:q.response),$n===0&&($n=Er?a5e:0);let Ns=$n>=200&&$n<300;if(a.responseType==="json"&&typeof Er=="string"){let ya=Er;Er=Er.replace(h5e,"");try{Er=Er!==""?JSON.parse(Er):null}catch(Fi){Er=ya,Ns&&(Ns=!1,Er={error:Fi,text:Er})}}Ns?(D.next(new qQ({body:Er,headers:gn,status:$n,statusText:Ri,url:os||void 0})),D.complete()):D.error(new WQ({error:Er,headers:gn,status:$n,statusText:Ri,url:os||void 0}))},ye=gn=>{let{url:$n}=ee(),Ri=new WQ({error:gn,status:q.status||0,statusText:q.statusText||"Unknown Error",url:$n||void 0});D.error(Ri)},je=!1,$e=gn=>{je||(D.next(ee()),je=!0);let $n={type:vB.DownloadProgress,loaded:gn.loaded};gn.lengthComputable&&($n.total=gn.total),a.responseType==="text"&&q.responseText&&($n.partialText=q.responseText),D.next($n)},Dt=gn=>{let $n={type:vB.UploadProgress,loaded:gn.loaded};gn.lengthComputable&&($n.total=gn.total),D.next($n)};return q.addEventListener("load",fe),q.addEventListener("error",ye),q.addEventListener("timeout",ye),q.addEventListener("abort",ye),a.reportProgress&&(q.addEventListener("progress",$e),de!==null&&q.upload&&q.upload.addEventListener("progress",Dt)),q.send(de),D.next({type:vB.Sent}),()=>{q.removeEventListener("error",ye),q.removeEventListener("abort",ye),q.removeEventListener("load",fe),q.removeEventListener("timeout",ye),a.reportProgress&&(q.removeEventListener("progress",$e),de!==null&&q.upload&&q.upload.removeEventListener("progress",Dt)),q.readyState!==q.DONE&&q.abort()}})))}static \u0275fac=function(f){return new(f||p)(h0(mB))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Rfe=new Mo(""),b5e="XSRF-TOKEN",v5e=new Mo("",{providedIn:"root",factory:()=>b5e}),g5e="X-XSRF-TOKEN",y5e=new Mo("",{providedIn:"root",factory:()=>g5e}),UQ=class{},M5e=(()=>{class p{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(a,f,g){this.doc=a,this.platform=f,this.cookieName=g}getToken(){if(this.platform==="server")return null;let a=this.doc.cookie||"";return a!==this.lastCookieString&&(this.parseCount++,this.lastToken=NQ(a,this.cookieName),this.lastCookieString=a),this.lastToken}static \u0275fac=function(f){return new(f||p)(h0(Uf),h0(HR),h0(v5e))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();function I5e(p,h){let a=p.url.toLowerCase();if(!Pi(Rfe)||p.method==="GET"||p.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return h(p);let f=Pi(UQ).getToken(),g=Pi(y5e);return f!=null&&!p.headers.has(g)&&(p=p.clone({headers:p.headers.set(g,f)})),h(p)}function Lfe(...p){let h=[qV,Efe,Tfe,{provide:HV,useExisting:Tfe},{provide:FQ,useFactory:()=>Pi(l5e,{optional:!0})??Pi(Efe)},{provide:zfe,useValue:I5e,multi:!0},{provide:Rfe,useValue:!0},{provide:UQ,useClass:M5e}];for(let a of p)h.push(...a.\u0275providers);return tQ(h)}var xle=class extends zQ{supportsDOMEvents=!0},Nle=class p extends xle{static makeCurrent(){pfe(new p)}onAndCancel(h,a,f,g){return h.addEventListener(a,f,g),()=>{h.removeEventListener(a,f,g)}}dispatchEvent(h,a){h.dispatchEvent(a)}remove(h){h.remove()}createElement(h,a){return a=a||this.getDefaultDocument(),a.createElement(h)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(h){return h.nodeType===Node.ELEMENT_NODE}isShadowRoot(h){return h instanceof DocumentFragment}getGlobalEventTarget(h,a){return a==="window"?window:a==="document"?h:a==="body"?h.body:null}getBaseHref(h){let a=O5e();return a==null?null:w5e(a)}resetBaseElement(){WV=null}getUserAgent(){return window.navigator.userAgent}getCookie(h){return NQ(document.cookie,h)}},WV=null;function O5e(){return WV=WV||document.querySelector("base"),WV?WV.getAttribute("href"):null}function w5e(p){return new URL(p,document.baseURI).pathname}var _5e=(()=>{class p{build(){return new XMLHttpRequest}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Ple=new Mo(""),Hfe=(()=>{class p{_zone;_plugins;_eventNameToPlugin=new Map;constructor(a,f){this._zone=f,a.forEach(g=>{g.manager=this}),this._plugins=a.slice().reverse()}addEventListener(a,f,g,D){return this._findPluginFor(f).addEventListener(a,f,g,D)}getZone(){return this._zone}_findPluginFor(a){let f=this._eventNameToPlugin.get(a);if(f)return f;if(f=this._plugins.find(D=>D.supports(a)),!f)throw new h1(5101,!1);return this._eventNameToPlugin.set(a,f),f}static \u0275fac=function(f){return new(f||p)(h0(Ple),h0(Qu))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),GQ=class{_doc;constructor(h){this._doc=h}manager},jQ="ng-app-id";function xfe(p){for(let h of p)h.remove()}function Nfe(p,h){let a=h.createElement("style");return a.textContent=p,a}function T5e(p,h,a,f){let g=p.head?.querySelectorAll(`style[${jQ}="${h}"],link[${jQ}="${h}"]`);if(g)for(let D of g)D.removeAttribute(jQ),D instanceof HTMLLinkElement?f.set(D.href.slice(D.href.lastIndexOf("/")+1),{usage:0,elements:[D]}):D.textContent&&a.set(D.textContent,{usage:0,elements:[D]})}function Ble(p,h){let a=h.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",p),a}var Ffe=(()=>{class p{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(a,f,g,D={}){this.doc=a,this.appId=f,this.nonce=g,this.isServer=Cle(D),T5e(a,f,this.inline,this.external),this.hosts.add(a.head)}addStyles(a,f){for(let g of a)this.addUsage(g,this.inline,Nfe);f?.forEach(g=>this.addUsage(g,this.external,Ble))}removeStyles(a,f){for(let g of a)this.removeUsage(g,this.inline);f?.forEach(g=>this.removeUsage(g,this.external))}addUsage(a,f,g){let D=f.get(a);D?D.usage++:f.set(a,{usage:1,elements:[...this.hosts].map(q=>this.addElement(q,g(a,this.doc)))})}removeUsage(a,f){let g=f.get(a);g&&(g.usage--,g.usage<=0&&(xfe(g.elements),f.delete(a)))}ngOnDestroy(){for(let[,{elements:a}]of[...this.inline,...this.external])xfe(a);this.hosts.clear()}addHost(a){this.hosts.add(a);for(let[f,{elements:g}]of this.inline)g.push(this.addElement(a,Nfe(f,this.doc)));for(let[f,{elements:g}]of this.external)g.push(this.addElement(a,Ble(f,this.doc)))}removeHost(a){this.hosts.delete(a)}addElement(a,f){return this.nonce&&f.setAttribute("nonce",this.nonce),this.isServer&&f.setAttribute(jQ,this.appId),a.appendChild(f)}static \u0275fac=function(f){return new(f||p)(h0(Uf),h0(SV),h0(zV,8),h0(HR))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Lle={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"},Hle=/%COMP%/g;var qfe="%COMP%",E5e=`_nghost-${qfe}`,C5e=`_ngcontent-${qfe}`,D5e=!0,S5e=new Mo("",{providedIn:"root",factory:()=>D5e});function z5e(p){return C5e.replace(Hle,p)}function R5e(p){return E5e.replace(Hle,p)}function Wfe(p,h){return h.map(a=>a.replace(Hle,p))}var Pfe=(()=>{class p{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(a,f,g,D,q,de,G,ee=null,fe=null){this.eventManager=a,this.sharedStylesHost=f,this.appId=g,this.removeStylesOnCompDestroy=D,this.doc=q,this.platformId=de,this.ngZone=G,this.nonce=ee,this.tracingService=fe,this.platformIsServer=Cle(de),this.defaultRenderer=new UV(a,q,G,this.platformIsServer,this.tracingService)}createRenderer(a,f){if(!a||!f)return this.defaultRenderer;this.platformIsServer&&f.encapsulation===IS.ShadowDom&&(f=Nd(k0({},f),{encapsulation:IS.Emulated}));let g=this.getOrCreateRenderer(a,f);return g instanceof VQ?g.applyToHost(a):g instanceof jV&&g.applyStyles(),g}getOrCreateRenderer(a,f){let g=this.rendererByCompId,D=g.get(f.id);if(!D){let q=this.doc,de=this.ngZone,G=this.eventManager,ee=this.sharedStylesHost,fe=this.removeStylesOnCompDestroy,ye=this.platformIsServer,je=this.tracingService;switch(f.encapsulation){case IS.Emulated:D=new VQ(G,ee,f,this.appId,fe,q,de,ye,je);break;case IS.ShadowDom:return new kle(G,ee,a,f,q,de,this.nonce,ye,je);default:D=new jV(G,ee,f,fe,q,de,ye,je);break}g.set(f.id,D)}return D}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(a){this.rendererByCompId.delete(a)}static \u0275fac=function(f){return new(f||p)(h0(Hfe),h0(Ffe),h0(SV),h0(S5e),h0(Uf),h0(HR),h0(Qu),h0(zV),h0(lB,8))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),UV=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(h,a,f,g,D){this.eventManager=h,this.doc=a,this.ngZone=f,this.platformIsServer=g,this.tracingService=D}destroy(){}destroyNode=null;createElement(h,a){return a?this.doc.createElementNS(Lle[a]||a,h):this.doc.createElement(h)}createComment(h){return this.doc.createComment(h)}createText(h){return this.doc.createTextNode(h)}appendChild(h,a){(Bfe(h)?h.content:h).appendChild(a)}insertBefore(h,a,f){h&&(Bfe(h)?h.content:h).insertBefore(a,f)}removeChild(h,a){a.remove()}selectRootElement(h,a){let f=typeof h=="string"?this.doc.querySelector(h):h;if(!f)throw new h1(-5104,!1);return a||(f.textContent=""),f}parentNode(h){return h.parentNode}nextSibling(h){return h.nextSibling}setAttribute(h,a,f,g){if(g){a=g+":"+a;let D=Lle[g];D?h.setAttributeNS(D,a,f):h.setAttribute(a,f)}else h.setAttribute(a,f)}removeAttribute(h,a,f){if(f){let g=Lle[f];g?h.removeAttributeNS(g,a):h.removeAttribute(`${f}:${a}`)}else h.removeAttribute(a)}addClass(h,a){h.classList.add(a)}removeClass(h,a){h.classList.remove(a)}setStyle(h,a,f,g){g&(AS.DashCase|AS.Important)?h.style.setProperty(a,f,g&AS.Important?"important":""):h.style[a]=f}removeStyle(h,a,f){f&AS.DashCase?h.style.removeProperty(a):h.style[a]=""}setProperty(h,a,f){h!=null&&(h[a]=f)}setValue(h,a){h.nodeValue=a}listen(h,a,f,g){if(typeof h=="string"&&(h=YR().getGlobalEventTarget(this.doc,h),!h))throw new h1(5102,!1);let D=this.decoratePreventDefault(f);return this.tracingService?.wrapEventListener&&(D=this.tracingService.wrapEventListener(h,a,D)),this.eventManager.addEventListener(h,a,D,g)}decoratePreventDefault(h){return a=>{if(a==="__ngUnwrap__")return h;(this.platformIsServer?this.ngZone.runGuarded(()=>h(a)):h(a))===!1&&a.preventDefault()}}};function Bfe(p){return p.tagName==="TEMPLATE"&&p.content!==void 0}var kle=class extends UV{sharedStylesHost;hostEl;shadowRoot;constructor(h,a,f,g,D,q,de,G,ee){super(h,D,q,G,ee),this.sharedStylesHost=a,this.hostEl=f,this.shadowRoot=f.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let fe=g.styles;fe=Wfe(g.id,fe);for(let je of fe){let $e=document.createElement("style");de&&$e.setAttribute("nonce",de),$e.textContent=je,this.shadowRoot.appendChild($e)}let ye=g.getExternalStyles?.();if(ye)for(let je of ye){let $e=Ble(je,D);de&&$e.setAttribute("nonce",de),this.shadowRoot.appendChild($e)}}nodeOrShadowRoot(h){return h===this.hostEl?this.shadowRoot:h}appendChild(h,a){return super.appendChild(this.nodeOrShadowRoot(h),a)}insertBefore(h,a,f){return super.insertBefore(this.nodeOrShadowRoot(h),a,f)}removeChild(h,a){return super.removeChild(null,a)}parentNode(h){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(h)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},jV=class extends UV{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(h,a,f,g,D,q,de,G,ee){super(h,D,q,de,G),this.sharedStylesHost=a,this.removeStylesOnCompDestroy=g;let fe=f.styles;this.styles=ee?Wfe(ee,fe):fe,this.styleUrls=f.getExternalStyles?.(ee)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},VQ=class extends jV{contentAttr;hostAttr;constructor(h,a,f,g,D,q,de,G,ee){let fe=g+"-"+f.id;super(h,a,f,D,q,de,G,ee,fe),this.contentAttr=z5e(fe),this.hostAttr=R5e(fe)}applyToHost(h){this.applyStyles(),this.setAttribute(h,this.hostAttr,"")}createElement(h,a){let f=super.createElement(h,a);return super.setAttribute(f,this.contentAttr,""),f}},L5e=(()=>{class p extends GQ{constructor(a){super(a)}supports(a){return!0}addEventListener(a,f,g,D){return a.addEventListener(f,g,D),()=>this.removeEventListener(a,f,g,D)}removeEventListener(a,f,g,D){return a.removeEventListener(f,g,D)}static \u0275fac=function(f){return new(f||p)(h0(Uf))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),kfe=["alt","control","meta","shift"],x5e={"\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"},N5e={alt:p=>p.altKey,control:p=>p.ctrlKey,meta:p=>p.metaKey,shift:p=>p.shiftKey},P5e=(()=>{class p extends GQ{constructor(a){super(a)}supports(a){return p.parseEventName(a)!=null}addEventListener(a,f,g,D){let q=p.parseEventName(f),de=p.eventCallback(q.fullKey,g,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>YR().onAndCancel(a,q.domEventName,de,D))}static parseEventName(a){let f=a.toLowerCase().split("."),g=f.shift();if(f.length===0||!(g==="keydown"||g==="keyup"))return null;let D=p._normalizeKey(f.pop()),q="",de=f.indexOf("code");if(de>-1&&(f.splice(de,1),q="code."),kfe.forEach(ee=>{let fe=f.indexOf(ee);fe>-1&&(f.splice(fe,1),q+=ee+".")}),q+=D,f.length!=0||D.length===0)return null;let G={};return G.domEventName=g,G.fullKey=q,G}static matchEventFullKeyCode(a,f){let g=x5e[a.key]||a.key,D="";return f.indexOf("code.")>-1&&(g=a.code,D="code."),g==null||!g?!1:(g=g.toLowerCase(),g===" "?g="space":g==="."&&(g="dot"),kfe.forEach(q=>{if(q!==g){let de=N5e[q];de(a)&&(D+=q+".")}}),D+=g,D===f)}static eventCallback(a,f,g){return D=>{p.matchEventFullKeyCode(D,a)&&g.runGuarded(()=>f(D))}}static _normalizeKey(a){return a==="esc"?"escape":a}static \u0275fac=function(f){return new(f||p)(h0(Uf))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();function Ufe(p){return nfe(B5e(p))}function B5e(p){return{appProviders:[...W5e,...p?.providers??[]],platformProviders:q5e}}function k5e(){Nle.makeCurrent()}function H5e(){return new oS}function F5e(){return Dpe(document),document}var q5e=[{provide:HR,useValue:Ele},{provide:Roe,useValue:k5e,multi:!0},{provide:Uf,useFactory:F5e,deps:[]}];var W5e=[{provide:nQ,useValue:"root"},{provide:oS,useFactory:H5e,deps:[]},{provide:Ple,useClass:L5e,multi:!0,deps:[Uf]},{provide:Ple,useClass:P5e,multi:!0,deps:[Uf]},Pfe,Ffe,Hfe,{provide:Aw,useExisting:Pfe},{provide:mB,useClass:_5e,deps:[]},[]];var Kfe=(()=>{class p{_renderer;_elementRef;onChange=a=>{};onTouched=()=>{};constructor(a,f){this._renderer=a,this._elementRef=f}setProperty(a,f){this._renderer.setProperty(this._elementRef.nativeElement,a,f)}registerOnTouched(a){this.onTouched=a}registerOnChange(a){this.onChange=a}setDisabledState(a){this.setProperty("disabled",a)}static \u0275fac=function(f){return new(f||p)(ls(CI),ls(Cl))};static \u0275dir=Dl({type:p})}return p})(),U5e=(()=>{class p extends Kfe{static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275dir=Dl({type:p,features:[el]})}return p})(),DA=new Mo("");var j5e={provide:DA,useExisting:o3(()=>IB),multi:!0};function G5e(){let p=YR()?YR().getUserAgent():"";return/android (\d+)/.test(p.toLowerCase())}var V5e=new Mo(""),IB=(()=>{class p extends Kfe{_compositionMode;_composing=!1;constructor(a,f,g){super(a,f),this._compositionMode=g,this._compositionMode==null&&(this._compositionMode=!G5e())}writeValue(a){let f=a??"";this.setProperty("value",f)}_handleInput(a){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(a)}_compositionStart(){this._composing=!0}_compositionEnd(a){this._composing=!1,this._compositionMode&&this.onChange(a)}static \u0275fac=function(f){return new(f||p)(ls(CI),ls(Cl),ls(V5e,8))};static \u0275dir=Dl({type:p,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(f,g){f&1&&_i("input",function(q){return g._handleInput(q.target.value)})("blur",function(){return g.onTouched()})("compositionstart",function(){return g._compositionStart()})("compositionend",function(q){return g._compositionEnd(q.target.value)})},standalone:!1,features:[dl([j5e]),el]})}return p})();function Gle(p){return p==null||Vle(p)===0}function Vle(p){return p==null?null:Array.isArray(p)||typeof p=="string"?p.length:p instanceof Set?p.size:null}var l9=new Mo(""),iZ=new Mo(""),Y5e=/^(?=.{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])?)*$/,ES=class{static min(h){return X5e(h)}static max(h){return Q5e(h)}static required(h){return Jfe(h)}static requiredTrue(h){return Z5e(h)}static email(h){return K5e(h)}static minLength(h){return J5e(h)}static maxLength(h){return $5e(h)}static pattern(h){return e_e(h)}static nullValidator(h){return XQ()}static compose(h){return sme(h)}static composeAsync(h){return ame(h)}};function X5e(p){return h=>{if(h.value==null||p==null)return null;let a=parseFloat(h.value);return!isNaN(a)&&a<p?{min:{min:p,actual:h.value}}:null}}function Q5e(p){return h=>{if(h.value==null||p==null)return null;let a=parseFloat(h.value);return!isNaN(a)&&a>p?{max:{max:p,actual:h.value}}:null}}function Jfe(p){return Gle(p.value)?{required:!0}:null}function Z5e(p){return p.value===!0?null:{required:!0}}function K5e(p){return Gle(p.value)||Y5e.test(p.value)?null:{email:!0}}function J5e(p){return h=>{let a=h.value?.length??Vle(h.value);return a===null||a===0?null:a<p?{minlength:{requiredLength:p,actualLength:a}}:null}}function $5e(p){return h=>{let a=h.value?.length??Vle(h.value);return a!==null&&a>p?{maxlength:{requiredLength:p,actualLength:a}}:null}}function e_e(p){if(!p)return XQ;let h,a;return typeof p=="string"?(a="",p.charAt(0)!=="^"&&(a+="^"),a+=p,p.charAt(p.length-1)!=="$"&&(a+="$"),h=new RegExp(a)):(a=p.toString(),h=p),f=>{if(Gle(f.value))return null;let g=f.value;return h.test(g)?null:{pattern:{requiredPattern:a,actualValue:g}}}}function XQ(p){return null}function $fe(p){return p!=null}function eme(p){return pB(p)?Yu(p):p}function tme(p){let h={};return p.forEach(a=>{h=a!=null?k0(k0({},h),a):h}),Object.keys(h).length===0?null:h}function nme(p,h){return h.map(a=>a(p))}function t_e(p){return!p.validate}function ime(p){return p.map(h=>t_e(h)?h:a=>h.validate(a))}function sme(p){if(!p)return null;let h=p.filter($fe);return h.length==0?null:function(a){return tme(nme(a,h))}}function rme(p){return p!=null?sme(ime(p)):null}function ame(p){if(!p)return null;let h=p.filter($fe);return h.length==0?null:function(a){let f=nme(a,h).map(eme);return mS(f).pipe(Xu(tme))}}function ome(p){return p!=null?ame(ime(p)):null}function jfe(p,h){return p===null?[h]:Array.isArray(p)?[...p,h]:[p,h]}function lme(p){return p._rawValidators}function cme(p){return p._rawAsyncValidators}function Fle(p){return p?Array.isArray(p)?p:[p]:[]}function QQ(p,h){return Array.isArray(p)?p.includes(h):p===h}function Gfe(p,h){let a=Fle(h);return Fle(p).forEach(g=>{QQ(a,g)||a.push(g)}),a}function Vfe(p,h){return Fle(h).filter(a=>!QQ(p,a))}var ZQ=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(h){this._rawValidators=h||[],this._composedValidatorFn=rme(this._rawValidators)}_setAsyncValidators(h){this._rawAsyncValidators=h||[],this._composedAsyncValidatorFn=ome(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(h){this._onDestroyCallbacks.push(h)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(h=>h()),this._onDestroyCallbacks=[]}reset(h=void 0){this.control&&this.control.reset(h)}hasError(h,a){return this.control?this.control.hasError(h,a):!1}getError(h,a){return this.control?this.control.getError(h,a):null}},dL=class extends ZQ{name;get formDirective(){return null}get path(){return null}},CS=class extends ZQ{_parent=null;name=null;valueAccessor=null},KQ=class{_cd;constructor(h){this._cd=h}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}},n_e={"[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"},_je=Nd(k0({},n_e),{"[class.ng-submitted]":"isSubmitted"}),Rw=(()=>{class p extends KQ{constructor(a){super(a)}static \u0275fac=function(f){return new(f||p)(ls(CS,2))};static \u0275dir=Dl({type:p,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(f,g){f&2&&ul("ng-untouched",g.isUntouched)("ng-touched",g.isTouched)("ng-pristine",g.isPristine)("ng-dirty",g.isDirty)("ng-valid",g.isValid)("ng-invalid",g.isInvalid)("ng-pending",g.isPending)},standalone:!1,features:[el]})}return p})(),AB=(()=>{class p extends KQ{constructor(a){super(a)}static \u0275fac=function(f){return new(f||p)(ls(dL,10))};static \u0275dir=Dl({type:p,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(f,g){f&2&&ul("ng-untouched",g.isUntouched)("ng-touched",g.isTouched)("ng-pristine",g.isPristine)("ng-dirty",g.isDirty)("ng-valid",g.isValid)("ng-invalid",g.isInvalid)("ng-pending",g.isPending)("ng-submitted",g.isSubmitted)},standalone:!1,features:[el]})}return p})();var GV="VALID",YQ="INVALID",gB="PENDING",VV="DISABLED",pL=class{},JQ=class extends pL{value;source;constructor(h,a){super(),this.value=h,this.source=a}},YV=class extends pL{pristine;source;constructor(h,a){super(),this.pristine=h,this.source=a}},XV=class extends pL{touched;source;constructor(h,a){super(),this.touched=h,this.source=a}},yB=class extends pL{status;source;constructor(h,a){super(),this.status=h,this.source=a}},qle=class extends pL{source;constructor(h){super(),this.source=h}},Wle=class extends pL{source;constructor(h){super(),this.source=h}};function Yle(p){return(sZ(p)?p.validators:p)||null}function i_e(p){return Array.isArray(p)?rme(p):p||null}function Xle(p,h){return(sZ(h)?h.asyncValidators:p)||null}function s_e(p){return Array.isArray(p)?ome(p):p||null}function sZ(p){return p!=null&&!Array.isArray(p)&&typeof p=="object"}function ume(p,h,a){let f=p.controls;if(!(h?Object.keys(f):f).length)throw new h1(1e3,"");if(!f[a])throw new h1(1001,"")}function dme(p,h,a){p._forEachChild((f,g)=>{if(a[g]===void 0)throw new h1(1002,"")})}var MB=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(h,a){this._assignValidators(h),this._assignAsyncValidators(a)}get validator(){return this._composedValidatorFn}set validator(h){this._rawValidators=this._composedValidatorFn=h}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(h){this._rawAsyncValidators=this._composedAsyncValidatorFn=h}get parent(){return this._parent}get status(){return W_(this.statusReactive)}set status(h){W_(()=>this.statusReactive.set(h))}_status=nM(()=>this.statusReactive());statusReactive=C0(void 0);get valid(){return this.status===GV}get invalid(){return this.status===YQ}get pending(){return this.status==gB}get disabled(){return this.status===VV}get enabled(){return this.status!==VV}errors;get pristine(){return W_(this.pristineReactive)}set pristine(h){W_(()=>this.pristineReactive.set(h))}_pristine=nM(()=>this.pristineReactive());pristineReactive=C0(!0);get dirty(){return!this.pristine}get touched(){return W_(this.touchedReactive)}set touched(h){W_(()=>this.touchedReactive.set(h))}_touched=nM(()=>this.touchedReactive());touchedReactive=C0(!1);get untouched(){return!this.touched}_events=new H0;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(h){this._assignValidators(h)}setAsyncValidators(h){this._assignAsyncValidators(h)}addValidators(h){this.setValidators(Gfe(h,this._rawValidators))}addAsyncValidators(h){this.setAsyncValidators(Gfe(h,this._rawAsyncValidators))}removeValidators(h){this.setValidators(Vfe(h,this._rawValidators))}removeAsyncValidators(h){this.setAsyncValidators(Vfe(h,this._rawAsyncValidators))}hasValidator(h){return QQ(this._rawValidators,h)}hasAsyncValidator(h){return QQ(this._rawAsyncValidators,h)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(h={}){let a=this.touched===!1;this.touched=!0;let f=h.sourceControl??this;this._parent&&!h.onlySelf&&this._parent.markAsTouched(Nd(k0({},h),{sourceControl:f})),a&&h.emitEvent!==!1&&this._events.next(new XV(!0,f))}markAllAsTouched(h={}){this.markAsTouched({onlySelf:!0,emitEvent:h.emitEvent,sourceControl:this}),this._forEachChild(a=>a.markAllAsTouched(h))}markAsUntouched(h={}){let a=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let f=h.sourceControl??this;this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0,emitEvent:h.emitEvent,sourceControl:f})}),this._parent&&!h.onlySelf&&this._parent._updateTouched(h,f),a&&h.emitEvent!==!1&&this._events.next(new XV(!1,f))}markAsDirty(h={}){let a=this.pristine===!0;this.pristine=!1;let f=h.sourceControl??this;this._parent&&!h.onlySelf&&this._parent.markAsDirty(Nd(k0({},h),{sourceControl:f})),a&&h.emitEvent!==!1&&this._events.next(new YV(!1,f))}markAsPristine(h={}){let a=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let f=h.sourceControl??this;this._forEachChild(g=>{g.markAsPristine({onlySelf:!0,emitEvent:h.emitEvent})}),this._parent&&!h.onlySelf&&this._parent._updatePristine(h,f),a&&h.emitEvent!==!1&&this._events.next(new YV(!0,f))}markAsPending(h={}){this.status=gB;let a=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new yB(this.status,a)),this.statusChanges.emit(this.status)),this._parent&&!h.onlySelf&&this._parent.markAsPending(Nd(k0({},h),{sourceControl:a}))}disable(h={}){let a=this._parentMarkedDirty(h.onlySelf);this.status=VV,this.errors=null,this._forEachChild(g=>{g.disable(Nd(k0({},h),{onlySelf:!0}))}),this._updateValue();let f=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new JQ(this.value,f)),this._events.next(new yB(this.status,f)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Nd(k0({},h),{skipPristineCheck:a}),this),this._onDisabledChange.forEach(g=>g(!0))}enable(h={}){let a=this._parentMarkedDirty(h.onlySelf);this.status=GV,this._forEachChild(f=>{f.enable(Nd(k0({},h),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent}),this._updateAncestors(Nd(k0({},h),{skipPristineCheck:a}),this),this._onDisabledChange.forEach(f=>f(!1))}_updateAncestors(h,a){this._parent&&!h.onlySelf&&(this._parent.updateValueAndValidity(h),h.skipPristineCheck||this._parent._updatePristine({},a),this._parent._updateTouched({},a))}setParent(h){this._parent=h}getRawValue(){return this.value}updateValueAndValidity(h={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let f=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===GV||this.status===gB)&&this._runAsyncValidator(f,h.emitEvent)}let a=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new JQ(this.value,a)),this._events.next(new yB(this.status,a)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!h.onlySelf&&this._parent.updateValueAndValidity(Nd(k0({},h),{sourceControl:a}))}_updateTreeValidity(h={emitEvent:!0}){this._forEachChild(a=>a._updateTreeValidity(h)),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?VV:GV}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(h,a){if(this.asyncValidator){this.status=gB,this._hasOwnPendingAsyncValidator={emitEvent:a!==!1};let f=eme(this.asyncValidator(this));this._asyncValidationSubscription=f.subscribe(g=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(g,{emitEvent:a,shouldHaveEmitted:h})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let h=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,h}return!1}setErrors(h,a={}){this.errors=h,this._updateControlsErrors(a.emitEvent!==!1,this,a.shouldHaveEmitted)}get(h){let a=h;return a==null||(Array.isArray(a)||(a=a.split(".")),a.length===0)?null:a.reduce((f,g)=>f&&f._find(g),this)}getError(h,a){let f=a?this.get(a):this;return f&&f.errors?f.errors[h]:null}hasError(h,a){return!!this.getError(h,a)}get root(){let h=this;for(;h._parent;)h=h._parent;return h}_updateControlsErrors(h,a,f){this.status=this._calculateStatus(),h&&this.statusChanges.emit(this.status),(h||f)&&this._events.next(new yB(this.status,a)),this._parent&&this._parent._updateControlsErrors(h,a,f)}_initObservables(){this.valueChanges=new ns,this.statusChanges=new ns}_calculateStatus(){return this._allControlsDisabled()?VV:this.errors?YQ:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gB)?gB:this._anyControlsHaveStatus(YQ)?YQ:GV}_anyControlsHaveStatus(h){return this._anyControls(a=>a.status===h)}_anyControlsDirty(){return this._anyControls(h=>h.dirty)}_anyControlsTouched(){return this._anyControls(h=>h.touched)}_updatePristine(h,a){let f=!this._anyControlsDirty(),g=this.pristine!==f;this.pristine=f,this._parent&&!h.onlySelf&&this._parent._updatePristine(h,a),g&&this._events.next(new YV(this.pristine,a))}_updateTouched(h={},a){this.touched=this._anyControlsTouched(),this._events.next(new XV(this.touched,a)),this._parent&&!h.onlySelf&&this._parent._updateTouched(h,a)}_onDisabledChange=[];_registerOnCollectionChange(h){this._onCollectionChange=h}_setUpdateStrategy(h){sZ(h)&&h.updateOn!=null&&(this._updateOn=h.updateOn)}_parentMarkedDirty(h){let a=this._parent&&this._parent.dirty;return!h&&!!a&&!this._parent._anyControlsDirty()}_find(h){return null}_assignValidators(h){this._rawValidators=Array.isArray(h)?h.slice():h,this._composedValidatorFn=i_e(this._rawValidators)}_assignAsyncValidators(h){this._rawAsyncValidators=Array.isArray(h)?h.slice():h,this._composedAsyncValidatorFn=s_e(this._rawAsyncValidators)}},hL=class extends MB{constructor(h,a,f){super(Yle(a),Xle(f,a)),this.controls=h,this._initObservables(),this._setUpdateStrategy(a),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(h,a){return this.controls[h]?this.controls[h]:(this.controls[h]=a,a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange),a)}addControl(h,a,f={}){this.registerControl(h,a),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}removeControl(h,a={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}setControl(h,a,f={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],a&&this.registerControl(h,a),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}contains(h){return this.controls.hasOwnProperty(h)&&this.controls[h].enabled}setValue(h,a={}){dme(this,!0,h),Object.keys(h).forEach(f=>{ume(this,!0,f),this.controls[f].setValue(h[f],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}patchValue(h,a={}){h!=null&&(Object.keys(h).forEach(f=>{let g=this.controls[f];g&&g.patchValue(h[f],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}reset(h={},a={}){this._forEachChild((f,g)=>{f.reset(h?h[g]:null,{onlySelf:!0,emitEvent:a.emitEvent})}),this._updatePristine(a,this),this._updateTouched(a,this),this.updateValueAndValidity(a)}getRawValue(){return this._reduceChildren({},(h,a,f)=>(h[f]=a.getRawValue(),h))}_syncPendingControls(){let h=this._reduceChildren(!1,(a,f)=>f._syncPendingControls()?!0:a);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_forEachChild(h){Object.keys(this.controls).forEach(a=>{let f=this.controls[a];f&&h(f,a)})}_setUpControls(){this._forEachChild(h=>{h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(h){for(let[a,f]of Object.entries(this.controls))if(this.contains(a)&&h(f))return!0;return!1}_reduceValue(){let h={};return this._reduceChildren(h,(a,f,g)=>((f.enabled||this.disabled)&&(a[g]=f.value),a))}_reduceChildren(h,a){let f=h;return this._forEachChild((g,D)=>{f=a(f,g,D)}),f}_allControlsDisabled(){for(let h of Object.keys(this.controls))if(this.controls[h].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(h){return this.controls.hasOwnProperty(h)?this.controls[h]:null}};var Ule=class extends hL{};var QV=new Mo("",{providedIn:"root",factory:()=>rZ}),rZ="always";function pme(p,h){return[...h.path,p]}function $Q(p,h,a=rZ){Qle(p,h),h.valueAccessor.writeValue(p.value),(p.disabled||a==="always")&&h.valueAccessor.setDisabledState?.(p.disabled),a_e(p,h),l_e(p,h),o_e(p,h),r_e(p,h)}function eZ(p,h,a=!0){let f=()=>{};h.valueAccessor&&(h.valueAccessor.registerOnChange(f),h.valueAccessor.registerOnTouched(f)),nZ(p,h),p&&(h._invokeOnDestroyCallbacks(),p._registerOnCollectionChange(()=>{}))}function tZ(p,h){p.forEach(a=>{a.registerOnValidatorChange&&a.registerOnValidatorChange(h)})}function r_e(p,h){if(h.valueAccessor.setDisabledState){let a=f=>{h.valueAccessor.setDisabledState(f)};p.registerOnDisabledChange(a),h._registerOnDestroy(()=>{p._unregisterOnDisabledChange(a)})}}function Qle(p,h){let a=lme(p);h.validator!==null?p.setValidators(jfe(a,h.validator)):typeof a=="function"&&p.setValidators([a]);let f=cme(p);h.asyncValidator!==null?p.setAsyncValidators(jfe(f,h.asyncValidator)):typeof f=="function"&&p.setAsyncValidators([f]);let g=()=>p.updateValueAndValidity();tZ(h._rawValidators,g),tZ(h._rawAsyncValidators,g)}function nZ(p,h){let a=!1;if(p!==null){if(h.validator!==null){let g=lme(p);if(Array.isArray(g)&&g.length>0){let D=g.filter(q=>q!==h.validator);D.length!==g.length&&(a=!0,p.setValidators(D))}}if(h.asyncValidator!==null){let g=cme(p);if(Array.isArray(g)&&g.length>0){let D=g.filter(q=>q!==h.asyncValidator);D.length!==g.length&&(a=!0,p.setAsyncValidators(D))}}}let f=()=>{};return tZ(h._rawValidators,f),tZ(h._rawAsyncValidators,f),a}function a_e(p,h){h.valueAccessor.registerOnChange(a=>{p._pendingValue=a,p._pendingChange=!0,p._pendingDirty=!0,p.updateOn==="change"&&hme(p,h)})}function o_e(p,h){h.valueAccessor.registerOnTouched(()=>{p._pendingTouched=!0,p.updateOn==="blur"&&p._pendingChange&&hme(p,h),p.updateOn!=="submit"&&p.markAsTouched()})}function hme(p,h){p._pendingDirty&&p.markAsDirty(),p.setValue(p._pendingValue,{emitModelToViewChange:!1}),h.viewToModelUpdate(p._pendingValue),p._pendingChange=!1}function l_e(p,h){let a=(f,g)=>{h.valueAccessor.writeValue(f),g&&h.viewToModelUpdate(f)};p.registerOnChange(a),h._registerOnDestroy(()=>{p._unregisterOnChange(a)})}function c_e(p,h){p==null,Qle(p,h)}function u_e(p,h){return nZ(p,h)}function Zle(p,h){if(!p.hasOwnProperty("model"))return!1;let a=p.model;return a.isFirstChange()?!0:!Object.is(h,a.currentValue)}function d_e(p){return Object.getPrototypeOf(p.constructor)===U5e}function p_e(p,h){p._syncPendingControls(),h.forEach(a=>{let f=a.control;f.updateOn==="submit"&&f._pendingChange&&(a.viewToModelUpdate(f._pendingValue),f._pendingChange=!1)})}function Kle(p,h){if(!h)return null;Array.isArray(h);let a,f,g;return h.forEach(D=>{D.constructor===IB?a=D:d_e(D)?f=D:g=D}),g||f||a||null}function h_e(p,h){let a=p.indexOf(h);a>-1&&p.splice(a,1)}function Yfe(p,h){let a=p.indexOf(h);a>-1&&p.splice(a,1)}function Xfe(p){return typeof p=="object"&&p!==null&&Object.keys(p).length===2&&"value"in p&&"disabled"in p}var XR=class extends MB{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(h=null,a,f){super(Yle(a),Xle(f,a)),this._applyFormState(h),this._setUpdateStrategy(a),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sZ(a)&&(a.nonNullable||a.initialValueIsDefault)&&(Xfe(h)?this.defaultValue=h.value:this.defaultValue=h)}setValue(h,a={}){this.value=this._pendingValue=h,this._onChange.length&&a.emitModelToViewChange!==!1&&this._onChange.forEach(f=>f(this.value,a.emitViewToModelChange!==!1)),this.updateValueAndValidity(a)}patchValue(h,a={}){this.setValue(h,a)}reset(h=this.defaultValue,a={}){this._applyFormState(h),this.markAsPristine(a),this.markAsUntouched(a),this.setValue(this.value,a),this._pendingChange=!1}_updateValue(){}_anyControls(h){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(h){this._onChange.push(h)}_unregisterOnChange(h){Yfe(this._onChange,h)}registerOnDisabledChange(h){this._onDisabledChange.push(h)}_unregisterOnDisabledChange(h){Yfe(this._onDisabledChange,h)}_forEachChild(h){}_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(h){Xfe(h)?(this.value=this._pendingValue=h.value,h.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=h}};var f_e=p=>p instanceof XR;var m_e={provide:CS,useExisting:o3(()=>cS)},Qfe=Promise.resolve(),cS=(()=>{class p extends CS{_changeDetectorRef;callSetDisabledState;control=new XR;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ns;constructor(a,f,g,D,q,de){super(),this._changeDetectorRef=q,this.callSetDisabledState=de,this._parent=a,this._setValidators(f),this._setAsyncValidators(g),this.valueAccessor=Kle(this,D)}ngOnChanges(a){if(this._checkForErrors(),!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){let f=a.name.previousValue;this.formDirective.removeControl({name:f,path:this._getPath(f)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a),Zle(a,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(a){this.viewModel=a,this.update.emit(a)}_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(){$Q(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(a){Qfe.then(()=>{this.control.setValue(a,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(a){let f=a.isDisabled.currentValue,g=f!==0&&Ss(f);Qfe.then(()=>{g&&!this.control.disabled?this.control.disable():!g&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(a){return this._parent?pme(a,this._parent):[a]}static \u0275fac=function(f){return new(f||p)(ls(dL,9),ls(l9,10),ls(iZ,10),ls(DA,10),ls(Zf,8),ls(QV,8))};static \u0275dir=Dl({type:p,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:[dl([m_e]),el,Gd]})}return p})();var aZ=(()=>{class p{static \u0275fac=function(f){return new(f||p)};static \u0275dir=Dl({type:p,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return p})();var Jle=new Mo(""),b_e={provide:CS,useExisting:o3(()=>$le)},$le=(()=>{class p extends CS{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(a){}model;update=new ns;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(a,f,g,D,q){super(),this._ngModelWarningConfig=D,this.callSetDisabledState=q,this._setValidators(a),this._setAsyncValidators(f),this.valueAccessor=Kle(this,g)}ngOnChanges(a){if(this._isControlChanged(a)){let f=a.form.previousValue;f&&eZ(f,this,!1),$Q(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Zle(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&eZ(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(a){this.viewModel=a,this.update.emit(a)}_isControlChanged(a){return a.hasOwnProperty("form")}static \u0275fac=function(f){return new(f||p)(ls(l9,10),ls(iZ,10),ls(DA,10),ls(Jle,8),ls(QV,8))};static \u0275dir=Dl({type:p,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[dl([b_e]),el,Gd]})}return p})(),v_e={provide:dL,useExisting:o3(()=>fL)},fL=(()=>{class p extends dL{callSetDisabledState;get submitted(){return W_(this._submittedReactive)}set submitted(a){this._submittedReactive.set(a)}_submitted=nM(()=>this._submittedReactive());_submittedReactive=C0(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ns;constructor(a,f,g){super(),this.callSetDisabledState=g,this._setValidators(a),this._setAsyncValidators(f)}ngOnChanges(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nZ(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(a){let f=this.form.get(a.path);return $Q(f,a,this.callSetDisabledState),f.updateValueAndValidity({emitEvent:!1}),this.directives.push(a),f}getControl(a){return this.form.get(a.path)}removeControl(a){eZ(a.control||null,a,!1),h_e(this.directives,a)}addFormGroup(a){this._setUpFormContainer(a)}removeFormGroup(a){this._cleanUpFormContainer(a)}getFormGroup(a){return this.form.get(a.path)}addFormArray(a){this._setUpFormContainer(a)}removeFormArray(a){this._cleanUpFormContainer(a)}getFormArray(a){return this.form.get(a.path)}updateModel(a,f){this.form.get(a.path).setValue(f)}onSubmit(a){return this._submittedReactive.set(!0),p_e(this.form,this.directives),this.ngSubmit.emit(a),this.form._events.next(new qle(this.control)),a?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(a=void 0){this.form.reset(a),this._submittedReactive.set(!1),this.form._events.next(new Wle(this.form))}_updateDomValue(){this.directives.forEach(a=>{let f=a.control,g=this.form.get(a.path);f!==g&&(eZ(f||null,a),f_e(g)&&($Q(g,a,this.callSetDisabledState),a.control=g))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(a){let f=this.form.get(a.path);c_e(f,a),f.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(a){if(this.form){let f=this.form.get(a.path);f&&u_e(f,a)&&f.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qle(this.form,this),this._oldForm&&nZ(this._oldForm,this)}static \u0275fac=function(f){return new(f||p)(ls(l9,10),ls(iZ,10),ls(QV,8))};static \u0275dir=Dl({type:p,selectors:[["","formGroup",""]],hostBindings:function(f,g){f&1&&_i("submit",function(q){return g.onSubmit(q)})("reset",function(){return g.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[dl([v_e]),el,Gd]})}return p})();var g_e={provide:CS,useExisting:o3(()=>ZV)},ZV=(()=>{class p extends CS{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(a){}model;update=new ns;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(a,f,g,D,q){super(),this._ngModelWarningConfig=q,this._parent=a,this._setValidators(f),this._setAsyncValidators(g),this.valueAccessor=Kle(this,D)}ngOnChanges(a){this._added||this._setUpControl(),Zle(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(a){this.viewModel=a,this.update.emit(a)}get path(){return pme(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(f){return new(f||p)(ls(dL,13),ls(l9,10),ls(iZ,10),ls(DA,10),ls(Jle,8))};static \u0275dir=Dl({type:p,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[dl([g_e]),el,Gd]})}return p})();var y_e=(()=>{class p{_validator=XQ;_onChange;_enabled;ngOnChanges(a){if(this.inputName in a){let f=this.normalizeInput(a[this.inputName].currentValue);this._enabled=this.enabled(f),this._validator=this._enabled?this.createValidator(f):XQ,this._onChange&&this._onChange()}}validate(a){return this._validator(a)}registerOnValidatorChange(a){this._onChange=a}enabled(a){return a!=null}static \u0275fac=function(f){return new(f||p)};static \u0275dir=Dl({type:p,features:[Gd]})}return p})();var M_e={provide:l9,useExisting:o3(()=>e0e),multi:!0};var e0e=(()=>{class p extends y_e{required;inputName="required";normalizeInput=Ss;createValidator=a=>Jfe;enabled(a){return a}static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275dir=Dl({type:p,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(f,g){f&2&&Tl("required",g._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[dl([M_e]),el]})}return p})();var fme=(()=>{class p{static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({})}return p})(),jle=class extends MB{constructor(h,a,f){super(Yle(a),Xle(f,a)),this.controls=h,this._initObservables(),this._setUpdateStrategy(a),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(h){return this.controls[this._adjustIndex(h)]}push(h,a={}){this.controls.push(h),this._registerControl(h),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}insert(h,a,f={}){this.controls.splice(h,0,a),this._registerControl(a),this.updateValueAndValidity({emitEvent:f.emitEvent})}removeAt(h,a={}){let f=this._adjustIndex(h);f<0&&(f=0),this.controls[f]&&this.controls[f]._registerOnCollectionChange(()=>{}),this.controls.splice(f,1),this.updateValueAndValidity({emitEvent:a.emitEvent})}setControl(h,a,f={}){let g=this._adjustIndex(h);g<0&&(g=0),this.controls[g]&&this.controls[g]._registerOnCollectionChange(()=>{}),this.controls.splice(g,1),a&&(this.controls.splice(g,0,a),this._registerControl(a)),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(h,a={}){dme(this,!1,h),h.forEach((f,g)=>{ume(this,!1,g),this.at(g).setValue(f,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}patchValue(h,a={}){h!=null&&(h.forEach((f,g)=>{this.at(g)&&this.at(g).patchValue(f,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}reset(h=[],a={}){this._forEachChild((f,g)=>{f.reset(h[g],{onlySelf:!0,emitEvent:a.emitEvent})}),this._updatePristine(a,this),this._updateTouched(a,this),this.updateValueAndValidity(a)}getRawValue(){return this.controls.map(h=>h.getRawValue())}clear(h={}){this.controls.length<1||(this._forEachChild(a=>a._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:h.emitEvent}))}_adjustIndex(h){return h<0?h+this.length:h}_syncPendingControls(){let h=this.controls.reduce((a,f)=>f._syncPendingControls()?!0:a,!1);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_forEachChild(h){this.controls.forEach((a,f)=>{h(a,f)})}_updateValue(){this.value=this.controls.filter(h=>h.enabled||this.disabled).map(h=>h.value)}_anyControls(h){return this.controls.some(a=>a.enabled&&h(a))}_setUpControls(){this._forEachChild(h=>this._registerControl(h))}_allControlsDisabled(){for(let h of this.controls)if(h.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(h){h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)}_find(h){return this.at(h)??null}};function Zfe(p){return!!p&&(p.asyncValidators!==void 0||p.validators!==void 0||p.updateOn!==void 0)}var oZ=(()=>{class p{useNonNullable=!1;get nonNullable(){let a=new p;return a.useNonNullable=!0,a}group(a,f=null){let g=this._reduceControls(a),D={};return Zfe(f)?D=f:f!==null&&(D.validators=f.validator,D.asyncValidators=f.asyncValidator),new hL(g,D)}record(a,f=null){let g=this._reduceControls(a);return new Ule(g,f)}control(a,f,g){let D={};return this.useNonNullable?(Zfe(f)?D=f:(D.validators=f,D.asyncValidators=g),new XR(a,Nd(k0({},D),{nonNullable:!0}))):new XR(a,f,g)}array(a,f,g){let D=a.map(q=>this._createControl(q));return new jle(D,f,g)}_reduceControls(a){let f={};return Object.keys(a).forEach(g=>{f[g]=this._createControl(a[g])}),f}_createControl(a){if(a instanceof XR)return a;if(a instanceof MB)return a;if(Array.isArray(a)){let f=a[0],g=a.length>1?a[1]:null,D=a.length>2?a[2]:null;return this.control(f,g,D)}else return this.control(a)}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var pC=(()=>{class p{static withConfig(a){return{ngModule:p,providers:[{provide:QV,useValue:a.callSetDisabledState??rZ}]}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({imports:[fme]})}return p})(),SA=(()=>{class p{static withConfig(a){return{ngModule:p,providers:[{provide:Jle,useValue:a.warnOnNgModelWithFormControl??"always"},{provide:QV,useValue:a.callSetDisabledState??rZ}]}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({imports:[fme]})}return p})();var I_e=["content"],A_e=["scroll"],O_e=["padding"],vme=["*"],JV=p=>({searchTerm:p});function w_e(p,h){if(p&1&&(ln(0,"div",3),ey(1,6),vn()),p&2){let a=on();Kt(),Rn("ngTemplateOutlet",a.headerTemplate)("ngTemplateOutletContext",Wf(2,JV,a.filterValue))}}function __e(p,h){if(p&1&&(ln(0,"div",5),ey(1,6),vn()),p&2){let a=on();Kt(),Rn("ngTemplateOutlet",a.footerTemplate)("ngTemplateOutletContext",Wf(2,JV,a.filterValue))}}var T_e=["searchInput"],E_e=["clearButton"],C_e=(p,h,a)=>({item:p,clear:h,label:a}),D_e=(p,h)=>({items:p,clear:h}),S_e=(p,h,a,f)=>({item:p,item$:h,index:a,searchTerm:f});function z_e(p,h){if(p&1&&(ln(0,"div",19),Os(1),vn()),p&2){let a=on(2);Kt(),s0(a.placeholder)}}function R_e(p,h){}function L_e(p,h){if(p&1&&as(0,z_e,2,1,"ng-template",null,1,OA)(2,R_e,0,0,"ng-template",18),p&2){let a=lf(1),f=on();Kt(2),Rn("ngTemplateOutlet",f.placeholderTemplate||a)}}function x_e(p,h){if(p&1){let a=zr();ln(0,"span",22),_i("click",function(){Ci(a);let g=on().$implicit,D=on(2);return Di(D.unselect(g))}),Os(1,"\xD7"),vn(),Rs(2,"span",23)}if(p&2){let a=on().$implicit,f=on(2);Kt(2),Rn("ngItemLabel",a.label)("escape",f.escapeHTML)}}function N_e(p,h){}function P_e(p,h){if(p&1&&(ln(0,"div",21),as(1,x_e,3,2,"ng-template",null,2,OA)(3,N_e,0,0,"ng-template",12),vn()),p&2){let a=h.$implicit,f=lf(2),g=on(2);ul("ng-value-disabled",a.disabled),Kt(3),Rn("ngTemplateOutlet",g.labelTemplate||f)("ngTemplateOutletContext",ty(4,C_e,a.value,g.clearItem,a.label))}}function B_e(p,h){if(p&1&&vp(0,P_e,4,8,"div",20,nle().trackByOption,!0),p&2){let a=on();gp(a.selectedItems)}}function k_e(p,h){}function H_e(p,h){if(p&1&&as(0,k_e,0,0,"ng-template",12),p&2){let a=on();Rn("ngTemplateOutlet",a.multiLabelTemplate)("ngTemplateOutletContext",ry(2,D_e,a.selectedValues,a.clearItem))}}function F_e(p,h){p&1&&Rs(0,"div",24)}function q_e(p,h){}function W_e(p,h){if(p&1&&as(0,F_e,1,0,"ng-template",null,3,OA)(2,q_e,0,0,"ng-template",18),p&2){let a=lf(1),f=on();Kt(2),Rn("ngTemplateOutlet",f.loadingSpinnerTemplate||a)}}function U_e(p,h){if(p&1&&ey(0,18),p&2){let a=on(2);Rn("ngTemplateOutlet",a.clearButtonTemplate)}}function j_e(p,h){if(p&1&&(ln(0,"span",25,4)(2,"span",26),Os(3,"\xD7"),vn()()),p&2){let a=on(2);Io("title",a.clearAllText)}}function G_e(p,h){if(p&1&&as(0,U_e,1,1,"ng-container",18)(1,j_e,4,1,"span",25),p&2){let a=on();Js(a.clearButtonTemplate?0:1)}}function V_e(p,h){if(p&1&&Rs(0,"span",31),p&2){let a=on().$implicit,f=on(2);Rn("ngItemLabel",a.label)("escape",f.escapeHTML)}}function Y_e(p,h){}function X_e(p,h){if(p&1){let a=zr();ln(0,"div",30),_i("click",function(){let g=Ci(a).$implicit,D=on(2);return Di(D.toggleItem(g))})("mouseover",function(){let g=Ci(a).$implicit,D=on(2);return Di(D.onItemHover(g))}),as(1,V_e,1,2,"ng-template",null,5,OA)(3,Y_e,0,0,"ng-template",12),vn()}if(p&2){let a=h.$implicit,f=lf(2),g=on(2);ul("ng-option-disabled",a.disabled)("ng-option-selected",a.selected)("ng-optgroup",a.children)("ng-option",!a.children)("ng-option-child",!!a.parent)("ng-option-marked",a===g.itemsList.markedItem),Tl("role",a.children?"group":"option")("aria-selected",a.selected)("id",a==null?null:a.htmlId),Kt(3),Rn("ngTemplateOutlet",a.children?g.optgroupTemplate||f:g.optionTemplate||f)("ngTemplateOutletContext",IQ(17,S_e,a.value,a,a.index,g.searchTerm))}}function Q_e(p,h){if(p&1&&(ln(0,"span")(1,"span",33),Os(2),vn(),Os(3),vn()),p&2){let a=on(3);Kt(2),s0(a.addTagText),Kt(),ga('"',a.searchTerm,'"')}}function Z_e(p,h){}function K_e(p,h){if(p&1){let a=zr();ln(0,"div",32),_i("mouseover",function(){Ci(a);let g=on(2);return Di(g.itemsList.unmarkItem())})("click",function(){Ci(a);let g=on(2);return Di(g.selectTag())}),as(1,Q_e,4,2,"ng-template",null,6,OA)(3,Z_e,0,0,"ng-template",12),vn()}if(p&2){let a=lf(2),f=on(2);ul("ng-option-marked",!f.itemsList.markedItem),Kt(3),Rn("ngTemplateOutlet",f.tagTemplate||a)("ngTemplateOutletContext",Wf(4,JV,f.searchTerm))}}function J_e(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.notFoundText)}}function $_e(p,h){}function eTe(p,h){if(p&1&&as(0,J_e,2,1,"ng-template",null,7,OA)(2,$_e,0,0,"ng-template",12),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.notFoundTemplate||a)("ngTemplateOutletContext",Wf(2,JV,f.searchTerm))}}function tTe(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.typeToSearchText)}}function nTe(p,h){}function iTe(p,h){if(p&1&&as(0,tTe,2,1,"ng-template",null,8,OA)(2,nTe,0,0,"ng-template",18),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.typeToSearchTemplate||a)}}function sTe(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.loadingText)}}function rTe(p,h){}function aTe(p,h){if(p&1&&as(0,sTe,2,1,"ng-template",null,9,OA)(2,rTe,0,0,"ng-template",12),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.loadingTextTemplate||a)("ngTemplateOutletContext",Wf(2,JV,f.searchTerm))}}function oTe(p,h){if(p&1){let a=zr();ln(0,"ng-dropdown-panel",27),_i("update",function(g){Ci(a);let D=on();return Di(D.viewPortItems=g)})("scroll",function(g){Ci(a);let D=on();return Di(D.scroll.emit(g))})("scrollToEnd",function(g){Ci(a);let D=on();return Di(D.scrollToEnd.emit(g))})("outsideClick",function(){Ci(a);let g=on();return Di(g.close())}),cC(1),vp(2,X_e,4,22,"div",28,nle().trackByOption,!0),as(4,K_e,4,6,"div",29),uC(),as(5,eTe,3,4)(6,iTe,3,1)(7,aTe,3,4),vn()}if(p&2){let a=on();ul("ng-select-multiple",a.multiple),Rn("virtualScroll",a.virtualScroll)("bufferAmount",a.bufferAmount)("appendTo",a.appendTo)("position",a.dropdownPosition)("headerTemplate",a.headerTemplate)("footerTemplate",a.footerTemplate)("filterValue",a.searchTerm)("items",a.itemsList.filteredItems)("markedItem",a.itemsList.markedItem)("ngClass",a.appendTo?a.ngClass?a.ngClass:a.classes:null)("id",a.dropdownId),Tl("aria-label",a.ariaLabelDropdown),Kt(2),gp(a.viewPortItems),Kt(2),Js(a.showAddTag?4:-1),Kt(),Js(a.showNoItemsFound()?5:-1),Kt(),Js(a.showTypeToSearch()?6:-1),Kt(),Js(a.loading&&a.itemsList.filteredItems.length===0?7:-1)}}var gme=/[&<>"']/g,lTe=RegExp(gme.source),cTe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function uTe(p){return p&&lTe.test(p)?p.replace(gme,h=>cTe[h]):p}function iM(p){return p!=null}function KV(p){return typeof p=="object"&&iM(p)}function dTe(p){return p instanceof Promise}function cZ(p){return p instanceof Function}var pTe=(()=>{class p{constructor(a){this.element=a,this.escape=!0}ngOnChanges(a){this.element.nativeElement.innerHTML=this.escape?uTe(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(f){return new(f||p)(ls(Cl))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[Gd]})}}return p})(),hTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-option-tmp",""]]})}}return p})(),fTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-optgroup-tmp",""]]})}}return p})(),mTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-label-tmp",""]]})}}return p})(),bTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-multi-label-tmp",""]]})}}return p})(),vTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-header-tmp",""]]})}}return p})(),gTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-footer-tmp",""]]})}}return p})(),yTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-notfound-tmp",""]]})}}return p})(),MTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-placeholder-tmp",""]]})}}return p})(),ITe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-typetosearch-tmp",""]]})}}return p})(),ATe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-loadingtext-tmp",""]]})}}return p})(),OTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-tag-tmp",""]]})}}return p})(),wTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-loadingspinner-tmp",""]]})}}return p})(),_Te=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-clearbutton-tmp",""]]})}}return p})();function yme(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var TTe={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function lZ(p){let h=a=>TTe[a]||a;return p.replace(/[^\u0000-\u007E]/g,h)}var t0e=class{constructor(h,a){this._ngSelect=h,this._selectionModel=a,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let h=this.selectedItems.length-1;for(;h>=0;h--){let a=this.selectedItems[h];if(!a.disabled)return a}return null}setItems(h){this._items=h.map((a,f)=>this.mapItem(a,f)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(h){if(h.selected||this.maxItemsSelected)return;let a=this._ngSelect.multiple;a||this.clearSelected(),this._selectionModel.select(h,a,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(h)}unselect(h){h.selected&&(this._selectionModel.unselect(h,this._ngSelect.multiple),this._ngSelect.hideSelected&&iM(h.index)&&this._ngSelect.multiple&&this._showSelected(h))}findItem(h){let a;return this._ngSelect.compareWith?a=f=>this._ngSelect.compareWith(f.value,h):this._ngSelect.bindValue?a=f=>!f.children&&this.resolveNested(f.value,this._ngSelect.bindValue)===h:a=f=>f.value===h||!f.children&&f.label&&f.label===this.resolveNested(h,this._ngSelect.bindLabel),this._items.find(f=>a(f))}addItem(h){let a=this.mapItem(h,this._items.length);return this._items.push(a),this._filteredItems.push(a),a}clearSelected(h=!1){this._selectionModel.clear(h),this._items.forEach(a=>{a.selected=h&&a.selected&&a.disabled,a.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(h){return h=lZ(h).toLocaleLowerCase(),this.filteredItems.find(a=>lZ(a.label).toLocaleLowerCase().substr(0,h.length)===h)}filter(h){if(!h){this.resetFilteredItems();return}this._filteredItems=[],h=this._ngSelect.searchFn?h:lZ(h).toLocaleLowerCase();let a=this._ngSelect.searchFn||this._defaultSearchFn,f=this._ngSelect.hideSelected;for(let g of Array.from(this._groups.keys())){let D=[];for(let q of this._groups.get(g)){if(f&&(q.parent&&q.parent.selected||q.selected))continue;let de=this._ngSelect.searchFn?q.value:q;a(h,de)&&D.push(q)}if(D.length>0){let[q]=D.slice(-1);if(q.parent){let de=this._items.find(G=>G===q.parent);this._filteredItems.push(de)}this._filteredItems.push(...D)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(h=>!h.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(h){this._markedIndex=this._filteredItems.indexOf(h)}markSelectedOrDefault(h){if(this._filteredItems.length===0)return;let a=this._getLastMarkedIndex();a>-1?this._markedIndex=a:this._markedIndex=h?this.filteredItems.findIndex(f=>!f.disabled):-1}resolveNested(h,a){if(!KV(h))return h;if(a.indexOf(".")===-1)return h[a];{let f=a.split("."),g=h;for(let D=0,q=f.length;D<q;++D){if(g==null)return null;g=g[f[D]]}return g}}mapItem(h,a){let f=iM(h.$ngOptionLabel)?h.$ngOptionLabel:this.resolveNested(h,this._ngSelect.bindLabel),g=iM(h.$ngOptionValue)?h.$ngOptionValue:h;return{index:a,label:iM(f)?f.toString():"",value:g,disabled:h.disabled,htmlId:`${this._ngSelect.dropdownId}-${a}`}}mapSelectedItems(){let h=this._ngSelect.multiple;for(let a of this.selectedItems){let f=this._ngSelect.bindValue?this.resolveNested(a.value,this._ngSelect.bindValue):a.value,g=iM(f)?this.findItem(f):null;this._selectionModel.unselect(a,h),this._selectionModel.select(g||a,h,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(a=>this.selectedItems.indexOf(a)===-1))}_showSelected(h){if(this._filteredItems.push(h),h.parent){let a=h.parent;this._filteredItems.find(g=>g===a)||this._filteredItems.push(a)}else if(h.children)for(let a of h.children)a.selected=!1,this._filteredItems.push(a);this._filteredItems=[...this._filteredItems.sort((a,f)=>a.index-f.index)]}_hideSelected(h){this._filteredItems=this._filteredItems.filter(a=>a!==h),h.parent?h.parent.children.every(f=>f.selected)&&(this._filteredItems=this._filteredItems.filter(f=>f!==h.parent)):h.children&&(this._filteredItems=this.filteredItems.filter(a=>a.parent!==h))}_defaultSearchFn(h,a){return lZ(a.label).toLocaleLowerCase().indexOf(h)>-1}_getNextItemIndex(h){return h>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(h){this._filteredItems.length===0||this._filteredItems.every(a=>a.disabled)||(this._markedIndex=this._getNextItemIndex(h),this.markedItem.disabled&&this._stepToItem(h))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let h=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&h<0?-1:Math.max(this.markedIndex,h)}_groupBy(h,a){let f=new Map;if(h.length===0)return f;if(Array.isArray(h[0].value[a])){for(let q of h){let de=(q.value[a]||[]).map((G,ee)=>this.mapItem(G,ee));f.set(q,de)}return f}let g=cZ(this._ngSelect.groupBy),D=q=>{let de=g?a(q.value):q.value[a];return iM(de)?de:void 0};for(let q of h){let de=D(q),G=f.get(de);G?G.push(q):f.set(de,[q])}return f}_flatten(h){let a=cZ(this._ngSelect.groupBy),f=[];for(let g of Array.from(h.keys())){let D=f.length;if(g===void 0){let ye=h.get(void 0)||[];f.push(...ye.map(je=>(je.index=D++,je)));continue}let q=KV(g),de={label:q?"":String(g),children:void 0,parent:null,index:D++,disabled:!this._ngSelect.selectableGroup,htmlId:yme()},G=a?this._ngSelect.bindLabel:this._ngSelect.groupBy,ee=this._ngSelect.groupValue||(()=>q?g.value:{[G]:g}),fe=h.get(g).map(ye=>(ye.parent=de,ye.children=void 0,ye.index=D++,ye));de.children=fe,de.value=ee(g,fe.map(ye=>ye.value)),f.push(de),f.push(...fe)}return f}},Mme=(()=>{class p{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(a,f,g){let D=this._dimensions,q=D.itemHeight*f,G=Math.max(0,a)/q*f,ee=Math.min(f,Math.ceil(G)+(D.itemsPerViewport+1)),ye=Math.max(0,ee-D.itemsPerViewport),je=Math.min(ye,Math.floor(G)),$e=D.itemHeight*Math.ceil(je)-D.itemHeight*Math.min(je,g);return $e=isNaN($e)?0:$e,je=isNaN(je)?-1:je,ee=isNaN(ee)?-1:ee,je-=g,je=Math.max(0,je),ee+=g,ee=Math.min(f,ee),{topPadding:$e,scrollHeight:q,start:je,end:ee}}setDimensions(a,f){let g=Math.max(1,Math.floor(f/a));this._dimensions={itemHeight:a,panelHeight:f,itemsPerViewport:g}}getScrollTo(a,f,g){let{panelHeight:D}=this.dimensions,q=a+f,de=g,G=de+D;return D>=q&&g===a?null:q>G?de+q-G:a<=de?a:null}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac})}}return p})(),mme=["top","right","bottom","left"],ETe=typeof requestAnimationFrame<"u"?YY:jY,bme=(()=>{class p{constructor(a,f,g,D,q){this._renderer=a,this._zone=f,this._panelService=g,this._document=q,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new ns,this.scroll=new ns,this.scrollToEnd=new ns,this.outsideClick=new ns,this._destroy$=new H0,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=D.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(a){a!==this._itemsLength&&(this._itemsLength=a,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:a,panelHeight:f}=this._panelService.dimensions,g=this.markedItem.index*a;return f>g?0:g}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(a){if(a.items){let f=a.items;this._onItemsChange(f.currentValue,f.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(a,f=!1){if(!a)return;let g=this.items.indexOf(a);if(g<0||g>=this.itemsLength)return;let D;if(this.virtualScroll){let q=this._panelService.dimensions.itemHeight;D=this._panelService.getScrollTo(g*q,q,this._lastScrollPosition)}else{let q=this._dropdown.querySelector(`#${a.htmlId}`),de=f?q.offsetTop:this._lastScrollPosition;D=this._panelService.getScrollTo(q.offsetTop,q.clientHeight,de)}iM(D)&&(this._scrollablePanel.scrollTop=D)}scrollToTag(){let a=this._scrollablePanel;a.scrollTop=a.scrollHeight-a.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),mme.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(a){mme.forEach(g=>{let D=`ng-select-${g}`;this._renderer.removeClass(this._dropdown,D),this._renderer.removeClass(this._select,D)});let f=`ng-select-${a}`;this._renderer.addClass(this._dropdown,f),this._renderer.addClass(this._select,f)}_handleScroll(){this._zone.runOutsideAngular(()=>{iL(this.scrollElementRef.nativeElement,"scroll").pipe(eM(this._destroy$),B9(0,ETe)).subscribe(a=>{let f=a.path||a.composedPath&&a.composedPath();if(!f||f.length===0&&!a.target)return;let g=!f||f.length===0?a.target.scrollTop:f[0].scrollTop;this._onContentScrolled(g)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{T_(iL(this._document,"touchstart",{capture:!0}),iL(this._document,"click",{capture:!0})).pipe(eM(this._destroy$)).subscribe(a=>this._checkToClose(a))})}_checkToClose(a){if(this._select.contains(a.target)||this._dropdown.contains(a.target))return;let f=a.path||a.composedPath&&a.composedPath();a.target&&a.target.shadowRoot&&f&&f[0]&&this._select.contains(f[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(a,f){this.items=a||[],this._scrollToEndFired=!1,this.itemsLength=a.length,this.virtualScroll?this._updateItemsRange(f):(this._setVirtualHeight(),this._updateItems(f))}_updateItems(a){this.update.emit(this.items),a!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let f=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,f),this._handleDropdownPosition(),this.scrollTo(this.markedItem,a)})})}_updateItemsRange(a){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{a?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(a){this.virtualScroll&&this._renderItemsRange(a),this._lastScrollPosition=a,this._fireScrollToEnd(a)}_updateVirtualHeight(a){this._updateScrollHeight&&(this._virtualPadding.style.height=`${a}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(a=null){if(a&&this._lastScrollPosition===a)return;a=a||this._scrollablePanel.scrollTop;let f=this._panelService.calculateItems(a,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(f.scrollHeight),this._contentPanel.style.transform=`translateY(${f.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(f.start,f.end)),this.scroll.emit({start:f.start,end:f.end})}),iM(a)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=a,this._lastScrollPosition=a)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[a]=this.items;return this.update.emit([a]),Promise.resolve().then(()=>{let g=this._dropdown.querySelector(`#${a.htmlId}`).clientHeight;this._virtualPadding.style.height=`${g*this.itemsLength}px`;let D=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(g,D),this._panelService.dimensions})}_fireScrollToEnd(a){if(this._scrollToEndFired||a===0)return;let f=this.virtualScroll?this._virtualPadding:this._contentPanel;a+this._dropdown.clientHeight>=f.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(a){if(this.position!=="auto")return this.position;let f=this._select.getBoundingClientRect(),g=document.documentElement.scrollTop||document.body.scrollTop,D=f.top+window.pageYOffset,q=f.height,de=a.getBoundingClientRect().height;return D+q+de>g+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let a=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),g=a.left-f.left;this._dropdown.style.left=g+"px",this._dropdown.style.width=a.width+"px",this._dropdown.style.minWidth=a.width+"px"}_updateYPosition(){let a=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),g=a.height;if(this._currentPosition==="top"){let D=f.bottom-a.bottom;this._dropdown.style.bottom=D+g+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let D=a.top-f.top;this._dropdown.style.top=D+g+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{iL(this._dropdown,"mousedown").pipe(eM(this._destroy$)).subscribe(a=>{a.target.tagName!=="INPUT"&&a.preventDefault()})})}static{this.\u0275fac=function(f){return new(f||p)(ls(CI),ls(Qu),ls(Mme),ls(Cl),ls(Uf,8))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-dropdown-panel"]],viewQuery:function(f,g){if(f&1&&($1(I_e,7,Cl),$1(A_e,7,Cl),$1(O_e,7,Cl)),f&2){let D;f0(D=m0())&&(g.contentElementRef=D.first),f0(D=m0())&&(g.scrollElementRef=D.first),f0(D=m0())&&(g.paddingElementRef=D.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",Ss],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Gd],ngContentSelectors:vme,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(f,g){f&1&&(Qf(),as(0,w_e,2,4,"div",3),ln(1,"div",4,0),Rs(3,"div",null,1),ln(5,"div",null,2),Fd(7),vn()(),as(8,__e,2,4,"div",5)),f&2&&(Js(g.headerTemplate?0:-1),Kt(3),ul("total-padding",g.virtualScroll),Kt(2),ul("scrollable-content",g.virtualScroll&&g.items.length),Kt(3),Js(g.footerTemplate?8:-1))},dependencies:[tC],encapsulation:2,changeDetection:0})}}return p})(),ZR=(()=>{class p{constructor(a){this.elementRef=a,this.disabled=!1,this.stateChange$=new H0}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(a){a.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(f){return new(f||p)(ls(Cl))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",Ss]},features:[Gd],ngContentSelectors:vme,decls:1,vars:0,template:function(f,g){f&1&&(Qf(),Fd(0))},encapsulation:2,changeDetection:0})}}return p})(),DS=function(p){return p[p.Tab=9]="Tab",p[p.Enter=13]="Enter",p[p.Esc=27]="Esc",p[p.Space=32]="Space",p[p.ArrowUp=38]="ArrowUp",p[p.ArrowDown=40]="ArrowDown",p[p.Backspace=8]="Backspace",p}(DS||{});function Ime(){return new n0e}var n0e=class{constructor(){this._selected=[]}get value(){return this._selected}select(h,a,f){if(h.selected=!0,(!h.children||!a&&f)&&this._selected.push(h),a)if(h.parent){let g=h.parent.children.length,D=h.parent.children.filter(q=>q.selected).length;h.parent.selected=g===D}else h.children&&(this._setChildrenSelectedState(h.children,!0),this._removeChildren(h),f&&this._activeChildren(h)?this._selected=[...this._selected.filter(g=>g.parent!==h),h]:this._selected=[...this._selected,...h.children.filter(g=>!g.disabled)])}unselect(h,a){if(this._selected=this._selected.filter(f=>f!==h),h.selected=!1,a)if(h.parent&&h.parent.selected){let f=h.parent.children;this._removeParent(h.parent),this._removeChildren(h.parent),this._selected.push(...f.filter(g=>g!==h&&!g.disabled)),h.parent.selected=!1}else h.children&&(this._setChildrenSelectedState(h.children,!1),this._removeChildren(h))}clear(h){this._selected=h?this._selected.filter(a=>a.disabled):[]}_setChildrenSelectedState(h,a){for(let f of h)f.disabled||(f.selected=a)}_removeChildren(h){this._selected=[...this._selected.filter(a=>a.parent!==h),...h.children.filter(a=>a.parent===h&&a.disabled&&a.selected)]}_removeParent(h){this._selected=this._selected.filter(a=>a!==h)}_activeChildren(h){return h.children.every(a=>!a.disabled||a.selected)}},CTe=(()=>{class p{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),DTe=(()=>{class p{warn(a){console.warn(a)}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),Ame=new Mo("ng-select-selection-model"),mL=(()=>{class p{constructor(a,f,g,D,q,de,G){this.classes=a,this.autoFocus=f,this.config=g,this._cd=de,this._console=G,this.ariaLabelDropdown="Options List",this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new ns,this.focusEvent=new ns,this.changeEvent=new ns,this.openEvent=new ns,this.closeEvent=new ns,this.searchEvent=new ns,this.clearEvent=new ns,this.addEvent=new ns,this.removeEvent=new ns,this.scroll=new ns,this.scrollToEnd=new ns,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=yme(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new H0,this._keyPress$=new H0,this._items=[],this.keyDownFn=ee=>!0,this.clearItem=ee=>{let fe=this.selectedItems.find(ye=>ye.value===ee);this.unselect(fe)},this.trackByOption=(ee,fe)=>this.trackByFn?this.trackByFn(fe.value):fe,this._onChange=ee=>{},this._onTouched=()=>{},this._mergeGlobalConfig(g),this.itemsList=new t0e(this,D?D():Ime()),this.element=q.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(a){this._itemsAreUsed=!0,this._items=a??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(a){if(a!=null&&!cZ(a))throw Error("`compareWith` must be a function.");this._compareWith=a}get clearSearchOnAdd(){return iM(this._clearSearchOnAdd)?this._clearSearchOnAdd:iM(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(a){this._clearSearchOnAdd=a}get deselectOnClick(){return iM(this._deselectOnClick)?this._deselectOnClick:iM(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(a){this._deselectOnClick=a}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(a=>a.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let a=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(f=>f.label.toLowerCase()===a)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(f=>f.label.toLowerCase()===a))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let a=this.searchTerm&&this.searchTerm.trim();return a&&a.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(a){a.multiple&&this.itemsList.clearSelected(),a.items&&this._setItems(a.items.currentValue||[]),a.isOpen&&(this._manualOpen=iM(a.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),iM(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(a){if(DS[a.which]){if(this.keyDownFn(a)===!1)return;this.handleKeyCode(a)}else a.key&&a.key.length===1&&this._keyPress$.next(a.key.toLocaleLowerCase())}handleKeyCode(a){let f=a.target;this.clearButton&&this.clearButton.nativeElement===f?this.handleKeyCodeClear(a):this.handleKeyCodeInput(a)}handleKeyCodeInput(a){switch(a.which){case DS.ArrowDown:this._handleArrowDown(a);break;case DS.ArrowUp:this._handleArrowUp(a);break;case DS.Space:this._handleSpace(a);break;case DS.Enter:this._handleEnter(a);break;case DS.Tab:this._handleTab(a);break;case DS.Esc:this.close(),a.preventDefault();break;case DS.Backspace:this._handleBackspace();break}}handleKeyCodeClear(a){switch(a.which){case DS.Enter:this.handleClearClick(),a.preventDefault();break}}handleMousedown(a){if(this.preventToggleOnRightClick&&a.button===2)return!1;let f=a.target;if(f.tagName!=="INPUT"&&a.preventDefault(),f.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(f.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}f.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(a){this.itemsList.clearSelected(),this._handleWriteValue(a),this._cd.markForCheck()}registerOnChange(a){this._onChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this._disabled=a,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(a){!a||a.disabled||this.disabled||(this.deselectOnClick&&a.selected?this.unselect(a):this.select(a),this._editableSearchTerm&&this._setSearchTermFromItems())}select(a){a.selected||(this.itemsList.select(a),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(a.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(a){a&&(this.itemsList.unselect(a),this.focus(),this._updateNgModel(),this.removeEvent.emit(a.value),this._onSelectionChanged())}selectTag(){let a;cZ(this.addTag)?a=this.addTag(this.searchTerm):a=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let f=g=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(g,null):this.itemsList.addItem(g);dTe(a)?a.then(g=>this.select(f(g))).catch(()=>{}):a&&this.select(f(a))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let a=this.itemsList.filteredItems.length===0;return(a&&!this._isTypeahead&&!this.loading||a&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(a){this._isComposing=!1,!this.searchWhileComposing&&this.filter(a)}filter(a){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=a,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(a),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:a,items:this.itemsList.filteredItems.map(f=>f.value)}),this.open())}onInputFocus(a){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(a),this.focused=!0)}onInputBlur(a){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(a),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(a){a.disabled||this.itemsList.markItem(a)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let a=this.selectedItems&&this.selectedItems[0];this.searchTerm=a&&a.label||null}_setItems(a){let f=a[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=iM(f)?!KV(f):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(a),a.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&iM(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let a=g=>{this.items=g.map(D=>({$ngOptionValue:D.value,$ngOptionLabel:D.elementRef.nativeElement.innerHTML,disabled:D.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},f=()=>{let g=T_(this.ngOptions.changes,this._destroy$);T_(...this.ngOptions.map(D=>D.stateChange$)).pipe(eM(g)).subscribe(D=>{let q=this.itemsList.findItem(D.value);q.disabled=D.disabled,q.label=D.label||q.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Q6(this.ngOptions),eM(this._destroy$)).subscribe(g=>{this.bindLabel=this._defaultLabel,a(g),f()})}_isValidWriteValue(a){if(!iM(a)||this.multiple&&a===""||Array.isArray(a)&&a.length===0)return!1;let f=g=>!iM(this.compareWith)&&KV(g)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(g)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(a)?a.every(g=>f(g)):(this._console.warn("Multiple select ngModel should be array."),!1):f(a)}_handleWriteValue(a){if(!this._isValidWriteValue(a))return;let f=g=>{let D=this.itemsList.findItem(g);if(D)this.itemsList.select(D);else{let q=KV(g),de=!q&&!this.bindValue;q||de?this.itemsList.select(this.itemsList.mapItem(g,null)):this.bindValue&&(D={[this.bindLabel]:null,[this.bindValue]:g},this.itemsList.select(this.itemsList.mapItem(D,null)))}};this.multiple?a.forEach(g=>f(g)):f(a)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(eM(this._destroy$),iS(a=>this._pressedKeys.push(a)),HP(200),TA(()=>this._pressedKeys.length>0),Xu(()=>this._pressedKeys.join(""))).subscribe(a=>{let f=this.itemsList.findByLabel(a);f&&(this.isOpen?(this.itemsList.markItem(f),this._scrollToMarked(),this._cd.markForCheck()):this.select(f)),this._pressedKeys=[]})}_setInputAttributes(){let a=this.searchInput.nativeElement,f=k0({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let g of Object.keys(f))a.setAttribute(g,f[g])}_updateNgModel(){let a=[];for(let g of this.selectedItems)if(this.bindValue){let D=null;if(g.children){let q=this.groupValue?this.bindValue:this.groupBy;D=g.value[q||this.groupBy]}else D=this.itemsList.resolveNested(g.value,this.bindValue);a.push(D)}else a.push(g.value);let f=this.selectedItems.map(g=>g.value);this.multiple?(this._onChange(a),this.changeEvent.emit(f)):(this._onChange(iM(a[0])?a[0]:null),this.changeEvent.emit(f[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(a){this.searchTerm=a,this._isTypeahead&&this.typeahead.next(a)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(a){if(this.isOpen===!1){if(this.showClear()&&!a.shiftKey)this.focusOnClear(),a.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),a.preventDefault()):this.showAddTag?(this.selectTag(),a.preventDefault()):this.close():this.close()}_handleEnter(a){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;a.preventDefault()}_handleSpace(a){this.isOpen||this._manualOpen||(this.open(),a.preventDefault())}_handleArrowDown(a){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),a.preventDefault()}_handleArrowUp(a){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),a.preventDefault())}_nextItemIsTag(a){let f=this.itemsList.markedIndex+a;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(f<0||f===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(a){this.placeholder=this.placeholder||a.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||a.fixedPlaceholder,this.notFoundText=this.notFoundText||a.notFoundText,this.typeToSearchText=this.typeToSearchText||a.typeToSearchText,this.addTagText=this.addTagText||a.addTagText,this.loadingText=this.loadingText||a.loadingText,this.clearAllText=this.clearAllText||a.clearAllText,this.virtualScroll=iM(this.virtualScroll)?this.virtualScroll:iM(a.disableVirtualScroll)?!a.disableVirtualScroll:!1,this.openOnEnter=iM(this.openOnEnter)?this.openOnEnter:a.openOnEnter,this.appendTo=this.appendTo||a.appendTo,this.bindValue=this.bindValue||a.bindValue,this.bindLabel=this.bindLabel||a.bindLabel,this.appearance=this.appearance||a.appearance}static{this.\u0275fac=function(f){return new(f||p)(DV("class"),DV("autofocus"),ls(CTe),ls(Ame,8),ls(Cl),ls(Zf),ls(DTe))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-select"]],contentQueries:function(f,g,D){if(f&1&&(MA(D,hTe,5,up),MA(D,fTe,5,up),MA(D,mTe,5,up),MA(D,bTe,5,up),MA(D,vTe,5,up),MA(D,gTe,5,up),MA(D,yTe,5,up),MA(D,MTe,5,up),MA(D,ITe,5,up),MA(D,ATe,5,up),MA(D,OTe,5,up),MA(D,wTe,5,up),MA(D,_Te,5,up),MA(D,ZR,5)),f&2){let q;f0(q=m0())&&(g.optionTemplate=q.first),f0(q=m0())&&(g.optgroupTemplate=q.first),f0(q=m0())&&(g.labelTemplate=q.first),f0(q=m0())&&(g.multiLabelTemplate=q.first),f0(q=m0())&&(g.headerTemplate=q.first),f0(q=m0())&&(g.footerTemplate=q.first),f0(q=m0())&&(g.notFoundTemplate=q.first),f0(q=m0())&&(g.placeholderTemplate=q.first),f0(q=m0())&&(g.typeToSearchTemplate=q.first),f0(q=m0())&&(g.loadingTextTemplate=q.first),f0(q=m0())&&(g.tagTemplate=q.first),f0(q=m0())&&(g.loadingSpinnerTemplate=q.first),f0(q=m0())&&(g.clearButtonTemplate=q.first),f0(q=m0())&&(g.ngOptions=q)}},viewQuery:function(f,g){if(f&1&&($1(bme,5),$1(T_e,7),$1(E_e,5)),f&2){let D;f0(D=m0())&&(g.dropdownPanel=D.first),f0(D=m0())&&(g.searchInput=D.first),f0(D=m0())&&(g.clearButton=D.first)}},hostVars:20,hostBindings:function(f,g){f&1&&_i("keydown",function(q){return g.handleKeyDown(q)}),f&2&&ul("ng-select-typeahead",g.typeahead)("ng-select-multiple",g.multiple)("ng-select-taggable",g.addTag)("ng-select-searchable",g.searchable)("ng-select-clearable",g.clearable)("ng-select-opened",g.isOpen)("ng-select",g.useDefaultClass)("ng-select-filtered",g.filtered)("ng-select-single",g.single)("ng-select-disabled",g.disabled)},inputs:{ariaLabelDropdown:"ariaLabelDropdown",bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",Ss],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",Ss],closeOnSelect:[2,"closeOnSelect","closeOnSelect",Ss],hideSelected:[2,"hideSelected","hideSelected",Ss],selectOnTab:[2,"selectOnTab","selectOnTab",Ss],openOnEnter:[2,"openOnEnter","openOnEnter",Ss],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",J6],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",J6],virtualScroll:[2,"virtualScroll","virtualScroll",Ss],selectableGroup:[2,"selectableGroup","selectableGroup",Ss],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",Ss],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",Ss],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",J6],readonly:[2,"readonly","readonly",Ss],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",Ss],minTermLength:[2,"minTermLength","minTermLength",J6],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",Ss],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",Ss],addTag:"addTag",searchable:[2,"searchable","searchable",Ss],clearable:[2,"clearable","clearable",Ss],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[dl([{provide:DA,useExisting:o3(()=>p),multi:!0},Mme]),Gd],decls:13,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(f,g){if(f&1){let D=zr();ln(0,"div",10),_i("mousedown",function(de){return Ci(D),Di(g.handleMousedown(de))}),ln(1,"div",11),as(2,L_e,3,1)(3,B_e,2,0)(4,H_e,1,5,null,12),ln(5,"div",13)(6,"input",14,0),_i("blur",function(de){return Ci(D),Di(g.onInputBlur(de))})("change",function(de){return Ci(D),Di(de.stopPropagation())})("compositionend",function(){Ci(D);let de=lf(7);return Di(g.onCompositionEnd(de.value))})("compositionstart",function(){return Ci(D),Di(g.onCompositionStart())})("focus",function(de){return Ci(D),Di(g.onInputFocus(de))})("input",function(){Ci(D);let de=lf(7);return Di(g.filter(de.value))}),vn()()(),as(8,W_e,3,1)(9,G_e,2,1),ln(10,"span",15),Rs(11,"span",16),vn()(),as(12,oTe,8,18,"ng-dropdown-panel",17)}f&2&&(ul("ng-appearance-outline",g.appearance==="outline")("ng-has-value",g.hasValue),Kt(2),Js(g.selectedItems.length===0&&!g.searchTerm||g.fixedPlaceholder===!0?2:-1),Kt(),Js((!g.multiLabelTemplate||!g.multiple)&&g.selectedItems.length>0?3:-1),Kt(),Js(g.multiple&&g.multiLabelTemplate&&g.selectedValues.length>0?4:-1),Kt(2),Rn("disabled",g.disabled)("readOnly",!g.searchable||g.itemsList.maxItemsSelected)("value",g.searchTerm?g.searchTerm:""),Tl("aria-activedescendant",g.isOpen?g.itemsList==null||g.itemsList.markedItem==null?null:g.itemsList.markedItem.htmlId:null)("aria-controls",g.isOpen?g.dropdownId:null)("aria-expanded",g.isOpen)("aria-label",g.ariaLabel)("id",g.labelForId)("tabindex",g.tabIndex)("aria-placeholder",g.placeholderTemplate?null:g.placeholder),Kt(2),Js(g.loading?8:-1),Kt(),Js(g.showClear()?9:-1),Kt(3),Js(g.isOpen?12:-1))},dependencies:[tC,pTe,bme,f1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
11650
+ `).forEach(a=>{let f=a.indexOf(":");if(f>0){let g=a.slice(0,f),D=a.slice(f+1).trim();this.addHeaderEntry(g,D)}})}:typeof Headers<"u"&&h instanceof Headers?(this.headers=new Map,h.forEach((a,f)=>{this.addHeaderEntry(f,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(h).forEach(([a,f])=>{this.setHeaderEntries(a,f)})}:this.headers=new Map}has(h){return this.init(),this.headers.has(h.toLowerCase())}get(h){this.init();let a=this.headers.get(h.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(h){return this.init(),this.headers.get(h.toLowerCase())||null}append(h,a){return this.clone({name:h,value:a,op:"a"})}set(h,a){return this.clone({name:h,value:a,op:"s"})}delete(h,a){return this.clone({name:h,value:a,op:"d"})}maybeSetNormalizedName(h,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,h)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(h=>this.applyUpdate(h)),this.lazyUpdate=null))}copyFrom(h){h.init(),Array.from(h.headers.keys()).forEach(a=>{this.headers.set(a,h.headers.get(a)),this.normalizedNames.set(a,h.normalizedNames.get(a))})}clone(h){let a=new p;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([h]),a}applyUpdate(h){let a=h.name.toLowerCase();switch(h.op){case"a":case"s":let f=h.value;if(typeof f=="string"&&(f=[f]),f.length===0)return;this.maybeSetNormalizedName(h.name,a);let g=(h.op==="a"?this.headers.get(a):void 0)||[];g.push(...f),this.headers.set(a,g);break;case"d":let D=h.value;if(!D)this.headers.delete(a),this.normalizedNames.delete(a);else{let q=this.headers.get(a);if(!q)return;q=q.filter(de=>D.indexOf(de)===-1),q.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,q)}break}}addHeaderEntry(h,a){let f=h.toLowerCase();this.maybeSetNormalizedName(h,f),this.headers.has(f)?this.headers.get(f).push(a):this.headers.set(f,[a])}setHeaderEntries(h,a){let f=(Array.isArray(a)?a:[a]).map(D=>D.toString()),g=h.toLowerCase();this.headers.set(g,f),this.maybeSetNormalizedName(h,g)}forEach(h){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>h(this.normalizedNames.get(a),this.headers.get(a)))}};var Sle=class{encodeKey(h){return Mfe(h)}encodeValue(h){return Mfe(h)}decodeKey(h){return decodeURIComponent(h)}decodeValue(h){return decodeURIComponent(h)}};function e5e(p,h){let a=new Map;return p.length>0&&p.replace(/^\?/,"").split("&").forEach(g=>{let D=g.indexOf("="),[q,de]=D==-1?[h.decodeKey(g),""]:[h.decodeKey(g.slice(0,D)),h.decodeValue(g.slice(D+1))],G=a.get(q)||[];G.push(de),a.set(q,G)}),a}var t5e=/%(\d[a-f0-9])/gi,n5e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mfe(p){return encodeURIComponent(p).replace(t5e,(h,a)=>n5e[a]??h)}function HQ(p){return`${p}`}var uL=class p{map;encoder;updates=null;cloneFrom=null;constructor(h={}){if(this.encoder=h.encoder||new Sle,h.fromString){if(h.fromObject)throw new h1(2805,!1);this.map=e5e(h.fromString,this.encoder)}else h.fromObject?(this.map=new Map,Object.keys(h.fromObject).forEach(a=>{let f=h.fromObject[a],g=Array.isArray(f)?f.map(HQ):[HQ(f)];this.map.set(a,g)})):this.map=null}has(h){return this.init(),this.map.has(h)}get(h){this.init();let a=this.map.get(h);return a?a[0]:null}getAll(h){return this.init(),this.map.get(h)||null}keys(){return this.init(),Array.from(this.map.keys())}append(h,a){return this.clone({param:h,value:a,op:"a"})}appendAll(h){let a=[];return Object.keys(h).forEach(f=>{let g=h[f];Array.isArray(g)?g.forEach(D=>{a.push({param:f,value:D,op:"a"})}):a.push({param:f,value:g,op:"a"})}),this.clone(a)}set(h,a){return this.clone({param:h,value:a,op:"s"})}delete(h,a){return this.clone({param:h,value:a,op:"d"})}toString(){return this.init(),this.keys().map(h=>{let a=this.encoder.encodeKey(h);return this.map.get(h).map(f=>a+"="+this.encoder.encodeValue(f)).join("&")}).filter(h=>h!=="").join("&")}clone(h){let a=new p({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(h),a}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(h=>this.map.set(h,this.cloneFrom.map.get(h))),this.updates.forEach(h=>{switch(h.op){case"a":case"s":let a=(h.op==="a"?this.map.get(h.param):void 0)||[];a.push(HQ(h.value)),this.map.set(h.param,a);break;case"d":if(h.value!==void 0){let f=this.map.get(h.param)||[],g=f.indexOf(HQ(h.value));g!==-1&&f.splice(g,1),f.length>0?this.map.set(h.param,f):this.map.delete(h.param)}else{this.map.delete(h.param);break}}}),this.cloneFrom=this.updates=null)}};var zle=class{map=new Map;set(h,a){return this.map.set(h,a),this}get(h){return this.map.has(h)||this.map.set(h,h.defaultValue()),this.map.get(h)}delete(h){return this.map.delete(h),this}has(h){return this.map.has(h)}keys(){return this.map.keys()}};function i5e(p){switch(p){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ife(p){return typeof ArrayBuffer<"u"&&p instanceof ArrayBuffer}function Afe(p){return typeof Blob<"u"&&p instanceof Blob}function Ofe(p){return typeof FormData<"u"&&p instanceof FormData}function s5e(p){return typeof URLSearchParams<"u"&&p instanceof URLSearchParams}var wfe="Content-Type",_fe="Accept",Cfe="X-Request-URL",Dfe="text/plain",Sfe="application/json",r5e=`${Sfe}, ${Dfe}, */*`,kV=class p{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(h,a,f,g){this.url=a,this.method=h.toUpperCase();let D;if(i5e(this.method)||g?(this.body=f!==void 0?f:null,D=g):D=f,D&&(this.reportProgress=!!D.reportProgress,this.withCredentials=!!D.withCredentials,D.responseType&&(this.responseType=D.responseType),D.headers&&(this.headers=D.headers),D.context&&(this.context=D.context),D.params&&(this.params=D.params),this.transferCache=D.transferCache),this.headers??=new o9,this.context??=new zle,!this.params)this.params=new uL,this.urlWithParams=a;else{let q=this.params.toString();if(q.length===0)this.urlWithParams=a;else{let de=a.indexOf("?"),G=de===-1?"?":de<a.length-1?"&":"";this.urlWithParams=a+G+q}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ife(this.body)||Afe(this.body)||Ofe(this.body)||s5e(this.body)?this.body:this.body instanceof uL?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||Ofe(this.body)?null:Afe(this.body)?this.body.type||null:Ife(this.body)?null:typeof this.body=="string"?Dfe:this.body instanceof uL?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Sfe:null}clone(h={}){let a=h.method||this.method,f=h.url||this.url,g=h.responseType||this.responseType,D=h.transferCache??this.transferCache,q=h.body!==void 0?h.body:this.body,de=h.withCredentials??this.withCredentials,G=h.reportProgress??this.reportProgress,ee=h.headers||this.headers,fe=h.params||this.params,ye=h.context??this.context;return h.setHeaders!==void 0&&(ee=Object.keys(h.setHeaders).reduce((je,$e)=>je.set($e,h.setHeaders[$e]),ee)),h.setParams&&(fe=Object.keys(h.setParams).reduce((je,$e)=>je.set($e,h.setParams[$e]),fe)),new p(a,f,q,{params:fe,headers:ee,context:ye,reportProgress:G,responseType:g,withCredentials:de,transferCache:D})}},vB=function(p){return p[p.Sent=0]="Sent",p[p.UploadProgress=1]="UploadProgress",p[p.ResponseHeader=2]="ResponseHeader",p[p.DownloadProgress=3]="DownloadProgress",p[p.Response=4]="Response",p[p.User=5]="User",p}(vB||{}),FV=class{headers;status;statusText;url;ok;type;constructor(h,a=200,f="OK"){this.headers=h.headers||new o9,this.status=h.status!==void 0?h.status:a,this.statusText=h.statusText||f,this.url=h.url||null,this.ok=this.status>=200&&this.status<300}},Rle=class p extends FV{constructor(h={}){super(h)}type=vB.ResponseHeader;clone(h={}){return new p({headers:h.headers||this.headers,status:h.status!==void 0?h.status:this.status,statusText:h.statusText||this.statusText,url:h.url||this.url||void 0})}},qQ=class p extends FV{body;constructor(h={}){super(h),this.body=h.body!==void 0?h.body:null}type=vB.Response;clone(h={}){return new p({body:h.body!==void 0?h.body:this.body,headers:h.headers||this.headers,status:h.status!==void 0?h.status:this.status,statusText:h.statusText||this.statusText,url:h.url||this.url||void 0})}},WQ=class extends FV{name="HttpErrorResponse";message;error;ok=!1;constructor(h){super(h,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${h.url||"(unknown url)"}`:this.message=`Http failure response for ${h.url||"(unknown url)"}: ${h.status} ${h.statusText}`,this.error=h.error||null}},a5e=200,o5e=204;function Dle(p,h){return{body:h,headers:p.headers,context:p.context,observe:p.observe,params:p.params,reportProgress:p.reportProgress,responseType:p.responseType,withCredentials:p.withCredentials,transferCache:p.transferCache}}var qV=(()=>{class p{handler;constructor(a){this.handler=a}request(a,f,g={}){let D;if(a instanceof kV)D=a;else{let G;g.headers instanceof o9?G=g.headers:G=new o9(g.headers);let ee;g.params&&(g.params instanceof uL?ee=g.params:ee=new uL({fromObject:g.params})),D=new kV(a,f,g.body!==void 0?g.body:null,{headers:G,context:g.context,params:ee,reportProgress:g.reportProgress,responseType:g.responseType||"json",withCredentials:g.withCredentials,transferCache:g.transferCache})}let q=Bd(D).pipe(E_(G=>this.handler.handle(G)));if(a instanceof kV||g.observe==="events")return q;let de=q.pipe(TA(G=>G instanceof qQ));switch(g.observe||"body"){case"body":switch(D.responseType){case"arraybuffer":return de.pipe(Xu(G=>{if(G.body!==null&&!(G.body instanceof ArrayBuffer))throw new h1(2806,!1);return G.body}));case"blob":return de.pipe(Xu(G=>{if(G.body!==null&&!(G.body instanceof Blob))throw new h1(2807,!1);return G.body}));case"text":return de.pipe(Xu(G=>{if(G.body!==null&&typeof G.body!="string")throw new h1(2808,!1);return G.body}));case"json":default:return de.pipe(Xu(G=>G.body))}case"response":return de;default:throw new h1(2809,!1)}}delete(a,f={}){return this.request("DELETE",a,f)}get(a,f={}){return this.request("GET",a,f)}head(a,f={}){return this.request("HEAD",a,f)}jsonp(a,f){return this.request("JSONP",a,{params:new uL().append(f,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(a,f={}){return this.request("OPTIONS",a,f)}patch(a,f,g={}){return this.request("PATCH",a,Dle(g,f))}post(a,f,g={}){return this.request("POST",a,Dle(g,f))}put(a,f,g={}){return this.request("PUT",a,Dle(g,f))}static \u0275fac=function(f){return new(f||p)(h0(HV))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();var l5e=new Mo("");function c5e(p,h){return h(p)}function u5e(p,h,a){return(f,g)=>sQ(a,()=>h(f,D=>p(D,g)))}var zfe=new Mo(""),d5e=new Mo(""),p5e=new Mo("",{providedIn:"root",factory:()=>!0});var Tfe=(()=>{class p extends HV{backend;injector;chain=null;pendingTasks=Pi(rB);contributeToStability=Pi(p5e);constructor(a,f){super(),this.backend=a,this.injector=f}handle(a){if(this.chain===null){let f=Array.from(new Set([...this.injector.get(zfe),...this.injector.get(d5e,[])]));this.chain=f.reduceRight((g,D)=>u5e(g,D,this.injector),c5e)}if(this.contributeToStability){let f=this.pendingTasks.add();return this.chain(a,g=>this.backend.handle(g)).pipe(qre(()=>this.pendingTasks.remove(f)))}else return this.chain(a,f=>this.backend.handle(f))}static \u0275fac=function(f){return new(f||p)(h0(FQ),h0(EA))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();var h5e=/^\)\]\}',?\n/,f5e=RegExp(`^${Cfe}:`,"m");function m5e(p){return"responseURL"in p&&p.responseURL?p.responseURL:f5e.test(p.getAllResponseHeaders())?p.getResponseHeader(Cfe):null}var Efe=(()=>{class p{xhrFactory;constructor(a){this.xhrFactory=a}handle(a){if(a.method==="JSONP")throw new h1(-2800,!1);let f=this.xhrFactory;return(f.\u0275loadImpl?Yu(f.\u0275loadImpl()):Bd(null)).pipe($y(()=>new Pd(D=>{let q=f.build();if(q.open(a.method,a.urlWithParams),a.withCredentials&&(q.withCredentials=!0),a.headers.forEach((gn,$n)=>q.setRequestHeader(gn,$n.join(","))),a.headers.has(_fe)||q.setRequestHeader(_fe,r5e),!a.headers.has(wfe)){let gn=a.detectContentTypeHeader();gn!==null&&q.setRequestHeader(wfe,gn)}if(a.responseType){let gn=a.responseType.toLowerCase();q.responseType=gn!=="json"?gn:"text"}let de=a.serializeBody(),G=null,ee=()=>{if(G!==null)return G;let gn=q.statusText||"OK",$n=new o9(q.getAllResponseHeaders()),Ri=m5e(q)||a.url;return G=new Rle({headers:$n,status:q.status,statusText:gn,url:Ri}),G},fe=()=>{let{headers:gn,status:$n,statusText:Ri,url:os}=ee(),Er=null;$n!==o5e&&(Er=typeof q.response>"u"?q.responseText:q.response),$n===0&&($n=Er?a5e:0);let Ns=$n>=200&&$n<300;if(a.responseType==="json"&&typeof Er=="string"){let ya=Er;Er=Er.replace(h5e,"");try{Er=Er!==""?JSON.parse(Er):null}catch(Fi){Er=ya,Ns&&(Ns=!1,Er={error:Fi,text:Er})}}Ns?(D.next(new qQ({body:Er,headers:gn,status:$n,statusText:Ri,url:os||void 0})),D.complete()):D.error(new WQ({error:Er,headers:gn,status:$n,statusText:Ri,url:os||void 0}))},ye=gn=>{let{url:$n}=ee(),Ri=new WQ({error:gn,status:q.status||0,statusText:q.statusText||"Unknown Error",url:$n||void 0});D.error(Ri)},je=!1,$e=gn=>{je||(D.next(ee()),je=!0);let $n={type:vB.DownloadProgress,loaded:gn.loaded};gn.lengthComputable&&($n.total=gn.total),a.responseType==="text"&&q.responseText&&($n.partialText=q.responseText),D.next($n)},Dt=gn=>{let $n={type:vB.UploadProgress,loaded:gn.loaded};gn.lengthComputable&&($n.total=gn.total),D.next($n)};return q.addEventListener("load",fe),q.addEventListener("error",ye),q.addEventListener("timeout",ye),q.addEventListener("abort",ye),a.reportProgress&&(q.addEventListener("progress",$e),de!==null&&q.upload&&q.upload.addEventListener("progress",Dt)),q.send(de),D.next({type:vB.Sent}),()=>{q.removeEventListener("error",ye),q.removeEventListener("abort",ye),q.removeEventListener("load",fe),q.removeEventListener("timeout",ye),a.reportProgress&&(q.removeEventListener("progress",$e),de!==null&&q.upload&&q.upload.removeEventListener("progress",Dt)),q.readyState!==q.DONE&&q.abort()}})))}static \u0275fac=function(f){return new(f||p)(h0(mB))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Rfe=new Mo(""),b5e="XSRF-TOKEN",v5e=new Mo("",{providedIn:"root",factory:()=>b5e}),g5e="X-XSRF-TOKEN",y5e=new Mo("",{providedIn:"root",factory:()=>g5e}),UQ=class{},M5e=(()=>{class p{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(a,f,g){this.doc=a,this.platform=f,this.cookieName=g}getToken(){if(this.platform==="server")return null;let a=this.doc.cookie||"";return a!==this.lastCookieString&&(this.parseCount++,this.lastToken=NQ(a,this.cookieName),this.lastCookieString=a),this.lastToken}static \u0275fac=function(f){return new(f||p)(h0(Uf),h0(HR),h0(v5e))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();function I5e(p,h){let a=p.url.toLowerCase();if(!Pi(Rfe)||p.method==="GET"||p.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return h(p);let f=Pi(UQ).getToken(),g=Pi(y5e);return f!=null&&!p.headers.has(g)&&(p=p.clone({headers:p.headers.set(g,f)})),h(p)}function Lfe(...p){let h=[qV,Efe,Tfe,{provide:HV,useExisting:Tfe},{provide:FQ,useFactory:()=>Pi(l5e,{optional:!0})??Pi(Efe)},{provide:zfe,useValue:I5e,multi:!0},{provide:Rfe,useValue:!0},{provide:UQ,useClass:M5e}];for(let a of p)h.push(...a.\u0275providers);return tQ(h)}var xle=class extends zQ{supportsDOMEvents=!0},Nle=class p extends xle{static makeCurrent(){pfe(new p)}onAndCancel(h,a,f,g){return h.addEventListener(a,f,g),()=>{h.removeEventListener(a,f,g)}}dispatchEvent(h,a){h.dispatchEvent(a)}remove(h){h.remove()}createElement(h,a){return a=a||this.getDefaultDocument(),a.createElement(h)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(h){return h.nodeType===Node.ELEMENT_NODE}isShadowRoot(h){return h instanceof DocumentFragment}getGlobalEventTarget(h,a){return a==="window"?window:a==="document"?h:a==="body"?h.body:null}getBaseHref(h){let a=O5e();return a==null?null:w5e(a)}resetBaseElement(){WV=null}getUserAgent(){return window.navigator.userAgent}getCookie(h){return NQ(document.cookie,h)}},WV=null;function O5e(){return WV=WV||document.querySelector("base"),WV?WV.getAttribute("href"):null}function w5e(p){return new URL(p,document.baseURI).pathname}var _5e=(()=>{class p{build(){return new XMLHttpRequest}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Ple=new Mo(""),Hfe=(()=>{class p{_zone;_plugins;_eventNameToPlugin=new Map;constructor(a,f){this._zone=f,a.forEach(g=>{g.manager=this}),this._plugins=a.slice().reverse()}addEventListener(a,f,g,D){return this._findPluginFor(f).addEventListener(a,f,g,D)}getZone(){return this._zone}_findPluginFor(a){let f=this._eventNameToPlugin.get(a);if(f)return f;if(f=this._plugins.find(D=>D.supports(a)),!f)throw new h1(5101,!1);return this._eventNameToPlugin.set(a,f),f}static \u0275fac=function(f){return new(f||p)(h0(Ple),h0(Qu))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),GQ=class{_doc;constructor(h){this._doc=h}manager},jQ="ng-app-id";function xfe(p){for(let h of p)h.remove()}function Nfe(p,h){let a=h.createElement("style");return a.textContent=p,a}function T5e(p,h,a,f){let g=p.head?.querySelectorAll(`style[${jQ}="${h}"],link[${jQ}="${h}"]`);if(g)for(let D of g)D.removeAttribute(jQ),D instanceof HTMLLinkElement?f.set(D.href.slice(D.href.lastIndexOf("/")+1),{usage:0,elements:[D]}):D.textContent&&a.set(D.textContent,{usage:0,elements:[D]})}function Ble(p,h){let a=h.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",p),a}var Ffe=(()=>{class p{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(a,f,g,D={}){this.doc=a,this.appId=f,this.nonce=g,this.isServer=Cle(D),T5e(a,f,this.inline,this.external),this.hosts.add(a.head)}addStyles(a,f){for(let g of a)this.addUsage(g,this.inline,Nfe);f?.forEach(g=>this.addUsage(g,this.external,Ble))}removeStyles(a,f){for(let g of a)this.removeUsage(g,this.inline);f?.forEach(g=>this.removeUsage(g,this.external))}addUsage(a,f,g){let D=f.get(a);D?D.usage++:f.set(a,{usage:1,elements:[...this.hosts].map(q=>this.addElement(q,g(a,this.doc)))})}removeUsage(a,f){let g=f.get(a);g&&(g.usage--,g.usage<=0&&(xfe(g.elements),f.delete(a)))}ngOnDestroy(){for(let[,{elements:a}]of[...this.inline,...this.external])xfe(a);this.hosts.clear()}addHost(a){this.hosts.add(a);for(let[f,{elements:g}]of this.inline)g.push(this.addElement(a,Nfe(f,this.doc)));for(let[f,{elements:g}]of this.external)g.push(this.addElement(a,Ble(f,this.doc)))}removeHost(a){this.hosts.delete(a)}addElement(a,f){return this.nonce&&f.setAttribute("nonce",this.nonce),this.isServer&&f.setAttribute(jQ,this.appId),a.appendChild(f)}static \u0275fac=function(f){return new(f||p)(h0(Uf),h0(SV),h0(zV,8),h0(HR))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),Lle={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"},Hle=/%COMP%/g;var qfe="%COMP%",E5e=`_nghost-${qfe}`,C5e=`_ngcontent-${qfe}`,D5e=!0,S5e=new Mo("",{providedIn:"root",factory:()=>D5e});function z5e(p){return C5e.replace(Hle,p)}function R5e(p){return E5e.replace(Hle,p)}function Wfe(p,h){return h.map(a=>a.replace(Hle,p))}var Pfe=(()=>{class p{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(a,f,g,D,q,de,G,ee=null,fe=null){this.eventManager=a,this.sharedStylesHost=f,this.appId=g,this.removeStylesOnCompDestroy=D,this.doc=q,this.platformId=de,this.ngZone=G,this.nonce=ee,this.tracingService=fe,this.platformIsServer=Cle(de),this.defaultRenderer=new UV(a,q,G,this.platformIsServer,this.tracingService)}createRenderer(a,f){if(!a||!f)return this.defaultRenderer;this.platformIsServer&&f.encapsulation===IS.ShadowDom&&(f=Nd(k0({},f),{encapsulation:IS.Emulated}));let g=this.getOrCreateRenderer(a,f);return g instanceof VQ?g.applyToHost(a):g instanceof jV&&g.applyStyles(),g}getOrCreateRenderer(a,f){let g=this.rendererByCompId,D=g.get(f.id);if(!D){let q=this.doc,de=this.ngZone,G=this.eventManager,ee=this.sharedStylesHost,fe=this.removeStylesOnCompDestroy,ye=this.platformIsServer,je=this.tracingService;switch(f.encapsulation){case IS.Emulated:D=new VQ(G,ee,f,this.appId,fe,q,de,ye,je);break;case IS.ShadowDom:return new kle(G,ee,a,f,q,de,this.nonce,ye,je);default:D=new jV(G,ee,f,fe,q,de,ye,je);break}g.set(f.id,D)}return D}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(a){this.rendererByCompId.delete(a)}static \u0275fac=function(f){return new(f||p)(h0(Hfe),h0(Ffe),h0(SV),h0(S5e),h0(Uf),h0(HR),h0(Qu),h0(zV),h0(lB,8))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),UV=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(h,a,f,g,D){this.eventManager=h,this.doc=a,this.ngZone=f,this.platformIsServer=g,this.tracingService=D}destroy(){}destroyNode=null;createElement(h,a){return a?this.doc.createElementNS(Lle[a]||a,h):this.doc.createElement(h)}createComment(h){return this.doc.createComment(h)}createText(h){return this.doc.createTextNode(h)}appendChild(h,a){(Bfe(h)?h.content:h).appendChild(a)}insertBefore(h,a,f){h&&(Bfe(h)?h.content:h).insertBefore(a,f)}removeChild(h,a){a.remove()}selectRootElement(h,a){let f=typeof h=="string"?this.doc.querySelector(h):h;if(!f)throw new h1(-5104,!1);return a||(f.textContent=""),f}parentNode(h){return h.parentNode}nextSibling(h){return h.nextSibling}setAttribute(h,a,f,g){if(g){a=g+":"+a;let D=Lle[g];D?h.setAttributeNS(D,a,f):h.setAttribute(a,f)}else h.setAttribute(a,f)}removeAttribute(h,a,f){if(f){let g=Lle[f];g?h.removeAttributeNS(g,a):h.removeAttribute(`${f}:${a}`)}else h.removeAttribute(a)}addClass(h,a){h.classList.add(a)}removeClass(h,a){h.classList.remove(a)}setStyle(h,a,f,g){g&(AS.DashCase|AS.Important)?h.style.setProperty(a,f,g&AS.Important?"important":""):h.style[a]=f}removeStyle(h,a,f){f&AS.DashCase?h.style.removeProperty(a):h.style[a]=""}setProperty(h,a,f){h!=null&&(h[a]=f)}setValue(h,a){h.nodeValue=a}listen(h,a,f,g){if(typeof h=="string"&&(h=YR().getGlobalEventTarget(this.doc,h),!h))throw new h1(5102,!1);let D=this.decoratePreventDefault(f);return this.tracingService?.wrapEventListener&&(D=this.tracingService.wrapEventListener(h,a,D)),this.eventManager.addEventListener(h,a,D,g)}decoratePreventDefault(h){return a=>{if(a==="__ngUnwrap__")return h;(this.platformIsServer?this.ngZone.runGuarded(()=>h(a)):h(a))===!1&&a.preventDefault()}}};function Bfe(p){return p.tagName==="TEMPLATE"&&p.content!==void 0}var kle=class extends UV{sharedStylesHost;hostEl;shadowRoot;constructor(h,a,f,g,D,q,de,G,ee){super(h,D,q,G,ee),this.sharedStylesHost=a,this.hostEl=f,this.shadowRoot=f.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let fe=g.styles;fe=Wfe(g.id,fe);for(let je of fe){let $e=document.createElement("style");de&&$e.setAttribute("nonce",de),$e.textContent=je,this.shadowRoot.appendChild($e)}let ye=g.getExternalStyles?.();if(ye)for(let je of ye){let $e=Ble(je,D);de&&$e.setAttribute("nonce",de),this.shadowRoot.appendChild($e)}}nodeOrShadowRoot(h){return h===this.hostEl?this.shadowRoot:h}appendChild(h,a){return super.appendChild(this.nodeOrShadowRoot(h),a)}insertBefore(h,a,f){return super.insertBefore(this.nodeOrShadowRoot(h),a,f)}removeChild(h,a){return super.removeChild(null,a)}parentNode(h){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(h)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},jV=class extends UV{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(h,a,f,g,D,q,de,G,ee){super(h,D,q,de,G),this.sharedStylesHost=a,this.removeStylesOnCompDestroy=g;let fe=f.styles;this.styles=ee?Wfe(ee,fe):fe,this.styleUrls=f.getExternalStyles?.(ee)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},VQ=class extends jV{contentAttr;hostAttr;constructor(h,a,f,g,D,q,de,G,ee){let fe=g+"-"+f.id;super(h,a,f,D,q,de,G,ee,fe),this.contentAttr=z5e(fe),this.hostAttr=R5e(fe)}applyToHost(h){this.applyStyles(),this.setAttribute(h,this.hostAttr,"")}createElement(h,a){let f=super.createElement(h,a);return super.setAttribute(f,this.contentAttr,""),f}},L5e=(()=>{class p extends GQ{constructor(a){super(a)}supports(a){return!0}addEventListener(a,f,g,D){return a.addEventListener(f,g,D),()=>this.removeEventListener(a,f,g,D)}removeEventListener(a,f,g,D){return a.removeEventListener(f,g,D)}static \u0275fac=function(f){return new(f||p)(h0(Uf))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),kfe=["alt","control","meta","shift"],x5e={"\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"},N5e={alt:p=>p.altKey,control:p=>p.ctrlKey,meta:p=>p.metaKey,shift:p=>p.shiftKey},P5e=(()=>{class p extends GQ{constructor(a){super(a)}supports(a){return p.parseEventName(a)!=null}addEventListener(a,f,g,D){let q=p.parseEventName(f),de=p.eventCallback(q.fullKey,g,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>YR().onAndCancel(a,q.domEventName,de,D))}static parseEventName(a){let f=a.toLowerCase().split("."),g=f.shift();if(f.length===0||!(g==="keydown"||g==="keyup"))return null;let D=p._normalizeKey(f.pop()),q="",de=f.indexOf("code");if(de>-1&&(f.splice(de,1),q="code."),kfe.forEach(ee=>{let fe=f.indexOf(ee);fe>-1&&(f.splice(fe,1),q+=ee+".")}),q+=D,f.length!=0||D.length===0)return null;let G={};return G.domEventName=g,G.fullKey=q,G}static matchEventFullKeyCode(a,f){let g=x5e[a.key]||a.key,D="";return f.indexOf("code.")>-1&&(g=a.code,D="code."),g==null||!g?!1:(g=g.toLowerCase(),g===" "?g="space":g==="."&&(g="dot"),kfe.forEach(q=>{if(q!==g){let de=N5e[q];de(a)&&(D+=q+".")}}),D+=g,D===f)}static eventCallback(a,f,g){return D=>{p.matchEventFullKeyCode(D,a)&&g.runGuarded(()=>f(D))}}static _normalizeKey(a){return a==="esc"?"escape":a}static \u0275fac=function(f){return new(f||p)(h0(Uf))};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();function Ufe(p){return nfe(B5e(p))}function B5e(p){return{appProviders:[...W5e,...p?.providers??[]],platformProviders:q5e}}function k5e(){Nle.makeCurrent()}function H5e(){return new oS}function F5e(){return Dpe(document),document}var q5e=[{provide:HR,useValue:Ele},{provide:Roe,useValue:k5e,multi:!0},{provide:Uf,useFactory:F5e,deps:[]}];var W5e=[{provide:nQ,useValue:"root"},{provide:oS,useFactory:H5e,deps:[]},{provide:Ple,useClass:L5e,multi:!0,deps:[Uf]},{provide:Ple,useClass:P5e,multi:!0,deps:[Uf]},Pfe,Ffe,Hfe,{provide:Aw,useExisting:Pfe},{provide:mB,useClass:_5e,deps:[]},[]];var Kfe=(()=>{class p{_renderer;_elementRef;onChange=a=>{};onTouched=()=>{};constructor(a,f){this._renderer=a,this._elementRef=f}setProperty(a,f){this._renderer.setProperty(this._elementRef.nativeElement,a,f)}registerOnTouched(a){this.onTouched=a}registerOnChange(a){this.onChange=a}setDisabledState(a){this.setProperty("disabled",a)}static \u0275fac=function(f){return new(f||p)(ls(CI),ls(Cl))};static \u0275dir=Dl({type:p})}return p})(),U5e=(()=>{class p extends Kfe{static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275dir=Dl({type:p,features:[el]})}return p})(),DA=new Mo("");var j5e={provide:DA,useExisting:o3(()=>IB),multi:!0};function G5e(){let p=YR()?YR().getUserAgent():"";return/android (\d+)/.test(p.toLowerCase())}var V5e=new Mo(""),IB=(()=>{class p extends Kfe{_compositionMode;_composing=!1;constructor(a,f,g){super(a,f),this._compositionMode=g,this._compositionMode==null&&(this._compositionMode=!G5e())}writeValue(a){let f=a??"";this.setProperty("value",f)}_handleInput(a){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(a)}_compositionStart(){this._composing=!0}_compositionEnd(a){this._composing=!1,this._compositionMode&&this.onChange(a)}static \u0275fac=function(f){return new(f||p)(ls(CI),ls(Cl),ls(V5e,8))};static \u0275dir=Dl({type:p,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(f,g){f&1&&_i("input",function(q){return g._handleInput(q.target.value)})("blur",function(){return g.onTouched()})("compositionstart",function(){return g._compositionStart()})("compositionend",function(q){return g._compositionEnd(q.target.value)})},standalone:!1,features:[dl([j5e]),el]})}return p})();function Gle(p){return p==null||Vle(p)===0}function Vle(p){return p==null?null:Array.isArray(p)||typeof p=="string"?p.length:p instanceof Set?p.size:null}var l9=new Mo(""),iZ=new Mo(""),Y5e=/^(?=.{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])?)*$/,ES=class{static min(h){return X5e(h)}static max(h){return Q5e(h)}static required(h){return Jfe(h)}static requiredTrue(h){return Z5e(h)}static email(h){return K5e(h)}static minLength(h){return J5e(h)}static maxLength(h){return $5e(h)}static pattern(h){return e_e(h)}static nullValidator(h){return XQ()}static compose(h){return sme(h)}static composeAsync(h){return ame(h)}};function X5e(p){return h=>{if(h.value==null||p==null)return null;let a=parseFloat(h.value);return!isNaN(a)&&a<p?{min:{min:p,actual:h.value}}:null}}function Q5e(p){return h=>{if(h.value==null||p==null)return null;let a=parseFloat(h.value);return!isNaN(a)&&a>p?{max:{max:p,actual:h.value}}:null}}function Jfe(p){return Gle(p.value)?{required:!0}:null}function Z5e(p){return p.value===!0?null:{required:!0}}function K5e(p){return Gle(p.value)||Y5e.test(p.value)?null:{email:!0}}function J5e(p){return h=>{let a=h.value?.length??Vle(h.value);return a===null||a===0?null:a<p?{minlength:{requiredLength:p,actualLength:a}}:null}}function $5e(p){return h=>{let a=h.value?.length??Vle(h.value);return a!==null&&a>p?{maxlength:{requiredLength:p,actualLength:a}}:null}}function e_e(p){if(!p)return XQ;let h,a;return typeof p=="string"?(a="",p.charAt(0)!=="^"&&(a+="^"),a+=p,p.charAt(p.length-1)!=="$"&&(a+="$"),h=new RegExp(a)):(a=p.toString(),h=p),f=>{if(Gle(f.value))return null;let g=f.value;return h.test(g)?null:{pattern:{requiredPattern:a,actualValue:g}}}}function XQ(p){return null}function $fe(p){return p!=null}function eme(p){return pB(p)?Yu(p):p}function tme(p){let h={};return p.forEach(a=>{h=a!=null?k0(k0({},h),a):h}),Object.keys(h).length===0?null:h}function nme(p,h){return h.map(a=>a(p))}function t_e(p){return!p.validate}function ime(p){return p.map(h=>t_e(h)?h:a=>h.validate(a))}function sme(p){if(!p)return null;let h=p.filter($fe);return h.length==0?null:function(a){return tme(nme(a,h))}}function rme(p){return p!=null?sme(ime(p)):null}function ame(p){if(!p)return null;let h=p.filter($fe);return h.length==0?null:function(a){let f=nme(a,h).map(eme);return mS(f).pipe(Xu(tme))}}function ome(p){return p!=null?ame(ime(p)):null}function jfe(p,h){return p===null?[h]:Array.isArray(p)?[...p,h]:[p,h]}function lme(p){return p._rawValidators}function cme(p){return p._rawAsyncValidators}function Fle(p){return p?Array.isArray(p)?p:[p]:[]}function QQ(p,h){return Array.isArray(p)?p.includes(h):p===h}function Gfe(p,h){let a=Fle(h);return Fle(p).forEach(g=>{QQ(a,g)||a.push(g)}),a}function Vfe(p,h){return Fle(h).filter(a=>!QQ(p,a))}var ZQ=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(h){this._rawValidators=h||[],this._composedValidatorFn=rme(this._rawValidators)}_setAsyncValidators(h){this._rawAsyncValidators=h||[],this._composedAsyncValidatorFn=ome(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(h){this._onDestroyCallbacks.push(h)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(h=>h()),this._onDestroyCallbacks=[]}reset(h=void 0){this.control&&this.control.reset(h)}hasError(h,a){return this.control?this.control.hasError(h,a):!1}getError(h,a){return this.control?this.control.getError(h,a):null}},dL=class extends ZQ{name;get formDirective(){return null}get path(){return null}},CS=class extends ZQ{_parent=null;name=null;valueAccessor=null},KQ=class{_cd;constructor(h){this._cd=h}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}},n_e={"[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"},_je=Nd(k0({},n_e),{"[class.ng-submitted]":"isSubmitted"}),Rw=(()=>{class p extends KQ{constructor(a){super(a)}static \u0275fac=function(f){return new(f||p)(ls(CS,2))};static \u0275dir=Dl({type:p,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(f,g){f&2&&ul("ng-untouched",g.isUntouched)("ng-touched",g.isTouched)("ng-pristine",g.isPristine)("ng-dirty",g.isDirty)("ng-valid",g.isValid)("ng-invalid",g.isInvalid)("ng-pending",g.isPending)},standalone:!1,features:[el]})}return p})(),AB=(()=>{class p extends KQ{constructor(a){super(a)}static \u0275fac=function(f){return new(f||p)(ls(dL,10))};static \u0275dir=Dl({type:p,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(f,g){f&2&&ul("ng-untouched",g.isUntouched)("ng-touched",g.isTouched)("ng-pristine",g.isPristine)("ng-dirty",g.isDirty)("ng-valid",g.isValid)("ng-invalid",g.isInvalid)("ng-pending",g.isPending)("ng-submitted",g.isSubmitted)},standalone:!1,features:[el]})}return p})();var GV="VALID",YQ="INVALID",gB="PENDING",VV="DISABLED",pL=class{},JQ=class extends pL{value;source;constructor(h,a){super(),this.value=h,this.source=a}},YV=class extends pL{pristine;source;constructor(h,a){super(),this.pristine=h,this.source=a}},XV=class extends pL{touched;source;constructor(h,a){super(),this.touched=h,this.source=a}},yB=class extends pL{status;source;constructor(h,a){super(),this.status=h,this.source=a}},qle=class extends pL{source;constructor(h){super(),this.source=h}},Wle=class extends pL{source;constructor(h){super(),this.source=h}};function Yle(p){return(sZ(p)?p.validators:p)||null}function i_e(p){return Array.isArray(p)?rme(p):p||null}function Xle(p,h){return(sZ(h)?h.asyncValidators:p)||null}function s_e(p){return Array.isArray(p)?ome(p):p||null}function sZ(p){return p!=null&&!Array.isArray(p)&&typeof p=="object"}function ume(p,h,a){let f=p.controls;if(!(h?Object.keys(f):f).length)throw new h1(1e3,"");if(!f[a])throw new h1(1001,"")}function dme(p,h,a){p._forEachChild((f,g)=>{if(a[g]===void 0)throw new h1(1002,"")})}var MB=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(h,a){this._assignValidators(h),this._assignAsyncValidators(a)}get validator(){return this._composedValidatorFn}set validator(h){this._rawValidators=this._composedValidatorFn=h}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(h){this._rawAsyncValidators=this._composedAsyncValidatorFn=h}get parent(){return this._parent}get status(){return W_(this.statusReactive)}set status(h){W_(()=>this.statusReactive.set(h))}_status=nM(()=>this.statusReactive());statusReactive=C0(void 0);get valid(){return this.status===GV}get invalid(){return this.status===YQ}get pending(){return this.status==gB}get disabled(){return this.status===VV}get enabled(){return this.status!==VV}errors;get pristine(){return W_(this.pristineReactive)}set pristine(h){W_(()=>this.pristineReactive.set(h))}_pristine=nM(()=>this.pristineReactive());pristineReactive=C0(!0);get dirty(){return!this.pristine}get touched(){return W_(this.touchedReactive)}set touched(h){W_(()=>this.touchedReactive.set(h))}_touched=nM(()=>this.touchedReactive());touchedReactive=C0(!1);get untouched(){return!this.touched}_events=new H0;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(h){this._assignValidators(h)}setAsyncValidators(h){this._assignAsyncValidators(h)}addValidators(h){this.setValidators(Gfe(h,this._rawValidators))}addAsyncValidators(h){this.setAsyncValidators(Gfe(h,this._rawAsyncValidators))}removeValidators(h){this.setValidators(Vfe(h,this._rawValidators))}removeAsyncValidators(h){this.setAsyncValidators(Vfe(h,this._rawAsyncValidators))}hasValidator(h){return QQ(this._rawValidators,h)}hasAsyncValidator(h){return QQ(this._rawAsyncValidators,h)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(h={}){let a=this.touched===!1;this.touched=!0;let f=h.sourceControl??this;this._parent&&!h.onlySelf&&this._parent.markAsTouched(Nd(k0({},h),{sourceControl:f})),a&&h.emitEvent!==!1&&this._events.next(new XV(!0,f))}markAllAsTouched(h={}){this.markAsTouched({onlySelf:!0,emitEvent:h.emitEvent,sourceControl:this}),this._forEachChild(a=>a.markAllAsTouched(h))}markAsUntouched(h={}){let a=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let f=h.sourceControl??this;this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0,emitEvent:h.emitEvent,sourceControl:f})}),this._parent&&!h.onlySelf&&this._parent._updateTouched(h,f),a&&h.emitEvent!==!1&&this._events.next(new XV(!1,f))}markAsDirty(h={}){let a=this.pristine===!0;this.pristine=!1;let f=h.sourceControl??this;this._parent&&!h.onlySelf&&this._parent.markAsDirty(Nd(k0({},h),{sourceControl:f})),a&&h.emitEvent!==!1&&this._events.next(new YV(!1,f))}markAsPristine(h={}){let a=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let f=h.sourceControl??this;this._forEachChild(g=>{g.markAsPristine({onlySelf:!0,emitEvent:h.emitEvent})}),this._parent&&!h.onlySelf&&this._parent._updatePristine(h,f),a&&h.emitEvent!==!1&&this._events.next(new YV(!0,f))}markAsPending(h={}){this.status=gB;let a=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new yB(this.status,a)),this.statusChanges.emit(this.status)),this._parent&&!h.onlySelf&&this._parent.markAsPending(Nd(k0({},h),{sourceControl:a}))}disable(h={}){let a=this._parentMarkedDirty(h.onlySelf);this.status=VV,this.errors=null,this._forEachChild(g=>{g.disable(Nd(k0({},h),{onlySelf:!0}))}),this._updateValue();let f=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new JQ(this.value,f)),this._events.next(new yB(this.status,f)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Nd(k0({},h),{skipPristineCheck:a}),this),this._onDisabledChange.forEach(g=>g(!0))}enable(h={}){let a=this._parentMarkedDirty(h.onlySelf);this.status=GV,this._forEachChild(f=>{f.enable(Nd(k0({},h),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent}),this._updateAncestors(Nd(k0({},h),{skipPristineCheck:a}),this),this._onDisabledChange.forEach(f=>f(!1))}_updateAncestors(h,a){this._parent&&!h.onlySelf&&(this._parent.updateValueAndValidity(h),h.skipPristineCheck||this._parent._updatePristine({},a),this._parent._updateTouched({},a))}setParent(h){this._parent=h}getRawValue(){return this.value}updateValueAndValidity(h={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let f=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===GV||this.status===gB)&&this._runAsyncValidator(f,h.emitEvent)}let a=h.sourceControl??this;h.emitEvent!==!1&&(this._events.next(new JQ(this.value,a)),this._events.next(new yB(this.status,a)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!h.onlySelf&&this._parent.updateValueAndValidity(Nd(k0({},h),{sourceControl:a}))}_updateTreeValidity(h={emitEvent:!0}){this._forEachChild(a=>a._updateTreeValidity(h)),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?VV:GV}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(h,a){if(this.asyncValidator){this.status=gB,this._hasOwnPendingAsyncValidator={emitEvent:a!==!1};let f=eme(this.asyncValidator(this));this._asyncValidationSubscription=f.subscribe(g=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(g,{emitEvent:a,shouldHaveEmitted:h})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let h=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,h}return!1}setErrors(h,a={}){this.errors=h,this._updateControlsErrors(a.emitEvent!==!1,this,a.shouldHaveEmitted)}get(h){let a=h;return a==null||(Array.isArray(a)||(a=a.split(".")),a.length===0)?null:a.reduce((f,g)=>f&&f._find(g),this)}getError(h,a){let f=a?this.get(a):this;return f&&f.errors?f.errors[h]:null}hasError(h,a){return!!this.getError(h,a)}get root(){let h=this;for(;h._parent;)h=h._parent;return h}_updateControlsErrors(h,a,f){this.status=this._calculateStatus(),h&&this.statusChanges.emit(this.status),(h||f)&&this._events.next(new yB(this.status,a)),this._parent&&this._parent._updateControlsErrors(h,a,f)}_initObservables(){this.valueChanges=new ns,this.statusChanges=new ns}_calculateStatus(){return this._allControlsDisabled()?VV:this.errors?YQ:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gB)?gB:this._anyControlsHaveStatus(YQ)?YQ:GV}_anyControlsHaveStatus(h){return this._anyControls(a=>a.status===h)}_anyControlsDirty(){return this._anyControls(h=>h.dirty)}_anyControlsTouched(){return this._anyControls(h=>h.touched)}_updatePristine(h,a){let f=!this._anyControlsDirty(),g=this.pristine!==f;this.pristine=f,this._parent&&!h.onlySelf&&this._parent._updatePristine(h,a),g&&this._events.next(new YV(this.pristine,a))}_updateTouched(h={},a){this.touched=this._anyControlsTouched(),this._events.next(new XV(this.touched,a)),this._parent&&!h.onlySelf&&this._parent._updateTouched(h,a)}_onDisabledChange=[];_registerOnCollectionChange(h){this._onCollectionChange=h}_setUpdateStrategy(h){sZ(h)&&h.updateOn!=null&&(this._updateOn=h.updateOn)}_parentMarkedDirty(h){let a=this._parent&&this._parent.dirty;return!h&&!!a&&!this._parent._anyControlsDirty()}_find(h){return null}_assignValidators(h){this._rawValidators=Array.isArray(h)?h.slice():h,this._composedValidatorFn=i_e(this._rawValidators)}_assignAsyncValidators(h){this._rawAsyncValidators=Array.isArray(h)?h.slice():h,this._composedAsyncValidatorFn=s_e(this._rawAsyncValidators)}},hL=class extends MB{constructor(h,a,f){super(Yle(a),Xle(f,a)),this.controls=h,this._initObservables(),this._setUpdateStrategy(a),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(h,a){return this.controls[h]?this.controls[h]:(this.controls[h]=a,a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange),a)}addControl(h,a,f={}){this.registerControl(h,a),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}removeControl(h,a={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}setControl(h,a,f={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],a&&this.registerControl(h,a),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}contains(h){return this.controls.hasOwnProperty(h)&&this.controls[h].enabled}setValue(h,a={}){dme(this,!0,h),Object.keys(h).forEach(f=>{ume(this,!0,f),this.controls[f].setValue(h[f],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}patchValue(h,a={}){h!=null&&(Object.keys(h).forEach(f=>{let g=this.controls[f];g&&g.patchValue(h[f],{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}reset(h={},a={}){this._forEachChild((f,g)=>{f.reset(h?h[g]:null,{onlySelf:!0,emitEvent:a.emitEvent})}),this._updatePristine(a,this),this._updateTouched(a,this),this.updateValueAndValidity(a)}getRawValue(){return this._reduceChildren({},(h,a,f)=>(h[f]=a.getRawValue(),h))}_syncPendingControls(){let h=this._reduceChildren(!1,(a,f)=>f._syncPendingControls()?!0:a);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_forEachChild(h){Object.keys(this.controls).forEach(a=>{let f=this.controls[a];f&&h(f,a)})}_setUpControls(){this._forEachChild(h=>{h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(h){for(let[a,f]of Object.entries(this.controls))if(this.contains(a)&&h(f))return!0;return!1}_reduceValue(){let h={};return this._reduceChildren(h,(a,f,g)=>((f.enabled||this.disabled)&&(a[g]=f.value),a))}_reduceChildren(h,a){let f=h;return this._forEachChild((g,D)=>{f=a(f,g,D)}),f}_allControlsDisabled(){for(let h of Object.keys(this.controls))if(this.controls[h].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(h){return this.controls.hasOwnProperty(h)?this.controls[h]:null}};var Ule=class extends hL{};var QV=new Mo("",{providedIn:"root",factory:()=>rZ}),rZ="always";function pme(p,h){return[...h.path,p]}function $Q(p,h,a=rZ){Qle(p,h),h.valueAccessor.writeValue(p.value),(p.disabled||a==="always")&&h.valueAccessor.setDisabledState?.(p.disabled),a_e(p,h),l_e(p,h),o_e(p,h),r_e(p,h)}function eZ(p,h,a=!0){let f=()=>{};h.valueAccessor&&(h.valueAccessor.registerOnChange(f),h.valueAccessor.registerOnTouched(f)),nZ(p,h),p&&(h._invokeOnDestroyCallbacks(),p._registerOnCollectionChange(()=>{}))}function tZ(p,h){p.forEach(a=>{a.registerOnValidatorChange&&a.registerOnValidatorChange(h)})}function r_e(p,h){if(h.valueAccessor.setDisabledState){let a=f=>{h.valueAccessor.setDisabledState(f)};p.registerOnDisabledChange(a),h._registerOnDestroy(()=>{p._unregisterOnDisabledChange(a)})}}function Qle(p,h){let a=lme(p);h.validator!==null?p.setValidators(jfe(a,h.validator)):typeof a=="function"&&p.setValidators([a]);let f=cme(p);h.asyncValidator!==null?p.setAsyncValidators(jfe(f,h.asyncValidator)):typeof f=="function"&&p.setAsyncValidators([f]);let g=()=>p.updateValueAndValidity();tZ(h._rawValidators,g),tZ(h._rawAsyncValidators,g)}function nZ(p,h){let a=!1;if(p!==null){if(h.validator!==null){let g=lme(p);if(Array.isArray(g)&&g.length>0){let D=g.filter(q=>q!==h.validator);D.length!==g.length&&(a=!0,p.setValidators(D))}}if(h.asyncValidator!==null){let g=cme(p);if(Array.isArray(g)&&g.length>0){let D=g.filter(q=>q!==h.asyncValidator);D.length!==g.length&&(a=!0,p.setAsyncValidators(D))}}}let f=()=>{};return tZ(h._rawValidators,f),tZ(h._rawAsyncValidators,f),a}function a_e(p,h){h.valueAccessor.registerOnChange(a=>{p._pendingValue=a,p._pendingChange=!0,p._pendingDirty=!0,p.updateOn==="change"&&hme(p,h)})}function o_e(p,h){h.valueAccessor.registerOnTouched(()=>{p._pendingTouched=!0,p.updateOn==="blur"&&p._pendingChange&&hme(p,h),p.updateOn!=="submit"&&p.markAsTouched()})}function hme(p,h){p._pendingDirty&&p.markAsDirty(),p.setValue(p._pendingValue,{emitModelToViewChange:!1}),h.viewToModelUpdate(p._pendingValue),p._pendingChange=!1}function l_e(p,h){let a=(f,g)=>{h.valueAccessor.writeValue(f),g&&h.viewToModelUpdate(f)};p.registerOnChange(a),h._registerOnDestroy(()=>{p._unregisterOnChange(a)})}function c_e(p,h){p==null,Qle(p,h)}function u_e(p,h){return nZ(p,h)}function Zle(p,h){if(!p.hasOwnProperty("model"))return!1;let a=p.model;return a.isFirstChange()?!0:!Object.is(h,a.currentValue)}function d_e(p){return Object.getPrototypeOf(p.constructor)===U5e}function p_e(p,h){p._syncPendingControls(),h.forEach(a=>{let f=a.control;f.updateOn==="submit"&&f._pendingChange&&(a.viewToModelUpdate(f._pendingValue),f._pendingChange=!1)})}function Kle(p,h){if(!h)return null;Array.isArray(h);let a,f,g;return h.forEach(D=>{D.constructor===IB?a=D:d_e(D)?f=D:g=D}),g||f||a||null}function h_e(p,h){let a=p.indexOf(h);a>-1&&p.splice(a,1)}function Yfe(p,h){let a=p.indexOf(h);a>-1&&p.splice(a,1)}function Xfe(p){return typeof p=="object"&&p!==null&&Object.keys(p).length===2&&"value"in p&&"disabled"in p}var XR=class extends MB{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(h=null,a,f){super(Yle(a),Xle(f,a)),this._applyFormState(h),this._setUpdateStrategy(a),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sZ(a)&&(a.nonNullable||a.initialValueIsDefault)&&(Xfe(h)?this.defaultValue=h.value:this.defaultValue=h)}setValue(h,a={}){this.value=this._pendingValue=h,this._onChange.length&&a.emitModelToViewChange!==!1&&this._onChange.forEach(f=>f(this.value,a.emitViewToModelChange!==!1)),this.updateValueAndValidity(a)}patchValue(h,a={}){this.setValue(h,a)}reset(h=this.defaultValue,a={}){this._applyFormState(h),this.markAsPristine(a),this.markAsUntouched(a),this.setValue(this.value,a),this._pendingChange=!1}_updateValue(){}_anyControls(h){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(h){this._onChange.push(h)}_unregisterOnChange(h){Yfe(this._onChange,h)}registerOnDisabledChange(h){this._onDisabledChange.push(h)}_unregisterOnDisabledChange(h){Yfe(this._onDisabledChange,h)}_forEachChild(h){}_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(h){Xfe(h)?(this.value=this._pendingValue=h.value,h.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=h}};var f_e=p=>p instanceof XR;var m_e={provide:CS,useExisting:o3(()=>cS)},Qfe=Promise.resolve(),cS=(()=>{class p extends CS{_changeDetectorRef;callSetDisabledState;control=new XR;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ns;constructor(a,f,g,D,q,de){super(),this._changeDetectorRef=q,this.callSetDisabledState=de,this._parent=a,this._setValidators(f),this._setAsyncValidators(g),this.valueAccessor=Kle(this,D)}ngOnChanges(a){if(this._checkForErrors(),!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){let f=a.name.previousValue;this.formDirective.removeControl({name:f,path:this._getPath(f)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a),Zle(a,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(a){this.viewModel=a,this.update.emit(a)}_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(){$Q(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(a){Qfe.then(()=>{this.control.setValue(a,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(a){let f=a.isDisabled.currentValue,g=f!==0&&Ss(f);Qfe.then(()=>{g&&!this.control.disabled?this.control.disable():!g&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(a){return this._parent?pme(a,this._parent):[a]}static \u0275fac=function(f){return new(f||p)(ls(dL,9),ls(l9,10),ls(iZ,10),ls(DA,10),ls(Zf,8),ls(QV,8))};static \u0275dir=Dl({type:p,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:[dl([m_e]),el,Gd]})}return p})();var aZ=(()=>{class p{static \u0275fac=function(f){return new(f||p)};static \u0275dir=Dl({type:p,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return p})();var Jle=new Mo(""),b_e={provide:CS,useExisting:o3(()=>$le)},$le=(()=>{class p extends CS{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(a){}model;update=new ns;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(a,f,g,D,q){super(),this._ngModelWarningConfig=D,this.callSetDisabledState=q,this._setValidators(a),this._setAsyncValidators(f),this.valueAccessor=Kle(this,g)}ngOnChanges(a){if(this._isControlChanged(a)){let f=a.form.previousValue;f&&eZ(f,this,!1),$Q(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Zle(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&eZ(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(a){this.viewModel=a,this.update.emit(a)}_isControlChanged(a){return a.hasOwnProperty("form")}static \u0275fac=function(f){return new(f||p)(ls(l9,10),ls(iZ,10),ls(DA,10),ls(Jle,8),ls(QV,8))};static \u0275dir=Dl({type:p,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[dl([b_e]),el,Gd]})}return p})(),v_e={provide:dL,useExisting:o3(()=>fL)},fL=(()=>{class p extends dL{callSetDisabledState;get submitted(){return W_(this._submittedReactive)}set submitted(a){this._submittedReactive.set(a)}_submitted=nM(()=>this._submittedReactive());_submittedReactive=C0(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ns;constructor(a,f,g){super(),this.callSetDisabledState=g,this._setValidators(a),this._setAsyncValidators(f)}ngOnChanges(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nZ(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(a){let f=this.form.get(a.path);return $Q(f,a,this.callSetDisabledState),f.updateValueAndValidity({emitEvent:!1}),this.directives.push(a),f}getControl(a){return this.form.get(a.path)}removeControl(a){eZ(a.control||null,a,!1),h_e(this.directives,a)}addFormGroup(a){this._setUpFormContainer(a)}removeFormGroup(a){this._cleanUpFormContainer(a)}getFormGroup(a){return this.form.get(a.path)}addFormArray(a){this._setUpFormContainer(a)}removeFormArray(a){this._cleanUpFormContainer(a)}getFormArray(a){return this.form.get(a.path)}updateModel(a,f){this.form.get(a.path).setValue(f)}onSubmit(a){return this._submittedReactive.set(!0),p_e(this.form,this.directives),this.ngSubmit.emit(a),this.form._events.next(new qle(this.control)),a?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(a=void 0){this.form.reset(a),this._submittedReactive.set(!1),this.form._events.next(new Wle(this.form))}_updateDomValue(){this.directives.forEach(a=>{let f=a.control,g=this.form.get(a.path);f!==g&&(eZ(f||null,a),f_e(g)&&($Q(g,a,this.callSetDisabledState),a.control=g))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(a){let f=this.form.get(a.path);c_e(f,a),f.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(a){if(this.form){let f=this.form.get(a.path);f&&u_e(f,a)&&f.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qle(this.form,this),this._oldForm&&nZ(this._oldForm,this)}static \u0275fac=function(f){return new(f||p)(ls(l9,10),ls(iZ,10),ls(QV,8))};static \u0275dir=Dl({type:p,selectors:[["","formGroup",""]],hostBindings:function(f,g){f&1&&_i("submit",function(q){return g.onSubmit(q)})("reset",function(){return g.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[dl([v_e]),el,Gd]})}return p})();var g_e={provide:CS,useExisting:o3(()=>ZV)},ZV=(()=>{class p extends CS{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(a){}model;update=new ns;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(a,f,g,D,q){super(),this._ngModelWarningConfig=q,this._parent=a,this._setValidators(f),this._setAsyncValidators(g),this.valueAccessor=Kle(this,D)}ngOnChanges(a){this._added||this._setUpControl(),Zle(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(a){this.viewModel=a,this.update.emit(a)}get path(){return pme(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(f){return new(f||p)(ls(dL,13),ls(l9,10),ls(iZ,10),ls(DA,10),ls(Jle,8))};static \u0275dir=Dl({type:p,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[dl([g_e]),el,Gd]})}return p})();var y_e=(()=>{class p{_validator=XQ;_onChange;_enabled;ngOnChanges(a){if(this.inputName in a){let f=this.normalizeInput(a[this.inputName].currentValue);this._enabled=this.enabled(f),this._validator=this._enabled?this.createValidator(f):XQ,this._onChange&&this._onChange()}}validate(a){return this._validator(a)}registerOnValidatorChange(a){this._onChange=a}enabled(a){return a!=null}static \u0275fac=function(f){return new(f||p)};static \u0275dir=Dl({type:p,features:[Gd]})}return p})();var M_e={provide:l9,useExisting:o3(()=>e0e),multi:!0};var e0e=(()=>{class p extends y_e{required;inputName="required";normalizeInput=Ss;createValidator=a=>Jfe;enabled(a){return a}static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275dir=Dl({type:p,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(f,g){f&2&&Tl("required",g._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[dl([M_e]),el]})}return p})();var fme=(()=>{class p{static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({})}return p})(),jle=class extends MB{constructor(h,a,f){super(Yle(a),Xle(f,a)),this.controls=h,this._initObservables(),this._setUpdateStrategy(a),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(h){return this.controls[this._adjustIndex(h)]}push(h,a={}){this.controls.push(h),this._registerControl(h),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}insert(h,a,f={}){this.controls.splice(h,0,a),this._registerControl(a),this.updateValueAndValidity({emitEvent:f.emitEvent})}removeAt(h,a={}){let f=this._adjustIndex(h);f<0&&(f=0),this.controls[f]&&this.controls[f]._registerOnCollectionChange(()=>{}),this.controls.splice(f,1),this.updateValueAndValidity({emitEvent:a.emitEvent})}setControl(h,a,f={}){let g=this._adjustIndex(h);g<0&&(g=0),this.controls[g]&&this.controls[g]._registerOnCollectionChange(()=>{}),this.controls.splice(g,1),a&&(this.controls.splice(g,0,a),this._registerControl(a)),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(h,a={}){dme(this,!1,h),h.forEach((f,g)=>{ume(this,!1,g),this.at(g).setValue(f,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a)}patchValue(h,a={}){h!=null&&(h.forEach((f,g)=>{this.at(g)&&this.at(g).patchValue(f,{onlySelf:!0,emitEvent:a.emitEvent})}),this.updateValueAndValidity(a))}reset(h=[],a={}){this._forEachChild((f,g)=>{f.reset(h[g],{onlySelf:!0,emitEvent:a.emitEvent})}),this._updatePristine(a,this),this._updateTouched(a,this),this.updateValueAndValidity(a)}getRawValue(){return this.controls.map(h=>h.getRawValue())}clear(h={}){this.controls.length<1||(this._forEachChild(a=>a._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:h.emitEvent}))}_adjustIndex(h){return h<0?h+this.length:h}_syncPendingControls(){let h=this.controls.reduce((a,f)=>f._syncPendingControls()?!0:a,!1);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_forEachChild(h){this.controls.forEach((a,f)=>{h(a,f)})}_updateValue(){this.value=this.controls.filter(h=>h.enabled||this.disabled).map(h=>h.value)}_anyControls(h){return this.controls.some(a=>a.enabled&&h(a))}_setUpControls(){this._forEachChild(h=>this._registerControl(h))}_allControlsDisabled(){for(let h of this.controls)if(h.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(h){h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)}_find(h){return this.at(h)??null}};function Zfe(p){return!!p&&(p.asyncValidators!==void 0||p.validators!==void 0||p.updateOn!==void 0)}var oZ=(()=>{class p{useNonNullable=!1;get nonNullable(){let a=new p;return a.useNonNullable=!0,a}group(a,f=null){let g=this._reduceControls(a),D={};return Zfe(f)?D=f:f!==null&&(D.validators=f.validator,D.asyncValidators=f.asyncValidator),new hL(g,D)}record(a,f=null){let g=this._reduceControls(a);return new Ule(g,f)}control(a,f,g){let D={};return this.useNonNullable?(Zfe(f)?D=f:(D.validators=f,D.asyncValidators=g),new XR(a,Nd(k0({},D),{nonNullable:!0}))):new XR(a,f,g)}array(a,f,g){let D=a.map(q=>this._createControl(q));return new jle(D,f,g)}_reduceControls(a){let f={};return Object.keys(a).forEach(g=>{f[g]=this._createControl(a[g])}),f}_createControl(a){if(a instanceof XR)return a;if(a instanceof MB)return a;if(Array.isArray(a)){let f=a[0],g=a.length>1?a[1]:null,D=a.length>2?a[2]:null;return this.control(f,g,D)}else return this.control(a)}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var pC=(()=>{class p{static withConfig(a){return{ngModule:p,providers:[{provide:QV,useValue:a.callSetDisabledState??rZ}]}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({imports:[fme]})}return p})(),SA=(()=>{class p{static withConfig(a){return{ngModule:p,providers:[{provide:Jle,useValue:a.warnOnNgModelWithFormControl??"always"},{provide:QV,useValue:a.callSetDisabledState??rZ}]}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({imports:[fme]})}return p})();var I_e=["content"],A_e=["scroll"],O_e=["padding"],vme=["*"],JV=p=>({searchTerm:p});function w_e(p,h){if(p&1&&(ln(0,"div",3),ey(1,6),vn()),p&2){let a=on();Kt(),Rn("ngTemplateOutlet",a.headerTemplate)("ngTemplateOutletContext",Wf(2,JV,a.filterValue))}}function __e(p,h){if(p&1&&(ln(0,"div",5),ey(1,6),vn()),p&2){let a=on();Kt(),Rn("ngTemplateOutlet",a.footerTemplate)("ngTemplateOutletContext",Wf(2,JV,a.filterValue))}}var T_e=["searchInput"],E_e=["clearButton"],C_e=(p,h,a)=>({item:p,clear:h,label:a}),D_e=(p,h)=>({items:p,clear:h}),S_e=(p,h,a,f)=>({item:p,item$:h,index:a,searchTerm:f});function z_e(p,h){if(p&1&&(ln(0,"div",19),Os(1),vn()),p&2){let a=on(2);Kt(),s0(a.placeholder)}}function R_e(p,h){}function L_e(p,h){if(p&1&&as(0,z_e,2,1,"ng-template",null,1,OA)(2,R_e,0,0,"ng-template",18),p&2){let a=lf(1),f=on();Kt(2),Rn("ngTemplateOutlet",f.placeholderTemplate||a)}}function x_e(p,h){if(p&1){let a=zr();ln(0,"span",22),_i("click",function(){Ci(a);let g=on().$implicit,D=on(2);return Di(D.unselect(g))}),Os(1,"\xD7"),vn(),Rs(2,"span",23)}if(p&2){let a=on().$implicit,f=on(2);Kt(2),Rn("ngItemLabel",a.label)("escape",f.escapeHTML)}}function N_e(p,h){}function P_e(p,h){if(p&1&&(ln(0,"div",21),as(1,x_e,3,2,"ng-template",null,2,OA)(3,N_e,0,0,"ng-template",12),vn()),p&2){let a=h.$implicit,f=lf(2),g=on(2);ul("ng-value-disabled",a.disabled),Kt(3),Rn("ngTemplateOutlet",g.labelTemplate||f)("ngTemplateOutletContext",ty(4,C_e,a.value,g.clearItem,a.label))}}function B_e(p,h){if(p&1&&vp(0,P_e,4,8,"div",20,nle().trackByOption,!0),p&2){let a=on();gp(a.selectedItems)}}function k_e(p,h){}function H_e(p,h){if(p&1&&as(0,k_e,0,0,"ng-template",12),p&2){let a=on();Rn("ngTemplateOutlet",a.multiLabelTemplate)("ngTemplateOutletContext",ry(2,D_e,a.selectedValues,a.clearItem))}}function F_e(p,h){p&1&&Rs(0,"div",24)}function q_e(p,h){}function W_e(p,h){if(p&1&&as(0,F_e,1,0,"ng-template",null,3,OA)(2,q_e,0,0,"ng-template",18),p&2){let a=lf(1),f=on();Kt(2),Rn("ngTemplateOutlet",f.loadingSpinnerTemplate||a)}}function U_e(p,h){if(p&1&&ey(0,18),p&2){let a=on(2);Rn("ngTemplateOutlet",a.clearButtonTemplate)}}function j_e(p,h){if(p&1&&(ln(0,"span",25,4)(2,"span",26),Os(3,"\xD7"),vn()()),p&2){let a=on(2);Io("title",a.clearAllText)}}function G_e(p,h){if(p&1&&as(0,U_e,1,1,"ng-container",18)(1,j_e,4,1,"span",25),p&2){let a=on();Js(a.clearButtonTemplate?0:1)}}function V_e(p,h){if(p&1&&Rs(0,"span",31),p&2){let a=on().$implicit,f=on(2);Rn("ngItemLabel",a.label)("escape",f.escapeHTML)}}function Y_e(p,h){}function X_e(p,h){if(p&1){let a=zr();ln(0,"div",30),_i("click",function(){let g=Ci(a).$implicit,D=on(2);return Di(D.toggleItem(g))})("mouseover",function(){let g=Ci(a).$implicit,D=on(2);return Di(D.onItemHover(g))}),as(1,V_e,1,2,"ng-template",null,5,OA)(3,Y_e,0,0,"ng-template",12),vn()}if(p&2){let a=h.$implicit,f=lf(2),g=on(2);ul("ng-option-disabled",a.disabled)("ng-option-selected",a.selected)("ng-optgroup",a.children)("ng-option",!a.children)("ng-option-child",!!a.parent)("ng-option-marked",a===g.itemsList.markedItem),Tl("role",a.children?"group":"option")("aria-selected",a.selected)("id",a==null?null:a.htmlId),Kt(3),Rn("ngTemplateOutlet",a.children?g.optgroupTemplate||f:g.optionTemplate||f)("ngTemplateOutletContext",IQ(17,S_e,a.value,a,a.index,g.searchTerm))}}function Q_e(p,h){if(p&1&&(ln(0,"span")(1,"span",33),Os(2),vn(),Os(3),vn()),p&2){let a=on(3);Kt(2),s0(a.addTagText),Kt(),ga('"',a.searchTerm,'"')}}function Z_e(p,h){}function K_e(p,h){if(p&1){let a=zr();ln(0,"div",32),_i("mouseover",function(){Ci(a);let g=on(2);return Di(g.itemsList.unmarkItem())})("click",function(){Ci(a);let g=on(2);return Di(g.selectTag())}),as(1,Q_e,4,2,"ng-template",null,6,OA)(3,Z_e,0,0,"ng-template",12),vn()}if(p&2){let a=lf(2),f=on(2);ul("ng-option-marked",!f.itemsList.markedItem),Kt(3),Rn("ngTemplateOutlet",f.tagTemplate||a)("ngTemplateOutletContext",Wf(4,JV,f.searchTerm))}}function J_e(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.notFoundText)}}function $_e(p,h){}function eTe(p,h){if(p&1&&as(0,J_e,2,1,"ng-template",null,7,OA)(2,$_e,0,0,"ng-template",12),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.notFoundTemplate||a)("ngTemplateOutletContext",Wf(2,JV,f.searchTerm))}}function tTe(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.typeToSearchText)}}function nTe(p,h){}function iTe(p,h){if(p&1&&as(0,tTe,2,1,"ng-template",null,8,OA)(2,nTe,0,0,"ng-template",18),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.typeToSearchTemplate||a)}}function sTe(p,h){if(p&1&&(ln(0,"div",34),Os(1),vn()),p&2){let a=on(3);Kt(),s0(a.loadingText)}}function rTe(p,h){}function aTe(p,h){if(p&1&&as(0,sTe,2,1,"ng-template",null,9,OA)(2,rTe,0,0,"ng-template",12),p&2){let a=lf(1),f=on(2);Kt(2),Rn("ngTemplateOutlet",f.loadingTextTemplate||a)("ngTemplateOutletContext",Wf(2,JV,f.searchTerm))}}function oTe(p,h){if(p&1){let a=zr();ln(0,"ng-dropdown-panel",27),_i("update",function(g){Ci(a);let D=on();return Di(D.viewPortItems=g)})("scroll",function(g){Ci(a);let D=on();return Di(D.scroll.emit(g))})("scrollToEnd",function(g){Ci(a);let D=on();return Di(D.scrollToEnd.emit(g))})("outsideClick",function(){Ci(a);let g=on();return Di(g.close())}),cC(1),vp(2,X_e,4,22,"div",28,nle().trackByOption,!0),as(4,K_e,4,6,"div",29),uC(),as(5,eTe,3,4)(6,iTe,3,1)(7,aTe,3,4),vn()}if(p&2){let a=on();ul("ng-select-multiple",a.multiple),Rn("virtualScroll",a.virtualScroll)("bufferAmount",a.bufferAmount)("appendTo",a.appendTo)("position",a.dropdownPosition)("headerTemplate",a.headerTemplate)("footerTemplate",a.footerTemplate)("filterValue",a.searchTerm)("items",a.itemsList.filteredItems)("markedItem",a.itemsList.markedItem)("ngClass",a.appendTo?a.ngClass?a.ngClass:a.classes:null)("id",a.dropdownId),Tl("aria-label",a.ariaLabelDropdown),Kt(2),gp(a.viewPortItems),Kt(2),Js(a.showAddTag?4:-1),Kt(),Js(a.showNoItemsFound()?5:-1),Kt(),Js(a.showTypeToSearch()?6:-1),Kt(),Js(a.loading&&a.itemsList.filteredItems.length===0?7:-1)}}var gme=/[&<>"']/g,lTe=RegExp(gme.source),cTe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function uTe(p){return p&&lTe.test(p)?p.replace(gme,h=>cTe[h]):p}function iM(p){return p!=null}function KV(p){return typeof p=="object"&&iM(p)}function dTe(p){return p instanceof Promise}function cZ(p){return p instanceof Function}var pTe=(()=>{class p{constructor(a){this.element=a,this.escape=!0}ngOnChanges(a){this.element.nativeElement.innerHTML=this.escape?uTe(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(f){return new(f||p)(ls(Cl))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[Gd]})}}return p})(),hTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-option-tmp",""]]})}}return p})(),fTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-optgroup-tmp",""]]})}}return p})(),mTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-label-tmp",""]]})}}return p})(),bTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-multi-label-tmp",""]]})}}return p})(),vTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-header-tmp",""]]})}}return p})(),gTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-footer-tmp",""]]})}}return p})(),yTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-notfound-tmp",""]]})}}return p})(),MTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-placeholder-tmp",""]]})}}return p})(),ITe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-typetosearch-tmp",""]]})}}return p})(),ATe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-loadingtext-tmp",""]]})}}return p})(),OTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-tag-tmp",""]]})}}return p})(),wTe=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-loadingspinner-tmp",""]]})}}return p})(),_Te=(()=>{class p{constructor(a){this.template=a}static{this.\u0275fac=function(f){return new(f||p)(ls(up))}}static{this.\u0275dir=Dl({type:p,selectors:[["","ng-clearbutton-tmp",""]]})}}return p})();function yme(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var TTe={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function lZ(p){let h=a=>TTe[a]||a;return p.replace(/[^\u0000-\u007E]/g,h)}var t0e=class{constructor(h,a){this._ngSelect=h,this._selectionModel=a,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let h=this.selectedItems.length-1;for(;h>=0;h--){let a=this.selectedItems[h];if(!a.disabled)return a}return null}setItems(h){this._items=h.map((a,f)=>this.mapItem(a,f)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(h){if(h.selected||this.maxItemsSelected)return;let a=this._ngSelect.multiple;a||this.clearSelected(),this._selectionModel.select(h,a,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(h)}unselect(h){h.selected&&(this._selectionModel.unselect(h,this._ngSelect.multiple),this._ngSelect.hideSelected&&iM(h.index)&&this._ngSelect.multiple&&this._showSelected(h))}findItem(h){let a;return this._ngSelect.compareWith?a=f=>this._ngSelect.compareWith(f.value,h):this._ngSelect.bindValue?a=f=>!f.children&&this.resolveNested(f.value,this._ngSelect.bindValue)===h:a=f=>f.value===h||!f.children&&f.label&&f.label===this.resolveNested(h,this._ngSelect.bindLabel),this._items.find(f=>a(f))}addItem(h){let a=this.mapItem(h,this._items.length);return this._items.push(a),this._filteredItems.push(a),a}clearSelected(h=!1){this._selectionModel.clear(h),this._items.forEach(a=>{a.selected=h&&a.selected&&a.disabled,a.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(h){return h=lZ(h).toLocaleLowerCase(),this.filteredItems.find(a=>lZ(a.label).toLocaleLowerCase().substr(0,h.length)===h)}filter(h){if(!h){this.resetFilteredItems();return}this._filteredItems=[],h=this._ngSelect.searchFn?h:lZ(h).toLocaleLowerCase();let a=this._ngSelect.searchFn||this._defaultSearchFn,f=this._ngSelect.hideSelected;for(let g of Array.from(this._groups.keys())){let D=[];for(let q of this._groups.get(g)){if(f&&(q.parent&&q.parent.selected||q.selected))continue;let de=this._ngSelect.searchFn?q.value:q;a(h,de)&&D.push(q)}if(D.length>0){let[q]=D.slice(-1);if(q.parent){let de=this._items.find(G=>G===q.parent);this._filteredItems.push(de)}this._filteredItems.push(...D)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(h=>!h.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(h){this._markedIndex=this._filteredItems.indexOf(h)}markSelectedOrDefault(h){if(this._filteredItems.length===0)return;let a=this._getLastMarkedIndex();a>-1?this._markedIndex=a:this._markedIndex=h?this.filteredItems.findIndex(f=>!f.disabled):-1}resolveNested(h,a){if(!KV(h))return h;if(a.indexOf(".")===-1)return h[a];{let f=a.split("."),g=h;for(let D=0,q=f.length;D<q;++D){if(g==null)return null;g=g[f[D]]}return g}}mapItem(h,a){let f=iM(h.$ngOptionLabel)?h.$ngOptionLabel:this.resolveNested(h,this._ngSelect.bindLabel),g=iM(h.$ngOptionValue)?h.$ngOptionValue:h;return{index:a,label:iM(f)?f.toString():"",value:g,disabled:h.disabled,htmlId:`${this._ngSelect.dropdownId}-${a}`}}mapSelectedItems(){let h=this._ngSelect.multiple;for(let a of this.selectedItems){let f=this._ngSelect.bindValue?this.resolveNested(a.value,this._ngSelect.bindValue):a.value,g=iM(f)?this.findItem(f):null;this._selectionModel.unselect(a,h),this._selectionModel.select(g||a,h,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(a=>this.selectedItems.indexOf(a)===-1))}_showSelected(h){if(this._filteredItems.push(h),h.parent){let a=h.parent;this._filteredItems.find(g=>g===a)||this._filteredItems.push(a)}else if(h.children)for(let a of h.children)a.selected=!1,this._filteredItems.push(a);this._filteredItems=[...this._filteredItems.sort((a,f)=>a.index-f.index)]}_hideSelected(h){this._filteredItems=this._filteredItems.filter(a=>a!==h),h.parent?h.parent.children.every(f=>f.selected)&&(this._filteredItems=this._filteredItems.filter(f=>f!==h.parent)):h.children&&(this._filteredItems=this.filteredItems.filter(a=>a.parent!==h))}_defaultSearchFn(h,a){return lZ(a.label).toLocaleLowerCase().indexOf(h)>-1}_getNextItemIndex(h){return h>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(h){this._filteredItems.length===0||this._filteredItems.every(a=>a.disabled)||(this._markedIndex=this._getNextItemIndex(h),this.markedItem.disabled&&this._stepToItem(h))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let h=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&h<0?-1:Math.max(this.markedIndex,h)}_groupBy(h,a){let f=new Map;if(h.length===0)return f;if(Array.isArray(h[0].value[a])){for(let q of h){let de=(q.value[a]||[]).map((G,ee)=>this.mapItem(G,ee));f.set(q,de)}return f}let g=cZ(this._ngSelect.groupBy),D=q=>{let de=g?a(q.value):q.value[a];return iM(de)?de:void 0};for(let q of h){let de=D(q),G=f.get(de);G?G.push(q):f.set(de,[q])}return f}_flatten(h){let a=cZ(this._ngSelect.groupBy),f=[];for(let g of Array.from(h.keys())){let D=f.length;if(g===void 0){let ye=h.get(void 0)||[];f.push(...ye.map(je=>(je.index=D++,je)));continue}let q=KV(g),de={label:q?"":String(g),children:void 0,parent:null,index:D++,disabled:!this._ngSelect.selectableGroup,htmlId:yme()},G=a?this._ngSelect.bindLabel:this._ngSelect.groupBy,ee=this._ngSelect.groupValue||(()=>q?g.value:{[G]:g}),fe=h.get(g).map(ye=>(ye.parent=de,ye.children=void 0,ye.index=D++,ye));de.children=fe,de.value=ee(g,fe.map(ye=>ye.value)),f.push(de),f.push(...fe)}return f}},Mme=(()=>{class p{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(a,f,g){let D=this._dimensions,q=D.itemHeight*f,G=Math.max(0,a)/q*f,ee=Math.min(f,Math.ceil(G)+(D.itemsPerViewport+1)),ye=Math.max(0,ee-D.itemsPerViewport),je=Math.min(ye,Math.floor(G)),$e=D.itemHeight*Math.ceil(je)-D.itemHeight*Math.min(je,g);return $e=isNaN($e)?0:$e,je=isNaN(je)?-1:je,ee=isNaN(ee)?-1:ee,je-=g,je=Math.max(0,je),ee+=g,ee=Math.min(f,ee),{topPadding:$e,scrollHeight:q,start:je,end:ee}}setDimensions(a,f){let g=Math.max(1,Math.floor(f/a));this._dimensions={itemHeight:a,panelHeight:f,itemsPerViewport:g}}getScrollTo(a,f,g){let{panelHeight:D}=this.dimensions,q=a+f,de=g,G=de+D;return D>=q&&g===a?null:q>G?de+q-G:a<=de?a:null}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac})}}return p})(),mme=["top","right","bottom","left"],ETe=typeof requestAnimationFrame<"u"?YY:jY,bme=(()=>{class p{constructor(a,f,g,D,q){this._renderer=a,this._zone=f,this._panelService=g,this._document=q,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new ns,this.scroll=new ns,this.scrollToEnd=new ns,this.outsideClick=new ns,this._destroy$=new H0,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=D.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(a){a!==this._itemsLength&&(this._itemsLength=a,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:a,panelHeight:f}=this._panelService.dimensions,g=this.markedItem.index*a;return f>g?0:g}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(a){if(a.items){let f=a.items;this._onItemsChange(f.currentValue,f.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(a,f=!1){if(!a)return;let g=this.items.indexOf(a);if(g<0||g>=this.itemsLength)return;let D;if(this.virtualScroll){let q=this._panelService.dimensions.itemHeight;D=this._panelService.getScrollTo(g*q,q,this._lastScrollPosition)}else{let q=this._dropdown.querySelector(`#${a.htmlId}`),de=f?q.offsetTop:this._lastScrollPosition;D=this._panelService.getScrollTo(q.offsetTop,q.clientHeight,de)}iM(D)&&(this._scrollablePanel.scrollTop=D)}scrollToTag(){let a=this._scrollablePanel;a.scrollTop=a.scrollHeight-a.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),mme.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(a){mme.forEach(g=>{let D=`ng-select-${g}`;this._renderer.removeClass(this._dropdown,D),this._renderer.removeClass(this._select,D)});let f=`ng-select-${a}`;this._renderer.addClass(this._dropdown,f),this._renderer.addClass(this._select,f)}_handleScroll(){this._zone.runOutsideAngular(()=>{iL(this.scrollElementRef.nativeElement,"scroll").pipe(eM(this._destroy$),B9(0,ETe)).subscribe(a=>{let f=a.path||a.composedPath&&a.composedPath();if(!f||f.length===0&&!a.target)return;let g=!f||f.length===0?a.target.scrollTop:f[0].scrollTop;this._onContentScrolled(g)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{T_(iL(this._document,"touchstart",{capture:!0}),iL(this._document,"click",{capture:!0})).pipe(eM(this._destroy$)).subscribe(a=>this._checkToClose(a))})}_checkToClose(a){if(this._select.contains(a.target)||this._dropdown.contains(a.target))return;let f=a.path||a.composedPath&&a.composedPath();a.target&&a.target.shadowRoot&&f&&f[0]&&this._select.contains(f[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(a,f){this.items=a||[],this._scrollToEndFired=!1,this.itemsLength=a.length,this.virtualScroll?this._updateItemsRange(f):(this._setVirtualHeight(),this._updateItems(f))}_updateItems(a){this.update.emit(this.items),a!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let f=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,f),this._handleDropdownPosition(),this.scrollTo(this.markedItem,a)})})}_updateItemsRange(a){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{a?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(a){this.virtualScroll&&this._renderItemsRange(a),this._lastScrollPosition=a,this._fireScrollToEnd(a)}_updateVirtualHeight(a){this._updateScrollHeight&&(this._virtualPadding.style.height=`${a}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(a=null){if(a&&this._lastScrollPosition===a)return;a=a||this._scrollablePanel.scrollTop;let f=this._panelService.calculateItems(a,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(f.scrollHeight),this._contentPanel.style.transform=`translateY(${f.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(f.start,f.end)),this.scroll.emit({start:f.start,end:f.end})}),iM(a)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=a,this._lastScrollPosition=a)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[a]=this.items;return this.update.emit([a]),Promise.resolve().then(()=>{let g=this._dropdown.querySelector(`#${a.htmlId}`).clientHeight;this._virtualPadding.style.height=`${g*this.itemsLength}px`;let D=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(g,D),this._panelService.dimensions})}_fireScrollToEnd(a){if(this._scrollToEndFired||a===0)return;let f=this.virtualScroll?this._virtualPadding:this._contentPanel;a+this._dropdown.clientHeight>=f.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(a){if(this.position!=="auto")return this.position;let f=this._select.getBoundingClientRect(),g=document.documentElement.scrollTop||document.body.scrollTop,D=f.top+window.pageYOffset,q=f.height,de=a.getBoundingClientRect().height;return D+q+de>g+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let a=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),g=a.left-f.left;this._dropdown.style.left=g+"px",this._dropdown.style.width=a.width+"px",this._dropdown.style.minWidth=a.width+"px"}_updateYPosition(){let a=this._select.getBoundingClientRect(),f=this._parent.getBoundingClientRect(),g=a.height;if(this._currentPosition==="top"){let D=f.bottom-a.bottom;this._dropdown.style.bottom=D+g+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let D=a.top-f.top;this._dropdown.style.top=D+g+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{iL(this._dropdown,"mousedown").pipe(eM(this._destroy$)).subscribe(a=>{a.target.tagName!=="INPUT"&&a.preventDefault()})})}static{this.\u0275fac=function(f){return new(f||p)(ls(CI),ls(Qu),ls(Mme),ls(Cl),ls(Uf,8))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-dropdown-panel"]],viewQuery:function(f,g){if(f&1&&($1(I_e,7,Cl),$1(A_e,7,Cl),$1(O_e,7,Cl)),f&2){let D;f0(D=m0())&&(g.contentElementRef=D.first),f0(D=m0())&&(g.scrollElementRef=D.first),f0(D=m0())&&(g.paddingElementRef=D.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",Ss],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Gd],ngContentSelectors:vme,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(f,g){f&1&&(Qf(),as(0,w_e,2,4,"div",3),ln(1,"div",4,0),Rs(3,"div",null,1),ln(5,"div",null,2),Fd(7),vn()(),as(8,__e,2,4,"div",5)),f&2&&(Js(g.headerTemplate?0:-1),Kt(3),ul("total-padding",g.virtualScroll),Kt(2),ul("scrollable-content",g.virtualScroll&&g.items.length),Kt(3),Js(g.footerTemplate?8:-1))},dependencies:[tC],encapsulation:2,changeDetection:0})}}return p})(),ZR=(()=>{class p{constructor(a){this.elementRef=a,this.disabled=!1,this.stateChange$=new H0}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(a){a.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(f){return new(f||p)(ls(Cl))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",Ss]},features:[Gd],ngContentSelectors:vme,decls:1,vars:0,template:function(f,g){f&1&&(Qf(),Fd(0))},encapsulation:2,changeDetection:0})}}return p})(),DS=function(p){return p[p.Tab=9]="Tab",p[p.Enter=13]="Enter",p[p.Esc=27]="Esc",p[p.Space=32]="Space",p[p.ArrowUp=38]="ArrowUp",p[p.ArrowDown=40]="ArrowDown",p[p.Backspace=8]="Backspace",p}(DS||{});function Ime(){return new n0e}var n0e=class{constructor(){this._selected=[]}get value(){return this._selected}select(h,a,f){if(h.selected=!0,(!h.children||!a&&f)&&this._selected.push(h),a)if(h.parent){let g=h.parent.children.length,D=h.parent.children.filter(q=>q.selected).length;h.parent.selected=g===D}else h.children&&(this._setChildrenSelectedState(h.children,!0),this._removeChildren(h),f&&this._activeChildren(h)?this._selected=[...this._selected.filter(g=>g.parent!==h),h]:this._selected=[...this._selected,...h.children.filter(g=>!g.disabled)])}unselect(h,a){if(this._selected=this._selected.filter(f=>f!==h),h.selected=!1,a)if(h.parent&&h.parent.selected){let f=h.parent.children;this._removeParent(h.parent),this._removeChildren(h.parent),this._selected.push(...f.filter(g=>g!==h&&!g.disabled)),h.parent.selected=!1}else h.children&&(this._setChildrenSelectedState(h.children,!1),this._removeChildren(h))}clear(h){this._selected=h?this._selected.filter(a=>a.disabled):[]}_setChildrenSelectedState(h,a){for(let f of h)f.disabled||(f.selected=a)}_removeChildren(h){this._selected=[...this._selected.filter(a=>a.parent!==h),...h.children.filter(a=>a.parent===h&&a.disabled&&a.selected)]}_removeParent(h){this._selected=this._selected.filter(a=>a!==h)}_activeChildren(h){return h.children.every(a=>!a.disabled||a.selected)}},CTe=(()=>{class p{constructor(){this.fixedPlaceholder=!1,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),DTe=(()=>{class p{warn(a){console.warn(a)}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),Ame=new Mo("ng-select-selection-model"),mL=(()=>{class p{constructor(a,f,g,D,q,de,G){this.classes=a,this.autoFocus=f,this.config=g,this._cd=de,this._console=G,this.ariaLabelDropdown="Options List",this.markFirst=!0,this.fixedPlaceholder=!1,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new ns,this.focusEvent=new ns,this.changeEvent=new ns,this.openEvent=new ns,this.closeEvent=new ns,this.searchEvent=new ns,this.clearEvent=new ns,this.addEvent=new ns,this.removeEvent=new ns,this.scroll=new ns,this.scrollToEnd=new ns,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=yme(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new H0,this._keyPress$=new H0,this._items=[],this.keyDownFn=ee=>!0,this.clearItem=ee=>{let fe=this.selectedItems.find(ye=>ye.value===ee);this.unselect(fe)},this.trackByOption=(ee,fe)=>this.trackByFn?this.trackByFn(fe.value):fe,this._onChange=ee=>{},this._onTouched=()=>{},this._mergeGlobalConfig(g),this.itemsList=new t0e(this,D?D():Ime()),this.element=q.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(a){this._itemsAreUsed=!0,this._items=a??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(a){if(a!=null&&!cZ(a))throw Error("`compareWith` must be a function.");this._compareWith=a}get clearSearchOnAdd(){return iM(this._clearSearchOnAdd)?this._clearSearchOnAdd:iM(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(a){this._clearSearchOnAdd=a}get deselectOnClick(){return iM(this._deselectOnClick)?this._deselectOnClick:iM(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(a){this._deselectOnClick=a}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(a=>a.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let a=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(f=>f.label.toLowerCase()===a)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(f=>f.label.toLowerCase()===a))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let a=this.searchTerm&&this.searchTerm.trim();return a&&a.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(a){a.multiple&&this.itemsList.clearSelected(),a.items&&this._setItems(a.items.currentValue||[]),a.isOpen&&(this._manualOpen=iM(a.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),iM(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(a){if(DS[a.which]){if(this.keyDownFn(a)===!1)return;this.handleKeyCode(a)}else a.key&&a.key.length===1&&this._keyPress$.next(a.key.toLocaleLowerCase())}handleKeyCode(a){let f=a.target;this.clearButton&&this.clearButton.nativeElement===f?this.handleKeyCodeClear(a):this.handleKeyCodeInput(a)}handleKeyCodeInput(a){switch(a.which){case DS.ArrowDown:this._handleArrowDown(a);break;case DS.ArrowUp:this._handleArrowUp(a);break;case DS.Space:this._handleSpace(a);break;case DS.Enter:this._handleEnter(a);break;case DS.Tab:this._handleTab(a);break;case DS.Esc:this.close(),a.preventDefault();break;case DS.Backspace:this._handleBackspace();break}}handleKeyCodeClear(a){switch(a.which){case DS.Enter:this.handleClearClick(),a.preventDefault();break}}handleMousedown(a){if(this.preventToggleOnRightClick&&a.button===2)return!1;let f=a.target;if(f.tagName!=="INPUT"&&a.preventDefault(),f.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(f.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}f.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(a){this.itemsList.clearSelected(),this._handleWriteValue(a),this._cd.markForCheck()}registerOnChange(a){this._onChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this._disabled=a,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(a){!a||a.disabled||this.disabled||(this.deselectOnClick&&a.selected?this.unselect(a):this.select(a),this._editableSearchTerm&&this._setSearchTermFromItems())}select(a){a.selected||(this.itemsList.select(a),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(a.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(a){a&&(this.itemsList.unselect(a),this.focus(),this._updateNgModel(),this.removeEvent.emit(a.value),this._onSelectionChanged())}selectTag(){let a;cZ(this.addTag)?a=this.addTag(this.searchTerm):a=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let f=g=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(g,null):this.itemsList.addItem(g);dTe(a)?a.then(g=>this.select(f(g))).catch(()=>{}):a&&this.select(f(a))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let a=this.itemsList.filteredItems.length===0;return(a&&!this._isTypeahead&&!this.loading||a&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(a){this._isComposing=!1,!this.searchWhileComposing&&this.filter(a)}filter(a){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=a,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(a),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:a,items:this.itemsList.filteredItems.map(f=>f.value)}),this.open())}onInputFocus(a){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(a),this.focused=!0)}onInputBlur(a){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(a),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(a){a.disabled||this.itemsList.markItem(a)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let a=this.selectedItems&&this.selectedItems[0];this.searchTerm=a&&a.label||null}_setItems(a){let f=a[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=iM(f)?!KV(f):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(a),a.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&iM(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let a=g=>{this.items=g.map(D=>({$ngOptionValue:D.value,$ngOptionLabel:D.elementRef.nativeElement.innerHTML,disabled:D.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},f=()=>{let g=T_(this.ngOptions.changes,this._destroy$);T_(...this.ngOptions.map(D=>D.stateChange$)).pipe(eM(g)).subscribe(D=>{let q=this.itemsList.findItem(D.value);q.disabled=D.disabled,q.label=D.label||q.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Q6(this.ngOptions),eM(this._destroy$)).subscribe(g=>{this.bindLabel=this._defaultLabel,a(g),f()})}_isValidWriteValue(a){if(!iM(a)||this.multiple&&a===""||Array.isArray(a)&&a.length===0)return!1;let f=g=>!iM(this.compareWith)&&KV(g)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(g)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(a)?a.every(g=>f(g)):(this._console.warn("Multiple select ngModel should be array."),!1):f(a)}_handleWriteValue(a){if(!this._isValidWriteValue(a))return;let f=g=>{let D=this.itemsList.findItem(g);if(D)this.itemsList.select(D);else{let q=KV(g),de=!q&&!this.bindValue;q||de?this.itemsList.select(this.itemsList.mapItem(g,null)):this.bindValue&&(D={[this.bindLabel]:null,[this.bindValue]:g},this.itemsList.select(this.itemsList.mapItem(D,null)))}};this.multiple?a.forEach(g=>f(g)):f(a)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(eM(this._destroy$),iS(a=>this._pressedKeys.push(a)),HP(200),TA(()=>this._pressedKeys.length>0),Xu(()=>this._pressedKeys.join(""))).subscribe(a=>{let f=this.itemsList.findByLabel(a);f&&(this.isOpen?(this.itemsList.markItem(f),this._scrollToMarked(),this._cd.markForCheck()):this.select(f)),this._pressedKeys=[]})}_setInputAttributes(){let a=this.searchInput.nativeElement,f=k0({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let g of Object.keys(f))a.setAttribute(g,f[g])}_updateNgModel(){let a=[];for(let g of this.selectedItems)if(this.bindValue){let D=null;if(g.children){let q=this.groupValue?this.bindValue:this.groupBy;D=g.value[q||this.groupBy]}else D=this.itemsList.resolveNested(g.value,this.bindValue);a.push(D)}else a.push(g.value);let f=this.selectedItems.map(g=>g.value);this.multiple?(this._onChange(a),this.changeEvent.emit(f)):(this._onChange(iM(a[0])?a[0]:null),this.changeEvent.emit(f[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(a){this.searchTerm=a,this._isTypeahead&&this.typeahead.next(a)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(a){if(this.isOpen===!1){if(this.showClear()&&!a.shiftKey)this.focusOnClear(),a.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),a.preventDefault()):this.showAddTag?(this.selectTag(),a.preventDefault()):this.close():this.close()}_handleEnter(a){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;a.preventDefault()}_handleSpace(a){this.isOpen||this._manualOpen||(this.open(),a.preventDefault())}_handleArrowDown(a){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),a.preventDefault()}_handleArrowUp(a){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),a.preventDefault())}_nextItemIsTag(a){let f=this.itemsList.markedIndex+a;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(f<0||f===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(a){this.placeholder=this.placeholder||a.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||a.fixedPlaceholder,this.notFoundText=this.notFoundText||a.notFoundText,this.typeToSearchText=this.typeToSearchText||a.typeToSearchText,this.addTagText=this.addTagText||a.addTagText,this.loadingText=this.loadingText||a.loadingText,this.clearAllText=this.clearAllText||a.clearAllText,this.virtualScroll=iM(this.virtualScroll)?this.virtualScroll:iM(a.disableVirtualScroll)?!a.disableVirtualScroll:!1,this.openOnEnter=iM(this.openOnEnter)?this.openOnEnter:a.openOnEnter,this.appendTo=this.appendTo||a.appendTo,this.bindValue=this.bindValue||a.bindValue,this.bindLabel=this.bindLabel||a.bindLabel,this.appearance=this.appearance||a.appearance}static{this.\u0275fac=function(f){return new(f||p)(DV("class"),DV("autofocus"),ls(CTe),ls(Ame,8),ls(Cl),ls(Zf),ls(DTe))}}static{this.\u0275cmp=ks({type:p,selectors:[["ng-select"]],contentQueries:function(f,g,D){if(f&1&&(MA(D,hTe,5,up),MA(D,fTe,5,up),MA(D,mTe,5,up),MA(D,bTe,5,up),MA(D,vTe,5,up),MA(D,gTe,5,up),MA(D,yTe,5,up),MA(D,MTe,5,up),MA(D,ITe,5,up),MA(D,ATe,5,up),MA(D,OTe,5,up),MA(D,wTe,5,up),MA(D,_Te,5,up),MA(D,ZR,5)),f&2){let q;f0(q=m0())&&(g.optionTemplate=q.first),f0(q=m0())&&(g.optgroupTemplate=q.first),f0(q=m0())&&(g.labelTemplate=q.first),f0(q=m0())&&(g.multiLabelTemplate=q.first),f0(q=m0())&&(g.headerTemplate=q.first),f0(q=m0())&&(g.footerTemplate=q.first),f0(q=m0())&&(g.notFoundTemplate=q.first),f0(q=m0())&&(g.placeholderTemplate=q.first),f0(q=m0())&&(g.typeToSearchTemplate=q.first),f0(q=m0())&&(g.loadingTextTemplate=q.first),f0(q=m0())&&(g.tagTemplate=q.first),f0(q=m0())&&(g.loadingSpinnerTemplate=q.first),f0(q=m0())&&(g.clearButtonTemplate=q.first),f0(q=m0())&&(g.ngOptions=q)}},viewQuery:function(f,g){if(f&1&&($1(bme,5),$1(T_e,7),$1(E_e,5)),f&2){let D;f0(D=m0())&&(g.dropdownPanel=D.first),f0(D=m0())&&(g.searchInput=D.first),f0(D=m0())&&(g.clearButton=D.first)}},hostVars:20,hostBindings:function(f,g){f&1&&_i("keydown",function(q){return g.handleKeyDown(q)}),f&2&&ul("ng-select-typeahead",g.typeahead)("ng-select-multiple",g.multiple)("ng-select-taggable",g.addTag)("ng-select-searchable",g.searchable)("ng-select-clearable",g.clearable)("ng-select-opened",g.isOpen)("ng-select",g.useDefaultClass)("ng-select-filtered",g.filtered)("ng-select-single",g.single)("ng-select-disabled",g.disabled)},inputs:{ariaLabelDropdown:"ariaLabelDropdown",bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",Ss],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",Ss],closeOnSelect:[2,"closeOnSelect","closeOnSelect",Ss],hideSelected:[2,"hideSelected","hideSelected",Ss],selectOnTab:[2,"selectOnTab","selectOnTab",Ss],openOnEnter:[2,"openOnEnter","openOnEnter",Ss],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",J6],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",J6],virtualScroll:[2,"virtualScroll","virtualScroll",Ss],selectableGroup:[2,"selectableGroup","selectableGroup",Ss],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",Ss],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",Ss],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",J6],readonly:[2,"readonly","readonly",Ss],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",Ss],minTermLength:[2,"minTermLength","minTermLength",J6],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",Ss],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",Ss],addTag:"addTag",searchable:[2,"searchable","searchable",Ss],clearable:[2,"clearable","clearable",Ss],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[dl([{provide:DA,useExisting:o3(()=>p),multi:!0},Mme]),Gd],decls:13,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(f,g){if(f&1){let D=zr();ln(0,"div",10),_i("mousedown",function(de){return Ci(D),Di(g.handleMousedown(de))}),ln(1,"div",11),as(2,L_e,3,1)(3,B_e,2,0)(4,H_e,1,5,null,12),ln(5,"div",13)(6,"input",14,0),_i("blur",function(de){return Ci(D),Di(g.onInputBlur(de))})("change",function(de){return Ci(D),Di(de.stopPropagation())})("compositionend",function(){Ci(D);let de=lf(7);return Di(g.onCompositionEnd(de.value))})("compositionstart",function(){return Ci(D),Di(g.onCompositionStart())})("focus",function(de){return Ci(D),Di(g.onInputFocus(de))})("input",function(){Ci(D);let de=lf(7);return Di(g.filter(de.value))}),vn()()(),as(8,W_e,3,1)(9,G_e,2,1),ln(10,"span",15),Rs(11,"span",16),vn()(),as(12,oTe,8,18,"ng-dropdown-panel",17)}f&2&&(ul("ng-appearance-outline",g.appearance==="outline")("ng-has-value",g.hasValue),Kt(2),Js(g.selectedItems.length===0&&!g.searchTerm||g.fixedPlaceholder?2:-1),Kt(),Js((!g.multiLabelTemplate||!g.multiple)&&g.selectedItems.length>0?3:-1),Kt(),Js(g.multiple&&g.multiLabelTemplate&&g.selectedValues.length>0?4:-1),Kt(2),Rn("disabled",g.disabled)("readOnly",!g.searchable||g.itemsList.maxItemsSelected)("value",g.searchTerm?g.searchTerm:""),Tl("aria-activedescendant",g.isOpen?g.itemsList==null||g.itemsList.markedItem==null?null:g.itemsList.markedItem.htmlId:null)("aria-controls",g.isOpen?g.dropdownId:null)("aria-expanded",g.isOpen)("aria-label",g.ariaLabel)("aria-placeholder",g.placeholderTemplate?null:g.placeholder)("id",g.labelForId)("tabindex",g.tabIndex),Kt(2),Js(g.loading?8:-1),Kt(),Js(g.showClear()?9:-1),Kt(3),Js(g.isOpen?12:-1))},dependencies:[tC,pTe,bme,f1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
11651
11651
  `],encapsulation:2,changeDetection:0})}}return p})(),bL=(()=>{class p{static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275mod=Hd({type:p})}static{this.\u0275inj=kd({providers:[{provide:Ame,useValue:Ime}]})}}return p})();var gL=class{},Ome=(()=>{class p extends gL{getTranslation(a){return Bd({})}static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),c9=class{},wme=(()=>{class p{handle(a){return a.key}static \u0275fac=function(f){return new(f||p)};static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();function pZ(p,h){if(p===h)return!0;if(p===null||h===null)return!1;if(p!==p&&h!==h)return!0;let a=typeof p,f=typeof h,g,D,q;if(a==f&&a=="object")if(Array.isArray(p)){if(!Array.isArray(h))return!1;if((g=p.length)==h.length){for(D=0;D<g;D++)if(!pZ(p[D],h[D]))return!1;return!0}}else{if(Array.isArray(h))return!1;q=Object.create(null);for(D in p){if(!pZ(p[D],h[D]))return!1;q[D]=!0}for(D in h)if(!(D in q)&&typeof h[D]<"u")return!1;return!0}return!1}function vL(p){return typeof p<"u"&&p!==null}function tY(p){return dZ(p)&&!c0e(p)&&p!==null}function dZ(p){return typeof p=="object"}function c0e(p){return Array.isArray(p)}function u0e(p){return typeof p=="string"}function STe(p){return typeof p=="function"}function i0e(p,h){let a=Object.assign({},p);return dZ(p)?(dZ(p)&&dZ(h)&&Object.keys(h).forEach(f=>{tY(h[f])?f in p?a[f]=i0e(p[f],h[f]):Object.assign(a,{[f]:h[f]}):Object.assign(a,{[f]:h[f]})}),a):i0e({},h)}function s0e(p,h){let a=h.split(".");h="";do h+=a.shift(),vL(p)&&vL(p[h])&&(tY(p[h])||c0e(p[h])||!a.length)?(p=p[h],h=""):a.length?h+=".":p=void 0;while(a.length);return p}function zTe(p,h,a){let f=h.split("."),g=p;for(let D=0;D<f.length;D++){let q=f[D];D===f.length-1?g[q]=a:((!g[q]||!tY(g[q]))&&(g[q]={}),g=g[q])}}var OB=class{},_me=(()=>{class p extends OB{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(a,f){if(u0e(a))return this.interpolateString(a,f);if(STe(a))return this.interpolateFunction(a,f)}interpolateFunction(a,f){return a(f)}interpolateString(a,f){return f?a.replace(this.templateMatcher,(g,D)=>{let q=s0e(f,D);return vL(q)?q:g}):a}static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),wB=class{},Tme=(()=>{class p extends wB{compile(a,f){return a}compileTranslations(a,f){return a}static \u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})();static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})(),eY=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new ns;onLangChange=new ns;onDefaultLangChange=new ns},r0e=new Mo("ISOLATE_TRANSLATE_SERVICE"),a0e=new Mo("USE_DEFAULT_LANG"),o0e=new Mo("DEFAULT_LANGUAGE"),l0e=new Mo("USE_EXTEND"),$V=p=>__(p)?p:Bd(p),za=(()=>{class p{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(a){this.store.defaultLang=a}get currentLang(){return this.store.currentLang}set currentLang(a){this.store.currentLang=a}get langs(){return this.store.langs}set langs(a){this.store.langs=a}get translations(){return this.store.translations}set translations(a){this.store.translations=a}constructor(a,f,g,D,q,de=!0,G=!1,ee=!1,fe){this.store=a,this.currentLoader=f,this.compiler=g,this.parser=D,this.missingTranslationHandler=q,this.useDefaultLang=de,this.extend=ee,G&&(this.store=new eY),fe&&this.setDefaultLang(fe)}setDefaultLang(a){if(a===this.defaultLang)return;let f=this.retrieveTranslations(a);typeof f<"u"?(this.defaultLang==null&&(this.defaultLang=a),f.pipe(a3(1)).subscribe(()=>{this.changeDefaultLang(a)})):this.changeDefaultLang(a)}getDefaultLang(){return this.defaultLang}use(a){if(this.lastUseLanguage=a,a===this.currentLang)return Bd(this.translations[a]);this.currentLang||(this.currentLang=a);let f=this.retrieveTranslations(a);return __(f)?(f.pipe(a3(1)).subscribe(()=>{this.changeLang(a)}),f):(this.changeLang(a),Bd(this.translations[a]))}changeLang(a){a===this.lastUseLanguage&&(this.currentLang=a,this.onLangChange.emit({lang:a,translations:this.translations[a]}),this.defaultLang==null&&this.changeDefaultLang(a))}retrieveTranslations(a){if(typeof this.translations[a]>"u"||this.extend)return this._translationRequests[a]=this._translationRequests[a]||this.loadAndCompileTranslations(a),this._translationRequests[a]}getTranslation(a){return this.loadAndCompileTranslations(a)}loadAndCompileTranslations(a){this.pending=!0;let f=this.currentLoader.getTranslation(a).pipe(aV(1),a3(1));return this.loadingTranslations=f.pipe(Xu(g=>this.compiler.compileTranslations(g,a)),aV(1),a3(1)),this.loadingTranslations.subscribe({next:g=>{this.translations[a]=this.extend&&this.translations[a]?k0(k0({},g),this.translations[a]):g,this.updateLangs(),this.pending=!1},error:g=>{this.pending=!1}}),f}setTranslation(a,f,g=!1){let D=this.compiler.compileTranslations(f,a);(g||this.extend)&&this.translations[a]?this.translations[a]=i0e(this.translations[a],D):this.translations[a]=D,this.updateLangs(),this.onTranslationChange.emit({lang:a,translations:this.translations[a]})}getLangs(){return this.langs}addLangs(a){let f=a.filter(g=>!this.langs.includes(g));f.length>0&&(this.langs=[...this.langs,...f])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(a,f,g){let D;if(a&&(D=this.runInterpolation(s0e(a,f),g)),D===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(D=this.runInterpolation(s0e(this.translations[this.defaultLang],f),g)),D===void 0){let q={key:f,translateService:this};typeof g<"u"&&(q.interpolateParams=g),D=this.missingTranslationHandler.handle(q)}return D!==void 0?D:f}runInterpolation(a,f){if(c0e(a))return a.map(g=>this.runInterpolation(g,f));if(tY(a)){let g={};for(let D in a){let q=this.runInterpolation(a[D],f);q!==void 0&&(g[D]=q)}return g}else return this.parser.interpolate(a,f)}getParsedResult(a,f,g){if(f instanceof Array){let D={},q=!1;for(let G of f)D[G]=this.getParsedResultForKey(a,G,g),q=q||__(D[G]);if(!q)return D;let de=f.map(G=>$V(D[G]));return mS(de).pipe(Xu(G=>{let ee={};return G.forEach((fe,ye)=>{ee[f[ye]]=fe}),ee}))}return this.getParsedResultForKey(a,f,g)}get(a,f){if(!vL(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(E_(g=>$V(this.getParsedResult(g,a,f)))):$V(this.getParsedResult(this.translations[this.currentLang],a,f))}getStreamOnTranslationChange(a,f){if(!vL(a)||!a.length)throw new Error('Parameter "key" is required and cannot be empty');return rC(dX(()=>this.get(a,f)),this.onTranslationChange.pipe($y(g=>{let D=this.getParsedResult(g.translations,a,f);return $V(D)})))}stream(a,f){if(!vL(a)||!a.length)throw new Error('Parameter "key" required');return rC(dX(()=>this.get(a,f)),this.onLangChange.pipe($y(g=>{let D=this.getParsedResult(g.translations,a,f);return $V(D)})))}instant(a,f){if(!vL(a)||a.length===0)throw new Error('Parameter "key" is required and cannot be empty');let g=this.getParsedResult(this.translations[this.currentLang],a,f);return __(g)?Array.isArray(a)?a.reduce((D,q)=>(D[q]=q,D),{}):a:g}set(a,f,g=this.currentLang){zTe(this.translations[g],a,u0e(f)?this.compiler.compile(f,g):this.compiler.compileTranslations(f,g)),this.updateLangs(),this.onTranslationChange.emit({lang:g,translations:this.translations[g]})}changeDefaultLang(a){this.defaultLang=a,this.onDefaultLangChange.emit({lang:a,translations:this.translations[a]})}reloadLang(a){return this.resetLang(a),this.loadAndCompileTranslations(a)}resetLang(a){delete this._translationRequests[a],delete this.translations[a]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let a=this.getBrowserCultureLang();return a?a.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(f){return new(f||p)(h0(eY),h0(gL),h0(wB),h0(OB),h0(c9),h0(a0e),h0(r0e),h0(l0e),h0(o0e))};static \u0275prov=ha({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var y1=(()=>{class p{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(a,f){this.translate=a,this._ref=f}updateValue(a,f,g){let D=q=>{this.value=q!==void 0?q:a,this.lastKey=a,this._ref.markForCheck()};if(g){let q=this.translate.getParsedResult(g,a,f);__(q)?q.subscribe(D):D(q)}this.translate.get(a,f).subscribe(D)}transform(a,...f){if(!a||!a.length)return a;if(pZ(a,this.lastKey)&&pZ(f,this.lastParams))return this.value;let g;if(vL(f[0])&&f.length)if(u0e(f[0])&&f[0].length){let D=f[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{g=JSON.parse(D)}catch(q){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${f[0]}`)}}else tY(f[0])&&(g=f[0]);return this.lastKey=a,this.lastParams=f,this.updateValue(a,g),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(D=>{this.lastKey&&D.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(a,g,D.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(D=>{this.lastKey&&(this.lastKey=null,this.updateValue(a,g,D.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(a,g))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(f){return new(f||p)(ls(za,16),ls(Zf,16))};static \u0275pipe=DI({name:"translate",type:p,pure:!1});static \u0275prov=ha({token:p,factory:p.\u0275fac})}return p})();var jo=(()=>{class p{static forRoot(a={}){return{ngModule:p,providers:[a.loader||{provide:gL,useClass:Ome},a.compiler||{provide:wB,useClass:Tme},a.parser||{provide:OB,useClass:_me},a.missingTranslationHandler||{provide:c9,useClass:wme},eY,{provide:r0e,useValue:a.isolate},{provide:a0e,useValue:a.useDefaultLang},{provide:l0e,useValue:a.extend},{provide:o0e,useValue:a.defaultLanguage},za]}}static forChild(a={}){return{ngModule:p,providers:[a.loader||{provide:gL,useClass:Ome},a.compiler||{provide:wB,useClass:Tme},a.parser||{provide:OB,useClass:_me},a.missingTranslationHandler||{provide:c9,useClass:wme},{provide:r0e,useValue:a.isolate},{provide:a0e,useValue:a.useDefaultLang},{provide:l0e,useValue:a.extend},{provide:o0e,useValue:a.defaultLanguage},za]}}static \u0275fac=function(f){return new(f||p)};static \u0275mod=Hd({type:p});static \u0275inj=kd({})}return p})();var M1=(()=>{class p{constructor(a){this.translateService=a,this._selectedLanguage=C0("en"),this._localizedStrings=C0({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(a){this._selectedLanguage.set(a),this.translateService.use(a);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(f){console.error(f)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(a){this._localizedStrings.set(a),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,a)}catch(f){console.error(f)}}static{this.\u0275fac=function(f){return new(f||p)(ls(za))}}static{this.\u0275cmp=ks({type:p,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[dl([za])],decls:2,vars:0,template:function(f,g){f&1&&(ln(0,"p"),Os(1," localized widget works! "),vn())},dependencies:[Lo,jo],encapsulation:3})}}return p})();function RTe(p,h){p&1&&(ln(0,"div",3),Os(1),vn()),p&2&&(Kt(),ga(" ",h," "))}function LTe(p,h){if(p&1&&(ln(0,"div",5),Os(1),vn()),p&2){let a=h.$implicit;Kt(),ga(" ",a," ")}}function xTe(p,h){if(p&1&&(ln(0,"div",4),vp(1,LTe,2,1,"div",5,tM),vn()),p&2){let a=on();Kt(),gp(a.spinnerTexts())}}var hZ=(()=>{class p{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=qf(void 0),this.spinnerTexts=qf(void 0),this.isSpinnerTextsArray=nM(()=>{let a=this.spinnerTexts();return!!(a&&typeof a=="object"&&Array.isArray(a)&&a.length)})}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=ks({type:p,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",Ss],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",Ss],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",Ss],spinnerText:[1,"spinnerText"],spinnerTexts:[1,"spinnerTexts"]},decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["data-test","spinner-text",1,"spinner-text"],["data-test","spinner-texts",1,"spinner-texts"],[1,"spinner-text"]],template:function(f,g){if(f&1&&(ln(0,"div",0)(1,"div",1),Rs(2,"div",2),as(3,RTe,2,1,"div",3)(4,xTe,3,0,"div",4),vn()()),f&2){let D;Kt(2),ul("spinner-spin-active",g.spinnerSpinActive)("spinner-disabled",g.spinnerDisabled)("hover-enabled",g.spinnerHoverEnabled&&!g.spinnerDisabled),Kt(),Js((D=g.spinnerText())?3:-1,D),Kt(),Js(g.isSpinnerTextsArray()?4:-1)}},styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return p})();var NTe=["*"];function PTe(p,h){p&1&&(ln(0,"div",1)(1,"div",4)(2,"span"),Os(3),vn()()()),p&2&&(Kt(3),s0(h))}function BTe(p,h){if(p&1&&(ln(0,"div",3),Rs(1,"lib-loading-spinner",5),vn()),p&2){let a=on();Kt(),Rn("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",a.loadingSpinnerText)}}var _B=(()=>{class p{constructor(){this.header=qf(""),this.isLoading=qf(!1),this.loadingSpinnerText=""}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=ks({type:p,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:[1,"header"],isLoading:[1,"isLoading"],loadingSpinnerText:"loadingSpinnerText"},ngContentSelectors:NTe,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(f,g){if(f&1&&(Qf(),ln(0,"div",0),as(1,PTe,4,1,"div",1),ln(2,"div",2),Fd(3),vn(),as(4,BTe,2,4,"div",3),vn()),f&2){let D;Kt(),Js((D=g.header())?1:-1,D),Kt(3),Js(g.isLoading()?4:-1)}},dependencies:[hZ],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
11652
11652
  `],encapsulation:2})}}return p})();var Eme={FILE:"file",TEXT:"text"};var Cme=(p,h,a)=>({$implicit:p,last:h,first:a}),kTe=(p,h,a,f)=>({$implicit:p,last:h,first:a,fileInput:f}),HTe=(p,h)=>h.id;function FTe(p,h){p&1&&ey(0)}function qTe(p,h){if(p&1&&as(0,FTe,1,0,"ng-container",4),p&2){let a=on(),f=a.$implicit,g=a.$index,D=a.$count;on();let q=lf(4);Rn("ngTemplateOutlet",q)("ngTemplateOutletContext",ty(2,Cme,f,g===D-1,g===0))}}function WTe(p,h){p&1&&ey(0)}function UTe(p,h){if(p&1&&as(0,WTe,1,0,"ng-container",4),p&2){let a=on(),f=a.$implicit,g=a.$index,D=a.$count;on();let q=lf(6);Rn("ngTemplateOutlet",q)("ngTemplateOutletContext",ty(2,Cme,f,g===D-1,g===0))}}function jTe(p,h){if(p&1&&as(0,qTe,1,6,"ng-container")(1,UTe,1,6,"ng-container"),p&2){let a,f=h.$implicit,g=on();Js((a=f.type)===g.BimplusButtonType.FILE?0:1)}}function GTe(p,h){p&1&&ey(0)}function VTe(p,h){if(p&1){let a=zr();ln(0,"input",5,2),_i("change",function(g){Ci(a);let D=lf(1),q=on();return Di(q.onChange(g,D))}),vn(),as(2,GTe,1,0,"ng-container",4)}if(p&2){let a=h.$implicit,f=h.last,g=h.first,D=lf(1),q=on(),de=lf(6);Rn("id",a.id),Tl("multiple",q.isMultiple?!0:null),Kt(2),Rn("ngTemplateOutlet",de)("ngTemplateOutletContext",IQ(4,kTe,a,f,g,D))}}function YTe(p,h){if(p&1){let a=zr();ln(0,"button",6),ia(1,"async"),_i("click",function(){let g=Ci(a),D=g.$implicit,q=g.fileInput,de=on();return Di(q?q.click():de._buttonClicked(D))}),Os(2),vn()}if(p&2){let a=h.$implicit,f=h.last,g=h.first,D=on();ul("last",f)("first",g)("primary-button",a.buttonStyle===void 0||a.buttonStyle==="primary")("secondary-button",a.buttonStyle==="secondary")("text-button",a.buttonType===void 0||a.buttonType==="text")("icon-button",a.buttonType==="icon")("combined-button",a.buttonType==="combined")("disabled",a.disabled===!0),Io("title",a.tooltip),Rn("disabled",D.isObservable(a.disabled)?!!oa(1,19,a.disabled):!!a.disabled),Kt(2),ga(" ",a.title," ")}}var zI=(()=>{class p extends M1{constructor(){super(...arguments),this.BimplusButtonType=Eme,this.isMultiple=!1,this.items=qf([]),this.canUpdateObject=qf(!1),this.fileChanged=new ns,this.buttonClicked=new ns}onChange(a,f){let g=a.target.files;g&&(this.fileChanged.emit(g),f.value="")}_buttonClicked(a){if(a.disabled&&this.isObservable(a.disabled)){a.disabled.pipe(a3(1)).subscribe(f=>{f||this.buttonClicked.emit({id:a.id})});return}a.disabled||this.buttonClicked.emit({id:a.id})}isObservable(a){return typeof a=="object"&&"subscribe"in a}static{this.\u0275fac=(()=>{let a;return function(g){return(a||(a=$g(p)))(g||p)}})()}static{this.\u0275cmp=ks({type:p,selectors:[["lib-bimplus-buttons-row"]],inputs:{isMultiple:"isMultiple",items:[1,"items"],canUpdateObject:[1,"canUpdateObject"]},outputs:{fileChanged:"fileChanged",buttonClicked:"buttonClicked"},features:[el],decls:7,vars:0,consts:[["fileButton",""],["button",""],["fileInput",""],[1,"button-row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["hidden","","type","file",3,"change","id"],["data-test","button",3,"click","title","disabled"]],template:function(f,g){f&1&&(ln(0,"div",3),vp(1,jTe,2,1,null,null,HTe),vn(),as(3,VTe,3,9,"ng-template",null,0,OA)(5,YTe,3,21,"ng-template",null,1,OA)),f&2&&(Kt(),gp(g.items()))},dependencies:[tC,PQ],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button,.button-row>.secondary-button{padding:.2rem 1rem .4rem}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--primary-button-border-color-enabled);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.button-row>.primary-button:focus{border-color:var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.button-row>.primary-button.disabled,.button-row>.primary-button:disabled,.button-row>.primary-button:disabled:active,.button-row>.primary-button.disabled:active{border-color:var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.button-row>.primary-button:active{border-color:var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}.button-row>.secondary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);border-color:var(--secondary-button-border-color-enabled);color:var(--secondary-button-text-color-enabled);background-color:var(--secondary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.secondary-button.last{margin-right:0}.button-row>.secondary-button:hover{border:.2rem solid;border-color:var(--secondary-button-border-color-hovered);color:var(--secondary-button-text-color-hovered);background-color:var(--secondary-button-background-color-hovered);outline:0}.button-row>.secondary-button:focus{border:.2rem solid;border-color:var(--secondary-button-border-color-focused);color:var(--secondary-button-text-color-focused);background-color:var(--secondary-button-background-color-focused);outline:0}.button-row>.secondary-button.disabled,.button-row>.secondary-button:disabled,.button-row>.secondary-button:disabled:active,.button-row>.secondary-button.disabled:active{border:solid .2rem;border-color:var(--secondary-button-border-color-disabled);color:var(--secondary-button-text-color-disabled);background-color:var(--secondary-button-background-color-disabled);cursor:default}.button-row>.secondary-button:active{border:solid .2rem;border-color:var(--secondary-button-border-color-pressed);color:var(--secondary-button-text-color-pressed);background-color:var(--secondary-button-background-color-pressed);cursor:default}
11653
11653
  `],encapsulation:3})}}return p})();var XTe=[[["lib-expansion-panel-header"]],"*"],QTe=["lib-expansion-panel-header","*"],SS=(()=>{class p{constructor(){this.expanded=UR(!0)}toggleExpand(){this.expanded.update(a=>!a)}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=ks({type:p,selectors:[["lib-expansion-panel"]],inputs:{expanded:[1,"expanded"]},outputs:{expanded:"expandedChange"},ngContentSelectors:QTe,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],["data-test","expansion-panel",1,"expansion-panel-expander-icon",3,"click","keypress","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(f,g){f&1&&(Qf(XTe),ln(0,"div",0)(1,"div",1)(2,"div",2),_i("click",function(){return g.toggleExpand()})("keypress",function(){return g.toggleExpand()}),vn(),ln(3,"div",3),Fd(4),vn()(),ln(5,"div",4),Fd(6,1),vn()()),f&2&&(Kt(2),Rn("ngClass",g.expanded()?"open":"closed"),Kt(3),Rn("ngClass",g.expanded()?"":"collapsed"))},dependencies:[Lo,f1],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./assets/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./assets/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']})}}return p})();var ZTe=["*",[["lib-expansion-panel-header-actions"]]],KTe=["*","lib-expansion-panel-header-actions"],zS=(()=>{class p{constructor(){this.centerMenuButtonClass=!0}static{this.\u0275fac=function(f){return new(f||p)}}static{this.\u0275cmp=ks({type:p,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(f,g){f&2&&ul("expansion-panel-header-container",g.centerMenuButtonClass)},ngContentSelectors:KTe,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(f,g){f&1&&(Qf(ZTe),ln(0,"div",0),Fd(1),vn(),ln(2,"div"),Fd(3,1),vn())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.expansion-panel-header-container{display:flex;width:100%}