bimplus-webcomponents 0.0.217 → 0.0.218-logs-for-translation-test-01

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.
@@ -6036,7 +6036,7 @@ ${c.map((f,I)=>`${I+1}) ${f.toString()}`).join(`
6036
6036
  `&&m.charAt(1)==X7e?m.slice(2):m;let I=_y(v);if(Array.isArray(v))I=v.map(_y).join(" -> ");else if(typeof v=="object"){let D=[];for(let W in v)if(v.hasOwnProperty(W)){let ie=v[W];D.push(W+":"+(typeof ie=="string"?JSON.stringify(ie):_y(ie)))}I=`{${D.join(", ")}}`}return`${c}${f?"("+f+")":""}[${I}]: ${m.replace(Y7e,`
6037
6037
  `)}`}function BD(m,v){let c=m.hasOwnProperty(fY);return c?m[fY]:null}function vMe(m,v,c){if(m.length!==v.length)return!1;for(let f=0;f<m.length;f++){let I=m[f],D=v[f];if(c&&(I=c(I),D=c(D)),D!==I)return!1}return!0}function pMe(m){return m.flat(Number.POSITIVE_INFINITY)}function LJ(m,v){m.forEach(c=>Array.isArray(c)?LJ(c,v):v(c))}function mse(m,v,c){v>=m.length?m.push(c):m.splice(v,0,c)}function bY(m,v){return v>=m.length-1?m.pop():m.splice(v,1)[0]}function fMe(m,v){let c=[];for(let f=0;f<m;f++)c.push(v);return c}function hMe(m,v,c,f){let I=m.length;if(I==v)m.push(c,f);else if(I===1)m.push(f,m[0]),m[0]=c;else{for(I--,m.push(m[I-1],m[I]);I>v;){let D=I-2;m[I]=m[D],I--}m[v]=c,m[v+1]=f}}function NJ(m,v,c){let f=vH(m,v);return f>=0?m[f|1]=c:(f=~f,hMe(m,f,v,c)),f}function PJ(m,v){let c=vH(m,v);if(c>=0)return m[c|1]}function vH(m,v){return O7e(m,v,1)}function O7e(m,v,c){let f=0,I=m.length>>c;for(;I!==f;){let D=f+(I-f>>1),W=m[D<<c];if(v===W)return D<<c;W>v?I=D:f=D+1}return~(I<<c)}var kD={},Db=[],XN=new Go(""),bse=new Go("",-1),gse=new Go(""),hY=class{get(v,c=UN){if(c===UN)throw new LZ(`NullInjectorError: No provider for ${_y(v)}!`);return c}};function HD(m){return m[dse]||null}function yse(m){return m[cse]||null}function mMe(m){return m[vse]||null}function gY(m){return{\u0275providers:m}}function BJ(...m){return{\u0275providers:Mse(!0,m),\u0275fromNgModule:!0}}function Mse(m,...v){let c=[],f=new Set,I,D=W=>{c.push(W)};return LJ(v,W=>{let ie=W;SJ(ie,D,[],f)&&(I||=[],I.push(ie))}),I!==void 0&&bMe(I,D),c}function bMe(m,v){for(let c=0;c<m.length;c++){let{ngModule:f,providers:I}=m[c];_se(I,D=>{v(D,f)})}}function SJ(m,v,c,f){if(m=Hh(m),!m)return!1;let I=null,D=J0e(m),W=!D&&HD(m);if(!D&&!W){let ne=m.ngModule;if(D=J0e(ne),D)I=ne;else return!1}else{if(W&&!W.standalone)return!1;I=m}let ie=f.has(I);if(W){if(ie)return!1;if(f.add(I),W.dependencies){let ne=typeof W.dependencies=="function"?W.dependencies():W.dependencies;for(let ye of ne)SJ(ye,v,c,f)}}else if(D){if(D.imports!=null&&!ie){f.add(I);let ye;try{LJ(D.imports,Ie=>{SJ(Ie,v,c,f)&&(ye||=[],ye.push(Ie))})}finally{}ye!==void 0&&bMe(ye,v)}if(!ie){let ye=BD(I)||(()=>new I);v({provide:I,useFactory:ye,deps:Db},I),v({provide:gse,useValue:I,multi:!0},I),v({provide:XN,useValue:()=>Cl(I),multi:!0},I)}let ne=D.providers;if(ne!=null&&!ie){let ye=m;_se(ne,Ie=>{v(Ie,ye)})}}else return!1;return I!==m&&m.providers!==void 0}function _se(m,v){for(let c of m)use(c)&&(c=c.\u0275providers),Array.isArray(c)?_se(c,v):v(c)}var e8e=P1({provide:String,useValue:P1});function gMe(m){return m!==null&&typeof m=="object"&&e8e in m}function t8e(m){return!!(m&&m.useExisting)}function n8e(m){return!!(m&&m.useFactory)}function GN(m){return typeof m=="function"}function yMe(m){return!!m.useClass}var yY=new Go(""),AJ={},aMe={},Z0e;function pH(){return Z0e===void 0&&(Z0e=new hY),Z0e}var B1=class{},VN=class extends B1{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(v,c,f,I){super(),this.parent=c,this.source=f,this.scopes=I,ose(v,W=>this.processProvider(W)),this.records.set(bse,dH(void 0,this)),I.has("environment")&&this.records.set(B1,dH(void 0,this));let D=this.records.get(yY);D!=null&&typeof D.value=="string"&&this.scopes.add(D.value),this.injectorDefTypes=new Set(this.get(gse,Db,{self:!0}))}retrieve(v,c){let f=jN(c)||0;try{return this.get(v,UN,f)}catch(I){if($9(I))return I;throw I}}destroy(){pY(this),this._destroyed=!0;let v=_a(null);try{for(let f of this._ngOnDestroyHooks)f.ngOnDestroy();let c=this._onDestroyHooks;this._onDestroyHooks=[];for(let f of c)f()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_a(v)}}onDestroy(v){return pY(this),this._onDestroyHooks.push(v),()=>this.removeOnDestroy(v)}runInContext(v){pY(this);let c=WT(this),f=Cb(void 0),I;try{return v()}finally{WT(c),Cb(f)}}get(v,c=UN,f){if(pY(this),v.hasOwnProperty(rMe))return v[rMe](this);let I=jN(f),D,W=WT(this),ie=Cb(void 0);try{if(!(I&4)){let ye=this.records.get(v);if(ye===void 0){let Ie=a8e(v)&&RJ(v);Ie&&this.injectableDefInScope(Ie)?ye=dH(ise(v),AJ):ye=null,this.records.set(v,ye)}if(ye!=null)return this.hydrate(v,ye)}let ne=I&2?pH():this.parent;return c=I&8&&c===UN?null:c,ne.get(v,c)}catch(ne){if($9(ne)){if((ne[EJ]=ne[EJ]||[]).unshift(_y(v)),W)throw ne;return Z7e(ne,v,"R3InjectorError",this.source)}else throw ne}finally{Cb(ie),WT(W)}}resolveInjectorInitializers(){let v=_a(null),c=WT(this),f=Cb(void 0),I;try{let D=this.get(XN,Db,{self:!0});for(let W of D)W()}finally{WT(c),Cb(f),_a(v)}}toString(){let v=[],c=this.records;for(let f of c.keys())v.push(_y(f));return`R3Injector[${v.join(", ")}]`}processProvider(v){v=Hh(v);let c=GN(v)?v:Hh(v&&v.provide),f=o8e(v);if(!GN(v)&&v.multi===!0){let I=this.records.get(c);I||(I=dH(void 0,AJ,!0),I.factory=()=>nse(I.multi),this.records.set(c,I)),c=v,I.multi.push(v)}this.records.set(c,f)}hydrate(v,c){let f=_a(null);try{return c.value===aMe?pse(_y(v)):c.value===AJ&&(c.value=aMe,c.value=c.factory()),typeof c.value=="object"&&c.value&&l8e(c.value)&&this._ngOnDestroyHooks.add(c.value),c.value}finally{_a(f)}}injectableDefInScope(v){if(!v.providedIn)return!1;let c=Hh(v.providedIn);return typeof c=="string"?c==="any"||this.scopes.has(c):this.injectorDefTypes.has(c)}removeOnDestroy(v){let c=this._onDestroyHooks.indexOf(v);c!==-1&&this._onDestroyHooks.splice(c,1)}};function ise(m){let v=RJ(m),c=v!==null?v.factory:BD(m);if(c!==null)return c;if(m instanceof Go)throw new Qr(204,!1);if(m instanceof Function)return i8e(m);throw new Qr(204,!1)}function i8e(m){if(m.length>0)throw new Qr(204,!1);let c=j7e(m);return c!==null?()=>c.factory(m):()=>new m}function o8e(m){if(gMe(m))return dH(void 0,m.useValue);{let v=Ise(m);return dH(v,AJ)}}function Ise(m,v,c){let f;if(GN(m)){let I=Hh(m);return BD(I)||ise(I)}else if(gMe(m))f=()=>Hh(m.useValue);else if(n8e(m))f=()=>m.useFactory(...nse(m.deps||[]));else if(t8e(m))f=()=>Cl(Hh(m.useExisting));else{let I=Hh(m&&(m.useClass||m.provide));if(r8e(m))f=()=>new I(...nse(m.deps));else return BD(I)||ise(I)}return f}function pY(m){if(m.destroyed)throw new Qr(205,!1)}function dH(m,v,c=!1){return{factory:m,value:v,multi:c?[]:void 0}}function r8e(m){return!!m.deps}function l8e(m){return m!==null&&typeof m=="object"&&typeof m.ngOnDestroy=="function"}function a8e(m){return typeof m=="function"||typeof m=="object"&&m.ngMetadataName==="InjectionToken"}function ose(m,v){for(let c of m)Array.isArray(c)?ose(c,v):c&&use(c)?ose(c.\u0275providers,v):v(c)}function fH(m,v){let c;m instanceof VN?(pY(m),c=m):c=new tse(m);let f,I=WT(c),D=Cb(void 0);try{return v()}finally{WT(I),Cb(D)}}function MMe(){return cMe()!==void 0||R0e()!=null}var oI=0,Wa=1,Sa=2,Bp=3,E3=4,Rb=5,QN=6,hH=7,F1=8,KN=9,cA=10,Md=11,mH=12,wse=13,$N=14,S2=15,qD=16,ZN=17,vA=18,MY=19,Ase=20,jT=21,FJ=22,GT=23,Ay=24,JN=25,zv=26,_Me=1,Tse=6,WD=7,_Y=8,ON=9,uh=10;function pA(m){return Array.isArray(m)&&typeof m[_Me]=="object"}function rI(m){return Array.isArray(m)&&m[_Me]===!0}function kJ(m){return(m.flags&4)!==0}function UD(m){return m.componentOffset>-1}function IY(m){return(m.flags&1)===1}function fA(m){return!!m.template}function bH(m){return(m[Sa]&512)!==0}function eP(m){return(m[Sa]&256)===256}var Ese="svg",IMe="math";function S3(m){for(;Array.isArray(m);)m=m[oI];return m}function Sse(m,v){return S3(v[m])}function lI(m,v){return S3(v[m.index])}function wY(m,v){return m.data[v]}function HJ(m,v){return m[v]}function Cse(m,v,c,f){c>=m.data.length&&(m.data[c]=null,m.blueprint[c]=null),v[c]=f}function C3(m,v){let c=v[m];return pA(c)?c:c[oI]}function wMe(m){return(m[Sa]&4)===4}function qJ(m){return(m[Sa]&128)===128}function AMe(m){return rI(m[Bp])}function aI(m,v){return v==null?null:m[v]}function Dse(m){m[ZN]=0}function WJ(m){m[Sa]&1024||(m[Sa]|=1024,qJ(m)&&jD(m))}function TMe(m,v){for(;m>0;)v=v[$N],m--;return v}function gH(m){return!!(m[Sa]&9216||m[Ay]?.dirty)}function UJ(m){m[cA].changeDetectionScheduler?.notify(8),m[Sa]&64&&(m[Sa]|=1024),gH(m)&&jD(m)}function jD(m){m[cA].changeDetectionScheduler?.notify(0);let v=FD(m);for(;v!==null&&!(v[Sa]&8192||(v[Sa]|=8192,!qJ(v)));)v=FD(v)}function Rse(m,v){if(eP(m))throw new Qr(911,!1);m[jT]===null&&(m[jT]=[]),m[jT].push(v)}function EMe(m,v){if(m[jT]===null)return;let c=m[jT].indexOf(v);c!==-1&&m[jT].splice(c,1)}function FD(m){let v=m[Bp];return rI(v)?v[Bp]:v}function xse(m){return m[hH]??=[]}function zse(m){return m.cleanup??=[]}function SMe(m,v,c,f){let I=xse(v);I.push(c),m.firstCreatePass&&zse(m).push(f,I.length-1)}var b0={lFrame:WMe(null),bindingsEnabled:!0,skipHydrationRootTNode:null},AY=function(m){return m[m.Off=0]="Off",m[m.Exhaustive=1]="Exhaustive",m[m.OnlyDirtyViews=2]="OnlyDirtyViews",m}(AY||{}),s8e=0,rse=!1;function CMe(){return b0.lFrame.elementDepthCount}function DMe(){b0.lFrame.elementDepthCount++}function RMe(){b0.lFrame.elementDepthCount--}function jJ(){return b0.bindingsEnabled}function Lse(){return b0.skipHydrationRootTNode!==null}function xMe(m){return b0.skipHydrationRootTNode===m}function zMe(){b0.skipHydrationRootTNode=null}function kl(){return b0.lFrame.lView}function _d(){return b0.lFrame.tView}function Jn(m){return b0.lFrame.contextLView=m,m[F1]}function On(m){return b0.lFrame.contextLView=null,m}function dh(){let m=Nse();for(;m!==null&&m.type===64;)m=m.parent;return m}function Nse(){return b0.lFrame.currentTNode}function LMe(){let m=b0.lFrame,v=m.currentTNode;return m.isParent?v:v.parent}function GD(m,v){let c=b0.lFrame;c.currentTNode=m,c.isParent=v}function GJ(){return b0.lFrame.isParent}function VJ(){b0.lFrame.isParent=!1}function NMe(){return b0.lFrame.contextLView}function Pse(m){uMe("Must never be called in production mode"),s8e=m}function Bse(){return rse}function yH(m){let v=rse;return rse=m,v}function VD(){let m=b0.lFrame,v=m.bindingRootIndex;return v===-1&&(v=m.bindingRootIndex=m.tView.bindingStartIndex),v}function Fse(){return b0.lFrame.bindingIndex}function PMe(m){return b0.lFrame.bindingIndex=m}function VT(){return b0.lFrame.bindingIndex++}function TY(m){let v=b0.lFrame,c=v.bindingIndex;return v.bindingIndex=v.bindingIndex+m,c}function BMe(){return b0.lFrame.inI18n}function FMe(m,v){let c=b0.lFrame;c.bindingIndex=c.bindingRootIndex=m,YJ(v)}function kMe(){return b0.lFrame.currentDirectiveIndex}function YJ(m){b0.lFrame.currentDirectiveIndex=m}function HMe(m){let v=b0.lFrame.currentDirectiveIndex;return v===-1?null:m[v]}function kse(){return b0.lFrame.currentQueryIndex}function XJ(m){b0.lFrame.currentQueryIndex=m}function u8e(m){let v=m[Wa];return v.type===2?v.declTNode:v.type===1?m[Rb]:null}function Hse(m,v,c){if(c&4){let I=v,D=m;for(;I=I.parent,I===null&&!(c&1);)if(I=u8e(D),I===null||(D=D[$N],I.type&10))break;if(I===null)return!1;v=I,m=D}let f=b0.lFrame=qMe();return f.currentTNode=v,f.lView=m,!0}function QJ(m){let v=qMe(),c=m[Wa];b0.lFrame=v,v.currentTNode=c.firstChild,v.lView=m,v.tView=c,v.contextLView=m,v.bindingIndex=c.bindingStartIndex,v.inI18n=!1}function qMe(){let m=b0.lFrame,v=m===null?null:m.child;return v===null?WMe(m):v}function WMe(m){let v={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:m,child:null,inI18n:!1};return m!==null&&(m.child=v),v}function UMe(){let m=b0.lFrame;return b0.lFrame=m.parent,m.currentTNode=null,m.lView=null,m}var qse=UMe;function KJ(){let m=UMe();m.isParent=!0,m.tView=null,m.selectedIndex=-1,m.contextLView=null,m.elementDepthCount=0,m.currentDirectiveIndex=-1,m.currentNamespace=null,m.bindingRootIndex=-1,m.bindingIndex=-1,m.currentQueryIndex=0}function jMe(m){return(b0.lFrame.contextLView=TMe(m,b0.lFrame.contextLView))[F1]}function sI(){return b0.lFrame.selectedIndex}function YD(m){b0.lFrame.selectedIndex=m}function EY(){let m=b0.lFrame;return wY(m.tView,m.selectedIndex)}function YT(){b0.lFrame.currentNamespace=Ese}function SY(){d8e()}function d8e(){b0.lFrame.currentNamespace=null}function GMe(){return b0.lFrame.currentNamespace}var VMe=!0;function CY(){return VMe}function DY(m){VMe=m}function lse(m,v=null,c=null,f){let I=YMe(m,v,c,f);return I.resolveInjectorInitializers(),I}function YMe(m,v=null,c=null,f,I=new Set){let D=[c||Db,BJ(m)];return f=f||(typeof m=="object"?void 0:_y(m)),new VN(D,v||pH(),f||null,I)}var Ms=class m{static THROW_IF_NOT_FOUND=UN;static NULL=new hY;static create(v,c){if(Array.isArray(v))return lse({name:""},c,v,"");{let f=v.name??"";return lse({name:f},v.parent,v.providers,f)}}static \u0275prov=bo({token:m,providedIn:"any",factory:()=>Cl(bse)});static __NG_ELEMENT_ID__=-1},u0=new Go(""),xb=(()=>{class m{static __NG_ELEMENT_ID__=c8e;static __NG_ENV_ID__=c=>c}return m})(),mY=class extends xb{_lView;constructor(v){super(),this._lView=v}get destroyed(){return eP(this._lView)}onDestroy(v){let c=this._lView;return Rse(c,v),()=>EMe(c,v)}};function c8e(){return new mY(kl())}var Iy=class{_console=console;handleError(v){this._console.error("ERROR",v)}},uI=new Go("",{providedIn:"root",factory:()=>{let m=Qt(B1),v;return c=>{m.destroyed&&!v?setTimeout(()=>{throw c}):(v??=m.get(Iy),v.handleError(c))}}}),XMe={provide:XN,useValue:()=>void Qt(Iy),multi:!0};function Wse(m){return typeof m=="function"&&m[kh]!==void 0}function Wr(m,v){let[c,f,I]=P0e(m,v?.equal),D=c,W=D[kh];return D.set=f,D.update=I,D.asReadonly=$J.bind(D),D}function $J(){let m=this[kh];if(m.readonlyFn===void 0){let v=()=>this();v[kh]=m,m.readonlyFn=v}return m.readonlyFn}function Use(m){return Wse(m)&&typeof m.set=="function"}var wy=class{},ZJ=new Go("",{providedIn:"root",factory:()=>!1});var jse=new Go(""),Gse=new Go("");var MH=(()=>{class m{view;node;constructor(c,f){this.view=c,this.node=f}static __NG_ELEMENT_ID__=v8e}return m})();function v8e(){return new MH(kl(),dh())}var tP=(()=>{class m{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new fa(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Na(c=>{c.next(!1),c.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let c=this.taskId++;return this.pendingTasks.add(c),c}has(c){return this.pendingTasks.has(c)}remove(c){this.pendingTasks.delete(c),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=bo({token:m,providedIn:"root",factory:()=>new m})}return m})(),_H=(()=>{class m{internalPendingTasks=Qt(tP);scheduler=Qt(wy);errorHandler=Qt(uI);add(){let c=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(c)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(c))}}run(c){let f=this.add();c().catch(this.errorHandler).finally(f)}static \u0275prov=bo({token:m,providedIn:"root",factory:()=>new m})}return m})();function nP(...m){}var RY=(()=>{class m{static \u0275prov=bo({token:m,providedIn:"root",factory:()=>new ase})}return m})(),ase=class{dirtyEffectCount=0;queues=new Map;add(v){this.enqueue(v),this.schedule(v)}schedule(v){v.dirty&&this.dirtyEffectCount++}remove(v){let c=v.zone,f=this.queues.get(c);f.has(v)&&(f.delete(v),v.dirty&&this.dirtyEffectCount--)}enqueue(v){let c=v.zone;this.queues.has(c)||this.queues.set(c,new Set);let f=this.queues.get(c);f.has(v)||f.add(v)}flush(){for(;this.dirtyEffectCount>0;){let v=!1;for(let[c,f]of this.queues)c===null?v||=this.flushQueue(f):v||=c.run(()=>this.flushQueue(f));v||(this.dirtyEffectCount=0)}}flushQueue(v){let c=!1;for(let f of v)f.dirty&&(this.dirtyEffectCount--,c=!0,f.run());return c}};function RH(m){return{toString:m}.toString()}var JJ="__parameters__";function M8e(m){return function(...c){if(m){let f=m(...c);for(let I in f)this[I]=f[I]}}}function E3e(m,v,c){return RH(()=>{let f=M8e(v);function I(...D){if(this instanceof I)return f.apply(this,D),this;let W=new I(...D);return ie.annotation=W,ie;function ie(ne,ye,Ie){let qe=ne.hasOwnProperty(JJ)?ne[JJ]:Object.defineProperty(ne,JJ,{value:[]})[JJ];for(;qe.length<=Ie;)qe.push(null);return(qe[Ie]=qe[Ie]||[]).push(W),ne}}return I.prototype.ngMetadataName=m,I.annotationCls=I,I})}var xH=hse(E3e("Optional"),8);var HY=hse(E3e("SkipSelf"),4);function _8e(m){return typeof m=="function"}var aO=class{previousValue;currentValue;firstChange;constructor(v,c,f){this.previousValue=v,this.currentValue=c,this.firstChange=f}isFirstChange(){return this.firstChange}};function S3e(m,v,c,f){v!==null?v.applyValueToInputSignal(v,f):m[c]=f}var _s=(()=>{let m=()=>C3e;return m.ngInherit=!0,m})();function C3e(m){return m.type.prototype.ngOnChanges&&(m.setInput=w8e),I8e}function I8e(){let m=R3e(this),v=m?.current;if(v){let c=m.previous;if(c===kD)m.previous=v;else for(let f in v)c[f]=v[f];m.current=null,this.ngOnChanges(v)}}function w8e(m,v,c,f,I){let D=this.declaredInputs[f],W=R3e(m)||A8e(m,{previous:kD,current:null}),ie=W.current||(W.current={}),ne=W.previous,ye=ne[D];ie[D]=new aO(ye&&ye.currentValue,c,ne===kD),S3e(m,v,I,c)}var D3e="__ngSimpleChanges__";function R3e(m){return m[D3e]||null}function A8e(m,v){return m[D3e]=v}var QMe=[];var Hu=function(m,v=null,c){for(let f=0;f<QMe.length;f++){let I=QMe[f];I(m,v,c)}};function T8e(m,v,c){let{ngOnChanges:f,ngOnInit:I,ngDoCheck:D}=v.type.prototype;if(f){let W=C3e(v);(c.preOrderHooks??=[]).push(m,W),(c.preOrderCheckHooks??=[]).push(m,W)}I&&(c.preOrderHooks??=[]).push(0-m,I),D&&((c.preOrderHooks??=[]).push(m,D),(c.preOrderCheckHooks??=[]).push(m,D))}function kue(m,v){for(let c=v.directiveStart,f=v.directiveEnd;c<f;c++){let D=m.data[c].type.prototype,{ngAfterContentInit:W,ngAfterContentChecked:ie,ngAfterViewInit:ne,ngAfterViewChecked:ye,ngOnDestroy:Ie}=D;W&&(m.contentHooks??=[]).push(-c,W),ie&&((m.contentHooks??=[]).push(c,ie),(m.contentCheckHooks??=[]).push(c,ie)),ne&&(m.viewHooks??=[]).push(-c,ne),ye&&((m.viewHooks??=[]).push(c,ye),(m.viewCheckHooks??=[]).push(c,ye)),Ie!=null&&(m.destroyHooks??=[]).push(c,Ie)}}function iO(m,v,c){x3e(m,v,3,c)}function oO(m,v,c,f){(m[Sa]&3)===c&&x3e(m,v,c,f)}function Vse(m,v){let c=m[Sa];(c&3)===v&&(c&=16383,c+=1,m[Sa]=c)}function x3e(m,v,c,f){let I=f!==void 0?m[ZN]&65535:0,D=f??-1,W=v.length-1,ie=0;for(let ne=I;ne<W;ne++)if(typeof v[ne+1]=="number"){if(ie=v[ne],f!=null&&ie>=f)break}else v[ne]<0&&(m[ZN]+=65536),(ie<D||D==-1)&&(E8e(m,c,v,ne),m[ZN]=(m[ZN]&4294901760)+ne+2),ne++}function KMe(m,v){Hu(4,m,v);let c=_a(null);try{v.call(m)}finally{_a(c),Hu(5,m,v)}}function E8e(m,v,c,f){let I=c[f]<0,D=c[f+1],W=I?-c[f]:c[f],ie=m[W];I?m[Sa]>>14<m[ZN]>>16&&(m[Sa]&3)===v&&(m[Sa]+=16384,KMe(ie,D)):KMe(ie,D)}var wH=-1,rP=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(v,c,f){this.factory=v,this.canSeeViewProviders=c,this.injectImpl=f}};function S8e(m){return(m.flags&8)!==0}function C8e(m){return(m.flags&16)!==0}function D8e(m,v,c){let f=0;for(;f<c.length;){let I=c[f];if(typeof I=="number"){if(I!==0)break;f++;let D=c[f++],W=c[f++],ie=c[f++];m.setAttribute(v,W,ie,D)}else{let D=I,W=c[++f];R8e(D)?m.setProperty(v,D,W):m.setAttribute(v,D,W),f++}}return f}function z3e(m){return m===3||m===4||m===6}function R8e(m){return m.charCodeAt(0)===64}function AH(m,v){if(!(v===null||v.length===0))if(m===null||m.length===0)m=v.slice();else{let c=-1;for(let f=0;f<v.length;f++){let I=v[f];typeof I=="number"?c=I:c===0||(c===-1||c===2?$Me(m,c,I,null,v[++f]):$Me(m,c,I,null,null))}}return m}function $Me(m,v,c,f,I){let D=0,W=m.length;if(v===-1)W=-1;else for(;D<m.length;){let ie=m[D++];if(typeof ie=="number"){if(ie===v){W=-1;break}else if(ie>v){W=D-1;break}}}for(;D<m.length;){let ie=m[D];if(typeof ie=="number")break;if(ie===c){I!==null&&(m[D+1]=I);return}D++,I!==null&&D++}W!==-1&&(m.splice(W,0,v),D=W+1),m.splice(D++,0,c),I!==null&&m.splice(D++,0,I)}function L3e(m){return m!==wH}function sO(m){return m&32767}function x8e(m){return m>>16}function uO(m,v){let c=x8e(m),f=v;for(;c>0;)f=f[$N],c--;return f}var iue=!0;function dO(m){let v=iue;return iue=m,v}var z8e=256,N3e=z8e-1,P3e=5,L8e=0,hA={};function N8e(m,v,c){let f;typeof c=="string"?f=c.charCodeAt(0)||0:c.hasOwnProperty(YN)&&(f=c[YN]),f==null&&(f=c[YN]=L8e++);let I=f&N3e,D=1<<I;v.data[m+(I>>P3e)]|=D}function cO(m,v){let c=B3e(m,v);if(c!==-1)return c;let f=v[Wa];f.firstCreatePass&&(m.injectorIndex=v.length,Yse(f.data,m),Yse(v,null),Yse(f.blueprint,null));let I=Hue(m,v),D=m.injectorIndex;if(L3e(I)){let W=sO(I),ie=uO(I,v),ne=ie[Wa].data;for(let ye=0;ye<8;ye++)v[D+ye]=ie[W+ye]|ne[W+ye]}return v[D+8]=I,D}function Yse(m,v){m.push(0,0,0,0,0,0,0,0,v)}function B3e(m,v){return m.injectorIndex===-1||m.parent&&m.parent.injectorIndex===m.injectorIndex||v[m.injectorIndex+8]===null?-1:m.injectorIndex}function Hue(m,v){if(m.parent&&m.parent.injectorIndex!==-1)return m.parent.injectorIndex;let c=0,f=null,I=v;for(;I!==null;){if(f=W3e(I),f===null)return wH;if(c++,I=I[$N],f.injectorIndex!==-1)return f.injectorIndex|c<<16}return wH}function oue(m,v,c){N8e(m,v,c)}function P8e(m,v){if(v==="class")return m.classes;if(v==="style")return m.styles;let c=m.attrs;if(c){let f=c.length,I=0;for(;I<f;){let D=c[I];if(z3e(D))break;if(D===0)I=I+2;else if(typeof D=="number")for(I++;I<f&&typeof c[I]=="string";)I++;else{if(D===v)return c[I+1];I=I+2}}}return null}function F3e(m,v,c){if(c&8||m!==void 0)return m;zJ(v,"NodeInjector")}function k3e(m,v,c,f){if(c&8&&f===void 0&&(f=null),(c&3)===0){let I=m[KN],D=Cb(void 0);try{return I?I.get(v,f,c&8):fse(v,f,c&8)}finally{Cb(D)}}return F3e(f,v,c)}function H3e(m,v,c,f=0,I){if(m!==null){if(v[Sa]&2048&&!(f&2)){let W=H8e(m,v,c,f,hA);if(W!==hA)return W}let D=q3e(m,v,c,f,hA);if(D!==hA)return D}return k3e(v,c,f,I)}function q3e(m,v,c,f,I){let D=F8e(c);if(typeof D=="function"){if(!Hse(v,m,f))return f&1?F3e(I,c,f):k3e(v,c,f,I);try{let W;if(W=D(f),W==null&&!(f&8))zJ(c);else return W}finally{qse()}}else if(typeof D=="number"){let W=null,ie=B3e(m,v),ne=wH,ye=f&1?v[S2][Rb]:null;for((ie===-1||f&4)&&(ne=ie===-1?Hue(m,v):v[ie+8],ne===wH||!JMe(f,!1)?ie=-1:(W=v[Wa],ie=sO(ne),v=uO(ne,v)));ie!==-1;){let Ie=v[Wa];if(ZMe(D,ie,Ie.data)){let qe=B8e(ie,v,c,W,f,ye);if(qe!==hA)return qe}ne=v[ie+8],ne!==wH&&JMe(f,v[Wa].data[ie+8]===ye)&&ZMe(D,ie,v)?(W=Ie,ie=sO(ne),v=uO(ne,v)):ie=-1}}return I}function B8e(m,v,c,f,I,D){let W=v[Wa],ie=W.data[m+8],ne=f==null?UD(ie)&&iue:f!=W&&(ie.type&3)!==0,ye=I&1&&D===ie,Ie=rO(ie,W,c,ne,ye);return Ie!==null?LY(v,W,Ie,ie):hA}function rO(m,v,c,f,I){let D=m.providerIndexes,W=v.data,ie=D&1048575,ne=m.directiveStart,ye=m.directiveEnd,Ie=D>>20,qe=f?ie:ie+Ie,Ke=I?ie+Ie:ye;for(let Je=qe;Je<Ke;Je++){let Ct=W[Je];if(Je<ne&&c===Ct||Je>=ne&&Ct.type===c)return Je}if(I){let Je=W[ne];if(Je&&fA(Je)&&Je.type===c)return ne}return null}function LY(m,v,c,f){let I=m[c],D=v.data;if(I instanceof rP){let W=I;W.resolving&&pse(dMe(D[c]));let ie=dO(W.canSeeViewProviders);W.resolving=!0;let ne=D[c].type||D[c],ye,Ie=W.injectImpl?Cb(W.injectImpl):null,qe=Hse(m,f,0);try{I=m[c]=W.factory(void 0,D,m,f),v.firstCreatePass&&c>=f.directiveStart&&T8e(c,D[c],v)}finally{Ie!==null&&Cb(Ie),dO(ie),W.resolving=!1,qse()}}return I}function F8e(m){if(typeof m=="string")return m.charCodeAt(0)||0;let v=m.hasOwnProperty(YN)?m[YN]:void 0;return typeof v=="number"?v>=0?v&N3e:k8e:v}function ZMe(m,v,c){let f=1<<m;return!!(c[v+(m>>P3e)]&f)}function JMe(m,v){return!(m&2)&&!(m&1&&v)}var oP=class{_tNode;_lView;constructor(v,c){this._tNode=v,this._lView=c}get(v,c,f){return H3e(this._tNode,this._lView,v,jN(f),c)}};function k8e(){return new oP(dh(),kl())}function Uc(m){return RH(()=>{let v=m.prototype.constructor,c=v[fY]||rue(v),f=Object.prototype,I=Object.getPrototypeOf(m.prototype).constructor;for(;I&&I!==f;){let D=I[fY]||rue(I);if(D&&D!==c)return D;I=Object.getPrototypeOf(I)}return D=>new D})}function rue(m){return sse(m)?()=>{let v=rue(Hh(m));return v&&v()}:BD(m)}function H8e(m,v,c,f,I){let D=m,W=v;for(;D!==null&&W!==null&&W[Sa]&2048&&!bH(W);){let ie=q3e(D,W,c,f|2,hA);if(ie!==hA)return ie;let ne=D.parent;if(!ne){let ye=W[Ase];if(ye){let Ie=ye.get(c,hA,f);if(Ie!==hA)return Ie}ne=W3e(W),W=W[$N]}D=ne}return I}function W3e(m){let v=m[Wa],c=v.type;return c===2?v.declTNode:c===1?m[Rb]:null}function zH(m){return P8e(dh(),m)}function q8e(){return LH(dh(),kl())}function LH(m,v){return new Pr(lI(m,v))}var Pr=(()=>{class m{nativeElement;constructor(c){this.nativeElement=c}static __NG_ELEMENT_ID__=q8e}return m})();function W8e(m){return m instanceof Pr?m.nativeElement:m}function U8e(){return this._results[Symbol.iterator]()}var TH=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 mr}constructor(v=!1){this._emitDistinctChangesOnly=v}get(v){return this._results[v]}map(v){return this._results.map(v)}filter(v){return this._results.filter(v)}find(v){return this._results.find(v)}reduce(v,c){return this._results.reduce(v,c)}forEach(v){this._results.forEach(v)}some(v){return this._results.some(v)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(v,c){this.dirty=!1;let f=pMe(v);(this._changesDetected=!vMe(this._results,f,c))&&(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(v){this._onDirty=v}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=U8e};function U3e(m){return(m.flags&128)===128}var que=function(m){return m[m.OnPush=0]="OnPush",m[m.Default=1]="Default",m}(que||{}),j3e=new Map,j8e=0;function G8e(){return j8e++}function V8e(m){j3e.set(m[MY],m)}function lue(m){j3e.delete(m[MY])}var OMe="__ngContext__";function NH(m,v){pA(v)?(m[OMe]=v[MY],V8e(v)):m[OMe]=v}function G3e(m){return Y3e(m[mH])}function V3e(m){return Y3e(m[E3])}function Y3e(m){for(;m!==null&&!rI(m);)m=m[E3];return m}var aue;function Wue(m){aue=m}function Uue(){if(aue!==void 0)return aue;if(typeof document<"u")return document;throw new Qr(210,!1)}var PH=new Go("",{providedIn:"root",factory:()=>Y8e}),Y8e="ng",wO=new Go(""),KD=new Go("",{providedIn:"platform",factory:()=>"unknown"});var qY=new Go(""),BH=new Go("",{providedIn:"root",factory:()=>Uue().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var X8e="h",Q8e="b";var X3e="r";var Q3e="di";var K3e=!1,$3e=new Go("",{providedIn:"root",factory:()=>K3e});var K8e=(m,v,c,f)=>{};function $8e(m,v,c,f){K8e(m,v,c,f)}var Z8e=()=>null;function Z3e(m,v,c=!1){return Z8e(m,v,c)}function J3e(m,v){let c=m.contentQueries;if(c!==null){let f=_a(null);try{for(let I=0;I<c.length;I+=2){let D=c[I],W=c[I+1];if(W!==-1){let ie=m.data[W];XJ(D),ie.contentQueries(2,v[W],W)}}}finally{_a(f)}}}function sue(m,v,c){XJ(0);let f=_a(null);try{v(m,c)}finally{_a(f)}}function jue(m,v,c){if(kJ(v)){let f=_a(null);try{let I=v.directiveStart,D=v.directiveEnd;for(let W=I;W<D;W++){let ie=m.data[W];if(ie.contentQueries){let ne=c[W];ie.contentQueries(1,ne,W)}}}finally{_a(f)}}}var XT=function(m){return m[m.Emulated=0]="Emulated",m[m.None=2]="None",m[m.ShadowDom=3]="ShadowDom",m}(XT||{}),OJ;function J8e(){if(OJ===void 0&&(OJ=null,iI.trustedTypes))try{OJ=iI.trustedTypes.createPolicy("angular",{createHTML:m=>m,createScript:m=>m,createScriptURL:m=>m})}catch{}return OJ}function AO(m){return J8e()?.createHTML(m)||m}var eO;function O8e(){if(eO===void 0&&(eO=null,iI.trustedTypes))try{eO=iI.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:m=>m,createScript:m=>m,createScriptURL:m=>m})}catch{}return eO}function e3e(m){return O8e()?.createHTML(m)||m}var vO=class{changingThisBreaksApplicationSecurity;constructor(v){this.changingThisBreaksApplicationSecurity=v}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${CJ})`}};function WY(m){return m instanceof vO?m.changingThisBreaksApplicationSecurity:m}function Gue(m,v){let c=O3e(m);if(c!=null&&c!==v){if(c==="ResourceURL"&&v==="URL")return!0;throw new Error(`Required a safe ${v}, got a ${c} (see ${CJ})`)}return c===v}function O3e(m){return m instanceof vO&&m.getTypeName()||null}function eBe(m){let v=new due(m);return tBe()?new uue(v):v}var uue=class{inertDocumentHelper;constructor(v){this.inertDocumentHelper=v}getInertBodyElement(v){v="<body><remove></remove>"+v;try{let c=new window.DOMParser().parseFromString(AO(v),"text/html").body;return c===null?this.inertDocumentHelper.getInertBodyElement(v):(c.firstChild?.remove(),c)}catch{return null}}},due=class{defaultDoc;inertDocument;constructor(v){this.defaultDoc=v,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(v){let c=this.inertDocument.createElement("template");return c.innerHTML=AO(v),c}};function tBe(){try{return!!new window.DOMParser().parseFromString(AO(""),"text/html")}catch{return!1}}var nBe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vue(m){return m=String(m),m.match(nBe)?m:"unsafe:"+m}function QT(m){let v={};for(let c of m.split(","))v[c]=!0;return v}function UY(...m){let v={};for(let c of m)for(let f in c)c.hasOwnProperty(f)&&(v[f]=!0);return v}var e_e=QT("area,br,col,hr,img,wbr"),t_e=QT("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),n_e=QT("rp,rt"),iBe=UY(n_e,t_e),oBe=UY(t_e,QT("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")),rBe=UY(n_e,QT("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")),t3e=UY(e_e,oBe,rBe,iBe),i_e=QT("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lBe=QT("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"),aBe=QT("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"),sBe=UY(i_e,lBe,aBe),uBe=QT("script,style,template"),cue=class{sanitizedSomething=!1;buf=[];sanitizeChildren(v){let c=v.firstChild,f=!0,I=[];for(;c;){if(c.nodeType===Node.ELEMENT_NODE?f=this.startElement(c):c.nodeType===Node.TEXT_NODE?this.chars(c.nodeValue):this.sanitizedSomething=!0,f&&c.firstChild){I.push(c),c=vBe(c);continue}for(;c;){c.nodeType===Node.ELEMENT_NODE&&this.endElement(c);let D=cBe(c);if(D){c=D;break}c=I.pop()}}return this.buf.join("")}startElement(v){let c=n3e(v).toLowerCase();if(!t3e.hasOwnProperty(c))return this.sanitizedSomething=!0,!uBe.hasOwnProperty(c);this.buf.push("<"),this.buf.push(c);let f=v.attributes;for(let I=0;I<f.length;I++){let D=f.item(I),W=D.name,ie=W.toLowerCase();if(!sBe.hasOwnProperty(ie)){this.sanitizedSomething=!0;continue}let ne=D.value;i_e[ie]&&(ne=Vue(ne)),this.buf.push(" ",W,'="',i3e(ne),'"')}return this.buf.push(">"),!0}endElement(v){let c=n3e(v).toLowerCase();t3e.hasOwnProperty(c)&&!e_e.hasOwnProperty(c)&&(this.buf.push("</"),this.buf.push(c),this.buf.push(">"))}chars(v){this.buf.push(i3e(v))}};function dBe(m,v){return(m.compareDocumentPosition(v)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function cBe(m){let v=m.nextSibling;if(v&&m!==v.previousSibling)throw o_e(v);return v}function vBe(m){let v=m.firstChild;if(v&&dBe(m,v))throw o_e(v);return v}function n3e(m){let v=m.nodeName;return typeof v=="string"?v:"FORM"}function o_e(m){return new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`)}var pBe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fBe=/([^\#-~ |!])/g;function i3e(m){return m.replace(/&/g,"&amp;").replace(pBe,function(v){let c=v.charCodeAt(0),f=v.charCodeAt(1);return"&#"+((c-55296)*1024+(f-56320)+65536)+";"}).replace(fBe,function(v){return"&#"+v.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var tO;function r_e(m,v){let c=null;try{tO=tO||eBe(m);let f=v?String(v):"";c=tO.getInertBodyElement(f);let I=5,D=f;do{if(I===0)throw new Error("Failed to sanitize html because the input is unstable");I--,f=D,D=c.innerHTML,c=tO.getInertBodyElement(f)}while(f!==D);let ie=new cue().sanitizeChildren(o3e(c)||c);return AO(ie)}finally{if(c){let f=o3e(c)||c;for(;f.firstChild;)f.firstChild.remove()}}}function o3e(m){return"content"in m&&hBe(m)?m.content:null}function hBe(m){return m.nodeType===Node.ELEMENT_NODE&&m.nodeName==="TEMPLATE"}var TO=function(m){return m[m.NONE=0]="NONE",m[m.HTML=1]="HTML",m[m.STYLE=2]="STYLE",m[m.SCRIPT=3]="SCRIPT",m[m.URL=4]="URL",m[m.RESOURCE_URL=5]="RESOURCE_URL",m}(TO||{});function C2(m){let v=l_e();return v?e3e(v.sanitize(TO.HTML,m)||""):Gue(m,"HTML")?e3e(WY(m)):r_e(Uue(),T3(m))}function mA(m){let v=l_e();return v?v.sanitize(TO.URL,m)||"":Gue(m,"URL")?WY(m):Vue(T3(m))}function l_e(){let m=kl();return m&&m[cA].sanitizer}var mBe=/^>|^->|<!--|-->|--!>|<!-$/g,bBe=/(<|>)/g,gBe="\u200B$1\u200B";function yBe(m){return m.replace(mBe,v=>v.replace(bBe,gBe))}function jY(m){return m.ownerDocument.defaultView}function k1(m){return m.ownerDocument}function MBe(m,v,c){let f=m.length;for(;;){let I=m.indexOf(v,c);if(I===-1)return I;if(I===0||m.charCodeAt(I-1)<=32){let D=v.length;if(I+D===f||m.charCodeAt(I+D)<=32)return I}c=I+1}}var a_e="ng-template";function _Be(m,v,c,f){let I=0;if(f){for(;I<v.length&&typeof v[I]=="string";I+=2)if(v[I]==="class"&&MBe(v[I+1].toLowerCase(),c,0)!==-1)return!0}else if(Yue(m))return!1;if(I=v.indexOf(1,I),I>-1){let D;for(;++I<v.length&&typeof(D=v[I])=="string";)if(D.toLowerCase()===c)return!0}return!1}function Yue(m){return m.type===4&&m.value!==a_e}function IBe(m,v,c){let f=m.type===4&&!c?a_e:m.value;return v===f}function wBe(m,v,c){let f=4,I=m.attrs,D=I!==null?EBe(I):0,W=!1;for(let ie=0;ie<v.length;ie++){let ne=v[ie];if(typeof ne=="number"){if(!W&&!dI(f)&&!dI(ne))return!1;if(W&&dI(ne))continue;W=!1,f=ne|f&1;continue}if(!W)if(f&4){if(f=2|f&1,ne!==""&&!IBe(m,ne,c)||ne===""&&v.length===1){if(dI(f))return!1;W=!0}}else if(f&8){if(I===null||!_Be(m,I,ne,c)){if(dI(f))return!1;W=!0}}else{let ye=v[++ie],Ie=ABe(ne,I,Yue(m),c);if(Ie===-1){if(dI(f))return!1;W=!0;continue}if(ye!==""){let qe;if(Ie>D?qe="":qe=I[Ie+1].toLowerCase(),f&2&&ye!==qe){if(dI(f))return!1;W=!0}}}}return dI(f)||W}function dI(m){return(m&1)===0}function ABe(m,v,c,f){if(v===null)return-1;let I=0;if(f||!c){let D=!1;for(;I<v.length;){let W=v[I];if(W===m)return I;if(W===3||W===6)D=!0;else if(W===1||W===2){let ie=v[++I];for(;typeof ie=="string";)ie=v[++I];continue}else{if(W===4)break;if(W===0){I+=4;continue}}I+=D?1:2}return-1}else return SBe(v,m)}function s_e(m,v,c=!1){for(let f=0;f<v.length;f++)if(wBe(m,v[f],c))return!0;return!1}function TBe(m){let v=m.attrs;if(v!=null){let c=v.indexOf(5);if((c&1)===0)return v[c+1]}return null}function EBe(m){for(let v=0;v<m.length;v++){let c=m[v];if(z3e(c))return v}return m.length}function SBe(m,v){let c=m.indexOf(4);if(c>-1)for(c++;c<m.length;){let f=m[c];if(typeof f=="number")return-1;if(f===v)return c;c++}return-1}function CBe(m,v){e:for(let c=0;c<v.length;c++){let f=v[c];if(m.length===f.length){for(let I=0;I<m.length;I++)if(m[I]!==f[I])continue e;return!0}}return!1}function r3e(m,v){return m?":not("+v.trim()+")":v}function DBe(m){let v=m[0],c=1,f=2,I="",D=!1;for(;c<m.length;){let W=m[c];if(typeof W=="string")if(f&2){let ie=m[++c];I+="["+W+(ie.length>0?'="'+ie+'"':"")+"]"}else f&8?I+="."+W:f&4&&(I+=" "+W);else I!==""&&!dI(W)&&(v+=r3e(D,I),I=""),f=W,D=D||!dI(f);c++}return I!==""&&(v+=r3e(D,I)),v}function RBe(m){return m.map(DBe).join(",")}function xBe(m){let v=[],c=[],f=1,I=2;for(;f<m.length;){let D=m[f];if(typeof D=="string")I===2?D!==""&&v.push(D,m[++f]):I===8&&c.push(D);else{if(!dI(I))break;I=D}f++}return c.length&&v.push(1,...c),v}var ch={};function zBe(m,v){return m.createText(v)}function LBe(m,v,c){m.setValue(v,c)}function NBe(m,v){return m.createComment(yBe(v))}function u_e(m,v,c){return m.createElement(v,c)}function pO(m,v,c,f,I){m.insertBefore(v,c,f,I)}function d_e(m,v,c){m.appendChild(v,c)}function l3e(m,v,c,f,I){f!==null?pO(m,v,c,f,I):d_e(m,v,c)}function c_e(m,v,c){m.removeChild(null,v,c)}function PBe(m,v,c){m.setAttribute(v,"style",c)}function BBe(m,v,c){c===""?m.removeAttribute(v,"class"):m.setAttribute(v,"class",c)}function v_e(m,v,c){let{mergedAttrs:f,classes:I,styles:D}=c;f!==null&&D8e(m,v,f),I!==null&&BBe(m,v,I),D!==null&&PBe(m,v,D)}function Xue(m,v,c,f,I,D,W,ie,ne,ye,Ie){let qe=zv+f,Ke=qe+I,Je=FBe(qe,Ke),Ct=typeof ye=="function"?ye():ye;return Je[Wa]={type:m,blueprint:Je,template:c,queries:null,viewQuery:ie,declTNode:v,data:Je.slice().fill(null,qe),bindingStartIndex:qe,expandoStartIndex:Ke,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 W=="function"?W():W,firstChild:null,schemas:ne,consts:Ct,incompleteFirstPass:!1,ssrId:Ie}}function FBe(m,v){let c=[];for(let f=0;f<v;f++)c.push(f<m?null:ch);return c}function kBe(m){let v=m.tView;return v===null||v.incompleteFirstPass?m.tView=Xue(1,null,m.template,m.decls,m.vars,m.directiveDefs,m.pipeDefs,m.viewQuery,m.schemas,m.consts,m.id):v}function Que(m,v,c,f,I,D,W,ie,ne,ye,Ie){let qe=v.blueprint.slice();return qe[oI]=I,qe[Sa]=f|4|128|8|64|1024,(ye!==null||m&&m[Sa]&2048)&&(qe[Sa]|=2048),Dse(qe),qe[Bp]=qe[$N]=m,qe[F1]=c,qe[cA]=W||m&&m[cA],qe[Md]=ie||m&&m[Md],qe[KN]=ne||m&&m[KN]||null,qe[Rb]=D,qe[MY]=G8e(),qe[QN]=Ie,qe[Ase]=ye,qe[S2]=v.type==2?m[S2]:qe,qe}function HBe(m,v,c){let f=lI(v,m),I=kBe(c),D=m[cA].rendererFactory,W=Kue(m,Que(m,I,null,p_e(c),f,v,null,D.createRenderer(f,c),null,null,null));return m[v.index]=W}function p_e(m){let v=16;return m.signals?v=4096:m.onPush&&(v=64),v}function f_e(m,v,c,f){if(c===0)return-1;let I=v.length;for(let D=0;D<c;D++)v.push(f),m.blueprint.push(f),m.data.push(null);return I}function Kue(m,v){return m[mH]?m[wse][E3]=v:m[mH]=v,m[wse]=v,v}function Dt(m=1){h_e(_d(),kl(),sI()+m,!1)}function h_e(m,v,c,f){if(!f)if((v[Sa]&3)===3){let D=m.preOrderCheckHooks;D!==null&&iO(v,D,c)}else{let D=m.preOrderHooks;D!==null&&oO(v,D,0,c)}YD(c)}var EO=function(m){return m[m.None=0]="None",m[m.SignalBased=1]="SignalBased",m[m.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",m}(EO||{});function vue(m,v,c,f){let I=_a(null);try{let[D,W,ie]=m.inputs[c],ne=null;(W&EO.SignalBased)!==0&&(ne=v[D][kh]),ne!==null&&ne.transformFn!==void 0?f=ne.transformFn(f):ie!==null&&(f=ie.call(v,f)),m.setInput!==null?m.setInput(v,ne,f,c,D):S3e(v,ne,D,f)}finally{_a(I)}}function m_e(m,v,c,f,I){let D=sI(),W=f&2;try{YD(-1),W&&v.length>zv&&h_e(m,v,zv,!1),Hu(W?2:0,I,c),c(f,I)}finally{YD(D),Hu(W?3:1,I,c)}}function SO(m,v,c){VBe(m,v,c),(c.flags&64)===64&&YBe(m,v,c)}function $ue(m,v,c=lI){let f=v.localNames;if(f!==null){let I=v.index+1;for(let D=0;D<f.length;D+=2){let W=f[D+1],ie=W===-1?c(v,m):m[W];m[I++]=ie}}}function qBe(m,v,c,f){let D=f.get($3e,K3e)||c===XT.ShadowDom,W=m.selectRootElement(v,D);return WBe(W),W}function WBe(m){UBe(m)}var UBe=()=>null;function jBe(m){return m==="class"?"className":m==="for"?"htmlFor":m==="formaction"?"formAction":m==="innerHtml"?"innerHTML":m==="readonly"?"readOnly":m==="tabindex"?"tabIndex":m}function b_e(m,v,c,f,I,D){let W=v[Wa];if(Jue(m,W,v,c,f)){UD(m)&&GBe(v,m.index);return}g_e(m,v,c,f,I,D)}function g_e(m,v,c,f,I,D){if(m.type&3){let W=lI(m,v);c=jBe(c),f=D!=null?D(f,m.value||"",c):f,I.setProperty(W,c,f)}else m.type&12}function GBe(m,v){let c=C3(v,m);c[Sa]&16||(c[Sa]|=64)}function VBe(m,v,c){let f=c.directiveStart,I=c.directiveEnd;UD(c)&&HBe(v,c,m.data[f+c.componentOffset]),m.firstCreatePass||cO(c,v);let D=c.initialInputs;for(let W=f;W<I;W++){let ie=m.data[W],ne=LY(v,m,W,c);if(NH(ne,v),D!==null&&$Be(v,W-f,ne,ie,c,D),fA(ie)){let ye=C3(c.index,v);ye[F1]=LY(v,m,W,c)}}}function YBe(m,v,c){let f=c.directiveStart,I=c.directiveEnd,D=c.index,W=kMe();try{YD(D);for(let ie=f;ie<I;ie++){let ne=m.data[ie],ye=v[ie];YJ(ie),(ne.hostBindings!==null||ne.hostVars!==0||ne.hostAttrs!==null)&&XBe(ne,ye)}}finally{YD(-1),YJ(W)}}function XBe(m,v){m.hostBindings!==null&&m.hostBindings(1,v)}function Zue(m,v){let c=m.directiveRegistry,f=null;if(c)for(let I=0;I<c.length;I++){let D=c[I];s_e(v,D.selectors,!1)&&(f??=[],fA(D)?f.unshift(D):f.push(D))}return f}function QBe(m,v,c,f,I,D){let W=lI(m,v);KBe(v[Md],W,D,m.value,c,f,I)}function KBe(m,v,c,f,I,D,W){if(D==null)m.removeAttribute(v,I,c);else{let ie=W==null?T3(D):W(D,f||"",I);m.setAttribute(v,I,ie,c)}}function $Be(m,v,c,f,I,D){let W=D[v];if(W!==null)for(let ie=0;ie<W.length;ie+=2){let ne=W[ie],ye=W[ie+1];vue(f,c,ne,ye)}}function ZBe(m,v){let c=m[KN];if(!c)return;c.get(uI,null)?.(v)}function Jue(m,v,c,f,I){let D=m.inputs?.[f],W=m.hostDirectiveInputs?.[f],ie=!1;if(W)for(let ne=0;ne<W.length;ne+=2){let ye=W[ne],Ie=W[ne+1],qe=v.data[ye];vue(qe,c[ye],Ie,I),ie=!0}if(D)for(let ne of D){let ye=c[ne],Ie=v.data[ne];vue(Ie,ye,f,I),ie=!0}return ie}function JBe(m,v){let c=C3(v,m),f=c[Wa];OBe(f,c);let I=c[oI];I!==null&&c[QN]===null&&(c[QN]=Z3e(I,c[KN])),Hu(18),Oue(f,c,c[F1]),Hu(19,c[F1])}function OBe(m,v){for(let c=v.length;c<m.blueprint.length;c++)v.push(m.blueprint[c])}function Oue(m,v,c){QJ(v);try{let f=m.viewQuery;f!==null&&sue(1,f,c);let I=m.template;I!==null&&m_e(m,v,I,1,c),m.firstCreatePass&&(m.firstCreatePass=!1),v[vA]?.finishViewCreation(m),m.staticContentQueries&&J3e(m,v),m.staticViewQueries&&sue(2,m.viewQuery,c);let D=m.components;D!==null&&eFe(v,D)}catch(f){throw m.firstCreatePass&&(m.incompleteFirstPass=!0,m.firstCreatePass=!1),f}finally{v[Sa]&=-5,KJ()}}function eFe(m,v){for(let c=0;c<v.length;c++)JBe(m,v[c])}function GY(m,v,c,f){let I=_a(null);try{let D=v.tView,ie=m[Sa]&4096?4096:16,ne=Que(m,D,c,ie,null,v,null,null,f?.injector??null,f?.embeddedViewInjector??null,f?.dehydratedView??null),ye=m[v.index];ne[qD]=ye;let Ie=m[vA];return Ie!==null&&(ne[vA]=Ie.createEmbeddedView(D)),Oue(D,ne,c),ne}finally{_a(I)}}function EH(m,v){return!v||v.firstChild===null||U3e(m)}var a3e=!1,tFe=new Go(""),nFe;function ede(m,v){return nFe(m,v)}var vI=function(m){return m[m.Important=1]="Important",m[m.DashCase=2]="DashCase",m}(vI||{});function CO(m){return(m.flags&32)===32}function IH(m,v,c,f,I){if(f!=null){let D,W=!1;rI(f)?D=f:pA(f)&&(W=!0,f=f[oI]);let ie=S3(f);m===0&&c!==null?I==null?d_e(v,c,ie):pO(v,c,ie,I||null,!0):m===1&&c!==null?pO(v,c,ie,I||null,!0):m===2?c_e(v,ie,W):m===3&&v.destroyNode(ie),D!=null&&vFe(v,m,D,c,I)}}function iFe(m,v){y_e(m,v),v[oI]=null,v[Rb]=null}function oFe(m,v,c,f,I,D){f[oI]=I,f[Rb]=v,xO(m,f,c,1,I,D)}function y_e(m,v){v[cA].changeDetectionScheduler?.notify(9),xO(m,v,v[Md],2,null,null)}function rFe(m){let v=m[mH];if(!v)return Xse(m[Wa],m);for(;v;){let c=null;if(pA(v))c=v[mH];else{let f=v[uh];f&&(c=f)}if(!c){for(;v&&!v[E3]&&v!==m;)pA(v)&&Xse(v[Wa],v),v=v[Bp];v===null&&(v=m),pA(v)&&Xse(v[Wa],v),c=v&&v[E3]}v=c}}function tde(m,v){let c=m[ON],f=c.indexOf(v);c.splice(f,1)}function DO(m,v){if(eP(v))return;let c=v[Md];c.destroyNode&&xO(m,v,c,3,null,null),rFe(v)}function Xse(m,v){if(eP(v))return;let c=_a(null);try{v[Sa]&=-129,v[Sa]|=256,v[Ay]&&J9(v[Ay]),aFe(m,v),lFe(m,v),v[Wa].type===1&&v[Md].destroy();let f=v[qD];if(f!==null&&rI(v[Bp])){f!==v[Bp]&&tde(f,v);let I=v[vA];I!==null&&I.detachView(m)}lue(v)}finally{_a(c)}}function lFe(m,v){let c=m.cleanup,f=v[hH];if(c!==null)for(let W=0;W<c.length-1;W+=2)if(typeof c[W]=="string"){let ie=c[W+3];ie>=0?f[ie]():f[-ie].unsubscribe(),W+=2}else{let ie=f[c[W+1]];c[W].call(ie)}f!==null&&(v[hH]=null);let I=v[jT];if(I!==null){v[jT]=null;for(let W=0;W<I.length;W++){let ie=I[W];ie()}}let D=v[GT];if(D!==null){v[GT]=null;for(let W of D)W.destroy()}}function aFe(m,v){let c;if(m!=null&&(c=m.destroyHooks)!=null)for(let f=0;f<c.length;f+=2){let I=v[c[f]];if(!(I instanceof rP)){let D=c[f+1];if(Array.isArray(D))for(let W=0;W<D.length;W+=2){let ie=I[D[W]],ne=D[W+1];Hu(4,ie,ne);try{ne.call(ie)}finally{Hu(5,ie,ne)}}else{Hu(4,I,D);try{D.call(I)}finally{Hu(5,I,D)}}}}}function M_e(m,v,c){return sFe(m,v.parent,c)}function sFe(m,v,c){let f=v;for(;f!==null&&f.type&168;)v=f,f=v.parent;if(f===null)return c[oI];if(UD(f)){let{encapsulation:I}=m.data[f.directiveStart+f.componentOffset];if(I===XT.None||I===XT.Emulated)return null}return lI(f,c)}function __e(m,v,c){return dFe(m,v,c)}function uFe(m,v,c){return m.type&40?lI(m,c):null}var dFe=uFe,s3e;function RO(m,v,c,f){let I=M_e(m,f,v),D=v[Md],W=f.parent||v[Rb],ie=__e(W,f,v);if(I!=null)if(Array.isArray(c))for(let ne=0;ne<c.length;ne++)l3e(D,I,c[ne],ie,!1);else l3e(D,I,c,ie,!1);s3e!==void 0&&s3e(D,f,v,c,I)}function xY(m,v){if(v!==null){let c=v.type;if(c&3)return lI(v,m);if(c&4)return pue(-1,m[v.index]);if(c&8){let f=v.child;if(f!==null)return xY(m,f);{let I=m[v.index];return rI(I)?pue(-1,I):S3(I)}}else{if(c&128)return xY(m,v.next);if(c&32)return ede(v,m)()||S3(m[v.index]);{let f=I_e(m,v);if(f!==null){if(Array.isArray(f))return f[0];let I=FD(m[S2]);return xY(I,f)}else return xY(m,v.next)}}}return null}function I_e(m,v){if(v!==null){let f=m[S2][Rb],I=v.projection;return f.projection[I]}return null}function pue(m,v){let c=uh+m+1;if(c<v.length){let f=v[c],I=f[Wa].firstChild;if(I!==null)return xY(f,I)}return v[WD]}function nde(m,v,c,f,I,D,W){for(;c!=null;){if(c.type===128){c=c.next;continue}let ie=f[c.index],ne=c.type;if(W&&v===0&&(ie&&NH(S3(ie),f),c.flags|=2),!CO(c))if(ne&8)nde(m,v,c.child,f,I,D,!1),IH(v,m,I,ie,D);else if(ne&32){let ye=ede(c,f),Ie;for(;Ie=ye();)IH(v,m,I,Ie,D);IH(v,m,I,ie,D)}else ne&16?w_e(m,v,f,c,I,D):IH(v,m,I,ie,D);c=W?c.projectionNext:c.next}}function xO(m,v,c,f,I,D){nde(c,f,m.firstChild,v,I,D,!1)}function cFe(m,v,c){let f=v[Md],I=M_e(m,c,v),D=c.parent||v[Rb],W=__e(D,c,v);w_e(f,0,v,c,I,W)}function w_e(m,v,c,f,I,D){let W=c[S2],ne=W[Rb].projection[f.projection];if(Array.isArray(ne))for(let ye=0;ye<ne.length;ye++){let Ie=ne[ye];IH(v,m,I,Ie,D)}else{let ye=ne,Ie=W[Bp];U3e(f)&&(ye.flags|=128),nde(m,v,ye,Ie,I,D,!0)}}function vFe(m,v,c,f,I){let D=c[WD],W=S3(c);D!==W&&IH(v,m,f,D,I);for(let ie=uh;ie<c.length;ie++){let ne=c[ie];xO(ne[Wa],ne,m,v,f,D)}}function pFe(m,v,c,f,I){if(v)I?m.addClass(c,f):m.removeClass(c,f);else{let D=f.indexOf("-")===-1?void 0:vI.DashCase;I==null?m.removeStyle(c,f,D):(typeof I=="string"&&I.endsWith("!important")&&(I=I.slice(0,-10),D|=vI.Important),m.setStyle(c,f,I,D))}}function NY(m,v,c,f,I=!1){for(;c!==null;){if(c.type===128){c=I?c.projectionNext:c.next;continue}let D=v[c.index];D!==null&&f.push(S3(D)),rI(D)&&A_e(D,f);let W=c.type;if(W&8)NY(m,v,c.child,f);else if(W&32){let ie=ede(c,v),ne;for(;ne=ie();)f.push(ne)}else if(W&16){let ie=I_e(v,c);if(Array.isArray(ie))f.push(...ie);else{let ne=FD(v[S2]);NY(ne[Wa],ne,ie,f,!0)}}c=I?c.projectionNext:c.next}return f}function A_e(m,v){for(let c=uh;c<m.length;c++){let f=m[c],I=f[Wa].firstChild;I!==null&&NY(f[Wa],f,I,v)}m[WD]!==m[oI]&&v.push(m[WD])}function T_e(m){if(m[JN]!==null){for(let v of m[JN])v.impl.addSequence(v);m[JN].length=0}}var E_e=[];function fFe(m){return m[Ay]??hFe(m)}function hFe(m){let v=E_e.pop()??Object.create(bFe);return v.lView=m,v}function mFe(m){m.lView[Ay]!==m&&(m.lView=null,E_e.push(m))}var bFe=Ya(rl({},CD),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:m=>{jD(m.lView)},consumerOnSignalRead(){this.lView[Ay]=this}});function gFe(m){let v=m[Ay]??Object.create(yFe);return v.lView=m,v}var yFe=Ya(rl({},CD),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:m=>{let v=FD(m.lView);for(;v&&!S_e(v[Wa]);)v=FD(v);v&&WJ(v)},consumerOnSignalRead(){this.lView[Ay]=this}});function S_e(m){return m.type!==2}function C_e(m){if(m[GT]===null)return;let v=!0;for(;v;){let c=!1;for(let f of m[GT])f.dirty&&(c=!0,f.zone===null||Zone.current===f.zone?f.run():f.zone.run(()=>f.run()));v=c&&!!(m[Sa]&8192)}}var MFe=100;function ide(m,v=0){let f=m[cA].rendererFactory,I=!1;I||f.begin?.();try{_Fe(m,v)}finally{I||f.end?.()}}function _Fe(m,v){let c=Bse();try{yH(!0),fue(m,v);let f=0;for(;gH(m);){if(f===MFe)throw new Qr(103,!1);f++,fue(m,1)}}finally{yH(c)}}function D_e(m,v){Pse(v?AY.Exhaustive:AY.OnlyDirtyViews);try{ide(m)}finally{Pse(AY.Off)}}function IFe(m,v,c,f){if(eP(v))return;let I=v[Sa],D=!1,W=!1;QJ(v);let ie=!0,ne=null,ye=null;D||(S_e(m)?(ye=fFe(v),ne=DD(ye)):HZ()===null?(ie=!1,ye=gFe(v),ne=DD(ye)):v[Ay]&&(J9(v[Ay]),v[Ay]=null));try{Dse(v),PMe(m.bindingStartIndex),c!==null&&m_e(m,v,c,2,f);let Ie=(I&3)===3;if(!D)if(Ie){let Je=m.preOrderCheckHooks;Je!==null&&iO(v,Je,null)}else{let Je=m.preOrderHooks;Je!==null&&oO(v,Je,0,null),Vse(v,0)}if(W||wFe(v),C_e(v),R_e(v,0),m.contentQueries!==null&&J3e(m,v),!D)if(Ie){let Je=m.contentCheckHooks;Je!==null&&iO(v,Je)}else{let Je=m.contentHooks;Je!==null&&oO(v,Je,1),Vse(v,1)}TFe(m,v);let qe=m.components;qe!==null&&z_e(v,qe,0);let Ke=m.viewQuery;if(Ke!==null&&sue(2,Ke,f),!D)if(Ie){let Je=m.viewCheckHooks;Je!==null&&iO(v,Je)}else{let Je=m.viewHooks;Je!==null&&oO(v,Je,2),Vse(v,2)}if(m.firstUpdatePass===!0&&(m.firstUpdatePass=!1),v[FJ]){for(let Je of v[FJ])Je();v[FJ]=null}D||(T_e(v),v[Sa]&=-73)}catch(Ie){throw D||jD(v),Ie}finally{ye!==null&&(LN(ye,ne),ie&&mFe(ye)),KJ()}}function R_e(m,v){for(let c=G3e(m);c!==null;c=V3e(c))for(let f=uh;f<c.length;f++){let I=c[f];x_e(I,v)}}function wFe(m){for(let v=G3e(m);v!==null;v=V3e(v)){if(!(v[Sa]&2))continue;let c=v[ON];for(let f=0;f<c.length;f++){let I=c[f];WJ(I)}}}function AFe(m,v,c){Hu(18);let f=C3(v,m);x_e(f,c),Hu(19,f[F1])}function x_e(m,v){qJ(m)&&fue(m,v)}function fue(m,v){let f=m[Wa],I=m[Sa],D=m[Ay],W=!!(v===0&&I&16);if(W||=!!(I&64&&v===0),W||=!!(I&1024),W||=!!(D?.dirty&&Z9(D)),W||=!1,D&&(D.dirty=!1),m[Sa]&=-9217,W)IFe(f,m,f.template,m[F1]);else if(I&8192){let ie=_a(null);try{C_e(m),R_e(m,1);let ne=f.components;ne!==null&&z_e(m,ne,1),T_e(m)}finally{_a(ie)}}}function z_e(m,v,c){for(let f=0;f<v.length;f++)AFe(m,v[f],c)}function TFe(m,v){let c=m.hostBindingOpCodes;if(c!==null)try{for(let f=0;f<c.length;f++){let I=c[f];if(I<0)YD(~I);else{let D=I,W=c[++f],ie=c[++f];FMe(W,D);let ne=v[D];Hu(24,ne),ie(2,ne),Hu(25,ne)}}}finally{YD(-1)}}function ode(m,v){let c=Bse()?64:1088;for(m[cA].changeDetectionScheduler?.notify(v);m;){m[Sa]|=c;let f=FD(m);if(bH(m)&&!f)return m;m=f}return null}function L_e(m,v,c,f){return[m,!0,0,v,null,f,null,c,null,null]}function N_e(m,v){let c=uh+v;if(c<m.length)return m[c]}function VY(m,v,c,f=!0){let I=v[Wa];if(EFe(I,v,m,c),f){let W=pue(c,m),ie=v[Md],ne=ie.parentNode(m[WD]);ne!==null&&oFe(I,m[Rb],ie,v,ne,W)}let D=v[QN];D!==null&&D.firstChild!==null&&(D.firstChild=null)}function P_e(m,v){let c=PY(m,v);return c!==void 0&&DO(c[Wa],c),c}function PY(m,v){if(m.length<=uh)return;let c=uh+v,f=m[c];if(f){let I=f[qD];I!==null&&I!==m&&tde(I,f),v>0&&(m[c-1][E3]=f[E3]);let D=bY(m,uh+v);iFe(f[Wa],f);let W=D[vA];W!==null&&W.detachView(D[Wa]),f[Bp]=null,f[E3]=null,f[Sa]&=-129}return f}function EFe(m,v,c,f){let I=uh+f,D=c.length;f>0&&(c[I-1][E3]=v),f<D-uh?(v[E3]=c[I],mse(c,uh+f,v)):(c.push(v),v[E3]=null),v[Bp]=c;let W=v[qD];W!==null&&c!==W&&B_e(W,v);let ie=v[vA];ie!==null&&ie.insertView(m),UJ(v),v[Sa]|=128}function B_e(m,v){let c=m[ON],f=v[Bp];if(pA(f))m[Sa]|=2;else{let I=f[Bp][S2];v[S2]!==I&&(m[Sa]|=2)}c===null?m[ON]=[v]:c.push(v)}var XD=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let v=this._lView,c=v[Wa];return NY(c,v,c.firstChild,[])}constructor(v,c){this._lView=v,this._cdRefInjectingView=c}get context(){return this._lView[F1]}set context(v){this._lView[F1]=v}get destroyed(){return eP(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let v=this._lView[Bp];if(rI(v)){let c=v[_Y],f=c?c.indexOf(this):-1;f>-1&&(PY(v,f),bY(c,f))}this._attachedToViewContainer=!1}DO(this._lView[Wa],this._lView)}onDestroy(v){Rse(this._lView,v)}markForCheck(){ode(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Sa]&=-129}reattach(){UJ(this._lView),this._lView[Sa]|=128}detectChanges(){this._lView[Sa]|=1024,ide(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[KN].get(tFe,a3e)}catch{this.exhaustive=a3e}}attachToViewContainerRef(){if(this._appRef)throw new Qr(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let v=bH(this._lView),c=this._lView[qD];c!==null&&!v&&tde(c,this._lView),y_e(this._lView[Wa],this._lView)}attachToAppRef(v){if(this._attachedToViewContainer)throw new Qr(902,!1);this._appRef=v;let c=bH(this._lView),f=this._lView[qD];f!==null&&!c&&B_e(f,this._lView),UJ(this._lView)}};function rde(m){return gH(m._lView)||!!(m._lView[Sa]&64)}function lde(m){WJ(m._lView)}var i0=(()=>{class m{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=SFe;constructor(c,f,I){this._declarationLView=c,this._declarationTContainer=f,this.elementRef=I}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(c,f){return this.createEmbeddedViewImpl(c,f)}createEmbeddedViewImpl(c,f,I){let D=GY(this._declarationLView,this._declarationTContainer,c,{embeddedViewInjector:f,dehydratedView:I});return new XD(D)}}return m})();function SFe(){return zO(dh(),kl())}function zO(m,v){return m.type&4?new i0(v,m,LH(m,v)):null}function YY(m,v,c,f,I){let D=m.data[v];if(D===null)D=CFe(m,v,c,f,I),BMe()&&(D.flags|=32);else if(D.type&64){D.type=c,D.value=f,D.attrs=I;let W=LMe();D.injectorIndex=W===null?-1:W.injectorIndex}return GD(D,!0),D}function CFe(m,v,c,f,I){let D=Nse(),W=GJ(),ie=W?D:D&&D.parent,ne=m.data[v]=RFe(m,ie,c,v,f,I);return DFe(m,ne,D,W),ne}function DFe(m,v,c,f){m.firstChild===null&&(m.firstChild=v),c!==null&&(f?c.child==null&&v.parent!==null&&(c.child=v):c.next===null&&(c.next=v,v.prev=c))}function RFe(m,v,c,f,I,D){let W=v?v.injectorIndex:-1,ie=0;return Lse()&&(ie|=128),{type:c,index:f,insertBeforeIndex:null,injectorIndex:W,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:ie,providerIndexes:0,value:I,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:v,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Xat=new RegExp(`^(\\d+)*(${Q8e}|${X8e})*(.*)`);function xFe(m){let v=m[Tse]??[],f=m[Bp][Md],I=[];for(let D of v)D.data[Q3e]!==void 0?I.push(D):zFe(D,f);m[Tse]=I}function zFe(m,v){let c=0,f=m.firstChild;if(f){let I=m.data[X3e];for(;c<I;){let D=f.nextSibling;c_e(v,f,!1),f=D,c++}}}var LFe=()=>null,NFe=()=>null;function fO(m,v){return LFe(m,v)}function F_e(m,v,c){return NFe(m,v,c)}var k_e=class{},LO=class{},hue=class{resolveComponentFactory(v){throw new Qr(917,!1)}},aP=class{static NULL=new hue},Lv=class{},H1=(()=>{class m{destroyNode=null;static __NG_ELEMENT_ID__=()=>PFe()}return m})();function PFe(){let m=kl(),v=dh(),c=C3(v.index,m);return(pA(c)?c:m)[Md]}var H_e=(()=>{class m{static \u0275prov=bo({token:m,providedIn:"root",factory:()=>null})}return m})();var lO={},mue=class{injector;parentInjector;constructor(v,c){this.injector=v,this.parentInjector=c}get(v,c,f){let I=this.injector.get(v,lO,f);return I!==lO||c===lO?I:this.parentInjector.get(v,c,f)}};function bue(m,v,c){let f=c?m.styles:null,I=c?m.classes:null,D=0;if(v!==null)for(let W=0;W<v.length;W++){let ie=v[W];if(typeof ie=="number")D=ie;else if(D==1)I=DJ(I,ie);else if(D==2){let ne=ie,ye=v[++W];f=DJ(f,ne+": "+ye+";")}}c?m.styles=f:m.stylesWithoutHost=f,c?m.classes=I:m.classesWithoutHost=I}function Cr(m,v=0){let c=kl();if(c===null)return Cl(m,v);let f=dh();return H3e(f,c,Hh(m),v)}function ade(){let m="invalid";throw new Error(m)}function sde(m,v,c,f,I){let D=f===null?null:{"":-1},W=I(m,c);if(W!==null){let ie=W,ne=null,ye=null;for(let Ie of W)if(Ie.resolveHostDirectives!==null){[ie,ne,ye]=Ie.resolveHostDirectives(W);break}kFe(m,v,c,ie,D,ne,ye)}D!==null&&f!==null&&BFe(c,f,D)}function BFe(m,v,c){let f=m.localNames=[];for(let I=0;I<v.length;I+=2){let D=c[v[I+1]];if(D==null)throw new Qr(-301,!1);f.push(v[I],D)}}function FFe(m,v,c){v.componentOffset=c,(m.components??=[]).push(v.index)}function kFe(m,v,c,f,I,D,W){let ie=f.length,ne=!1;for(let Ke=0;Ke<ie;Ke++){let Je=f[Ke];!ne&&fA(Je)&&(ne=!0,FFe(m,c,Ke)),oue(cO(c,v),m,Je.type)}GFe(c,m.data.length,ie);for(let Ke=0;Ke<ie;Ke++){let Je=f[Ke];Je.providersResolver&&Je.providersResolver(Je)}let ye=!1,Ie=!1,qe=f_e(m,v,ie,null);ie>0&&(c.directiveToIndex=new Map);for(let Ke=0;Ke<ie;Ke++){let Je=f[Ke];if(c.mergedAttrs=AH(c.mergedAttrs,Je.hostAttrs),qFe(m,c,v,qe,Je),jFe(qe,Je,I),W!==null&&W.has(Je)){let[un,qn]=W.get(Je);c.directiveToIndex.set(Je.type,[qe,un+c.directiveStart,qn+c.directiveStart])}else(D===null||!D.has(Je))&&c.directiveToIndex.set(Je.type,qe);Je.contentQueries!==null&&(c.flags|=4),(Je.hostBindings!==null||Je.hostAttrs!==null||Je.hostVars!==0)&&(c.flags|=64);let Ct=Je.type.prototype;!ye&&(Ct.ngOnChanges||Ct.ngOnInit||Ct.ngDoCheck)&&((m.preOrderHooks??=[]).push(c.index),ye=!0),!Ie&&(Ct.ngOnChanges||Ct.ngDoCheck)&&((m.preOrderCheckHooks??=[]).push(c.index),Ie=!0),qe++}HFe(m,c,D)}function HFe(m,v,c){for(let f=v.directiveStart;f<v.directiveEnd;f++){let I=m.data[f];if(c===null||!c.has(I))u3e(0,v,I,f),u3e(1,v,I,f),c3e(v,f,!1);else{let D=c.get(I);d3e(0,v,D,f),d3e(1,v,D,f),c3e(v,f,!0)}}}function u3e(m,v,c,f){let I=m===0?c.inputs:c.outputs;for(let D in I)if(I.hasOwnProperty(D)){let W;m===0?W=v.inputs??={}:W=v.outputs??={},W[D]??=[],W[D].push(f),q_e(v,D)}}function d3e(m,v,c,f){let I=m===0?c.inputs:c.outputs;for(let D in I)if(I.hasOwnProperty(D)){let W=I[D],ie;m===0?ie=v.hostDirectiveInputs??={}:ie=v.hostDirectiveOutputs??={},ie[W]??=[],ie[W].push(f,D),q_e(v,W)}}function q_e(m,v){v==="class"?m.flags|=8:v==="style"&&(m.flags|=16)}function c3e(m,v,c){let{attrs:f,inputs:I,hostDirectiveInputs:D}=m;if(f===null||!c&&I===null||c&&D===null||Yue(m)){m.initialInputs??=[],m.initialInputs.push(null);return}let W=null,ie=0;for(;ie<f.length;){let ne=f[ie];if(ne===0){ie+=4;continue}else if(ne===5){ie+=2;continue}else if(typeof ne=="number")break;if(!c&&I.hasOwnProperty(ne)){let ye=I[ne];for(let Ie of ye)if(Ie===v){W??=[],W.push(ne,f[ie+1]);break}}else if(c&&D.hasOwnProperty(ne)){let ye=D[ne];for(let Ie=0;Ie<ye.length;Ie+=2)if(ye[Ie]===v){W??=[],W.push(ye[Ie+1],f[ie+1]);break}}ie+=2}m.initialInputs??=[],m.initialInputs.push(W)}function qFe(m,v,c,f,I){m.data[f]=I;let D=I.factory||(I.factory=BD(I.type,!0)),W=new rP(D,fA(I),Cr);m.blueprint[f]=W,c[f]=W,WFe(m,v,f,f_e(m,c,I.hostVars,ch),I)}function WFe(m,v,c,f,I){let D=I.hostBindings;if(D){let W=m.hostBindingOpCodes;W===null&&(W=m.hostBindingOpCodes=[]);let ie=~v.index;UFe(W)!=ie&&W.push(ie),W.push(c,f,D)}}function UFe(m){let v=m.length;for(;v>0;){let c=m[--v];if(typeof c=="number"&&c<0)return c}return 0}function jFe(m,v,c){if(c){if(v.exportAs)for(let f=0;f<v.exportAs.length;f++)c[v.exportAs[f]]=m;fA(v)&&(c[""]=m)}}function GFe(m,v,c){m.flags|=1,m.directiveStart=v,m.directiveEnd=v+c,m.providerIndexes=v}function W_e(m,v,c,f,I,D,W,ie){let ne=v.consts,ye=aI(ne,W),Ie=YY(v,m,2,f,ye);return D&&sde(v,c,Ie,aI(ne,ie),I),Ie.mergedAttrs=AH(Ie.mergedAttrs,Ie.attrs),Ie.attrs!==null&&bue(Ie,Ie.attrs,!1),Ie.mergedAttrs!==null&&bue(Ie,Ie.mergedAttrs,!0),v.queries!==null&&v.queries.elementStart(v,Ie),Ie}function U_e(m,v){kue(m,v),kJ(v)&&m.queries.elementEnd(v)}function ude(m){return NO(m)?Array.isArray(m)||!(m instanceof Map)&&Symbol.iterator in m:!1}function j_e(m,v){if(Array.isArray(m))for(let c=0;c<m.length;c++)v(m[c]);else{let c=m[Symbol.iterator](),f;for(;!(f=c.next()).done;)v(f.value)}}function NO(m){return m!==null&&(typeof m=="function"||typeof m=="object")}function XY(m,v,c){return m[v]=c}function VFe(m,v){return m[v]}function Dg(m,v,c){if(c===ch)return!1;let f=m[v];return Object.is(f,c)?!1:(m[v]=c,!0)}function BY(m,v,c,f){let I=Dg(m,v,c);return Dg(m,v+1,f)||I}function G_e(m,v,c,f,I){let D=BY(m,v,c,f);return Dg(m,v+2,I)||D}function YFe(m,v,c,f,I,D){let W=BY(m,v,c,f);return BY(m,v+2,I,D)||W}function Qse(m,v,c){return function f(I){let D=UD(m)?C3(m.index,v):v;ode(D,5);let W=v[F1],ie=v3e(v,W,c,I),ne=f.__ngNextListenerFn__;for(;ne;)ie=v3e(v,W,ne,I)&&ie,ne=ne.__ngNextListenerFn__;return ie}}function v3e(m,v,c,f){let I=_a(null);try{return Hu(6,v,c),c(f)!==!1}catch(D){return ZBe(m,D),!1}finally{Hu(7,v,c),_a(I)}}function XFe(m,v,c,f,I,D,W,ie){let ne=IY(m),ye=!1,Ie=null;if(!f&&ne&&(Ie=QFe(v,c,D,m.index)),Ie!==null){let qe=Ie.__ngLastListenerFn__||Ie;qe.__ngNextListenerFn__=W,Ie.__ngLastListenerFn__=W,ye=!0}else{let qe=lI(m,c),Ke=f?f(qe):qe;$8e(c,Ke,D,ie);let Je=I.listen(Ke,D,ie),Ct=f?un=>f(S3(un[m.index])):m.index;V_e(Ct,v,c,D,ie,Je,!1)}return ye}function QFe(m,v,c,f){let I=m.cleanup;if(I!=null)for(let D=0;D<I.length-1;D+=2){let W=I[D];if(W===c&&I[D+1]===f){let ie=v[hH],ne=I[D+2];return ie&&ie.length>ne?ie[ne]:null}typeof W=="string"&&(D+=2)}return null}function V_e(m,v,c,f,I,D,W){let ie=v.firstCreatePass?zse(v):null,ne=xse(c),ye=ne.length;ne.push(I,D),ie&&ie.push(f,m,ye,(ye+1)*(W?-1:1))}function p3e(m,v,c,f,I,D){let W=v[c],ie=v[Wa],ye=ie.data[c].outputs[f],qe=W[ye].subscribe(D);V_e(m.index,ie,v,I,D,qe,!0)}var gue=Symbol("BINDING");var yue=class extends aP{ngModule;constructor(v){super(),this.ngModule=v}resolveComponentFactory(v){let c=HD(v);return new SH(c,this.ngModule)}};function KFe(m){return Object.keys(m).map(v=>{let[c,f,I]=m[v],D={propName:c,templateName:v,isSignal:(f&EO.SignalBased)!==0};return I&&(D.transform=I),D})}function $Fe(m){return Object.keys(m).map(v=>({propName:m[v],templateName:v}))}function ZFe(m,v,c){let f=v instanceof B1?v:v?.injector;return f&&m.getStandaloneInjector!==null&&(f=m.getStandaloneInjector(f)||f),f?new mue(c,f):c}function JFe(m){let v=m.get(Lv,null);if(v===null)throw new Qr(407,!1);let c=m.get(H_e,null),f=m.get(wy,null);return{rendererFactory:v,sanitizer:c,changeDetectionScheduler:f,ngReflect:!1}}function OFe(m,v){let c=(m.selectors[0][0]||"div").toLowerCase();return u_e(v,c,c==="svg"?Ese:c==="math"?IMe:null)}var SH=class extends LO{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=KFe(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$Fe(this.componentDef.outputs),this.cachedOutputs}constructor(v,c){super(),this.componentDef=v,this.ngModule=c,this.componentType=v.type,this.selector=RBe(v.selectors),this.ngContentSelectors=v.ngContentSelectors??[],this.isBoundToModule=!!c}create(v,c,f,I,D,W){Hu(22);let ie=_a(null);try{let ne=this.componentDef,ye=eke(f,ne,W,D),Ie=ZFe(ne,I||this.ngModule,v),qe=JFe(Ie),Ke=qe.rendererFactory.createRenderer(null,ne),Je=f?qBe(Ke,f,ne.encapsulation,Ie):OFe(ne,Ke),Ct=W?.some(f3e)||D?.some(Fn=>typeof Fn!="function"&&Fn.bindings.some(f3e)),un=Que(null,ye,null,512|p_e(ne),null,null,qe,Ke,Ie,null,Z3e(Je,Ie,!0));un[zv]=Je,QJ(un);let qn=null;try{let Fn=W_e(zv,ye,un,"#host",()=>ye.directiveRegistry,!0,0);Je&&(v_e(Ke,Je,Fn),NH(Je,un)),SO(ye,un,Fn),jue(ye,Fn,un),U_e(ye,Fn),c!==void 0&&nke(Fn,this.ngContentSelectors,c),qn=C3(Fn.index,un),un[F1]=qn[F1],Oue(ye,un,null)}catch(Fn){throw qn!==null&&lue(qn),lue(un),Fn}finally{Hu(23),KJ()}return new hO(this.componentType,un,!!Ct)}finally{_a(ie)}}};function eke(m,v,c,f){let I=m?["ng-version","20.0.5"]:xBe(v.selectors[0]),D=null,W=null,ie=0;if(c)for(let Ie of c)ie+=Ie[gue].requiredVars,Ie.create&&(Ie.targetIdx=0,(D??=[]).push(Ie)),Ie.update&&(Ie.targetIdx=0,(W??=[]).push(Ie));if(f)for(let Ie=0;Ie<f.length;Ie++){let qe=f[Ie];if(typeof qe!="function")for(let Ke of qe.bindings){ie+=Ke[gue].requiredVars;let Je=Ie+1;Ke.create&&(Ke.targetIdx=Je,(D??=[]).push(Ke)),Ke.update&&(Ke.targetIdx=Je,(W??=[]).push(Ke))}}let ne=[v];if(f)for(let Ie of f){let qe=typeof Ie=="function"?Ie:Ie.type,Ke=yse(qe);ne.push(Ke)}return Xue(0,null,tke(D,W),1,ie,ne,null,null,null,[I],null)}function tke(m,v){return!m&&!v?null:c=>{if(c&1&&m)for(let f of m)f.create();if(c&2&&v)for(let f of v)f.update()}}function f3e(m){let v=m[gue].kind;return v==="input"||v==="twoWay"}var hO=class extends k_e{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(v,c,f){super(),this._rootLView=c,this._hasInputBindings=f,this._tNode=wY(c[Wa],zv),this.location=LH(this._tNode,c),this.instance=C3(this._tNode.index,c)[F1],this.hostView=this.changeDetectorRef=new XD(c,void 0),this.componentType=v}setInput(v,c){this._hasInputBindings;let f=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(v)&&Object.is(this.previousInputValues.get(v),c))return;let I=this._rootLView,D=Jue(f,I[Wa],I,v,c);this.previousInputValues.set(v,c);let W=C3(f.index,I);ode(W,1)}get injector(){return new oP(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(v){this.hostView.onDestroy(v)}};function nke(m,v,c){let f=m.projection=[];for(let I=0;I<v.length;I++){let D=c[I];f.push(D!=null&&D.length?Array.from(D):null)}}var vh=(()=>{class m{static __NG_ELEMENT_ID__=ike}return m})();function ike(){let m=dh();return X_e(m,kl())}var oke=vh,Y_e=class extends oke{_lContainer;_hostTNode;_hostLView;constructor(v,c,f){super(),this._lContainer=v,this._hostTNode=c,this._hostLView=f}get element(){return LH(this._hostTNode,this._hostLView)}get injector(){return new oP(this._hostTNode,this._hostLView)}get parentInjector(){let v=Hue(this._hostTNode,this._hostLView);if(L3e(v)){let c=uO(v,this._hostLView),f=sO(v),I=c[Wa].data[f+8];return new oP(I,c)}else return new oP(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(v){let c=h3e(this._lContainer);return c!==null&&c[v]||null}get length(){return this._lContainer.length-uh}createEmbeddedView(v,c,f){let I,D;typeof f=="number"?I=f:f!=null&&(I=f.index,D=f.injector);let W=fO(this._lContainer,v.ssrId),ie=v.createEmbeddedViewImpl(c||{},D,W);return this.insertImpl(ie,I,EH(this._hostTNode,W)),ie}createComponent(v,c,f,I,D,W,ie){let ne=v&&!_8e(v),ye;if(ne)ye=c;else{let qn=c||{};ye=qn.index,f=qn.injector,I=qn.projectableNodes,D=qn.environmentInjector||qn.ngModuleRef,W=qn.directives,ie=qn.bindings}let Ie=ne?v:new SH(HD(v)),qe=f||this.parentInjector;if(!D&&Ie.ngModule==null){let Fn=(ne?qe:this.parentInjector).get(B1,null);Fn&&(D=Fn)}let Ke=HD(Ie.componentType??{}),Je=fO(this._lContainer,Ke?.id??null),Ct=Je?.firstChild??null,un=Ie.create(qe,I,Ct,D,W,ie);return this.insertImpl(un.hostView,ye,EH(this._hostTNode,Je)),un}insert(v,c){return this.insertImpl(v,c,!0)}insertImpl(v,c,f){let I=v._lView;if(AMe(I)){let ie=this.indexOf(v);if(ie!==-1)this.detach(ie);else{let ne=I[Bp],ye=new Y_e(ne,ne[Rb],ne[Bp]);ye.detach(ye.indexOf(v))}}let D=this._adjustIndex(c),W=this._lContainer;return VY(W,I,D,f),v.attachToViewContainerRef(),mse(Kse(W),D,v),v}move(v,c){return this.insert(v,c)}indexOf(v){let c=h3e(this._lContainer);return c!==null?c.indexOf(v):-1}remove(v){let c=this._adjustIndex(v,-1),f=PY(this._lContainer,c);f&&(bY(Kse(this._lContainer),c),DO(f[Wa],f))}detach(v){let c=this._adjustIndex(v,-1),f=PY(this._lContainer,c);return f&&bY(Kse(this._lContainer),c)!=null?new XD(f):null}_adjustIndex(v,c=0){return v??this.length+c}};function h3e(m){return m[_Y]}function Kse(m){return m[_Y]||(m[_Y]=[])}function X_e(m,v){let c,f=v[m.index];return rI(f)?c=f:(c=L_e(f,v,null,m),v[m.index]=c,Kue(v,c)),lke(c,v,m,f),new Y_e(c,m,v)}function rke(m,v){let c=m[Md],f=c.createComment(""),I=lI(v,m),D=c.parentNode(I);return pO(c,D,f,c.nextSibling(I),!1),f}var lke=uke,ake=()=>!1;function ske(m,v,c){return ake(m,v,c)}function uke(m,v,c,f){if(m[WD])return;let I;c.type&8?I=S3(f):I=rke(v,c),m[WD]=I}var Mue=class m{queryList;matches=null;constructor(v){this.queryList=v}clone(){return new m(this.queryList)}setDirty(){this.queryList.setDirty()}},_ue=class m{queries;constructor(v=[]){this.queries=v}createEmbeddedView(v){let c=v.queries;if(c!==null){let f=v.contentQueries!==null?v.contentQueries[0]:c.length,I=[];for(let D=0;D<f;D++){let W=c.getByIndex(D),ie=this.queries[W.indexInDeclarationView];I.push(ie.clone())}return new m(I)}return null}insertView(v){this.dirtyQueriesWithMatches(v)}detachView(v){this.dirtyQueriesWithMatches(v)}finishViewCreation(v){this.dirtyQueriesWithMatches(v)}dirtyQueriesWithMatches(v){for(let c=0;c<this.queries.length;c++)dde(v,c).matches!==null&&this.queries[c].setDirty()}},mO=class{flags;read;predicate;constructor(v,c,f=null){this.flags=c,this.read=f,typeof v=="string"?this.predicate=bke(v):this.predicate=v}},Iue=class m{queries;constructor(v=[]){this.queries=v}elementStart(v,c){for(let f=0;f<this.queries.length;f++)this.queries[f].elementStart(v,c)}elementEnd(v){for(let c=0;c<this.queries.length;c++)this.queries[c].elementEnd(v)}embeddedTView(v){let c=null;for(let f=0;f<this.length;f++){let I=c!==null?c.length:0,D=this.getByIndex(f).embeddedTView(v,I);D&&(D.indexInDeclarationView=f,c!==null?c.push(D):c=[D])}return c!==null?new m(c):null}template(v,c){for(let f=0;f<this.queries.length;f++)this.queries[f].template(v,c)}getByIndex(v){return this.queries[v]}get length(){return this.queries.length}track(v){this.queries.push(v)}},wue=class m{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(v,c=-1){this.metadata=v,this._declarationNodeIndex=c}elementStart(v,c){this.isApplyingToNode(c)&&this.matchTNode(v,c)}elementEnd(v){this._declarationNodeIndex===v.index&&(this._appliesToNextNode=!1)}template(v,c){this.elementStart(v,c)}embeddedTView(v,c){return this.isApplyingToNode(v)?(this.crossesNgTemplate=!0,this.addMatch(-v.index,c),new m(this.metadata)):null}isApplyingToNode(v){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let c=this._declarationNodeIndex,f=v.parent;for(;f!==null&&f.type&8&&f.index!==c;)f=f.parent;return c===(f!==null?f.index:-1)}return this._appliesToNextNode}matchTNode(v,c){let f=this.metadata.predicate;if(Array.isArray(f))for(let I=0;I<f.length;I++){let D=f[I];this.matchTNodeWithReadOption(v,c,dke(c,D)),this.matchTNodeWithReadOption(v,c,rO(c,v,D,!1,!1))}else f===i0?c.type&4&&this.matchTNodeWithReadOption(v,c,-1):this.matchTNodeWithReadOption(v,c,rO(c,v,f,!1,!1))}matchTNodeWithReadOption(v,c,f){if(f!==null){let I=this.metadata.read;if(I!==null)if(I===Pr||I===vh||I===i0&&c.type&4)this.addMatch(c.index,-2);else{let D=rO(c,v,I,!1,!1);D!==null&&this.addMatch(c.index,D)}else this.addMatch(c.index,f)}}addMatch(v,c){this.matches===null?this.matches=[v,c]:this.matches.push(v,c)}};function dke(m,v){let c=m.localNames;if(c!==null){for(let f=0;f<c.length;f+=2)if(c[f]===v)return c[f+1]}return null}function cke(m,v){return m.type&11?LH(m,v):m.type&4?zO(m,v):null}function vke(m,v,c,f){return c===-1?cke(v,m):c===-2?pke(m,v,f):LY(m,m[Wa],c,v)}function pke(m,v,c){if(c===Pr)return LH(v,m);if(c===i0)return zO(v,m);if(c===vh)return X_e(v,m)}function Q_e(m,v,c,f){let I=v[vA].queries[f];if(I.matches===null){let D=m.data,W=c.matches,ie=[];for(let ne=0;W!==null&&ne<W.length;ne+=2){let ye=W[ne];if(ye<0)ie.push(null);else{let Ie=D[ye];ie.push(vke(v,Ie,W[ne+1],c.metadata.read))}}I.matches=ie}return I.matches}function Aue(m,v,c,f){let I=m.queries.getByIndex(c),D=I.matches;if(D!==null){let W=Q_e(m,v,I,c);for(let ie=0;ie<D.length;ie+=2){let ne=D[ie];if(ne>0)f.push(W[ie/2]);else{let ye=D[ie+1],Ie=v[-ne];for(let qe=uh;qe<Ie.length;qe++){let Ke=Ie[qe];Ke[qD]===Ke[Bp]&&Aue(Ke[Wa],Ke,ye,f)}if(Ie[ON]!==null){let qe=Ie[ON];for(let Ke=0;Ke<qe.length;Ke++){let Je=qe[Ke];Aue(Je[Wa],Je,ye,f)}}}}}return f}function fke(m,v){return m[vA].queries[v].queryList}function K_e(m,v,c){let f=new TH((c&4)===4);return SMe(m,v,f,f.destroy),(v[vA]??=new _ue).queries.push(new Mue(f))-1}function hke(m,v,c){let f=_d();return f.firstCreatePass&&($_e(f,new mO(m,v,c),-1),(v&2)===2&&(f.staticViewQueries=!0)),K_e(f,kl(),v)}function mke(m,v,c,f){let I=_d();if(I.firstCreatePass){let D=dh();$_e(I,new mO(v,c,f),D.index),gke(I,m),(c&2)===2&&(I.staticContentQueries=!0)}return K_e(I,kl(),c)}function bke(m){return m.split(",").map(v=>v.trim())}function $_e(m,v,c){m.queries===null&&(m.queries=new Iue),m.queries.track(new wue(v,c))}function gke(m,v){let c=m.contentQueries||(m.contentQueries=[]),f=c.length?c[c.length-1]:-1;v!==f&&c.push(m.queries.length-1,v)}function dde(m,v){return m.queries.getByIndex(v)}function yke(m,v){let c=m[Wa],f=dde(c,v);return f.crossesNgTemplate?Aue(c,m,v,[]):Q_e(c,m,f,v)}var m3e=new Set;function sP(m){m3e.has(m)||(m3e.add(m),performance?.mark?.("mark_feature_usage",{detail:{feature:m}}))}var QD=class{};var FY=class extends QD{injector;componentFactoryResolver=new yue(this);instance=null;constructor(v){super();let c=new VN([...v.providers,{provide:QD,useValue:this},{provide:aP,useValue:this.componentFactoryResolver}],v.parent||pH(),v.debugName,new Set(["environment"]));this.injector=c,v.runEnvironmentInitializers&&c.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(v){this.injector.onDestroy(v)}};function Z_e(m,v,c=null){return new FY({providers:m,parent:v,debugName:c,runEnvironmentInitializers:!0}).injector}var Mke=(()=>{class m{_injector;cachedInjectors=new Map;constructor(c){this._injector=c}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c)){let f=Mse(!1,c.type),I=f.length>0?Z_e([f],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c,I)}return this.cachedInjectors.get(c)}ngOnDestroy(){try{for(let c of this.cachedInjectors.values())c!==null&&c.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=bo({token:m,providedIn:"environment",factory:()=>new m(Cl(B1))})}return m})();function Fi(m){return RH(()=>{let v=J_e(m),c=Ya(rl({},v),{decls:m.decls,vars:m.vars,template:m.template,consts:m.consts||null,ngContentSelectors:m.ngContentSelectors,onPush:m.changeDetection===que.OnPush,directiveDefs:null,pipeDefs:null,dependencies:v.standalone&&m.dependencies||null,getStandaloneInjector:v.standalone?I=>I.get(Mke).getOrCreateStandaloneInjector(c):null,getExternalStyles:null,signals:m.signals??!1,data:m.data||{},encapsulation:m.encapsulation||XT.Emulated,styles:m.styles||Db,_:null,schemas:m.schemas||null,tView:null,id:""});v.standalone&&sP("NgStandalone"),O_e(c);let f=m.dependencies;return c.directiveDefs=b3e(f,!1),c.pipeDefs=b3e(f,!0),c.id=Tke(c),c})}function _ke(m){return HD(m)||yse(m)}function Ike(m){return m!==null}function Ua(m){return RH(()=>({type:m.type,bootstrap:m.bootstrap||Db,declarations:m.declarations||Db,imports:m.imports||Db,exports:m.exports||Db,transitiveCompileScopes:null,schemas:m.schemas||null,id:m.id||null}))}function wke(m,v){if(m==null)return kD;let c={};for(let f in m)if(m.hasOwnProperty(f)){let I=m[f],D,W,ie,ne;Array.isArray(I)?(ie=I[0],D=I[1],W=I[2]??D,ne=I[3]||null):(D=I,W=I,ie=EO.None,ne=null),c[D]=[f,ie,ne],v[D]=W}return c}function Ake(m){if(m==null)return kD;let v={};for(let c in m)m.hasOwnProperty(c)&&(v[m[c]]=c);return v}function Dr(m){return RH(()=>{let v=J_e(m);return O_e(v),v})}function Nv(m){return{type:m.type,name:m.name,factory:null,pure:m.pure!==!1,standalone:m.standalone??!0,onDestroy:m.type.prototype.ngOnDestroy||null}}function J_e(m){let v={};return{type:m.type,providersResolver:null,factory:null,hostBindings:m.hostBindings||null,hostVars:m.hostVars||0,hostAttrs:m.hostAttrs||null,contentQueries:m.contentQueries||null,declaredInputs:v,inputConfig:m.inputs||kD,exportAs:m.exportAs||null,standalone:m.standalone??!0,signals:m.signals===!0,selectors:m.selectors||Db,viewQuery:m.viewQuery||null,features:m.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:wke(m.inputs,v),outputs:Ake(m.outputs),debugInfo:null}}function O_e(m){m.features?.forEach(v=>v(m))}function b3e(m,v){if(!m)return null;let c=v?mMe:_ke;return()=>(typeof m=="function"?m():m).map(f=>c(f)).filter(Ike)}function Tke(m){let v=0,c=typeof m.consts=="function"?"":m.consts,f=[m.selectors,m.ngContentSelectors,m.hostVars,m.hostAttrs,c,m.vars,m.decls,m.encapsulation,m.standalone,m.signals,m.exportAs,JSON.stringify(m.inputs),JSON.stringify(m.outputs),Object.getOwnPropertyNames(m.type.prototype),!!m.contentQueries,!!m.viewQuery];for(let D of f.join("|"))v=Math.imul(31,v)+D.charCodeAt(0)<<0;return v+=2147483648,"c"+v}function Eke(m){return Object.getPrototypeOf(m.prototype).constructor}function tl(m){let v=Eke(m.type),c=!0,f=[m];for(;v;){let I;if(fA(m))I=v.\u0275cmp||v.\u0275dir;else{if(v.\u0275cmp)throw new Qr(903,!1);I=v.\u0275dir}if(I){if(c){f.push(I);let W=m;W.inputs=$se(m.inputs),W.declaredInputs=$se(m.declaredInputs),W.outputs=$se(m.outputs);let ie=I.hostBindings;ie&&xke(m,ie);let ne=I.viewQuery,ye=I.contentQueries;if(ne&&Dke(m,ne),ye&&Rke(m,ye),Ske(m,I),sMe(m.outputs,I.outputs),fA(I)&&I.data.animation){let Ie=m.data;Ie.animation=(Ie.animation||[]).concat(I.data.animation)}}let D=I.features;if(D)for(let W=0;W<D.length;W++){let ie=D[W];ie&&ie.ngInherit&&ie(m),ie===tl&&(c=!1)}}v=Object.getPrototypeOf(v)}Cke(f)}function Ske(m,v){for(let c in v.inputs){if(!v.inputs.hasOwnProperty(c)||m.inputs.hasOwnProperty(c))continue;let f=v.inputs[c];f!==void 0&&(m.inputs[c]=f,m.declaredInputs[c]=v.declaredInputs[c])}}function Cke(m){let v=0,c=null;for(let f=m.length-1;f>=0;f--){let I=m[f];I.hostVars=v+=I.hostVars,I.hostAttrs=AH(I.hostAttrs,c=AH(c,I.hostAttrs))}}function $se(m){return m===kD?{}:m===Db?[]:m}function Dke(m,v){let c=m.viewQuery;c?m.viewQuery=(f,I)=>{v(f,I),c(f,I)}:m.viewQuery=v}function Rke(m,v){let c=m.contentQueries;c?m.contentQueries=(f,I,D)=>{v(f,I,D),c(f,I,D)}:m.contentQueries=v}function xke(m,v){let c=m.hostBindings;c?m.hostBindings=(f,I)=>{v(f,I),c(f,I)}:m.hostBindings=v}function zke(m,v,c,f,I,D,W,ie,ne){let ye=v.consts,Ie=YY(v,m,4,W||null,ie||null);jJ()&&sde(v,c,Ie,aI(ye,ne),Zue),Ie.mergedAttrs=AH(Ie.mergedAttrs,Ie.attrs),kue(v,Ie);let qe=Ie.tView=Xue(2,Ie,f,I,D,v.directiveRegistry,v.pipeRegistry,null,v.schemas,ye,null);return v.queries!==null&&(v.queries.template(v,Ie),qe.queries=v.queries.embeddedTView(Ie)),Ie}function CH(m,v,c,f,I,D,W,ie,ne,ye,Ie){let qe=c+zv,Ke=v.firstCreatePass?zke(qe,v,m,f,I,D,W,ie,ye):v.data[qe];ne&&(Ke.flags|=ne),GD(Ke,!1);let Je=Lke(v,m,Ke,c);CY()&&RO(v,m,Je,Ke),NH(Je,m);let Ct=L_e(Je,m,Je,Ke);return m[qe]=Ct,Kue(m,Ct),ske(Ct,Ke,m),IY(Ke)&&SO(v,m,Ke),ye!=null&&$ue(m,Ke,Ie),Ke}function Fr(m,v,c,f,I,D,W,ie){let ne=kl(),ye=_d(),Ie=aI(ye.consts,D);return CH(ne,ye,m,v,c,f,I,Ie,void 0,W,ie),Fr}var Lke=Nke;function Nke(m,v,c,f){return DY(!0),v[Md].createComment("")}var PO=function(m){return m[m.CHANGE_DETECTION=0]="CHANGE_DETECTION",m[m.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",m}(PO||{}),uP=new Go(""),eIe=!1,Tue=class extends mr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(v=!1){super(),this.__isAsync=v,MMe()&&(this.destroyRef=Qt(xb,{optional:!0})??void 0,this.pendingTasks=Qt(tP,{optional:!0})??void 0)}emit(v){let c=_a(null);try{super.next(v)}finally{_a(c)}}subscribe(v,c,f){let I=v,D=c||(()=>null),W=f;if(v&&typeof v=="object"){let ne=v;I=ne.next?.bind(ne),D=ne.error?.bind(ne),W=ne.complete?.bind(ne)}this.__isAsync&&(D=this.wrapInTimeout(D),I&&(I=this.wrapInTimeout(I)),W&&(W=this.wrapInTimeout(W)));let ie=super.subscribe({next:I,error:D,complete:W});return v instanceof t0&&v.add(ie),ie}wrapInTimeout(v){return c=>{let f=this.pendingTasks?.add();setTimeout(()=>{try{v(c)}finally{f!==void 0&&this.pendingTasks?.remove(f)}})}}},di=Tue;function tIe(m){let v,c;function f(){m=nP;try{c!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(c),v!==void 0&&clearTimeout(v)}catch{}}return v=setTimeout(()=>{m(),f()}),typeof requestAnimationFrame=="function"&&(c=requestAnimationFrame(()=>{m(),f()})),()=>f()}function g3e(m){return queueMicrotask(()=>m()),()=>{m=nP}}var cde="isAngularZone",bO=cde+"_ID",Pke=0,sa=class m{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new di(!1);onMicrotaskEmpty=new di(!1);onStable=new di(!1);onError=new di(!1);constructor(v){let{enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:I=!1,scheduleInRootZone:D=eIe}=v;if(typeof Zone>"u")throw new Qr(908,!1);Zone.assertZonePatched();let W=this;W._nesting=0,W._outer=W._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(W._inner=W._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(W._inner=W._inner.fork(Zone.longStackTraceZoneSpec)),W.shouldCoalesceEventChangeDetection=!I&&f,W.shouldCoalesceRunChangeDetection=I,W.callbackScheduled=!1,W.scheduleInRootZone=D,kke(W)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(cde)===!0}static assertInAngularZone(){if(!m.isInAngularZone())throw new Qr(909,!1)}static assertNotInAngularZone(){if(m.isInAngularZone())throw new Qr(909,!1)}run(v,c,f){return this._inner.run(v,c,f)}runTask(v,c,f,I){let D=this._inner,W=D.scheduleEventTask("NgZoneEvent: "+I,v,Bke,nP,nP);try{return D.runTask(W,c,f)}finally{D.cancelTask(W)}}runGuarded(v,c,f){return this._inner.runGuarded(v,c,f)}runOutsideAngular(v){return this._outer.run(v)}},Bke={};function vde(m){if(m._nesting==0&&!m.hasPendingMicrotasks&&!m.isStable)try{m._nesting++,m.onMicrotaskEmpty.emit(null)}finally{if(m._nesting--,!m.hasPendingMicrotasks)try{m.runOutsideAngular(()=>m.onStable.emit(null))}finally{m.isStable=!0}}}function Fke(m){if(m.isCheckStableRunning||m.callbackScheduled)return;m.callbackScheduled=!0;function v(){tIe(()=>{m.callbackScheduled=!1,Eue(m),m.isCheckStableRunning=!0,vde(m),m.isCheckStableRunning=!1})}m.scheduleInRootZone?Zone.root.run(()=>{v()}):m._outer.run(()=>{v()}),Eue(m)}function kke(m){let v=()=>{Fke(m)},c=Pke++;m._inner=m._inner.fork({name:"angular",properties:{[cde]:!0,[bO]:c,[bO+c]:!0},onInvokeTask:(f,I,D,W,ie,ne)=>{if(Hke(ne))return f.invokeTask(D,W,ie,ne);try{return y3e(m),f.invokeTask(D,W,ie,ne)}finally{(m.shouldCoalesceEventChangeDetection&&W.type==="eventTask"||m.shouldCoalesceRunChangeDetection)&&v(),M3e(m)}},onInvoke:(f,I,D,W,ie,ne,ye)=>{try{return y3e(m),f.invoke(D,W,ie,ne,ye)}finally{m.shouldCoalesceRunChangeDetection&&!m.callbackScheduled&&!qke(ne)&&v(),M3e(m)}},onHasTask:(f,I,D,W)=>{f.hasTask(D,W),I===D&&(W.change=="microTask"?(m._hasPendingMicrotasks=W.microTask,Eue(m),vde(m)):W.change=="macroTask"&&(m.hasPendingMacrotasks=W.macroTask))},onHandleError:(f,I,D,W)=>(f.handleError(D,W),m.runOutsideAngular(()=>m.onError.emit(W)),!1)})}function Eue(m){m._hasPendingMicrotasks||(m.shouldCoalesceEventChangeDetection||m.shouldCoalesceRunChangeDetection)&&m.callbackScheduled===!0?m.hasPendingMicrotasks=!0:m.hasPendingMicrotasks=!1}function y3e(m){m._nesting++,m.isStable&&(m.isStable=!1,m.onUnstable.emit(null))}function M3e(m){m._nesting--,vde(m)}var gO=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new di;onMicrotaskEmpty=new di;onStable=new di;onError=new di;run(v,c,f){return v.apply(c,f)}runGuarded(v,c,f){return v.apply(c,f)}runOutsideAngular(v){return v()}runTask(v,c,f,I){return v.apply(c,f)}};function Hke(m){return nIe(m,"__ignore_ng_zone__")}function qke(m){return nIe(m,"__scheduler_tick__")}function nIe(m,v){return!Array.isArray(m)||m.length!==1?!1:m[0]?.data?.[v]===!0}var pde=(()=>{class m{impl=null;execute(){this.impl?.execute()}static \u0275prov=bo({token:m,providedIn:"root",factory:()=>new m})}return m})(),iIe=[0,1,2,3],oIe=(()=>{class m{ngZone=Qt(sa);scheduler=Qt(wy);errorHandler=Qt(Iy,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){Qt(uP,{optional:!0})}execute(){let c=this.sequences.size>0;c&&Hu(16),this.executing=!0;for(let f of iIe)for(let I of this.sequences)if(!(I.erroredOrDestroyed||!I.hooks[f]))try{I.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let D=I.hooks[f];return D(I.pipelinedValue)},I.snapshot))}catch(D){I.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(),c&&Hu(17)}register(c){let{view:f}=c;f!==void 0?((f[JN]??=[]).push(c),jD(f),f[Sa]|=8192):this.executing?this.deferredRegistrations.add(c):this.addSequence(c)}addSequence(c){this.sequences.add(c),this.scheduler.notify(7)}unregister(c){this.executing&&this.sequences.has(c)?(c.erroredOrDestroyed=!0,c.pipelinedValue=void 0,c.once=!0):(this.sequences.delete(c),this.deferredRegistrations.delete(c))}maybeTrace(c,f){return f?f.run(PO.AFTER_NEXT_RENDER,c):c()}static \u0275prov=bo({token:m,providedIn:"root",factory:()=>new m})}return m})(),yO=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(v,c,f,I,D,W=null){this.impl=v,this.hooks=c,this.view=f,this.once=I,this.snapshot=W,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 v=this.view?.[JN];v&&(this.view[JN]=v.filter(c=>c!==this))}};function pI(m,v){let c=v?.injector??Qt(Ms);return sP("NgAfterNextRender"),Uke(m,c,v,!0)}function Wke(m){return m instanceof Function?[void 0,void 0,m,void 0]:[m.earlyRead,m.write,m.mixedReadWrite,m.read]}function Uke(m,v,c,f){let I=v.get(pde);I.impl??=v.get(oIe);let D=v.get(uP,null,{optional:!0}),W=c?.manualCleanup!==!0?v.get(xb):null,ie=v.get(MH,null,{optional:!0}),ne=new yO(I.impl,Wke(m),ie?.view,f,W,D?.snapshot(null));return I.impl.register(ne),ne}var fde=new Go("");function dP(m){return!!m&&typeof m.then=="function"}function BO(m){return!!m&&typeof m.subscribe=="function"}var rIe=new Go("");var hde=(()=>{class m{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((c,f)=>{this.resolve=c,this.reject=f});appInits=Qt(rIe,{optional:!0})??[];injector=Qt(Ms);constructor(){}runInitializers(){if(this.initialized)return;let c=[];for(let I of this.appInits){let D=fH(this.injector,I);if(dP(D))c.push(D);else if(BO(D)){let W=new Promise((ie,ne)=>{D.subscribe({complete:ie,error:ne})});c.push(W)}}let f=()=>{this.done=!0,this.resolve()};Promise.all(c).then(()=>{f()}).catch(I=>{this.reject(I)}),c.length===0&&f(),this.initialized=!0}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),lIe=new Go("");function aIe(){N0e(()=>{let m="";throw new Qr(600,m)})}function sIe(m){return m.isBoundToModule}var jke=10;var Ty=(()=>{class m{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Qt(uI);afterRenderManager=Qt(pde);zonelessEnabled=Qt(ZJ);rootEffectScheduler=Qt(RY);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new mr;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=Qt(tP);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Xa(c=>!c))}constructor(){Qt(uP,{optional:!0})}whenStable(){let c;return new Promise(f=>{c=this.isStable.subscribe({next:I=>{I&&f()}})}).finally(()=>{c.unsubscribe()})}_injector=Qt(B1);_rendererFactory=null;get injector(){return this._injector}bootstrap(c,f){return this.bootstrapImpl(c,f)}bootstrapImpl(c,f,I=Ms.NULL){return this._injector.get(sa).run(()=>{Hu(10);let W=c instanceof LO;if(!this._injector.get(hde).done){let Ct="";throw new Qr(405,Ct)}let ne;W?ne=c:ne=this._injector.get(aP).resolveComponentFactory(c),this.componentTypes.push(ne.componentType);let ye=sIe(ne)?void 0:this._injector.get(QD),Ie=f||ne.selector,qe=ne.create(I,[],Ie,ye),Ke=qe.location.nativeElement,Je=qe.injector.get(fde,null);return Je?.registerApplication(Ke),qe.onDestroy(()=>{this.detachView(qe.hostView),zY(this.components,qe),Je?.unregisterApplication(Ke)}),this._loadComponent(qe),Hu(11,qe),qe})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Hu(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(PO.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Qr(101,!1);let c=_a(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,_a(c),this.afterTick.next(),Hu(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Lv,null,{optional:!0}));let c=0;for(;this.dirtyFlags!==0&&c++<jke;)Hu(14),this.synchronizeOnce(),Hu(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let c=!1;if(this.dirtyFlags&7){let f=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:I}of this.allViews){if(!f&&!gH(I))continue;let D=f&&!this.zonelessEnabled?0:1;ide(I,D),c=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}c||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:c})=>gH(c))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(c){let f=c;this._views.push(f),f.attachToAppRef(this)}detachView(c){let f=c;zY(this._views,f),f.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView);try{this.tick()}catch(I){this.internalErrorHandler(I)}this.components.push(c),this._injector.get(lIe,[]).forEach(I=>I(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>zY(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new Qr(406,!1);let c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function zY(m,v){let c=m.indexOf(v);c>-1&&m.splice(c,1)}function nl(m,v,c,f){let I=kl(),D=VT();if(Dg(I,D,v)){let W=_d(),ie=EY();QBe(ie,I,m,v,c,f)}return nl}function FO(){return kl()[S2][F1]}var Sue=class{destroy(v){}updateValue(v,c){}swap(v,c){let f=Math.min(v,c),I=Math.max(v,c),D=this.detach(I);if(I-f>1){let W=this.detach(f);this.attach(f,D),this.attach(I,W)}else this.attach(f,D)}move(v,c){this.attach(c,this.detach(v))}};function Zse(m,v,c,f,I){return m===c&&Object.is(v,f)?1:Object.is(I(m,v),I(c,f))?-1:0}function Gke(m,v,c){let f,I,D=0,W=m.length-1,ie=void 0;if(Array.isArray(v)){let ne=v.length-1;for(;D<=W&&D<=ne;){let ye=m.at(D),Ie=v[D],qe=Zse(D,ye,D,Ie,c);if(qe!==0){qe<0&&m.updateValue(D,Ie),D++;continue}let Ke=m.at(W),Je=v[ne],Ct=Zse(W,Ke,ne,Je,c);if(Ct!==0){Ct<0&&m.updateValue(W,Je),W--,ne--;continue}let un=c(D,ye),qn=c(W,Ke),Fn=c(D,Ie);if(Object.is(Fn,qn)){let pn=c(ne,Je);Object.is(pn,un)?(m.swap(D,W),m.updateValue(W,Je),ne--,W--):m.move(W,D),m.updateValue(D,Ie),D++;continue}if(f??=new MO,I??=I3e(m,D,W,c),Cue(m,f,D,Fn))m.updateValue(D,Ie),D++,W++;else if(I.has(Fn))f.set(un,m.detach(D)),W--;else{let pn=m.create(D,v[D]);m.attach(D,pn),D++,W++}}for(;D<=ne;)_3e(m,f,c,D,v[D]),D++}else if(v!=null){let ne=v[Symbol.iterator](),ye=ne.next();for(;!ye.done&&D<=W;){let Ie=m.at(D),qe=ye.value,Ke=Zse(D,Ie,D,qe,c);if(Ke!==0)Ke<0&&m.updateValue(D,qe),D++,ye=ne.next();else{f??=new MO,I??=I3e(m,D,W,c);let Je=c(D,qe);if(Cue(m,f,D,Je))m.updateValue(D,qe),D++,W++,ye=ne.next();else if(!I.has(Je))m.attach(D,m.create(D,qe)),D++,W++,ye=ne.next();else{let Ct=c(D,Ie);f.set(Ct,m.detach(D)),W--}}}for(;!ye.done;)_3e(m,f,c,m.length,ye.value),ye=ne.next()}for(;D<=W;)m.destroy(m.detach(W--));f?.forEach(ne=>{m.destroy(ne)})}function Cue(m,v,c,f){return v!==void 0&&v.has(f)?(m.attach(c,v.get(f)),v.delete(f),!0):!1}function _3e(m,v,c,f,I){if(Cue(m,v,f,c(f,I)))m.updateValue(f,I);else{let D=m.create(f,I);m.attach(f,D)}}function I3e(m,v,c,f){let I=new Set;for(let D=v;D<=c;D++)I.add(f(D,m.at(D)));return I}var MO=class{kvMap=new Map;_vMap=void 0;has(v){return this.kvMap.has(v)}delete(v){if(!this.has(v))return!1;let c=this.kvMap.get(v);return this._vMap!==void 0&&this._vMap.has(c)?(this.kvMap.set(v,this._vMap.get(c)),this._vMap.delete(c)):this.kvMap.delete(v),!0}get(v){return this.kvMap.get(v)}set(v,c){if(this.kvMap.has(v)){let f=this.kvMap.get(v);this._vMap===void 0&&(this._vMap=new Map);let I=this._vMap;for(;I.has(f);)f=I.get(f);I.set(f,c)}else this.kvMap.set(v,c)}forEach(v){for(let[c,f]of this.kvMap)if(v(f,c),this._vMap!==void 0){let I=this._vMap;for(;I.has(f);)f=I.get(f),v(f,c)}}};function Ji(m,v,c,f,I,D,W,ie){sP("NgControlFlow");let ne=kl(),ye=_d(),Ie=aI(ye.consts,D);return CH(ne,ye,m,v,c,f,I,Ie,256,W,ie),QY}function QY(m,v,c,f,I,D,W,ie){sP("NgControlFlow");let ne=kl(),ye=_d(),Ie=aI(ye.consts,D);return CH(ne,ye,m,v,c,f,I,Ie,512,W,ie),QY}function Oi(m,v){sP("NgControlFlow");let c=kl(),f=VT(),I=c[f]!==ch?c[f]:-1,D=I!==-1?_O(c,zv+I):void 0,W=0;if(Dg(c,f,m)){let ie=_a(null);try{if(D!==void 0&&P_e(D,W),m!==-1){let ne=zv+m,ye=_O(c,ne),Ie=zue(c[Wa],ne),qe=F_e(ye,Ie,c),Ke=GY(c,Ie,v,{dehydratedView:qe});VY(ye,Ke,W,EH(Ie,qe))}}finally{_a(ie)}}else if(D!==void 0){let ie=N_e(D,W);ie!==void 0&&(ie[F1]=v)}}var Due=class{lContainer;$implicit;$index;constructor(v,c,f){this.lContainer=v,this.$implicit=c,this.$index=f}get $count(){return this.lContainer.length-uh}};function jc(m,v){return v}var Rue=class{hasEmptyBlock;trackByFn;liveCollection;constructor(v,c,f){this.hasEmptyBlock=v,this.trackByFn=c,this.liveCollection=f}};function $0(m,v,c,f,I,D,W,ie,ne,ye,Ie,qe,Ke){sP("NgControlFlow");let Je=kl(),Ct=_d(),un=ne!==void 0,qn=kl(),Fn=ie?W.bind(qn[S2][F1]):W,pn=new Rue(un,Fn);qn[zv+m]=pn,CH(Je,Ct,m+1,v,c,f,I,aI(Ct.consts,D),256),un&&CH(Je,Ct,m+2,ne,ye,Ie,qe,aI(Ct.consts,Ke),512)}var xue=class extends Sue{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(v,c,f){super(),this.lContainer=v,this.hostLView=c,this.templateTNode=f}get length(){return this.lContainer.length-uh}at(v){return this.getLView(v)[F1].$implicit}attach(v,c){let f=c[QN];this.needsIndexUpdate||=v!==this.length,VY(this.lContainer,c,v,EH(this.templateTNode,f))}detach(v){return this.needsIndexUpdate||=v!==this.length-1,Vke(this.lContainer,v)}create(v,c){let f=fO(this.lContainer,this.templateTNode.tView.ssrId),I=GY(this.hostLView,this.templateTNode,new Due(this.lContainer,c,v),{dehydratedView:f});return this.operationsCounter?.recordCreate(),I}destroy(v){DO(v[Wa],v),this.operationsCounter?.recordDestroy()}updateValue(v,c){this.getLView(v)[F1].$implicit=c}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let v=0;v<this.length;v++)this.getLView(v)[F1].$index=v}getLView(v){return Yke(this.lContainer,v)}};function Z0(m){let v=_a(null),c=sI();try{let f=kl(),I=f[Wa],D=f[c],W=c+1,ie=_O(f,W);if(D.liveCollection===void 0){let ye=zue(I,W);D.liveCollection=new xue(ie,f,ye)}else D.liveCollection.reset();let ne=D.liveCollection;if(Gke(ne,m,D.trackByFn),ne.updateIndexes(),D.hasEmptyBlock){let ye=VT(),Ie=ne.length===0;if(Dg(f,ye,Ie)){let qe=c+2,Ke=_O(f,qe);if(Ie){let Je=zue(I,qe),Ct=F_e(Ke,Je,f),un=GY(f,Je,void 0,{dehydratedView:Ct});VY(Ke,un,0,EH(Je,Ct))}else I.firstUpdatePass&&xFe(Ke),P_e(Ke,0)}}}finally{_a(v)}}function _O(m,v){return m[v]}function Vke(m,v){return PY(m,v)}function Yke(m,v){return N_e(m,v)}function zue(m,v){return wY(m,v)}function sn(m,v,c){let f=kl(),I=VT();if(Dg(f,I,v)){let D=_d(),W=EY();b_e(W,f,m,v,f[Md],c)}return sn}function Lue(m,v,c,f,I){Jue(v,m,c,I?"class":"style",f)}function Bt(m,v,c,f){let I=kl(),D=_d(),W=zv+m,ie=I[Md],ne=D.firstCreatePass?W_e(W,D,I,v,Zue,jJ(),c,f):D.data[W],ye=Xke(D,I,ne,ie,v,m);I[W]=ye;let Ie=IY(ne);return GD(ne,!0),v_e(ie,ye,ne),!CO(ne)&&CY()&&RO(D,I,ye,ne),(CMe()===0||Ie)&&NH(ye,I),DMe(),Ie&&(SO(D,I,ne),jue(D,ne,I)),f!==null&&$ue(I,ne),Bt}function qt(){let m=dh();GJ()?VJ():(m=m.parent,GD(m,!1));let v=m;xMe(v)&&zMe(),RMe();let c=_d();return c.firstCreatePass&&U_e(c,v),v.classesWithoutHost!=null&&S8e(v)&&Lue(c,v,kl(),v.classesWithoutHost,!0),v.stylesWithoutHost!=null&&C8e(v)&&Lue(c,v,kl(),v.stylesWithoutHost,!1),qt}function Xi(m,v,c,f){return Bt(m,v,c,f),qt(),Xi}var Xke=(m,v,c,f,I,D)=>(DY(!0),u_e(f,I,GMe()));function Qke(m,v,c,f,I){let D=v.consts,W=aI(D,f),ie=YY(v,m,8,"ng-container",W);W!==null&&bue(ie,W,!0);let ne=aI(D,I);return jJ()&&sde(v,c,ie,ne,Zue),ie.mergedAttrs=AH(ie.mergedAttrs,ie.attrs),v.queries!==null&&v.queries.elementStart(v,ie),ie}function fI(m,v,c){let f=kl(),I=_d(),D=m+zv,W=I.firstCreatePass?Qke(D,I,f,v,c):I.data[D];GD(W,!0);let ie=Kke(I,f,W,m);return f[D]=ie,CY()&&RO(I,f,ie,W),NH(ie,f),IY(W)&&(SO(I,f,W),jue(I,W,f)),c!=null&&$ue(f,W),fI}function hI(){let m=dh(),v=_d();return GJ()?VJ():(m=m.parent,GD(m,!1)),v.firstCreatePass&&(kue(v,m),kJ(m)&&v.queries.elementEnd(m)),hI}function ph(m,v,c){return fI(m,v,c),hI(),ph}var Kke=(m,v,c,f)=>(DY(!0),NBe(v[Md],""));function Do(){return kl()}function cP(m,v,c){let f=kl(),I=VT();if(Dg(f,I,v)){let D=_d(),W=EY();g_e(W,f,m,v,f[Md],c)}return cP}var iP=void 0;function $ke(m){let v=Math.floor(Math.abs(m)),c=m.toString().replace(/^[^.]*\.?/,"").length;return v===1&&c===0?1:5}var Zke=["en",[["a","p"],["AM","PM"],iP],[["AM","PM"],iP,iP],[["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"]],iP,[["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"]],iP,[["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}",iP,"{1} 'at' {0}",iP],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",$ke],Jse={};function Rg(m){let v=Jke(m),c=w3e(v);if(c)return c;let f=v.split("-")[0];if(c=w3e(f),c)return c;if(f==="en")return Zke;throw new Qr(701,!1)}function w3e(m){return m in Jse||(Jse[m]=iI.ng&&iI.ng.common&&iI.ng.common.locales&&iI.ng.common.locales[m]),Jse[m]}var q1=function(m){return m[m.LocaleId=0]="LocaleId",m[m.DayPeriodsFormat=1]="DayPeriodsFormat",m[m.DayPeriodsStandalone=2]="DayPeriodsStandalone",m[m.DaysFormat=3]="DaysFormat",m[m.DaysStandalone=4]="DaysStandalone",m[m.MonthsFormat=5]="MonthsFormat",m[m.MonthsStandalone=6]="MonthsStandalone",m[m.Eras=7]="Eras",m[m.FirstDayOfWeek=8]="FirstDayOfWeek",m[m.WeekendRange=9]="WeekendRange",m[m.DateFormat=10]="DateFormat",m[m.TimeFormat=11]="TimeFormat",m[m.DateTimeFormat=12]="DateTimeFormat",m[m.NumberSymbols=13]="NumberSymbols",m[m.NumberFormats=14]="NumberFormats",m[m.CurrencyCode=15]="CurrencyCode",m[m.CurrencySymbol=16]="CurrencySymbol",m[m.CurrencyName=17]="CurrencyName",m[m.Currencies=18]="Currencies",m[m.Directionality=19]="Directionality",m[m.PluralCase=20]="PluralCase",m[m.ExtraData=21]="ExtraData",m}(q1||{});function Jke(m){return m.toLowerCase().replace(/_/g,"-")}var KY="en-US";var Oke=KY;function uIe(m){typeof m=="string"&&(Oke=m.toLowerCase().replace(/_/g,"-"))}function ti(m,v,c){let f=kl(),I=_d(),D=dh();return dIe(I,f,f[Md],D,m,v,c),ti}function dIe(m,v,c,f,I,D,W){let ie=!0,ne=null;if((f.type&3||W)&&(ne??=Qse(f,v,D),XFe(f,m,v,W,c,I,D,ne)&&(ie=!1)),ie){let ye=f.outputs?.[I],Ie=f.hostDirectiveOutputs?.[I];if(Ie&&Ie.length)for(let qe=0;qe<Ie.length;qe+=2){let Ke=Ie[qe],Je=Ie[qe+1];ne??=Qse(f,v,D),p3e(f,v,Ke,Je,I,ne)}if(ye&&ye.length)for(let qe of ye)ne??=Qse(f,v,D),p3e(f,v,qe,I,I,ne)}}function Pt(m=1){return jMe(m)}function e9e(m,v){let c=null,f=TBe(m);for(let I=0;I<v.length;I++){let D=v[I];if(D==="*"){c=I;continue}if(f===null?s_e(m,D,!0):CBe(f,D))return I}return c}function Ls(m){let v=kl()[S2][Rb];if(!v.projection){let c=m?m.length:1,f=v.projection=fMe(c,null),I=f.slice(),D=v.child;for(;D!==null;){if(D.type!==128){let W=m?e9e(D,m):0;W!==null&&(I[W]?I[W].projectionNext=D:f[W]=D,I[W]=D)}D=D.next}}}function o0(m,v=0,c,f,I,D){let W=kl(),ie=_d(),ne=f?m+1:null;ne!==null&&CH(W,ie,ne,f,I,D,null,c);let ye=YY(ie,zv+m,16,null,c||null);ye.projection===null&&(ye.projection=v),VJ();let qe=!W[QN]||Lse();W[S2][Rb].projection[ye.projection]===null&&ne!==null?t9e(W,ie,ne):qe&&!CO(ye)&&cFe(ie,W,ye)}function t9e(m,v,c){let f=zv+c,I=v.data[f],D=m[f],W=fO(D,I.tView.ssrId),ie=GY(m,I,void 0,{dehydratedView:W});VY(D,ie,0,EH(I,W))}function Ov(m,v,c,f){mke(m,v,c,f)}function ha(m,v,c){hke(m,v,c)}function dl(m){let v=kl(),c=_d(),f=kse();XJ(f+1);let I=dde(c,f);if(m.dirty&&wMe(v)===((I.metadata.flags&2)===2)){if(I.matches===null)m.reset([]);else{let D=yke(v,f);m.reset(D,W8e),m.notifyOnChanges()}return!0}return!1}function cl(){return fke(kl(),kse())}function Cu(m){let v=NMe();return HJ(v,zv+m)}function nO(m,v){return m<<17|v<<2}function lP(m){return m>>17&32767}function n9e(m){return(m&2)==2}function i9e(m,v){return m&131071|v<<17}function Nue(m){return m|2}function DH(m){return(m&131068)>>2}function Ose(m,v){return m&-131069|v<<2}function o9e(m){return(m&1)===1}function Pue(m){return m|1}function r9e(m,v,c,f,I,D){let W=D?v.classBindings:v.styleBindings,ie=lP(W),ne=DH(W);m[f]=c;let ye=!1,Ie;if(Array.isArray(c)){let qe=c;Ie=qe[1],(Ie===null||vH(qe,Ie)>0)&&(ye=!0)}else Ie=c;if(I)if(ne!==0){let Ke=lP(m[ie+1]);m[f+1]=nO(Ke,ie),Ke!==0&&(m[Ke+1]=Ose(m[Ke+1],f)),m[ie+1]=i9e(m[ie+1],f)}else m[f+1]=nO(ie,0),ie!==0&&(m[ie+1]=Ose(m[ie+1],f)),ie=f;else m[f+1]=nO(ne,0),ie===0?ie=f:m[ne+1]=Ose(m[ne+1],f),ne=f;ye&&(m[f+1]=Nue(m[f+1])),A3e(m,Ie,f,!0),A3e(m,Ie,f,!1),l9e(v,Ie,m,f,D),W=nO(ie,ne),D?v.classBindings=W:v.styleBindings=W}function l9e(m,v,c,f,I){let D=I?m.residualClasses:m.residualStyles;D!=null&&typeof v=="string"&&vH(D,v)>=0&&(c[f+1]=Pue(c[f+1]))}function A3e(m,v,c,f){let I=m[c+1],D=v===null,W=f?lP(I):DH(I),ie=!1;for(;W!==0&&(ie===!1||D);){let ne=m[W],ye=m[W+1];a9e(ne,v)&&(ie=!0,m[W+1]=f?Pue(ye):Nue(ye)),W=f?lP(ye):DH(ye)}ie&&(m[c+1]=f?Nue(I):Pue(I))}function a9e(m,v){return m===null||v==null||(Array.isArray(m)?m[1]:m)===v?!0:Array.isArray(m)&&typeof v=="string"?vH(m,v)>=0:!1}var cI={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s9e(m){return m.substring(cI.key,cI.keyEnd)}function u9e(m){return d9e(m),cIe(m,vIe(m,0,cI.textEnd))}function cIe(m,v){let c=cI.textEnd;return c===v?-1:(v=cI.keyEnd=c9e(m,cI.key=v,c),vIe(m,v,c))}function d9e(m){cI.key=0,cI.keyEnd=0,cI.value=0,cI.valueEnd=0,cI.textEnd=m.length}function vIe(m,v,c){for(;v<c&&m.charCodeAt(v)<=32;)v++;return v}function c9e(m,v,c){for(;v<c&&m.charCodeAt(v)>32;)v++;return v}function Id(m,v,c){return pIe(m,v,c,!1),Id}function Tr(m,v){return pIe(m,v,null,!0),Tr}function ep(m){p9e(y9e,v9e,m,!0)}function v9e(m,v){for(let c=u9e(v);c>=0;c=cIe(v,c))NJ(m,s9e(v),!0)}function pIe(m,v,c,f){let I=kl(),D=_d(),W=TY(2);if(D.firstUpdatePass&&hIe(D,m,W,f),v!==ch&&Dg(I,W,v)){let ie=D.data[sI()];mIe(D,ie,I,I[Md],m,I[W+1]=_9e(v,c),f,W)}}function p9e(m,v,c,f){let I=_d(),D=TY(2);I.firstUpdatePass&&hIe(I,null,D,f);let W=kl();if(c!==ch&&Dg(W,D,c)){let ie=I.data[sI()];if(bIe(ie,f)&&!fIe(I,D)){let ne=f?ie.classesWithoutHost:ie.stylesWithoutHost;ne!==null&&(c=DJ(ne,c||"")),Lue(I,ie,W,c,f)}else M9e(I,ie,W,W[Md],W[D+1],W[D+1]=g9e(m,v,c),f,D)}}function fIe(m,v){return v>=m.expandoStartIndex}function hIe(m,v,c,f){let I=m.data;if(I[c+1]===null){let D=I[sI()],W=fIe(m,c);bIe(D,f)&&v===null&&!W&&(v=!1),v=f9e(I,D,v,f),r9e(I,D,v,c,W,f)}}function f9e(m,v,c,f){let I=HMe(m),D=f?v.residualClasses:v.residualStyles;if(I===null)(f?v.classBindings:v.styleBindings)===0&&(c=eue(null,m,v,c,f),c=kY(c,v.attrs,f),D=null);else{let W=v.directiveStylingLast;if(W===-1||m[W]!==I)if(c=eue(I,m,v,c,f),D===null){let ne=h9e(m,v,f);ne!==void 0&&Array.isArray(ne)&&(ne=eue(null,m,v,ne[1],f),ne=kY(ne,v.attrs,f),m9e(m,v,f,ne))}else D=b9e(m,v,f)}return D!==void 0&&(f?v.residualClasses=D:v.residualStyles=D),c}function h9e(m,v,c){let f=c?v.classBindings:v.styleBindings;if(DH(f)!==0)return m[lP(f)]}function m9e(m,v,c,f){let I=c?v.classBindings:v.styleBindings;m[lP(I)]=f}function b9e(m,v,c){let f,I=v.directiveEnd;for(let D=1+v.directiveStylingLast;D<I;D++){let W=m[D].hostAttrs;f=kY(f,W,c)}return kY(f,v.attrs,c)}function eue(m,v,c,f,I){let D=null,W=c.directiveEnd,ie=c.directiveStylingLast;for(ie===-1?ie=c.directiveStart:ie++;ie<W&&(D=v[ie],f=kY(f,D.hostAttrs,I),D!==m);)ie++;return m!==null&&(c.directiveStylingLast=ie),f}function kY(m,v,c){let f=c?1:2,I=-1;if(v!==null)for(let D=0;D<v.length;D++){let W=v[D];typeof W=="number"?I=W:I===f&&(Array.isArray(m)||(m=m===void 0?[]:["",m]),NJ(m,W,c?!0:v[++D]))}return m===void 0?null:m}function g9e(m,v,c){if(c==null||c==="")return Db;let f=[],I=WY(c);if(Array.isArray(I))for(let D=0;D<I.length;D++)m(f,I[D],!0);else if(typeof I=="object")for(let D in I)I.hasOwnProperty(D)&&m(f,D,I[D]);else typeof I=="string"&&v(f,I);return f}function y9e(m,v,c){let f=String(v);f!==""&&!f.includes(" ")&&NJ(m,f,c)}function M9e(m,v,c,f,I,D,W,ie){I===ch&&(I=Db);let ne=0,ye=0,Ie=0<I.length?I[0]:null,qe=0<D.length?D[0]:null;for(;Ie!==null||qe!==null;){let Ke=ne<I.length?I[ne+1]:void 0,Je=ye<D.length?D[ye+1]:void 0,Ct=null,un;Ie===qe?(ne+=2,ye+=2,Ke!==Je&&(Ct=qe,un=Je)):qe===null||Ie!==null&&Ie<qe?(ne+=2,Ct=Ie):(ye+=2,Ct=qe,un=Je),Ct!==null&&mIe(m,v,c,f,Ct,un,W,ie),Ie=ne<I.length?I[ne]:null,qe=ye<D.length?D[ye]:null}}function mIe(m,v,c,f,I,D,W,ie){if(!(v.type&3))return;let ne=m.data,ye=ne[ie+1],Ie=o9e(ye)?T3e(ne,v,c,I,DH(ye),W):void 0;if(!IO(Ie)){IO(D)||n9e(ye)&&(D=T3e(ne,null,c,I,ie,W));let qe=Sse(sI(),c);pFe(f,W,qe,I,D)}}function T3e(m,v,c,f,I,D){let W=v===null,ie;for(;I>0;){let ne=m[I],ye=Array.isArray(ne),Ie=ye?ne[1]:ne,qe=Ie===null,Ke=c[I+1];Ke===ch&&(Ke=qe?Db:void 0);let Je=qe?PJ(Ke,f):Ie===f?Ke:void 0;if(ye&&!IO(Je)&&(Je=PJ(ne,f)),IO(Je)&&(ie=Je,W))return ie;let Ct=m[I+1];I=W?lP(Ct):DH(Ct)}if(v!==null){let ne=D?v.residualClasses:v.residualStyles;ne!=null&&(ie=PJ(ne,f))}return ie}function IO(m){return m!==void 0}function _9e(m,v){return m==null||m===""||(typeof v=="string"?m=m+v:typeof m=="object"&&(m=_y(WY(m)))),m}function bIe(m,v){return(m.flags&(v?8:16))!==0}function Wi(m,v=""){let c=kl(),f=_d(),I=m+zv,D=f.firstCreatePass?YY(f,I,1,v,null):f.data[I],W=I9e(f,c,D,v,m);c[I]=W,CY()&&RO(f,c,W,D),GD(D,!1)}var I9e=(m,v,c,f,I)=>(DY(!0),zBe(v[Md],f));function gIe(m,v,c,f=""){return Dg(m,VT(),c)?v+T3(c)+f:ch}function yIe(m,v,c,f,I,D=""){let W=Fse(),ie=BY(m,W,c,I);return TY(2),ie?v+T3(c)+f+T3(I)+D:ch}function w9e(m,v,c,f,I,D,W,ie=""){let ne=Fse(),ye=G_e(m,ne,c,I,W);return TY(3),ye?v+T3(c)+f+T3(I)+D+T3(W)+ie:ch}function Vl(m){return ir("",m),Vl}function ir(m,v,c){let f=kl(),I=gIe(f,m,v,c);return I!==ch&&mde(f,sI(),I),ir}function mI(m,v,c,f,I){let D=kl(),W=yIe(D,m,v,c,f,I);return W!==ch&&mde(D,sI(),W),mI}function kO(m,v,c,f,I,D,W){let ie=kl(),ne=w9e(ie,m,v,c,f,I,D,W);return ne!==ch&&mde(ie,sI(),ne),kO}function mde(m,v,c){let f=Sse(v,m);LBe(m[Md],f,c)}function tp(m,v,c){Use(v)&&(v=v());let f=kl(),I=VT();if(Dg(f,I,v)){let D=_d(),W=EY();b_e(W,f,m,v,f[Md],c)}return tp}function Fp(m,v){let c=Use(m);return c&&m.set(v),c}function np(m,v){let c=kl(),f=_d(),I=dh();return dIe(f,c,c[Md],I,m,v),np}function wl(m){return Dg(kl(),VT(),m)?T3(m):ch}function bA(m,v,c=""){return gIe(kl(),m,v,c)}function bde(m,v,c,f,I=""){return yIe(kl(),m,v,c,f,I)}function A9e(m,v,c){let f=_d();if(f.firstCreatePass){let I=fA(m);Bue(c,f.data,f.blueprint,I,!0),Bue(v,f.data,f.blueprint,I,!1)}}function Bue(m,v,c,f,I){if(m=Hh(m),Array.isArray(m))for(let D=0;D<m.length;D++)Bue(m[D],v,c,f,I);else{let D=_d(),W=kl(),ie=dh(),ne=GN(m)?m:Hh(m.provide),ye=Ise(m),Ie=ie.providerIndexes&1048575,qe=ie.directiveStart,Ke=ie.providerIndexes>>20;if(GN(m)||!m.multi){let Je=new rP(ye,I,Cr),Ct=nue(ne,v,I?Ie:Ie+Ke,qe);Ct===-1?(oue(cO(ie,W),D,ne),tue(D,m,v.length),v.push(ne),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),c.push(Je),W.push(Je)):(c[Ct]=Je,W[Ct]=Je)}else{let Je=nue(ne,v,Ie+Ke,qe),Ct=nue(ne,v,Ie,Ie+Ke),un=Je>=0&&c[Je],qn=Ct>=0&&c[Ct];if(I&&!qn||!I&&!un){oue(cO(ie,W),D,ne);let Fn=S9e(I?E9e:T9e,c.length,I,f,ye);!I&&qn&&(c[Ct].providerFactory=Fn),tue(D,m,v.length,0),v.push(ne),ie.directiveStart++,ie.directiveEnd++,I&&(ie.providerIndexes+=1048576),c.push(Fn),W.push(Fn)}else{let Fn=MIe(c[I?Ct:Je],ye,!I&&f);tue(D,m,Je>-1?Je:Ct,Fn)}!I&&f&&qn&&c[Ct].componentProviders++}}}function tue(m,v,c,f){let I=GN(v),D=yMe(v);if(I||D){let ne=(D?Hh(v.useClass):v).prototype.ngOnDestroy;if(ne){let ye=m.destroyHooks||(m.destroyHooks=[]);if(!I&&v.multi){let Ie=ye.indexOf(c);Ie===-1?ye.push(c,[f,ne]):ye[Ie+1].push(f,ne)}else ye.push(c,ne)}}}function MIe(m,v,c){return c&&m.componentProviders++,m.multi.push(v)-1}function nue(m,v,c,f){for(let I=c;I<f;I++)if(v[I]===m)return I;return-1}function T9e(m,v,c,f){return Fue(this.multi,[])}function E9e(m,v,c,f){let I=this.multi,D;if(this.providerFactory){let W=this.providerFactory.componentProviders,ie=LY(c,c[Wa],this.providerFactory.index,f);D=ie.slice(0,W),Fue(I,D);for(let ne=W;ne<ie.length;ne++)D.push(ie[ne])}else D=[],Fue(I,D);return D}function Fue(m,v){for(let c=0;c<m.length;c++){let f=m[c];v.push(f())}return v}function S9e(m,v,c,f,I){let D=new rP(m,c,Cr);return D.multi=[],D.index=v,D.componentProviders=0,MIe(D,I,f&&!c),D}function vl(m,v=[]){return c=>{c.providersResolver=(f,I)=>A9e(f,I?I(m):m,v)}}function vP(m,v,c){let f=VD()+m,I=kl();return I[f]===ch?XY(I,f,c?v.call(c):v()):VFe(I,f)}function W1(m,v,c,f){return _Ie(kl(),VD(),m,v,c,f)}function kp(m,v,c,f,I){return C9e(kl(),VD(),m,v,c,f,I)}function fh(m,v,c,f,I,D){return IIe(kl(),VD(),m,v,c,f,I,D)}function $Y(m,v,c,f,I,D,W){return D9e(kl(),VD(),m,v,c,f,I,D,W)}function HO(m,v){let c=m[v];return c===ch?void 0:c}function _Ie(m,v,c,f,I,D){let W=v+c;return Dg(m,W,I)?XY(m,W+1,D?f.call(D,I):f(I)):HO(m,W+1)}function C9e(m,v,c,f,I,D,W){let ie=v+c;return BY(m,ie,I,D)?XY(m,ie+2,W?f.call(W,I,D):f(I,D)):HO(m,ie+2)}function IIe(m,v,c,f,I,D,W,ie){let ne=v+c;return G_e(m,ne,I,D,W)?XY(m,ne+3,ie?f.call(ie,I,D,W):f(I,D,W)):HO(m,ne+3)}function D9e(m,v,c,f,I,D,W,ie,ne){let ye=v+c;return YFe(m,ye,I,D,W,ie)?XY(m,ye+4,ne?f.call(ne,I,D,W,ie):f(I,D,W,ie)):HO(m,ye+4)}function Xo(m,v){let c=_d(),f,I=m+zv;c.firstCreatePass?(f=R9e(v,c.pipeRegistry),c.data[I]=f,f.onDestroy&&(c.destroyHooks??=[]).push(I,f.onDestroy)):f=c.data[I];let D=f.factory||(f.factory=BD(f.type,!0)),W,ie=Cb(Cr);try{let ne=dO(!1),ye=D();return dO(ne),Cse(c,kl(),I,ye),ye}finally{Cb(ie)}}function R9e(m,v){if(v)for(let c=v.length-1;c>=0;c--){let f=v[c];if(m===f.name)return f}}function Zo(m,v,c){let f=m+zv,I=kl(),D=HJ(I,f);return wIe(I,f)?_Ie(I,VD(),v,D.transform,c,D):D.transform(c)}function qO(m,v,c,f,I){let D=m+zv,W=kl(),ie=HJ(W,D);return wIe(W,D)?IIe(W,VD(),v,ie.transform,c,f,I,ie):ie.transform(c,f,I)}function wIe(m,v){return m[Wa].data[v].pure}function zb(m,v){return zO(m,v)}var x9e=(()=>{class m{zone=Qt(sa);changeDetectionScheduler=Qt(wy);applicationRef=Qt(Ty);applicationErrorHandler=Qt(uI);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(c){this.applicationErrorHandler(c)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function AIe({ngZoneFactory:m,ignoreChangesOutsideZone:v,scheduleInRootZone:c}){return m??=()=>new sa(Ya(rl({},TIe()),{scheduleInRootZone:c})),[{provide:sa,useFactory:m},{provide:XN,multi:!0,useFactory:()=>{let f=Qt(x9e,{optional:!0});return()=>f.initialize()}},{provide:XN,multi:!0,useFactory:()=>{let f=Qt(z9e);return()=>{f.initialize()}}},v===!0?{provide:jse,useValue:!0}:[],{provide:Gse,useValue:c??eIe},{provide:uI,useFactory:()=>{let f=Qt(sa),I=Qt(B1),D;return W=>{f.runOutsideAngular(()=>{I.destroyed&&!D?setTimeout(()=>{throw W}):(D??=I.get(Iy),D.handleError(W))})}}}]}function TIe(m){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:m?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:m?.runCoalescing??!1}}var z9e=(()=>{class m{subscription=new t0;initialized=!1;zone=Qt(sa);pendingTasks=Qt(tP);initialize(){if(this.initialized)return;this.initialized=!0;let c=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(c=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{sa.assertNotInAngularZone(),queueMicrotask(()=>{c!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(c),c=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{sa.assertInAngularZone(),c??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();var EIe=(()=>{class m{applicationErrorHandler=Qt(uI);appRef=Qt(Ty);taskService=Qt(tP);ngZone=Qt(sa);zonelessEnabled=Qt(ZJ);tracing=Qt(uP,{optional:!0});disableScheduling=Qt(jse,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new t0;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bO):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Qt(Gse,{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 gO||!this.zoneIsDefined)}notify(c){if(!this.zonelessEnabled&&c===5)return;let f=!1;switch(c){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 I=this.useMicrotaskScheduler?g3e:tIe;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>I(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>I(()=>this.tick()))}shouldScheduleTick(c){return!(this.disableScheduling&&!c||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bO+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 c=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(f){this.taskService.remove(c),this.applicationErrorHandler(f)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,g3e(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(c)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let c=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(c)}}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function L9e(){return typeof $localize<"u"&&$localize.locale||KY}var $D=new Go("",{providedIn:"root",factory:()=>Qt($D,{optional:!0,skipSelf:!0})||L9e()});var WO=class{destroyed=!1;listeners=null;errorHandler=Qt(Iy,{optional:!0});destroyRef=Qt(xb);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(v){if(this.destroyed)throw new Qr(953,!1);return(this.listeners??=[]).push(v),{unsubscribe:()=>{let c=this.listeners?.indexOf(v);c!==void 0&&c!==-1&&this.listeners?.splice(c,1)}}}emit(v){if(this.destroyed){console.warn(cH(953,!1));return}if(this.listeners===null)return;let c=_a(null);try{for(let f of this.listeners)try{f(v)}catch(I){this.errorHandler?.handleError(I)}}finally{_a(c)}}};function Ey(m){return oMe(m)}function ip(m,v){return GZ(m,v?.equal)}var gde=class{[kh];constructor(v){this[kh]=v}destroy(){this[kh].destroy()}};function pP(m,v){let c=v?.injector??Qt(Ms),f=v?.manualCleanup!==!0?c.get(xb):null,I,D=c.get(MH,null,{optional:!0}),W=c.get(wy);return D!==null?(I=B9e(D.view,W,m),f instanceof mY&&f._lView===D.view&&(f=null)):I=F9e(m,c.get(RY),W),I.injector=c,f!==null&&(I.onDestroyFn=f.onDestroy(()=>I.destroy())),new gde(I)}var SIe=Ya(rl({},CD),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:nP,run(){if(this.dirty=!1,this.hasRun&&!Z9(this))return;this.hasRun=!0;let m=f=>(this.cleanupFns??=[]).push(f),v=DD(this),c=yH(!1);try{this.maybeCleanup(),this.fn(m)}finally{yH(c),LN(this,v)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let m=_a(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],_a(m)}}}),N9e=Ya(rl({},SIe),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){J9(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),P9e=Ya(rl({},SIe),{consumerMarkedDirty(){this.view[Sa]|=8192,jD(this.view),this.notifier.notify(13)},destroy(){J9(this),this.onDestroyFn(),this.maybeCleanup(),this.view[GT]?.delete(this)}});function B9e(m,v,c){let f=Object.create(P9e);return f.view=m,f.zone=typeof Zone<"u"?Zone.current:null,f.notifier=v,f.fn=c,m[GT]??=new Set,m[GT].add(f),f.consumerMarkedDirty(f),f}function F9e(m,v,c){let f=Object.create(N9e);return f.fn=m,f.scheduler=v,f.notifier=c,f.zone=typeof Zone<"u"?Zone.current:null,f.scheduler.add(f),f.notifier.notify(12),f}var GO=Symbol("InputSignalNode#UNSET"),NIe=Ya(rl({},VZ),{transformFn:void 0,applyValueToInputSignal(m,v){NN(m,v)}});function PIe(m,v){let c=Object.create(NIe);c.value=m,c.transformFn=v?.transform;function f(){if(zN(c),c.value===GO){let I=null;throw new Qr(-950,I)}return c.value}return f[kh]=c,f}var JY=class{attributeName;constructor(v){this.attributeName=v}__NG_ELEMENT_ID__=()=>zH(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Z9e=new Go("");Z9e.__NG_ELEMENT_ID__=m=>{let v=dh();if(v===null)throw new Qr(204,!1);if(v.type&2)return v.value;if(m&8)return null;throw new Qr(204,!1)};function CIe(m,v){return PIe(m,v)}function J9e(m){return PIe(GO,m)}var au=(CIe.required=J9e,CIe);function BIe(m,v){let c=Object.create(NIe),f=new WO;c.value=m;function I(){return zN(c),DIe(c.value),c.value}return I[kh]=c,I.asReadonly=$J.bind(I),I.set=D=>{c.equal(c.value,D)||(NN(c,D),f.emit(D))},I.update=D=>{DIe(c.value),I.set(D(c.value))},I.subscribe=f.subscribe.bind(f),I.destroyRef=f.destroyRef,I}function DIe(m){if(m===GO)throw new Qr(952,!1)}function RIe(m,v){return BIe(m,v)}function O9e(m){return BIe(GO,m)}var ZD=(RIe.required=O9e,RIe);var yde=new Go(""),eHe=new Go("");function ZY(m){return!m.moduleRef}function tHe(m){let v=ZY(m)?m.r3Injector:m.moduleRef.injector,c=v.get(sa);return c.run(()=>{ZY(m)?m.r3Injector.resolveInjectorInitializers():m.moduleRef.resolveInjectorInitializers();let f=v.get(uI),I;if(c.runOutsideAngular(()=>{I=c.onError.subscribe({next:f})}),ZY(m)){let D=()=>v.destroy(),W=m.platformInjector.get(yde);W.add(D),v.onDestroy(()=>{I.unsubscribe(),W.delete(D)})}else{let D=()=>m.moduleRef.destroy(),W=m.platformInjector.get(yde);W.add(D),m.moduleRef.onDestroy(()=>{zY(m.allPlatformModules,m.moduleRef),I.unsubscribe(),W.delete(D)})}return iHe(f,c,()=>{let D=v.get(hde);return D.runInitializers(),D.donePromise.then(()=>{let W=v.get($D,KY);if(uIe(W||KY),!v.get(eHe,!0))return ZY(m)?v.get(Ty):(m.allPlatformModules.push(m.moduleRef),m.moduleRef);if(ZY(m)){let ne=v.get(Ty);return m.rootComponent!==void 0&&ne.bootstrap(m.rootComponent),ne}else return nHe?.(m.moduleRef,m.allPlatformModules),m.moduleRef})})})}var nHe;function iHe(m,v,c){try{let f=c();return dP(f)?f.catch(I=>{throw v.runOutsideAngular(()=>m(I)),I}):f}catch(f){throw v.runOutsideAngular(()=>m(f)),f}}var UO=null;function oHe(m=[],v){return Ms.create({name:v,providers:[{provide:yY,useValue:"platform"},{provide:yde,useValue:new Set([()=>UO=null])},...m]})}function rHe(m=[]){if(UO)return UO;let v=oHe(m);return UO=v,aIe(),lHe(v),v}function lHe(m){let v=m.get(wO,null);fH(m,()=>{v?.forEach(c=>c())})}var Js=(()=>{class m{static __NG_ELEMENT_ID__=aHe}return m})();function aHe(m){return sHe(dh(),kl(),(m&16)===16)}function sHe(m,v,c){if(UD(m)&&!c){let f=C3(m.index,v);return new XD(f,f)}else if(m.type&175){let f=v[S2];return new XD(f,v)}return null}var Mde=class{constructor(){}supports(v){return ude(v)}create(v){return new _de(v)}},uHe=(m,v)=>v,_de=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(v){this._trackByFn=v||uHe}forEachItem(v){let c;for(c=this._itHead;c!==null;c=c._next)v(c)}forEachOperation(v){let c=this._itHead,f=this._removalsHead,I=0,D=null;for(;c||f;){let W=!f||c&&c.currentIndex<xIe(f,I,D)?c:f,ie=xIe(W,I,D),ne=W.currentIndex;if(W===f)I--,f=f._nextRemoved;else if(c=c._next,W.previousIndex==null)I++;else{D||(D=[]);let ye=ie-I,Ie=ne-I;if(ye!=Ie){for(let Ke=0;Ke<ye;Ke++){let Je=Ke<D.length?D[Ke]:D[Ke]=0,Ct=Je+Ke;Ie<=Ct&&Ct<ye&&(D[Ke]=Je+1)}let qe=W.previousIndex;D[qe]=Ie-ye}}ie!==ne&&v(W,ie,ne)}}forEachPreviousItem(v){let c;for(c=this._previousItHead;c!==null;c=c._nextPrevious)v(c)}forEachAddedItem(v){let c;for(c=this._additionsHead;c!==null;c=c._nextAdded)v(c)}forEachMovedItem(v){let c;for(c=this._movesHead;c!==null;c=c._nextMoved)v(c)}forEachRemovedItem(v){let c;for(c=this._removalsHead;c!==null;c=c._nextRemoved)v(c)}forEachIdentityChange(v){let c;for(c=this._identityChangesHead;c!==null;c=c._nextIdentityChange)v(c)}diff(v){if(v==null&&(v=[]),!ude(v))throw new Qr(900,!1);return this.check(v)?this:null}onDestroy(){}check(v){this._reset();let c=this._itHead,f=!1,I,D,W;if(Array.isArray(v)){this.length=v.length;for(let ie=0;ie<this.length;ie++)D=v[ie],W=this._trackByFn(ie,D),c===null||!Object.is(c.trackById,W)?(c=this._mismatch(c,D,W,ie),f=!0):(f&&(c=this._verifyReinsertion(c,D,W,ie)),Object.is(c.item,D)||this._addIdentityChange(c,D)),c=c._next}else I=0,j_e(v,ie=>{W=this._trackByFn(I,ie),c===null||!Object.is(c.trackById,W)?(c=this._mismatch(c,ie,W,I),f=!0):(f&&(c=this._verifyReinsertion(c,ie,W,I)),Object.is(c.item,ie)||this._addIdentityChange(c,ie)),c=c._next,I++}),this.length=I;return this._truncate(c),this.collection=v,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let v;for(v=this._previousItHead=this._itHead;v!==null;v=v._next)v._nextPrevious=v._next;for(v=this._additionsHead;v!==null;v=v._nextAdded)v.previousIndex=v.currentIndex;for(this._additionsHead=this._additionsTail=null,v=this._movesHead;v!==null;v=v._nextMoved)v.previousIndex=v.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(v,c,f,I){let D;return v===null?D=this._itTail:(D=v._prev,this._remove(v)),v=this._unlinkedRecords===null?null:this._unlinkedRecords.get(f,null),v!==null?(Object.is(v.item,c)||this._addIdentityChange(v,c),this._reinsertAfter(v,D,I)):(v=this._linkedRecords===null?null:this._linkedRecords.get(f,I),v!==null?(Object.is(v.item,c)||this._addIdentityChange(v,c),this._moveAfter(v,D,I)):v=this._addAfter(new Ide(c,f),D,I)),v}_verifyReinsertion(v,c,f,I){let D=this._unlinkedRecords===null?null:this._unlinkedRecords.get(f,null);return D!==null?v=this._reinsertAfter(D,v._prev,I):v.currentIndex!=I&&(v.currentIndex=I,this._addToMoves(v,I)),v}_truncate(v){for(;v!==null;){let c=v._next;this._addToRemovals(this._unlink(v)),v=c}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(v,c,f){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(v);let I=v._prevRemoved,D=v._nextRemoved;return I===null?this._removalsHead=D:I._nextRemoved=D,D===null?this._removalsTail=I:D._prevRemoved=I,this._insertAfter(v,c,f),this._addToMoves(v,f),v}_moveAfter(v,c,f){return this._unlink(v),this._insertAfter(v,c,f),this._addToMoves(v,f),v}_addAfter(v,c,f){return this._insertAfter(v,c,f),this._additionsTail===null?this._additionsTail=this._additionsHead=v:this._additionsTail=this._additionsTail._nextAdded=v,v}_insertAfter(v,c,f){let I=c===null?this._itHead:c._next;return v._next=I,v._prev=c,I===null?this._itTail=v:I._prev=v,c===null?this._itHead=v:c._next=v,this._linkedRecords===null&&(this._linkedRecords=new jO),this._linkedRecords.put(v),v.currentIndex=f,v}_remove(v){return this._addToRemovals(this._unlink(v))}_unlink(v){this._linkedRecords!==null&&this._linkedRecords.remove(v);let c=v._prev,f=v._next;return c===null?this._itHead=f:c._next=f,f===null?this._itTail=c:f._prev=c,v}_addToMoves(v,c){return v.previousIndex===c||(this._movesTail===null?this._movesTail=this._movesHead=v:this._movesTail=this._movesTail._nextMoved=v),v}_addToRemovals(v){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jO),this._unlinkedRecords.put(v),v.currentIndex=null,v._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=v,v._prevRemoved=null):(v._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=v),v}_addIdentityChange(v,c){return v.item=c,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=v:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=v,v}},Ide=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(v,c){this.item=v,this.trackById=c}},wde=class{_head=null;_tail=null;add(v){this._head===null?(this._head=this._tail=v,v._nextDup=null,v._prevDup=null):(this._tail._nextDup=v,v._prevDup=this._tail,v._nextDup=null,this._tail=v)}get(v,c){let f;for(f=this._head;f!==null;f=f._nextDup)if((c===null||c<=f.currentIndex)&&Object.is(f.trackById,v))return f;return null}remove(v){let c=v._prevDup,f=v._nextDup;return c===null?this._head=f:c._nextDup=f,f===null?this._tail=c:f._prevDup=c,this._head===null}},jO=class{map=new Map;put(v){let c=v.trackById,f=this.map.get(c);f||(f=new wde,this.map.set(c,f)),f.add(v)}get(v,c){let f=v,I=this.map.get(f);return I?I.get(v,c):null}remove(v){let c=v.trackById;return this.map.get(c).remove(v)&&this.map.delete(c),v}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function xIe(m,v,c){let f=m.previousIndex;if(f===null)return f;let I=0;return c&&f<c.length&&(I=c[f]),f+v+I}var Ade=class{constructor(){}supports(v){return v instanceof Map||NO(v)}create(){return new Tde}},Tde=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(v){let c;for(c=this._mapHead;c!==null;c=c._next)v(c)}forEachPreviousItem(v){let c;for(c=this._previousMapHead;c!==null;c=c._nextPrevious)v(c)}forEachChangedItem(v){let c;for(c=this._changesHead;c!==null;c=c._nextChanged)v(c)}forEachAddedItem(v){let c;for(c=this._additionsHead;c!==null;c=c._nextAdded)v(c)}forEachRemovedItem(v){let c;for(c=this._removalsHead;c!==null;c=c._nextRemoved)v(c)}diff(v){if(!v)v=new Map;else if(!(v instanceof Map||NO(v)))throw new Qr(900,!1);return this.check(v)?this:null}onDestroy(){}check(v){this._reset();let c=this._mapHead;if(this._appendAfter=null,this._forEach(v,(f,I)=>{if(c&&c.key===I)this._maybeAddToChanges(c,f),this._appendAfter=c,c=c._next;else{let D=this._getOrCreateRecordForKey(I,f);c=this._insertBeforeOrAppend(c,D)}}),c){c._prev&&(c._prev._next=null),this._removalsHead=c;for(let f=c;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(v,c){if(v){let f=v._prev;return c._next=v,c._prev=f,v._prev=c,f&&(f._next=c),v===this._mapHead&&(this._mapHead=c),this._appendAfter=v,v}return this._appendAfter?(this._appendAfter._next=c,c._prev=this._appendAfter):this._mapHead=c,this._appendAfter=c,null}_getOrCreateRecordForKey(v,c){if(this._records.has(v)){let I=this._records.get(v);this._maybeAddToChanges(I,c);let D=I._prev,W=I._next;return D&&(D._next=W),W&&(W._prev=D),I._next=null,I._prev=null,I}let f=new Ede(v);return this._records.set(v,f),f.currentValue=c,this._addToAdditions(f),f}_reset(){if(this.isDirty){let v;for(this._previousMapHead=this._mapHead,v=this._previousMapHead;v!==null;v=v._next)v._nextPrevious=v._next;for(v=this._changesHead;v!==null;v=v._nextChanged)v.previousValue=v.currentValue;for(v=this._additionsHead;v!=null;v=v._nextAdded)v.previousValue=v.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(v,c){Object.is(c,v.currentValue)||(v.previousValue=v.currentValue,v.currentValue=c,this._addToChanges(v))}_addToAdditions(v){this._additionsHead===null?this._additionsHead=this._additionsTail=v:(this._additionsTail._nextAdded=v,this._additionsTail=v)}_addToChanges(v){this._changesHead===null?this._changesHead=this._changesTail=v:(this._changesTail._nextChanged=v,this._changesTail=v)}_forEach(v,c){v instanceof Map?v.forEach(c):Object.keys(v).forEach(f=>c(v[f],f))}},Ede=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(v){this.key=v}};function zIe(){return new FH([new Mde])}var FH=(()=>{class m{factories;static \u0275prov=bo({token:m,providedIn:"root",factory:zIe});constructor(c){this.factories=c}static create(c,f){if(f!=null){let I=f.factories.slice();c=c.concat(I)}return new m(c)}static extend(c){return{provide:m,useFactory:f=>m.create(c,f||zIe()),deps:[[m,new HY,new xH]]}}find(c){let f=this.factories.find(I=>I.supports(c));if(f!=null)return f;throw new Qr(901,!1)}}return m})();function LIe(){return new Sde([new Ade])}var Sde=(()=>{class m{static \u0275prov=bo({token:m,providedIn:"root",factory:LIe});factories;constructor(c){this.factories=c}static create(c,f){if(f){let I=f.factories.slice();c=c.concat(I)}return new m(c)}static extend(c){return{provide:m,useFactory:f=>m.create(c,f||LIe()),deps:[[m,new HY,new xH]]}}find(c){let f=this.factories.find(I=>I.supports(c));if(f)return f;throw new Qr(901,!1)}}return m})();function FIe(m){Hu(8);try{let{rootComponent:v,appProviders:c,platformProviders:f}=m,I=rHe(f),D=[AIe({}),{provide:wy,useExisting:EIe},XMe,...c||[]],W=new FY({providers:D,parent:I,debugName:"",runEnvironmentInitializers:!1});return tHe({r3Injector:W.injector,platformInjector:I,rootComponent:v})}catch(v){return Promise.reject(v)}finally{Hu(9)}}function br(m){return typeof m=="boolean"?m:m!=null&&m!=="false"}function xg(m,v=NaN){return!isNaN(parseFloat(m))&&!isNaN(Number(m))?Number(m):v}function fP(m,v){let c=HD(m),f=v.elementInjector||pH();return new SH(c).create(f,v.projectableNodes,v.hostElement,v.environmentInjector,v.directives,v.bindings)}var dHe={schedule(m,v){let c=setTimeout(m,v);return()=>clearTimeout(c)}};function cHe(m){return m.replace(/[A-Z]/g,v=>`-${v.toLowerCase()}`)}function vHe(m){return!!m&&m.nodeType===Node.ELEMENT_NODE}var Cde;function pHe(m,v){if(!Cde){let c=Element.prototype;Cde=c.matches||c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}return m.nodeType===Node.ELEMENT_NODE?Cde.call(m,v):!1}function fHe(m){let v={};return m.forEach(({propName:c,templateName:f,transform:I})=>{v[cHe(f)]=[c,I]}),v}function hHe(m,v){return v.get(aP).resolveComponentFactory(m).inputs}function mHe(m,v){let c=m.childNodes,f=v.map(()=>[]),I=-1;v.some((D,W)=>D==="*"?(I=W,!0):!1);for(let D=0,W=c.length;D<W;++D){let ie=c[D],ne=bHe(ie,v,I);ne!==-1&&f[ne].push(ie)}return f}function bHe(m,v,c){let f=c;return vHe(m)&&v.some((I,D)=>I!=="*"&&pHe(m,I)?(f=D,!0):!1),f}var gHe=10,Dde=class{componentFactory;inputMap=new Map;constructor(v,c){this.componentFactory=c.get(aP).resolveComponentFactory(v);for(let f of this.componentFactory.inputs)this.inputMap.set(f.propName,f.templateName)}create(v){return new Rde(this.componentFactory,v,this.inputMap)}},Rde=class{componentFactory;injector;inputMap;eventEmitters=new RD(1);events=this.eventEmitters.pipe(qc(v=>Eb(...v)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(v,c,f){this.componentFactory=v,this.injector=c,this.inputMap=f,this.ngZone=this.injector.get(sa),this.appRef=this.injector.get(Ty),this.cdScheduler=c.get(wy),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(v){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(v)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=dHe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},gHe))})}getInputValue(v){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(v):this.componentRef.instance[v])}setInputValue(v,c){if(this.componentRef===null){this.initialInputValues.set(v,c);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(v)??v,c),rde(this.componentRef.hostView)&&(lde(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(v){let c=Ms.create({providers:[],parent:this.injector}),f=mHe(v,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(c,f,v),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[v,c]of this.initialInputValues)this.setInputValue(v,c);this.initialInputValues.clear()}initializeOutputs(v){let c=this.componentFactory.outputs.map(({propName:f,templateName:I})=>{let D=v.instance[f];return new Na(W=>{let ie=D.subscribe(ne=>W.next({name:I,value:ne}));return()=>ie.unsubscribe()})});this.eventEmitters.next(c)}runInZone(v){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(v):v()}},xde=class extends HTMLElement{ngElementEventsSubscription=null};function qu(m,v){let c=hHe(m,v.injector),f=v.strategyFactory||new Dde(m,v.injector),I=fHe(c);class D extends xde{injector;static observedAttributes=Object.keys(I);get ngElementStrategy(){if(!this._ngElementStrategy){let ie=this._ngElementStrategy=f.create(this.injector||v.injector);c.forEach(({propName:ne,transform:ye})=>{if(!this.hasOwnProperty(ne))return;let Ie=this[ne];delete this[ne],ie.setInputValue(ne,Ie,ye)})}return this._ngElementStrategy}_ngElementStrategy;constructor(ie){super(),this.injector=ie}attributeChangedCallback(ie,ne,ye,Ie){let[qe,Ke]=I[ie];this.ngElementStrategy.setInputValue(qe,ye,Ke)}connectedCallback(){let ie=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),ie=!0),this.ngElementStrategy.connect(this),ie||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(ie=>{let ne=new CustomEvent(ie.name,{detail:ie.value});this.dispatchEvent(ne)})}}return c.forEach(({propName:W,transform:ie})=>{Object.defineProperty(D.prototype,W,{get(){return this.ngElementStrategy.getInputValue(W)},set(ne){this.ngElementStrategy.setInputValue(W,ne,ie)},configurable:!0,enumerable:!0})}),D}var WIe=null;function bI(){return WIe}function zde(m){WIe??=m}var OY=class{},Lde=(()=>{class m{historyGo(c){throw new Error("")}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:()=>Qt(UIe),providedIn:"platform"})}return m})();var UIe=(()=>{class m extends Lde{_location;_history;_doc=Qt(u0);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bI().getBaseHref(this._doc)}onPopState(c){let f=bI().getGlobalEventTarget(this._doc,"window");return f.addEventListener("popstate",c,!1),()=>f.removeEventListener("popstate",c)}onHashChange(c){let f=bI().getGlobalEventTarget(this._doc,"window");return f.addEventListener("hashchange",c,!1),()=>f.removeEventListener("hashchange",c)}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(c){this._location.pathname=c}pushState(c,f,I){this._history.pushState(c,f,I)}replaceState(c,f,I){this._history.replaceState(c,f,I)}forward(){this._history.forward()}back(){this._history.back()}historyGo(c=0){this._history.go(c)}getState(){return this._history.state}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:()=>new m,providedIn:"platform"})}return m})();function jIe(m,v){return m?v?m.endsWith("/")?v.startsWith("/")?m+v.slice(1):m+v:v.startsWith("/")?m+v:`${m}/${v}`:m:v}function HIe(m){let v=m.search(/#|\?|$/);return m[v-1]==="/"?m.slice(0,v-1)+m.slice(v):m}function JD(m){return m&&m[0]!=="?"?`?${m}`:m}var VO=(()=>{class m{historyGo(c){throw new Error("")}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:()=>Qt(GIe),providedIn:"root"})}return m})(),YO=new Go(""),GIe=(()=>{class m extends VO{_platformLocation;_baseHref;_removeListenerFns=[];constructor(c,f){super(),this._platformLocation=c,this._baseHref=f??this._platformLocation.getBaseHrefFromDOM()??Qt(u0).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(c){this._removeListenerFns.push(this._platformLocation.onPopState(c),this._platformLocation.onHashChange(c))}getBaseHref(){return this._baseHref}prepareExternalUrl(c){return jIe(this._baseHref,c)}path(c=!1){let f=this._platformLocation.pathname+JD(this._platformLocation.search),I=this._platformLocation.hash;return I&&c?`${f}${I}`:f}pushState(c,f,I,D){let W=this.prepareExternalUrl(I+JD(D));this._platformLocation.pushState(c,f,W)}replaceState(c,f,I,D){let W=this.prepareExternalUrl(I+JD(D));this._platformLocation.replaceState(c,f,W)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(c=0){this._platformLocation.historyGo?.(c)}static \u0275fac=function(f){return new(f||m)(Cl(Lde),Cl(YO,8))};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),XO=(()=>{class m{_subject=new mr;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(c){this._locationStrategy=c;let f=this._locationStrategy.getBaseHref();this._basePath=_He(HIe(qIe(f))),this._locationStrategy.onPopState(I=>{this._subject.next({url:this.path(!0),pop:!0,state:I.state,type:I.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(c=!1){return this.normalize(this._locationStrategy.path(c))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(c,f=""){return this.path()==this.normalize(c+JD(f))}normalize(c){return m.stripTrailingSlash(MHe(this._basePath,qIe(c)))}prepareExternalUrl(c){return c&&c[0]!=="/"&&(c="/"+c),this._locationStrategy.prepareExternalUrl(c)}go(c,f="",I=null){this._locationStrategy.pushState(I,"",c,f),this._notifyUrlChangeListeners(this.prepareExternalUrl(c+JD(f)),I)}replaceState(c,f="",I=null){this._locationStrategy.replaceState(I,"",c,f),this._notifyUrlChangeListeners(this.prepareExternalUrl(c+JD(f)),I)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(c=0){this._locationStrategy.historyGo?.(c)}onUrlChange(c){return this._urlChangeListeners.push(c),this._urlChangeSubscription??=this.subscribe(f=>{this._notifyUrlChangeListeners(f.url,f.state)}),()=>{let f=this._urlChangeListeners.indexOf(c);this._urlChangeListeners.splice(f,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(c="",f){this._urlChangeListeners.forEach(I=>I(c,f))}subscribe(c,f,I){return this._subject.subscribe({next:c,error:f??void 0,complete:I??void 0})}static normalizeQueryParams=JD;static joinWithSlash=jIe;static stripTrailingSlash=HIe;static \u0275fac=function(f){return new(f||m)(Cl(VO))};static \u0275prov=bo({token:m,factory:()=>yHe(),providedIn:"root"})}return m})();function yHe(){return new XO(Cl(VO))}function MHe(m,v){if(!m||!v.startsWith(m))return v;let c=v.substring(m.length);return c===""||["/",";","?","#"].includes(c[0])?c:v}function qIe(m){return m.replace(/\/index.html$/,"")}function _He(m){if(new RegExp("^(https?:)?//").test(m)){let[,c]=m.split(/\/\/[^\/]+/);return c}return m}var Ude=function(m){return m[m.Decimal=0]="Decimal",m[m.Percent=1]="Percent",m[m.Currency=2]="Currency",m[m.Scientific=3]="Scientific",m}(Ude||{});var D2=function(m){return m[m.Format=0]="Format",m[m.Standalone=1]="Standalone",m}(D2||{}),td=function(m){return m[m.Narrow=0]="Narrow",m[m.Abbreviated=1]="Abbreviated",m[m.Wide=2]="Wide",m[m.Short=3]="Short",m}(td||{}),zg=function(m){return m[m.Short=0]="Short",m[m.Medium=1]="Medium",m[m.Long=2]="Long",m[m.Full=3]="Full",m}(zg||{}),Lg={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 $Ie(m){return Rg(m)[q1.LocaleId]}function ZIe(m,v,c){let f=Rg(m),I=[f[q1.DayPeriodsFormat],f[q1.DayPeriodsStandalone]],D=D3(I,v);return D3(D,c)}function JIe(m,v,c){let f=Rg(m),I=[f[q1.DaysFormat],f[q1.DaysStandalone]],D=D3(I,v);return D3(D,c)}function OIe(m,v,c){let f=Rg(m),I=[f[q1.MonthsFormat],f[q1.MonthsStandalone]],D=D3(I,v);return D3(D,c)}function ewe(m,v){let f=Rg(m)[q1.Eras];return D3(f,v)}function eX(m,v){let c=Rg(m);return D3(c[q1.DateFormat],v)}function tX(m,v){let c=Rg(m);return D3(c[q1.TimeFormat],v)}function nX(m,v){let f=Rg(m)[q1.DateTimeFormat];return D3(f,v)}function gA(m,v){let c=Rg(m),f=c[q1.NumberSymbols][v];if(typeof f>"u"){if(v===Lg.CurrencyDecimal)return c[q1.NumberSymbols][Lg.Decimal];if(v===Lg.CurrencyGroup)return c[q1.NumberSymbols][Lg.Group]}return f}function twe(m,v){return Rg(m)[q1.NumberFormats][v]}function nwe(m){if(!m[q1.ExtraData])throw new Qr(2303,!1)}function iwe(m){let v=Rg(m);return nwe(v),(v[q1.ExtraData][2]||[]).map(f=>typeof f=="string"?Nde(f):[Nde(f[0]),Nde(f[1])])}function owe(m,v,c){let f=Rg(m);nwe(f);let I=[f[q1.ExtraData][0],f[q1.ExtraData][1]],D=D3(I,v)||[];return D3(D,c)||[]}function D3(m,v){for(let c=v;c>-1;c--)if(typeof m[c]<"u")return m[c];throw new Qr(2304,!1)}function Nde(m){let[v,c]=m.split(":");return{hours:+v,minutes:+c}}var IHe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,QO={},wHe=/((?:[^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 oX(m,v,c,f){let I=zHe(m);v=KT(c,v)||v;let W=[],ie;for(;v;)if(ie=wHe.exec(v),ie){W=W.concat(ie.slice(1));let Ie=W.pop();if(!Ie)break;v=Ie}else{W.push(v);break}let ne=I.getTimezoneOffset();f&&(ne=lwe(f,ne),I=xHe(I,f));let ye="";return W.forEach(Ie=>{let qe=DHe(Ie);ye+=qe?qe(I,c,ne):Ie==="''"?"'":Ie.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ye}function OO(m,v,c){let f=new Date(0);return f.setFullYear(m,v,c),f.setHours(0,0,0),f}function KT(m,v){let c=$Ie(m);if(QO[c]??={},QO[c][v])return QO[c][v];let f="";switch(v){case"shortDate":f=eX(m,zg.Short);break;case"mediumDate":f=eX(m,zg.Medium);break;case"longDate":f=eX(m,zg.Long);break;case"fullDate":f=eX(m,zg.Full);break;case"shortTime":f=tX(m,zg.Short);break;case"mediumTime":f=tX(m,zg.Medium);break;case"longTime":f=tX(m,zg.Long);break;case"fullTime":f=tX(m,zg.Full);break;case"short":let I=KT(m,"shortTime"),D=KT(m,"shortDate");f=KO(nX(m,zg.Short),[I,D]);break;case"medium":let W=KT(m,"mediumTime"),ie=KT(m,"mediumDate");f=KO(nX(m,zg.Medium),[W,ie]);break;case"long":let ne=KT(m,"longTime"),ye=KT(m,"longDate");f=KO(nX(m,zg.Long),[ne,ye]);break;case"full":let Ie=KT(m,"fullTime"),qe=KT(m,"fullDate");f=KO(nX(m,zg.Full),[Ie,qe]);break}return f&&(QO[c][v]=f),f}function KO(m,v){return v&&(m=m.replace(/\{([^}]+)}/g,function(c,f){return v!=null&&f in v?v[f]:c})),m}function gI(m,v,c="-",f,I){let D="";(m<0||I&&m<=0)&&(I?m=-m+1:(m=-m,D=c));let W=String(m);for(;W.length<v;)W="0"+W;return f&&(W=W.slice(W.length-v)),D+W}function AHe(m,v){return gI(m,3).substring(0,v)}function op(m,v,c=0,f=!1,I=!1){return function(D,W){let ie=THe(m,D);if((c>0||ie>-c)&&(ie+=c),m===3)ie===0&&c===-12&&(ie=12);else if(m===6)return AHe(ie,v);let ne=gA(W,Lg.MinusSign);return gI(ie,v,ne,f,I)}}function THe(m,v){switch(m){case 0:return v.getFullYear();case 1:return v.getMonth();case 2:return v.getDate();case 3:return v.getHours();case 4:return v.getMinutes();case 5:return v.getSeconds();case 6:return v.getMilliseconds();case 7:return v.getDay();default:throw new Qr(2301,!1)}}function wd(m,v,c=D2.Format,f=!1){return function(I,D){return EHe(I,D,m,v,c,f)}}function EHe(m,v,c,f,I,D){switch(c){case 2:return OIe(v,I,f)[m.getMonth()];case 1:return JIe(v,I,f)[m.getDay()];case 0:let W=m.getHours(),ie=m.getMinutes();if(D){let ye=iwe(v),Ie=owe(v,I,f),qe=ye.findIndex(Ke=>{if(Array.isArray(Ke)){let[Je,Ct]=Ke,un=W>=Je.hours&&ie>=Je.minutes,qn=W<Ct.hours||W===Ct.hours&&ie<Ct.minutes;if(Je.hours<Ct.hours){if(un&&qn)return!0}else if(un||qn)return!0}else if(Ke.hours===W&&Ke.minutes===ie)return!0;return!1});if(qe!==-1)return Ie[qe]}return ZIe(v,I,f)[W<12?0:1];case 3:return ewe(v,f)[m.getFullYear()<=0?0:1];default:let ne=c;throw new Qr(2302,!1)}}function $O(m){return function(v,c,f){let I=-1*f,D=gA(c,Lg.MinusSign),W=I>0?Math.floor(I/60):Math.ceil(I/60);switch(m){case 0:return(I>=0?"+":"")+gI(W,2,D)+gI(Math.abs(I%60),2,D);case 1:return"GMT"+(I>=0?"+":"")+gI(W,1,D);case 2:return"GMT"+(I>=0?"+":"")+gI(W,2,D)+":"+gI(Math.abs(I%60),2,D);case 3:return f===0?"Z":(I>=0?"+":"")+gI(W,2,D)+":"+gI(Math.abs(I%60),2,D);default:throw new Qr(2302,!1)}}}var SHe=0,JO=4;function CHe(m){let v=OO(m,SHe,1).getDay();return OO(m,0,1+(v<=JO?JO:JO+7)-v)}function rwe(m){let v=m.getDay(),c=v===0?-3:JO-v;return OO(m.getFullYear(),m.getMonth(),m.getDate()+c)}function Pde(m,v=!1){return function(c,f){let I;if(v){let D=new Date(c.getFullYear(),c.getMonth(),1).getDay()-1,W=c.getDate();I=1+Math.floor((W+D)/7)}else{let D=rwe(c),W=CHe(D.getFullYear()),ie=D.getTime()-W.getTime();I=1+Math.round(ie/6048e5)}return gI(I,m,gA(f,Lg.MinusSign))}}function ZO(m,v=!1){return function(c,f){let D=rwe(c).getFullYear();return gI(D,m,gA(f,Lg.MinusSign),v)}}var Bde={};function DHe(m){if(Bde[m])return Bde[m];let v;switch(m){case"G":case"GG":case"GGG":v=wd(3,td.Abbreviated);break;case"GGGG":v=wd(3,td.Wide);break;case"GGGGG":v=wd(3,td.Narrow);break;case"y":v=op(0,1,0,!1,!0);break;case"yy":v=op(0,2,0,!0,!0);break;case"yyy":v=op(0,3,0,!1,!0);break;case"yyyy":v=op(0,4,0,!1,!0);break;case"Y":v=ZO(1);break;case"YY":v=ZO(2,!0);break;case"YYY":v=ZO(3);break;case"YYYY":v=ZO(4);break;case"M":case"L":v=op(1,1,1);break;case"MM":case"LL":v=op(1,2,1);break;case"MMM":v=wd(2,td.Abbreviated);break;case"MMMM":v=wd(2,td.Wide);break;case"MMMMM":v=wd(2,td.Narrow);break;case"LLL":v=wd(2,td.Abbreviated,D2.Standalone);break;case"LLLL":v=wd(2,td.Wide,D2.Standalone);break;case"LLLLL":v=wd(2,td.Narrow,D2.Standalone);break;case"w":v=Pde(1);break;case"ww":v=Pde(2);break;case"W":v=Pde(1,!0);break;case"d":v=op(2,1);break;case"dd":v=op(2,2);break;case"c":case"cc":v=op(7,1);break;case"ccc":v=wd(1,td.Abbreviated,D2.Standalone);break;case"cccc":v=wd(1,td.Wide,D2.Standalone);break;case"ccccc":v=wd(1,td.Narrow,D2.Standalone);break;case"cccccc":v=wd(1,td.Short,D2.Standalone);break;case"E":case"EE":case"EEE":v=wd(1,td.Abbreviated);break;case"EEEE":v=wd(1,td.Wide);break;case"EEEEE":v=wd(1,td.Narrow);break;case"EEEEEE":v=wd(1,td.Short);break;case"a":case"aa":case"aaa":v=wd(0,td.Abbreviated);break;case"aaaa":v=wd(0,td.Wide);break;case"aaaaa":v=wd(0,td.Narrow);break;case"b":case"bb":case"bbb":v=wd(0,td.Abbreviated,D2.Standalone,!0);break;case"bbbb":v=wd(0,td.Wide,D2.Standalone,!0);break;case"bbbbb":v=wd(0,td.Narrow,D2.Standalone,!0);break;case"B":case"BB":case"BBB":v=wd(0,td.Abbreviated,D2.Format,!0);break;case"BBBB":v=wd(0,td.Wide,D2.Format,!0);break;case"BBBBB":v=wd(0,td.Narrow,D2.Format,!0);break;case"h":v=op(3,1,-12);break;case"hh":v=op(3,2,-12);break;case"H":v=op(3,1);break;case"HH":v=op(3,2);break;case"m":v=op(4,1);break;case"mm":v=op(4,2);break;case"s":v=op(5,1);break;case"ss":v=op(5,2);break;case"S":v=op(6,1);break;case"SS":v=op(6,2);break;case"SSS":v=op(6,3);break;case"Z":case"ZZ":case"ZZZ":v=$O(0);break;case"ZZZZZ":v=$O(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":v=$O(1);break;case"OOOO":case"ZZZZ":case"zzzz":v=$O(2);break;default:return null}return Bde[m]=v,v}function lwe(m,v){m=m.replace(/:/g,"");let c=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(c)?v:c}function RHe(m,v){return m=new Date(m.getTime()),m.setMinutes(m.getMinutes()+v),m}function xHe(m,v,c){let I=m.getTimezoneOffset(),D=lwe(v,I);return RHe(m,-1*(D-I))}function zHe(m){if(VIe(m))return m;if(typeof m=="number"&&!isNaN(m))return new Date(m);if(typeof m=="string"){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){let[I,D=1,W=1]=m.split("-").map(ie=>+ie);return OO(I,D-1,W)}let c=parseFloat(m);if(!isNaN(m-c))return new Date(c);let f;if(f=m.match(IHe))return LHe(f)}let v=new Date(m);if(!VIe(v))throw new Qr(2302,!1);return v}function LHe(m){let v=new Date(0),c=0,f=0,I=m[8]?v.setUTCFullYear:v.setFullYear,D=m[8]?v.setUTCHours:v.setHours;m[9]&&(c=Number(m[9]+m[10]),f=Number(m[9]+m[11])),I.call(v,Number(m[1]),Number(m[2])-1,Number(m[3]));let W=Number(m[4]||0)-c,ie=Number(m[5]||0)-f,ne=Number(m[6]||0),ye=Math.floor(parseFloat("0."+(m[7]||0))*1e3);return D.call(v,W,ie,ne,ye),v}function VIe(m){return m instanceof Date&&!isNaN(m.valueOf())}var NHe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,YIe=22,eee=".",iX="0",PHe=";",BHe=",",Fde="#";function FHe(m,v,c,f,I,D,W=!1){let ie="",ne=!1;if(!isFinite(m))ie=gA(c,Lg.Infinity);else{let ye=qHe(m);W&&(ye=HHe(ye));let Ie=v.minInt,qe=v.minFrac,Ke=v.maxFrac;if(D){let pn=D.match(NHe);if(pn===null)throw new Qr(2306,!1);let Ao=pn[1],F=pn[3],L=pn[5];Ao!=null&&(Ie=kde(Ao)),F!=null&&(qe=kde(F)),L!=null?Ke=kde(L):F!=null&&qe>Ke&&(Ke=qe)}WHe(ye,qe,Ke);let Je=ye.digits,Ct=ye.integerLen,un=ye.exponent,qn=[];for(ne=Je.every(pn=>!pn);Ct<Ie;Ct++)Je.unshift(0);for(;Ct<0;Ct++)Je.unshift(0);Ct>0?qn=Je.splice(Ct,Je.length):(qn=Je,Je=[0]);let Fn=[];for(Je.length>=v.lgSize&&Fn.unshift(Je.splice(-v.lgSize,Je.length).join(""));Je.length>v.gSize;)Fn.unshift(Je.splice(-v.gSize,Je.length).join(""));Je.length&&Fn.unshift(Je.join("")),ie=Fn.join(gA(c,f)),qn.length&&(ie+=gA(c,I)+qn.join("")),un&&(ie+=gA(c,Lg.Exponential)+"+"+un)}return m<0&&!ne?ie=v.negPre+ie+v.negSuf:ie=v.posPre+ie+v.posSuf,ie}function awe(m,v,c){let f=twe(v,Ude.Decimal),I=kHe(f,gA(v,Lg.MinusSign));return FHe(m,I,v,Lg.Group,Lg.Decimal,c)}function kHe(m,v="-"){let c={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},f=m.split(PHe),I=f[0],D=f[1],W=I.indexOf(eee)!==-1?I.split(eee):[I.substring(0,I.lastIndexOf(iX)+1),I.substring(I.lastIndexOf(iX)+1)],ie=W[0],ne=W[1]||"";c.posPre=ie.substring(0,ie.indexOf(Fde));for(let Ie=0;Ie<ne.length;Ie++){let qe=ne.charAt(Ie);qe===iX?c.minFrac=c.maxFrac=Ie+1:qe===Fde?c.maxFrac=Ie+1:c.posSuf+=qe}let ye=ie.split(BHe);if(c.gSize=ye[1]?ye[1].length:0,c.lgSize=ye[2]||ye[1]?(ye[2]||ye[1]).length:0,D){let Ie=I.length-c.posPre.length-c.posSuf.length,qe=D.indexOf(Fde);c.negPre=D.substring(0,qe).replace(/'/g,""),c.negSuf=D.slice(qe+Ie).replace(/'/g,"")}else c.negPre=v+c.posPre,c.negSuf=c.posSuf;return c}function HHe(m){if(m.digits[0]===0)return m;let v=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(v===0?m.digits.push(0,0):v===1&&m.digits.push(0),m.integerLen+=2),m}function qHe(m){let v=Math.abs(m)+"",c=0,f,I,D,W,ie;for((I=v.indexOf(eee))>-1&&(v=v.replace(eee,"")),(D=v.search(/e/i))>0?(I<0&&(I=D),I+=+v.slice(D+1),v=v.substring(0,D)):I<0&&(I=v.length),D=0;v.charAt(D)===iX;D++);if(D===(ie=v.length))f=[0],I=1;else{for(ie--;v.charAt(ie)===iX;)ie--;for(I-=D,f=[],W=0;D<=ie;D++,W++)f[W]=Number(v.charAt(D))}return I>YIe&&(f=f.splice(0,YIe-1),c=I-1,I=1),{digits:f,exponent:c,integerLen:I}}function WHe(m,v,c){if(v>c)throw new Qr(2307,!1);let f=m.digits,I=f.length-m.integerLen,D=Math.min(Math.max(v,I),c),W=D+m.integerLen,ie=f[W];if(W>0){f.splice(Math.max(m.integerLen,W));for(let qe=W;qe<f.length;qe++)f[qe]=0}else{I=Math.max(0,I),m.integerLen=1,f.length=Math.max(1,W=D+1),f[0]=0;for(let qe=1;qe<W;qe++)f[qe]=0}if(ie>=5)if(W-1<0){for(let qe=0;qe>W;qe--)f.unshift(0),m.integerLen++;f.unshift(1),m.integerLen++}else f[W-1]++;for(;I<Math.max(0,D);I++)f.push(0);let ne=D!==0,ye=v+m.integerLen,Ie=f.reduceRight(function(qe,Ke,Je,Ct){return Ke=Ke+qe,Ct[Je]=Ke<10?Ke:Ke-10,ne&&(Ct[Je]===0&&Je>=ye?Ct.pop():ne=!1),Ke>=10?1:0},0);Ie&&(f.unshift(Ie),m.integerLen++)}function kde(m){let v=parseInt(m);if(isNaN(v))throw new Qr(2305,!1);return v}var Hde=/\s+/,XIe=[],S0=(()=>{class m{_ngEl;_renderer;initialClasses=XIe;rawClass;stateMap=new Map;constructor(c,f){this._ngEl=c,this._renderer=f}set klass(c){this.initialClasses=c!=null?c.trim().split(Hde):XIe}set ngClass(c){this.rawClass=typeof c=="string"?c.trim().split(Hde):c}ngDoCheck(){for(let f of this.initialClasses)this._updateState(f,!0);let c=this.rawClass;if(Array.isArray(c)||c instanceof Set)for(let f of c)this._updateState(f,!0);else if(c!=null)for(let f of Object.keys(c))this._updateState(f,!!c[f]);this._applyStateDiff()}_updateState(c,f){let I=this.stateMap.get(c);I!==void 0?(I.enabled!==f&&(I.changed=!0,I.enabled=f),I.touched=!0):this.stateMap.set(c,{enabled:f,changed:!0,touched:!0})}_applyStateDiff(){for(let c of this.stateMap){let f=c[0],I=c[1];I.changed?(this._toggleClass(f,I.enabled),I.changed=!1):I.touched||(I.enabled&&this._toggleClass(f,!1),this.stateMap.delete(f)),I.touched=!1}}_toggleClass(c,f){c=c.trim(),c.length>0&&c.split(Hde).forEach(I=>{f?this._renderer.addClass(this._ngEl.nativeElement,I):this._renderer.removeClass(this._ngEl.nativeElement,I)})}static \u0275fac=function(f){return new(f||m)(Cr(Pr),Cr(H1))};static \u0275dir=Dr({type:m,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return m})();var tee=class{$implicit;ngForOf;index;count;constructor(v,c,f,I){this.$implicit=v,this.ngForOf=c,this.index=f,this.count=I}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}},Gc=(()=>{class m{_viewContainer;_template;_differs;set ngForOf(c){this._ngForOf=c,this._ngForOfDirty=!0}set ngForTrackBy(c){this._trackByFn=c}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(c,f,I){this._viewContainer=c,this._template=f,this._differs=I}set ngForTemplate(c){c&&(this._template=c)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let c=this._ngForOf;!this._differ&&c&&(this._differ=this._differs.find(c).create(this.ngForTrackBy))}if(this._differ){let c=this._differ.diff(this._ngForOf);c&&this._applyChanges(c)}}_applyChanges(c){let f=this._viewContainer;c.forEachOperation((I,D,W)=>{if(I.previousIndex==null)f.createEmbeddedView(this._template,new tee(I.item,this._ngForOf,-1,-1),W===null?void 0:W);else if(W==null)f.remove(D===null?void 0:D);else if(D!==null){let ie=f.get(D);f.move(ie,W),QIe(ie,I)}});for(let I=0,D=f.length;I<D;I++){let ie=f.get(I).context;ie.index=I,ie.count=D,ie.ngForOf=this._ngForOf}c.forEachIdentityChange(I=>{let D=f.get(I.currentIndex);QIe(D,I)})}static ngTemplateContextGuard(c,f){return!0}static \u0275fac=function(f){return new(f||m)(Cr(vh),Cr(i0),Cr(FH))};static \u0275dir=Dr({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return m})();function QIe(m,v){m.context.$implicit=v.item}var Hp=(()=>{class m{_viewContainer;_context=new nee;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(c,f){this._viewContainer=c,this._thenTemplateRef=f}set ngIf(c){this._context.$implicit=this._context.ngIf=c,this._updateView()}set ngIfThen(c){KIe(c,!1),this._thenTemplateRef=c,this._thenViewRef=null,this._updateView()}set ngIfElse(c){KIe(c,!1),this._elseTemplateRef=c,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(c,f){return!0}static \u0275fac=function(f){return new(f||m)(Cr(vh),Cr(i0))};static \u0275dir=Dr({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return m})(),nee=class{$implicit=null;ngIf=null};function KIe(m,v){if(m&&!m.createEmbeddedView)throw new Qr(2020,!1)}var rX=(()=>{class m{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(c,f,I){this._ngEl=c,this._differs=f,this._renderer=I}set ngStyle(c){this._ngStyle=c,!this._differ&&c&&(this._differ=this._differs.find(c).create())}ngDoCheck(){if(this._differ){let c=this._differ.diff(this._ngStyle);c&&this._applyChanges(c)}}_setStyle(c,f){let[I,D]=c.split("."),W=I.indexOf("-")===-1?void 0:vI.DashCase;f!=null?this._renderer.setStyle(this._ngEl.nativeElement,I,D?`${f}${D}`:f,W):this._renderer.removeStyle(this._ngEl.nativeElement,I,W)}_applyChanges(c){c.forEachRemovedItem(f=>this._setStyle(f.key,null)),c.forEachAddedItem(f=>this._setStyle(f.key,f.currentValue)),c.forEachChangedItem(f=>this._setStyle(f.key,f.currentValue))}static \u0275fac=function(f){return new(f||m)(Cr(Pr),Cr(Sde),Cr(H1))};static \u0275dir=Dr({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return m})(),yA=(()=>{class m{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(c){this._viewContainerRef=c}ngOnChanges(c){if(this._shouldRecreateView(c)){let f=this._viewContainerRef;if(this._viewRef&&f.remove(f.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let I=this._createContextForwardProxy();this._viewRef=f.createEmbeddedView(this.ngTemplateOutlet,I,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(c){return!!c.ngTemplateOutlet||!!c.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(c,f,I)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,f,I):!1,get:(c,f,I)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,f,I)}})}static \u0275fac=function(f){return new(f||m)(Cr(vh))};static \u0275dir=Dr({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[_s]})}return m})();function jde(m,v){return new Qr(2100,!1)}var qde=class{createSubscription(v,c,f){return Ey(()=>v.subscribe({next:c,error:f}))}dispose(v){Ey(()=>v.unsubscribe())}},Wde=class{createSubscription(v,c,f){return v.then(I=>c?.(I),I=>f?.(I)),{unsubscribe:()=>{c=null,f=null}}}dispose(v){v.unsubscribe()}},UHe=new Wde,jHe=new qde,lX=(()=>{class m{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=Qt(uI);constructor(c){this._ref=c}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(c){if(!this._obj){if(c)try{this.markForCheckOnValueUpdate=!1,this._subscribe(c)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return c!==this._obj?(this._dispose(),this.transform(c)):this._latestValue}_subscribe(c){this._obj=c,this._strategy=this._selectStrategy(c),this._subscription=this._strategy.createSubscription(c,f=>this._updateLatestValue(c,f),f=>this.applicationErrorHandler(f))}_selectStrategy(c){if(dP(c))return UHe;if(BO(c))return jHe;throw jde(m,c)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(c,f){c===this._obj&&(this._latestValue=f,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(f){return new(f||m)(Cr(Js,16))};static \u0275pipe=Nv({name:"async",type:m,pure:!1})}return m})();var GHe="mediumDate",swe=new Go(""),uwe=new Go(""),iee=(()=>{class m{locale;defaultTimezone;defaultOptions;constructor(c,f,I){this.locale=c,this.defaultTimezone=f,this.defaultOptions=I}transform(c,f,I,D){if(c==null||c===""||c!==c)return null;try{let W=f??this.defaultOptions?.dateFormat??GHe,ie=I??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return oX(c,W,D||this.locale,ie)}catch(W){throw jde(m,W.message)}}static \u0275fac=function(f){return new(f||m)(Cr($D,16),Cr(swe,24),Cr(uwe,24))};static \u0275pipe=Nv({name:"date",type:m,pure:!0})}return m})();var aX=(()=>{class m{_locale;constructor(c){this._locale=c}transform(c,f,I){if(!VHe(c))return null;I||=this._locale;try{let D=YHe(c);return awe(D,I,f)}catch(D){throw jde(m,D.message)}}static \u0275fac=function(f){return new(f||m)(Cr($D,16))};static \u0275pipe=Nv({name:"number",type:m,pure:!0})}return m})();function VHe(m){return!(m==null||m===""||m!==m)}function YHe(m){if(typeof m=="string"&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if(typeof m!="number")throw new Qr(2309,!1);return m}var pl=(()=>{class m{static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({})}return m})();function sX(m,v){v=encodeURIComponent(v);for(let c of m.split(";")){let f=c.indexOf("="),[I,D]=f==-1?[c,""]:[c.slice(0,f),c.slice(f+1)];if(I.trim()===v)return decodeURIComponent(D)}return null}var hP=class{};var Gde="browser",XHe="server";function dwe(m){return m===Gde}function cwe(m){return m===XHe}var lee=new Go(""),Qde=(()=>{class m{_zone;_plugins;_eventNameToPlugin=new Map;constructor(c,f){this._zone=f,c.forEach(I=>{I.manager=this}),this._plugins=c.slice().reverse()}addEventListener(c,f,I,D){return this._findPluginFor(f).addEventListener(c,f,I,D)}getZone(){return this._zone}_findPluginFor(c){let f=this._eventNameToPlugin.get(c);if(f)return f;if(f=this._plugins.find(D=>D.supports(c)),!f)throw new Qr(5101,!1);return this._eventNameToPlugin.set(c,f),f}static \u0275fac=function(f){return new(f||m)(Cl(lee),Cl(sa))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),uX=class{_doc;constructor(v){this._doc=v}manager},oee="ng-app-id";function vwe(m){for(let v of m)v.remove()}function pwe(m,v){let c=v.createElement("style");return c.textContent=m,c}function QHe(m,v,c,f){let I=m.head?.querySelectorAll(`style[${oee}="${v}"],link[${oee}="${v}"]`);if(I)for(let D of I)D.removeAttribute(oee),D instanceof HTMLLinkElement?f.set(D.href.slice(D.href.lastIndexOf("/")+1),{usage:0,elements:[D]}):D.textContent&&c.set(D.textContent,{usage:0,elements:[D]})}function Yde(m,v){let c=v.createElement("link");return c.setAttribute("rel","stylesheet"),c.setAttribute("href",m),c}var Kde=(()=>{class m{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(c,f,I,D={}){this.doc=c,this.appId=f,this.nonce=I,this.isServer=cwe(D),QHe(c,f,this.inline,this.external),this.hosts.add(c.head)}addStyles(c,f){for(let I of c)this.addUsage(I,this.inline,pwe);f?.forEach(I=>this.addUsage(I,this.external,Yde))}removeStyles(c,f){for(let I of c)this.removeUsage(I,this.inline);f?.forEach(I=>this.removeUsage(I,this.external))}addUsage(c,f,I){let D=f.get(c);D?D.usage++:f.set(c,{usage:1,elements:[...this.hosts].map(W=>this.addElement(W,I(c,this.doc)))})}removeUsage(c,f){let I=f.get(c);I&&(I.usage--,I.usage<=0&&(vwe(I.elements),f.delete(c)))}ngOnDestroy(){for(let[,{elements:c}]of[...this.inline,...this.external])vwe(c);this.hosts.clear()}addHost(c){this.hosts.add(c);for(let[f,{elements:I}]of this.inline)I.push(this.addElement(c,pwe(f,this.doc)));for(let[f,{elements:I}]of this.external)I.push(this.addElement(c,Yde(f,this.doc)))}removeHost(c){this.hosts.delete(c)}addElement(c,f){return this.nonce&&f.setAttribute("nonce",this.nonce),this.isServer&&f.setAttribute(oee,this.appId),c.appendChild(f)}static \u0275fac=function(f){return new(f||m)(Cl(u0),Cl(PH),Cl(BH,8),Cl(KD))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),Vde={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"},$de=/%COMP%/g;var hwe="%COMP%",KHe=`_nghost-${hwe}`,$He=`_ngcontent-${hwe}`,ZHe=!0,JHe=new Go("",{providedIn:"root",factory:()=>ZHe});function OHe(m){return $He.replace($de,m)}function eqe(m){return KHe.replace($de,m)}function mwe(m,v){return v.map(c=>c.replace($de,m))}var Zde=(()=>{class m{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(c,f,I,D,W,ie,ne,ye=null,Ie=null){this.eventManager=c,this.sharedStylesHost=f,this.appId=I,this.removeStylesOnCompDestroy=D,this.doc=W,this.platformId=ie,this.ngZone=ne,this.nonce=ye,this.tracingService=Ie,this.platformIsServer=!1,this.defaultRenderer=new dX(c,W,ne,this.platformIsServer,this.tracingService)}createRenderer(c,f){if(!c||!f)return this.defaultRenderer;let I=this.getOrCreateRenderer(c,f);return I instanceof ree?I.applyToHost(c):I instanceof cX&&I.applyStyles(),I}getOrCreateRenderer(c,f){let I=this.rendererByCompId,D=I.get(f.id);if(!D){let W=this.doc,ie=this.ngZone,ne=this.eventManager,ye=this.sharedStylesHost,Ie=this.removeStylesOnCompDestroy,qe=this.platformIsServer,Ke=this.tracingService;switch(f.encapsulation){case XT.Emulated:D=new ree(ne,ye,f,this.appId,Ie,W,ie,qe,Ke);break;case XT.ShadowDom:return new Xde(ne,ye,c,f,W,ie,this.nonce,qe,Ke);default:D=new cX(ne,ye,f,Ie,W,ie,qe,Ke);break}I.set(f.id,D)}return D}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(c){this.rendererByCompId.delete(c)}static \u0275fac=function(f){return new(f||m)(Cl(Qde),Cl(Kde),Cl(PH),Cl(JHe),Cl(u0),Cl(KD),Cl(sa),Cl(BH),Cl(uP,8))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),dX=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(v,c,f,I,D){this.eventManager=v,this.doc=c,this.ngZone=f,this.platformIsServer=I,this.tracingService=D}destroy(){}destroyNode=null;createElement(v,c){return c?this.doc.createElementNS(Vde[c]||c,v):this.doc.createElement(v)}createComment(v){return this.doc.createComment(v)}createText(v){return this.doc.createTextNode(v)}appendChild(v,c){(fwe(v)?v.content:v).appendChild(c)}insertBefore(v,c,f){v&&(fwe(v)?v.content:v).insertBefore(c,f)}removeChild(v,c){c.remove()}selectRootElement(v,c){let f=typeof v=="string"?this.doc.querySelector(v):v;if(!f)throw new Qr(-5104,!1);return c||(f.textContent=""),f}parentNode(v){return v.parentNode}nextSibling(v){return v.nextSibling}setAttribute(v,c,f,I){if(I){c=I+":"+c;let D=Vde[I];D?v.setAttributeNS(D,c,f):v.setAttribute(c,f)}else v.setAttribute(c,f)}removeAttribute(v,c,f){if(f){let I=Vde[f];I?v.removeAttributeNS(I,c):v.removeAttribute(`${f}:${c}`)}else v.removeAttribute(c)}addClass(v,c){v.classList.add(c)}removeClass(v,c){v.classList.remove(c)}setStyle(v,c,f,I){I&(vI.DashCase|vI.Important)?v.style.setProperty(c,f,I&vI.Important?"important":""):v.style[c]=f}removeStyle(v,c,f){f&vI.DashCase?v.style.removeProperty(c):v.style[c]=""}setProperty(v,c,f){v!=null&&(v[c]=f)}setValue(v,c){v.nodeValue=c}listen(v,c,f,I){if(typeof v=="string"&&(v=bI().getGlobalEventTarget(this.doc,v),!v))throw new Qr(5102,!1);let D=this.decoratePreventDefault(f);return this.tracingService?.wrapEventListener&&(D=this.tracingService.wrapEventListener(v,c,D)),this.eventManager.addEventListener(v,c,D,I)}decoratePreventDefault(v){return c=>{if(c==="__ngUnwrap__")return v;v(c)===!1&&c.preventDefault()}}};function fwe(m){return m.tagName==="TEMPLATE"&&m.content!==void 0}var Xde=class extends dX{sharedStylesHost;hostEl;shadowRoot;constructor(v,c,f,I,D,W,ie,ne,ye){super(v,D,W,ne,ye),this.sharedStylesHost=c,this.hostEl=f,this.shadowRoot=f.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Ie=I.styles;Ie=mwe(I.id,Ie);for(let Ke of Ie){let Je=document.createElement("style");ie&&Je.setAttribute("nonce",ie),Je.textContent=Ke,this.shadowRoot.appendChild(Je)}let qe=I.getExternalStyles?.();if(qe)for(let Ke of qe){let Je=Yde(Ke,D);ie&&Je.setAttribute("nonce",ie),this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(v){return v===this.hostEl?this.shadowRoot:v}appendChild(v,c){return super.appendChild(this.nodeOrShadowRoot(v),c)}insertBefore(v,c,f){return super.insertBefore(this.nodeOrShadowRoot(v),c,f)}removeChild(v,c){return super.removeChild(null,c)}parentNode(v){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(v)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},cX=class extends dX{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(v,c,f,I,D,W,ie,ne,ye){super(v,D,W,ie,ne),this.sharedStylesHost=c,this.removeStylesOnCompDestroy=I;let Ie=f.styles;this.styles=ye?mwe(ye,Ie):Ie,this.styleUrls=f.getExternalStyles?.(ye)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ree=class extends cX{contentAttr;hostAttr;constructor(v,c,f,I,D,W,ie,ne,ye){let Ie=I+"-"+f.id;super(v,c,f,D,W,ie,ne,ye,Ie),this.contentAttr=OHe(Ie),this.hostAttr=eqe(Ie)}applyToHost(v){this.applyStyles(),this.setAttribute(v,this.hostAttr,"")}createElement(v,c){let f=super.createElement(v,c);return super.setAttribute(f,this.contentAttr,""),f}};var aee=class m extends OY{supportsDOMEvents=!0;static makeCurrent(){zde(new m)}onAndCancel(v,c,f,I){return v.addEventListener(c,f,I),()=>{v.removeEventListener(c,f,I)}}dispatchEvent(v,c){v.dispatchEvent(c)}remove(v){v.remove()}createElement(v,c){return c=c||this.getDefaultDocument(),c.createElement(v)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(v){return v.nodeType===Node.ELEMENT_NODE}isShadowRoot(v){return v instanceof DocumentFragment}getGlobalEventTarget(v,c){return c==="window"?window:c==="document"?v:c==="body"?v.body:null}getBaseHref(v){let c=tqe();return c==null?null:nqe(c)}resetBaseElement(){vX=null}getUserAgent(){return window.navigator.userAgent}getCookie(v){return sX(document.cookie,v)}},vX=null;function tqe(){return vX=vX||document.head.querySelector("base"),vX?vX.getAttribute("href"):null}function nqe(m){return new URL(m,document.baseURI).pathname}var iqe=(()=>{class m{build(){return new XMLHttpRequest}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),gwe=(()=>{class m extends uX{constructor(c){super(c)}supports(c){return!0}addEventListener(c,f,I,D){return c.addEventListener(f,I,D),()=>this.removeEventListener(c,f,I,D)}removeEventListener(c,f,I,D){return c.removeEventListener(f,I,D)}static \u0275fac=function(f){return new(f||m)(Cl(u0))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),bwe=["alt","control","meta","shift"],oqe={"\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"},rqe={alt:m=>m.altKey,control:m=>m.ctrlKey,meta:m=>m.metaKey,shift:m=>m.shiftKey},ywe=(()=>{class m extends uX{constructor(c){super(c)}supports(c){return m.parseEventName(c)!=null}addEventListener(c,f,I,D){let W=m.parseEventName(f),ie=m.eventCallback(W.fullKey,I,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bI().onAndCancel(c,W.domEventName,ie,D))}static parseEventName(c){let f=c.toLowerCase().split("."),I=f.shift();if(f.length===0||!(I==="keydown"||I==="keyup"))return null;let D=m._normalizeKey(f.pop()),W="",ie=f.indexOf("code");if(ie>-1&&(f.splice(ie,1),W="code."),bwe.forEach(ye=>{let Ie=f.indexOf(ye);Ie>-1&&(f.splice(Ie,1),W+=ye+".")}),W+=D,f.length!=0||D.length===0)return null;let ne={};return ne.domEventName=I,ne.fullKey=W,ne}static matchEventFullKeyCode(c,f){let I=oqe[c.key]||c.key,D="";return f.indexOf("code.")>-1&&(I=c.code,D="code."),I==null||!I?!1:(I=I.toLowerCase(),I===" "?I="space":I==="."&&(I="dot"),bwe.forEach(W=>{if(W!==I){let ie=rqe[W];ie(c)&&(D+=W+".")}}),D+=I,D===f)}static eventCallback(c,f,I){return D=>{m.matchEventFullKeyCode(D,c)&&I.runGuarded(()=>f(D))}}static _normalizeKey(c){return c==="esc"?"escape":c}static \u0275fac=function(f){return new(f||m)(Cl(u0))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();function Jde(m){return FIe(lqe(m))}function lqe(m){return{appProviders:[...cqe,...m?.providers??[]],platformProviders:dqe}}function aqe(){aee.makeCurrent()}function sqe(){return new Iy}function uqe(){return Wue(document),document}var dqe=[{provide:KD,useValue:Gde},{provide:wO,useValue:aqe,multi:!0},{provide:u0,useFactory:uqe}];var cqe=[{provide:yY,useValue:"root"},{provide:Iy,useFactory:sqe},{provide:lee,useClass:gwe,multi:!0,deps:[u0]},{provide:lee,useClass:ywe,multi:!0,deps:[u0]},Zde,Kde,Qde,{provide:Lv,useExisting:Zde},{provide:hP,useClass:iqe},[]];var HH=class{},pX=class{},OD=class m{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(v){v?typeof v=="string"?this.lazyInit=()=>{this.headers=new Map,v.split(`
6038
6038
  `).forEach(c=>{let f=c.indexOf(":");if(f>0){let I=c.slice(0,f),D=c.slice(f+1).trim();this.addHeaderEntry(I,D)}})}:typeof Headers<"u"&&v instanceof Headers?(this.headers=new Map,v.forEach((c,f)=>{this.addHeaderEntry(f,c)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(v).forEach(([c,f])=>{this.setHeaderEntries(c,f)})}:this.headers=new Map}has(v){return this.init(),this.headers.has(v.toLowerCase())}get(v){this.init();let c=this.headers.get(v.toLowerCase());return c&&c.length>0?c[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(v){return this.init(),this.headers.get(v.toLowerCase())||null}append(v,c){return this.clone({name:v,value:c,op:"a"})}set(v,c){return this.clone({name:v,value:c,op:"s"})}delete(v,c){return this.clone({name:v,value:c,op:"d"})}maybeSetNormalizedName(v,c){this.normalizedNames.has(c)||this.normalizedNames.set(c,v)}init(){this.lazyInit&&(this.lazyInit instanceof m?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(v=>this.applyUpdate(v)),this.lazyUpdate=null))}copyFrom(v){v.init(),Array.from(v.headers.keys()).forEach(c=>{this.headers.set(c,v.headers.get(c)),this.normalizedNames.set(c,v.normalizedNames.get(c))})}clone(v){let c=new m;return c.lazyInit=this.lazyInit&&this.lazyInit instanceof m?this.lazyInit:this,c.lazyUpdate=(this.lazyUpdate||[]).concat([v]),c}applyUpdate(v){let c=v.name.toLowerCase();switch(v.op){case"a":case"s":let f=v.value;if(typeof f=="string"&&(f=[f]),f.length===0)return;this.maybeSetNormalizedName(v.name,c);let I=(v.op==="a"?this.headers.get(c):void 0)||[];I.push(...f),this.headers.set(c,I);break;case"d":let D=v.value;if(!D)this.headers.delete(c),this.normalizedNames.delete(c);else{let W=this.headers.get(c);if(!W)return;W=W.filter(ie=>D.indexOf(ie)===-1),W.length===0?(this.headers.delete(c),this.normalizedNames.delete(c)):this.headers.set(c,W)}break}}addHeaderEntry(v,c){let f=v.toLowerCase();this.maybeSetNormalizedName(v,f),this.headers.has(f)?this.headers.get(f).push(c):this.headers.set(f,[c])}setHeaderEntries(v,c){let f=(Array.isArray(c)?c:[c]).map(D=>D.toString()),I=v.toLowerCase();this.headers.set(I,f),this.maybeSetNormalizedName(v,I)}forEach(v){this.init(),Array.from(this.normalizedNames.keys()).forEach(c=>v(this.normalizedNames.get(c),this.headers.get(c)))}};var uee=class{encodeKey(v){return Mwe(v)}encodeValue(v){return Mwe(v)}decodeKey(v){return decodeURIComponent(v)}decodeValue(v){return decodeURIComponent(v)}};function vqe(m,v){let c=new Map;return m.length>0&&m.replace(/^\?/,"").split("&").forEach(I=>{let D=I.indexOf("="),[W,ie]=D==-1?[v.decodeKey(I),""]:[v.decodeKey(I.slice(0,D)),v.decodeValue(I.slice(D+1))],ne=c.get(W)||[];ne.push(ie),c.set(W,ne)}),c}var pqe=/%(\d[a-f0-9])/gi,fqe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Mwe(m){return encodeURIComponent(m).replace(pqe,(v,c)=>fqe[c]??v)}function see(m){return`${m}`}var $T=class m{map;encoder;updates=null;cloneFrom=null;constructor(v={}){if(this.encoder=v.encoder||new uee,v.fromString){if(v.fromObject)throw new Qr(2805,!1);this.map=vqe(v.fromString,this.encoder)}else v.fromObject?(this.map=new Map,Object.keys(v.fromObject).forEach(c=>{let f=v.fromObject[c],I=Array.isArray(f)?f.map(see):[see(f)];this.map.set(c,I)})):this.map=null}has(v){return this.init(),this.map.has(v)}get(v){this.init();let c=this.map.get(v);return c?c[0]:null}getAll(v){return this.init(),this.map.get(v)||null}keys(){return this.init(),Array.from(this.map.keys())}append(v,c){return this.clone({param:v,value:c,op:"a"})}appendAll(v){let c=[];return Object.keys(v).forEach(f=>{let I=v[f];Array.isArray(I)?I.forEach(D=>{c.push({param:f,value:D,op:"a"})}):c.push({param:f,value:I,op:"a"})}),this.clone(c)}set(v,c){return this.clone({param:v,value:c,op:"s"})}delete(v,c){return this.clone({param:v,value:c,op:"d"})}toString(){return this.init(),this.keys().map(v=>{let c=this.encoder.encodeKey(v);return this.map.get(v).map(f=>c+"="+this.encoder.encodeValue(f)).join("&")}).filter(v=>v!=="").join("&")}clone(v){let c=new m({encoder:this.encoder});return c.cloneFrom=this.cloneFrom||this,c.updates=(this.updates||[]).concat(v),c}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(v=>this.map.set(v,this.cloneFrom.map.get(v))),this.updates.forEach(v=>{switch(v.op){case"a":case"s":let c=(v.op==="a"?this.map.get(v.param):void 0)||[];c.push(see(v.value)),this.map.set(v.param,c);break;case"d":if(v.value!==void 0){let f=this.map.get(v.param)||[],I=f.indexOf(see(v.value));I!==-1&&f.splice(I,1),f.length>0?this.map.set(v.param,f):this.map.delete(v.param)}else{this.map.delete(v.param);break}}}),this.cloneFrom=this.updates=null)}};var dee=class{map=new Map;set(v,c){return this.map.set(v,c),this}get(v){return this.map.has(v)||this.map.set(v,v.defaultValue()),this.map.get(v)}delete(v){return this.map.delete(v),this}has(v){return this.map.has(v)}keys(){return this.map.keys()}};function hqe(m){switch(m){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _we(m){return typeof ArrayBuffer<"u"&&m instanceof ArrayBuffer}function Iwe(m){return typeof Blob<"u"&&m instanceof Blob}function wwe(m){return typeof FormData<"u"&&m instanceof FormData}function mqe(m){return typeof URLSearchParams<"u"&&m instanceof URLSearchParams}var Awe="Content-Type",Twe="Accept",Ewe="X-Request-URL",Swe="text/plain",Cwe="application/json",bqe=`${Cwe}, ${Swe}, */*`,kH=class m{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;keepalive=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(v,c,f,I){this.url=c,this.method=v.toUpperCase();let D;if(hqe(this.method)||I?(this.body=f!==void 0?f:null,D=I):D=f,D&&(this.reportProgress=!!D.reportProgress,this.withCredentials=!!D.withCredentials,this.keepalive=!!D.keepalive,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 OD,this.context??=new dee,!this.params)this.params=new $T,this.urlWithParams=c;else{let W=this.params.toString();if(W.length===0)this.urlWithParams=c;else{let ie=c.indexOf("?"),ne=ie===-1?"?":ie<c.length-1?"&":"";this.urlWithParams=c+ne+W}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_we(this.body)||Iwe(this.body)||wwe(this.body)||mqe(this.body)?this.body:this.body instanceof $T?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||wwe(this.body)?null:Iwe(this.body)?this.body.type||null:_we(this.body)?null:typeof this.body=="string"?Swe:this.body instanceof $T?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Cwe:null}clone(v={}){let c=v.method||this.method,f=v.url||this.url,I=v.responseType||this.responseType,D=v.keepalive??this.keepalive,W=v.transferCache??this.transferCache,ie=v.body!==void 0?v.body:this.body,ne=v.withCredentials??this.withCredentials,ye=v.reportProgress??this.reportProgress,Ie=v.headers||this.headers,qe=v.params||this.params,Ke=v.context??this.context;return v.setHeaders!==void 0&&(Ie=Object.keys(v.setHeaders).reduce((Je,Ct)=>Je.set(Ct,v.setHeaders[Ct]),Ie)),v.setParams&&(qe=Object.keys(v.setParams).reduce((Je,Ct)=>Je.set(Ct,v.setParams[Ct]),qe)),new m(c,f,ie,{params:qe,headers:Ie,context:Ke,reportProgress:ye,responseType:I,withCredentials:ne,transferCache:W,keepalive:D})}},mP=function(m){return m[m.Sent=0]="Sent",m[m.UploadProgress=1]="UploadProgress",m[m.ResponseHeader=2]="ResponseHeader",m[m.DownloadProgress=3]="DownloadProgress",m[m.Response=4]="Response",m[m.User=5]="User",m}(mP||{}),qH=class{headers;status;statusText;url;ok;type;constructor(v,c=200,f="OK"){this.headers=v.headers||new OD,this.status=v.status!==void 0?v.status:c,this.statusText=v.statusText||f,this.url=v.url||null,this.ok=this.status>=200&&this.status<300}},cee=class m extends qH{constructor(v={}){super(v)}type=mP.ResponseHeader;clone(v={}){return new m({headers:v.headers||this.headers,status:v.status!==void 0?v.status:this.status,statusText:v.statusText||this.statusText,url:v.url||this.url||void 0})}},fX=class m extends qH{body;constructor(v={}){super(v),this.body=v.body!==void 0?v.body:null}type=mP.Response;clone(v={}){return new m({body:v.body!==void 0?v.body:this.body,headers:v.headers||this.headers,status:v.status!==void 0?v.status:this.status,statusText:v.statusText||this.statusText,url:v.url||this.url||void 0})}},hX=class extends qH{name="HttpErrorResponse";message;error;ok=!1;constructor(v){super(v,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${v.url||"(unknown url)"}`:this.message=`Http failure response for ${v.url||"(unknown url)"}: ${v.status} ${v.statusText}`,this.error=v.error||null}},gqe=200,yqe=204;function Ode(m,v){return{body:v,headers:m.headers,context:m.context,observe:m.observe,params:m.params,reportProgress:m.reportProgress,responseType:m.responseType,withCredentials:m.withCredentials,transferCache:m.transferCache,keepalive:m.keepalive}}var WH=(()=>{class m{handler;constructor(c){this.handler=c}request(c,f,I={}){let D;if(c instanceof kH)D=c;else{let ne;I.headers instanceof OD?ne=I.headers:ne=new OD(I.headers);let ye;I.params&&(I.params instanceof $T?ye=I.params:ye=new $T({fromObject:I.params})),D=new kH(c,f,I.body!==void 0?I.body:null,{headers:ne,context:I.context,params:ye,reportProgress:I.reportProgress,responseType:I.responseType||"json",withCredentials:I.withCredentials,transferCache:I.transferCache,keepalive:I.keepalive})}let W=s0(D).pipe(Sb(ne=>this.handler.handle(ne)));if(c instanceof kH||I.observe==="events")return W;let ie=W.pipe(sh(ne=>ne instanceof fX));switch(I.observe||"body"){case"body":switch(D.responseType){case"arraybuffer":return ie.pipe(Xa(ne=>{if(ne.body!==null&&!(ne.body instanceof ArrayBuffer))throw new Qr(2806,!1);return ne.body}));case"blob":return ie.pipe(Xa(ne=>{if(ne.body!==null&&!(ne.body instanceof Blob))throw new Qr(2807,!1);return ne.body}));case"text":return ie.pipe(Xa(ne=>{if(ne.body!==null&&typeof ne.body!="string")throw new Qr(2808,!1);return ne.body}));case"json":default:return ie.pipe(Xa(ne=>ne.body))}case"response":return ie;default:throw new Qr(2809,!1)}}delete(c,f={}){return this.request("DELETE",c,f)}get(c,f={}){return this.request("GET",c,f)}head(c,f={}){return this.request("HEAD",c,f)}jsonp(c,f){return this.request("JSONP",c,{params:new $T().append(f,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(c,f={}){return this.request("OPTIONS",c,f)}patch(c,f,I={}){return this.request("PATCH",c,Ode(I,f))}post(c,f,I={}){return this.request("POST",c,Ode(I,f))}put(c,f,I={}){return this.request("PUT",c,Ode(I,f))}static \u0275fac=function(f){return new(f||m)(Cl(HH))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();var Mqe=new Go("");function _qe(m,v){return v(m)}function Iqe(m,v,c){return(f,I)=>fH(c,()=>v(f,D=>m(D,I)))}var Dwe=new Go(""),Rwe=new Go(""),xwe=new Go("",{providedIn:"root",factory:()=>!0});var vee=(()=>{class m extends HH{backend;injector;chain=null;pendingTasks=Qt(_H);contributeToStability=Qt(xwe);constructor(c,f){super(),this.backend=c,this.injector=f}handle(c){if(this.chain===null){let f=Array.from(new Set([...this.injector.get(Dwe),...this.injector.get(Rwe,[])]));this.chain=f.reduceRight((I,D)=>Iqe(I,D,this.injector),_qe)}if(this.contributeToStability){let f=this.pendingTasks.add();return this.chain(c,I=>this.backend.handle(I)).pipe(Q0e(f))}else return this.chain(c,f=>this.backend.handle(f))}static \u0275fac=function(f){return new(f||m)(Cl(pX),Cl(B1))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();var wqe=/^\)\]\}',?\n/,Aqe=RegExp(`^${Ewe}:`,"m");function Tqe(m){return"responseURL"in m&&m.responseURL?m.responseURL:Aqe.test(m.getAllResponseHeaders())?m.getResponseHeader(Ewe):null}var ece=(()=>{class m{xhrFactory;constructor(c){this.xhrFactory=c}handle(c){if(c.method==="JSONP")throw new Qr(-2800,!1);c.keepalive;let f=this.xhrFactory;return(f.\u0275loadImpl?n0(f.\u0275loadImpl()):s0(null)).pipe(qc(()=>new Na(D=>{let W=f.build();if(W.open(c.method,c.urlWithParams),c.withCredentials&&(W.withCredentials=!0),c.headers.forEach((un,qn)=>W.setRequestHeader(un,qn.join(","))),c.headers.has(Twe)||W.setRequestHeader(Twe,bqe),!c.headers.has(Awe)){let un=c.detectContentTypeHeader();un!==null&&W.setRequestHeader(Awe,un)}if(c.responseType){let un=c.responseType.toLowerCase();W.responseType=un!=="json"?un:"text"}let ie=c.serializeBody(),ne=null,ye=()=>{if(ne!==null)return ne;let un=W.statusText||"OK",qn=new OD(W.getAllResponseHeaders()),Fn=Tqe(W)||c.url;return ne=new cee({headers:qn,status:W.status,statusText:un,url:Fn}),ne},Ie=()=>{let{headers:un,status:qn,statusText:Fn,url:pn}=ye(),Ao=null;qn!==yqe&&(Ao=typeof W.response>"u"?W.responseText:W.response),qn===0&&(qn=Ao?gqe:0);let F=qn>=200&&qn<300;if(c.responseType==="json"&&typeof Ao=="string"){let L=Ao;Ao=Ao.replace(wqe,"");try{Ao=Ao!==""?JSON.parse(Ao):null}catch(Gi){Ao=L,F&&(F=!1,Ao={error:Gi,text:Ao})}}F?(D.next(new fX({body:Ao,headers:un,status:qn,statusText:Fn,url:pn||void 0})),D.complete()):D.error(new hX({error:Ao,headers:un,status:qn,statusText:Fn,url:pn||void 0}))},qe=un=>{let{url:qn}=ye(),Fn=new hX({error:un,status:W.status||0,statusText:W.statusText||"Unknown Error",url:qn||void 0});D.error(Fn)},Ke=!1,Je=un=>{Ke||(D.next(ye()),Ke=!0);let qn={type:mP.DownloadProgress,loaded:un.loaded};un.lengthComputable&&(qn.total=un.total),c.responseType==="text"&&W.responseText&&(qn.partialText=W.responseText),D.next(qn)},Ct=un=>{let qn={type:mP.UploadProgress,loaded:un.loaded};un.lengthComputable&&(qn.total=un.total),D.next(qn)};return W.addEventListener("load",Ie),W.addEventListener("error",qe),W.addEventListener("timeout",qe),W.addEventListener("abort",qe),c.reportProgress&&(W.addEventListener("progress",Je),ie!==null&&W.upload&&W.upload.addEventListener("progress",Ct)),W.send(ie),D.next({type:mP.Sent}),()=>{W.removeEventListener("error",qe),W.removeEventListener("abort",qe),W.removeEventListener("load",Ie),W.removeEventListener("timeout",qe),c.reportProgress&&(W.removeEventListener("progress",Je),ie!==null&&W.upload&&W.upload.removeEventListener("progress",Ct)),W.readyState!==W.DONE&&W.abort()}})))}static \u0275fac=function(f){return new(f||m)(Cl(hP))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),zwe=new Go(""),Eqe="XSRF-TOKEN",Sqe=new Go("",{providedIn:"root",factory:()=>Eqe}),Cqe="X-XSRF-TOKEN",Dqe=new Go("",{providedIn:"root",factory:()=>Cqe}),mX=class{},Rqe=(()=>{class m{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(c,f){this.doc=c,this.cookieName=f}getToken(){let c=this.doc.cookie||"";return c!==this.lastCookieString&&(this.parseCount++,this.lastToken=sX(c,this.cookieName),this.lastCookieString=c),this.lastToken}static \u0275fac=function(f){return new(f||m)(Cl(u0),Cl(Sqe))};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();function xqe(m,v){let c=m.url.toLowerCase();if(!Qt(zwe)||m.method==="GET"||m.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return v(m);let f=Qt(mX).getToken(),I=Qt(Dqe);return f!=null&&!m.headers.has(I)&&(m=m.clone({headers:m.headers.set(I,f)})),v(m)}function tce(...m){let v=[WH,ece,vee,{provide:HH,useExisting:vee},{provide:pX,useFactory:()=>Qt(Mqe,{optional:!0})??Qt(ece)},{provide:Dwe,useValue:xqe,multi:!0},{provide:zwe,useValue:!0},{provide:mX,useClass:Rqe}];for(let c of m)v.push(...c.\u0275providers);return gY(v)}var qwe=(()=>{class m{_renderer;_elementRef;onChange=c=>{};onTouched=()=>{};constructor(c,f){this._renderer=c,this._elementRef=f}setProperty(c,f){this._renderer.setProperty(this._elementRef.nativeElement,c,f)}registerOnTouched(c){this.onTouched=c}registerOnChange(c){this.onChange=c}setDisabledState(c){this.setProperty("disabled",c)}static \u0275fac=function(f){return new(f||m)(Cr(H1),Cr(Pr))};static \u0275dir=Dr({type:m})}return m})(),Lqe=(()=>{class m extends qwe{static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275dir=Dr({type:m,features:[tl]})}return m})(),hh=new Go("");var Nqe={provide:hh,useExisting:pd(()=>VH),multi:!0};function Pqe(){let m=bI()?bI().getUserAgent():"";return/android (\d+)/.test(m.toLowerCase())}var Bqe=new Go(""),VH=(()=>{class m extends qwe{_compositionMode;_composing=!1;constructor(c,f,I){super(c,f),this._compositionMode=I,this._compositionMode==null&&(this._compositionMode=!Pqe())}writeValue(c){let f=c??"";this.setProperty("value",f)}_handleInput(c){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(c)}_compositionStart(){this._composing=!0}_compositionEnd(c){this._composing=!1,this._compositionMode&&this.onChange(c)}static \u0275fac=function(f){return new(f||m)(Cr(H1),Cr(Pr),Cr(Bqe,8))};static \u0275dir=Dr({type:m,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,I){f&1&&ti("input",function(W){return I._handleInput(W.target.value)})("blur",function(){return I.onTouched()})("compositionstart",function(){return I._compositionStart()})("compositionend",function(W){return I._compositionEnd(W.target.value)})},standalone:!1,features:[vl([Nqe]),tl]})}return m})();function ace(m){return m==null||sce(m)===0}function sce(m){return m==null?null:Array.isArray(m)||typeof m=="string"?m.length:m instanceof Set?m.size:null}var bP=new Go(""),wee=new Go(""),Fqe=/^(?=.{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])?)*$/,MA=class{static min(v){return kqe(v)}static max(v){return Hqe(v)}static required(v){return Wwe(v)}static requiredTrue(v){return qqe(v)}static email(v){return Wqe(v)}static minLength(v){return Uqe(v)}static maxLength(v){return jqe(v)}static pattern(v){return Gqe(v)}static nullValidator(v){return fee()}static compose(v){return Xwe(v)}static composeAsync(v){return Kwe(v)}};function kqe(m){return v=>{if(v.value==null||m==null)return null;let c=parseFloat(v.value);return!isNaN(c)&&c<m?{min:{min:m,actual:v.value}}:null}}function Hqe(m){return v=>{if(v.value==null||m==null)return null;let c=parseFloat(v.value);return!isNaN(c)&&c>m?{max:{max:m,actual:v.value}}:null}}function Wwe(m){return ace(m.value)?{required:!0}:null}function qqe(m){return m.value===!0?null:{required:!0}}function Wqe(m){return ace(m.value)||Fqe.test(m.value)?null:{email:!0}}function Uqe(m){return v=>{let c=v.value?.length??sce(v.value);return c===null||c===0?null:c<m?{minlength:{requiredLength:m,actualLength:c}}:null}}function jqe(m){return v=>{let c=v.value?.length??sce(v.value);return c!==null&&c>m?{maxlength:{requiredLength:m,actualLength:c}}:null}}function Gqe(m){if(!m)return fee;let v,c;return typeof m=="string"?(c="",m.charAt(0)!=="^"&&(c+="^"),c+=m,m.charAt(m.length-1)!=="$"&&(c+="$"),v=new RegExp(c)):(c=m.toString(),v=m),f=>{if(ace(f.value))return null;let I=f.value;return v.test(I)?null:{pattern:{requiredPattern:c,actualValue:I}}}}function fee(m){return null}function Uwe(m){return m!=null}function jwe(m){return dP(m)?n0(m):m}function Gwe(m){let v={};return m.forEach(c=>{v=c!=null?rl(rl({},v),c):v}),Object.keys(v).length===0?null:v}function Vwe(m,v){return v.map(c=>c(m))}function Vqe(m){return!m.validate}function Ywe(m){return m.map(v=>Vqe(v)?v:c=>v.validate(c))}function Xwe(m){if(!m)return null;let v=m.filter(Uwe);return v.length==0?null:function(c){return Gwe(Vwe(c,v))}}function Qwe(m){return m!=null?Xwe(Ywe(m)):null}function Kwe(m){if(!m)return null;let v=m.filter(Uwe);return v.length==0?null:function(c){let f=Vwe(c,v).map(jwe);return dA(f).pipe(Xa(Gwe))}}function $we(m){return m!=null?Kwe(Ywe(m)):null}function Lwe(m,v){return m===null?[v]:Array.isArray(m)?[...m,v]:[m,v]}function Zwe(m){return m._rawValidators}function Jwe(m){return m._rawAsyncValidators}function nce(m){return m?Array.isArray(m)?m:[m]:[]}function hee(m,v){return Array.isArray(m)?m.includes(v):m===v}function Nwe(m,v){let c=nce(v);return nce(m).forEach(I=>{hee(c,I)||c.push(I)}),c}function Pwe(m,v){return nce(v).filter(c=>!hee(m,c))}var mee=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(v){this._rawValidators=v||[],this._composedValidatorFn=Qwe(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=$we(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(v=>v()),this._onDestroyCallbacks=[]}reset(v=void 0){this.control&&this.control.reset(v)}hasError(v,c){return this.control?this.control.hasError(v,c):!1}getError(v,c){return this.control?this.control.getError(v,c):null}},eR=class extends mee{name;get formDirective(){return null}get path(){return null}},_A=class extends mee{_parent=null;name=null;valueAccessor=null},bee=class{_cd;constructor(v){this._cd=v}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}},Yqe={"[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"},vft=Ya(rl({},Yqe),{"[class.ng-submitted]":"isSubmitted"}),R2=(()=>{class m extends bee{constructor(c){super(c)}static \u0275fac=function(f){return new(f||m)(Cr(_A,2))};static \u0275dir=Dr({type:m,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(f,I){f&2&&Tr("ng-untouched",I.isUntouched)("ng-touched",I.isTouched)("ng-pristine",I.isPristine)("ng-dirty",I.isDirty)("ng-valid",I.isValid)("ng-invalid",I.isInvalid)("ng-pending",I.isPending)},standalone:!1,features:[tl]})}return m})(),YH=(()=>{class m extends bee{constructor(c){super(c)}static \u0275fac=function(f){return new(f||m)(Cr(eR,10))};static \u0275dir=Dr({type:m,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(f,I){f&2&&Tr("ng-untouched",I.isUntouched)("ng-touched",I.isTouched)("ng-pristine",I.isPristine)("ng-dirty",I.isDirty)("ng-valid",I.isValid)("ng-invalid",I.isInvalid)("ng-pending",I.isPending)("ng-submitted",I.isSubmitted)},standalone:!1,features:[tl]})}return m})();var bX="VALID",pee="INVALID",UH="PENDING",gX="DISABLED",tR=class{},gee=class extends tR{value;source;constructor(v,c){super(),this.value=v,this.source=c}},yX=class extends tR{pristine;source;constructor(v,c){super(),this.pristine=v,this.source=c}},MX=class extends tR{touched;source;constructor(v,c){super(),this.touched=v,this.source=c}},jH=class extends tR{status;source;constructor(v,c){super(),this.status=v,this.source=c}},ice=class extends tR{source;constructor(v){super(),this.source=v}},oce=class extends tR{source;constructor(v){super(),this.source=v}};function uce(m){return(Aee(m)?m.validators:m)||null}function Xqe(m){return Array.isArray(m)?Qwe(m):m||null}function dce(m,v){return(Aee(v)?v.asyncValidators:m)||null}function Qqe(m){return Array.isArray(m)?$we(m):m||null}function Aee(m){return m!=null&&!Array.isArray(m)&&typeof m=="object"}function Owe(m,v,c){let f=m.controls;if(!(v?Object.keys(f):f).length)throw new Qr(1e3,"");if(!f[c])throw new Qr(1001,"")}function eAe(m,v,c){m._forEachChild((f,I)=>{if(c[I]===void 0)throw new Qr(1002,"")})}var GH=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(v,c){this._assignValidators(v),this._assignAsyncValidators(c)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get status(){return Ey(this.statusReactive)}set status(v){Ey(()=>this.statusReactive.set(v))}_status=ip(()=>this.statusReactive());statusReactive=Wr(void 0);get valid(){return this.status===bX}get invalid(){return this.status===pee}get pending(){return this.status==UH}get disabled(){return this.status===gX}get enabled(){return this.status!==gX}errors;get pristine(){return Ey(this.pristineReactive)}set pristine(v){Ey(()=>this.pristineReactive.set(v))}_pristine=ip(()=>this.pristineReactive());pristineReactive=Wr(!0);get dirty(){return!this.pristine}get touched(){return Ey(this.touchedReactive)}set touched(v){Ey(()=>this.touchedReactive.set(v))}_touched=ip(()=>this.touchedReactive());touchedReactive=Wr(!1);get untouched(){return!this.touched}_events=new mr;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._assignValidators(v)}setAsyncValidators(v){this._assignAsyncValidators(v)}addValidators(v){this.setValidators(Nwe(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(Nwe(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(Pwe(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(Pwe(v,this._rawAsyncValidators))}hasValidator(v){return hee(this._rawValidators,v)}hasAsyncValidator(v){return hee(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){let c=this.touched===!1;this.touched=!0;let f=v.sourceControl??this;this._parent&&!v.onlySelf&&this._parent.markAsTouched(Ya(rl({},v),{sourceControl:f})),c&&v.emitEvent!==!1&&this._events.next(new MX(!0,f))}markAllAsDirty(v={}){this.markAsDirty({onlySelf:!0,emitEvent:v.emitEvent,sourceControl:this}),this._forEachChild(c=>c.markAllAsDirty(v))}markAllAsTouched(v={}){this.markAsTouched({onlySelf:!0,emitEvent:v.emitEvent,sourceControl:this}),this._forEachChild(c=>c.markAllAsTouched(v))}markAsUntouched(v={}){let c=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let f=v.sourceControl??this;this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0,emitEvent:v.emitEvent,sourceControl:f})}),this._parent&&!v.onlySelf&&this._parent._updateTouched(v,f),c&&v.emitEvent!==!1&&this._events.next(new MX(!1,f))}markAsDirty(v={}){let c=this.pristine===!0;this.pristine=!1;let f=v.sourceControl??this;this._parent&&!v.onlySelf&&this._parent.markAsDirty(Ya(rl({},v),{sourceControl:f})),c&&v.emitEvent!==!1&&this._events.next(new yX(!1,f))}markAsPristine(v={}){let c=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let f=v.sourceControl??this;this._forEachChild(I=>{I.markAsPristine({onlySelf:!0,emitEvent:v.emitEvent})}),this._parent&&!v.onlySelf&&this._parent._updatePristine(v,f),c&&v.emitEvent!==!1&&this._events.next(new yX(!0,f))}markAsPending(v={}){this.status=UH;let c=v.sourceControl??this;v.emitEvent!==!1&&(this._events.next(new jH(this.status,c)),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.markAsPending(Ya(rl({},v),{sourceControl:c}))}disable(v={}){let c=this._parentMarkedDirty(v.onlySelf);this.status=gX,this.errors=null,this._forEachChild(I=>{I.disable(Ya(rl({},v),{onlySelf:!0}))}),this._updateValue();let f=v.sourceControl??this;v.emitEvent!==!1&&(this._events.next(new gee(this.value,f)),this._events.next(new jH(this.status,f)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ya(rl({},v),{skipPristineCheck:c}),this),this._onDisabledChange.forEach(I=>I(!0))}enable(v={}){let c=this._parentMarkedDirty(v.onlySelf);this.status=bX,this._forEachChild(f=>{f.enable(Ya(rl({},v),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors(Ya(rl({},v),{skipPristineCheck:c}),this),this._onDisabledChange.forEach(f=>f(!1))}_updateAncestors(v,c){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine({},c),this._parent._updateTouched({},c))}setParent(v){this._parent=v}getRawValue(){return this.value}updateValueAndValidity(v={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let f=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bX||this.status===UH)&&this._runAsyncValidator(f,v.emitEvent)}let c=v.sourceControl??this;v.emitEvent!==!1&&(this._events.next(new gee(this.value,c)),this._events.next(new jH(this.status,c)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(Ya(rl({},v),{sourceControl:c}))}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild(c=>c._updateTreeValidity(v)),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?gX:bX}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v,c){if(this.asyncValidator){this.status=UH,this._hasOwnPendingAsyncValidator={emitEvent:c!==!1,shouldHaveEmitted:v!==!1};let f=jwe(this.asyncValidator(this));this._asyncValidationSubscription=f.subscribe(I=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(I,{emitEvent:c,shouldHaveEmitted:v})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let v=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,v}return!1}setErrors(v,c={}){this.errors=v,this._updateControlsErrors(c.emitEvent!==!1,this,c.shouldHaveEmitted)}get(v){let c=v;return c==null||(Array.isArray(c)||(c=c.split(".")),c.length===0)?null:c.reduce((f,I)=>f&&f._find(I),this)}getError(v,c){let f=c?this.get(c):this;return f&&f.errors?f.errors[v]:null}hasError(v,c){return!!this.getError(v,c)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v,c,f){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),(v||f)&&this._events.next(new jH(this.status,c)),this._parent&&this._parent._updateControlsErrors(v,c,f)}_initObservables(){this.valueChanges=new di,this.statusChanges=new di}_calculateStatus(){return this._allControlsDisabled()?gX:this.errors?pee:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(UH)?UH:this._anyControlsHaveStatus(pee)?pee:bX}_anyControlsHaveStatus(v){return this._anyControls(c=>c.status===v)}_anyControlsDirty(){return this._anyControls(v=>v.dirty)}_anyControlsTouched(){return this._anyControls(v=>v.touched)}_updatePristine(v,c){let f=!this._anyControlsDirty(),I=this.pristine!==f;this.pristine=f,this._parent&&!v.onlySelf&&this._parent._updatePristine(v,c),I&&this._events.next(new yX(this.pristine,c))}_updateTouched(v={},c){this.touched=this._anyControlsTouched(),this._events.next(new MX(this.touched,c)),this._parent&&!v.onlySelf&&this._parent._updateTouched(v,c)}_onDisabledChange=[];_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){Aee(v)&&v.updateOn!=null&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){let c=this._parent&&this._parent.dirty;return!v&&!!c&&!this._parent._anyControlsDirty()}_find(v){return null}_assignValidators(v){this._rawValidators=Array.isArray(v)?v.slice():v,this._composedValidatorFn=Xqe(this._rawValidators)}_assignAsyncValidators(v){this._rawAsyncValidators=Array.isArray(v)?v.slice():v,this._composedAsyncValidatorFn=Qqe(this._rawAsyncValidators)}},nR=class extends GH{constructor(v,c,f){super(uce(c),dce(f,c)),this.controls=v,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(v,c){return this.controls[v]?this.controls[v]:(this.controls[v]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}addControl(v,c,f={}){this.registerControl(v,c),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}removeControl(v,c={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),delete this.controls[v],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}setControl(v,c,f={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),delete this.controls[v],c&&this.registerControl(v,c),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}contains(v){return this.controls.hasOwnProperty(v)&&this.controls[v].enabled}setValue(v,c={}){eAe(this,!0,v),Object.keys(v).forEach(f=>{Owe(this,!0,f),this.controls[f].setValue(v[f],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(v,c={}){v!=null&&(Object.keys(v).forEach(f=>{let I=this.controls[f];I&&I.patchValue(v[f],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(v={},c={}){this._forEachChild((f,I)=>{f.reset(v?v[I]:null,{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this._reduceChildren({},(v,c,f)=>(v[f]=c.getRawValue(),v))}_syncPendingControls(){let v=this._reduceChildren(!1,(c,f)=>f._syncPendingControls()?!0:c);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){Object.keys(this.controls).forEach(c=>{let f=this.controls[c];f&&v(f,c)})}_setUpControls(){this._forEachChild(v=>{v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(v){for(let[c,f]of Object.entries(this.controls))if(this.contains(c)&&v(f))return!0;return!1}_reduceValue(){let v={};return this._reduceChildren(v,(c,f,I)=>((f.enabled||this.disabled)&&(c[I]=f.value),c))}_reduceChildren(v,c){let f=v;return this._forEachChild((I,D)=>{f=c(f,I,D)}),f}_allControlsDisabled(){for(let v of Object.keys(this.controls))if(this.controls[v].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(v){return this.controls.hasOwnProperty(v)?this.controls[v]:null}};var rce=class extends nR{};var _X=new Go("",{providedIn:"root",factory:()=>Tee}),Tee="always";function tAe(m,v){return[...v.path,m]}function yee(m,v,c=Tee){cce(m,v),v.valueAccessor.writeValue(m.value),(m.disabled||c==="always")&&v.valueAccessor.setDisabledState?.(m.disabled),$qe(m,v),Jqe(m,v),Zqe(m,v),Kqe(m,v)}function Mee(m,v,c=!0){let f=()=>{};v.valueAccessor&&(v.valueAccessor.registerOnChange(f),v.valueAccessor.registerOnTouched(f)),Iee(m,v),m&&(v._invokeOnDestroyCallbacks(),m._registerOnCollectionChange(()=>{}))}function _ee(m,v){m.forEach(c=>{c.registerOnValidatorChange&&c.registerOnValidatorChange(v)})}function Kqe(m,v){if(v.valueAccessor.setDisabledState){let c=f=>{v.valueAccessor.setDisabledState(f)};m.registerOnDisabledChange(c),v._registerOnDestroy(()=>{m._unregisterOnDisabledChange(c)})}}function cce(m,v){let c=Zwe(m);v.validator!==null?m.setValidators(Lwe(c,v.validator)):typeof c=="function"&&m.setValidators([c]);let f=Jwe(m);v.asyncValidator!==null?m.setAsyncValidators(Lwe(f,v.asyncValidator)):typeof f=="function"&&m.setAsyncValidators([f]);let I=()=>m.updateValueAndValidity();_ee(v._rawValidators,I),_ee(v._rawAsyncValidators,I)}function Iee(m,v){let c=!1;if(m!==null){if(v.validator!==null){let I=Zwe(m);if(Array.isArray(I)&&I.length>0){let D=I.filter(W=>W!==v.validator);D.length!==I.length&&(c=!0,m.setValidators(D))}}if(v.asyncValidator!==null){let I=Jwe(m);if(Array.isArray(I)&&I.length>0){let D=I.filter(W=>W!==v.asyncValidator);D.length!==I.length&&(c=!0,m.setAsyncValidators(D))}}}let f=()=>{};return _ee(v._rawValidators,f),_ee(v._rawAsyncValidators,f),c}function $qe(m,v){v.valueAccessor.registerOnChange(c=>{m._pendingValue=c,m._pendingChange=!0,m._pendingDirty=!0,m.updateOn==="change"&&nAe(m,v)})}function Zqe(m,v){v.valueAccessor.registerOnTouched(()=>{m._pendingTouched=!0,m.updateOn==="blur"&&m._pendingChange&&nAe(m,v),m.updateOn!=="submit"&&m.markAsTouched()})}function nAe(m,v){m._pendingDirty&&m.markAsDirty(),m.setValue(m._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(m._pendingValue),m._pendingChange=!1}function Jqe(m,v){let c=(f,I)=>{v.valueAccessor.writeValue(f),I&&v.viewToModelUpdate(f)};m.registerOnChange(c),v._registerOnDestroy(()=>{m._unregisterOnChange(c)})}function Oqe(m,v){m==null,cce(m,v)}function eWe(m,v){return Iee(m,v)}function vce(m,v){if(!m.hasOwnProperty("model"))return!1;let c=m.model;return c.isFirstChange()?!0:!Object.is(v,c.currentValue)}function tWe(m){return Object.getPrototypeOf(m.constructor)===Lqe}function nWe(m,v){m._syncPendingControls(),v.forEach(c=>{let f=c.control;f.updateOn==="submit"&&f._pendingChange&&(c.viewToModelUpdate(f._pendingValue),f._pendingChange=!1)})}function pce(m,v){if(!v)return null;Array.isArray(v);let c,f,I;return v.forEach(D=>{D.constructor===VH?c=D:tWe(D)?f=D:I=D}),I||f||c||null}function iWe(m,v){let c=m.indexOf(v);c>-1&&m.splice(c,1)}function Bwe(m,v){let c=m.indexOf(v);c>-1&&m.splice(c,1)}function Fwe(m){return typeof m=="object"&&m!==null&&Object.keys(m).length===2&&"value"in m&&"disabled"in m}var ZT=class extends GH{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(v=null,c,f){super(uce(c),dce(f,c)),this._applyFormState(v),this._setUpdateStrategy(c),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Aee(c)&&(c.nonNullable||c.initialValueIsDefault)&&(Fwe(v)?this.defaultValue=v.value:this.defaultValue=v)}setValue(v,c={}){this.value=this._pendingValue=v,this._onChange.length&&c.emitModelToViewChange!==!1&&this._onChange.forEach(f=>f(this.value,c.emitViewToModelChange!==!1)),this.updateValueAndValidity(c)}patchValue(v,c={}){this.setValue(v,c)}reset(v=this.defaultValue,c={}){this._applyFormState(v),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){Bwe(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){Bwe(this._onDisabledChange,v)}_forEachChild(v){}_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(v){Fwe(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}};var oWe=m=>m instanceof ZT;var rWe={provide:_A,useExisting:pd(()=>yI)},kwe=Promise.resolve(),yI=(()=>{class m extends _A{_changeDetectorRef;callSetDisabledState;control=new ZT;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new di;constructor(c,f,I,D,W,ie){super(),this._changeDetectorRef=W,this.callSetDisabledState=ie,this._parent=c,this._setValidators(f),this._setAsyncValidators(I),this.valueAccessor=pce(this,D)}ngOnChanges(c){if(this._checkForErrors(),!this._registered||"name"in c){if(this._registered&&(this._checkName(),this.formDirective)){let f=c.name.previousValue;this.formDirective.removeControl({name:f,path:this._getPath(f)})}this._setUpControl()}"isDisabled"in c&&this._updateDisabled(c),vce(c,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(c){this.viewModel=c,this.update.emit(c)}_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(){yee(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(c){kwe.then(()=>{this.control.setValue(c,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(c){let f=c.isDisabled.currentValue,I=f!==0&&br(f);kwe.then(()=>{I&&!this.control.disabled?this.control.disable():!I&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(c){return this._parent?tAe(c,this._parent):[c]}static \u0275fac=function(f){return new(f||m)(Cr(eR,9),Cr(bP,10),Cr(wee,10),Cr(hh,10),Cr(Js,8),Cr(_X,8))};static \u0275dir=Dr({type:m,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:[vl([rWe]),tl,_s]})}return m})();var Eee=(()=>{class m{static \u0275fac=function(f){return new(f||m)};static \u0275dir=Dr({type:m,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return m})();var fce=new Go(""),lWe={provide:_A,useExisting:pd(()=>hce)},hce=(()=>{class m extends _A{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(c){}model;update=new di;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(c,f,I,D,W){super(),this._ngModelWarningConfig=D,this.callSetDisabledState=W,this._setValidators(c),this._setAsyncValidators(f),this.valueAccessor=pce(this,I)}ngOnChanges(c){if(this._isControlChanged(c)){let f=c.form.previousValue;f&&Mee(f,this,!1),yee(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}vce(c,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mee(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_isControlChanged(c){return c.hasOwnProperty("form")}static \u0275fac=function(f){return new(f||m)(Cr(bP,10),Cr(wee,10),Cr(hh,10),Cr(fce,8),Cr(_X,8))};static \u0275dir=Dr({type:m,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[vl([lWe]),tl,_s]})}return m})(),aWe={provide:eR,useExisting:pd(()=>iR)},iR=(()=>{class m extends eR{callSetDisabledState;get submitted(){return Ey(this._submittedReactive)}set submitted(c){this._submittedReactive.set(c)}_submitted=ip(()=>this._submittedReactive());_submittedReactive=Wr(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new di;constructor(c,f,I){super(),this.callSetDisabledState=I,this._setValidators(c),this._setAsyncValidators(f)}ngOnChanges(c){c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Iee(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(c){let f=this.form.get(c.path);return yee(f,c,this.callSetDisabledState),f.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),f}getControl(c){return this.form.get(c.path)}removeControl(c){Mee(c.control||null,c,!1),iWe(this.directives,c)}addFormGroup(c){this._setUpFormContainer(c)}removeFormGroup(c){this._cleanUpFormContainer(c)}getFormGroup(c){return this.form.get(c.path)}addFormArray(c){this._setUpFormContainer(c)}removeFormArray(c){this._cleanUpFormContainer(c)}getFormArray(c){return this.form.get(c.path)}updateModel(c,f){this.form.get(c.path).setValue(f)}onSubmit(c){return this._submittedReactive.set(!0),nWe(this.form,this.directives),this.ngSubmit.emit(c),this.form._events.next(new ice(this.control)),c?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(c=void 0,f={}){this.form.reset(c,f),this._submittedReactive.set(!1),f?.emitEvent!==!1&&this.form._events.next(new oce(this.form))}_updateDomValue(){this.directives.forEach(c=>{let f=c.control,I=this.form.get(c.path);f!==I&&(Mee(f||null,c),oWe(I)&&(yee(I,c,this.callSetDisabledState),c.control=I))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(c){let f=this.form.get(c.path);Oqe(f,c),f.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(c){if(this.form){let f=this.form.get(c.path);f&&eWe(f,c)&&f.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){cce(this.form,this),this._oldForm&&Iee(this._oldForm,this)}static \u0275fac=function(f){return new(f||m)(Cr(bP,10),Cr(wee,10),Cr(_X,8))};static \u0275dir=Dr({type:m,selectors:[["","formGroup",""]],hostBindings:function(f,I){f&1&&ti("submit",function(W){return I.onSubmit(W)})("reset",function(){return I.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[vl([aWe]),tl,_s]})}return m})();var sWe={provide:_A,useExisting:pd(()=>IX)},IX=(()=>{class m extends _A{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(c){}model;update=new di;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(c,f,I,D,W){super(),this._ngModelWarningConfig=W,this._parent=c,this._setValidators(f),this._setAsyncValidators(I),this.valueAccessor=pce(this,D)}ngOnChanges(c){this._added||this._setUpControl(),vce(c,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}get path(){return tAe(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||m)(Cr(eR,13),Cr(bP,10),Cr(wee,10),Cr(hh,10),Cr(fce,8))};static \u0275dir=Dr({type:m,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[vl([sWe]),tl,_s]})}return m})();var uWe=(()=>{class m{_validator=fee;_onChange;_enabled;ngOnChanges(c){if(this.inputName in c){let f=this.normalizeInput(c[this.inputName].currentValue);this._enabled=this.enabled(f),this._validator=this._enabled?this.createValidator(f):fee,this._onChange&&this._onChange()}}validate(c){return this._validator(c)}registerOnValidatorChange(c){this._onChange=c}enabled(c){return c!=null}static \u0275fac=function(f){return new(f||m)};static \u0275dir=Dr({type:m,features:[_s]})}return m})();var dWe={provide:bP,useExisting:pd(()=>mce),multi:!0};var mce=(()=>{class m extends uWe{required;inputName="required";normalizeInput=br;createValidator=c=>Wwe;enabled(c){return c}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275dir=Dr({type:m,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(f,I){f&2&&nl("required",I._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[vl([dWe]),tl]})}return m})();var iAe=(()=>{class m{static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({})}return m})(),lce=class extends GH{constructor(v,c,f){super(uce(c),dce(f,c)),this.controls=v,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(v){return this.controls[this._adjustIndex(v)]}push(v,c={}){this.controls.push(v),this._registerControl(v),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}insert(v,c,f={}){this.controls.splice(v,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:f.emitEvent})}removeAt(v,c={}){let f=this._adjustIndex(v);f<0&&(f=0),this.controls[f]&&this.controls[f]._registerOnCollectionChange(()=>{}),this.controls.splice(f,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}setControl(v,c,f={}){let I=this._adjustIndex(v);I<0&&(I=0),this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),this.controls.splice(I,1),c&&(this.controls.splice(I,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(v,c={}){eAe(this,!1,v),v.forEach((f,I)=>{Owe(this,!1,I),this.at(I).setValue(f,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(v,c={}){v!=null&&(v.forEach((f,I)=>{this.at(I)&&this.at(I).patchValue(f,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(v=[],c={}){this._forEachChild((f,I)=>{f.reset(v[I],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c,this),this._updateTouched(c,this),this.updateValueAndValidity(c)}getRawValue(){return this.controls.map(v=>v.getRawValue())}clear(v={}){this.controls.length<1||(this._forEachChild(c=>c._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:v.emitEvent}))}_adjustIndex(v){return v<0?v+this.length:v}_syncPendingControls(){let v=this.controls.reduce((c,f)=>f._syncPendingControls()?!0:c,!1);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){this.controls.forEach((c,f)=>{v(c,f)})}_updateValue(){this.value=this.controls.filter(v=>v.enabled||this.disabled).map(v=>v.value)}_anyControls(v){return this.controls.some(c=>c.enabled&&v(c))}_setUpControls(){this._forEachChild(v=>this._registerControl(v))}_allControlsDisabled(){for(let v of this.controls)if(v.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(v){v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}_find(v){return this.at(v)??null}};function Hwe(m){return!!m&&(m.asyncValidators!==void 0||m.validators!==void 0||m.updateOn!==void 0)}var See=(()=>{class m{useNonNullable=!1;get nonNullable(){let c=new m;return c.useNonNullable=!0,c}group(c,f=null){let I=this._reduceControls(c),D={};return Hwe(f)?D=f:f!==null&&(D.validators=f.validator,D.asyncValidators=f.asyncValidator),new nR(I,D)}record(c,f=null){let I=this._reduceControls(c);return new rce(I,f)}control(c,f,I){let D={};return this.useNonNullable?(Hwe(f)?D=f:(D.validators=f,D.asyncValidators=I),new ZT(c,Ya(rl({},D),{nonNullable:!0}))):new ZT(c,f,I)}array(c,f,I){let D=c.map(W=>this._createControl(W));return new lce(D,f,I)}_reduceControls(c){let f={};return Object.keys(c).forEach(I=>{f[I]=this._createControl(c[I])}),f}_createControl(c){if(c instanceof ZT)return c;if(c instanceof GH)return c;if(Array.isArray(c)){let f=c[0],I=c.length>1?c[1]:null,D=c.length>2?c[2]:null;return this.control(f,I,D)}else return this.control(c)}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();var R3=(()=>{class m{static withConfig(c){return{ngModule:m,providers:[{provide:_X,useValue:c.callSetDisabledState??Tee}]}}static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({imports:[iAe]})}return m})(),mh=(()=>{class m{static withConfig(c){return{ngModule:m,providers:[{provide:fce,useValue:c.warnOnNgModelWithFormControl??"always"},{provide:_X,useValue:c.callSetDisabledState??Tee}]}}static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({imports:[iAe]})}return m})();var cWe=["content"],vWe=["scroll"],pWe=["padding"],lAe=["*"],AX=m=>({searchTerm:m});function fWe(m,v){if(m&1&&(Bt(0,"div",3),ph(1,6),qt()),m&2){let c=Pt();Dt(),sn("ngTemplateOutlet",c.headerTemplate)("ngTemplateOutletContext",W1(2,AX,c.filterValue))}}function hWe(m,v){if(m&1&&(Bt(0,"div",5),ph(1,6),qt()),m&2){let c=Pt();Dt(),sn("ngTemplateOutlet",c.footerTemplate)("ngTemplateOutletContext",W1(2,AX,c.filterValue))}}var mWe=["searchInput"],bWe=["clearButton"],gWe=(m,v,c)=>({item:m,clear:v,label:c}),yWe=(m,v)=>({items:m,clear:v}),MWe=(m,v,c,f)=>({item:m,item$:v,index:c,searchTerm:f});function _We(m,v){if(m&1&&(Bt(0,"div",20),Wi(1),qt()),m&2){let c=Pt(2);Dt(),Vl(c.placeholder)}}function IWe(m,v){}function wWe(m,v){if(m&1&&Fr(0,_We,2,1,"ng-template",null,1,zb)(2,IWe,0,0,"ng-template",19),m&2){let c=Cu(1),f=Pt();Dt(2),sn("ngTemplateOutlet",f.placeholderTemplate||c)}}function AWe(m,v){if(m&1){let c=Do();Bt(0,"span",23),ti("click",function(){Jn(c);let I=Pt().$implicit,D=Pt(2);return On(D.unselect(I))}),Wi(1,"\xD7"),qt(),Xi(2,"span",24)}if(m&2){let c=Pt().$implicit,f=Pt(2);Dt(2),sn("ngItemLabel",c.label)("escape",f.escapeHTML)}}function TWe(m,v){}function EWe(m,v){if(m&1&&(Bt(0,"div",22),Fr(1,AWe,3,2,"ng-template",null,2,zb)(3,TWe,0,0,"ng-template",12),qt()),m&2){let c=v.$implicit,f=Cu(2),I=Pt(2);Tr("ng-value-disabled",c.disabled),Dt(3),sn("ngTemplateOutlet",I.labelTemplate||f)("ngTemplateOutletContext",fh(4,gWe,c.value,I.clearItem,c.label))}}function SWe(m,v){if(m&1&&$0(0,EWe,4,8,"div",21,FO().trackByOption,!0),m&2){let c=Pt();Z0(c.selectedItems)}}function CWe(m,v){}function DWe(m,v){if(m&1&&Fr(0,CWe,0,0,"ng-template",12),m&2){let c=Pt();sn("ngTemplateOutlet",c.multiLabelTemplate)("ngTemplateOutletContext",kp(2,yWe,c.selectedValues,c.clearItem))}}function RWe(m,v){m&1&&Xi(0,"div",25)}function xWe(m,v){}function zWe(m,v){if(m&1&&Fr(0,RWe,1,0,"ng-template",null,3,zb)(2,xWe,0,0,"ng-template",19),m&2){let c=Cu(1),f=Pt();Dt(2),sn("ngTemplateOutlet",f.loadingSpinnerTemplate||c)}}function LWe(m,v){if(m&1&&ph(0,19),m&2){let c=Pt(2);sn("ngTemplateOutlet",c.clearButtonTemplate)}}function NWe(m,v){if(m&1&&(Bt(0,"span",26,4)(2,"span",27),Wi(3,"\xD7"),qt()()),m&2){let c=Pt(2);sn("title",wl(c.clearAllText)),nl("tabindex",c.tabFocusOnClear()?0:-1)}}function PWe(m,v){if(m&1&&Ji(0,LWe,1,1,"ng-container",19)(1,NWe,4,3,"span",26),m&2){let c=Pt();Oi(c.clearButtonTemplate?0:1)}}function BWe(m,v){if(m&1&&Xi(0,"span",32),m&2){let c=Pt().$implicit,f=Pt(2);sn("ngItemLabel",c.label)("escape",f.escapeHTML)}}function FWe(m,v){}function kWe(m,v){if(m&1){let c=Do();Bt(0,"div",31),ti("click",function(){let I=Jn(c).$implicit,D=Pt(2);return On(D.toggleItem(I))})("mouseover",function(){let I=Jn(c).$implicit,D=Pt(2);return On(D.onItemHover(I))}),Fr(1,BWe,1,2,"ng-template",null,5,zb)(3,FWe,0,0,"ng-template",12),qt()}if(m&2){let c=v.$implicit,f=Cu(2),I=Pt(2);Tr("ng-option-disabled",c.disabled)("ng-option-selected",c.selected)("ng-optgroup",c.children)("ng-option",!c.children)("ng-option-child",!!c.parent)("ng-option-marked",c===I.itemsList.markedItem),nl("role",c.children?"group":"option")("aria-selected",c.selected)("id",c==null?null:c.htmlId)("aria-setsize",I.itemsList.filteredItems.length)("aria-posinset",c.index+1),Dt(3),sn("ngTemplateOutlet",c.children?I.optgroupTemplate||f:I.optionTemplate||f)("ngTemplateOutletContext",$Y(19,MWe,c.value,c,c.index,I.searchTerm))}}function HWe(m,v){if(m&1&&(Bt(0,"span")(1,"span",34),Wi(2),qt(),Wi(3),qt()),m&2){let c=Pt(3);Dt(2),Vl(c.addTagText),Dt(),ir('"',c.searchTerm,'"')}}function qWe(m,v){}function WWe(m,v){if(m&1){let c=Do();Bt(0,"div",33),ti("mouseover",function(){Jn(c);let I=Pt(2);return On(I.itemsList.unmarkItem())})("click",function(){Jn(c);let I=Pt(2);return On(I.selectTag())}),Fr(1,HWe,4,2,"ng-template",null,6,zb)(3,qWe,0,0,"ng-template",12),qt()}if(m&2){let c=Cu(2),f=Pt(2);Tr("ng-option-marked",!f.itemsList.markedItem),Dt(3),sn("ngTemplateOutlet",f.tagTemplate||c)("ngTemplateOutletContext",W1(4,AX,f.searchTerm))}}function UWe(m,v){if(m&1&&(Bt(0,"div",35),Wi(1),qt()),m&2){let c=Pt(3);Dt(),Vl(c.notFoundText)}}function jWe(m,v){}function GWe(m,v){if(m&1&&Fr(0,UWe,2,1,"ng-template",null,7,zb)(2,jWe,0,0,"ng-template",12),m&2){let c=Cu(1),f=Pt(2);Dt(2),sn("ngTemplateOutlet",f.notFoundTemplate||c)("ngTemplateOutletContext",W1(2,AX,f.searchTerm))}}function VWe(m,v){if(m&1&&(Bt(0,"div",35),Wi(1),qt()),m&2){let c=Pt(3);Dt(),Vl(c.typeToSearchText)}}function YWe(m,v){}function XWe(m,v){if(m&1&&Fr(0,VWe,2,1,"ng-template",null,8,zb)(2,YWe,0,0,"ng-template",19),m&2){let c=Cu(1),f=Pt(2);Dt(2),sn("ngTemplateOutlet",f.typeToSearchTemplate||c)}}function QWe(m,v){if(m&1&&(Bt(0,"div",35),Wi(1),qt()),m&2){let c=Pt(3);Dt(),Vl(c.loadingText)}}function KWe(m,v){}function $We(m,v){if(m&1&&Fr(0,QWe,2,1,"ng-template",null,9,zb)(2,KWe,0,0,"ng-template",12),m&2){let c=Cu(1),f=Pt(2);Dt(2),sn("ngTemplateOutlet",f.loadingTextTemplate||c)("ngTemplateOutletContext",W1(2,AX,f.searchTerm))}}function ZWe(m,v){if(m&1){let c=Do();Bt(0,"ng-dropdown-panel",28),ti("update",function(I){Jn(c);let D=Pt();return On(D.viewPortItems=I)})("scroll",function(I){Jn(c);let D=Pt();return On(D.scroll.emit(I))})("scrollToEnd",function(I){Jn(c);let D=Pt();return On(D.scrollToEnd.emit(I))})("outsideClick",function(){Jn(c);let I=Pt();return On(I.close())}),fI(1),$0(2,kWe,4,24,"div",29,FO().trackByOption,!0),Ji(4,WWe,4,6,"div",30),hI(),Ji(5,GWe,3,4),Ji(6,XWe,3,1),Ji(7,$We,3,4),qt()}if(m&2){let c=Pt();Tr("ng-select-multiple",c.multiple),sn("virtualScroll",c.virtualScroll)("bufferAmount",c.bufferAmount)("appendTo",c.appendTo)("position",c.dropdownPosition)("headerTemplate",c.headerTemplate)("footerTemplate",c.footerTemplate)("filterValue",c.searchTerm)("items",c.itemsList.filteredItems)("markedItem",c.itemsList.markedItem)("ngClass",c.appendTo?c.ngClass?c.ngClass:c.classes:null)("id",c.dropdownId)("ariaLabelDropdown",c.ariaLabelDropdown),Dt(2),Z0(c.viewPortItems),Dt(2),Oi(c.showAddTag?4:-1),Dt(),Oi(c.showNoItemsFound()?5:-1),Dt(),Oi(c.showTypeToSearch()?6:-1),Dt(),Oi(c.loading&&c.itemsList.filteredItems.length===0?7:-1)}}function JWe(m,v){if(m&1&&Wi(0),m&2){let c=Pt();ir(" ",c.notFoundText," ")}}var aAe=/[&<>"']/g,OWe=RegExp(aAe.source),eUe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function tUe(m){return m&&OWe.test(m)?m.replace(aAe,v=>eUe[v]):m}function Yc(m){return m!=null}function wX(m){return typeof m=="object"&&Yc(m)}function nUe(m){return m instanceof Promise}function Dee(m){return m instanceof Function}var iUe=(()=>{let v=class v{constructor(f){this.element=f,this.escape=!0}ngOnChanges(f){this.element.nativeElement.innerHTML=this.escape?tUe(this.ngItemLabel):this.ngItemLabel}};v.\u0275fac=function(I){return new(I||v)(Cr(Pr))},v.\u0275dir=Dr({type:v,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[_s]});let m=v;return m})(),oUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-option-tmp",""]]});let m=v;return m})(),rUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-optgroup-tmp",""]]});let m=v;return m})(),lUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-label-tmp",""]]});let m=v;return m})(),aUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-multi-label-tmp",""]]});let m=v;return m})(),sUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-header-tmp",""]]});let m=v;return m})(),uUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-footer-tmp",""]]});let m=v;return m})(),dUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-notfound-tmp",""]]});let m=v;return m})(),cUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-placeholder-tmp",""]]});let m=v;return m})(),vUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-typetosearch-tmp",""]]});let m=v;return m})(),pUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-loadingtext-tmp",""]]});let m=v;return m})(),fUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-tag-tmp",""]]});let m=v;return m})(),hUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-loadingspinner-tmp",""]]});let m=v;return m})(),mUe=(()=>{let v=class v{constructor(f){this.template=f}};v.\u0275fac=function(I){return new(I||v)(Cr(i0))},v.\u0275dir=Dr({type:v,selectors:[["","ng-clearbutton-tmp",""]]});let m=v;return m})();function sAe(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var bUe={"\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 Cee(m){let v=c=>bUe[c]||c;return m.replace(/[^\u0000-\u007E]/g,v)}var bce=class{constructor(v,c){this._ngSelect=v,this._selectionModel=c,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 v=this.selectedItems.length-1;for(;v>=0;v--){let c=this.selectedItems[v];if(!c.disabled)return c}return null}setItems(v){this._items=v.map((c,f)=>this.mapItem(c,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(v){if(v.selected||this.maxItemsSelected)return;let c=this._ngSelect.multiple;c||this.clearSelected(),this._selectionModel.select(v,c,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(v)}unselect(v){v.selected&&(this._selectionModel.unselect(v,this._ngSelect.multiple),this._ngSelect.hideSelected&&Yc(v.index)&&this._ngSelect.multiple&&this._showSelected(v))}findItem(v){let c;return this._ngSelect.compareWith?c=f=>this._ngSelect.compareWith(f.value,v):this._ngSelect.bindValue?c=f=>!f.children&&this.resolveNested(f.value,this._ngSelect.bindValue)===v:c=f=>f.value===v||!f.children&&f.label&&f.label===this.resolveNested(v,this._ngSelect.bindLabel),this._items.find(f=>c(f))}addItem(v){let c=this.mapItem(v,this._items.length);return this._items.push(c),this._filteredItems.push(c),c}clearSelected(v=!1){this._selectionModel.clear(v),this._items.forEach(c=>{c.selected=v&&c.selected&&c.disabled,c.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(v){return v=Cee(v).toLocaleLowerCase(),this.filteredItems.find(c=>Cee(c.label).toLocaleLowerCase().substr(0,v.length)===v)}filter(v){if(!v){this.resetFilteredItems();return}this._filteredItems=[],v=this._ngSelect.searchFn?v:Cee(v).toLocaleLowerCase();let c=this._ngSelect.searchFn||this._defaultSearchFn,f=this._ngSelect.hideSelected;for(let I of Array.from(this._groups.keys())){let D=[];for(let W of this._groups.get(I)){if(f&&(W.parent&&W.parent.selected||W.selected))continue;let ie=this._ngSelect.searchFn?W.value:W;c(v,ie)&&D.push(W)}if(D.length>0){let[W]=D.slice(-1);if(W.parent){let ie=this._items.find(ne=>ne===W.parent);this._filteredItems.push(ie)}this._filteredItems.push(...D)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(v=>!v.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(v){this._markedIndex=this._filteredItems.indexOf(v)}markSelectedOrDefault(v){if(this._filteredItems.length===0)return;let c=this._getLastMarkedIndex();c>-1?this._markedIndex=c:this._markedIndex=v?this.filteredItems.findIndex(f=>!f.disabled):-1}resolveNested(v,c){if(!wX(v))return v;if(c.indexOf(".")===-1)return v[c];{let f=c.split("."),I=v;for(let D=0,W=f.length;D<W;++D){if(I==null)return null;I=I[f[D]]}return I}}mapItem(v,c){let f=Yc(v.$ngOptionLabel)?v.$ngOptionLabel:this.resolveNested(v,this._ngSelect.bindLabel),I=Yc(v.$ngOptionValue)?v.$ngOptionValue:v;return{index:c,label:Yc(f)?f.toString():"",value:I,disabled:v.disabled,htmlId:`${this._ngSelect.dropdownId}-${c}`}}mapSelectedItems(){let v=this._ngSelect.multiple;for(let c of this.selectedItems){let f=this._ngSelect.bindValue?this.resolveNested(c.value,this._ngSelect.bindValue):c.value,I=Yc(f)?this.findItem(f):null;this._selectionModel.unselect(c,v),this._selectionModel.select(I||c,v,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(c=>this.selectedItems.indexOf(c)===-1))}_showSelected(v){if(this._filteredItems.push(v),v.parent){let c=v.parent;this._filteredItems.find(I=>I===c)||this._filteredItems.push(c)}else if(v.children)for(let c of v.children)c.selected=!1,this._filteredItems.push(c);this._filteredItems=[...this._filteredItems.sort((c,f)=>c.index-f.index)]}_hideSelected(v){this._filteredItems=this._filteredItems.filter(c=>c!==v),v.parent?v.parent.children.every(f=>f.selected)&&(this._filteredItems=this._filteredItems.filter(f=>f!==v.parent)):v.children&&(this._filteredItems=this.filteredItems.filter(c=>c.parent!==v))}_defaultSearchFn(v,c){return Cee(c.label).toLocaleLowerCase().indexOf(v)>-1}_getNextItemIndex(v){return v>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(v){this._filteredItems.length===0||this._filteredItems.every(c=>c.disabled)||(this._markedIndex=this._getNextItemIndex(v),this.markedItem.disabled&&this._stepToItem(v))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let v=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&v<0?-1:Math.max(this.markedIndex,v)}_groupBy(v,c){let f=new Map;if(v.length===0)return f;if(Array.isArray(v[0].value[c])){for(let W of v){let ie=(W.value[c]||[]).map((ne,ye)=>this.mapItem(ne,ye));f.set(W,ie)}return f}let I=Dee(this._ngSelect.groupBy),D=W=>{let ie=I?c(W.value):W.value[c];return Yc(ie)?ie:void 0};for(let W of v){let ie=D(W),ne=f.get(ie);ne?ne.push(W):f.set(ie,[W])}return f}_flatten(v){let c=Dee(this._ngSelect.groupBy),f=[];for(let I of Array.from(v.keys())){let D=f.length;if(I===void 0){let qe=v.get(void 0)||[];f.push(...qe.map(Ke=>(Ke.index=D++,Ke)));continue}let W=wX(I),ie={label:W?"":String(I),children:void 0,parent:null,index:D++,disabled:!this._ngSelect.selectableGroup,htmlId:sAe()},ne=c?this._ngSelect.bindLabel:this._ngSelect.groupBy,ye=this._ngSelect.groupValue||(()=>W?I.value:{[ne]:I}),Ie=v.get(I).map(qe=>(qe.parent=ie,qe.children=void 0,qe.index=D++,qe));ie.children=Ie,ie.value=ye(I,Ie.map(qe=>qe.value)),f.push(ie),f.push(...Ie)}return f}},uAe=(()=>{let v=class v{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(f,I,D){let W=this._dimensions,ie=W.itemHeight*I,ye=Math.max(0,f)/ie*I,Ie=Math.min(I,Math.ceil(ye)+(W.itemsPerViewport+1)),Ke=Math.max(0,Ie-W.itemsPerViewport),Je=Math.min(Ke,Math.floor(ye)),Ct=W.itemHeight*Math.ceil(Je)-W.itemHeight*Math.min(Je,D);return Ct=isNaN(Ct)?0:Ct,Je=isNaN(Je)?-1:Je,Ie=isNaN(Ie)?-1:Ie,Je-=D,Je=Math.max(0,Je),Ie+=D,Ie=Math.min(I,Ie),{topPadding:Ct,scrollHeight:ie,start:Je,end:Ie}}setDimensions(f,I){let D=Math.max(1,Math.floor(I/f));this._dimensions={itemHeight:f,panelHeight:I,itemsPerViewport:D}}getScrollTo(f,I,D){let{panelHeight:W}=this.dimensions,ie=f+I,ne=D,ye=ne+W;return W>=ie&&D===f?null:ie>ye?ne+ie-ye:f<=ne?f:null}};v.\u0275fac=function(I){return new(I||v)},v.\u0275prov=bo({token:v,factory:v.\u0275fac});let m=v;return m})(),oAe=["top","right","bottom","left"],gUe=typeof requestAnimationFrame<"u"?rH:eJ,rAe=(()=>{let v=class v{constructor(f,I,D,W,ie){this._renderer=f,this._zone=I,this._panelService=D,this._document=ie,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.ariaLabelDropdown=au(null),this.update=new di,this.scroll=new di,this.scrollToEnd=new di,this.outsideClick=new di,this._destroy$=new mr,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=W.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(f){f!==this._itemsLength&&(this._itemsLength=f,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:f,panelHeight:I}=this._panelService.dimensions,D=this.markedItem.index*f;return I>D?0:D}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(f){if(f.items){let I=f.items;this._onItemsChange(I.currentValue,I.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(f,I=!1){if(!f)return;let D=this.items.indexOf(f);if(D<0||D>=this.itemsLength)return;let W;if(this.virtualScroll){let ie=this._panelService.dimensions.itemHeight;W=this._panelService.getScrollTo(D*ie,ie,this._lastScrollPosition)}else{let ie=this._dropdown.querySelector(`#${f.htmlId}`),ne=I?ie.offsetTop:this._lastScrollPosition;W=this._panelService.getScrollTo(ie.offsetTop,ie.clientHeight,ne)}Yc(W)&&(this._scrollablePanel.scrollTop=W)}scrollToTag(){let f=this._scrollablePanel;f.scrollTop=f.scrollHeight-f.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),oAe.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(f){oAe.forEach(D=>{let W=`ng-select-${D}`;this._renderer.removeClass(this._dropdown,W),this._renderer.removeClass(this._select,W)});let I=`ng-select-${f}`;this._renderer.addClass(this._dropdown,I),this._renderer.addClass(this._select,I)}_handleScroll(){this._zone.runOutsideAngular(()=>{PD(this.scrollElementRef.nativeElement,"scroll").pipe(Wc(this._destroy$),sH(0,gUe)).subscribe(f=>{let I=f.path||f.composedPath&&f.composedPath();if(!I||I.length===0&&!f.target)return;let D=!I||I.length===0?f.target.scrollTop:I[0].scrollTop;this._onContentScrolled(D)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Eb(PD(this._document,"touchstart",{capture:!0}),PD(this._document,"click",{capture:!0})).pipe(Wc(this._destroy$)).subscribe(f=>this._checkToClose(f))})}_checkToClose(f){if(this._select.contains(f.target)||this._dropdown.contains(f.target))return;let I=f.path||f.composedPath&&f.composedPath();f.target&&f.target.shadowRoot&&I&&I[0]&&this._select.contains(I[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(f,I){this.items=f||[],this._scrollToEndFired=!1,this.itemsLength=f.length,this.virtualScroll?this._updateItemsRange(I):(this._setVirtualHeight(),this._updateItems(I))}_updateItems(f){this.update.emit(this.items),f!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let I=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,I),this._handleDropdownPosition(),this.scrollTo(this.markedItem,f)})})}_updateItemsRange(f){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{f?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(f){this.virtualScroll&&this._renderItemsRange(f),this._lastScrollPosition=f,this._fireScrollToEnd(f)}_updateVirtualHeight(f){this._updateScrollHeight&&(this._virtualPadding.style.height=`${f}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(f=null){if(f&&this._lastScrollPosition===f)return;f=f||this._scrollablePanel.scrollTop;let I=this._panelService.calculateItems(f,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(I.scrollHeight),this._contentPanel.style.transform=`translateY(${I.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(I.start,I.end)),this.scroll.emit({start:I.start,end:I.end})}),Yc(f)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=f,this._lastScrollPosition=f)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[f]=this.items;return this.update.emit([f]),Promise.resolve().then(()=>{let D=this._dropdown.querySelector(`#${f.htmlId}`).clientHeight;this._virtualPadding.style.height=`${D*this.itemsLength}px`;let W=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(D,W),this._panelService.dimensions})}_fireScrollToEnd(f){if(this._scrollToEndFired||f===0)return;let I=this.virtualScroll?this._virtualPadding:this._contentPanel;f+this._dropdown.clientHeight>=I.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(f){if(this.position!=="auto")return this.position;let I=this._select.getBoundingClientRect(),D=document.documentElement.scrollTop||document.body.scrollTop,W=I.top+window.pageYOffset,ie=I.height,ne=f.getBoundingClientRect().height;return W+ie+ne>D+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo):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 f=this._select.getBoundingClientRect(),I=this._parent.getBoundingClientRect(),D=document.documentElement.dir==="rtl",W=f.left-I.left;if(D){let ie=I.right-f.right;this._dropdown.style.right=ie+"px",this._dropdown.style.left="auto"}else this._dropdown.style.left=W+"px",this._dropdown.style.right="auto";this._dropdown.style.width=f.width+"px",this._dropdown.style.minWidth=f.width+"px"}_updateYPosition(){let f=this._select.getBoundingClientRect(),I=this._parent.getBoundingClientRect(),D=f.height;if(this._currentPosition==="top"){let W=I.bottom-f.bottom;this._dropdown.style.bottom=W+D+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let W=f.top-I.top;this._dropdown.style.top=W+D+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{PD(this._dropdown,"mousedown").pipe(Wc(this._destroy$)).subscribe(f=>{f.target.tagName!=="INPUT"&&f.preventDefault()})})}};v.\u0275fac=function(I){return new(I||v)(Cr(H1),Cr(sa),Cr(uAe),Cr(Pr),Cr(u0,8))},v.\u0275cmp=Fi({type:v,selectors:[["ng-dropdown-panel"]],viewQuery:function(I,D){if(I&1&&(ha(cWe,7,Pr),ha(vWe,7,Pr),ha(pWe,7,Pr)),I&2){let W;dl(W=cl())&&(D.contentElementRef=W.first),dl(W=cl())&&(D.scrollElementRef=W.first),dl(W=cl())&&(D.paddingElementRef=W.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",br],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue",ariaLabelDropdown:[1,"ariaLabelDropdown"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[_s],ngContentSelectors:lAe,decls:9,vars:7,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(I,D){I&1&&(Ls(),Ji(0,fWe,2,4,"div",3),Bt(1,"div",4,0),Xi(3,"div",null,1),Bt(5,"div",null,2),o0(7),qt()(),Ji(8,hWe,2,4,"div",5)),I&2&&(Oi(D.headerTemplate?0:-1),Dt(),nl("aria-label",D.ariaLabelDropdown()),Dt(2),Tr("total-padding",D.virtualScroll),Dt(2),Tr("scrollable-content",D.virtualScroll&&D.items.length),Dt(3),Oi(D.footerTemplate?8:-1))},dependencies:[yA],encapsulation:2,changeDetection:0});let m=v;return m})(),OT=(()=>{let v=class v{constructor(f){this.elementRef=f,this.disabled=!1,this.stateChange$=new mr}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(f){f.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()}};v.\u0275fac=function(I){return new(I||v)(Cr(Pr))},v.\u0275cmp=Fi({type:v,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",br]},features:[_s],ngContentSelectors:lAe,decls:1,vars:0,template:function(I,D){I&1&&(Ls(),o0(0))},encapsulation:2,changeDetection:0});let m=v;return m})(),IA=function(m){return m.Tab="Tab",m.Enter="Enter",m.Esc="Escape",m.Space=" ",m.ArrowUp="ArrowUp",m.ArrowDown="ArrowDown",m.Backspace="Backspace",m}(IA||{});function dAe(){return new gce}var gce=class{constructor(){this._selected=[]}get value(){return this._selected}select(v,c,f){if(v.selected=!0,(!v.children||!c&&f)&&this._selected.push(v),c)if(v.parent){let I=v.parent.children.length,D=v.parent.children.filter(W=>W.selected).length;v.parent.selected=I===D}else v.children&&(this._setChildrenSelectedState(v.children,!0),this._removeChildren(v),f&&this._activeChildren(v)?this._selected=[...this._selected.filter(I=>I.parent!==v),v]:this._selected=[...this._selected,...v.children.filter(I=>!I.disabled)])}unselect(v,c){if(this._selected=this._selected.filter(f=>f!==v),v.selected=!1,c)if(v.parent&&v.parent.selected){let f=v.parent.children;this._removeParent(v.parent),this._removeChildren(v.parent),this._selected.push(...f.filter(I=>I!==v&&!I.disabled)),v.parent.selected=!1}else v.children&&(this._setChildrenSelectedState(v.children,!1),this._removeChildren(v))}clear(v){this._selected=v?this._selected.filter(c=>c.disabled):[]}_setChildrenSelectedState(v,c){for(let f of v)f.disabled||(f.selected=c)}_removeChildren(v){this._selected=[...this._selected.filter(c=>c.parent!==v),...v.children.filter(c=>c.parent===v&&c.disabled&&c.selected)]}_removeParent(v){this._selected=this._selected.filter(c=>c!==v)}_activeChildren(v){return v.children.every(c=>!c.disabled||c.selected)}},yUe=(()=>{let v=class v{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",this.tabFocusOnClear=!0}};v.\u0275fac=function(I){return new(I||v)},v.\u0275prov=bo({token:v,factory:v.\u0275fac,providedIn:"root"});let m=v;return m})(),MUe=(()=>{let v=class v{warn(f){console.warn(f)}};v.\u0275fac=function(I){return new(I||v)},v.\u0275prov=bo({token:v,factory:v.\u0275fac,providedIn:"root"});let m=v;return m})(),cAe=new Go("ng-select-selection-model"),oR=(()=>{let v=class v{constructor(f,I,D,W,ie,ne,ye){this.classes=f,this.autoFocus=I,this.config=D,this._cd=ne,this._console=ye,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.tabFocusOnClearButton=au(),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 di,this.focusEvent=new di,this.changeEvent=new di,this.openEvent=new di,this.closeEvent=new di,this.searchEvent=new di,this.clearEvent=new di,this.addEvent=new di,this.removeEvent=new di,this.scroll=new di,this.scrollToEnd=new di,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=sAe(),this.escapeHTML=!0,this.tabFocusOnClear=Wr(!0),this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new mr,this._keyPress$=new mr,this._items=[],this.keyDownFn=Ie=>!0,this.clearItem=Ie=>{let qe=this.selectedItems.find(Ke=>Ke.value===Ie);this.unselect(qe)},this.trackByOption=(Ie,qe)=>this.trackByFn?this.trackByFn(qe.value):qe,this._onChange=Ie=>{},this._onTouched=()=>{},this._mergeGlobalConfig(D),this.itemsList=new bce(this,W?W():dAe()),this.element=ie.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(f){this._itemsAreUsed=!0,this._items=f??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(f){if(f!=null&&!Dee(f))throw Error("`compareWith` must be a function.");this._compareWith=f}get clearSearchOnAdd(){return Yc(this._clearSearchOnAdd)?this._clearSearchOnAdd:Yc(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(f){this._clearSearchOnAdd=f}get deselectOnClick(){return Yc(this._deselectOnClick)?this._deselectOnClick:Yc(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(f){this._deselectOnClick=f}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(f=>f.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 f=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(I=>I.label.toLowerCase()===f)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(I=>I.label.toLowerCase()===f))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observed}get _validTerm(){let f=this.searchTerm?.trim();return f&&f.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(f){f.multiple&&this.itemsList.clearSelected(),f.items&&this._setItems(f.items.currentValue||[]),f.isOpen&&(this._manualOpen=Yc(f.isOpen.currentValue)),f.groupBy&&(f.items||this._setItems([...this.items])),f.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Yc(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(f){let I=f.key;if(Object.values(IA).includes(I)){if(this.keyDownFn(f)===!1)return;this.handleKeyCode(f)}else I&&I.length===1&&this._keyPress$.next(I.toLocaleLowerCase())}handleKeyCode(f){let I=f.target;this.clearButton&&this.clearButton.nativeElement===I?this.handleKeyCodeClear(f):this.handleKeyCodeInput(f)}handleKeyCodeInput(f){switch(f.key){case IA.ArrowDown:this._handleArrowDown(f);break;case IA.ArrowUp:this._handleArrowUp(f);break;case IA.Space:this._handleSpace(f);break;case IA.Enter:this._handleEnter(f);break;case IA.Tab:this._handleTab(f);break;case IA.Esc:this.close(),f.preventDefault();break;case IA.Backspace:this._handleBackspace();break}}handleKeyCodeClear(f){switch(f.key){case IA.Enter:this.handleClearClick(),f.preventDefault();break}}handleMousedown(f){if(this.disabled)return;if(this.preventToggleOnRightClick&&f.button===2)return!1;let I=f.target;if(I.tagName!=="INPUT"&&f.preventDefault(),I.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(I.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}I.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(f){this.itemsList.clearSelected(),this._handleWriteValue(f),this._cd.markForCheck()}registerOnChange(f){this._onChange=f}registerOnTouched(f){this._onTouched=f}setDisabledState(f){this._disabled=f,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(f){!f||f.disabled||this.disabled||(this.deselectOnClick&&f.selected?this.unselect(f):this.select(f),this._editableSearchTerm&&this._setSearchTermFromItems())}select(f){f.selected||(this.itemsList.select(f),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(f.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(f){f&&(this.itemsList.unselect(f),this.focus(),this._updateNgModel(),this.removeEvent.emit(f.value),this._onSelectionChanged())}selectTag(){let f;Dee(this.addTag)?f=this.addTag(this.searchTerm):f=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let I=D=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(D,null):this.itemsList.addItem(D);nUe(f)?f.then(D=>this.select(I(D))).catch(()=>{}):f&&this.select(I(f))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let f=this.itemsList.filteredItems.length===0;return(f&&!this._isTypeahead&&!this.loading||f&&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(f){this._isComposing=!1,!this.searchWhileComposing&&this.filter(f)}filter(f){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=f,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(f),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:f,items:this.itemsList.filteredItems.map(I=>I.value)}),this.open())}onInputFocus(f){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(f),this.focused=!0)}onInputBlur(f){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(f),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(f){f.disabled||this.itemsList.markItem(f)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let f=this.selectedItems?.[0];this.searchTerm=f?.label??null}_setItems(f){let I=f[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Yc(I)?!wX(I):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(f),f.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Yc(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let f=D=>{this.items=D.map(W=>({$ngOptionValue:W.value,$ngOptionLabel:W.elementRef.nativeElement.innerHTML,disabled:W.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},I=()=>{let D=Eb(this.ngOptions.changes,this._destroy$);Eb(...this.ngOptions.map(W=>W.stateChange$)).pipe(Wc(D)).subscribe(W=>{let ie=this.itemsList.findItem(W.value);ie.disabled=W.disabled,ie.label=W.label||ie.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Cg(this.ngOptions),Wc(this._destroy$)).subscribe(D=>{this.bindLabel=this._defaultLabel,f(D),I()})}_isValidWriteValue(f){if(!Yc(f)||this.multiple&&f===""||Array.isArray(f)&&f.length===0)return!1;let I=D=>!Yc(this.compareWith)&&wX(D)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(D)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(f)?f.every(D=>I(D)):(this._console.warn("Multiple select ngModel should be array."),!1):I(f)}_handleWriteValue(f){if(!this._isValidWriteValue(f))return;let I=D=>{let W=this.itemsList.findItem(D);if(W)this.itemsList.select(W);else{let ie=wX(D),ne=!ie&&!this.bindValue;ie||ne?this.itemsList.select(this.itemsList.mapItem(D,null)):this.bindValue&&(W={[this.bindLabel]:null,[this.bindValue]:D},this.itemsList.select(this.itemsList.mapItem(W,null)))}};this.multiple?f.forEach(D=>I(D)):I(f)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(Wc(this._destroy$),nI(f=>this._pressedKeys.push(f)),WN(200),sh(()=>this._pressedKeys.length>0),Xa(()=>this._pressedKeys.join(""))).subscribe(f=>{let I=this.itemsList.findByLabel(f);I&&(this.isOpen?(this.itemsList.markItem(I),this._scrollToMarked(),this._cd.markForCheck()):this.select(I)),this._pressedKeys=[]})}_setInputAttributes(){let f=this.searchInput.nativeElement,I=rl({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs);for(let D of Object.keys(I))f.setAttribute(D,I[D])}_setTabFocusOnClear(){this.tabFocusOnClear.set(Yc(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){let f=[];for(let D of this.selectedItems)if(this.bindValue){let W=null;if(D.children){let ie=this.groupValue?this.bindValue:this.groupBy;W=D.value[ie||this.groupBy]}else W=this.itemsList.resolveNested(D.value,this.bindValue);f.push(W)}else f.push(D.value);let I=this.selectedItems.map(D=>D.value);this.multiple?(this._onChange(f),this.changeEvent.emit(I)):(this._onChange(Yc(f[0])?f[0]:null),this.changeEvent.emit(I[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(f){this.searchTerm=f,this._isTypeahead&&this.typeahead.next(f)}_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(f){if(this.isOpen===!1){if(this.showClear()&&!f.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),f.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),f.preventDefault()):this.showAddTag?(this.selectTag(),f.preventDefault()):this.close():this.close()}_handleEnter(f){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;f.preventDefault()}_handleSpace(f){this.isOpen||this._manualOpen||(this.open(),f.preventDefault())}_handleArrowDown(f){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),f.preventDefault()}_handleArrowUp(f){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),f.preventDefault())}_nextItemIsTag(f){let I=this.itemsList.markedIndex+f;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(I<0||I===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(f){this.placeholder=this.placeholder||f.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||f.fixedPlaceholder,this.notFoundText=this.notFoundText||f.notFoundText,this.typeToSearchText=this.typeToSearchText||f.typeToSearchText,this.addTagText=this.addTagText||f.addTagText,this.loadingText=this.loadingText||f.loadingText,this.clearAllText=this.clearAllText||f.clearAllText,this.virtualScroll=this.getVirtualScroll(f),this.openOnEnter=Yc(this.openOnEnter)?this.openOnEnter:f.openOnEnter,this.appendTo=this.appendTo||f.appendTo,this.bindValue=this.bindValue||f.bindValue,this.bindLabel=this.bindLabel||f.bindLabel,this.appearance=this.appearance||f.appearance,this._setTabFocusOnClear()}getVirtualScroll(f){return Yc(this.virtualScroll)?this.virtualScroll:this.isVirtualScrollDisabled(f)}isVirtualScrollDisabled(f){return Yc(f.disableVirtualScroll)?!f.disableVirtualScroll:!1}};v.\u0275fac=function(I){return new(I||v)(zH("class"),zH("autofocus"),Cr(yUe),Cr(cAe,8),Cr(Pr),Cr(Js),Cr(MUe))},v.\u0275cmp=Fi({type:v,selectors:[["ng-select"]],contentQueries:function(I,D,W){if(I&1&&(Ov(W,oUe,5,i0),Ov(W,rUe,5,i0),Ov(W,lUe,5,i0),Ov(W,aUe,5,i0),Ov(W,sUe,5,i0),Ov(W,uUe,5,i0),Ov(W,dUe,5,i0),Ov(W,cUe,5,i0),Ov(W,vUe,5,i0),Ov(W,pUe,5,i0),Ov(W,fUe,5,i0),Ov(W,hUe,5,i0),Ov(W,mUe,5,i0),Ov(W,OT,5)),I&2){let ie;dl(ie=cl())&&(D.optionTemplate=ie.first),dl(ie=cl())&&(D.optgroupTemplate=ie.first),dl(ie=cl())&&(D.labelTemplate=ie.first),dl(ie=cl())&&(D.multiLabelTemplate=ie.first),dl(ie=cl())&&(D.headerTemplate=ie.first),dl(ie=cl())&&(D.footerTemplate=ie.first),dl(ie=cl())&&(D.notFoundTemplate=ie.first),dl(ie=cl())&&(D.placeholderTemplate=ie.first),dl(ie=cl())&&(D.typeToSearchTemplate=ie.first),dl(ie=cl())&&(D.loadingTextTemplate=ie.first),dl(ie=cl())&&(D.tagTemplate=ie.first),dl(ie=cl())&&(D.loadingSpinnerTemplate=ie.first),dl(ie=cl())&&(D.clearButtonTemplate=ie.first),dl(ie=cl())&&(D.ngOptions=ie)}},viewQuery:function(I,D){if(I&1&&(ha(rAe,5),ha(mWe,7),ha(bWe,5)),I&2){let W;dl(W=cl())&&(D.dropdownPanel=W.first),dl(W=cl())&&(D.searchInput=W.first),dl(W=cl())&&(D.clearButton=W.first)}},hostVars:20,hostBindings:function(I,D){I&1&&ti("keydown",function(ie){return D.handleKeyDown(ie)}),I&2&&Tr("ng-select-typeahead",D.typeahead)("ng-select-multiple",D.multiple)("ng-select-taggable",D.addTag)("ng-select-searchable",D.searchable)("ng-select-clearable",D.clearable)("ng-select-opened",D.isOpen)("ng-select",D.useDefaultClass)("ng-select-filtered",D.filtered)("ng-select-single",D.single)("ng-select-disabled",D.disabled)},inputs:{ariaLabelDropdown:"ariaLabelDropdown",bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",br],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",br],closeOnSelect:[2,"closeOnSelect","closeOnSelect",br],hideSelected:[2,"hideSelected","hideSelected",br],selectOnTab:[2,"selectOnTab","selectOnTab",br],openOnEnter:[2,"openOnEnter","openOnEnter",br],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",xg],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",xg],virtualScroll:[2,"virtualScroll","virtualScroll",br],selectableGroup:[2,"selectableGroup","selectableGroup",br],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",br],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",br],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",xg],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],readonly:[2,"readonly","readonly",br],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",br],minTermLength:[2,"minTermLength","minTermLength",xg],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",br],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",br],addTag:"addTag",searchable:[2,"searchable","searchable",br],clearable:[2,"clearable","clearable",br],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:[vl([{provide:hh,useExisting:pd(()=>v),multi:!0},uAe]),_s],decls:15,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","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[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","ariaLabelDropdown"],[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(I,D){if(I&1){let W=Do();Bt(0,"div",10),ti("mousedown",function(ne){return Jn(W),On(D.handleMousedown(ne))}),Bt(1,"div",11),Ji(2,wWe,3,1),Ji(3,SWe,2,0),Ji(4,DWe,1,5,null,12),Bt(5,"div",13)(6,"input",14,0),ti("blur",function(ne){return Jn(W),On(D.onInputBlur(ne))})("change",function(ne){return Jn(W),On(ne.stopPropagation())})("compositionend",function(){Jn(W);let ne=Cu(7);return On(D.onCompositionEnd(ne.value))})("compositionstart",function(){return Jn(W),On(D.onCompositionStart())})("focus",function(ne){return Jn(W),On(D.onInputFocus(ne))})("input",function(){Jn(W);let ne=Cu(7);return On(D.filter(ne.value))}),qt()()(),Ji(8,zWe,3,1),Ji(9,PWe,2,1),Bt(10,"span",15),Xi(11,"span",16),qt()(),Ji(12,ZWe,8,18,"ng-dropdown-panel",17),Bt(13,"div",18),Ji(14,JWe,1,1),qt()}I&2&&(Tr("ng-appearance-outline",D.appearance==="outline")("ng-has-value",D.hasValue),Dt(2),Oi(D.selectedItems.length===0&&!D.searchTerm||D.fixedPlaceholder?2:-1),Dt(),Oi((!D.multiLabelTemplate||!D.multiple)&&D.selectedItems.length>0?3:-1),Dt(),Oi(D.multiple&&D.multiLabelTemplate&&D.selectedValues.length>0?4:-1),Dt(2),sn("disabled",D.disabled)("readOnly",!D.searchable||D.itemsList.maxItemsSelected)("value",D.searchTerm??""),nl("aria-activedescendant",D.isOpen?D.itemsList==null||D.itemsList.markedItem==null?null:D.itemsList.markedItem.htmlId:null)("aria-controls",D.isOpen?D.dropdownId:null)("aria-expanded",D.isOpen)("aria-label",D.ariaLabel)("id",D.labelForId)("tabindex",D.tabIndex),Dt(2),Oi(D.loading?8:-1),Dt(),Oi(D.showClear()?9:-1),Dt(3),Oi(D.isOpen?12:-1),Dt(2),Oi(D.isOpen&&D.showNoItemsFound()?14:-1))},dependencies:[yA,iUe,rAe,S0],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{position:relative;z-index:1001;-webkit-user-select:text;user-select:text;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}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
6039
- `],encapsulation:2,changeDetection:0});let m=v;return m})(),rR=(()=>{let v=class v{};v.\u0275fac=function(I){return new(I||v)},v.\u0275mod=Ua({type:v}),v.\u0275inj=Pa({providers:[{provide:cAe,useValue:dAe}]});let m=v;return m})();var aR=class{},vAe=(()=>{class m extends aR{getTranslation(c){return s0({})}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),gP=class{},pAe=(()=>{class m{handle(c){return c.key}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();function zee(m,v){if(m===v)return!0;if(m===null||v===null)return!1;if(m!==m&&v!==v)return!0;let c=typeof m,f=typeof v,I,D,W;if(c==f&&c=="object")if(Array.isArray(m)){if(!Array.isArray(v))return!1;if((I=m.length)==v.length){for(D=0;D<I;D++)if(!zee(m[D],v[D]))return!1;return!0}}else{if(Array.isArray(v))return!1;W=Object.create(null);for(D in m){if(!zee(m[D],v[D]))return!1;W[D]=!0}for(D in v)if(!(D in W)&&typeof v[D]<"u")return!1;return!0}return!1}function lR(m){return typeof m<"u"&&m!==null}function SX(m){return xee(m)&&!Tce(m)&&m!==null}function xee(m){return typeof m=="object"}function Tce(m){return Array.isArray(m)}function Ece(m){return typeof m=="string"}function _Ue(m){return typeof m=="function"}function yce(m,v){let c=Object.assign({},m);return xee(m)?(xee(m)&&xee(v)&&Object.keys(v).forEach(f=>{SX(v[f])?f in m?c[f]=yce(m[f],v[f]):Object.assign(c,{[f]:v[f]}):Object.assign(c,{[f]:v[f]})}),c):yce({},v)}function Mce(m,v){let c=v.split(".");v="";do v+=c.shift(),lR(m)&&lR(m[v])&&(SX(m[v])||Tce(m[v])||!c.length)?(m=m[v],v=""):c.length?v+=".":m=void 0;while(c.length);return m}function IUe(m,v,c){let f=v.split("."),I=m;for(let D=0;D<f.length;D++){let W=f[D];D===f.length-1?I[W]=c:((!I[W]||!SX(I[W]))&&(I[W]={}),I=I[W])}}var XH=class{},fAe=(()=>{class m extends XH{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(c,f){if(Ece(c))return this.interpolateString(c,f);if(_Ue(c))return this.interpolateFunction(c,f)}interpolateFunction(c,f){return c(f)}interpolateString(c,f){return f?c.replace(this.templateMatcher,(I,D)=>{let W=Mce(f,D);return lR(W)?W:I}):c}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),QH=class{},hAe=(()=>{class m extends QH{compile(c,f){return c}compileTranslations(c,f){return c}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),EX=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new di;onLangChange=new di;onDefaultLangChange=new di},_ce=new Go("ISOLATE_TRANSLATE_SERVICE"),Ice=new Go("USE_DEFAULT_LANG"),wce=new Go("DEFAULT_LANGUAGE"),Ace=new Go("USE_EXTEND"),TX=m=>Sg(m)?m:s0(m),Is=(()=>{class m{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(c){this.store.defaultLang=c}get currentLang(){return this.store.currentLang}set currentLang(c){this.store.currentLang=c}get langs(){return this.store.langs}set langs(c){this.store.langs=c}get translations(){return this.store.translations}set translations(c){this.store.translations=c}constructor(c,f,I,D,W,ie=!0,ne=!1,ye=!1,Ie){this.store=c,this.currentLoader=f,this.compiler=I,this.parser=D,this.missingTranslationHandler=W,this.useDefaultLang=ie,this.extend=ye,ne&&(this.store=new EX),Ie&&this.setDefaultLang(Ie)}setDefaultLang(c){if(c===this.defaultLang)return;let f=this.retrieveTranslations(c);typeof f<"u"?(this.defaultLang==null&&(this.defaultLang=c),f.pipe(vd(1)).subscribe(()=>{this.changeDefaultLang(c)})):this.changeDefaultLang(c)}getDefaultLang(){return this.defaultLang}use(c){if(this.lastUseLanguage=c,c===this.currentLang)return s0(this.translations[c]);this.currentLang||(this.currentLang=c);let f=this.retrieveTranslations(c);return Sg(f)?(f.pipe(vd(1)).subscribe(()=>{this.changeLang(c)}),f):(this.changeLang(c),s0(this.translations[c]))}changeLang(c){c===this.lastUseLanguage&&(this.currentLang=c,this.onLangChange.emit({lang:c,translations:this.translations[c]}),this.defaultLang==null&&this.changeDefaultLang(c))}retrieveTranslations(c){if(typeof this.translations[c]>"u"||this.extend)return this._translationRequests[c]=this._translationRequests[c]||this.loadAndCompileTranslations(c),this._translationRequests[c]}getTranslation(c){return this.loadAndCompileTranslations(c)}loadAndCompileTranslations(c){this.pending=!0;let f=this.currentLoader.getTranslation(c).pipe(cY(1),vd(1));return this.loadingTranslations=f.pipe(Xa(I=>this.compiler.compileTranslations(I,c)),cY(1),vd(1)),this.loadingTranslations.subscribe({next:I=>{this.translations[c]=this.extend&&this.translations[c]?rl(rl({},I),this.translations[c]):I,this.updateLangs(),this.pending=!1},error:I=>{this.pending=!1}}),f}setTranslation(c,f,I=!1){let D=this.compiler.compileTranslations(f,c);(I||this.extend)&&this.translations[c]?this.translations[c]=yce(this.translations[c],D):this.translations[c]=D,this.updateLangs(),this.onTranslationChange.emit({lang:c,translations:this.translations[c]})}getLangs(){return this.langs}addLangs(c){let f=c.filter(I=>!this.langs.includes(I));f.length>0&&(this.langs=[...this.langs,...f])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(c,f,I){let D;if(c&&(D=this.runInterpolation(Mce(c,f),I)),D===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(D=this.runInterpolation(Mce(this.translations[this.defaultLang],f),I)),D===void 0){let W={key:f,translateService:this};typeof I<"u"&&(W.interpolateParams=I),D=this.missingTranslationHandler.handle(W)}return D!==void 0?D:f}runInterpolation(c,f){if(Tce(c))return c.map(I=>this.runInterpolation(I,f));if(SX(c)){let I={};for(let D in c){let W=this.runInterpolation(c[D],f);W!==void 0&&(I[D]=W)}return I}else return this.parser.interpolate(c,f)}getParsedResult(c,f,I){if(f instanceof Array){let D={},W=!1;for(let ne of f)D[ne]=this.getParsedResultForKey(c,ne,I),W=W||Sg(D[ne]);if(!W)return D;let ie=f.map(ne=>TX(D[ne]));return dA(ie).pipe(Xa(ne=>{let ye={};return ne.forEach((Ie,qe)=>{ye[f[qe]]=Ie}),ye}))}return this.getParsedResultForKey(c,f,I)}get(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Sb(I=>TX(this.getParsedResult(I,c,f)))):TX(this.getParsedResult(this.translations[this.currentLang],c,f))}getStreamOnTranslationChange(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" is required and cannot be empty');return A3(MJ(()=>this.get(c,f)),this.onTranslationChange.pipe(qc(I=>{let D=this.getParsedResult(I.translations,c,f);return TX(D)})))}stream(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" required');return A3(MJ(()=>this.get(c,f)),this.onLangChange.pipe(qc(I=>{let D=this.getParsedResult(I.translations,c,f);return TX(D)})))}instant(c,f){if(!lR(c)||c.length===0)throw new Error('Parameter "key" is required and cannot be empty');let I=this.getParsedResult(this.translations[this.currentLang],c,f);return Sg(I)?Array.isArray(c)?c.reduce((D,W)=>(D[W]=W,D),{}):c:I}set(c,f,I=this.currentLang){IUe(this.translations[I],c,Ece(f)?this.compiler.compile(f,I):this.compiler.compileTranslations(f,I)),this.updateLangs(),this.onTranslationChange.emit({lang:I,translations:this.translations[I]})}changeDefaultLang(c){this.defaultLang=c,this.onDefaultLangChange.emit({lang:c,translations:this.translations[c]})}reloadLang(c){return this.resetLang(c),this.loadAndCompileTranslations(c)}resetLang(c){delete this._translationRequests[c],delete this.translations[c]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let c=this.getBrowserCultureLang();return c?c.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||m)(Cl(EX),Cl(aR),Cl(QH),Cl(XH),Cl(gP),Cl(Ice),Cl(_ce),Cl(Ace),Cl(wce))};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();var P0=(()=>{class m{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(c,f){this.translate=c,this._ref=f}updateValue(c,f,I){let D=W=>{this.value=W!==void 0?W:c,this.lastKey=c,this._ref.markForCheck()};if(I){let W=this.translate.getParsedResult(I,c,f);Sg(W)?W.subscribe(D):D(W)}this.translate.get(c,f).subscribe(D)}transform(c,...f){if(!c||!c.length)return c;if(zee(c,this.lastKey)&&zee(f,this.lastParams))return this.value;let I;if(lR(f[0])&&f.length)if(Ece(f[0])&&f[0].length){let D=f[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{I=JSON.parse(D)}catch(W){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${f[0]}`)}}else SX(f[0])&&(I=f[0]);return this.lastKey=c,this.lastParams=f,this.updateValue(c,I),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(D=>{this.lastKey&&D.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(c,I,D.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(D=>{this.lastKey&&(this.lastKey=null,this.updateValue(c,I,D.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(c,I))})),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||m)(Cr(Is,16),Cr(Js,16))};static \u0275pipe=Nv({name:"translate",type:m,pure:!1});static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();var fl=(()=>{class m{static forRoot(c={}){return{ngModule:m,providers:[c.loader||{provide:aR,useClass:vAe},c.compiler||{provide:QH,useClass:hAe},c.parser||{provide:XH,useClass:fAe},c.missingTranslationHandler||{provide:gP,useClass:pAe},EX,{provide:_ce,useValue:c.isolate},{provide:Ice,useValue:c.useDefaultLang},{provide:Ace,useValue:c.extend},{provide:wce,useValue:c.defaultLanguage},Is]}}static forChild(c={}){return{ngModule:m,providers:[c.loader||{provide:aR,useClass:vAe},c.compiler||{provide:QH,useClass:hAe},c.parser||{provide:XH,useClass:fAe},c.missingTranslationHandler||{provide:gP,useClass:pAe},{provide:_ce,useValue:c.isolate},{provide:Ice,useValue:c.useDefaultLang},{provide:Ace,useValue:c.extend},{provide:wce,useValue:c.defaultLanguage},Is]}}static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({})}return m})();var Lee=(()=>{let v=class v{set activeStep(f){this._activeStep=f,this.activeStepChange$.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange$=new mr}};v.\u0275fac=function(I){return new(I||v)},v.\u0275prov=bo({token:v,factory:v.\u0275fac,providedIn:"root"});let m=v;return m})();var g0=(()=>{let v=class v{constructor(){this.translateService=Qt(Is),this._selectedLanguage=Wr("en"),this._localizedStrings=Wr({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(f){this._selectedLanguage.set(f),this.translateService.use(f);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(I){console.error(I)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(f){this._localizedStrings.set(f),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,f)}catch(I){console.error(I)}}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[vl([Is])],decls:2,vars:0,template:function(I,D){I&1&&(Bt(0,"p"),Wi(1," localized widget works! "),qt())},dependencies:[pl,fl],encapsulation:3});let m=v;return m})();function wUe(m,v){m&1&&(Bt(0,"div",3),Wi(1),qt()),m&2&&(Dt(),ir(" ",v," "))}function AUe(m,v){if(m&1&&(Bt(0,"div",5),Wi(1),qt()),m&2){let c=v.$implicit;Dt(),ir(" ",c," ")}}function TUe(m,v){if(m&1&&(Bt(0,"div",4),$0(1,AUe,2,1,"div",5,jc),qt()),m&2){let c=Pt();Dt(),Z0(c.spinnerTexts())}}var Nee=(()=>{let v=class v{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=au(void 0),this.spinnerTexts=au(void 0),this.isSpinnerTextsArray=ip(()=>{let f=this.spinnerTexts();return!!(f&&typeof f=="object"&&Array.isArray(f)&&f.length)})}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",br],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",br],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",br],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(I,D){if(I&1&&(Bt(0,"div",0)(1,"div",1),Xi(2,"div",2),Ji(3,wUe,2,1,"div",3),Ji(4,TUe,3,0,"div",4),qt()()),I&2){let W;Dt(2),Tr("spinner-spin-active",D.spinnerSpinActive)("spinner-disabled",D.spinnerDisabled)("hover-enabled",D.spinnerHoverEnabled&&!D.spinnerDisabled),Dt(),Oi((W=D.spinnerText())?3:-1,W),Dt(),Oi(D.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}']});let m=v;return m})();var EUe=["*"];function SUe(m,v){m&1&&(Bt(0,"div",1)(1,"div",4)(2,"span"),Wi(3),qt()()()),m&2&&(Dt(3),Vl(v))}function CUe(m,v){if(m&1&&(Bt(0,"div",3),Xi(1,"lib-loading-spinner",5),qt()),m&2){let c=Pt();Dt(),sn("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",c.loadingSpinnerText)}}var KH=(()=>{let v=class v{constructor(){this.header=au(""),this.isLoading=au(!1),this.loadingSpinnerText=""}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:[1,"header"],isLoading:[1,"isLoading"],loadingSpinnerText:"loadingSpinnerText"},ngContentSelectors:EUe,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(I,D){if(I&1&&(Ls(),Bt(0,"div",0),Ji(1,SUe,4,1,"div",1),Bt(2,"div",2),o0(3),qt(),Ji(4,CUe,2,4,"div",3),qt()),I&2){let W;Dt(),Oi((W=D.header())?1:-1,W),Dt(3),Oi(D.isLoading()?4:-1)}},dependencies:[Nee],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)}
6039
+ `],encapsulation:2,changeDetection:0});let m=v;return m})(),rR=(()=>{let v=class v{};v.\u0275fac=function(I){return new(I||v)},v.\u0275mod=Ua({type:v}),v.\u0275inj=Pa({providers:[{provide:cAe,useValue:dAe}]});let m=v;return m})();var aR=class{},vAe=(()=>{class m extends aR{getTranslation(c){return s0({})}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),gP=class{},pAe=(()=>{class m{handle(c){return c.key}static \u0275fac=function(f){return new(f||m)};static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();function zee(m,v){if(m===v)return!0;if(m===null||v===null)return!1;if(m!==m&&v!==v)return!0;let c=typeof m,f=typeof v,I,D,W;if(c==f&&c=="object")if(Array.isArray(m)){if(!Array.isArray(v))return!1;if((I=m.length)==v.length){for(D=0;D<I;D++)if(!zee(m[D],v[D]))return!1;return!0}}else{if(Array.isArray(v))return!1;W=Object.create(null);for(D in m){if(!zee(m[D],v[D]))return!1;W[D]=!0}for(D in v)if(!(D in W)&&typeof v[D]<"u")return!1;return!0}return!1}function lR(m){return typeof m<"u"&&m!==null}function SX(m){return xee(m)&&!Tce(m)&&m!==null}function xee(m){return typeof m=="object"}function Tce(m){return Array.isArray(m)}function Ece(m){return typeof m=="string"}function _Ue(m){return typeof m=="function"}function yce(m,v){let c=Object.assign({},m);return xee(m)?(xee(m)&&xee(v)&&Object.keys(v).forEach(f=>{SX(v[f])?f in m?c[f]=yce(m[f],v[f]):Object.assign(c,{[f]:v[f]}):Object.assign(c,{[f]:v[f]})}),c):yce({},v)}function Mce(m,v){let c=v.split(".");v="";do v+=c.shift(),lR(m)&&lR(m[v])&&(SX(m[v])||Tce(m[v])||!c.length)?(m=m[v],v=""):c.length?v+=".":m=void 0;while(c.length);return m}function IUe(m,v,c){let f=v.split("."),I=m;for(let D=0;D<f.length;D++){let W=f[D];D===f.length-1?I[W]=c:((!I[W]||!SX(I[W]))&&(I[W]={}),I=I[W])}}var XH=class{},fAe=(()=>{class m extends XH{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(c,f){if(Ece(c))return this.interpolateString(c,f);if(_Ue(c))return this.interpolateFunction(c,f)}interpolateFunction(c,f){return c(f)}interpolateString(c,f){return f?c.replace(this.templateMatcher,(I,D)=>{let W=Mce(f,D);return lR(W)?W:I}):c}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),QH=class{},hAe=(()=>{class m extends QH{compile(c,f){return c}compileTranslations(c,f){return c}static \u0275fac=(()=>{let c;return function(I){return(c||(c=Uc(m)))(I||m)}})();static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})(),EX=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new di;onLangChange=new di;onDefaultLangChange=new di},_ce=new Go("ISOLATE_TRANSLATE_SERVICE"),Ice=new Go("USE_DEFAULT_LANG"),wce=new Go("DEFAULT_LANGUAGE"),Ace=new Go("USE_EXTEND"),TX=m=>Sg(m)?m:s0(m),Is=(()=>{class m{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(c){this.store.defaultLang=c}get currentLang(){return this.store.currentLang}set currentLang(c){this.store.currentLang=c}get langs(){return this.store.langs}set langs(c){this.store.langs=c}get translations(){return this.store.translations}set translations(c){this.store.translations=c}constructor(c,f,I,D,W,ie=!0,ne=!1,ye=!1,Ie){this.store=c,this.currentLoader=f,this.compiler=I,this.parser=D,this.missingTranslationHandler=W,this.useDefaultLang=ie,this.extend=ye,ne&&(this.store=new EX),Ie&&this.setDefaultLang(Ie)}setDefaultLang(c){if(c===this.defaultLang)return;let f=this.retrieveTranslations(c);typeof f<"u"?(this.defaultLang==null&&(this.defaultLang=c),f.pipe(vd(1)).subscribe(()=>{this.changeDefaultLang(c)})):this.changeDefaultLang(c)}getDefaultLang(){return this.defaultLang}use(c){if(this.lastUseLanguage=c,c===this.currentLang)return s0(this.translations[c]);this.currentLang||(this.currentLang=c);let f=this.retrieveTranslations(c);return Sg(f)?(f.pipe(vd(1)).subscribe(()=>{this.changeLang(c)}),f):(this.changeLang(c),s0(this.translations[c]))}changeLang(c){c===this.lastUseLanguage&&(this.currentLang=c,this.onLangChange.emit({lang:c,translations:this.translations[c]}),this.defaultLang==null&&this.changeDefaultLang(c))}retrieveTranslations(c){if(typeof this.translations[c]>"u"||this.extend)return this._translationRequests[c]=this._translationRequests[c]||this.loadAndCompileTranslations(c),this._translationRequests[c]}getTranslation(c){return this.loadAndCompileTranslations(c)}loadAndCompileTranslations(c){this.pending=!0;let f=this.currentLoader.getTranslation(c).pipe(cY(1),vd(1));return this.loadingTranslations=f.pipe(Xa(I=>this.compiler.compileTranslations(I,c)),cY(1),vd(1)),this.loadingTranslations.subscribe({next:I=>{this.translations[c]=this.extend&&this.translations[c]?rl(rl({},I),this.translations[c]):I,this.updateLangs(),this.pending=!1},error:I=>{this.pending=!1}}),f}setTranslation(c,f,I=!1){let D=this.compiler.compileTranslations(f,c);(I||this.extend)&&this.translations[c]?this.translations[c]=yce(this.translations[c],D):this.translations[c]=D,this.updateLangs(),this.onTranslationChange.emit({lang:c,translations:this.translations[c]})}getLangs(){return this.langs}addLangs(c){let f=c.filter(I=>!this.langs.includes(I));f.length>0&&(this.langs=[...this.langs,...f])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(c,f,I){let D;if(c&&(D=this.runInterpolation(Mce(c,f),I)),D===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(D=this.runInterpolation(Mce(this.translations[this.defaultLang],f),I)),D===void 0){let W={key:f,translateService:this};typeof I<"u"&&(W.interpolateParams=I),D=this.missingTranslationHandler.handle(W)}return D!==void 0?D:f}runInterpolation(c,f){if(Tce(c))return c.map(I=>this.runInterpolation(I,f));if(SX(c)){let I={};for(let D in c){let W=this.runInterpolation(c[D],f);W!==void 0&&(I[D]=W)}return I}else return this.parser.interpolate(c,f)}getParsedResult(c,f,I){if(f instanceof Array){let D={},W=!1;for(let ne of f)D[ne]=this.getParsedResultForKey(c,ne,I),W=W||Sg(D[ne]);if(!W)return D;let ie=f.map(ne=>TX(D[ne]));return dA(ie).pipe(Xa(ne=>{let ye={};return ne.forEach((Ie,qe)=>{ye[f[qe]]=Ie}),ye}))}return this.getParsedResultForKey(c,f,I)}get(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Sb(I=>TX(this.getParsedResult(I,c,f)))):TX(this.getParsedResult(this.translations[this.currentLang],c,f))}getStreamOnTranslationChange(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" is required and cannot be empty');return A3(MJ(()=>this.get(c,f)),this.onTranslationChange.pipe(qc(I=>{let D=this.getParsedResult(I.translations,c,f);return TX(D)})))}stream(c,f){if(!lR(c)||!c.length)throw new Error('Parameter "key" required');return A3(MJ(()=>this.get(c,f)),this.onLangChange.pipe(qc(I=>{let D=this.getParsedResult(I.translations,c,f);return TX(D)})))}instant(c,f){if(!lR(c)||c.length===0)throw new Error('Parameter "key" is required and cannot be empty');let I=this.getParsedResult(this.translations[this.currentLang],c,f);return Sg(I)?Array.isArray(c)?c.reduce((D,W)=>(D[W]=W,D),{}):c:I}set(c,f,I=this.currentLang){IUe(this.translations[I],c,Ece(f)?this.compiler.compile(f,I):this.compiler.compileTranslations(f,I)),this.updateLangs(),this.onTranslationChange.emit({lang:I,translations:this.translations[I]})}changeDefaultLang(c){this.defaultLang=c,this.onDefaultLangChange.emit({lang:c,translations:this.translations[c]})}reloadLang(c){return this.resetLang(c),this.loadAndCompileTranslations(c)}resetLang(c){delete this._translationRequests[c],delete this.translations[c]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let c=this.getBrowserCultureLang();return c?c.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||m)(Cl(EX),Cl(aR),Cl(QH),Cl(XH),Cl(gP),Cl(Ice),Cl(_ce),Cl(Ace),Cl(wce))};static \u0275prov=bo({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();var P0=(()=>{class m{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(c,f){this.translate=c,this._ref=f}updateValue(c,f,I){let D=W=>{this.value=W!==void 0?W:c,this.lastKey=c,this._ref.markForCheck()};if(I){let W=this.translate.getParsedResult(I,c,f);Sg(W)?W.subscribe(D):D(W)}this.translate.get(c,f).subscribe(D)}transform(c,...f){if(!c||!c.length)return c;if(zee(c,this.lastKey)&&zee(f,this.lastParams))return this.value;let I;if(lR(f[0])&&f.length)if(Ece(f[0])&&f[0].length){let D=f[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{I=JSON.parse(D)}catch(W){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${f[0]}`)}}else SX(f[0])&&(I=f[0]);return this.lastKey=c,this.lastParams=f,this.updateValue(c,I),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(D=>{this.lastKey&&D.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(c,I,D.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(D=>{this.lastKey&&(this.lastKey=null,this.updateValue(c,I,D.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(c,I))})),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||m)(Cr(Is,16),Cr(Js,16))};static \u0275pipe=Nv({name:"translate",type:m,pure:!1});static \u0275prov=bo({token:m,factory:m.\u0275fac})}return m})();var fl=(()=>{class m{static forRoot(c={}){return{ngModule:m,providers:[c.loader||{provide:aR,useClass:vAe},c.compiler||{provide:QH,useClass:hAe},c.parser||{provide:XH,useClass:fAe},c.missingTranslationHandler||{provide:gP,useClass:pAe},EX,{provide:_ce,useValue:c.isolate},{provide:Ice,useValue:c.useDefaultLang},{provide:Ace,useValue:c.extend},{provide:wce,useValue:c.defaultLanguage},Is]}}static forChild(c={}){return{ngModule:m,providers:[c.loader||{provide:aR,useClass:vAe},c.compiler||{provide:QH,useClass:hAe},c.parser||{provide:XH,useClass:fAe},c.missingTranslationHandler||{provide:gP,useClass:pAe},{provide:_ce,useValue:c.isolate},{provide:Ice,useValue:c.useDefaultLang},{provide:Ace,useValue:c.extend},{provide:wce,useValue:c.defaultLanguage},Is]}}static \u0275fac=function(f){return new(f||m)};static \u0275mod=Ua({type:m});static \u0275inj=Pa({})}return m})();var Lee=(()=>{let v=class v{set activeStep(f){this._activeStep=f,this.activeStepChange$.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange$=new mr}};v.\u0275fac=function(I){return new(I||v)},v.\u0275prov=bo({token:v,factory:v.\u0275fac,providedIn:"root"});let m=v;return m})();var g0=(()=>{let v=class v{constructor(){this.translateService=Qt(Is),this._selectedLanguage=Wr("en"),this._localizedStrings=Wr({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(f){console.log("[bimplus-webcomponent] selectedLanguage set to ",f),this._selectedLanguage.set(f),this.translateService.use(f);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(I){console.error(I)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(f){console.log("[bimplus-webcomponent] localizedStrings set to ",f),this._localizedStrings.set(f),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,f)}catch(I){console.error(I)}}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[vl([Is])],decls:2,vars:0,template:function(I,D){I&1&&(Bt(0,"p"),Wi(1," localized widget works! "),qt())},dependencies:[pl,fl],encapsulation:3});let m=v;return m})();function wUe(m,v){m&1&&(Bt(0,"div",3),Wi(1),qt()),m&2&&(Dt(),ir(" ",v," "))}function AUe(m,v){if(m&1&&(Bt(0,"div",5),Wi(1),qt()),m&2){let c=v.$implicit;Dt(),ir(" ",c," ")}}function TUe(m,v){if(m&1&&(Bt(0,"div",4),$0(1,AUe,2,1,"div",5,jc),qt()),m&2){let c=Pt();Dt(),Z0(c.spinnerTexts())}}var Nee=(()=>{let v=class v{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=au(void 0),this.spinnerTexts=au(void 0),this.isSpinnerTextsArray=ip(()=>{let f=this.spinnerTexts();return!!(f&&typeof f=="object"&&Array.isArray(f)&&f.length)})}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",br],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",br],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",br],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(I,D){if(I&1&&(Bt(0,"div",0)(1,"div",1),Xi(2,"div",2),Ji(3,wUe,2,1,"div",3),Ji(4,TUe,3,0,"div",4),qt()()),I&2){let W;Dt(2),Tr("spinner-spin-active",D.spinnerSpinActive)("spinner-disabled",D.spinnerDisabled)("hover-enabled",D.spinnerHoverEnabled&&!D.spinnerDisabled),Dt(),Oi((W=D.spinnerText())?3:-1,W),Dt(),Oi(D.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}']});let m=v;return m})();var EUe=["*"];function SUe(m,v){m&1&&(Bt(0,"div",1)(1,"div",4)(2,"span"),Wi(3),qt()()()),m&2&&(Dt(3),Vl(v))}function CUe(m,v){if(m&1&&(Bt(0,"div",3),Xi(1,"lib-loading-spinner",5),qt()),m&2){let c=Pt();Dt(),sn("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",c.loadingSpinnerText)}}var KH=(()=>{let v=class v{constructor(){this.header=au(""),this.isLoading=au(!1),this.loadingSpinnerText=""}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:[1,"header"],isLoading:[1,"isLoading"],loadingSpinnerText:"loadingSpinnerText"},ngContentSelectors:EUe,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(I,D){if(I&1&&(Ls(),Bt(0,"div",0),Ji(1,SUe,4,1,"div",1),Bt(2,"div",2),o0(3),qt(),Ji(4,CUe,2,4,"div",3),qt()),I&2){let W;Dt(),Oi((W=D.header())?1:-1,W),Dt(3),Oi(D.isLoading()?4:-1)}},dependencies:[Nee],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)}
6040
6040
  `],encapsulation:2});let m=v;return m})();var mAe={FILE:"file",TEXT:"text"};var bAe=(m,v,c)=>({$implicit:m,last:v,first:c}),DUe=(m,v,c,f)=>({$implicit:m,last:v,first:c,fileInput:f}),RUe=(m,v)=>v.id;function xUe(m,v){m&1&&ph(0)}function zUe(m,v){if(m&1&&Fr(0,xUe,1,0,"ng-container",4),m&2){let c=Pt(),f=c.$implicit,I=c.$index,D=c.$count;Pt();let W=Cu(4);sn("ngTemplateOutlet",W)("ngTemplateOutletContext",fh(2,bAe,f,I===D-1,I===0))}}function LUe(m,v){m&1&&ph(0)}function NUe(m,v){if(m&1&&Fr(0,LUe,1,0,"ng-container",4),m&2){let c=Pt(),f=c.$implicit,I=c.$index,D=c.$count;Pt();let W=Cu(6);sn("ngTemplateOutlet",W)("ngTemplateOutletContext",fh(2,bAe,f,I===D-1,I===0))}}function PUe(m,v){if(m&1&&Ji(0,zUe,1,6,"ng-container")(1,NUe,1,6,"ng-container"),m&2){let c,f=v.$implicit,I=Pt();Oi((c=f.type)===I.BimplusButtonType.FILE?0:1)}}function BUe(m,v){m&1&&ph(0)}function FUe(m,v){if(m&1){let c=Do();Bt(0,"input",5,2),ti("change",function(I){Jn(c);let D=Cu(1),W=Pt();return On(W.onChange(I,D))}),qt(),Fr(2,BUe,1,0,"ng-container",4)}if(m&2){let c=v.$implicit,f=v.last,I=v.first,D=Cu(1),W=Pt(),ie=Cu(6);sn("id",c.id),nl("multiple",W.isMultiple?!0:null),Dt(2),sn("ngTemplateOutlet",ie)("ngTemplateOutletContext",$Y(4,DUe,c,f,I,D))}}function kUe(m,v){if(m&1){let c=Do();Bt(0,"button",6),Xo(1,"async"),ti("click",function(){let I=Jn(c),D=I.$implicit,W=I.fileInput,ie=Pt();return On(W?W.click():ie._buttonClicked(D))}),Wi(2),qt()}if(m&2){let c=v.$implicit,f=v.last,I=v.first,D=Pt();Tr("last",f)("first",I)("primary-button",c.buttonStyle===void 0||c.buttonStyle==="primary")("secondary-button",c.buttonStyle==="secondary")("text-button",c.buttonType===void 0||c.buttonType==="text")("icon-button",c.buttonType==="icon")("combined-button",c.buttonType==="combined")("disabled",c.disabled===!0),sn("title",wl(c.tooltip))("disabled",D.isObservable(c.disabled)?!!Zo(1,20,c.disabled):!!c.disabled),Dt(2),ir(" ",c.title," ")}}var rp=(()=>{let v=class v extends g0{constructor(){super(...arguments),this.BimplusButtonType=mAe,this.isMultiple=!1,this.items=au([]),this.canUpdateObject=au(!1),this.fileChanged=new di,this.buttonClicked=new di}onChange(f,I){let D=f.target.files;D&&(this.fileChanged.emit(D),I.value="")}_buttonClicked(f){if(f.disabled&&this.isObservable(f.disabled)){f.disabled.pipe(vd(1)).subscribe(I=>{I||this.buttonClicked.emit({id:f.id})});return}f.disabled||this.buttonClicked.emit({id:f.id})}isObservable(f){return typeof f=="object"&&"subscribe"in f}};v.\u0275fac=(()=>{let f;return function(D){return(f||(f=Uc(v)))(D||v)}})(),v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-buttons-row"]],inputs:{isMultiple:"isMultiple",items:[1,"items"],canUpdateObject:[1,"canUpdateObject"]},outputs:{fileChanged:"fileChanged",buttonClicked:"buttonClicked"},features:[tl],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(I,D){I&1&&(Bt(0,"div",3),$0(1,PUe,2,1,null,null,RUe),qt(),Fr(3,FUe,3,9,"ng-template",null,0,zb)(5,kUe,3,22,"ng-template",null,1,zb)),I&2&&(Dt(),Z0(D.items()))},dependencies:[yA,lX],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}
6041
6041
  `],encapsulation:3});let m=v;return m})();var HUe=[[["lib-bimplus-connection-designer-results"]]],qUe=["lib-bimplus-connection-designer-results"];function WUe(m,v){if(m&1&&(Bt(0,"ng-option",12),Wi(1),qt()),m&2){let c=v.$implicit;sn("value",c),Dt(),Vl(c.name)}}function UUe(m,v){if(m&1){let c=Do();Bt(0,"div",7)(1,"ng-select",10),Xo(2,"translate"),np("ngModelChange",function(I){Jn(c);let D=Pt(2);return Fp(D.activeDesignCode,I)||(D.activeDesignCode=I),On(I)}),Fr(3,WUe,2,2,"ng-option",11),qt()()}if(m&2){let c=Pt(2);Dt(),tp("ngModel",c.activeDesignCode),sn("clearable",!1)("searchable",!1)("placeholder",Zo(2,5,c.chooseCode)),Dt(2),sn("ngForOf",c.designCodes)}}function jUe(m,v){m&1&&(Bt(0,"div",8),Wi(1),Xo(2,"translate"),qt()),m&2&&(Dt(),ir(" ",Zo(2,1,"_No_design_codes_defined")," "))}function GUe(m,v){if(m&1){let c=Do();Bt(0,"div",2)(1,"div",3),ti("click",function(){Jn(c);let I=Pt();return On(I.resetDesignCode())})("keypress",function(){Jn(c);let I=Pt();return On(I.resetDesignCode())}),qt()(),Bt(2,"div",4),Wi(3),Xo(4,"translate"),qt(),Bt(5,"div",5),Wi(6),Xo(7,"translate"),qt(),Bt(8,"div",6),Wi(9),Xo(10,"translate"),qt(),Ji(11,UUe,4,7,"div",7)(12,jUe,3,3,"div",8),Bt(13,"lib-bimplus-buttons-row",9),ti("buttonClicked",function(I){Jn(c);let D=Pt();return On(D.buttonClicked(I))}),qt()}if(m&2){let c=Pt();Dt(3),ir(" ",Zo(4,5,"_Select_the_code")," "),Dt(3),ir(" ",Zo(7,7,"_Activate_all_objects_to_make_a_connection")," "),Dt(3),ir(" ",Zo(10,9,"_Activate_all_objects_note")," "),Dt(2),Oi(c.designCodes.length>0?11:12),Dt(2),sn("items",c.buttonRowItems)}}function VUe(m,v){m&1&&o0(0)}var gAe=(()=>{let v=class v extends g0{constructor(){super(),this.connectionDesignerService=Qt(Lee),this.buttonRowItems=[],this.config=[],this.chooseCode="_Choose_a_design_code",this.designCodes=[{id:"0",name:"EN 1993-1-8 (Eurocode 3)",code:"EURO05",codeNumber:9},{id:"1",name:"AISC 360-22 (16th Ed.): LRFD",code:"LRFD16",codeNumber:19},{id:"2",name:"AISC 360-22 (16th Ed.): ASD",code:"ASD16",codeNumber:18},{id:"3",name:"CSA S16:19 (CISC 12th Ed.)",code:"CSA12",codeNumber:17}],this.currentDesignCode=null,this.designCodeChanged=new di,this._calculationCanBeStarted=!0,this.startCalculationClicked=new di,this.connectionDesignerService.activeStepChange$.subscribe(I=>{I===0&&this.resetDesignCode()})}ngOnInit(){this.config.push({id:"next",title:this.translateService.instant("_Next"),tooltip:this.translateService.instant("_Next"),disabled:!0,buttonStyle:"primary"}),this.buttonRowItems=this.config}set activeDesignCode(f){this.currentDesignCode=f,this.designCodeChanged.emit(this.currentDesignCode)}get activeDesignCode(){return this.currentDesignCode}_updateButtonState(f,I){let D=this.config.find(W=>W.id===f);D&&(D.disabled=I)}set calculationCanBeStarted(f){this._calculationCanBeStarted=f,this._updateButtonState("next",!f)}get calculationCanBeStarted(){return this._calculationCanBeStarted}buttonClicked(f){f.id==="next"&&(this.connectionDesignerService.activeStep=1,this._calculationCanBeStarted&&this.startCalculationClicked.emit())}resetDesignCode(){this.activeDesignCode=null}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-bimplus-connection-designer"]],inputs:{designCodes:"designCodes",currentDesignCode:"currentDesignCode",calculationCanBeStarted:"calculationCanBeStarted"},outputs:{designCodeChanged:"designCodeChanged",startCalculationClicked:"startCalculationClicked"},features:[vl([Is]),tl],ngContentSelectors:qUe,decls:5,vars:4,consts:[[3,"header"],[1,"connection-designer-content"],[1,"cross-button"],[1,"cross",3,"click","keypress"],[1,"title"],[1,"description"],[1,"note"],[1,"design-codes"],[1,"no-design-codes"],[3,"buttonClicked","items"],[1,"design-codes-dropdown",3,"ngModelChange","ngModel","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(I,D){I&1&&(Ls(HUe),Bt(0,"lib-bimplus-sidenav-drawer-content",0),Xo(1,"translate"),Bt(2,"div",1),Ji(3,GUe,14,11)(4,VUe,1,0),qt()()),I&2&&(sn("header",Zo(1,2,"_Connection_designer")),Dt(3),Oi(D.connectionDesignerService.activeStep===0?3:4))},dependencies:[pl,Gc,R3,R2,yI,rR,oR,OT,fl,P0,KH,rp],styles:[`@charset "UTF-8";.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}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;color:var(--host-text-color-enabled);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}lib-bimplus-sidenav-drawer-content{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);margin:1.4rem 2.2rem;display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.connection-designer-content>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content>.cross-button{display:none;flex-direction:row;justify-content:right;width:100%;height:1.6rem}.connection-designer-content>.cross-button>.cross{min-width:1.6rem;min-height:100%;background-image:url("./assets/bimplus_WebIcons_Cross.svg");background-repeat:no-repeat;background-position:center center;background-size:cover;cursor:pointer}.connection-designer-content>.title{padding-bottom:1rem;font-size:var(--title-font-size, 1.4rem);font-weight:var(--title-font-weight, 700);font-family:var(--title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif)}.connection-designer-content>.description{padding-bottom:1rem}.connection-designer-content>.note{padding-bottom:1rem}.connection-designer-content>.design-codes{padding-bottom:1rem;margin-bottom:.1rem;height:2.4rem}.connection-designer-content>.design-codes>.design-codes-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.connection-designer-content>.no-design-codes{display:block;width:100%;color:var(--connection-designer-content-no-design-codes-text-color-enabled);text-align:left;padding-bottom:.8rem}
6042
6042
  `],encapsulation:3});let m=v;return m})();var YUe=[[["lib-expansion-panel-header"]],"*"],XUe=["lib-expansion-panel-header","*"],wA=(()=>{let v=class v{constructor(){this.expanded=ZD(!0)}toggleExpand(){this.expanded.update(f=>!f)}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-expansion-panel"]],inputs:{expanded:[1,"expanded"]},outputs:{expanded:"expandedChange"},ngContentSelectors:XUe,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(I,D){I&1&&(Ls(YUe),Bt(0,"div",0)(1,"div",1)(2,"div",2),ti("click",function(){return D.toggleExpand()})("keypress",function(){return D.toggleExpand()}),qt(),Bt(3,"div",3),o0(4),qt()(),Bt(5,"div",4),o0(6,1),qt()()),I&2&&(Dt(2),sn("ngClass",D.expanded()?"open":"closed"),Dt(3),sn("ngClass",D.expanded()?"":"collapsed"))},dependencies:[pl,S0],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}']});let m=v;return m})();var QUe=["*",[["lib-expansion-panel-header-actions"]]],KUe=["*","lib-expansion-panel-header-actions"],AA=(()=>{let v=class v{constructor(){this.centerMenuButtonClass=!0}};v.\u0275fac=function(I){return new(I||v)},v.\u0275cmp=Fi({type:v,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(I,D){I&2&&Tr("expansion-panel-header-container",D.centerMenuButtonClass)},ngContentSelectors:KUe,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(I,D){I&1&&(Ls(QUe),Bt(0,"div",0),o0(1),qt(),Bt(2,"div"),o0(3,1),qt())},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%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-webcomponents",
3
- "version": "0.0.217",
3
+ "version": "0.0.218-logs-for-translation-test-01",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",