@smals-belgium-shared/vidis-diarynote 3.4.2-snapshot.8 → 3.4.2
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.
|
@@ -15,7 +15,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
|
|
|
15
15
|
`);return i>=0?n.slice(0,i):n}function kh(e,t){return e?t?`${e} ${t}`:e:t||""}var lX=St({__forward_ref__:St});function mn(e){return e.__forward_ref__=mn,e.toString=function(){return ta(this())},e}function ci(e){return v0(e)?e():e}function v0(e){return typeof e=="function"&&e.hasOwnProperty(lX)&&e.__forward_ref__===mn}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Et(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kp(e){return mg(e,b0)||mg(e,y0)}function mg(e,t){return e.hasOwnProperty(t)?e[t]:null}function cX(e){return e&&(e[b0]||e[y0])||null}function fg(e){return e&&(e.hasOwnProperty(gg)||e.hasOwnProperty(dX))?e[gg]:null}var b0=St({ɵprov:St}),gg=St({ɵinj:St}),y0=St({ngInjectableDef:St}),dX=St({ngInjectorDef:St}),$=class{constructor(e,t){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=q({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function _0(e){return e&&!!e.ɵproviders}var uX=St({ɵcmp:St}),hX=St({ɵdir:St}),pX=St({ɵpipe:St}),yc=St({ɵfac:St}),ns=St({__NG_ELEMENT_ID__:St}),vg=St({__NG_ENV_ID__:St});function Ma(e){return typeof e=="string"?e:e==null?"":String(e)}function mX(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ma(e)}function x0(e,t){throw new Z(-200,e)}function Zp(e,t){throw new Z(-201,!1)}var Ye=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ye||{}),Ch;function w0(){return Ch}function Ai(e){let t=Ch;return Ch=e,t}function S0(e,t,n){let i=Kp(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&Ye.Optional)return null;if(t!==void 0)return t;Zp()}var fX={},ur=fX,Dh="__NG_DI_FLAG__",E0=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?Ry:ur,n)}},_c="ngTempTokenPath",gX="ngTokenPath",vX=/\n/gm,bX="ɵ",bg="__source";function yX(e,t=Ye.Default){if(Jl()===void 0)throw new Z(-203,!1);if(Jl()===null)return S0(e,void 0,t);{let n=Jl(),i;return n instanceof E0?i=n.injector:i=n,i.get(e,t&Ye.Optional?null:void 0,t)}}function pe(e,t=Ye.Default){return(w0()||yX)(ci(e),t)}function S(e,t=Ye.Default){return pe(e,gd(t))}function gd(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ih(e){let t=[];for(let n=0;n<e.length;n++){let i=ci(e[n]);if(Array.isArray(i)){if(i.length===0)throw new Z(900,!1);let a,r=Ye.Default;for(let s=0;s<i.length;s++){let l=i[s],c=_X(l);typeof c=="number"?c===-1?a=l.token:r|=c:a=l}t.push(pe(a,r))}else t.push(pe(i))}return t}function k0(e,t){return e[Dh]=t,e.prototype[Dh]=t,e}function _X(e){return e[Dh]}function xX(e,t,n,i){let a=e[_c];throw t[bg]&&a.unshift(t[bg]),e.message=wX(`
|
|
16
16
|
`+e.message,a,n,i),e[gX]=a,e[_c]=null,e}function wX(e,t,n,i=null){e=e&&e.charAt(0)===`
|
|
17
17
|
`&&e.charAt(1)==bX?e.slice(2):e;let a=ta(t);if(Array.isArray(t))a=t.map(ta).join(" -> ");else if(typeof t=="object"){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):ta(l)))}a=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(vX,`
|
|
18
|
-
`)}`}var C0=k0(g0("Optional"),8),D0=k0(g0("SkipSelf"),4);function mr(e,t){return e.hasOwnProperty(yc)?e[yc]:null}function SX(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function EX(e){return e.flat(Number.POSITIVE_INFINITY)}function Xp(e,t){e.forEach(n=>Array.isArray(n)?Xp(n,t):t(n))}function I0(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kX(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function CX(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function vd(e,t,n){let i=Bs(e,t);return i>=0?e[i|1]=n:(i=~i,CX(e,i,t,n)),i}function gu(e,t){let n=Bs(e,t);if(n>=0)return e[n|1]}function Bs(e,t){return DX(e,t,1)}function DX(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?a=r:i=r+1}return~(a<<n)}var La={},Di=[],wc=new $(""),A0=new $("",-1),O0=new $(""),T0=class{get(e,t=ur){if(t===ur){let n=new Error(`NullInjectorError: No provider for ${ta(e)}!`);throw n.name="NullInjectorError",n}return t}};function no(e){return e[uX]||null}function N0(e){return e[hX]||null}function IX(e){return e[pX]||null}function Qp(e){return{ɵproviders:e}}function AX(...e){return{ɵproviders:M0(!0,e),ɵfromNgModule:!0}}function M0(e,...t){let n=[],i=new Set,a,r=s=>{n.push(s)};return Xp(t,s=>{let l=s;Ah(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&P0(a,r),n}function P0(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];Jp(a,r=>{t(r,i)})}}function Ah(e,t,n,i){if(e=ci(e),!e)return!1;let a=null,r=fg(e),s=!r&&no(e);if(!r&&!s){let c=e.ngModule;if(r=fg(c),r)a=c;else return!1}else{if(s&&!s.standalone)return!1;a=e}let l=i.has(a);if(s){if(l)return!1;if(i.add(a),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Ah(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{Xp(r.imports,u=>{Ah(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&P0(d,t)}if(!l){let d=mr(a)||(()=>new a);t({provide:a,useFactory:d,deps:Di},a),t({provide:O0,useValue:a,multi:!0},a),t({provide:wc,useValue:()=>pe(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;Jp(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function Jp(e,t){for(let n of e)_0(n)&&(n=n.ɵproviders),Array.isArray(n)?Jp(n,t):t(n)}var OX=St({provide:String,useValue:St});function R0(e){return e!==null&&typeof e=="object"&&OX in e}function TX(e){return!!(e&&e.useExisting)}function NX(e){return!!(e&&e.useFactory)}function ro(e){return typeof e=="function"}function MX(e){return!!e.useClass}var em=new $(""),ic={},yg={},vu;function bd(){return vu===void 0&&(vu=new T0),vu}var Va=class{},tm=class extends Va{constructor(t,n,i,a){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Th(t,s=>this.processProvider(s)),this.records.set(A0,Yr(void 0,this)),a.has("environment")&&this.records.set(Va,Yr(void 0,this));let r=this.records.get(em);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(O0,Di,Ye.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Ry:ur,i)}destroy(){Xo(this),this._destroyed=!0;let t=He(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),He(t)}}onDestroy(t){return Xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xo(this);let n=En(this),i=Ai(void 0);try{return t()}finally{En(n),Ai(i)}}get(t,n=ur,i=Ye.Default){if(Xo(this),t.hasOwnProperty(vg))return t[vg](this);i=gd(i);let a=En(this),r=Ai(void 0);try{if(!(i&Ye.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=VX(t)&&Kp(t);c&&this.injectableDefInScope(c)?l=Yr(Oh(t),ic):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let s=i&Ye.Self?bd():this.parent;return n=i&Ye.Optional&&n===ur?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[_c]=s[_c]||[]).unshift(ta(t)),a)throw s;return xX(s,t,"R3InjectorError",this.source)}else throw s}finally{Ai(r),En(a)}}resolveInjectorInitializers(){let t=He(null),n=En(this),i=Ai(void 0);try{let a=this.get(wc,Di,Ye.Self);for(let r of a)r()}finally{En(n),Ai(i),He(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(ta(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ci(t);let n=ro(t)?t:ci(t&&t.provide),i=RX(t);if(!ro(t)&&t.multi===!0){let a=this.records.get(n);a||(a=Yr(void 0,ic,!0),a.factory=()=>Ih(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=He(null);try{return n.value===yg?x0(ta(t)):n.value===ic&&(n.value=yg,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&LX(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{He(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ci(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oh(e){let t=Kp(e),n=t!==null?t.factory:mr(e);if(n!==null)return n;if(e instanceof $)throw new Z(204,!1);if(e instanceof Function)return PX(e);throw new Z(204,!1)}function PX(e){if(e.length>0)throw new Z(204,!1);let t=cX(e);return t!==null?()=>t.factory(e):()=>new e}function RX(e){if(R0(e))return Yr(void 0,e.useValue);{let t=F0(e);return Yr(t,ic)}}function F0(e,t,n){let i;if(ro(e)){let a=ci(e);return mr(a)||Oh(a)}else if(R0(e))i=()=>ci(e.useValue);else if(NX(e))i=()=>e.useFactory(...Ih(e.deps||[]));else if(TX(e))i=(a,r)=>pe(ci(e.useExisting),r!==void 0&&r&Ye.Optional?Ye.Optional:void 0);else{let a=ci(e&&(e.useClass||e.provide));if(FX(e))i=()=>new a(...Ih(e.deps));else return mr(a)||Oh(a)}return i}function Xo(e){if(e.destroyed)throw new Z(205,!1)}function Yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function FX(e){return!!e.deps}function LX(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function VX(e){return typeof e=="function"||typeof e=="object"&&e instanceof $}function Th(e,t){for(let n of e)Array.isArray(n)?Th(n,t):n&&_0(n)?Th(n.ɵproviders,t):t(n)}function yd(e,t){let n;e instanceof tm?(Xo(e),n=e):n=new E0(e);let i=En(n),a=Ai(void 0);try{return t()}finally{En(i),Ai(a)}}function L0(){return w0()!==void 0||Jl()!=null}function Hs(e){if(!L0())throw new Z(-203,!1)}function zX(e){return typeof e=="function"}var fn=0,Te=1,Ee=2,vi=3,ma=4,Pi=5,oo=6,Xr=7,ii=8,so=9,hn=10,Tt=11,ms=12,_g=13,vo=14,Hi=15,fr=16,Ur=17,fa=18,_d=19,V0=20,Nn=21,bu=22,rn=23,ia=24,Mn=25,qt=26,z0=1,gr=7,Sc=8,lo=9,gi=10;function Pn(e){return Array.isArray(e)&&typeof e[z0]=="object"}function gn(e){return Array.isArray(e)&&e[z0]===!0}function im(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function xd(e){return(e.flags&1)===1}function za(e){return!!e.template}function Ec(e){return(e[Ee]&512)!==0}function yo(e){return(e[Ee]&256)===256}var jX=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function j0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var bi=(()=>{let e=()=>B0;return e.ngInherit=!0,e})();function B0(e){return e.type.prototype.ngOnChanges&&(e.setInput=HX),BX}function BX(){let e=$0(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===La)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function HX(e,t,n,i,a){let r=this.declaredInputs[i],s=$0(e)||$X(e,{previous:La,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new jX(d&&d.currentValue,n,c===La),j0(e,t,a,n)}var H0="__ngSimpleChanges__";function $0(e){return e[H0]||null}function $X(e,t){return e[H0]=t}var vr=function(e,t=null,n){},q0="svg",qX="math";function ja(e){for(;Array.isArray(e);)e=e[fn];return e}function Y0(e,t){return ja(t[e])}function qa(e,t){return ja(t[e.index])}function am(e,t){return e.data[t]}function wd(e,t){return e[t]}function nm(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ba(e,t){let n=t[e];return Pn(n)?n:n[fn]}function YX(e){return(e[Ee]&4)===4}function rm(e){return(e[Ee]&128)===128}function UX(e){return gn(e[vi])}function br(e,t){return t==null?null:e[t]}function U0(e){e[Ur]=0}function om(e){e[Ee]&1024||(e[Ee]|=1024,rm(e)&&_o(e))}function GX(e,t){for(;e>0;)t=t[vo],e--;return t}function $s(e){var t;return!!(e[Ee]&9216||(t=e[ia])!=null&&t.dirty)}function Nh(e){var t;(t=e[hn].changeDetectionScheduler)==null||t.notify(8),e[Ee]&64&&(e[Ee]|=1024),$s(e)&&_o(e)}function _o(e){var n;(n=e[hn].changeDetectionScheduler)==null||n.notify(0);let t=yr(e);for(;t!==null&&!(t[Ee]&8192||(t[Ee]|=8192,!rm(t)));)t=yr(t)}function G0(e,t){if(yo(e))throw new Z(911,!1);e[Nn]===null&&(e[Nn]=[]),e[Nn].push(t)}function WX(e,t){if(e[Nn]===null)return;let n=e[Nn].indexOf(t);n!==-1&&e[Nn].splice(n,1)}function yr(e){let t=e[vi];return gn(t)?t[vi]:t}function sm(e){return e[Xr]??(e[Xr]=[])}function lm(e){return e.cleanup??(e.cleanup=[])}function KX(e,t,n,i){let a=sm(t);a.push(n),e.firstCreatePass&&lm(e).push(i,a.length-1)}var Le={lFrame:t_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Mh=!1;function ZX(){return Le.lFrame.elementDepthCount}function XX(){Le.lFrame.elementDepthCount++}function QX(){Le.lFrame.elementDepthCount--}function JX(){return Le.bindingsEnabled}function W0(){return Le.skipHydrationRootTNode!==null}function eQ(e){return Le.skipHydrationRootTNode===e}function tQ(){Le.skipHydrationRootTNode=null}function ye(){return Le.lFrame.lView}function gt(){return Le.lFrame.tView}function ge(e){return Le.lFrame.contextLView=e,e[ii]}function ve(e){return Le.lFrame.contextLView=null,e}function yi(){let e=K0();for(;e!==null&&e.type===64;)e=e.parent;return e}function K0(){return Le.lFrame.currentTNode}function iQ(){let e=Le.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $n(e,t){let n=Le.lFrame;n.currentTNode=e,n.isParent=t}function cm(){return Le.lFrame.isParent}function dm(){Le.lFrame.isParent=!1}function Z0(){return Le.lFrame.contextLView}function X0(){return Mh}function kc(e){let t=Mh;return Mh=e,t}function xo(){let e=Le.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Q0(){return Le.lFrame.bindingIndex}function aQ(e){return Le.lFrame.bindingIndex=e}function Ir(){return Le.lFrame.bindingIndex++}function Sd(e){let t=Le.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nQ(){return Le.lFrame.inI18n}function rQ(e,t){let n=Le.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ph(t)}function oQ(){return Le.lFrame.currentDirectiveIndex}function Ph(e){Le.lFrame.currentDirectiveIndex=e}function sQ(e){let t=Le.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function um(){return Le.lFrame.currentQueryIndex}function Ed(e){Le.lFrame.currentQueryIndex=e}function lQ(e){let t=e[Te];return t.type===2?t.declTNode:t.type===1?e[Pi]:null}function J0(e,t,n){if(n&Ye.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&Ye.Host))&&(a=lQ(r),!(a===null||(r=r[vo],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Le.lFrame=e_();return i.currentTNode=t,i.lView=e,!0}function hm(e){let t=e_(),n=e[Te];Le.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function e_(){let e=Le.lFrame,t=e===null?null:e.child;return t===null?t_(e):t}function t_(e){let t={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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function i_(){let e=Le.lFrame;return Le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var a_=i_;function pm(){let e=i_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cQ(e){return(Le.lFrame.contextLView=GX(e,Le.lFrame.contextLView))[ii]}function ga(){return Le.lFrame.selectedIndex}function _r(e){Le.lFrame.selectedIndex=e}function qs(){let e=Le.lFrame;return am(e.tView,e.selectedIndex)}function un(){Le.lFrame.currentNamespace=q0}function Rh(){dQ()}function dQ(){Le.lFrame.currentNamespace=null}function uQ(){return Le.lFrame.currentNamespace}var n_=!0;function kd(){return n_}function Cd(e){n_=e}function hQ(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let s=B0(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function mm(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function ac(e,t,n){r_(e,t,3,n)}function nc(e,t,n,i){(e[Ee]&3)===n&&r_(e,t,n,i)}function yu(e,t){let n=e[Ee];(n&3)===t&&(n&=16383,n+=1,e[Ee]=n)}function r_(e,t,n,i){let a=i!==void 0?e[Ur]&65535:0,r=i??-1,s=t.length-1,l=0;for(let c=a;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Ur]+=65536),(l<r||r==-1)&&(pQ(e,n,t,c),e[Ur]=(e[Ur]&4294901760)+c+2),c++}function xg(e,t){let n=He(null);try{t.call(e)}finally{He(n)}}function pQ(e,t,n,i){let a=n[i]<0,r=n[i+1],s=a?-n[i]:n[i],l=e[s];a?e[Ee]>>14<e[Ur]>>16&&(e[Ee]&3)===t&&(e[Ee]+=16384,xg(l,r)):xg(l,r)}var Qr=-1,Ys=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mQ(e){return(e.flags&8)!==0}function fQ(e){return(e.flags&16)!==0}function gQ(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],s=n[i++],l=n[i++];e.setAttribute(t,s,l,r)}else{let r=a,s=n[++i];vQ(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function o_(e){return e===3||e===4||e===6}function vQ(e){return e.charCodeAt(0)===64}function co(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?wg(e,n,a,null,t[++i]):wg(e,n,a,null,null))}}return e}function wg(e,t,n,i,a){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function s_(e){return e!==Qr}function Cc(e){return e&32767}function bQ(e){return e>>16}function Dc(e,t){let n=bQ(e),i=t;for(;n>0;)i=i[vo],n--;return i}var Fh=!0;function Ic(e){let t=Fh;return Fh=e,t}var yQ=256,l_=yQ-1,c_=5,_Q=0,Ta={};function xQ(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ns)&&(i=n[ns]),i==null&&(i=n[ns]=_Q++);let a=i&l_,r=1<<a;t.data[e+(a>>c_)]|=r}function Ac(e,t){let n=d_(e,t);if(n!==-1)return n;let i=t[Te];i.firstCreatePass&&(e.injectorIndex=t.length,_u(i.data,e),_u(t,null),_u(i.blueprint,null));let a=fm(e,t),r=e.injectorIndex;if(s_(a)){let s=Cc(a),l=Dc(a,t),c=l[Te].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=a,r}function _u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function d_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fm(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=f_(a),i===null)return Qr;if(n++,a=a[vo],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Qr}function Lh(e,t,n){xQ(e,t,n)}function wQ(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(o_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function u_(e,t,n){if(n&Ye.Optional||e!==void 0)return e;Zp()}function h_(e,t,n,i){if(n&Ye.Optional&&i===void 0&&(i=null),(n&(Ye.Self|Ye.Host))===0){let a=e[so],r=Ai(void 0);try{return a?a.get(t,i,n&Ye.Optional):S0(t,i,n&Ye.Optional)}finally{Ai(r)}}return u_(i,t,n)}function p_(e,t,n,i=Ye.Default,a){if(e!==null){if(t[Ee]&2048&&!(i&Ye.Self)){let s=CQ(e,t,n,i,Ta);if(s!==Ta)return s}let r=m_(e,t,n,i,Ta);if(r!==Ta)return r}return h_(t,n,i,a)}function m_(e,t,n,i,a){let r=EQ(n);if(typeof r=="function"){if(!J0(t,e,i))return i&Ye.Host?u_(a,n,i):h_(t,n,i,a);try{let s;if(s=r(i),s==null&&!(i&Ye.Optional))Zp(n);else return s}finally{a_()}}else if(typeof r=="number"){let s=null,l=d_(e,t),c=Qr,d=i&Ye.Host?t[Hi][Pi]:null;for((l===-1||i&Ye.SkipSelf)&&(c=l===-1?fm(e,t):t[l+8],c===Qr||!Eg(i,!1)?l=-1:(s=t[Te],l=Cc(c),t=Dc(c,t)));l!==-1;){let u=t[Te];if(Sg(r,l,u.data)){let m=SQ(l,t,n,s,i,d);if(m!==Ta)return m}c=t[l+8],c!==Qr&&Eg(i,t[Te].data[l+8]===d)&&Sg(r,l,t)?(s=u,l=Cc(c),t=Dc(c,t)):l=-1}}return a}function SQ(e,t,n,i,a,r){let s=t[Te],l=s.data[e+8],c=i==null?bo(l)&&Fh:i!=s&&(l.type&3)!==0,d=a&Ye.Host&&r===l,u=rc(l,s,n,c,d);return u!==null?fs(t,s,u,l,a):Ta}function rc(e,t,n,i,a){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,m=i?l:l+u,v=a?l+u:d;for(let g=m;g<v;g++){let x=s[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=s[c];if(g&&za(g)&&g.type===n)return c}return null}function fs(e,t,n,i,a){let r=e[n],s=t.data;if(r instanceof Ys){let l=r;l.resolving&&x0(mX(s[n]));let c=Ic(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?Ai(l.injectImpl):null;J0(e,i,Ye.Default);try{r=e[n]=l.factory(void 0,a,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&hQ(n,s[n],t)}finally{d!==null&&Ai(d),Ic(c),l.resolving=!1,a_()}}return r}function EQ(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&l_:kQ:t}function Sg(e,t,n){let i=1<<e;return!!(n[t+(e>>c_)]&i)}function Eg(e,t){return!(e&Ye.Self)&&!(e&Ye.Host&&t)}var rs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return p_(this._tNode,this._lView,e,gd(n),t)}};function kQ(){return new rs(yi(),ye())}function Qt(e){return js(()=>{let t=e.prototype.constructor,n=t[yc]||Vh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[yc]||Vh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Vh(e){return v0(e)?()=>{let t=Vh(ci(e));return t&&t()}:mr(e)}function CQ(e,t,n,i,a){let r=e,s=t;for(;r!==null&&s!==null&&s[Ee]&2048&&!Ec(s);){let l=m_(r,s,n,i|Ye.Self,Ta);if(l!==Ta)return l;let c=r.parent;if(!c){let d=s[V0];if(d){let u=d.get(n,Ta,i);if(u!==Ta)return u}c=f_(s),s=s[vo]}r=c}return a}function f_(e){let t=e[Te],n=t.type;return n===2?t.declTNode:n===1?e[Pi]:null}function DQ(e){return wQ(yi(),e)}function kg(e,t=null,n=null,i){let a=IQ(e,t,n,i);return a.resolveInjectorInitializers(),a}function IQ(e,t=null,n=null,i,a=new Set){let r=[n||Di,AX(e)];return i=i||(typeof e=="object"?void 0:ta(e)),new tm(r,t||bd(),i||null,a)}var Ca,lt=(Ca=class{static create(t,n){if(Array.isArray(t))return kg({name:""},n,t,"");{let i=t.name??"";return kg({name:i},t.parent,t.providers,i)}}},o(Ca,"THROW_IF_NOT_FOUND",ur),o(Ca,"NULL",new T0),o(Ca,"ɵprov",q({token:Ca,providedIn:"any",factory:()=>pe(A0)})),o(Ca,"__NG_ELEMENT_ID__",-1),Ca),gm=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>DQ(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},AQ=new $("");AQ.__NG_ELEMENT_ID__=e=>{let t=yi();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Ye.Optional)return null;throw new Z(204,!1)};var g_=!1,$i=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",OQ),o(e,"__NG_ENV_ID__",n=>n),e})(),v_=class extends $i{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return yo(n)?(t(),()=>{}):(G0(n,t),()=>WX(n,t))}};function OQ(){return new v_(ye())}var wo=class{},b_=new $("",{providedIn:"root",factory:()=>!1}),y_=new $(""),__=new $(""),Us=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new rr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),TQ=class extends ce{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,L0()&&(this.destroyRef=S($i,{optional:!0})??void 0,this.pendingTasks=S(Us,{optional:!0})??void 0)}emit(t){let n=He(null);try{super.next(t)}finally{He(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),s=i;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),r=(d=m.error)==null?void 0:d.bind(m),s=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:a,error:r,complete:s});return t instanceof ct&&t.add(l),l}wrapInTimeout(t){return n=>{var a;let i=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(n)}finally{i!==void 0&&((r=this.pendingTasks)==null||r.remove(i))}})}}},le=TQ;function gs(...e){}function x_(e){let t,n;function i(){e=gs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Cg(e){return queueMicrotask(()=>e()),()=>{e=gs}}var vm="isAngularZone",Oc=vm+"_ID",NQ=0,Ne=class zh{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le(!1));o(this,"onMicrotaskEmpty",new le(!1));o(this,"onStable",new le(!1));o(this,"onError",new le(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=g_}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!a&&i,s.shouldCoalesceRunChangeDetection=a,s.callbackScheduled=!1,s.scheduleInRootZone=r,RQ(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vm)===!0}static assertInAngularZone(){if(!zh.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(zh.isInAngularZone())throw new Z(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+a,t,MQ,gs,gs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},MQ={};function bm(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function PQ(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){x_(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,bm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jh(e)}function RQ(e){let t=()=>{PQ(e)},n=NQ++;e._inner=e._inner.fork({name:"angular",properties:{[vm]:!0,[Oc]:n,[Oc+n]:!0},onInvokeTask:(i,a,r,s,l,c)=>{if(LQ(c))return i.invokeTask(r,s,l,c);try{return Dg(e),i.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ig(e)}},onInvoke:(i,a,r,s,l,c,d)=>{try{return Dg(e),i.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!VQ(c)&&t(),Ig(e)}},onHasTask:(i,a,r,s)=>{i.hasTask(r,s),a===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jh(e),bm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,a,r,s)=>(i.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function jh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ig(e){e._nesting--,bm(e)}var FQ=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le);o(this,"onMicrotaskEmpty",new le);o(this,"onStable",new le);o(this,"onError",new le)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}};function LQ(e){return w_(e,"__ignore_ng_zone__")}function VQ(e){return w_(e,"__scheduler_tick__")}function w_(e,t){var n,i;return!Array.isArray(e)||e.length!==1?!1:((i=(n=e[0])==null?void 0:n.data)==null?void 0:i[t])===!0}var va=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},zQ=new $("",{providedIn:"root",factory:()=>{let e=S(Ne),t=S(va);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),S_=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",S(va,{optional:!0}));o(this,"destroyRef",S($i));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(p0(953,!1));return}if(this.listeners===null)return;let t=He(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{He(t)}}};function Ag(e){return new S_}function Og(e,t){return f0(e,t)}function jQ(e){return f0(fd,e)}var It=(Og.required=jQ,Og);function BQ(){return So(yi(),ye())}function So(e,t){return new ze(qa(e,t))}var ze=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",BQ),e})();function E_(e){return e instanceof ze?e.nativeElement:e}function vs(e){return typeof e=="function"&&e[fi]!==void 0}function Pa(e,t){let n=QK(e,t==null?void 0:t.equal),i=n[fi];return n.set=a=>Vs(i,a),n.update=a=>My(i,a),n.asReadonly=ym.bind(n),n}function ym(){let e=this[fi];if(e.readonlyFn===void 0){let t=()=>this();t[fi]=e,e.readonlyFn=t}return e.readonlyFn}function k_(e){return vs(e)&&typeof e.set=="function"}function HQ(){return this._results[Symbol.iterator]()}var py,Tc=(py=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,py,HQ);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ce)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=EX(e);(this._changesDetected=!SX(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function C_(e){return(e.flags&128)===128}var D_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(D_||{}),I_=new Map,$Q=0;function qQ(){return $Q++}function YQ(e){I_.set(e[_d],e)}function Bh(e){I_.delete(e[_d])}var Tg="__ngContext__";function Eo(e,t){Pn(t)?(e[Tg]=t[_d],YQ(t)):e[Tg]=t}function A_(e){return T_(e[ms])}function O_(e){return T_(e[ma])}function T_(e){for(;e!==null&&!gn(e);)e=e[ma];return e}var Hh;function UQ(e){Hh=e}function N_(){if(Hh!==void 0)return Hh;if(typeof document<"u")return document;throw new Z(210,!1)}var Dd=new $("",{providedIn:"root",factory:()=>GQ}),GQ="ng",M_=new $(""),Id=new $("",{providedIn:"platform",factory:()=>"unknown"}),Ui=new $(""),_m=new $("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=N_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),P_=!1,WQ=new $("",{providedIn:"root",factory:()=>P_}),xm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xm||{}),Gs=new $(""),Ng=new Set;function Ar(e){var t;Ng.has(e)||(Ng.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var wm=(()=>{class e{constructor(n,i){o(this,"view");o(this,"node");this.view=n,this.node=i}}return o(e,"__NG_ELEMENT_ID__",KQ),e})();function KQ(){return new wm(ye(),yi())}var Gr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Gr||{}),R_=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ZQ=[Gr.EarlyRead,Gr.Write,Gr.MixedReadWrite,Gr.Read],XQ=(()=>{const t=class t{constructor(){o(this,"ngZone",S(Ne));o(this,"scheduler",S(wo));o(this,"errorHandler",S(va,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);S(Gs,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of ZQ)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[a];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(s)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[Mn]??(a[Mn]=[])).push(i),_o(a),a[Ee]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(xm.AFTER_NEXT_RENDER,i):i()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),QQ=class{constructor(e,t,n,i,a,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[Mn];e&&(this.view[Mn]=e.filter(i=>i!==this))}};function Sm(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterRender"),F_(e,n,t,!1)}function xr(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterNextRender"),F_(e,n,t,!0)}function JQ(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function F_(e,t,n,i){let a=t.get(R_);a.impl??(a.impl=t.get(XQ));let r=t.get(Gs,null,{optional:!0}),s=(n==null?void 0:n.phase)??Gr.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get($i):null,c=t.get(wm,null,{optional:!0}),d=new QQ(a.impl,JQ(e,s),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var eJ=()=>null;function L_(e,t,n=!1){return eJ()}function V_(e,t){let n=e.contentQueries;if(n!==null){let i=He(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],s=n[a+1];if(s!==-1){let l=e.data[s];Ed(r),l.contentQueries(2,t[s],s)}}}finally{He(i)}}}function $h(e,t,n){Ed(0);let i=He(null);try{t(e,n)}finally{He(i)}}function Em(e,t,n){if(im(t)){let i=He(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let s=a;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{He(i)}}}var on=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(on||{}),El;function tJ(){if(El===void 0&&(El=null,Dn.trustedTypes))try{El=Dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return El}function Ad(e){var t;return((t=tJ())==null?void 0:t.createHTML(e))||e}var kl;function iJ(){if(kl===void 0&&(kl=null,Dn.trustedTypes))try{kl=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function Mg(e){var t;return((t=iJ())==null?void 0:t.createHTML(e))||e}var Or=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h0})`}},aJ=class extends Or{getTypeName(){return"HTML"}},nJ=class extends Or{getTypeName(){return"Style"}},rJ=class extends Or{getTypeName(){return"Script"}},oJ=class extends Or{getTypeName(){return"URL"}},sJ=class extends Or{getTypeName(){return"ResourceURL"}};function nn(e){return e instanceof Or?e.changingThisBreaksApplicationSecurity:e}function or(e,t){let n=lJ(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${h0})`)}return n===t}function lJ(e){return e instanceof Or&&e.getTypeName()||null}function cJ(e){return new aJ(e)}function dJ(e){return new nJ(e)}function uJ(e){return new rJ(e)}function hJ(e){return new oJ(e)}function pJ(e){return new sJ(e)}function mJ(e){let t=new gJ(e);return vJ()?new fJ(t):t}var fJ=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ad(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},gJ=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ad(e),t}};function vJ(){try{return!!new window.DOMParser().parseFromString(Ad(""),"text/html")}catch{return!1}}var bJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function km(e){return e=String(e),e.match(bJ)?e:"unsafe:"+e}function vn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ws(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var z_=vn("area,br,col,hr,img,wbr"),j_=vn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),B_=vn("rp,rt"),yJ=Ws(B_,j_),_J=Ws(j_,vn("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")),xJ=Ws(B_,vn("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")),Pg=Ws(z_,_J,xJ,yJ),H_=vn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wJ=vn("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"),SJ=vn("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"),EJ=Ws(H_,wJ,SJ),kJ=vn("script,style,template"),CJ=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){i.push(t),t=AJ(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=IJ(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Rg(e).toLowerCase();if(!Pg.hasOwnProperty(t))return this.sanitizedSomething=!0,!kJ.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,s=r.toLowerCase();if(!EJ.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;H_[s]&&(l=km(l)),this.buf.push(" ",r,'="',Fg(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Rg(e).toLowerCase();Pg.hasOwnProperty(t)&&!z_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Fg(e))}};function DJ(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IJ(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $_(t);return t}function AJ(e){let t=e.firstChild;if(t&&DJ(e,t))throw $_(t);return t}function Rg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var OJ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TJ=/([^\#-~ |!])/g;function Fg(e){return e.replace(/&/g,"&").replace(OJ,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(TJ,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Cl;function q_(e,t){let n=null;try{Cl=Cl||mJ(e);let i=t?String(t):"";n=Cl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Cl.getInertBodyElement(i)}while(i!==r);let s=new CJ().sanitizeChildren(Lg(n)||n);return Ad(s)}finally{if(n){let i=Lg(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Lg(e){return"content"in e&&NJ(e)?e.content:null}function NJ(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Oi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Oi||{});function MJ(e){let t=Y_();return t?Mg(t.sanitize(Oi.HTML,e)||""):or(e,"HTML")?Mg(nn(e)):q_(N_(),Ma(e))}function PJ(e){let t=Y_();return t?t.sanitize(Oi.URL,e)||"":or(e,"URL")?nn(e):km(Ma(e))}function Y_(){let e=ye();return e&&e[hn].sanitizer}var RJ=/^>|^->|<!--|-->|--!>|<!-$/g,FJ=/(<|>)/g,LJ="$1";function VJ(e){return e.replace(RJ,t=>t.replace(FJ,LJ))}function zJ(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}var U_="ng-template";function jJ(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&zJ(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Cm(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Cm(e){return e.type===4&&e.value!==U_}function BJ(e,t,n){let i=e.type===4&&!n?U_:e.value;return t===i}function HJ(e,t,n){let i=4,a=e.attrs,r=a!==null?YJ(a):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!ca(i)&&!ca(c))return!1;if(s&&ca(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!BJ(e,c,n)||c===""&&t.length===1){if(ca(i))return!1;s=!0}}else if(i&8){if(a===null||!jJ(e,a,c,n)){if(ca(i))return!1;s=!0}}else{let d=t[++l],u=$J(c,a,Cm(e),n);if(u===-1){if(ca(i))return!1;s=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ca(i))return!1;s=!0}}}}return ca(i)||s}function ca(e){return(e&1)===0}function $J(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let s=t[a];if(s===e)return a;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(s===4)break;if(s===0){a+=4;continue}}a+=r?1:2}return-1}else return UJ(t,e)}function G_(e,t,n=!1){for(let i=0;i<t.length;i++)if(HJ(e,t[i],n))return!0;return!1}function qJ(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function YJ(e){for(let t=0;t<e.length;t++){let n=e[t];if(o_(n))return t}return e.length}function UJ(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function GJ(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function Vg(e,t){return e?":not("+t.trim()+")":t}function WJ(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(i&2){let l=e[++n];a+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+s:i&4&&(a+=" "+s);else a!==""&&!ca(s)&&(t+=Vg(r,a),a=""),i=s,r=r||!ca(i);n++}return a!==""&&(t+=Vg(r,a)),t}function KJ(e){return e.map(WJ).join(",")}function ZJ(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!ca(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var _i={};function XJ(e,t){return e.createText(t)}function QJ(e,t,n){e.setValue(t,n)}function JJ(e,t){return e.createComment(VJ(t))}function W_(e,t,n){return e.createElement(t,n)}function Nc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function K_(e,t,n){e.appendChild(t,n)}function zg(e,t,n,i,a){i!==null?Nc(e,t,n,i,a):K_(e,t,n)}function eee(e,t,n){e.removeChild(null,t,n)}function tee(e,t,n){e.setAttribute(t,"style",n)}function iee(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Z_(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&gQ(e,t,i),a!==null&&iee(e,t,a),r!==null&&tee(e,t,r)}function Dm(e,t,n,i,a,r,s,l,c,d,u){let m=qt+i,v=m+a,g=aee(m,v),x=typeof d=="function"?d():d;return g[Te]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function aee(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:_i);return n}function nee(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Im(e,t,n,i,a,r,s,l,c,d,u){let m=t.blueprint.slice();return m[fn]=a,m[Ee]=i|4|128|8|64|1024,(d!==null||e&&e[Ee]&2048)&&(m[Ee]|=2048),U0(m),m[vi]=m[vo]=e,m[ii]=n,m[hn]=s||e&&e[hn],m[Tt]=l||e&&e[Tt],m[so]=c||e&&e[so]||null,m[Pi]=r,m[_d]=qQ(),m[oo]=u,m[V0]=d,m[Hi]=t.type==2?e[Hi]:m,m}function ree(e,t,n){let i=qa(t,e),a=nee(n),r=e[hn].rendererFactory,s=Am(e,Im(e,a,null,X_(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=s}function X_(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Q_(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function Am(e,t){return e[ms]?e[_g][ma]=t:e[ms]=t,e[_g]=t,t}function D(e=1){J_(gt(),ye(),ga()+e)}function J_(e,t,n,i){if((t[Ee]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ac(t,a,n)}else{let a=e.preOrderHooks;a!==null&&nc(t,a,0,n)}_r(n)}var Od=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Od||{});function qh(e,t,n,i){let a=He(null);try{let[r,s,l]=e.inputs[n],c=null;s&Od.SignalBased&&(c=t[r][fi]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):l!==null&&(i=l.call(t,i)),e.setInput!==null?e.setInput(t,c,i,n,r):j0(t,c,r,i)}finally{He(a)}}function ex(e,t,n,i,a){let r=ga(),s=i&2;try{_r(-1),s&&t.length>qt&&J_(e,t,qt,!1),vr(s?2:0,a),n(i,a)}finally{_r(r)}}function Td(e,t,n){cee(e,t,n),(n.flags&64)===64&&dee(e,t,n)}function Om(e,t,n=qa){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?n(t,e):e[s];e[a++]=l}}}function oee(e,t,n,i){let a=i.get(WQ,P_)||n===on.ShadowDom;return e.selectRootElement(t,a)}function see(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nd(e,t,n,i,a,r,s,l){if(!l&&Nm(t,e,n,i,a)){bo(t)&&lee(n,t.index);return}if(t.type&3){let c=qa(t,n);i=see(i),a=s!=null?s(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function lee(e,t){let n=Ba(t,e);n[Ee]&16||(n[Ee]|=64)}function cee(e,t,n){let i=n.directiveStart,a=n.directiveEnd;bo(n)&&ree(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ac(n,t);let r=n.initialInputs;for(let s=i;s<a;s++){let l=e.data[s],c=fs(t,e,s,n);if(Eo(c,t),r!==null&&mee(t,s-i,c,l,n,r),za(l)){let d=Ba(n.index,t);d[ii]=fs(t,e,s,n)}}}function dee(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,s=oQ();try{_r(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Ph(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&uee(c,d)}}finally{_r(-1),Ph(s)}}function uee(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Tm(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];G_(t,r.selectors,!1)&&(i??(i=[]),za(r)?i.unshift(r):i.push(r))}return i}function hee(e,t,n,i,a,r){let s=qa(e,t);pee(t[Tt],s,r,e.value,n,i,a)}function pee(e,t,n,i,a,r,s){if(r==null)e.removeAttribute(t,a,n);else{let l=s==null?Ma(r):s(r,i||"",a);e.setAttribute(t,a,l,n)}}function mee(e,t,n,i,a,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];qh(i,n,c,d)}}function fee(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function Nm(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],s=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(s)for(let u=0;u<s.length;u+=2){let m=s[u],v=s[u+1],g=t.data[m];qh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];qh(v,m,i,a),l=!0}return l}function gee(e,t){let n=Ba(t,e),i=n[Te];vee(i,n);let a=n[fn];a!==null&&n[oo]===null&&(n[oo]=L_(a,n[so])),Mm(i,n,n[ii]),vr(19,n[ii])}function vee(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Mm(e,t,n){var i;hm(t);try{let a=e.viewQuery;a!==null&&$h(1,a,n);let r=e.template;r!==null&&ex(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[fa])==null||i.finishViewCreation(e),e.staticContentQueries&&V_(e,t),e.staticViewQueries&&$h(2,e.viewQuery,n);let s=e.components;s!==null&&bee(t,s)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[Ee]&=-5,pm()}}function bee(e,t){for(let n=0;n<t.length;n++)gee(e,t[n])}function Ks(e,t,n,i){let a=He(null);try{let r=t.tView,s=e[Ee]&4096?4096:16,l=Im(e,r,n,s,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),c=e[t.index];l[fr]=c;let d=e[fa];return d!==null&&(l[fa]=d.createEmbeddedView(r)),Mm(r,l,n),l}finally{He(a)}}function uo(e,t){return!t||t.firstChild===null||C_(e)}var yee;function Pm(e,t){return yee(e,t)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});function Rm(e){return(e.flags&32)===32}function Wr(e,t,n,i,a){if(i!=null){let r,s=!1;gn(i)?r=i:Pn(i)&&(s=!0,i=i[fn]);let l=ja(i);e===0&&n!==null?a==null?K_(t,n,l):Nc(t,n,l,a||null,!0):e===1&&n!==null?Nc(t,n,l,a||null,!0):e===2?eee(t,l,s):e===3&&t.destroyNode(l),r!=null&&Aee(t,e,r,n,a)}}function _ee(e,t){tx(e,t),t[fn]=null,t[Pi]=null}function xee(e,t,n,i,a,r){i[fn]=a,i[Pi]=t,Rd(e,i,n,1,a,r)}function tx(e,t){var n;(n=t[hn].changeDetectionScheduler)==null||n.notify(9),Rd(e,t,t[Tt],2,null,null)}function wee(e){let t=e[ms];if(!t)return xu(e[Te],e);for(;t;){let n=null;if(Pn(t))n=t[ms];else{let i=t[gi];i&&(n=i)}if(!n){for(;t&&!t[ma]&&t!==e;)Pn(t)&&xu(t[Te],t),t=t[vi];t===null&&(t=e),Pn(t)&&xu(t[Te],t),n=t&&t[ma]}t=n}}function Fm(e,t){let n=e[lo],i=n.indexOf(t);n.splice(i,1)}function Md(e,t){if(yo(t))return;let n=t[Tt];n.destroyNode&&Rd(e,t,n,3,null,null),wee(t)}function xu(e,t){if(yo(t))return;let n=He(null);try{t[Ee]&=-129,t[Ee]|=256,t[ia]&&dd(t[ia]),Eee(e,t),See(e,t),t[Te].type===1&&t[Tt].destroy();let i=t[fr];if(i!==null&&gn(t[vi])){i!==t[vi]&&Fm(i,t);let a=t[fa];a!==null&&a.detachView(e)}Bh(t)}finally{He(n)}}function See(e,t){let n=e.cleanup,i=t[Xr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?i[l]():i[-l].unsubscribe(),s+=2}else{let l=i[n[s+1]];n[s].call(l)}i!==null&&(t[Xr]=null);let a=t[Nn];if(a!==null){t[Nn]=null;for(let s=0;s<a.length;s++){let l=a[s];l()}}let r=t[rn];if(r!==null){t[rn]=null;for(let s of r)s.destroy()}}function Eee(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof Ys)){let r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=a[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function ix(e,t,n){return kee(e,t.parent,n)}function kee(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[fn];if(bo(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===on.None||a===on.Emulated)return null}return qa(i,n)}function ax(e,t,n){return Dee(e,t,n)}function Cee(e,t,n){return e.type&40?qa(e,n):null}var Dee=Cee;function Pd(e,t,n,i){let a=ix(e,i,t),r=t[Tt],s=i.parent||t[Pi],l=ax(s,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)zg(r,a,n[c],l,!1);else zg(r,a,n,l,!1)}function Qo(e,t){if(t!==null){let n=t.type;if(n&3)return qa(t,e);if(n&4)return Yh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Qo(e,i);{let a=e[t.index];return gn(a)?Yh(-1,a):ja(a)}}else{if(n&128)return Qo(e,t.next);if(n&32)return Pm(t,e)()||ja(e[t.index]);{let i=nx(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=yr(e[Hi]);return Qo(a,i)}else return Qo(e,t.next)}}}return null}function nx(e,t){if(t!==null){let n=e[Hi][Pi],i=t.projection;return n.projection[i]}return null}function Yh(e,t){let n=gi+e+1;if(n<t.length){let i=t[n],a=i[Te].firstChild;if(a!==null)return Qo(i,a)}return t[gr]}function Lm(e,t,n,i,a,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(s&&t===0&&(l&&Eo(ja(l),i),n.flags|=2),!Rm(n))if(c&8)Lm(e,t,n.child,i,a,r,!1),Wr(t,e,a,l,r);else if(c&32){let d=Pm(n,i),u;for(;u=d();)Wr(t,e,a,u,r);Wr(t,e,a,l,r)}else c&16?rx(e,t,i,n,a,r):Wr(t,e,a,l,r);n=s?n.projectionNext:n.next}}function Rd(e,t,n,i,a,r){Lm(n,i,e.firstChild,t,a,r,!1)}function Iee(e,t,n){let i=t[Tt],a=ix(e,n,t),r=n.parent||t[Pi],s=ax(r,n,t);rx(i,0,t,n,a,s)}function rx(e,t,n,i,a,r){let s=n[Hi],l=s[Pi].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Wr(t,e,a,d,r)}else{let c=l,d=s[vi];C_(i)&&(c.flags|=128),Lm(e,t,c,d,a,r,!0)}}function Aee(e,t,n,i,a){let r=n[gr],s=ja(n);r!==s&&Wr(t,e,i,r,a);for(let l=gi;l<n.length;l++){let c=n[l];Rd(c[Te],c,e,t,i,r)}}function Oee(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:In.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=In.Important),e.setStyle(n,i,a,r))}}function Mc(e,t,n,i,a=!1){for(;n!==null;){if(n.type===128){n=a?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&i.push(ja(r)),gn(r)&&Tee(r,i);let s=n.type;if(s&8)Mc(e,t,n.child,i);else if(s&32){let l=Pm(n,t),c;for(;c=l();)i.push(c)}else if(s&16){let l=nx(t,n);if(Array.isArray(l))i.push(...l);else{let c=yr(t[Hi]);Mc(c[Te],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function Tee(e,t){for(let n=gi;n<e.length;n++){let i=e[n],a=i[Te].firstChild;a!==null&&Mc(i[Te],i,a,t)}e[gr]!==e[fn]&&t.push(e[gr])}function ox(e){if(e[Mn]!==null){for(let t of e[Mn])t.impl.addSequence(t);e[Mn].length=0}}var sx=[];function Nee(e){return e[ia]??Mee(e)}function Mee(e){let t=sx.pop()??Object.create(Ree);return t.lView=e,t}function Pee(e){e.lView[ia]!==e&&(e.lView=null,sx.push(e))}var Ree=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{_o(e.lView)},consumerOnSignalRead(){this.lView[ia]=this}});function Fee(e){let t=e[ia]??Object.create(Lee);return t.lView=e,t}var Lee=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yr(e.lView);for(;t&&!lx(t[Te]);)t=yr(t);t&&om(t)},consumerOnSignalRead(){this.lView[ia]=this}});function lx(e){return e.type!==2}function cx(e){if(e[rn]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[rn])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[Ee]&8192)}}var Vee=100;function dx(e,t=!0,n=0){var a,r;let i=e[hn].rendererFactory;(a=i.begin)==null||a.call(i);try{zee(e,n)}catch(s){throw t&&fee(e,s),s}finally{(r=i.end)==null||r.call(i)}}function zee(e,t){let n=X0();try{kc(!0),Uh(e,t);let i=0;for(;$s(e);){if(i===Vee)throw new Z(103,!1);i++,Uh(e,1)}}finally{kc(n)}}function jee(e,t,n,i){if(yo(t))return;let a=t[Ee],r=!1,s=!1;hm(t);let l=!0,c=null,d=null;lx(e)?(d=Nee(t),c=ls(d)):UK()===null?(l=!1,d=Fee(t),c=ls(d)):t[ia]&&(dd(t[ia]),t[ia]=null);try{U0(t),aQ(e.bindingStartIndex),n!==null&&ex(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&ac(t,g,null)}else{let g=e.preOrderHooks;g!==null&&nc(t,g,0,null),yu(t,0)}if(s||Bee(t),cx(t),ux(t,0),e.contentQueries!==null&&V_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&ac(t,g)}else{let g=e.contentHooks;g!==null&&nc(t,g,1),yu(t,1)}$ee(e,t);let m=e.components;m!==null&&px(t,m,0);let v=e.viewQuery;if(v!==null&&$h(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&ac(t,g)}else{let g=e.viewHooks;g!==null&&nc(t,g,2),yu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bu]){for(let g of t[bu])g();t[bu]=null}r||(ox(t),t[Ee]&=-73)}catch(u){throw _o(t),u}finally{d!==null&&(cd(d,c),l&&Pee(d)),pm()}}function ux(e,t){for(let n=A_(e);n!==null;n=O_(n))for(let i=gi;i<n.length;i++){let a=n[i];hx(a,t)}}function Bee(e){for(let t=A_(e);t!==null;t=O_(t)){if(!(t[Ee]&2))continue;let n=t[lo];for(let i=0;i<n.length;i++){let a=n[i];om(a)}}}function Hee(e,t,n){let i=Ba(t,e);hx(i,n),vr(19,i[ii])}function hx(e,t){rm(e)&&Uh(e,t)}function Uh(e,t){let n=e[Te],i=e[Ee],a=e[ia],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&zp(a))),r||(r=!1),a&&(a.dirty=!1),e[Ee]&=-9217,r)jee(n,e,n.template,e[ii]);else if(i&8192){cx(e),ux(e,1);let s=n.components;s!==null&&px(e,s,1),ox(e)}}function px(e,t,n){for(let i=0;i<t.length;i++)Hee(e,t[i],n)}function $ee(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)_r(~a);else{let r=a,s=n[++i],l=n[++i];rQ(s,r);let c=t[r];vr(24,c),l(2,c),vr(25,c)}}}finally{_r(-1)}}function Vm(e,t){var i;let n=X0()?64:1088;for((i=e[hn].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[Ee]|=n;let a=yr(e);if(Ec(e)&&!a)return e;e=a}return null}function mx(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function fx(e,t){let n=gi+t;if(n<e.length)return e[n]}function Zs(e,t,n,i=!0){let a=t[Te];if(qee(a,t,e,n),i){let s=Yh(n,e),l=t[Tt],c=l.parentNode(e[gr]);c!==null&&xee(a,e[Pi],l,t,c,s)}let r=t[oo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function gx(e,t){let n=bs(e,t);return n!==void 0&&Md(n[Te],n),n}function bs(e,t){if(e.length<=gi)return;let n=gi+t,i=e[n];if(i){let a=i[fr];a!==null&&a!==e&&Fm(a,i),t>0&&(e[n-1][ma]=i[ma]);let r=xc(e,gi+t);_ee(i[Te],i);let s=r[fa];s!==null&&s.detachView(r[Te]),i[vi]=null,i[ma]=null,i[Ee]&=-129}return i}function qee(e,t,n,i){let a=gi+i,r=n.length;i>0&&(n[a-1][ma]=t),i<r-gi?(t[ma]=n[a],I0(n,gi+i,t)):(n.push(t),t[ma]=null),t[vi]=n;let s=t[fr];s!==null&&n!==s&&vx(s,t);let l=t[fa];l!==null&&l.insertView(e),Nh(t),t[Ee]|=128}function vx(e,t){let n=e[lo],i=t[vi];if(Pn(i))e[Ee]|=2;else{let a=i[vi][Hi];t[Hi]!==a&&(e[Ee]|=2)}n===null?e[lo]=[t]:n.push(t)}var ys=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[Te];return Mc(t,e,t.firstChild,[])}get context(){return this._lView[ii]}set context(e){this._lView[ii]=e}get destroyed(){return yo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[vi];if(gn(e)){let t=e[Sc],n=t?t.indexOf(this):-1;n>-1&&(bs(e,n),xc(t,n))}this._attachedToViewContainer=!1}Md(this._lView[Te],this._lView)}onDestroy(e){G0(this._lView,e)}markForCheck(){Vm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ee]&=-129}reattach(){Nh(this._lView),this._lView[Ee]|=128}detectChanges(){this._lView[Ee]|=1024,dx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ec(this._lView),t=this._lView[fr];t!==null&&!e&&Fm(t,this._lView),tx(this._lView[Te],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Ec(this._lView),n=this._lView[fr];n!==null&&!t&&vx(n,this._lView),Nh(this._lView)}};function Yee(e){return $s(e._lView)||!!(e._lView[Ee]&64)}function Uee(e){om(e._cdRefInjectingView||e._lView)}var Ln=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Kee),e})(),Gee=Ln,Wee=class extends Gee{constructor(t,n,i){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){let a=Ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new ys(a)}};function Kee(){return Fd(yi(),ye())}function Fd(e,t){return e.type&4?new Wee(t,e,So(e,t)):null}function ko(e,t,n,i,a){let r=e.data[t];if(r===null)r=Zee(e,t,n,i,a),nQ()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let s=iQ();r.injectorIndex=s===null?-1:s.injectorIndex}return $n(r,!0),r}function Zee(e,t,n,i,a){let r=K0(),s=cm(),l=s?r:r&&r.parent,c=e.data[t]=Qee(e,l,n,t,i,a);return Xee(e,c,r,s),c}function Xee(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Qee(e,t,n,i,a,r){let s=t?t.injectorIndex:-1,l=0;return W0()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Jee=()=>null;function ho(e,t){return Jee()}var ete=class{},bx=class{},tte=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ta(e)}.`)}},bh,Xs=(bh=class{},o(bh,"NULL",new tte),bh),na=class{},ra=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>ite()),e})();function ite(){let e=ye(),t=yi(),n=Ba(t.index,e);return(Pn(n)?n:e)[Tt]}var ate=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},nte=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=gd(n);let i=this.injector.get(e,wu,n);return i!==wu||t===wu?i:this.parentInjector.get(e,t,n)}};function Gh(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)a=kh(a,l);else if(r==2){let c=l,d=t[++s];i=kh(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function Je(e,t=Ye.Default){let n=ye();if(n===null)return pe(e,t);let i=yi();return p_(i,n,ci(e),t)}function rte(){let e="invalid";throw new Error(e)}function zm(e,t,n,i,a){let r=i===null?null:{"":-1},s=a(e,n);if(s!==null){let l,c=null,d=null,u=ste(s);u===null?l=s:[l,c,d]=u,dte(e,t,n,l,r,c,d)}r!==null&&i!==null&&ote(n,i,r)}function ote(e,t,n){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new Z(-301,!1);i.push(t[a],r)}}function ste(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&za(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),lte(s,i,r,a)),s===t&&(i??(i=[]),i.push(s));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function lte(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function cte(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function dte(e,t,n,i,a,r,s){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&za(g)&&(c=!0,cte(e,n,v)),Lh(Ac(n,t),e,g.type)}gte(n,e.data.length,l);for(let v=0;v<l;v++){let g=i[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,m=Q_(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=co(n.mergedAttrs,g.hostAttrs),hte(e,n,t,m,g),fte(m,g,a),s!==null&&s.has(g)){let[w,k]=s.get(g);n.directiveToIndex.set(g.type,[m,w+n.directiveStart,k+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let x=g.type.prototype;!d&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),m++}ute(e,n,r)}function ute(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))jg(0,t,a,i),jg(1,t,a,i),Hg(t,i,!1);else{let r=n.get(a);Bg(0,t,r,i),Bg(1,t,r,i),Hg(t,i,!0)}}}function jg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(i),yx(t,r)}}function Bg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(i,r),yx(t,s)}}function yx(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hg(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Cm(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<i.length;){let c=i[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&a.hasOwnProperty(c)){let d=a[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,i[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function hte(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=mr(a.type)),s=new Ys(r,za(a),Je);e.blueprint[i]=s,n[i]=s,pte(e,t,i,Q_(e,n,a.hostVars,_i),a)}function pte(e,t,n,i,a){let r=a.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;mte(s)!=l&&s.push(l),s.push(n,i,r)}}function mte(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fte(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;za(t)&&(n[""]=e)}}function gte(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _x(e,t,n,i,a,r,s,l){let c=t.consts,d=br(c,s),u=ko(t,e,2,i,d);return zm(t,n,u,br(c,l),a),u.mergedAttrs=co(u.mergedAttrs,u.attrs),u.attrs!==null&&Gh(u,u.attrs,!1),u.mergedAttrs!==null&&Gh(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function xx(e,t){mm(e,t),im(t)&&e.queries.elementEnd(t)}var vte=class extends Xs{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=no(t);return new jm(n,this.ngModule)}};function bte(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Od.SignalBased)!==0};return a&&(r.transform=a),r})}function yte(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _te(e,t,n){let i=t instanceof Va?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new nte(n,i):n}function xte(e){let t=e.get(na,null);if(t===null)throw new Z(407,!1);let n=e.get(ate,null),i=e.get(wo,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function wte(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return W_(t,n,n==="svg"?q0:n==="math"?qX:null)}var jm=class extends bx{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=KJ(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=bte(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=yte(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=He(null);try{let s=this.componentDef,l=i?["ng-version","19.2.16"]:ZJ(this.componentDef.selectors[0]),c=Dm(0,null,null,1,0,null,null,null,null,[l],null),d=_te(s,a||this.ngModule,t),u=xte(d),m=u.rendererFactory.createRenderer(null,s),v=i?oee(m,i,s.encapsulation,d):wte(s,m),g=Im(null,c,null,512|X_(s),null,null,u,m,d,null,L_(v,d,!0));g[qt]=v,hm(g);let x=null;try{let w=_x(qt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(Z_(m,v,w),Eo(v,g)),Td(c,g,w),Em(c,w,g),xx(c,w),n!==void 0&&Ete(w,this.ngContentSelectors,n),x=Ba(w.index,g),g[ii]=x[ii],Mm(c,g,null)}catch(w){throw x!==null&&Bh(x),Bh(g),w}finally{vr(23),pm()}return new Ste(this.componentType,g)}finally{He(r)}}},Ste=class extends ete{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=am(n[Te],qt),this.location=So(this._tNode,n),this.instance=Ba(this._tNode.index,n)[ii],this.hostView=this.changeDetectorRef=new ys(n,void 0,!1),this.componentType=t}setInput(t,n){let i=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let a=this._rootLView;Nm(i,a[Te],a,t,n),this.previousInputValues.set(t,n);let r=Ba(i.index,a);Vm(r,1)}get injector(){return new rs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ete(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null&&r.length?Array.from(r):null)}}var bn=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",kte),e})();function kte(){let e=yi();return Sx(e,ye())}var Cte=bn,wx=class extends Cte{constructor(t,n,i){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new rs(this._hostTNode,this._hostLView)}get parentInjector(){let t=fm(this._hostTNode,this._hostLView);if(s_(t)){let n=Dc(t,this._hostLView),i=Cc(t),a=n[Te].data[i+8];return new rs(a,n)}else return new rs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-gi}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let s=ho(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,a,uo(this._hostTNode,s)),l}createComponent(t,n,i,a,r){let s=t&&!zX(t),l;if(s)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=s?t:new jm(no(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(s?d:this.parentInjector).get(Va,null);x&&(r=x)}let u=no(c.componentType??{}),m=ho(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,uo(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(UX(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[vi],d=new wx(c,c[Pi],c[vi]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Zs(s,a,r,i),t.attachToViewContainerRef(),I0(Su(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);i&&(xc(Su(this._lContainer),n),Md(i[Te],i))}detach(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);return i&&xc(Su(this._lContainer),n)!=null?new ys(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function $g(e){return e[Sc]}function Su(e){return e[Sc]||(e[Sc]=[])}function Sx(e,t){let n,i=t[e.index];return gn(i)?n=i:(n=mx(i,t,null,e),t[e.index]=n,Am(t,n)),Ite(n,t,e,i),new wx(n,e,t)}function Dte(e,t){let n=e[Tt],i=n.createComment(""),a=qa(t,e),r=n.parentNode(a);return Nc(n,r,i,n.nextSibling(a),!1),i}var Ite=Ate;function Ate(e,t,n,i){if(e[gr])return;let a;n.type&8?a=ja(i):a=Dte(t,n),e[gr]=a}var Ote=class Ex{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new Ex(this.queryList)}setDirty(){this.queryList.setDirty()}},Tte=class kx{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];a.push(l.clone())}return new kx(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Hm(t,n).matches!==null&&this.queries[n].setDirty()}},Cx=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=zte(e):this.predicate=e}},Nte=class Dx{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new Dx(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Mte=class Ix{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Ix(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,Pte(n,r)),this.matchTNodeWithReadOption(t,n,rc(n,t,r,!1,!1))}else i===Ln?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,rc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===ze||a===bn||a===Ln&&n.type&4)this.addMatch(n.index,-2);else{let r=rc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Pte(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function Rte(e,t){return e.type&11?So(e,t):e.type&4?Fd(e,t):null}function Fte(e,t,n,i){return n===-1?Rte(t,e):n===-2?Lte(e,t,i):fs(e,e[Te],n,t)}function Lte(e,t,n){if(n===ze)return So(t,e);if(n===Ln)return Fd(t,e);if(n===bn)return Sx(t,e)}function Ax(e,t,n,i){let a=t[fa].queries[i];if(a.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(Fte(t,u,s[c+1],n.metadata.read))}}a.matches=l}return a.matches}function Wh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let s=Ax(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let m=gi;m<u.length;m++){let v=u[m];v[fr]===v[vi]&&Wh(v[Te],v,d,i)}if(u[lo]!==null){let m=u[lo];for(let v=0;v<m.length;v++){let g=m[v];Wh(g[Te],g,d,i)}}}}}return i}function Bm(e,t){return e[fa].queries[t].queryList}function Ox(e,t,n){let i=new Tc((n&4)===4);return KX(e,t,i,i.destroy),(t[fa]??(t[fa]=new Tte)).queries.push(new Ote(i))-1}function Vte(e,t,n){let i=gt();return i.firstCreatePass&&(Nx(i,new Cx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),Ox(i,ye(),t)}function Tx(e,t,n,i){let a=gt();if(a.firstCreatePass){let r=yi();Nx(a,new Cx(t,n,i),r.index),jte(a,e)}return Ox(a,ye(),n)}function zte(e){return e.split(",").map(t=>t.trim())}function Nx(e,t,n){e.queries===null&&(e.queries=new Nte),e.queries.track(new Mte(t,n))}function jte(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Hm(e,t){return e.queries.getByIndex(t)}function Mx(e,t){let n=e[Te],i=Hm(n,t);return i.crossesNgTemplate?Wh(n,e,t,[]):Ax(n,e,i,t)}function Px(e,t,n){let i,a=Oy(()=>{i._dirtyCounter();let r=qte(i,e);if(t&&r===void 0)throw new Z(-951,!1);return r});return i=a[fi],i._dirtyCounter=Pa(0),i._flatValue=void 0,a}function Bte(e){return Px(!0,!1)}function Hte(e){return Px(!0,!0)}function $te(e,t){let n=e[fi];n._lView=ye(),n._queryIndex=t,n._queryList=Bm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function qte(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[Ee]&4)return t?void 0:Di;let a=Bm(n,i),r=Mx(n,i);return a.reset(r,E_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function qg(e,t){return Bte()}function Yte(e,t){return Hte()}var Ute=(qg.required=Yte,qg);function Rx(e,t){let n=Object.create(m0),i=new S_;n.value=e;function a(){return Fs(n),Yg(n.value),n.value}return a[fi]=n,a.asReadonly=ym.bind(a),a.set=r=>{n.equal(n.value,r)||(Vs(n,r),i.emit(r))},a.update=r=>{Yg(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function Yg(e){if(e===fd)throw new Z(952,!1)}function Ug(e,t){return Rx(e)}function Gte(e){return Rx(fd)}var Wte=(Ug.required=Gte,Ug),_s=class{},Fx=class extends _s{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new vte(this));o(this,"instance",null);let n=new tm([...t.providers,{provide:_s,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],t.parent||bd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kte(e,t,n=null){return new Fx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zte=(()=>{const t=class t{constructor(i){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=M0(!1,i.type),r=a.length>0?Kte([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",q({token:t,providedIn:"environment",factory:()=>new t(pe(Va))}));let e=t;return e})();function Ce(e){return js(()=>{let t=Lx(e),n=Qe(Q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===D_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Zte).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||Di,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ar("NgStandalone"),Vx(n);let i=e.dependencies;return n.directiveDefs=Gg(i,!1),n.pipeDefs=Gg(i,!0),n.id=tie(n),n})}function Xte(e){return no(e)||N0(e)}function Qte(e){return e!==null}function kt(e){return js(()=>({type:e.type,bootstrap:e.bootstrap||Di,declarations:e.declarations||Di,imports:e.imports||Di,exports:e.exports||Di,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jte(e,t){if(e==null)return La;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,s,l,c;Array.isArray(a)?(l=a[0],r=a[1],s=a[2]??r,c=a[3]||null):(r=a,s=a,l=Od.None,c=null),n[r]=[i,l,c],t[r]=s}return n}function eie(e){if(e==null)return La;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Se(e){return js(()=>{let t=Lx(e);return Vx(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Lx(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||La,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Di,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jte(e.inputs,t),outputs:eie(e.outputs),debugInfo:null}}function Vx(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function Gg(e,t){if(!e)return null;let n=t?IX:Xte;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Qte)}function tie(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of i.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iie(e){return Object.getPrototypeOf(e.prototype).constructor}function Ft(e){let t=iie(e.type),n=!0,i=[e];for(;t;){let a;if(za(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let s=e;s.inputs=Eu(e.inputs),s.declaredInputs=Eu(e.declaredInputs),s.outputs=Eu(e.outputs);let l=a.hostBindings;l&&sie(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&rie(e,c),d&&oie(e,d),aie(e,a),sX(e.outputs,a.outputs),za(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===Ft&&(n=!1)}}t=Object.getPrototypeOf(t)}nie(i)}function aie(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function nie(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=co(a.hostAttrs,n=co(n,a.hostAttrs))}}function Eu(e){return e===La?{}:e===Di?[]:e}function rie(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function oie(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function sie(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function lie(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=zx,n.hostDirectives=i?e.map(Kh):[e]):i?n.hostDirectives.unshift(...e.map(Kh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function zx(e,t,n){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let a=i();for(let r of a)Wg(Kh(r),t,n)}else Wg(i,t,n)}function Wg(e,t,n){let i=N0(e.directive);cie(i.declaredInputs,e.inputs),zx(i,t,n),n.set(i,e),t.push(i)}function Kh(e){return typeof e=="function"?{directive:ci(e),inputs:La,outputs:La}:{directive:ci(e.directive),inputs:Kg(e.inputs),outputs:Kg(e.outputs)}}function Kg(e){if(e===void 0||e.length===0)return La;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function cie(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function jx(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ld(e,t,n){return e[t]=n}function Bx(e,t){return e[t]}function Ni(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function xs(e,t,n,i){let a=Ni(e,t,n);return Ni(e,t+1,i)||a}function die(e,t,n,i,a){let r=xs(e,t,n,i);return Ni(e,t+2,a)||r}function uie(e,t,n,i,a,r){let s=xs(e,t,n,i);return xs(e,t+2,a,r)||s}function hie(e,t,n,i,a,r,s,l,c){let d=t.consts,u=ko(t,e,4,s||null,l||null);zm(t,n,u,br(d,c),Tm),u.mergedAttrs=co(u.mergedAttrs,u.attrs),mm(t,u);let m=u.tView=Dm(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),m.queries=t.queries.embeddedTView(u)),u}function Hx(e,t,n,i,a,r,s,l,c,d){let u=n+qt,m=t.firstCreatePass?hie(u,t,e,i,a,r,s,l,c):t.data[u];$n(m,!1);let v=pie(t,e);kd()&&Pd(t,e,v,m),Eo(v,e);let g=mx(v,e,v,m);return e[u]=g,Am(e,g),xd(m)&&Td(t,e,m),c!=null&&Om(e,m,d),m}function ne(e,t,n,i,a,r,s,l){let c=ye(),d=gt(),u=br(d.consts,r);return Hx(c,d,e,t,n,i,a,u,s,l),ne}var pie=mie;function mie(e,t,n,i){return Cd(!0),t[Tt].createComment("")}var fie=new $(""),$x=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new gie}));let e=t;return e})(),gie=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Vd(e){return!!e&&typeof e.then=="function"}function qx(e){return!!e&&typeof e.subscribe=="function"}var vie=new $(""),Yx=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));o(this,"appInits",S(vie,{optional:!0})??[]);o(this,"injector",S(lt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let s=yd(this.injector,r);if(Vd(s))i.push(s);else if(qx(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});i.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bie=new $("");function yie(){XK(()=>{throw new Z(600,!1)})}function _ie(e){return e.isBoundToModule}var xie=10,Vn=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",S(zQ));o(this,"afterRenderManager",S(R_));o(this,"zonelessEnabled",S(b_));o(this,"rootEffectScheduler",S($x));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ce);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",S(Us).hasPendingTasks.pipe(xt(i=>!i)));o(this,"_injector",S(Va));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let i=He(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,He(i),this.afterTick.next()}});S(Gs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,r=lt.NULL){let s=i instanceof bx;if(!this._injector.get(Yx).done){let g="";throw new Z(405,g)}let l;s?l=i:l=this._injector.get(Xs).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=_ie(l)?void 0:this._injector.get(_s),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(fie,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),oc(this.components,u),v==null||v.unregisterApplication(m)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(xm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(na,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<xie;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)wie(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(i=this._rendererFactory)==null?void 0:i.begin)==null||a.call(i),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>$s(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;oc(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bie,[]).forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>oc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Z(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function oc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wie(e,t,n,i){!n&&!$s(e)||dx(e,t,n&&!i?0:1)}function _e(e,t,n,i){let a=ye(),r=Ir();if(Ni(a,r,t)){gt();let s=qs();hee(s,a,e,t,n,i)}return _e}function $m(e,t,n,i){return Ni(e,Ir(),n)?t+Ma(n)+i:_i}function Sie(e,t,n,i,a,r){let s=Q0(),l=xs(e,s,n,a);return Sd(2),l?t+Ma(n)+i+Ma(a)+r:_i}function Eie(e,t,n,i,a,r,s,l){let c=Q0(),d=die(e,c,n,a,s);return Sd(3),d?t+Ma(n)+i+Ma(a)+r+Ma(s)+l:_i}function Dl(e,t){return e<<17|t<<2}function wr(e){return e>>17&32767}function kie(e){return(e&2)==2}function Cie(e,t){return e&131071|t<<17}function Zh(e){return e|2}function po(e){return(e&131068)>>2}function ku(e,t){return e&-131069|t<<2}function Die(e){return(e&1)===1}function Xh(e){return e|1}function Iie(e,t,n,i,a,r){let s=r?t.classBindings:t.styleBindings,l=wr(s),c=po(s);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||Bs(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=wr(e[l+1]);e[i+1]=Dl(m,l),m!==0&&(e[m+1]=ku(e[m+1],i)),e[l+1]=Cie(e[l+1],i)}else e[i+1]=Dl(l,0),l!==0&&(e[l+1]=ku(e[l+1],i)),l=i;else e[i+1]=Dl(c,0),l===0?l=i:e[c+1]=ku(e[c+1],i),c=i;d&&(e[i+1]=Zh(e[i+1])),Zg(e,u,i,!0),Zg(e,u,i,!1),Aie(t,u,e,i,r),s=Dl(l,c),r?t.classBindings=s:t.styleBindings=s}function Aie(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Bs(r,t)>=0&&(n[i+1]=Xh(n[i+1]))}function Zg(e,t,n,i){let a=e[n+1],r=t===null,s=i?wr(a):po(a),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];Oie(c,t)&&(l=!0,e[s+1]=i?Xh(d):Zh(d)),s=i?wr(d):po(d)}l&&(e[n+1]=i?Zh(a):Xh(a))}function Oie(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bs(e,t)>=0:!1}var pa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tie(e){return e.substring(pa.key,pa.keyEnd)}function Nie(e){return Mie(e),Ux(e,Gx(e,0,pa.textEnd))}function Ux(e,t){let n=pa.textEnd;return n===t?-1:(t=pa.keyEnd=Pie(e,pa.key=t,n),Gx(e,t,n))}function Mie(e){pa.key=0,pa.keyEnd=0,pa.value=0,pa.valueEnd=0,pa.textEnd=e.length}function Gx(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pie(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function W(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return W}function Qh(e,t,n,i,a){Nm(t,e,n,a?"class":"style",i)}function zd(e,t,n){return Kx(e,t,n,!1),zd}function We(e,t){return Kx(e,t,null,!0),We}function Sr(e){Zx(jie,Wx,e,!0)}function Wx(e,t){for(let n=Nie(t);n>=0;n=Ux(t,n))vd(e,Tie(t),!0)}function Kx(e,t,n,i){let a=ye(),r=gt(),s=Sd(2);if(r.firstUpdatePass&&Qx(r,e,s,i),t!==_i&&Ni(a,s,t)){let l=r.data[ga()];Jx(r,l,a,a[Tt],e,a[s+1]=Hie(t,n),i,s)}}function Zx(e,t,n,i){let a=gt(),r=Sd(2);a.firstUpdatePass&&Qx(a,null,r,i);let s=ye();if(n!==_i&&Ni(s,r,n)){let l=a.data[ga()];if(e1(l,i)&&!Xx(a,r)){let c=l.classesWithoutHost;c!==null&&(n=kh(c,n||"")),Qh(a,l,s,n,i)}else Bie(a,l,s,s[Tt],s[r+1],s[r+1]=zie(e,t,n),i,r)}}function Xx(e,t){return t>=e.expandoStartIndex}function Qx(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[ga()],s=Xx(e,n);e1(r,i)&&t===null&&!s&&(t=!1),t=Rie(a,r,t,i),Iie(a,r,t,n,s,i)}}function Rie(e,t,n,i){let a=sQ(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Cu(null,e,t,n,i),n=ws(n,t.attrs,i),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==a)if(n=Cu(a,e,t,n,i),r===null){let l=Fie(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Cu(null,e,t,l[1],i),l=ws(l,t.attrs,i),Lie(e,t,i,l))}else r=Vie(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function Fie(e,t,n){let i=n?t.classBindings:t.styleBindings;if(po(i)!==0)return e[wr(i)]}function Lie(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[wr(a)]=i}function Vie(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let s=e[r].hostAttrs;i=ws(i,s,n)}return ws(i,t.attrs,n)}function Cu(e,t,n,i,a){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],i=ws(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function ws(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?a=s:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vd(e,s,n?!0:t[++r]))}return e===void 0?null:e}function zie(e,t,n){if(n==null||n==="")return Di;let i=[],a=nn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function jie(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&vd(e,i,n)}function Bie(e,t,n,i,a,r,s,l){a===_i&&(a=Di);let c=0,d=0,u=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;u!==null||m!==null;){let v=c<a.length?a[c+1]:void 0,g=d<r.length?r[d+1]:void 0,x=null,w;u===m?(c+=2,d+=2,v!==g&&(x=m,w=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,w=g),x!==null&&Jx(e,t,n,i,x,w,s,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function Jx(e,t,n,i,a,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=Die(d)?Xg(c,t,n,a,po(d),s):void 0;if(!Pc(u)){Pc(r)||kie(d)&&(r=Xg(c,null,n,a,l,s));let m=Y0(ga(),n);Oee(i,s,m,a,r)}}function Xg(e,t,n,i,a,r){let s=t===null,l;for(;a>0;){let c=e[a],d=Array.isArray(c),u=d?c[1]:c,m=u===null,v=n[a+1];v===_i&&(v=m?Di:void 0);let g=m?gu(v,i):u===i?v:void 0;if(d&&!Pc(g)&&(g=gu(c,i)),Pc(g)&&(l=g,s))return l;let x=e[a+1];a=s?wr(x):po(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=gu(c,i))}return l}function Pc(e){return e!==void 0}function Hie(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ta(nn(e)))),e}function e1(e,t){return(e.flags&(t?8:16))!==0}function $ie(e,t,n){let i=ye(),a=$m(i,e,t,n);Zx(vd,Wx,a,!0)}var qie=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Du(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function Yie(e,t,n){let i,a,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Du(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(s),v=t[l],g=Du(s,m,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let x=n(r,c),w=n(s,m),k=n(r,d);if(Object.is(k,w)){let N=n(l,v);Object.is(N,x)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(i??(i=new ev),a??(a=Jg(e,r,s,n)),Jh(e,i,r,k))e.updateValue(r,d),r++,s++;else if(a.has(k))i.set(x,e.detach(r)),s--;else{let N=e.create(r,t[r]);e.attach(r,N),r++,s++}}for(;r<=l;)Qg(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,m=Du(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new ev),a??(a=Jg(e,r,s,n));let v=n(r,u);if(Jh(e,i,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),s--}}}for(;!c.done;)Qg(e,i,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));i==null||i.forEach(l=>{e.destroy(l)})}function Jh(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function Qg(e,t,n,i,a){if(Jh(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function Jg(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var ev=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function se(e,t){Ar("NgControlFlow");let n=ye(),i=Ir(),a=n[i]!==_i?n[i]:-1,r=a!==-1?Rc(n,qt+a):void 0,s=0;if(Ni(n,i,e)){let l=He(null);try{if(r!==void 0&&gx(r,s),e!==-1){let c=qt+e,d=Rc(n,c),u=ep(n[Te],c),m=ho(d,u.tView.ssrId),v=Ks(n,u,t,{dehydratedView:m});Zs(d,v,s,uo(u,m))}}finally{He(l)}}else if(r!==void 0){let l=fx(r,s);l!==void 0&&(l[ii]=t)}}var Uie=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-gi}};function ba(e,t){return t}var Gie=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ri(e,t,n,i,a,r,s,l,c,d,u,m,v){Ar("NgControlFlow");let g=ye(),x=gt(),w=c!==void 0,k=ye(),N=l?s.bind(k[Hi][ii]):s,V=new Gie(w,N);k[qt+e]=V,Hx(g,x,e+1,t,n,i,a,br(x.consts,r))}var Wie=class extends qie{constructor(t,n,i){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-gi}at(t){return this.getLView(t)[ii].$implicit}attach(t,n){let i=n[oo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Zs(this.lContainer,n,t,uo(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Kie(this.lContainer,t)}create(t,n){var r;let i=ho(this.lContainer,this.templateTNode.tView.ssrId),a=Ks(this.hostLView,this.templateTNode,new Uie(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Md(t[Te],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ii].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ii].$index=t}getLView(t){return Zie(this.lContainer,t)}};function Fi(e){let t=He(null),n=ga();try{let i=ye(),a=i[Te],r=i[n],s=n+1,l=Rc(i,s);if(r.liveCollection===void 0){let d=ep(a,s);r.liveCollection=new Wie(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Yie(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Ir(),u=c.length===0;if(Ni(i,d,u)){let m=n+2,v=Rc(i,m);if(u){let g=ep(a,m),x=ho(v,g.tView.ssrId),w=Ks(i,g,void 0,{dehydratedView:x});Zs(v,w,0,uo(g,x))}else gx(v,0)}}}finally{He(t)}}function Rc(e,t){return e[t]}function Kie(e,t){return bs(e,t)}function Zie(e,t){return fx(e,t)}function ep(e,t){return am(e,t)}function I(e,t,n,i){let a=ye(),r=gt(),s=qt+e,l=a[Tt],c=r.firstCreatePass?_x(s,r,a,t,Tm,JX(),n,i):r.data[s],d=Xie(r,a,c,l,t);a[s]=d;let u=xd(c);return $n(c,!0),Z_(l,d,c),!Rm(c)&&kd()&&Pd(r,a,d,c),(ZX()===0||u)&&Eo(d,a),XX(),u&&(Td(r,a,c),Em(r,c,a)),i!==null&&Om(a,c),I}function T(){let e=yi();cm()?dm():(e=e.parent,$n(e,!1));let t=e;eQ(t)&&tQ(),QX();let n=gt();return n.firstCreatePass&&xx(n,t),t.classesWithoutHost!=null&&mQ(t)&&Qh(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&fQ(t)&&Qh(n,t,ye(),t.stylesWithoutHost,!1),T}function he(e,t,n,i){return I(e,t,n,i),T(),he}var Xie=(e,t,n,i,a,r)=>(Cd(!0),W_(i,a,uQ()));function Qie(e,t,n,i,a){let r=t.consts,s=br(r,i),l=ko(t,e,8,"ng-container",s);s!==null&&Gh(l,s,!0);let c=br(r,a);return zm(t,n,l,c,Tm),l.mergedAttrs=co(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function t1(e,t,n){let i=ye(),a=gt(),r=e+qt,s=a.firstCreatePass?Qie(r,a,i,t,n):a.data[r];$n(s,!0);let l=Jie(a,i);return i[r]=l,kd()&&Pd(a,i,l,s),Eo(l,i),xd(s)&&(Td(a,i,s),Em(a,s,i)),n!=null&&Om(i,s),t1}function i1(){let e=yi(),t=gt();return cm()?dm():(e=e.parent,$n(e,!1)),t.firstCreatePass&&(mm(t,e),im(e)&&t.queries.elementEnd(e)),i1}function Qs(e,t,n){return t1(e,t,n),i1(),Qs}var Jie=(e,t,n,i)=>(Cd(!0),JJ(t[Tt],""));function Ke(){return ye()}function yn(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!0)}return yn}var Kn=void 0;function eae(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var tae=["en",[["a","p"],["AM","PM"],Kn],[["AM","PM"],Kn,Kn],[["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"]],Kn,[["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"]],Kn,[["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}",Kn,"{1} 'at' {0}",Kn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eae],os={};function iae(e,t,n){typeof t!="string"&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),os[t]=e,n&&(os[t][Zt.ExtraData]=n)}function ya(e){let t=aae(e),n=tv(t);if(n)return n;let i=t.split("-")[0];if(n=tv(i),n)return n;if(i==="en")return tae;throw new Z(701,!1)}function tv(e){return e in os||(os[e]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[e]),os[e]}var Zt=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Zt||{});function aae(e){return e.toLowerCase().replace(/_/g,"-")}var tp="en-US";function nae(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function iv(e,t,n){return function i(a){if(a===Function)return n;let r=bo(e)?Ba(e.index,t):t;Vm(r,5);let s=t[ii],l=av(t,s,n,a),c=i.__ngNextListenerFn__;for(;c;)l=av(t,s,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function av(e,t,n,i){let a=He(null);try{return vr(6,t,n),n(i)!==!1}catch(r){return rae(e,r),!1}finally{He(a)}}function rae(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function nv(e,t,n,i,a,r){let s=t[n],l=t[Te],c=l.data[n].outputs[i],d=s[c],u=l.firstCreatePass?lm(l):null,m=sm(t),v=d.subscribe(r),g=m.length;m.push(r,v),u&&u.push(a,e.index,g,-(g+1))}function de(e,t,n,i){let a=ye(),r=gt(),s=yi();return a1(r,a,a[Tt],s,e,t,i),de}function oae(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let s=a[r];if(s===n&&a[r+1]===i){let l=t[Xr],c=a[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function a1(e,t,n,i,a,r,s){var m,v;let l=xd(i),c=e.firstCreatePass?lm(e):null,d=sm(t),u=!0;if(i.type&3||s){let g=qa(i,t),x=s?s(g):g,w=d.length,k=s?V=>s(ja(V[i.index])):i.index,N=null;if(!s&&l&&(N=oae(e,t,a,i.index)),N!==null){let V=N.__ngLastListenerFn__||N;V.__ngNextListenerFn__=r,N.__ngLastListenerFn__=r,u=!1}else{r=iv(i,t,r);let V=n.listen(x,a,r);d.push(r,V),c&&c.push(a,k,w,w+1)}}else r=iv(i,t,r);if(u){let g=(m=i.outputs)==null?void 0:m[a],x=(v=i.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let k=x[w],N=x[w+1];nv(i,t,k,N,a,r)}if(g&&g.length)for(let w of g)nv(i,t,w,a,a,r)}}function P(e=1){return cQ(e)}function sae(e,t){let n=null,i=qJ(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?G_(e,r,!0):GJ(i,r))return a}return n}function Li(e){let t=ye()[Hi][Pi];if(!t.projection){let n=e?e.length:1,i=t.projection=kX(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?sae(r,e):0;s!==null&&(a[s]?a[s].projectionNext=r:i[s]=r,a[s]=r)}r=r.next}}}function dt(e,t=0,n,i,a,r){let s=ye(),l=gt(),c=null,d=ko(l,qt+e,16,null,null);d.projection===null&&(d.projection=t),dm();let u=!s[oo]||W0();s[Hi][Pi].projection[d.projection]===null&&c!==null?lae(s,l,c):u&&!Rm(d)&&Iee(l,s,d)}function lae(e,t,n){let i=qt+n,a=t.data[i],r=e[i],s=ho(r,a.tView.ssrId),l=Ks(e,a,void 0,{dehydratedView:s});Zs(r,l,0,uo(a,s))}function jd(e,t,n){return n1(e,"",t,"",n),jd}function n1(e,t,n,i,a){let r=ye(),s=$m(r,t,n,i);if(s!==_i){let l=gt(),c=qs();Nd(l,c,r,e,s,r[Tt],a,!1)}return n1}function pi(e,t,n,i){Tx(e,t,n,i)}function mt(e,t,n){Vte(e,t,n)}function Re(e){let t=ye(),n=gt(),i=um();Ed(i+1);let a=Hm(n,i);if(e.dirty&&YX(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Mx(t,i);e.reset(r,E_),e.notifyOnChanges()}return!0}return!1}function Fe(){return Bm(ye(),um())}function cae(e,t,n,i,a){$te(t,Tx(e,n,i,a))}function dae(e=1){Ed(um()+e)}function Qi(e){let t=Z0();return wd(t,qt+e)}function B(e,t=""){let n=ye(),i=gt(),a=e+qt,r=i.firstCreatePass?ko(i,a,1,t,null):i.data[a],s=uae(i,n,r,t);n[a]=s,kd()&&Pd(i,n,s,r),$n(r,!1)}var uae=(e,t,n,i,a)=>(Cd(!0),XJ(t[Tt],i));function we(e){return Ie("",e,""),we}function Ie(e,t,n){let i=ye(),a=$m(i,e,t,n);return a!==_i&&qm(i,ga(),a),Ie}function Er(e,t,n,i,a){let r=ye(),s=Sie(r,e,t,n,i,a);return s!==_i&&qm(r,ga(),s),Er}function r1(e,t,n,i,a,r,s){let l=ye(),c=Eie(l,e,t,n,i,a,r,s);return c!==_i&&qm(l,ga(),c),r1}function qm(e,t,n){let i=Y0(t,e);QJ(e[Tt],i,n)}function Ha(e,t,n){k_(t)&&(t=t());let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return Ha}function pn(e,t){let n=k_(e);return n&&e.set(t),n}function $a(e,t){let n=ye(),i=gt(),a=yi();return a1(i,n,n[Tt],a,e,t),$a}var o1={};function Ym(e){let t=gt(),n=ye(),i=e+qt,a=ko(t,i,128,null,null);return $n(a,!1),nm(t,n,i,o1),Ym}function rv(e){Ar("NgLet");let t=gt(),n=ye(),i=ga();return nm(t,n,i,e),e}function ov(e){let t=Z0(),n=wd(t,qt+e);if(n===o1)throw new Z(314,!1);return n}function hae(e,t,n){let i=gt();if(i.firstCreatePass){let a=za(e);ip(n,i.data,i.blueprint,a,!0),ip(t,i.data,i.blueprint,a,!1)}}function ip(e,t,n,i,a){if(e=ci(e),Array.isArray(e))for(let r=0;r<e.length;r++)ip(e[r],t,n,i,a);else{let r=gt(),s=ye(),l=yi(),c=ro(e)?e:ci(e.provide),d=F0(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(ro(e)||!e.multi){let g=new Ys(d,a,Je),x=Au(c,t,a?u:u+v,m);x===-1?(Lh(Ac(l,s),r,c),Iu(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[x]=g,s[x]=g)}else{let g=Au(c,t,u+v,m),x=Au(c,t,u,u+v),w=g>=0&&n[g],k=x>=0&&n[x];if(a&&!k||!a&&!w){Lh(Ac(l,s),r,c);let N=fae(a?mae:pae,n.length,a,i,d);!a&&k&&(n[x].providerFactory=N),Iu(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=s1(n[a?x:g],d,!a&&i);Iu(r,e,g>-1?g:x,N)}!a&&i&&k&&n[x].componentProviders++}}}function Iu(e,t,n,i){let a=ro(t),r=MX(t);if(a||r){let s=(r?ci(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,s]):l[c+1].push(i,s)}else l.push(n,s)}}}function s1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function pae(e,t,n,i,a){return ap(this.multi,[])}function mae(e,t,n,i,a){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fs(i,i[Te],this.providerFactory.index,a);s=c.slice(0,l),ap(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],ap(r,s);return s}function ap(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function fae(e,t,n,i,a){let r=new Ys(e,n,Je);return r.multi=[],r.index=t,r.componentProviders=0,s1(r,a,i&&!n),r}function xi(e,t=[]){return n=>{n.providersResolver=(i,a)=>hae(i,a?a(e):e,t)}}function l1(e,t,n){let i=xo()+e,a=ye();return a[i]===_i?Ld(a,i,t()):Bx(a,i)}function Fc(e,t,n,i){return d1(ye(),xo(),e,t,n,i)}function gae(e,t,n,i,a){return u1(ye(),xo(),e,t,n,i,a)}function vae(e,t,n,i,a,r,s,l){let c=xo()+e,d=ye(),u=uie(d,c,n,i,a,r);return Ni(d,c+4,s)||u?Ld(d,c+5,t(n,i,a,r,s)):Bx(d,c+5)}function c1(e,t){let n=e[t];return n===_i?void 0:n}function d1(e,t,n,i,a,r){let s=t+n;return Ni(e,s,a)?Ld(e,s+1,r?i.call(r,a):i(a)):c1(e,s+1)}function u1(e,t,n,i,a,r,s){let l=t+n;return xs(e,l,a,r)?Ld(e,l+2,s?i.call(s,a,r):i(a,r)):c1(e,l+2)}function H(e,t){let n=gt(),i,a=e+qt;n.firstCreatePass?(i=bae(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=mr(i.type)),s=Ai(Je);try{let l=Ic(!1),c=r();return Ic(l),nm(n,ye(),a,c),c}finally{Ai(s)}}function bae(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function K(e,t,n){let i=e+qt,a=ye(),r=wd(a,i);return h1(a,i)?d1(a,xo(),t,r.transform,n,r):r.transform(n)}function qn(e,t,n,i){let a=e+qt,r=ye(),s=wd(r,a);return h1(r,a)?u1(r,xo(),t,s.transform,n,i,s):s.transform(n,i)}function h1(e,t){return e[Te].data[t].pure}function np(e,t){return Fd(e,t)}var yae=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},sv=new yae("19.2.16"),_ae=(()=>{const t=class t{constructor(){o(this,"zone",S(Ne));o(this,"changeDetectionScheduler",S(wo));o(this,"applicationRef",S(Vn));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xae({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(Qe(Q({},wae()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:wc,multi:!0,useFactory:()=>{let i=S(_ae,{optional:!0});return()=>i.initialize()}},{provide:wc,multi:!0,useFactory:()=>{let i=S(Sae);return()=>{i.initialize()}}},t===!0?{provide:y_,useValue:!0}:[],{provide:__,useValue:n??g_}]}function wae(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Sae=(()=>{const t=class t{constructor(){o(this,"subscription",new ct);o(this,"initialized",!1);o(this,"zone",S(Ne));o(this,"pendingTasks",S(Us))}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Eae=(()=>{var t;const n=class n{constructor(){o(this,"appRef",S(Vn));o(this,"taskService",S(Us));o(this,"ngZone",S(Ne));o(this,"zonelessEnabled",S(b_));o(this,"tracing",S(Gs,{optional:!0}));o(this,"disableScheduling",S(y_,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new ct);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Oc):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(__,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof FQ||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Cg:x_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(a){return new(a||n)}),o(n,"ɵprov",q({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function kae(){return typeof $localize<"u"&&$localize.locale||tp}var Bd=new $("",{providedIn:"root",factory:()=>S(Bd,Ye.Optional|Ye.SkipSelf)||kae()}),rp=new $(""),Cae=new $("");function jo(e){return!e.moduleRef}function Dae(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(va,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),jo(e)){let r=()=>t.destroy(),s=e.platformInjector.get(rp);s.add(r),t.onDestroy(()=>{a.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rp);s.add(r),e.moduleRef.onDestroy(()=>{oc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),s.delete(r)})}return Aae(i,n,()=>{let r=t.get(Yx);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Bd,tp);if(nae(s||tp),!t.get(Cae,!0))return jo(e)?t.get(Vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let l=t.get(Vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Iae(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iae(e,t){let n=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Z(-403,!1);t.push(e)}function Aae(e,t,n){try{let i=n();return Vd(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var sc=null;function Oae(e=[],t){return lt.create({name:t,providers:[{provide:em,useValue:"platform"},{provide:rp,useValue:new Set([()=>sc=null])},...e]})}function Tae(e=[]){if(sc)return sc;let t=Oae(e);return sc=t,yie(),Nae(t),t}function Nae(e){let t=e.get(M_,null);yd(e,()=>{t==null||t.forEach(n=>n())})}function Mae(){return!1}var Lt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Pae),e})();function Pae(e){return Rae(yi(),ye(),(e&16)===16)}function Rae(e,t,n){if(bo(e)&&!n){let i=Ba(e.index,t);return new ys(i,i)}else if(e.type&175){let i=t[Hi];return new ys(i,t)}return null}var Fae=class{constructor(){}supports(e){return e instanceof Map||jx(e)}create(){return new Lae}},Lae=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||jx(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new Vae(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Vae=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function lv(){return new p1([new Fae])}var p1=(()=>{const t=class t{constructor(i){o(this,"factories");this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||lv()),deps:[[t,new D0,new C0]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new Z(901,!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:lv}));let e=t;return e})();function zae(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Tae(i),s=[xae({}),{provide:wo,useExisting:Eae},...n||[]],l=new Fx({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return Dae({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function qe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ha(e){return aZ(e)}function Ti(e,t){return Oy(e,t==null?void 0:t.equal)}var my,jae=(my=fi,class{constructor(e){o(this,my);this[fi]=e}destroy(){this[fi].destroy()}});function m1(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get($i):null,a,r=n.get(wm,null,{optional:!0}),s=n.get(wo);return r!==null&&!(t!=null&&t.forceRoot)?(a=$ae(r.view,s,e),i instanceof v_&&i._lView===r.view&&(i=null)):a=qae(e,n.get($x),s),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new jae(a)}var f1=Qe(Q({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gs,run(){if(this.dirty=!1,this.hasRun&&!zp(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=ls(this),n=kc(!1);try{this.maybeCleanup(),this.fn(e)}finally{kc(n),cd(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Bae=Qe(Q({},f1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){dd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Hae=Qe(Q({},f1),{consumerMarkedDirty(){this.view[Ee]|=8192,_o(this.view),this.notifier.notify(13)},destroy(){var e;dd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[rn])==null||e.delete(this)}});function $ae(e,t,n){let i=Object.create(Hae);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[rn]??(e[rn]=new Set),e[rn].add(i),i.consumerMarkedDirty(i),i}function qae(e,t,n){let i=Object.create(Bae);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}var Yae=e=>e;function Uae(e,t){if(typeof e=="function"){let n=lg(e,Yae,t==null?void 0:t.equal);return cv(n)}else{let n=lg(e.source,e.computation,e.equal);return cv(n)}}function cv(e){let t=e[fi],n=e;return n.set=i=>eZ(t,i),n.update=i=>tZ(t,i),n.asReadonly=ym.bind(e),n}function g1(e,t){let n=no(e),i=t.elementInjector||bd();return new jm(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var Gae={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Wae(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Kae(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ou;function Zae(e,t){if(!Ou){let n=Element.prototype;Ou=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ou.call(e,t):!1}function Xae(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[Wae(i)]=[n,a]}),t}function Qae(e,t){return t.get(Xs).resolveComponentFactory(e).inputs}function Jae(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,s)=>r==="*"?(a=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=ene(l,t,a);c!==-1&&i[c].push(l)}return i}function ene(e,t,n){let i=n;return Kae(e)&&t.some((a,r)=>a!=="*"&&Zae(e,a)?(i=r,!0):!1),i}var tne=10,ine=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Xs).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new ane(this.componentFactory,e,this.inputMap)}},ane=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new qp(1));o(this,"events",this.eventEmitters.pipe(pr(e=>Ji(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(Vn),this.cdScheduler=t.get(wo),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Gae.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},tne))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),Yee(this.componentRef.hostView)&&(Uee(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=lt.create({providers:[],parent:this.injector}),n=Jae(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:i})=>{let a=e.instance[n];return new Ot(r=>{let s=a.subscribe(l=>r.next({name:i,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},nne=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function rne(e,t){let n=Qae(e,t.injector),i=t.strategyFactory||new ine(e,t.injector),a=Xae(n);class r extends nne{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let m=this[d];delete this[d],c.setInputValue(d,m,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,m){let[v,g]=a[c];this.ngElementStrategy.setInputValue(v,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var et=new $(""),v1=null;function hr(){return v1}function one(e){v1??(v1=e)}var sne=class{},b1=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(lne),providedIn:"platform"}));let e=t;return e})(),lne=(()=>{const t=class t extends b1{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",S(et));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hr().getBaseHref(this._doc)}onPopState(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,s){this._history.pushState(a,r,s)}replaceState(a,r,s){this._history.replaceState(a,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function lr(e){return e&&e[0]!=="?"?`?${e}`:e}var Um=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(dne),providedIn:"root"}));let e=t;return e})(),cne=new $(""),dne=(()=>{const t=class t extends Um{constructor(a,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=S(et).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return y1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+lr(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?`${r}${s}`:r}pushState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.replaceState(a,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(b1),pe(cne,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_1=(()=>{const t=class t{constructor(i){o(this,"_subject",new ce);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=pne(dv(uv(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+lr(a))}normalize(i){return t.stripTrailingSlash(hne(this._basePath,uv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",lr),o(t,"joinWithSlash",y1),o(t,"stripTrailingSlash",dv),o(t,"ɵfac",function(i){return new(i||t)(pe(Um))}),o(t,"ɵprov",q({token:t,factory:()=>une(),providedIn:"root"}));let e=t;return e})();function une(){return new _1(pe(Um))}function hne(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function uv(e){return e.replace(/\/index.html$/,"")}function pne(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var ki=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ki||{}),ut=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ut||{}),zi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(zi||{}),Hd={MinusSign:5};function mne(e){return ya(e)[Zt.LocaleId]}function fne(e,t,n){let i=ya(e),a=[i[Zt.DayPeriodsFormat],i[Zt.DayPeriodsStandalone]],r=aa(a,t);return aa(r,n)}function gne(e,t,n){let i=ya(e),a=[i[Zt.DaysFormat],i[Zt.DaysStandalone]],r=aa(a,t);return aa(r,n)}function vne(e,t,n){let i=ya(e),a=[i[Zt.MonthsFormat],i[Zt.MonthsStandalone]],r=aa(a,t);return aa(r,n)}function bne(e,t){let n=ya(e)[Zt.Eras];return aa(n,t)}function Il(e,t){let n=ya(e);return aa(n[Zt.DateFormat],t)}function Al(e,t){let n=ya(e);return aa(n[Zt.TimeFormat],t)}function Ol(e,t){let n=ya(e)[Zt.DateTimeFormat];return aa(n,t)}function $d(e,t){return ya(e)[Zt.NumberSymbols][t]}function x1(e){if(!e[Zt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Zt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yne(e){let t=ya(e);return x1(t),(t[Zt.ExtraData][2]||[]).map(n=>typeof n=="string"?Tu(n):[Tu(n[0]),Tu(n[1])])}function _ne(e,t,n){let i=ya(e);x1(i);let a=[i[Zt.ExtraData][0],i[Zt.ExtraData][1]],r=aa(a,t)||[];return aa(r,n)||[]}function aa(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Tu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var xne=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lr={},wne=/((?:[^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 Sne(e,t,n,i){let a=Nne(e);t=tn(n,t)||t;let r=[],s;for(;t;)if(s=wne.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=S1(i,l),a=Tne(a,i));let c="";return r.forEach(d=>{let u=Ane(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Lc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function tn(e,t){let n=mne(e);if(Lr[n]??(Lr[n]={}),Lr[n][t])return Lr[n][t];let i="";switch(t){case"shortDate":i=Il(e,zi.Short);break;case"mediumDate":i=Il(e,zi.Medium);break;case"longDate":i=Il(e,zi.Long);break;case"fullDate":i=Il(e,zi.Full);break;case"shortTime":i=Al(e,zi.Short);break;case"mediumTime":i=Al(e,zi.Medium);break;case"longTime":i=Al(e,zi.Long);break;case"fullTime":i=Al(e,zi.Full);break;case"short":let a=tn(e,"shortTime"),r=tn(e,"shortDate");i=Tl(Ol(e,zi.Short),[a,r]);break;case"medium":let s=tn(e,"mediumTime"),l=tn(e,"mediumDate");i=Tl(Ol(e,zi.Medium),[s,l]);break;case"long":let c=tn(e,"longTime"),d=tn(e,"longDate");i=Tl(Ol(e,zi.Long),[c,d]);break;case"full":let u=tn(e,"fullTime"),m=tn(e,"fullDate");i=Tl(Ol(e,zi.Full),[u,m]);break}return i&&(Lr[n][t]=i),i}function Tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ua(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function Ene(e,t){return ua(e,3).substring(0,t)}function Wt(e,t,n=0,i=!1,a=!1){return function(r,s){let l=kne(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return Ene(l,t);let c=$d(s,Hd.MinusSign);return ua(l,t,c,i,a)}}function kne(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function pt(e,t,n=ki.Format,i=!1){return function(a,r){return Cne(a,r,e,t,n,i)}}function Cne(e,t,n,i,a,r){switch(n){case 2:return vne(t,a,i)[e.getMonth()];case 1:return gne(t,a,i)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=yne(t),u=_ne(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=s>=g.hours&&l>=g.minutes,k=s<x.hours||s===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&k)return!0}else if(w||k)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return fne(t,a,i)[s<12?0:1];case 3:return bne(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Nl(e){return function(t,n,i){let a=-1*i,r=$d(n,Hd.MinusSign),s=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ua(s,2,r)+ua(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ua(s,1,r);case 2:return"GMT"+(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Dne=0,lc=4;function Ine(e){let t=Lc(e,Dne,1).getDay();return Lc(e,0,1+(t<=lc?lc:lc+7)-t)}function w1(e){let t=e.getDay(),n=t===0?-3:lc-t;return Lc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Nu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();a=1+Math.floor((s+r)/7)}else{let r=w1(n),s=Ine(r.getFullYear()),l=r.getTime()-s.getTime();a=1+Math.round(l/6048e5)}return ua(a,e,$d(i,Hd.MinusSign))}}function Ml(e,t=!1){return function(n,i){let a=w1(n).getFullYear();return ua(a,e,$d(i,Hd.MinusSign),t)}}var Mu={};function Ane(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=pt(3,ut.Abbreviated);break;case"GGGG":t=pt(3,ut.Wide);break;case"GGGGG":t=pt(3,ut.Narrow);break;case"y":t=Wt(0,1,0,!1,!0);break;case"yy":t=Wt(0,2,0,!0,!0);break;case"yyy":t=Wt(0,3,0,!1,!0);break;case"yyyy":t=Wt(0,4,0,!1,!0);break;case"Y":t=Ml(1);break;case"YY":t=Ml(2,!0);break;case"YYY":t=Ml(3);break;case"YYYY":t=Ml(4);break;case"M":case"L":t=Wt(1,1,1);break;case"MM":case"LL":t=Wt(1,2,1);break;case"MMM":t=pt(2,ut.Abbreviated);break;case"MMMM":t=pt(2,ut.Wide);break;case"MMMMM":t=pt(2,ut.Narrow);break;case"LLL":t=pt(2,ut.Abbreviated,ki.Standalone);break;case"LLLL":t=pt(2,ut.Wide,ki.Standalone);break;case"LLLLL":t=pt(2,ut.Narrow,ki.Standalone);break;case"w":t=Nu(1);break;case"ww":t=Nu(2);break;case"W":t=Nu(1,!0);break;case"d":t=Wt(2,1);break;case"dd":t=Wt(2,2);break;case"c":case"cc":t=Wt(7,1);break;case"ccc":t=pt(1,ut.Abbreviated,ki.Standalone);break;case"cccc":t=pt(1,ut.Wide,ki.Standalone);break;case"ccccc":t=pt(1,ut.Narrow,ki.Standalone);break;case"cccccc":t=pt(1,ut.Short,ki.Standalone);break;case"E":case"EE":case"EEE":t=pt(1,ut.Abbreviated);break;case"EEEE":t=pt(1,ut.Wide);break;case"EEEEE":t=pt(1,ut.Narrow);break;case"EEEEEE":t=pt(1,ut.Short);break;case"a":case"aa":case"aaa":t=pt(0,ut.Abbreviated);break;case"aaaa":t=pt(0,ut.Wide);break;case"aaaaa":t=pt(0,ut.Narrow);break;case"b":case"bb":case"bbb":t=pt(0,ut.Abbreviated,ki.Standalone,!0);break;case"bbbb":t=pt(0,ut.Wide,ki.Standalone,!0);break;case"bbbbb":t=pt(0,ut.Narrow,ki.Standalone,!0);break;case"B":case"BB":case"BBB":t=pt(0,ut.Abbreviated,ki.Format,!0);break;case"BBBB":t=pt(0,ut.Wide,ki.Format,!0);break;case"BBBBB":t=pt(0,ut.Narrow,ki.Format,!0);break;case"h":t=Wt(3,1,-12);break;case"hh":t=Wt(3,2,-12);break;case"H":t=Wt(3,1);break;case"HH":t=Wt(3,2);break;case"m":t=Wt(4,1);break;case"mm":t=Wt(4,2);break;case"s":t=Wt(5,1);break;case"ss":t=Wt(5,2);break;case"S":t=Wt(6,1);break;case"SS":t=Wt(6,2);break;case"SSS":t=Wt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Nl(0);break;case"ZZZZZ":t=Nl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Nl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Nl(2);break;default:return null}return Mu[e]=t,t}function S1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function One(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tne(e,t,n){let i=e.getTimezoneOffset(),a=S1(t,i);return One(e,-1*(a-i))}function Nne(e){if(hv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,s=1]=e.split("-").map(l=>+l);return Lc(a,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(xne))return Mne(i)}let t=new Date(e);if(!hv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Mne(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-i,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function hv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,pv=[],Js=(()=>{const t=class t{constructor(i,a){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",pv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(Pu):pv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Pu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Pu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Pne=(()=>{const t=class t{constructor(i,a,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=i,this._differs=a,this._renderer=r}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,s]=i.split("."),l=r.indexOf("-")===-1?void 0:In.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${a}${s}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(p1),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),E1=(()=>{const t=class t{constructor(i){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=i}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};o(t,"ɵfac",function(i){return new(i||t)(Je(bn))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bi]}));let e=t;return e})();function k1(e,t){return new Z(2100,!1)}var Rne=class{createSubscription(e,t){return ha(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){ha(()=>e.unsubscribe())}},Fne=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},Lne=new Fne,Vne=new Rne,C1=(()=>{const t=class t{constructor(i){o(this,"_ref");o(this,"_latestValue",null);o(this,"markForCheckOnValueUpdate",!0);o(this,"_subscription",null);o(this,"_obj",null);o(this,"_strategy",null);this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,a=>this._updateLatestValue(i,a))}_selectStrategy(i){if(Vd(i))return Lne;if(qx(i))return Vne;throw k1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,a){var r;i===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};o(t,"ɵfac",function(i){return new(i||t)(Je(Lt,16))}),o(t,"ɵpipe",Co({name:"async",type:t,pure:!1}));let e=t;return e})(),zne="mediumDate",jne=new $(""),Bne=new $(""),D1=(()=>{const t=class t{constructor(i,a,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,s){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??zne,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return Sne(i,d,s||this.locale,u)}catch(d){throw k1(t,d.message)}}};o(t,"ɵfac",function(i){return new(i||t)(Je(Bd,16),Je(jne,24),Je(Bne,24))}),o(t,"ɵpipe",Co({name:"date",type:t,pure:!0}));let e=t;return e})(),I1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({}));let e=t;return e})();function A1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var O1="browser",Hne="server";function $ne(e){return e===O1}function T1(e){return e===Hne}var N1=class{};function qd(e,t,n){return iae(e,t,n)}var op=new $(""),M1=(()=>{const t=class t{constructor(i,a){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,s){return this._findPluginFor(a).addEventListener(i,a,r,s)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(i,a),a}};o(t,"ɵfac",function(i){return new(i||t)(pe(op),pe(Ne))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),P1=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},cc="ng-app-id";function mv(e){for(let t of e)t.remove()}function fv(e,t){let n=t.createElement("style");return n.textContent=e,n}function qne(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${cc}="${t}"],link[${cc}="${t}"]`);if(a)for(let s of a)s.removeAttribute(cc),s instanceof HTMLLinkElement?i.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function sp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var R1=(()=>{const t=class t{constructor(i,a,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=T1(s),qne(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,fv);a==null||a.forEach(r=>this.addUsage(r,this.external,sp))}removeStyles(i,a){for(let r of i)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(i,a,r){let s=a.get(i);s?s.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(i,this.doc)))})}removeUsage(i,a){let r=a.get(i);r&&(r.usage--,r.usage<=0&&(mv(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])mv(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,fv(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,sp(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(cc,this.appId),i.appendChild(a)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Dd),pe(_m,8),pe(Id))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={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"},Gm=/%COMP%/g,F1="%COMP%",Yne=`_nghost-${F1}`,Une=`_ngcontent-${F1}`,Gne=!0,Wne=new $("",{providedIn:"root",factory:()=>Gne});function Kne(e){return Une.replace(Gm,e)}function Zne(e){return Yne.replace(Gm,e)}function L1(e,t){return t.map(n=>n.replace(Gm,e))}var lp=(()=>{const t=class t{constructor(i,a,r,s,l,c,d,u=null,m=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=T1(c),this.defaultRenderer=new Wm(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===on.ShadowDom&&(a=Qe(Q({},a),{encapsulation:on.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof vv?r.applyToHost(i):r instanceof cp&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,s=r.get(a.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case on.Emulated:s=new vv(d,u,a,this.appId,m,l,c,v,g);break;case on.ShadowDom:return new Xne(d,u,i,a,l,c,this.nonce,v,g);default:s=new cp(d,u,a,m,l,c,v,g);break}r.set(a.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};o(t,"ɵfac",function(i){return new(i||t)(pe(M1),pe(R1),pe(Dd),pe(Wne),pe(et),pe(Id),pe(Ne),pe(_m),pe(Gs,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Wm=class{constructor(e,t,n,i,a){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(gv(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(gv(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Z(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=Ru[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=Ru[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(In.DashCase|In.Important)?e.style.setProperty(t,n,i&In.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&In.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if(typeof e=="string"&&(e=hr().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function gv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Xne=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var v;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=L1(a.id,u);for(let g of u){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=sp(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},cp=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var m;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?L1(d,u):u,this.styleUrls=(m=i.getExternalStyles)==null?void 0:m.call(i,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vv=class extends cp{constructor(t,n,i,a,r,s,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Kne(u),this.hostAttr=Zne(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}},Qne=class V1 extends sne{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){one(new V1)}onAndCancel(n,i,a,r){return n.addEventListener(i,a,r),()=>{n.removeEventListener(i,a,r)}}dispatchEvent(n,i){n.dispatchEvent(i)}remove(n){n.remove()}createElement(n,i){return i=i||this.getDefaultDocument(),i.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,i){return i==="window"?window:i==="document"?n:i==="body"?n.body:null}getBaseHref(n){let i=Jne();return i==null?null:ere(i)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return A1(document.cookie,n)}},Jo=null;function Jne(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function ere(e){return new URL(e,document.baseURI).pathname}var tre=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),ire=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,s){return i.addEventListener(a,r,s),()=>this.removeEventListener(i,a,r,s)}removeEventListener(i,a,r,s){return i.removeEventListener(a,r,s)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),bv=["alt","control","meta","shift"],are={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nre={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rre=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,s){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hr().onAndCancel(i,l.domEventName,c,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),bv.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=s,a.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=are[i.key]||i.key,s="";return a.indexOf("code.")>-1&&(r=i.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bv.forEach(l=>{if(l!==r){let c=nre[l];c(i)&&(s+=l+".")}}),s+=r,s===a)}static eventCallback(i,a,r){return s=>{t.matchEventFullKeyCode(s,i)&&r.runGuarded(()=>a(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function ore(e){return zae(sre(e))}function sre(e){return{appProviders:[...hre,...(e==null?void 0:e.providers)??[]],platformProviders:ure}}function lre(){Qne.makeCurrent()}function cre(){return new va}function dre(){return UQ(document),document}var ure=[{provide:Id,useValue:O1},{provide:M_,useValue:lre,multi:!0},{provide:et,useFactory:dre}],hre=[{provide:em,useValue:"root"},{provide:va,useFactory:cre},{provide:op,useClass:ire,multi:!0,deps:[et]},{provide:op,useClass:rre,multi:!0,deps:[et]},lp,R1,M1,{provide:na,useExisting:lp},{provide:N1,useClass:tre},[]],Km=class{},z1=class{},zn=class dc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
18
|
+
`)}`}var C0=k0(g0("Optional"),8),D0=k0(g0("SkipSelf"),4);function mr(e,t){return e.hasOwnProperty(yc)?e[yc]:null}function SX(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function EX(e){return e.flat(Number.POSITIVE_INFINITY)}function Xp(e,t){e.forEach(n=>Array.isArray(n)?Xp(n,t):t(n))}function I0(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kX(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function CX(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function vd(e,t,n){let i=Bs(e,t);return i>=0?e[i|1]=n:(i=~i,CX(e,i,t,n)),i}function gu(e,t){let n=Bs(e,t);if(n>=0)return e[n|1]}function Bs(e,t){return DX(e,t,1)}function DX(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?a=r:i=r+1}return~(a<<n)}var La={},Di=[],wc=new $(""),A0=new $("",-1),O0=new $(""),T0=class{get(e,t=ur){if(t===ur){let n=new Error(`NullInjectorError: No provider for ${ta(e)}!`);throw n.name="NullInjectorError",n}return t}};function no(e){return e[uX]||null}function N0(e){return e[hX]||null}function IX(e){return e[pX]||null}function Qp(e){return{ɵproviders:e}}function AX(...e){return{ɵproviders:M0(!0,e),ɵfromNgModule:!0}}function M0(e,...t){let n=[],i=new Set,a,r=s=>{n.push(s)};return Xp(t,s=>{let l=s;Ah(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&P0(a,r),n}function P0(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];Jp(a,r=>{t(r,i)})}}function Ah(e,t,n,i){if(e=ci(e),!e)return!1;let a=null,r=fg(e),s=!r&&no(e);if(!r&&!s){let c=e.ngModule;if(r=fg(c),r)a=c;else return!1}else{if(s&&!s.standalone)return!1;a=e}let l=i.has(a);if(s){if(l)return!1;if(i.add(a),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Ah(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{Xp(r.imports,u=>{Ah(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&P0(d,t)}if(!l){let d=mr(a)||(()=>new a);t({provide:a,useFactory:d,deps:Di},a),t({provide:O0,useValue:a,multi:!0},a),t({provide:wc,useValue:()=>pe(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;Jp(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function Jp(e,t){for(let n of e)_0(n)&&(n=n.ɵproviders),Array.isArray(n)?Jp(n,t):t(n)}var OX=St({provide:String,useValue:St});function R0(e){return e!==null&&typeof e=="object"&&OX in e}function TX(e){return!!(e&&e.useExisting)}function NX(e){return!!(e&&e.useFactory)}function ro(e){return typeof e=="function"}function MX(e){return!!e.useClass}var em=new $(""),ic={},yg={},vu;function bd(){return vu===void 0&&(vu=new T0),vu}var Va=class{},tm=class extends Va{constructor(t,n,i,a){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Th(t,s=>this.processProvider(s)),this.records.set(A0,Yr(void 0,this)),a.has("environment")&&this.records.set(Va,Yr(void 0,this));let r=this.records.get(em);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(O0,Di,Ye.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Ry:ur,i)}destroy(){Xo(this),this._destroyed=!0;let t=He(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),He(t)}}onDestroy(t){return Xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xo(this);let n=En(this),i=Ai(void 0);try{return t()}finally{En(n),Ai(i)}}get(t,n=ur,i=Ye.Default){if(Xo(this),t.hasOwnProperty(vg))return t[vg](this);i=gd(i);let a=En(this),r=Ai(void 0);try{if(!(i&Ye.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=VX(t)&&Kp(t);c&&this.injectableDefInScope(c)?l=Yr(Oh(t),ic):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let s=i&Ye.Self?bd():this.parent;return n=i&Ye.Optional&&n===ur?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[_c]=s[_c]||[]).unshift(ta(t)),a)throw s;return xX(s,t,"R3InjectorError",this.source)}else throw s}finally{Ai(r),En(a)}}resolveInjectorInitializers(){let t=He(null),n=En(this),i=Ai(void 0);try{let a=this.get(wc,Di,Ye.Self);for(let r of a)r()}finally{En(n),Ai(i),He(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(ta(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ci(t);let n=ro(t)?t:ci(t&&t.provide),i=RX(t);if(!ro(t)&&t.multi===!0){let a=this.records.get(n);a||(a=Yr(void 0,ic,!0),a.factory=()=>Ih(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=He(null);try{return n.value===yg?x0(ta(t)):n.value===ic&&(n.value=yg,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&LX(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{He(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ci(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oh(e){let t=Kp(e),n=t!==null?t.factory:mr(e);if(n!==null)return n;if(e instanceof $)throw new Z(204,!1);if(e instanceof Function)return PX(e);throw new Z(204,!1)}function PX(e){if(e.length>0)throw new Z(204,!1);let t=cX(e);return t!==null?()=>t.factory(e):()=>new e}function RX(e){if(R0(e))return Yr(void 0,e.useValue);{let t=F0(e);return Yr(t,ic)}}function F0(e,t,n){let i;if(ro(e)){let a=ci(e);return mr(a)||Oh(a)}else if(R0(e))i=()=>ci(e.useValue);else if(NX(e))i=()=>e.useFactory(...Ih(e.deps||[]));else if(TX(e))i=(a,r)=>pe(ci(e.useExisting),r!==void 0&&r&Ye.Optional?Ye.Optional:void 0);else{let a=ci(e&&(e.useClass||e.provide));if(FX(e))i=()=>new a(...Ih(e.deps));else return mr(a)||Oh(a)}return i}function Xo(e){if(e.destroyed)throw new Z(205,!1)}function Yr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function FX(e){return!!e.deps}function LX(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function VX(e){return typeof e=="function"||typeof e=="object"&&e instanceof $}function Th(e,t){for(let n of e)Array.isArray(n)?Th(n,t):n&&_0(n)?Th(n.ɵproviders,t):t(n)}function yd(e,t){let n;e instanceof tm?(Xo(e),n=e):n=new E0(e);let i=En(n),a=Ai(void 0);try{return t()}finally{En(i),Ai(a)}}function L0(){return w0()!==void 0||Jl()!=null}function Hs(e){if(!L0())throw new Z(-203,!1)}function zX(e){return typeof e=="function"}var fn=0,Te=1,Ee=2,vi=3,ma=4,Pi=5,oo=6,Xr=7,ii=8,so=9,hn=10,Tt=11,ms=12,_g=13,vo=14,Hi=15,fr=16,Ur=17,fa=18,_d=19,V0=20,Nn=21,bu=22,rn=23,ia=24,Mn=25,qt=26,z0=1,gr=7,Sc=8,lo=9,gi=10;function Pn(e){return Array.isArray(e)&&typeof e[z0]=="object"}function gn(e){return Array.isArray(e)&&e[z0]===!0}function im(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function xd(e){return(e.flags&1)===1}function za(e){return!!e.template}function Ec(e){return(e[Ee]&512)!==0}function yo(e){return(e[Ee]&256)===256}var jX=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function j0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var bi=(()=>{let e=()=>B0;return e.ngInherit=!0,e})();function B0(e){return e.type.prototype.ngOnChanges&&(e.setInput=HX),BX}function BX(){let e=$0(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===La)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function HX(e,t,n,i,a){let r=this.declaredInputs[i],s=$0(e)||$X(e,{previous:La,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new jX(d&&d.currentValue,n,c===La),j0(e,t,a,n)}var H0="__ngSimpleChanges__";function $0(e){return e[H0]||null}function $X(e,t){return e[H0]=t}var vr=function(e,t=null,n){},q0="svg",qX="math";function ja(e){for(;Array.isArray(e);)e=e[fn];return e}function Y0(e,t){return ja(t[e])}function qa(e,t){return ja(t[e.index])}function am(e,t){return e.data[t]}function wd(e,t){return e[t]}function nm(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ba(e,t){let n=t[e];return Pn(n)?n:n[fn]}function YX(e){return(e[Ee]&4)===4}function rm(e){return(e[Ee]&128)===128}function UX(e){return gn(e[vi])}function br(e,t){return t==null?null:e[t]}function U0(e){e[Ur]=0}function om(e){e[Ee]&1024||(e[Ee]|=1024,rm(e)&&_o(e))}function GX(e,t){for(;e>0;)t=t[vo],e--;return t}function $s(e){var t;return!!(e[Ee]&9216||(t=e[ia])!=null&&t.dirty)}function Nh(e){var t;(t=e[hn].changeDetectionScheduler)==null||t.notify(8),e[Ee]&64&&(e[Ee]|=1024),$s(e)&&_o(e)}function _o(e){var n;(n=e[hn].changeDetectionScheduler)==null||n.notify(0);let t=yr(e);for(;t!==null&&!(t[Ee]&8192||(t[Ee]|=8192,!rm(t)));)t=yr(t)}function G0(e,t){if(yo(e))throw new Z(911,!1);e[Nn]===null&&(e[Nn]=[]),e[Nn].push(t)}function WX(e,t){if(e[Nn]===null)return;let n=e[Nn].indexOf(t);n!==-1&&e[Nn].splice(n,1)}function yr(e){let t=e[vi];return gn(t)?t[vi]:t}function sm(e){return e[Xr]??(e[Xr]=[])}function lm(e){return e.cleanup??(e.cleanup=[])}function KX(e,t,n,i){let a=sm(t);a.push(n),e.firstCreatePass&&lm(e).push(i,a.length-1)}var Le={lFrame:t_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Mh=!1;function ZX(){return Le.lFrame.elementDepthCount}function XX(){Le.lFrame.elementDepthCount++}function QX(){Le.lFrame.elementDepthCount--}function JX(){return Le.bindingsEnabled}function W0(){return Le.skipHydrationRootTNode!==null}function eQ(e){return Le.skipHydrationRootTNode===e}function tQ(){Le.skipHydrationRootTNode=null}function ye(){return Le.lFrame.lView}function gt(){return Le.lFrame.tView}function ge(e){return Le.lFrame.contextLView=e,e[ii]}function ve(e){return Le.lFrame.contextLView=null,e}function yi(){let e=K0();for(;e!==null&&e.type===64;)e=e.parent;return e}function K0(){return Le.lFrame.currentTNode}function iQ(){let e=Le.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $n(e,t){let n=Le.lFrame;n.currentTNode=e,n.isParent=t}function cm(){return Le.lFrame.isParent}function dm(){Le.lFrame.isParent=!1}function Z0(){return Le.lFrame.contextLView}function X0(){return Mh}function kc(e){let t=Mh;return Mh=e,t}function xo(){let e=Le.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Q0(){return Le.lFrame.bindingIndex}function aQ(e){return Le.lFrame.bindingIndex=e}function Ir(){return Le.lFrame.bindingIndex++}function Sd(e){let t=Le.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nQ(){return Le.lFrame.inI18n}function rQ(e,t){let n=Le.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ph(t)}function oQ(){return Le.lFrame.currentDirectiveIndex}function Ph(e){Le.lFrame.currentDirectiveIndex=e}function sQ(e){let t=Le.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function um(){return Le.lFrame.currentQueryIndex}function Ed(e){Le.lFrame.currentQueryIndex=e}function lQ(e){let t=e[Te];return t.type===2?t.declTNode:t.type===1?e[Pi]:null}function J0(e,t,n){if(n&Ye.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&Ye.Host))&&(a=lQ(r),!(a===null||(r=r[vo],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Le.lFrame=e_();return i.currentTNode=t,i.lView=e,!0}function hm(e){let t=e_(),n=e[Te];Le.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function e_(){let e=Le.lFrame,t=e===null?null:e.child;return t===null?t_(e):t}function t_(e){let t={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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function i_(){let e=Le.lFrame;return Le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var a_=i_;function pm(){let e=i_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cQ(e){return(Le.lFrame.contextLView=GX(e,Le.lFrame.contextLView))[ii]}function ga(){return Le.lFrame.selectedIndex}function _r(e){Le.lFrame.selectedIndex=e}function qs(){let e=Le.lFrame;return am(e.tView,e.selectedIndex)}function un(){Le.lFrame.currentNamespace=q0}function Rh(){dQ()}function dQ(){Le.lFrame.currentNamespace=null}function uQ(){return Le.lFrame.currentNamespace}var n_=!0;function kd(){return n_}function Cd(e){n_=e}function hQ(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let s=B0(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function mm(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function ac(e,t,n){r_(e,t,3,n)}function nc(e,t,n,i){(e[Ee]&3)===n&&r_(e,t,n,i)}function yu(e,t){let n=e[Ee];(n&3)===t&&(n&=16383,n+=1,e[Ee]=n)}function r_(e,t,n,i){let a=i!==void 0?e[Ur]&65535:0,r=i??-1,s=t.length-1,l=0;for(let c=a;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Ur]+=65536),(l<r||r==-1)&&(pQ(e,n,t,c),e[Ur]=(e[Ur]&4294901760)+c+2),c++}function xg(e,t){let n=He(null);try{t.call(e)}finally{He(n)}}function pQ(e,t,n,i){let a=n[i]<0,r=n[i+1],s=a?-n[i]:n[i],l=e[s];a?e[Ee]>>14<e[Ur]>>16&&(e[Ee]&3)===t&&(e[Ee]+=16384,xg(l,r)):xg(l,r)}var Qr=-1,Ys=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mQ(e){return(e.flags&8)!==0}function fQ(e){return(e.flags&16)!==0}function gQ(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],s=n[i++],l=n[i++];e.setAttribute(t,s,l,r)}else{let r=a,s=n[++i];vQ(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function o_(e){return e===3||e===4||e===6}function vQ(e){return e.charCodeAt(0)===64}function co(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?wg(e,n,a,null,t[++i]):wg(e,n,a,null,null))}}return e}function wg(e,t,n,i,a){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function s_(e){return e!==Qr}function Cc(e){return e&32767}function bQ(e){return e>>16}function Dc(e,t){let n=bQ(e),i=t;for(;n>0;)i=i[vo],n--;return i}var Fh=!0;function Ic(e){let t=Fh;return Fh=e,t}var yQ=256,l_=yQ-1,c_=5,_Q=0,Ta={};function xQ(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ns)&&(i=n[ns]),i==null&&(i=n[ns]=_Q++);let a=i&l_,r=1<<a;t.data[e+(a>>c_)]|=r}function Ac(e,t){let n=d_(e,t);if(n!==-1)return n;let i=t[Te];i.firstCreatePass&&(e.injectorIndex=t.length,_u(i.data,e),_u(t,null),_u(i.blueprint,null));let a=fm(e,t),r=e.injectorIndex;if(s_(a)){let s=Cc(a),l=Dc(a,t),c=l[Te].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=a,r}function _u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function d_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fm(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=f_(a),i===null)return Qr;if(n++,a=a[vo],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Qr}function Lh(e,t,n){xQ(e,t,n)}function wQ(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(o_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function u_(e,t,n){if(n&Ye.Optional||e!==void 0)return e;Zp()}function h_(e,t,n,i){if(n&Ye.Optional&&i===void 0&&(i=null),(n&(Ye.Self|Ye.Host))===0){let a=e[so],r=Ai(void 0);try{return a?a.get(t,i,n&Ye.Optional):S0(t,i,n&Ye.Optional)}finally{Ai(r)}}return u_(i,t,n)}function p_(e,t,n,i=Ye.Default,a){if(e!==null){if(t[Ee]&2048&&!(i&Ye.Self)){let s=CQ(e,t,n,i,Ta);if(s!==Ta)return s}let r=m_(e,t,n,i,Ta);if(r!==Ta)return r}return h_(t,n,i,a)}function m_(e,t,n,i,a){let r=EQ(n);if(typeof r=="function"){if(!J0(t,e,i))return i&Ye.Host?u_(a,n,i):h_(t,n,i,a);try{let s;if(s=r(i),s==null&&!(i&Ye.Optional))Zp(n);else return s}finally{a_()}}else if(typeof r=="number"){let s=null,l=d_(e,t),c=Qr,d=i&Ye.Host?t[Hi][Pi]:null;for((l===-1||i&Ye.SkipSelf)&&(c=l===-1?fm(e,t):t[l+8],c===Qr||!Eg(i,!1)?l=-1:(s=t[Te],l=Cc(c),t=Dc(c,t)));l!==-1;){let u=t[Te];if(Sg(r,l,u.data)){let m=SQ(l,t,n,s,i,d);if(m!==Ta)return m}c=t[l+8],c!==Qr&&Eg(i,t[Te].data[l+8]===d)&&Sg(r,l,t)?(s=u,l=Cc(c),t=Dc(c,t)):l=-1}}return a}function SQ(e,t,n,i,a,r){let s=t[Te],l=s.data[e+8],c=i==null?bo(l)&&Fh:i!=s&&(l.type&3)!==0,d=a&Ye.Host&&r===l,u=rc(l,s,n,c,d);return u!==null?fs(t,s,u,l,a):Ta}function rc(e,t,n,i,a){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,m=i?l:l+u,v=a?l+u:d;for(let g=m;g<v;g++){let x=s[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=s[c];if(g&&za(g)&&g.type===n)return c}return null}function fs(e,t,n,i,a){let r=e[n],s=t.data;if(r instanceof Ys){let l=r;l.resolving&&x0(mX(s[n]));let c=Ic(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?Ai(l.injectImpl):null;J0(e,i,Ye.Default);try{r=e[n]=l.factory(void 0,a,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&hQ(n,s[n],t)}finally{d!==null&&Ai(d),Ic(c),l.resolving=!1,a_()}}return r}function EQ(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&l_:kQ:t}function Sg(e,t,n){let i=1<<e;return!!(n[t+(e>>c_)]&i)}function Eg(e,t){return!(e&Ye.Self)&&!(e&Ye.Host&&t)}var rs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return p_(this._tNode,this._lView,e,gd(n),t)}};function kQ(){return new rs(yi(),ye())}function Qt(e){return js(()=>{let t=e.prototype.constructor,n=t[yc]||Vh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[yc]||Vh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Vh(e){return v0(e)?()=>{let t=Vh(ci(e));return t&&t()}:mr(e)}function CQ(e,t,n,i,a){let r=e,s=t;for(;r!==null&&s!==null&&s[Ee]&2048&&!Ec(s);){let l=m_(r,s,n,i|Ye.Self,Ta);if(l!==Ta)return l;let c=r.parent;if(!c){let d=s[V0];if(d){let u=d.get(n,Ta,i);if(u!==Ta)return u}c=f_(s),s=s[vo]}r=c}return a}function f_(e){let t=e[Te],n=t.type;return n===2?t.declTNode:n===1?e[Pi]:null}function DQ(e){return wQ(yi(),e)}function kg(e,t=null,n=null,i){let a=IQ(e,t,n,i);return a.resolveInjectorInitializers(),a}function IQ(e,t=null,n=null,i,a=new Set){let r=[n||Di,AX(e)];return i=i||(typeof e=="object"?void 0:ta(e)),new tm(r,t||bd(),i||null,a)}var Ca,lt=(Ca=class{static create(t,n){if(Array.isArray(t))return kg({name:""},n,t,"");{let i=t.name??"";return kg({name:i},t.parent,t.providers,i)}}},o(Ca,"THROW_IF_NOT_FOUND",ur),o(Ca,"NULL",new T0),o(Ca,"ɵprov",q({token:Ca,providedIn:"any",factory:()=>pe(A0)})),o(Ca,"__NG_ELEMENT_ID__",-1),Ca),gm=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>DQ(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},AQ=new $("");AQ.__NG_ELEMENT_ID__=e=>{let t=yi();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Ye.Optional)return null;throw new Z(204,!1)};var g_=!1,$i=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",OQ),o(e,"__NG_ENV_ID__",n=>n),e})(),v_=class extends $i{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return yo(n)?(t(),()=>{}):(G0(n,t),()=>WX(n,t))}};function OQ(){return new v_(ye())}var wo=class{},b_=new $("",{providedIn:"root",factory:()=>!1}),y_=new $(""),__=new $(""),Us=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new rr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),TQ=class extends ce{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,L0()&&(this.destroyRef=S($i,{optional:!0})??void 0,this.pendingTasks=S(Us,{optional:!0})??void 0)}emit(t){let n=He(null);try{super.next(t)}finally{He(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),s=i;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),r=(d=m.error)==null?void 0:d.bind(m),s=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:a,error:r,complete:s});return t instanceof ct&&t.add(l),l}wrapInTimeout(t){return n=>{var a;let i=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(n)}finally{i!==void 0&&((r=this.pendingTasks)==null||r.remove(i))}})}}},le=TQ;function gs(...e){}function x_(e){let t,n;function i(){e=gs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Cg(e){return queueMicrotask(()=>e()),()=>{e=gs}}var vm="isAngularZone",Oc=vm+"_ID",NQ=0,Ne=class zh{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le(!1));o(this,"onMicrotaskEmpty",new le(!1));o(this,"onStable",new le(!1));o(this,"onError",new le(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=g_}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!a&&i,s.shouldCoalesceRunChangeDetection=a,s.callbackScheduled=!1,s.scheduleInRootZone=r,RQ(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vm)===!0}static assertInAngularZone(){if(!zh.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(zh.isInAngularZone())throw new Z(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+a,t,MQ,gs,gs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},MQ={};function bm(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function PQ(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){x_(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,bm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jh(e)}function RQ(e){let t=()=>{PQ(e)},n=NQ++;e._inner=e._inner.fork({name:"angular",properties:{[vm]:!0,[Oc]:n,[Oc+n]:!0},onInvokeTask:(i,a,r,s,l,c)=>{if(LQ(c))return i.invokeTask(r,s,l,c);try{return Dg(e),i.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ig(e)}},onInvoke:(i,a,r,s,l,c,d)=>{try{return Dg(e),i.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!VQ(c)&&t(),Ig(e)}},onHasTask:(i,a,r,s)=>{i.hasTask(r,s),a===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jh(e),bm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,a,r,s)=>(i.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function jh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ig(e){e._nesting--,bm(e)}var FQ=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le);o(this,"onMicrotaskEmpty",new le);o(this,"onStable",new le);o(this,"onError",new le)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}};function LQ(e){return w_(e,"__ignore_ng_zone__")}function VQ(e){return w_(e,"__scheduler_tick__")}function w_(e,t){var n,i;return!Array.isArray(e)||e.length!==1?!1:((i=(n=e[0])==null?void 0:n.data)==null?void 0:i[t])===!0}var va=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},zQ=new $("",{providedIn:"root",factory:()=>{let e=S(Ne),t=S(va);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),S_=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",S(va,{optional:!0}));o(this,"destroyRef",S($i));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(p0(953,!1));return}if(this.listeners===null)return;let t=He(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{He(t)}}};function Ag(e){return new S_}function Og(e,t){return f0(e,t)}function jQ(e){return f0(fd,e)}var It=(Og.required=jQ,Og);function BQ(){return So(yi(),ye())}function So(e,t){return new ze(qa(e,t))}var ze=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",BQ),e})();function E_(e){return e instanceof ze?e.nativeElement:e}function vs(e){return typeof e=="function"&&e[fi]!==void 0}function Pa(e,t){let n=QK(e,t==null?void 0:t.equal),i=n[fi];return n.set=a=>Vs(i,a),n.update=a=>My(i,a),n.asReadonly=ym.bind(n),n}function ym(){let e=this[fi];if(e.readonlyFn===void 0){let t=()=>this();t[fi]=e,e.readonlyFn=t}return e.readonlyFn}function k_(e){return vs(e)&&typeof e.set=="function"}function HQ(){return this._results[Symbol.iterator]()}var py,Tc=(py=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,py,HQ);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ce)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=EX(e);(this._changesDetected=!SX(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function C_(e){return(e.flags&128)===128}var D_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(D_||{}),I_=new Map,$Q=0;function qQ(){return $Q++}function YQ(e){I_.set(e[_d],e)}function Bh(e){I_.delete(e[_d])}var Tg="__ngContext__";function Eo(e,t){Pn(t)?(e[Tg]=t[_d],YQ(t)):e[Tg]=t}function A_(e){return T_(e[ms])}function O_(e){return T_(e[ma])}function T_(e){for(;e!==null&&!gn(e);)e=e[ma];return e}var Hh;function UQ(e){Hh=e}function N_(){if(Hh!==void 0)return Hh;if(typeof document<"u")return document;throw new Z(210,!1)}var Dd=new $("",{providedIn:"root",factory:()=>GQ}),GQ="ng",M_=new $(""),Id=new $("",{providedIn:"platform",factory:()=>"unknown"}),Ui=new $(""),_m=new $("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=N_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),P_=!1,WQ=new $("",{providedIn:"root",factory:()=>P_}),xm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xm||{}),Gs=new $(""),Ng=new Set;function Ar(e){var t;Ng.has(e)||(Ng.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var wm=(()=>{class e{constructor(n,i){o(this,"view");o(this,"node");this.view=n,this.node=i}}return o(e,"__NG_ELEMENT_ID__",KQ),e})();function KQ(){return new wm(ye(),yi())}var Gr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Gr||{}),R_=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ZQ=[Gr.EarlyRead,Gr.Write,Gr.MixedReadWrite,Gr.Read],XQ=(()=>{const t=class t{constructor(){o(this,"ngZone",S(Ne));o(this,"scheduler",S(wo));o(this,"errorHandler",S(va,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);S(Gs,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of ZQ)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[a];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(s)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[Mn]??(a[Mn]=[])).push(i),_o(a),a[Ee]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(xm.AFTER_NEXT_RENDER,i):i()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),QQ=class{constructor(e,t,n,i,a,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[Mn];e&&(this.view[Mn]=e.filter(i=>i!==this))}};function Sm(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterRender"),F_(e,n,t,!1)}function xr(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterNextRender"),F_(e,n,t,!0)}function JQ(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function F_(e,t,n,i){let a=t.get(R_);a.impl??(a.impl=t.get(XQ));let r=t.get(Gs,null,{optional:!0}),s=(n==null?void 0:n.phase)??Gr.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get($i):null,c=t.get(wm,null,{optional:!0}),d=new QQ(a.impl,JQ(e,s),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var eJ=()=>null;function L_(e,t,n=!1){return eJ()}function V_(e,t){let n=e.contentQueries;if(n!==null){let i=He(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],s=n[a+1];if(s!==-1){let l=e.data[s];Ed(r),l.contentQueries(2,t[s],s)}}}finally{He(i)}}}function $h(e,t,n){Ed(0);let i=He(null);try{t(e,n)}finally{He(i)}}function Em(e,t,n){if(im(t)){let i=He(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let s=a;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{He(i)}}}var on=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(on||{}),El;function tJ(){if(El===void 0&&(El=null,Dn.trustedTypes))try{El=Dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return El}function Ad(e){var t;return((t=tJ())==null?void 0:t.createHTML(e))||e}var kl;function iJ(){if(kl===void 0&&(kl=null,Dn.trustedTypes))try{kl=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function Mg(e){var t;return((t=iJ())==null?void 0:t.createHTML(e))||e}var Or=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h0})`}},aJ=class extends Or{getTypeName(){return"HTML"}},nJ=class extends Or{getTypeName(){return"Style"}},rJ=class extends Or{getTypeName(){return"Script"}},oJ=class extends Or{getTypeName(){return"URL"}},sJ=class extends Or{getTypeName(){return"ResourceURL"}};function nn(e){return e instanceof Or?e.changingThisBreaksApplicationSecurity:e}function or(e,t){let n=lJ(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${h0})`)}return n===t}function lJ(e){return e instanceof Or&&e.getTypeName()||null}function cJ(e){return new aJ(e)}function dJ(e){return new nJ(e)}function uJ(e){return new rJ(e)}function hJ(e){return new oJ(e)}function pJ(e){return new sJ(e)}function mJ(e){let t=new gJ(e);return vJ()?new fJ(t):t}var fJ=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ad(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},gJ=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ad(e),t}};function vJ(){try{return!!new window.DOMParser().parseFromString(Ad(""),"text/html")}catch{return!1}}var bJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function km(e){return e=String(e),e.match(bJ)?e:"unsafe:"+e}function vn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ws(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var z_=vn("area,br,col,hr,img,wbr"),j_=vn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),B_=vn("rp,rt"),yJ=Ws(B_,j_),_J=Ws(j_,vn("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")),xJ=Ws(B_,vn("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")),Pg=Ws(z_,_J,xJ,yJ),H_=vn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wJ=vn("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"),SJ=vn("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"),EJ=Ws(H_,wJ,SJ),kJ=vn("script,style,template"),CJ=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){i.push(t),t=AJ(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=IJ(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Rg(e).toLowerCase();if(!Pg.hasOwnProperty(t))return this.sanitizedSomething=!0,!kJ.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,s=r.toLowerCase();if(!EJ.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;H_[s]&&(l=km(l)),this.buf.push(" ",r,'="',Fg(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Rg(e).toLowerCase();Pg.hasOwnProperty(t)&&!z_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Fg(e))}};function DJ(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IJ(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $_(t);return t}function AJ(e){let t=e.firstChild;if(t&&DJ(e,t))throw $_(t);return t}function Rg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var OJ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TJ=/([^\#-~ |!])/g;function Fg(e){return e.replace(/&/g,"&").replace(OJ,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(TJ,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Cl;function q_(e,t){let n=null;try{Cl=Cl||mJ(e);let i=t?String(t):"";n=Cl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Cl.getInertBodyElement(i)}while(i!==r);let s=new CJ().sanitizeChildren(Lg(n)||n);return Ad(s)}finally{if(n){let i=Lg(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Lg(e){return"content"in e&&NJ(e)?e.content:null}function NJ(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var MJ=/^>|^->|<!--|-->|--!>|<!-$/g,PJ=/(<|>)/g,RJ="$1";function FJ(e){return e.replace(MJ,t=>t.replace(PJ,RJ))}function LJ(e,t){return e.createText(t)}function VJ(e,t,n){e.setValue(t,n)}function zJ(e,t){return e.createComment(FJ(t))}function Y_(e,t,n){return e.createElement(t,n)}function Nc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function U_(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,i,a){i!==null?Nc(e,t,n,i,a):U_(e,t,n)}function jJ(e,t,n){e.removeChild(null,t,n)}function BJ(e,t,n){e.setAttribute(t,"style",n)}function HJ(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function G_(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&gQ(e,t,i),a!==null&&HJ(e,t,a),r!==null&&BJ(e,t,r)}var Oi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Oi||{});function $J(e){let t=W_();return t?Mg(t.sanitize(Oi.HTML,e)||""):or(e,"HTML")?Mg(nn(e)):q_(N_(),Ma(e))}function qJ(e){let t=W_();return t?t.sanitize(Oi.URL,e)||"":or(e,"URL")?nn(e):km(Ma(e))}function W_(){let e=ye();return e&&e[hn].sanitizer}function YJ(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}var K_="ng-template";function UJ(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&YJ(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Cm(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Cm(e){return e.type===4&&e.value!==K_}function GJ(e,t,n){let i=e.type===4&&!n?K_:e.value;return t===i}function WJ(e,t,n){let i=4,a=e.attrs,r=a!==null?XJ(a):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!ca(i)&&!ca(c))return!1;if(s&&ca(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!GJ(e,c,n)||c===""&&t.length===1){if(ca(i))return!1;s=!0}}else if(i&8){if(a===null||!UJ(e,a,c,n)){if(ca(i))return!1;s=!0}}else{let d=t[++l],u=KJ(c,a,Cm(e),n);if(u===-1){if(ca(i))return!1;s=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ca(i))return!1;s=!0}}}}return ca(i)||s}function ca(e){return(e&1)===0}function KJ(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let s=t[a];if(s===e)return a;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(s===4)break;if(s===0){a+=4;continue}}a+=r?1:2}return-1}else return QJ(t,e)}function Z_(e,t,n=!1){for(let i=0;i<t.length;i++)if(WJ(e,t[i],n))return!0;return!1}function ZJ(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function XJ(e){for(let t=0;t<e.length;t++){let n=e[t];if(o_(n))return t}return e.length}function QJ(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function JJ(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function zg(e,t){return e?":not("+t.trim()+")":t}function eee(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(i&2){let l=e[++n];a+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+s:i&4&&(a+=" "+s);else a!==""&&!ca(s)&&(t+=zg(r,a),a=""),i=s,r=r||!ca(i);n++}return a!==""&&(t+=zg(r,a)),t}function tee(e){return e.map(eee).join(",")}function iee(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!ca(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var _i={};function Dm(e,t,n,i,a,r,s,l,c,d,u){let m=qt+i,v=m+a,g=aee(m,v),x=typeof d=="function"?d():d;return g[Te]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function aee(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:_i);return n}function nee(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Im(e,t,n,i,a,r,s,l,c,d,u){let m=t.blueprint.slice();return m[fn]=a,m[Ee]=i|4|128|8|64|1024,(d!==null||e&&e[Ee]&2048)&&(m[Ee]|=2048),U0(m),m[vi]=m[vo]=e,m[ii]=n,m[hn]=s||e&&e[hn],m[Tt]=l||e&&e[Tt],m[so]=c||e&&e[so]||null,m[Pi]=r,m[_d]=qQ(),m[oo]=u,m[V0]=d,m[Hi]=t.type==2?e[Hi]:m,m}function ree(e,t,n){let i=qa(t,e),a=nee(n),r=e[hn].rendererFactory,s=Am(e,Im(e,a,null,X_(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=s}function X_(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Q_(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function Am(e,t){return e[ms]?e[_g][ma]=t:e[ms]=t,e[_g]=t,t}function D(e=1){J_(gt(),ye(),ga()+e)}function J_(e,t,n,i){if((t[Ee]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ac(t,a,n)}else{let a=e.preOrderHooks;a!==null&&nc(t,a,0,n)}_r(n)}var Od=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Od||{});function qh(e,t,n,i){let a=He(null);try{let[r,s,l]=e.inputs[n],c=null;s&Od.SignalBased&&(c=t[r][fi]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):l!==null&&(i=l.call(t,i)),e.setInput!==null?e.setInput(t,c,i,n,r):j0(t,c,r,i)}finally{He(a)}}function ex(e,t,n,i,a){let r=ga(),s=i&2;try{_r(-1),s&&t.length>qt&&J_(e,t,qt,!1),vr(s?2:0,a),n(i,a)}finally{_r(r)}}function Td(e,t,n){cee(e,t,n),(n.flags&64)===64&&dee(e,t,n)}function Om(e,t,n=qa){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?n(t,e):e[s];e[a++]=l}}}function oee(e,t,n,i){let a=i.get(WQ,P_)||n===on.ShadowDom;return e.selectRootElement(t,a)}function see(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nd(e,t,n,i,a,r,s,l){if(!l&&Nm(t,e,n,i,a)){bo(t)&&lee(n,t.index);return}if(t.type&3){let c=qa(t,n);i=see(i),a=s!=null?s(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function lee(e,t){let n=Ba(t,e);n[Ee]&16||(n[Ee]|=64)}function cee(e,t,n){let i=n.directiveStart,a=n.directiveEnd;bo(n)&&ree(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ac(n,t);let r=n.initialInputs;for(let s=i;s<a;s++){let l=e.data[s],c=fs(t,e,s,n);if(Eo(c,t),r!==null&&mee(t,s-i,c,l,n,r),za(l)){let d=Ba(n.index,t);d[ii]=fs(t,e,s,n)}}}function dee(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,s=oQ();try{_r(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Ph(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&uee(c,d)}}finally{_r(-1),Ph(s)}}function uee(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Tm(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];Z_(t,r.selectors,!1)&&(i??(i=[]),za(r)?i.unshift(r):i.push(r))}return i}function hee(e,t,n,i,a,r){let s=qa(e,t);pee(t[Tt],s,r,e.value,n,i,a)}function pee(e,t,n,i,a,r,s){if(r==null)e.removeAttribute(t,a,n);else{let l=s==null?Ma(r):s(r,i||"",a);e.setAttribute(t,a,l,n)}}function mee(e,t,n,i,a,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];qh(i,n,c,d)}}function fee(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function Nm(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],s=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(s)for(let u=0;u<s.length;u+=2){let m=s[u],v=s[u+1],g=t.data[m];qh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];qh(v,m,i,a),l=!0}return l}function gee(e,t){let n=Ba(t,e),i=n[Te];vee(i,n);let a=n[fn];a!==null&&n[oo]===null&&(n[oo]=L_(a,n[so])),Mm(i,n,n[ii]),vr(19,n[ii])}function vee(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Mm(e,t,n){var i;hm(t);try{let a=e.viewQuery;a!==null&&$h(1,a,n);let r=e.template;r!==null&&ex(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[fa])==null||i.finishViewCreation(e),e.staticContentQueries&&V_(e,t),e.staticViewQueries&&$h(2,e.viewQuery,n);let s=e.components;s!==null&&bee(t,s)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[Ee]&=-5,pm()}}function bee(e,t){for(let n=0;n<t.length;n++)gee(e,t[n])}function Ks(e,t,n,i){let a=He(null);try{let r=t.tView,s=e[Ee]&4096?4096:16,l=Im(e,r,n,s,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),c=e[t.index];l[fr]=c;let d=e[fa];return d!==null&&(l[fa]=d.createEmbeddedView(r)),Mm(r,l,n),l}finally{He(a)}}function uo(e,t){return!t||t.firstChild===null||C_(e)}var yee;function Pm(e,t){return yee(e,t)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});function Rm(e){return(e.flags&32)===32}function Wr(e,t,n,i,a){if(i!=null){let r,s=!1;gn(i)?r=i:Pn(i)&&(s=!0,i=i[fn]);let l=ja(i);e===0&&n!==null?a==null?U_(t,n,l):Nc(t,n,l,a||null,!0):e===1&&n!==null?Nc(t,n,l,a||null,!0):e===2?jJ(t,l,s):e===3&&t.destroyNode(l),r!=null&&Aee(t,e,r,n,a)}}function _ee(e,t){tx(e,t),t[fn]=null,t[Pi]=null}function xee(e,t,n,i,a,r){i[fn]=a,i[Pi]=t,Rd(e,i,n,1,a,r)}function tx(e,t){var n;(n=t[hn].changeDetectionScheduler)==null||n.notify(9),Rd(e,t,t[Tt],2,null,null)}function wee(e){let t=e[ms];if(!t)return xu(e[Te],e);for(;t;){let n=null;if(Pn(t))n=t[ms];else{let i=t[gi];i&&(n=i)}if(!n){for(;t&&!t[ma]&&t!==e;)Pn(t)&&xu(t[Te],t),t=t[vi];t===null&&(t=e),Pn(t)&&xu(t[Te],t),n=t&&t[ma]}t=n}}function Fm(e,t){let n=e[lo],i=n.indexOf(t);n.splice(i,1)}function Md(e,t){if(yo(t))return;let n=t[Tt];n.destroyNode&&Rd(e,t,n,3,null,null),wee(t)}function xu(e,t){if(yo(t))return;let n=He(null);try{t[Ee]&=-129,t[Ee]|=256,t[ia]&&dd(t[ia]),Eee(e,t),See(e,t),t[Te].type===1&&t[Tt].destroy();let i=t[fr];if(i!==null&&gn(t[vi])){i!==t[vi]&&Fm(i,t);let a=t[fa];a!==null&&a.detachView(e)}Bh(t)}finally{He(n)}}function See(e,t){let n=e.cleanup,i=t[Xr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?i[l]():i[-l].unsubscribe(),s+=2}else{let l=i[n[s+1]];n[s].call(l)}i!==null&&(t[Xr]=null);let a=t[Nn];if(a!==null){t[Nn]=null;for(let s=0;s<a.length;s++){let l=a[s];l()}}let r=t[rn];if(r!==null){t[rn]=null;for(let s of r)s.destroy()}}function Eee(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof Ys)){let r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=a[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function ix(e,t,n){return kee(e,t.parent,n)}function kee(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[fn];if(bo(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===on.None||a===on.Emulated)return null}return qa(i,n)}function ax(e,t,n){return Dee(e,t,n)}function Cee(e,t,n){return e.type&40?qa(e,n):null}var Dee=Cee;function Pd(e,t,n,i){let a=ix(e,i,t),r=t[Tt],s=i.parent||t[Pi],l=ax(s,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Vg(r,a,n[c],l,!1);else Vg(r,a,n,l,!1)}function Qo(e,t){if(t!==null){let n=t.type;if(n&3)return qa(t,e);if(n&4)return Yh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Qo(e,i);{let a=e[t.index];return gn(a)?Yh(-1,a):ja(a)}}else{if(n&128)return Qo(e,t.next);if(n&32)return Pm(t,e)()||ja(e[t.index]);{let i=nx(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=yr(e[Hi]);return Qo(a,i)}else return Qo(e,t.next)}}}return null}function nx(e,t){if(t!==null){let n=e[Hi][Pi],i=t.projection;return n.projection[i]}return null}function Yh(e,t){let n=gi+e+1;if(n<t.length){let i=t[n],a=i[Te].firstChild;if(a!==null)return Qo(i,a)}return t[gr]}function Lm(e,t,n,i,a,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(s&&t===0&&(l&&Eo(ja(l),i),n.flags|=2),!Rm(n))if(c&8)Lm(e,t,n.child,i,a,r,!1),Wr(t,e,a,l,r);else if(c&32){let d=Pm(n,i),u;for(;u=d();)Wr(t,e,a,u,r);Wr(t,e,a,l,r)}else c&16?rx(e,t,i,n,a,r):Wr(t,e,a,l,r);n=s?n.projectionNext:n.next}}function Rd(e,t,n,i,a,r){Lm(n,i,e.firstChild,t,a,r,!1)}function Iee(e,t,n){let i=t[Tt],a=ix(e,n,t),r=n.parent||t[Pi],s=ax(r,n,t);rx(i,0,t,n,a,s)}function rx(e,t,n,i,a,r){let s=n[Hi],l=s[Pi].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Wr(t,e,a,d,r)}else{let c=l,d=s[vi];C_(i)&&(c.flags|=128),Lm(e,t,c,d,a,r,!0)}}function Aee(e,t,n,i,a){let r=n[gr],s=ja(n);r!==s&&Wr(t,e,i,r,a);for(let l=gi;l<n.length;l++){let c=n[l];Rd(c[Te],c,e,t,i,r)}}function Oee(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:In.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=In.Important),e.setStyle(n,i,a,r))}}function Mc(e,t,n,i,a=!1){for(;n!==null;){if(n.type===128){n=a?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&i.push(ja(r)),gn(r)&&Tee(r,i);let s=n.type;if(s&8)Mc(e,t,n.child,i);else if(s&32){let l=Pm(n,t),c;for(;c=l();)i.push(c)}else if(s&16){let l=nx(t,n);if(Array.isArray(l))i.push(...l);else{let c=yr(t[Hi]);Mc(c[Te],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function Tee(e,t){for(let n=gi;n<e.length;n++){let i=e[n],a=i[Te].firstChild;a!==null&&Mc(i[Te],i,a,t)}e[gr]!==e[fn]&&t.push(e[gr])}function ox(e){if(e[Mn]!==null){for(let t of e[Mn])t.impl.addSequence(t);e[Mn].length=0}}var sx=[];function Nee(e){return e[ia]??Mee(e)}function Mee(e){let t=sx.pop()??Object.create(Ree);return t.lView=e,t}function Pee(e){e.lView[ia]!==e&&(e.lView=null,sx.push(e))}var Ree=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{_o(e.lView)},consumerOnSignalRead(){this.lView[ia]=this}});function Fee(e){let t=e[ia]??Object.create(Lee);return t.lView=e,t}var Lee=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yr(e.lView);for(;t&&!lx(t[Te]);)t=yr(t);t&&om(t)},consumerOnSignalRead(){this.lView[ia]=this}});function lx(e){return e.type!==2}function cx(e){if(e[rn]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[rn])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[Ee]&8192)}}var Vee=100;function dx(e,t=!0,n=0){var a,r;let i=e[hn].rendererFactory;(a=i.begin)==null||a.call(i);try{zee(e,n)}catch(s){throw t&&fee(e,s),s}finally{(r=i.end)==null||r.call(i)}}function zee(e,t){let n=X0();try{kc(!0),Uh(e,t);let i=0;for(;$s(e);){if(i===Vee)throw new Z(103,!1);i++,Uh(e,1)}}finally{kc(n)}}function jee(e,t,n,i){if(yo(t))return;let a=t[Ee],r=!1,s=!1;hm(t);let l=!0,c=null,d=null;lx(e)?(d=Nee(t),c=ls(d)):UK()===null?(l=!1,d=Fee(t),c=ls(d)):t[ia]&&(dd(t[ia]),t[ia]=null);try{U0(t),aQ(e.bindingStartIndex),n!==null&&ex(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&ac(t,g,null)}else{let g=e.preOrderHooks;g!==null&&nc(t,g,0,null),yu(t,0)}if(s||Bee(t),cx(t),ux(t,0),e.contentQueries!==null&&V_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&ac(t,g)}else{let g=e.contentHooks;g!==null&&nc(t,g,1),yu(t,1)}$ee(e,t);let m=e.components;m!==null&&px(t,m,0);let v=e.viewQuery;if(v!==null&&$h(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&ac(t,g)}else{let g=e.viewHooks;g!==null&&nc(t,g,2),yu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bu]){for(let g of t[bu])g();t[bu]=null}r||(ox(t),t[Ee]&=-73)}catch(u){throw _o(t),u}finally{d!==null&&(cd(d,c),l&&Pee(d)),pm()}}function ux(e,t){for(let n=A_(e);n!==null;n=O_(n))for(let i=gi;i<n.length;i++){let a=n[i];hx(a,t)}}function Bee(e){for(let t=A_(e);t!==null;t=O_(t)){if(!(t[Ee]&2))continue;let n=t[lo];for(let i=0;i<n.length;i++){let a=n[i];om(a)}}}function Hee(e,t,n){let i=Ba(t,e);hx(i,n),vr(19,i[ii])}function hx(e,t){rm(e)&&Uh(e,t)}function Uh(e,t){let n=e[Te],i=e[Ee],a=e[ia],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&zp(a))),r||(r=!1),a&&(a.dirty=!1),e[Ee]&=-9217,r)jee(n,e,n.template,e[ii]);else if(i&8192){cx(e),ux(e,1);let s=n.components;s!==null&&px(e,s,1),ox(e)}}function px(e,t,n){for(let i=0;i<t.length;i++)Hee(e,t[i],n)}function $ee(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)_r(~a);else{let r=a,s=n[++i],l=n[++i];rQ(s,r);let c=t[r];vr(24,c),l(2,c),vr(25,c)}}}finally{_r(-1)}}function Vm(e,t){var i;let n=X0()?64:1088;for((i=e[hn].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[Ee]|=n;let a=yr(e);if(Ec(e)&&!a)return e;e=a}return null}function mx(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function fx(e,t){let n=gi+t;if(n<e.length)return e[n]}function Zs(e,t,n,i=!0){let a=t[Te];if(qee(a,t,e,n),i){let s=Yh(n,e),l=t[Tt],c=l.parentNode(e[gr]);c!==null&&xee(a,e[Pi],l,t,c,s)}let r=t[oo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function gx(e,t){let n=bs(e,t);return n!==void 0&&Md(n[Te],n),n}function bs(e,t){if(e.length<=gi)return;let n=gi+t,i=e[n];if(i){let a=i[fr];a!==null&&a!==e&&Fm(a,i),t>0&&(e[n-1][ma]=i[ma]);let r=xc(e,gi+t);_ee(i[Te],i);let s=r[fa];s!==null&&s.detachView(r[Te]),i[vi]=null,i[ma]=null,i[Ee]&=-129}return i}function qee(e,t,n,i){let a=gi+i,r=n.length;i>0&&(n[a-1][ma]=t),i<r-gi?(t[ma]=n[a],I0(n,gi+i,t)):(n.push(t),t[ma]=null),t[vi]=n;let s=t[fr];s!==null&&n!==s&&vx(s,t);let l=t[fa];l!==null&&l.insertView(e),Nh(t),t[Ee]|=128}function vx(e,t){let n=e[lo],i=t[vi];if(Pn(i))e[Ee]|=2;else{let a=i[vi][Hi];t[Hi]!==a&&(e[Ee]|=2)}n===null?e[lo]=[t]:n.push(t)}var ys=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[Te];return Mc(t,e,t.firstChild,[])}get context(){return this._lView[ii]}set context(e){this._lView[ii]=e}get destroyed(){return yo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[vi];if(gn(e)){let t=e[Sc],n=t?t.indexOf(this):-1;n>-1&&(bs(e,n),xc(t,n))}this._attachedToViewContainer=!1}Md(this._lView[Te],this._lView)}onDestroy(e){G0(this._lView,e)}markForCheck(){Vm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ee]&=-129}reattach(){Nh(this._lView),this._lView[Ee]|=128}detectChanges(){this._lView[Ee]|=1024,dx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ec(this._lView),t=this._lView[fr];t!==null&&!e&&Fm(t,this._lView),tx(this._lView[Te],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Ec(this._lView),n=this._lView[fr];n!==null&&!t&&vx(n,this._lView),Nh(this._lView)}};function Yee(e){return $s(e._lView)||!!(e._lView[Ee]&64)}function Uee(e){om(e._cdRefInjectingView||e._lView)}var Ln=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Kee),e})(),Gee=Ln,Wee=class extends Gee{constructor(t,n,i){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){let a=Ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new ys(a)}};function Kee(){return Fd(yi(),ye())}function Fd(e,t){return e.type&4?new Wee(t,e,So(e,t)):null}function ko(e,t,n,i,a){let r=e.data[t];if(r===null)r=Zee(e,t,n,i,a),nQ()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let s=iQ();r.injectorIndex=s===null?-1:s.injectorIndex}return $n(r,!0),r}function Zee(e,t,n,i,a){let r=K0(),s=cm(),l=s?r:r&&r.parent,c=e.data[t]=Qee(e,l,n,t,i,a);return Xee(e,c,r,s),c}function Xee(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Qee(e,t,n,i,a,r){let s=t?t.injectorIndex:-1,l=0;return W0()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Jee=()=>null;function ho(e,t){return Jee()}var ete=class{},bx=class{},tte=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ta(e)}.`)}},bh,Xs=(bh=class{},o(bh,"NULL",new tte),bh),na=class{},ra=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>ite()),e})();function ite(){let e=ye(),t=yi(),n=Ba(t.index,e);return(Pn(n)?n:e)[Tt]}var ate=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},nte=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=gd(n);let i=this.injector.get(e,wu,n);return i!==wu||t===wu?i:this.parentInjector.get(e,t,n)}};function Gh(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)a=kh(a,l);else if(r==2){let c=l,d=t[++s];i=kh(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function Je(e,t=Ye.Default){let n=ye();if(n===null)return pe(e,t);let i=yi();return p_(i,n,ci(e),t)}function rte(){let e="invalid";throw new Error(e)}function zm(e,t,n,i,a){let r=i===null?null:{"":-1},s=a(e,n);if(s!==null){let l,c=null,d=null,u=ste(s);u===null?l=s:[l,c,d]=u,dte(e,t,n,l,r,c,d)}r!==null&&i!==null&&ote(n,i,r)}function ote(e,t,n){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new Z(-301,!1);i.push(t[a],r)}}function ste(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&za(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),lte(s,i,r,a)),s===t&&(i??(i=[]),i.push(s));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function lte(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function cte(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function dte(e,t,n,i,a,r,s){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&za(g)&&(c=!0,cte(e,n,v)),Lh(Ac(n,t),e,g.type)}gte(n,e.data.length,l);for(let v=0;v<l;v++){let g=i[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,m=Q_(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=co(n.mergedAttrs,g.hostAttrs),hte(e,n,t,m,g),fte(m,g,a),s!==null&&s.has(g)){let[w,k]=s.get(g);n.directiveToIndex.set(g.type,[m,w+n.directiveStart,k+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let x=g.type.prototype;!d&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),m++}ute(e,n,r)}function ute(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))jg(0,t,a,i),jg(1,t,a,i),Hg(t,i,!1);else{let r=n.get(a);Bg(0,t,r,i),Bg(1,t,r,i),Hg(t,i,!0)}}}function jg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(i),yx(t,r)}}function Bg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(i,r),yx(t,s)}}function yx(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hg(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Cm(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<i.length;){let c=i[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&a.hasOwnProperty(c)){let d=a[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,i[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function hte(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=mr(a.type)),s=new Ys(r,za(a),Je);e.blueprint[i]=s,n[i]=s,pte(e,t,i,Q_(e,n,a.hostVars,_i),a)}function pte(e,t,n,i,a){let r=a.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;mte(s)!=l&&s.push(l),s.push(n,i,r)}}function mte(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fte(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;za(t)&&(n[""]=e)}}function gte(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _x(e,t,n,i,a,r,s,l){let c=t.consts,d=br(c,s),u=ko(t,e,2,i,d);return zm(t,n,u,br(c,l),a),u.mergedAttrs=co(u.mergedAttrs,u.attrs),u.attrs!==null&&Gh(u,u.attrs,!1),u.mergedAttrs!==null&&Gh(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function xx(e,t){mm(e,t),im(t)&&e.queries.elementEnd(t)}var vte=class extends Xs{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=no(t);return new jm(n,this.ngModule)}};function bte(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Od.SignalBased)!==0};return a&&(r.transform=a),r})}function yte(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _te(e,t,n){let i=t instanceof Va?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new nte(n,i):n}function xte(e){let t=e.get(na,null);if(t===null)throw new Z(407,!1);let n=e.get(ate,null),i=e.get(wo,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function wte(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Y_(t,n,n==="svg"?q0:n==="math"?qX:null)}var jm=class extends bx{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tee(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=bte(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=yte(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=He(null);try{let s=this.componentDef,l=i?["ng-version","19.2.17"]:iee(this.componentDef.selectors[0]),c=Dm(0,null,null,1,0,null,null,null,null,[l],null),d=_te(s,a||this.ngModule,t),u=xte(d),m=u.rendererFactory.createRenderer(null,s),v=i?oee(m,i,s.encapsulation,d):wte(s,m),g=Im(null,c,null,512|X_(s),null,null,u,m,d,null,L_(v,d,!0));g[qt]=v,hm(g);let x=null;try{let w=_x(qt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(G_(m,v,w),Eo(v,g)),Td(c,g,w),Em(c,w,g),xx(c,w),n!==void 0&&Ete(w,this.ngContentSelectors,n),x=Ba(w.index,g),g[ii]=x[ii],Mm(c,g,null)}catch(w){throw x!==null&&Bh(x),Bh(g),w}finally{vr(23),pm()}return new Ste(this.componentType,g)}finally{He(r)}}},Ste=class extends ete{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=am(n[Te],qt),this.location=So(this._tNode,n),this.instance=Ba(this._tNode.index,n)[ii],this.hostView=this.changeDetectorRef=new ys(n,void 0,!1),this.componentType=t}setInput(t,n){let i=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let a=this._rootLView;Nm(i,a[Te],a,t,n),this.previousInputValues.set(t,n);let r=Ba(i.index,a);Vm(r,1)}get injector(){return new rs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ete(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null&&r.length?Array.from(r):null)}}var bn=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",kte),e})();function kte(){let e=yi();return Sx(e,ye())}var Cte=bn,wx=class extends Cte{constructor(t,n,i){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new rs(this._hostTNode,this._hostLView)}get parentInjector(){let t=fm(this._hostTNode,this._hostLView);if(s_(t)){let n=Dc(t,this._hostLView),i=Cc(t),a=n[Te].data[i+8];return new rs(a,n)}else return new rs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-gi}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let s=ho(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,a,uo(this._hostTNode,s)),l}createComponent(t,n,i,a,r){let s=t&&!zX(t),l;if(s)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=s?t:new jm(no(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(s?d:this.parentInjector).get(Va,null);x&&(r=x)}let u=no(c.componentType??{}),m=ho(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,uo(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(UX(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[vi],d=new wx(c,c[Pi],c[vi]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Zs(s,a,r,i),t.attachToViewContainerRef(),I0(Su(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);i&&(xc(Su(this._lContainer),n),Md(i[Te],i))}detach(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);return i&&xc(Su(this._lContainer),n)!=null?new ys(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function $g(e){return e[Sc]}function Su(e){return e[Sc]||(e[Sc]=[])}function Sx(e,t){let n,i=t[e.index];return gn(i)?n=i:(n=mx(i,t,null,e),t[e.index]=n,Am(t,n)),Ite(n,t,e,i),new wx(n,e,t)}function Dte(e,t){let n=e[Tt],i=n.createComment(""),a=qa(t,e),r=n.parentNode(a);return Nc(n,r,i,n.nextSibling(a),!1),i}var Ite=Ate;function Ate(e,t,n,i){if(e[gr])return;let a;n.type&8?a=ja(i):a=Dte(t,n),e[gr]=a}var Ote=class Ex{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new Ex(this.queryList)}setDirty(){this.queryList.setDirty()}},Tte=class kx{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];a.push(l.clone())}return new kx(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Hm(t,n).matches!==null&&this.queries[n].setDirty()}},Cx=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=zte(e):this.predicate=e}},Nte=class Dx{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new Dx(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Mte=class Ix{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Ix(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,Pte(n,r)),this.matchTNodeWithReadOption(t,n,rc(n,t,r,!1,!1))}else i===Ln?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,rc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===ze||a===bn||a===Ln&&n.type&4)this.addMatch(n.index,-2);else{let r=rc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Pte(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function Rte(e,t){return e.type&11?So(e,t):e.type&4?Fd(e,t):null}function Fte(e,t,n,i){return n===-1?Rte(t,e):n===-2?Lte(e,t,i):fs(e,e[Te],n,t)}function Lte(e,t,n){if(n===ze)return So(t,e);if(n===Ln)return Fd(t,e);if(n===bn)return Sx(t,e)}function Ax(e,t,n,i){let a=t[fa].queries[i];if(a.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(Fte(t,u,s[c+1],n.metadata.read))}}a.matches=l}return a.matches}function Wh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let s=Ax(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let m=gi;m<u.length;m++){let v=u[m];v[fr]===v[vi]&&Wh(v[Te],v,d,i)}if(u[lo]!==null){let m=u[lo];for(let v=0;v<m.length;v++){let g=m[v];Wh(g[Te],g,d,i)}}}}}return i}function Bm(e,t){return e[fa].queries[t].queryList}function Ox(e,t,n){let i=new Tc((n&4)===4);return KX(e,t,i,i.destroy),(t[fa]??(t[fa]=new Tte)).queries.push(new Ote(i))-1}function Vte(e,t,n){let i=gt();return i.firstCreatePass&&(Nx(i,new Cx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),Ox(i,ye(),t)}function Tx(e,t,n,i){let a=gt();if(a.firstCreatePass){let r=yi();Nx(a,new Cx(t,n,i),r.index),jte(a,e)}return Ox(a,ye(),n)}function zte(e){return e.split(",").map(t=>t.trim())}function Nx(e,t,n){e.queries===null&&(e.queries=new Nte),e.queries.track(new Mte(t,n))}function jte(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Hm(e,t){return e.queries.getByIndex(t)}function Mx(e,t){let n=e[Te],i=Hm(n,t);return i.crossesNgTemplate?Wh(n,e,t,[]):Ax(n,e,i,t)}function Px(e,t,n){let i,a=Oy(()=>{i._dirtyCounter();let r=qte(i,e);if(t&&r===void 0)throw new Z(-951,!1);return r});return i=a[fi],i._dirtyCounter=Pa(0),i._flatValue=void 0,a}function Bte(e){return Px(!0,!1)}function Hte(e){return Px(!0,!0)}function $te(e,t){let n=e[fi];n._lView=ye(),n._queryIndex=t,n._queryList=Bm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function qte(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[Ee]&4)return t?void 0:Di;let a=Bm(n,i),r=Mx(n,i);return a.reset(r,E_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function qg(e,t){return Bte()}function Yte(e,t){return Hte()}var Ute=(qg.required=Yte,qg);function Rx(e,t){let n=Object.create(m0),i=new S_;n.value=e;function a(){return Fs(n),Yg(n.value),n.value}return a[fi]=n,a.asReadonly=ym.bind(a),a.set=r=>{n.equal(n.value,r)||(Vs(n,r),i.emit(r))},a.update=r=>{Yg(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function Yg(e){if(e===fd)throw new Z(952,!1)}function Ug(e,t){return Rx(e)}function Gte(e){return Rx(fd)}var Wte=(Ug.required=Gte,Ug),_s=class{},Fx=class extends _s{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new vte(this));o(this,"instance",null);let n=new tm([...t.providers,{provide:_s,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],t.parent||bd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kte(e,t,n=null){return new Fx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zte=(()=>{const t=class t{constructor(i){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=M0(!1,i.type),r=a.length>0?Kte([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",q({token:t,providedIn:"environment",factory:()=>new t(pe(Va))}));let e=t;return e})();function Ce(e){return js(()=>{let t=Lx(e),n=Qe(Q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===D_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Zte).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||Di,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ar("NgStandalone"),Vx(n);let i=e.dependencies;return n.directiveDefs=Gg(i,!1),n.pipeDefs=Gg(i,!0),n.id=tie(n),n})}function Xte(e){return no(e)||N0(e)}function Qte(e){return e!==null}function kt(e){return js(()=>({type:e.type,bootstrap:e.bootstrap||Di,declarations:e.declarations||Di,imports:e.imports||Di,exports:e.exports||Di,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jte(e,t){if(e==null)return La;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,s,l,c;Array.isArray(a)?(l=a[0],r=a[1],s=a[2]??r,c=a[3]||null):(r=a,s=a,l=Od.None,c=null),n[r]=[i,l,c],t[r]=s}return n}function eie(e){if(e==null)return La;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Se(e){return js(()=>{let t=Lx(e);return Vx(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Lx(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||La,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Di,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jte(e.inputs,t),outputs:eie(e.outputs),debugInfo:null}}function Vx(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function Gg(e,t){if(!e)return null;let n=t?IX:Xte;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Qte)}function tie(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of i.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iie(e){return Object.getPrototypeOf(e.prototype).constructor}function Ft(e){let t=iie(e.type),n=!0,i=[e];for(;t;){let a;if(za(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let s=e;s.inputs=Eu(e.inputs),s.declaredInputs=Eu(e.declaredInputs),s.outputs=Eu(e.outputs);let l=a.hostBindings;l&&sie(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&rie(e,c),d&&oie(e,d),aie(e,a),sX(e.outputs,a.outputs),za(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===Ft&&(n=!1)}}t=Object.getPrototypeOf(t)}nie(i)}function aie(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function nie(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=co(a.hostAttrs,n=co(n,a.hostAttrs))}}function Eu(e){return e===La?{}:e===Di?[]:e}function rie(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function oie(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function sie(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function lie(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=zx,n.hostDirectives=i?e.map(Kh):[e]):i?n.hostDirectives.unshift(...e.map(Kh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function zx(e,t,n){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let a=i();for(let r of a)Wg(Kh(r),t,n)}else Wg(i,t,n)}function Wg(e,t,n){let i=N0(e.directive);cie(i.declaredInputs,e.inputs),zx(i,t,n),n.set(i,e),t.push(i)}function Kh(e){return typeof e=="function"?{directive:ci(e),inputs:La,outputs:La}:{directive:ci(e.directive),inputs:Kg(e.inputs),outputs:Kg(e.outputs)}}function Kg(e){if(e===void 0||e.length===0)return La;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function cie(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function jx(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ld(e,t,n){return e[t]=n}function Bx(e,t){return e[t]}function Ni(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function xs(e,t,n,i){let a=Ni(e,t,n);return Ni(e,t+1,i)||a}function die(e,t,n,i,a){let r=xs(e,t,n,i);return Ni(e,t+2,a)||r}function uie(e,t,n,i,a,r){let s=xs(e,t,n,i);return xs(e,t+2,a,r)||s}function hie(e,t,n,i,a,r,s,l,c){let d=t.consts,u=ko(t,e,4,s||null,l||null);zm(t,n,u,br(d,c),Tm),u.mergedAttrs=co(u.mergedAttrs,u.attrs),mm(t,u);let m=u.tView=Dm(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),m.queries=t.queries.embeddedTView(u)),u}function Hx(e,t,n,i,a,r,s,l,c,d){let u=n+qt,m=t.firstCreatePass?hie(u,t,e,i,a,r,s,l,c):t.data[u];$n(m,!1);let v=pie(t,e);kd()&&Pd(t,e,v,m),Eo(v,e);let g=mx(v,e,v,m);return e[u]=g,Am(e,g),xd(m)&&Td(t,e,m),c!=null&&Om(e,m,d),m}function ne(e,t,n,i,a,r,s,l){let c=ye(),d=gt(),u=br(d.consts,r);return Hx(c,d,e,t,n,i,a,u,s,l),ne}var pie=mie;function mie(e,t,n,i){return Cd(!0),t[Tt].createComment("")}var fie=new $(""),$x=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new gie}));let e=t;return e})(),gie=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Vd(e){return!!e&&typeof e.then=="function"}function qx(e){return!!e&&typeof e.subscribe=="function"}var vie=new $(""),Yx=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));o(this,"appInits",S(vie,{optional:!0})??[]);o(this,"injector",S(lt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let s=yd(this.injector,r);if(Vd(s))i.push(s);else if(qx(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});i.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bie=new $("");function yie(){XK(()=>{throw new Z(600,!1)})}function _ie(e){return e.isBoundToModule}var xie=10,Vn=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",S(zQ));o(this,"afterRenderManager",S(R_));o(this,"zonelessEnabled",S(b_));o(this,"rootEffectScheduler",S($x));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ce);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",S(Us).hasPendingTasks.pipe(xt(i=>!i)));o(this,"_injector",S(Va));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let i=He(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,He(i),this.afterTick.next()}});S(Gs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,r=lt.NULL){let s=i instanceof bx;if(!this._injector.get(Yx).done){let g="";throw new Z(405,g)}let l;s?l=i:l=this._injector.get(Xs).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=_ie(l)?void 0:this._injector.get(_s),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(fie,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),oc(this.components,u),v==null||v.unregisterApplication(m)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(xm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(na,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<xie;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)wie(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(i=this._rendererFactory)==null?void 0:i.begin)==null||a.call(i),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>$s(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;oc(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bie,[]).forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>oc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Z(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function oc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wie(e,t,n,i){!n&&!$s(e)||dx(e,t,n&&!i?0:1)}function _e(e,t,n,i){let a=ye(),r=Ir();if(Ni(a,r,t)){gt();let s=qs();hee(s,a,e,t,n,i)}return _e}function $m(e,t,n,i){return Ni(e,Ir(),n)?t+Ma(n)+i:_i}function Sie(e,t,n,i,a,r){let s=Q0(),l=xs(e,s,n,a);return Sd(2),l?t+Ma(n)+i+Ma(a)+r:_i}function Eie(e,t,n,i,a,r,s,l){let c=Q0(),d=die(e,c,n,a,s);return Sd(3),d?t+Ma(n)+i+Ma(a)+r+Ma(s)+l:_i}function Dl(e,t){return e<<17|t<<2}function wr(e){return e>>17&32767}function kie(e){return(e&2)==2}function Cie(e,t){return e&131071|t<<17}function Zh(e){return e|2}function po(e){return(e&131068)>>2}function ku(e,t){return e&-131069|t<<2}function Die(e){return(e&1)===1}function Xh(e){return e|1}function Iie(e,t,n,i,a,r){let s=r?t.classBindings:t.styleBindings,l=wr(s),c=po(s);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||Bs(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=wr(e[l+1]);e[i+1]=Dl(m,l),m!==0&&(e[m+1]=ku(e[m+1],i)),e[l+1]=Cie(e[l+1],i)}else e[i+1]=Dl(l,0),l!==0&&(e[l+1]=ku(e[l+1],i)),l=i;else e[i+1]=Dl(c,0),l===0?l=i:e[c+1]=ku(e[c+1],i),c=i;d&&(e[i+1]=Zh(e[i+1])),Zg(e,u,i,!0),Zg(e,u,i,!1),Aie(t,u,e,i,r),s=Dl(l,c),r?t.classBindings=s:t.styleBindings=s}function Aie(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Bs(r,t)>=0&&(n[i+1]=Xh(n[i+1]))}function Zg(e,t,n,i){let a=e[n+1],r=t===null,s=i?wr(a):po(a),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];Oie(c,t)&&(l=!0,e[s+1]=i?Xh(d):Zh(d)),s=i?wr(d):po(d)}l&&(e[n+1]=i?Zh(a):Xh(a))}function Oie(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bs(e,t)>=0:!1}var pa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tie(e){return e.substring(pa.key,pa.keyEnd)}function Nie(e){return Mie(e),Ux(e,Gx(e,0,pa.textEnd))}function Ux(e,t){let n=pa.textEnd;return n===t?-1:(t=pa.keyEnd=Pie(e,pa.key=t,n),Gx(e,t,n))}function Mie(e){pa.key=0,pa.keyEnd=0,pa.value=0,pa.valueEnd=0,pa.textEnd=e.length}function Gx(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pie(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function W(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return W}function Qh(e,t,n,i,a){Nm(t,e,n,a?"class":"style",i)}function zd(e,t,n){return Kx(e,t,n,!1),zd}function We(e,t){return Kx(e,t,null,!0),We}function Sr(e){Zx(jie,Wx,e,!0)}function Wx(e,t){for(let n=Nie(t);n>=0;n=Ux(t,n))vd(e,Tie(t),!0)}function Kx(e,t,n,i){let a=ye(),r=gt(),s=Sd(2);if(r.firstUpdatePass&&Qx(r,e,s,i),t!==_i&&Ni(a,s,t)){let l=r.data[ga()];Jx(r,l,a,a[Tt],e,a[s+1]=Hie(t,n),i,s)}}function Zx(e,t,n,i){let a=gt(),r=Sd(2);a.firstUpdatePass&&Qx(a,null,r,i);let s=ye();if(n!==_i&&Ni(s,r,n)){let l=a.data[ga()];if(e1(l,i)&&!Xx(a,r)){let c=l.classesWithoutHost;c!==null&&(n=kh(c,n||"")),Qh(a,l,s,n,i)}else Bie(a,l,s,s[Tt],s[r+1],s[r+1]=zie(e,t,n),i,r)}}function Xx(e,t){return t>=e.expandoStartIndex}function Qx(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[ga()],s=Xx(e,n);e1(r,i)&&t===null&&!s&&(t=!1),t=Rie(a,r,t,i),Iie(a,r,t,n,s,i)}}function Rie(e,t,n,i){let a=sQ(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Cu(null,e,t,n,i),n=ws(n,t.attrs,i),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==a)if(n=Cu(a,e,t,n,i),r===null){let l=Fie(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Cu(null,e,t,l[1],i),l=ws(l,t.attrs,i),Lie(e,t,i,l))}else r=Vie(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function Fie(e,t,n){let i=n?t.classBindings:t.styleBindings;if(po(i)!==0)return e[wr(i)]}function Lie(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[wr(a)]=i}function Vie(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let s=e[r].hostAttrs;i=ws(i,s,n)}return ws(i,t.attrs,n)}function Cu(e,t,n,i,a){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],i=ws(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function ws(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?a=s:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vd(e,s,n?!0:t[++r]))}return e===void 0?null:e}function zie(e,t,n){if(n==null||n==="")return Di;let i=[],a=nn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function jie(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&vd(e,i,n)}function Bie(e,t,n,i,a,r,s,l){a===_i&&(a=Di);let c=0,d=0,u=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;u!==null||m!==null;){let v=c<a.length?a[c+1]:void 0,g=d<r.length?r[d+1]:void 0,x=null,w;u===m?(c+=2,d+=2,v!==g&&(x=m,w=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,w=g),x!==null&&Jx(e,t,n,i,x,w,s,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function Jx(e,t,n,i,a,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=Die(d)?Xg(c,t,n,a,po(d),s):void 0;if(!Pc(u)){Pc(r)||kie(d)&&(r=Xg(c,null,n,a,l,s));let m=Y0(ga(),n);Oee(i,s,m,a,r)}}function Xg(e,t,n,i,a,r){let s=t===null,l;for(;a>0;){let c=e[a],d=Array.isArray(c),u=d?c[1]:c,m=u===null,v=n[a+1];v===_i&&(v=m?Di:void 0);let g=m?gu(v,i):u===i?v:void 0;if(d&&!Pc(g)&&(g=gu(c,i)),Pc(g)&&(l=g,s))return l;let x=e[a+1];a=s?wr(x):po(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=gu(c,i))}return l}function Pc(e){return e!==void 0}function Hie(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ta(nn(e)))),e}function e1(e,t){return(e.flags&(t?8:16))!==0}function $ie(e,t,n){let i=ye(),a=$m(i,e,t,n);Zx(vd,Wx,a,!0)}var qie=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Du(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function Yie(e,t,n){let i,a,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Du(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(s),v=t[l],g=Du(s,m,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let x=n(r,c),w=n(s,m),k=n(r,d);if(Object.is(k,w)){let N=n(l,v);Object.is(N,x)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(i??(i=new ev),a??(a=Jg(e,r,s,n)),Jh(e,i,r,k))e.updateValue(r,d),r++,s++;else if(a.has(k))i.set(x,e.detach(r)),s--;else{let N=e.create(r,t[r]);e.attach(r,N),r++,s++}}for(;r<=l;)Qg(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,m=Du(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new ev),a??(a=Jg(e,r,s,n));let v=n(r,u);if(Jh(e,i,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),s--}}}for(;!c.done;)Qg(e,i,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));i==null||i.forEach(l=>{e.destroy(l)})}function Jh(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function Qg(e,t,n,i,a){if(Jh(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function Jg(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var ev=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function se(e,t){Ar("NgControlFlow");let n=ye(),i=Ir(),a=n[i]!==_i?n[i]:-1,r=a!==-1?Rc(n,qt+a):void 0,s=0;if(Ni(n,i,e)){let l=He(null);try{if(r!==void 0&&gx(r,s),e!==-1){let c=qt+e,d=Rc(n,c),u=ep(n[Te],c),m=ho(d,u.tView.ssrId),v=Ks(n,u,t,{dehydratedView:m});Zs(d,v,s,uo(u,m))}}finally{He(l)}}else if(r!==void 0){let l=fx(r,s);l!==void 0&&(l[ii]=t)}}var Uie=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-gi}};function ba(e,t){return t}var Gie=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ri(e,t,n,i,a,r,s,l,c,d,u,m,v){Ar("NgControlFlow");let g=ye(),x=gt(),w=c!==void 0,k=ye(),N=l?s.bind(k[Hi][ii]):s,V=new Gie(w,N);k[qt+e]=V,Hx(g,x,e+1,t,n,i,a,br(x.consts,r))}var Wie=class extends qie{constructor(t,n,i){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-gi}at(t){return this.getLView(t)[ii].$implicit}attach(t,n){let i=n[oo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Zs(this.lContainer,n,t,uo(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Kie(this.lContainer,t)}create(t,n){var r;let i=ho(this.lContainer,this.templateTNode.tView.ssrId),a=Ks(this.hostLView,this.templateTNode,new Uie(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Md(t[Te],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ii].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ii].$index=t}getLView(t){return Zie(this.lContainer,t)}};function Fi(e){let t=He(null),n=ga();try{let i=ye(),a=i[Te],r=i[n],s=n+1,l=Rc(i,s);if(r.liveCollection===void 0){let d=ep(a,s);r.liveCollection=new Wie(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Yie(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Ir(),u=c.length===0;if(Ni(i,d,u)){let m=n+2,v=Rc(i,m);if(u){let g=ep(a,m),x=ho(v,g.tView.ssrId),w=Ks(i,g,void 0,{dehydratedView:x});Zs(v,w,0,uo(g,x))}else gx(v,0)}}}finally{He(t)}}function Rc(e,t){return e[t]}function Kie(e,t){return bs(e,t)}function Zie(e,t){return fx(e,t)}function ep(e,t){return am(e,t)}function I(e,t,n,i){let a=ye(),r=gt(),s=qt+e,l=a[Tt],c=r.firstCreatePass?_x(s,r,a,t,Tm,JX(),n,i):r.data[s],d=Xie(r,a,c,l,t);a[s]=d;let u=xd(c);return $n(c,!0),G_(l,d,c),!Rm(c)&&kd()&&Pd(r,a,d,c),(ZX()===0||u)&&Eo(d,a),XX(),u&&(Td(r,a,c),Em(r,c,a)),i!==null&&Om(a,c),I}function T(){let e=yi();cm()?dm():(e=e.parent,$n(e,!1));let t=e;eQ(t)&&tQ(),QX();let n=gt();return n.firstCreatePass&&xx(n,t),t.classesWithoutHost!=null&&mQ(t)&&Qh(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&fQ(t)&&Qh(n,t,ye(),t.stylesWithoutHost,!1),T}function he(e,t,n,i){return I(e,t,n,i),T(),he}var Xie=(e,t,n,i,a,r)=>(Cd(!0),Y_(i,a,uQ()));function Qie(e,t,n,i,a){let r=t.consts,s=br(r,i),l=ko(t,e,8,"ng-container",s);s!==null&&Gh(l,s,!0);let c=br(r,a);return zm(t,n,l,c,Tm),l.mergedAttrs=co(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function t1(e,t,n){let i=ye(),a=gt(),r=e+qt,s=a.firstCreatePass?Qie(r,a,i,t,n):a.data[r];$n(s,!0);let l=Jie(a,i);return i[r]=l,kd()&&Pd(a,i,l,s),Eo(l,i),xd(s)&&(Td(a,i,s),Em(a,s,i)),n!=null&&Om(i,s),t1}function i1(){let e=yi(),t=gt();return cm()?dm():(e=e.parent,$n(e,!1)),t.firstCreatePass&&(mm(t,e),im(e)&&t.queries.elementEnd(e)),i1}function Qs(e,t,n){return t1(e,t,n),i1(),Qs}var Jie=(e,t,n,i)=>(Cd(!0),zJ(t[Tt],""));function Ke(){return ye()}function yn(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!0)}return yn}var Kn=void 0;function eae(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var tae=["en",[["a","p"],["AM","PM"],Kn],[["AM","PM"],Kn,Kn],[["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"]],Kn,[["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"]],Kn,[["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}",Kn,"{1} 'at' {0}",Kn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eae],os={};function iae(e,t,n){typeof t!="string"&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),os[t]=e,n&&(os[t][Zt.ExtraData]=n)}function ya(e){let t=aae(e),n=tv(t);if(n)return n;let i=t.split("-")[0];if(n=tv(i),n)return n;if(i==="en")return tae;throw new Z(701,!1)}function tv(e){return e in os||(os[e]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[e]),os[e]}var Zt=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Zt||{});function aae(e){return e.toLowerCase().replace(/_/g,"-")}var tp="en-US";function nae(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function iv(e,t,n){return function i(a){if(a===Function)return n;let r=bo(e)?Ba(e.index,t):t;Vm(r,5);let s=t[ii],l=av(t,s,n,a),c=i.__ngNextListenerFn__;for(;c;)l=av(t,s,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function av(e,t,n,i){let a=He(null);try{return vr(6,t,n),n(i)!==!1}catch(r){return rae(e,r),!1}finally{He(a)}}function rae(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function nv(e,t,n,i,a,r){let s=t[n],l=t[Te],c=l.data[n].outputs[i],d=s[c],u=l.firstCreatePass?lm(l):null,m=sm(t),v=d.subscribe(r),g=m.length;m.push(r,v),u&&u.push(a,e.index,g,-(g+1))}function de(e,t,n,i){let a=ye(),r=gt(),s=yi();return a1(r,a,a[Tt],s,e,t,i),de}function oae(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let s=a[r];if(s===n&&a[r+1]===i){let l=t[Xr],c=a[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function a1(e,t,n,i,a,r,s){var m,v;let l=xd(i),c=e.firstCreatePass?lm(e):null,d=sm(t),u=!0;if(i.type&3||s){let g=qa(i,t),x=s?s(g):g,w=d.length,k=s?V=>s(ja(V[i.index])):i.index,N=null;if(!s&&l&&(N=oae(e,t,a,i.index)),N!==null){let V=N.__ngLastListenerFn__||N;V.__ngNextListenerFn__=r,N.__ngLastListenerFn__=r,u=!1}else{r=iv(i,t,r);let V=n.listen(x,a,r);d.push(r,V),c&&c.push(a,k,w,w+1)}}else r=iv(i,t,r);if(u){let g=(m=i.outputs)==null?void 0:m[a],x=(v=i.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let k=x[w],N=x[w+1];nv(i,t,k,N,a,r)}if(g&&g.length)for(let w of g)nv(i,t,w,a,a,r)}}function P(e=1){return cQ(e)}function sae(e,t){let n=null,i=ZJ(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?Z_(e,r,!0):JJ(i,r))return a}return n}function Li(e){let t=ye()[Hi][Pi];if(!t.projection){let n=e?e.length:1,i=t.projection=kX(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?sae(r,e):0;s!==null&&(a[s]?a[s].projectionNext=r:i[s]=r,a[s]=r)}r=r.next}}}function dt(e,t=0,n,i,a,r){let s=ye(),l=gt(),c=null,d=ko(l,qt+e,16,null,null);d.projection===null&&(d.projection=t),dm();let u=!s[oo]||W0();s[Hi][Pi].projection[d.projection]===null&&c!==null?lae(s,l,c):u&&!Rm(d)&&Iee(l,s,d)}function lae(e,t,n){let i=qt+n,a=t.data[i],r=e[i],s=ho(r,a.tView.ssrId),l=Ks(e,a,void 0,{dehydratedView:s});Zs(r,l,0,uo(a,s))}function jd(e,t,n){return n1(e,"",t,"",n),jd}function n1(e,t,n,i,a){let r=ye(),s=$m(r,t,n,i);if(s!==_i){let l=gt(),c=qs();Nd(l,c,r,e,s,r[Tt],a,!1)}return n1}function pi(e,t,n,i){Tx(e,t,n,i)}function mt(e,t,n){Vte(e,t,n)}function Re(e){let t=ye(),n=gt(),i=um();Ed(i+1);let a=Hm(n,i);if(e.dirty&&YX(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Mx(t,i);e.reset(r,E_),e.notifyOnChanges()}return!0}return!1}function Fe(){return Bm(ye(),um())}function cae(e,t,n,i,a){$te(t,Tx(e,n,i,a))}function dae(e=1){Ed(um()+e)}function Qi(e){let t=Z0();return wd(t,qt+e)}function B(e,t=""){let n=ye(),i=gt(),a=e+qt,r=i.firstCreatePass?ko(i,a,1,t,null):i.data[a],s=uae(i,n,r,t);n[a]=s,kd()&&Pd(i,n,s,r),$n(r,!1)}var uae=(e,t,n,i,a)=>(Cd(!0),LJ(t[Tt],i));function we(e){return Ie("",e,""),we}function Ie(e,t,n){let i=ye(),a=$m(i,e,t,n);return a!==_i&&qm(i,ga(),a),Ie}function Er(e,t,n,i,a){let r=ye(),s=Sie(r,e,t,n,i,a);return s!==_i&&qm(r,ga(),s),Er}function r1(e,t,n,i,a,r,s){let l=ye(),c=Eie(l,e,t,n,i,a,r,s);return c!==_i&&qm(l,ga(),c),r1}function qm(e,t,n){let i=Y0(t,e);VJ(e[Tt],i,n)}function Ha(e,t,n){k_(t)&&(t=t());let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return Ha}function pn(e,t){let n=k_(e);return n&&e.set(t),n}function $a(e,t){let n=ye(),i=gt(),a=yi();return a1(i,n,n[Tt],a,e,t),$a}var o1={};function Ym(e){let t=gt(),n=ye(),i=e+qt,a=ko(t,i,128,null,null);return $n(a,!1),nm(t,n,i,o1),Ym}function rv(e){Ar("NgLet");let t=gt(),n=ye(),i=ga();return nm(t,n,i,e),e}function ov(e){let t=Z0(),n=wd(t,qt+e);if(n===o1)throw new Z(314,!1);return n}function hae(e,t,n){let i=gt();if(i.firstCreatePass){let a=za(e);ip(n,i.data,i.blueprint,a,!0),ip(t,i.data,i.blueprint,a,!1)}}function ip(e,t,n,i,a){if(e=ci(e),Array.isArray(e))for(let r=0;r<e.length;r++)ip(e[r],t,n,i,a);else{let r=gt(),s=ye(),l=yi(),c=ro(e)?e:ci(e.provide),d=F0(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(ro(e)||!e.multi){let g=new Ys(d,a,Je),x=Au(c,t,a?u:u+v,m);x===-1?(Lh(Ac(l,s),r,c),Iu(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[x]=g,s[x]=g)}else{let g=Au(c,t,u+v,m),x=Au(c,t,u,u+v),w=g>=0&&n[g],k=x>=0&&n[x];if(a&&!k||!a&&!w){Lh(Ac(l,s),r,c);let N=fae(a?mae:pae,n.length,a,i,d);!a&&k&&(n[x].providerFactory=N),Iu(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=s1(n[a?x:g],d,!a&&i);Iu(r,e,g>-1?g:x,N)}!a&&i&&k&&n[x].componentProviders++}}}function Iu(e,t,n,i){let a=ro(t),r=MX(t);if(a||r){let s=(r?ci(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,s]):l[c+1].push(i,s)}else l.push(n,s)}}}function s1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function pae(e,t,n,i,a){return ap(this.multi,[])}function mae(e,t,n,i,a){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fs(i,i[Te],this.providerFactory.index,a);s=c.slice(0,l),ap(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],ap(r,s);return s}function ap(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function fae(e,t,n,i,a){let r=new Ys(e,n,Je);return r.multi=[],r.index=t,r.componentProviders=0,s1(r,a,i&&!n),r}function xi(e,t=[]){return n=>{n.providersResolver=(i,a)=>hae(i,a?a(e):e,t)}}function l1(e,t,n){let i=xo()+e,a=ye();return a[i]===_i?Ld(a,i,t()):Bx(a,i)}function Fc(e,t,n,i){return d1(ye(),xo(),e,t,n,i)}function gae(e,t,n,i,a){return u1(ye(),xo(),e,t,n,i,a)}function vae(e,t,n,i,a,r,s,l){let c=xo()+e,d=ye(),u=uie(d,c,n,i,a,r);return Ni(d,c+4,s)||u?Ld(d,c+5,t(n,i,a,r,s)):Bx(d,c+5)}function c1(e,t){let n=e[t];return n===_i?void 0:n}function d1(e,t,n,i,a,r){let s=t+n;return Ni(e,s,a)?Ld(e,s+1,r?i.call(r,a):i(a)):c1(e,s+1)}function u1(e,t,n,i,a,r,s){let l=t+n;return xs(e,l,a,r)?Ld(e,l+2,s?i.call(s,a,r):i(a,r)):c1(e,l+2)}function H(e,t){let n=gt(),i,a=e+qt;n.firstCreatePass?(i=bae(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=mr(i.type)),s=Ai(Je);try{let l=Ic(!1),c=r();return Ic(l),nm(n,ye(),a,c),c}finally{Ai(s)}}function bae(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function K(e,t,n){let i=e+qt,a=ye(),r=wd(a,i);return h1(a,i)?d1(a,xo(),t,r.transform,n,r):r.transform(n)}function qn(e,t,n,i){let a=e+qt,r=ye(),s=wd(r,a);return h1(r,a)?u1(r,xo(),t,s.transform,n,i,s):s.transform(n,i)}function h1(e,t){return e[Te].data[t].pure}function np(e,t){return Fd(e,t)}var yae=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},sv=new yae("19.2.17"),_ae=(()=>{const t=class t{constructor(){o(this,"zone",S(Ne));o(this,"changeDetectionScheduler",S(wo));o(this,"applicationRef",S(Vn));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xae({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(Qe(Q({},wae()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:wc,multi:!0,useFactory:()=>{let i=S(_ae,{optional:!0});return()=>i.initialize()}},{provide:wc,multi:!0,useFactory:()=>{let i=S(Sae);return()=>{i.initialize()}}},t===!0?{provide:y_,useValue:!0}:[],{provide:__,useValue:n??g_}]}function wae(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Sae=(()=>{const t=class t{constructor(){o(this,"subscription",new ct);o(this,"initialized",!1);o(this,"zone",S(Ne));o(this,"pendingTasks",S(Us))}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Eae=(()=>{var t;const n=class n{constructor(){o(this,"appRef",S(Vn));o(this,"taskService",S(Us));o(this,"ngZone",S(Ne));o(this,"zonelessEnabled",S(b_));o(this,"tracing",S(Gs,{optional:!0}));o(this,"disableScheduling",S(y_,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new ct);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Oc):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(__,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof FQ||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Cg:x_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(a){return new(a||n)}),o(n,"ɵprov",q({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function kae(){return typeof $localize<"u"&&$localize.locale||tp}var Bd=new $("",{providedIn:"root",factory:()=>S(Bd,Ye.Optional|Ye.SkipSelf)||kae()}),rp=new $(""),Cae=new $("");function jo(e){return!e.moduleRef}function Dae(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(va,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),jo(e)){let r=()=>t.destroy(),s=e.platformInjector.get(rp);s.add(r),t.onDestroy(()=>{a.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rp);s.add(r),e.moduleRef.onDestroy(()=>{oc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),s.delete(r)})}return Aae(i,n,()=>{let r=t.get(Yx);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Bd,tp);if(nae(s||tp),!t.get(Cae,!0))return jo(e)?t.get(Vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let l=t.get(Vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Iae(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iae(e,t){let n=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Z(-403,!1);t.push(e)}function Aae(e,t,n){try{let i=n();return Vd(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var sc=null;function Oae(e=[],t){return lt.create({name:t,providers:[{provide:em,useValue:"platform"},{provide:rp,useValue:new Set([()=>sc=null])},...e]})}function Tae(e=[]){if(sc)return sc;let t=Oae(e);return sc=t,yie(),Nae(t),t}function Nae(e){let t=e.get(M_,null);yd(e,()=>{t==null||t.forEach(n=>n())})}function Mae(){return!1}var Lt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Pae),e})();function Pae(e){return Rae(yi(),ye(),(e&16)===16)}function Rae(e,t,n){if(bo(e)&&!n){let i=Ba(e.index,t);return new ys(i,i)}else if(e.type&175){let i=t[Hi];return new ys(i,t)}return null}var Fae=class{constructor(){}supports(e){return e instanceof Map||jx(e)}create(){return new Lae}},Lae=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||jx(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new Vae(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Vae=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function lv(){return new p1([new Fae])}var p1=(()=>{const t=class t{constructor(i){o(this,"factories");this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||lv()),deps:[[t,new D0,new C0]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new Z(901,!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:lv}));let e=t;return e})();function zae(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Tae(i),s=[xae({}),{provide:wo,useExisting:Eae},...n||[]],l=new Fx({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return Dae({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function qe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ha(e){return aZ(e)}function Ti(e,t){return Oy(e,t==null?void 0:t.equal)}var my,jae=(my=fi,class{constructor(e){o(this,my);this[fi]=e}destroy(){this[fi].destroy()}});function m1(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get($i):null,a,r=n.get(wm,null,{optional:!0}),s=n.get(wo);return r!==null&&!(t!=null&&t.forceRoot)?(a=$ae(r.view,s,e),i instanceof v_&&i._lView===r.view&&(i=null)):a=qae(e,n.get($x),s),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new jae(a)}var f1=Qe(Q({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gs,run(){if(this.dirty=!1,this.hasRun&&!zp(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=ls(this),n=kc(!1);try{this.maybeCleanup(),this.fn(e)}finally{kc(n),cd(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Bae=Qe(Q({},f1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){dd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Hae=Qe(Q({},f1),{consumerMarkedDirty(){this.view[Ee]|=8192,_o(this.view),this.notifier.notify(13)},destroy(){var e;dd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[rn])==null||e.delete(this)}});function $ae(e,t,n){let i=Object.create(Hae);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[rn]??(e[rn]=new Set),e[rn].add(i),i.consumerMarkedDirty(i),i}function qae(e,t,n){let i=Object.create(Bae);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}var Yae=e=>e;function Uae(e,t){if(typeof e=="function"){let n=lg(e,Yae,t==null?void 0:t.equal);return cv(n)}else{let n=lg(e.source,e.computation,e.equal);return cv(n)}}function cv(e){let t=e[fi],n=e;return n.set=i=>eZ(t,i),n.update=i=>tZ(t,i),n.asReadonly=ym.bind(e),n}function g1(e,t){let n=no(e),i=t.elementInjector||bd();return new jm(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var Gae={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Wae(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Kae(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ou;function Zae(e,t){if(!Ou){let n=Element.prototype;Ou=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ou.call(e,t):!1}function Xae(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[Wae(i)]=[n,a]}),t}function Qae(e,t){return t.get(Xs).resolveComponentFactory(e).inputs}function Jae(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,s)=>r==="*"?(a=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=ene(l,t,a);c!==-1&&i[c].push(l)}return i}function ene(e,t,n){let i=n;return Kae(e)&&t.some((a,r)=>a!=="*"&&Zae(e,a)?(i=r,!0):!1),i}var tne=10,ine=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Xs).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new ane(this.componentFactory,e,this.inputMap)}},ane=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new qp(1));o(this,"events",this.eventEmitters.pipe(pr(e=>Ji(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(Vn),this.cdScheduler=t.get(wo),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Gae.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},tne))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),Yee(this.componentRef.hostView)&&(Uee(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=lt.create({providers:[],parent:this.injector}),n=Jae(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:i})=>{let a=e.instance[n];return new Ot(r=>{let s=a.subscribe(l=>r.next({name:i,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},nne=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function rne(e,t){let n=Qae(e,t.injector),i=t.strategyFactory||new ine(e,t.injector),a=Xae(n);class r extends nne{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let m=this[d];delete this[d],c.setInputValue(d,m,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,m){let[v,g]=a[c];this.ngElementStrategy.setInputValue(v,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var et=new $(""),v1=null;function hr(){return v1}function one(e){v1??(v1=e)}var sne=class{},b1=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(lne),providedIn:"platform"}));let e=t;return e})(),lne=(()=>{const t=class t extends b1{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",S(et));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hr().getBaseHref(this._doc)}onPopState(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,s){this._history.pushState(a,r,s)}replaceState(a,r,s){this._history.replaceState(a,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function lr(e){return e&&e[0]!=="?"?`?${e}`:e}var Um=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(dne),providedIn:"root"}));let e=t;return e})(),cne=new $(""),dne=(()=>{const t=class t extends Um{constructor(a,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=S(et).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return y1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+lr(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?`${r}${s}`:r}pushState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.replaceState(a,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(b1),pe(cne,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_1=(()=>{const t=class t{constructor(i){o(this,"_subject",new ce);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=pne(dv(uv(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+lr(a))}normalize(i){return t.stripTrailingSlash(hne(this._basePath,uv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",lr),o(t,"joinWithSlash",y1),o(t,"stripTrailingSlash",dv),o(t,"ɵfac",function(i){return new(i||t)(pe(Um))}),o(t,"ɵprov",q({token:t,factory:()=>une(),providedIn:"root"}));let e=t;return e})();function une(){return new _1(pe(Um))}function hne(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function uv(e){return e.replace(/\/index.html$/,"")}function pne(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var ki=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ki||{}),ut=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ut||{}),zi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(zi||{}),Hd={MinusSign:5};function mne(e){return ya(e)[Zt.LocaleId]}function fne(e,t,n){let i=ya(e),a=[i[Zt.DayPeriodsFormat],i[Zt.DayPeriodsStandalone]],r=aa(a,t);return aa(r,n)}function gne(e,t,n){let i=ya(e),a=[i[Zt.DaysFormat],i[Zt.DaysStandalone]],r=aa(a,t);return aa(r,n)}function vne(e,t,n){let i=ya(e),a=[i[Zt.MonthsFormat],i[Zt.MonthsStandalone]],r=aa(a,t);return aa(r,n)}function bne(e,t){let n=ya(e)[Zt.Eras];return aa(n,t)}function Il(e,t){let n=ya(e);return aa(n[Zt.DateFormat],t)}function Al(e,t){let n=ya(e);return aa(n[Zt.TimeFormat],t)}function Ol(e,t){let n=ya(e)[Zt.DateTimeFormat];return aa(n,t)}function $d(e,t){return ya(e)[Zt.NumberSymbols][t]}function x1(e){if(!e[Zt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Zt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yne(e){let t=ya(e);return x1(t),(t[Zt.ExtraData][2]||[]).map(n=>typeof n=="string"?Tu(n):[Tu(n[0]),Tu(n[1])])}function _ne(e,t,n){let i=ya(e);x1(i);let a=[i[Zt.ExtraData][0],i[Zt.ExtraData][1]],r=aa(a,t)||[];return aa(r,n)||[]}function aa(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Tu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var xne=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lr={},wne=/((?:[^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 Sne(e,t,n,i){let a=Nne(e);t=tn(n,t)||t;let r=[],s;for(;t;)if(s=wne.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=S1(i,l),a=Tne(a,i));let c="";return r.forEach(d=>{let u=Ane(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Lc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function tn(e,t){let n=mne(e);if(Lr[n]??(Lr[n]={}),Lr[n][t])return Lr[n][t];let i="";switch(t){case"shortDate":i=Il(e,zi.Short);break;case"mediumDate":i=Il(e,zi.Medium);break;case"longDate":i=Il(e,zi.Long);break;case"fullDate":i=Il(e,zi.Full);break;case"shortTime":i=Al(e,zi.Short);break;case"mediumTime":i=Al(e,zi.Medium);break;case"longTime":i=Al(e,zi.Long);break;case"fullTime":i=Al(e,zi.Full);break;case"short":let a=tn(e,"shortTime"),r=tn(e,"shortDate");i=Tl(Ol(e,zi.Short),[a,r]);break;case"medium":let s=tn(e,"mediumTime"),l=tn(e,"mediumDate");i=Tl(Ol(e,zi.Medium),[s,l]);break;case"long":let c=tn(e,"longTime"),d=tn(e,"longDate");i=Tl(Ol(e,zi.Long),[c,d]);break;case"full":let u=tn(e,"fullTime"),m=tn(e,"fullDate");i=Tl(Ol(e,zi.Full),[u,m]);break}return i&&(Lr[n][t]=i),i}function Tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ua(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function Ene(e,t){return ua(e,3).substring(0,t)}function Wt(e,t,n=0,i=!1,a=!1){return function(r,s){let l=kne(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return Ene(l,t);let c=$d(s,Hd.MinusSign);return ua(l,t,c,i,a)}}function kne(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function pt(e,t,n=ki.Format,i=!1){return function(a,r){return Cne(a,r,e,t,n,i)}}function Cne(e,t,n,i,a,r){switch(n){case 2:return vne(t,a,i)[e.getMonth()];case 1:return gne(t,a,i)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=yne(t),u=_ne(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=s>=g.hours&&l>=g.minutes,k=s<x.hours||s===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&k)return!0}else if(w||k)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return fne(t,a,i)[s<12?0:1];case 3:return bne(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Nl(e){return function(t,n,i){let a=-1*i,r=$d(n,Hd.MinusSign),s=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ua(s,2,r)+ua(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ua(s,1,r);case 2:return"GMT"+(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Dne=0,lc=4;function Ine(e){let t=Lc(e,Dne,1).getDay();return Lc(e,0,1+(t<=lc?lc:lc+7)-t)}function w1(e){let t=e.getDay(),n=t===0?-3:lc-t;return Lc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Nu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();a=1+Math.floor((s+r)/7)}else{let r=w1(n),s=Ine(r.getFullYear()),l=r.getTime()-s.getTime();a=1+Math.round(l/6048e5)}return ua(a,e,$d(i,Hd.MinusSign))}}function Ml(e,t=!1){return function(n,i){let a=w1(n).getFullYear();return ua(a,e,$d(i,Hd.MinusSign),t)}}var Mu={};function Ane(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=pt(3,ut.Abbreviated);break;case"GGGG":t=pt(3,ut.Wide);break;case"GGGGG":t=pt(3,ut.Narrow);break;case"y":t=Wt(0,1,0,!1,!0);break;case"yy":t=Wt(0,2,0,!0,!0);break;case"yyy":t=Wt(0,3,0,!1,!0);break;case"yyyy":t=Wt(0,4,0,!1,!0);break;case"Y":t=Ml(1);break;case"YY":t=Ml(2,!0);break;case"YYY":t=Ml(3);break;case"YYYY":t=Ml(4);break;case"M":case"L":t=Wt(1,1,1);break;case"MM":case"LL":t=Wt(1,2,1);break;case"MMM":t=pt(2,ut.Abbreviated);break;case"MMMM":t=pt(2,ut.Wide);break;case"MMMMM":t=pt(2,ut.Narrow);break;case"LLL":t=pt(2,ut.Abbreviated,ki.Standalone);break;case"LLLL":t=pt(2,ut.Wide,ki.Standalone);break;case"LLLLL":t=pt(2,ut.Narrow,ki.Standalone);break;case"w":t=Nu(1);break;case"ww":t=Nu(2);break;case"W":t=Nu(1,!0);break;case"d":t=Wt(2,1);break;case"dd":t=Wt(2,2);break;case"c":case"cc":t=Wt(7,1);break;case"ccc":t=pt(1,ut.Abbreviated,ki.Standalone);break;case"cccc":t=pt(1,ut.Wide,ki.Standalone);break;case"ccccc":t=pt(1,ut.Narrow,ki.Standalone);break;case"cccccc":t=pt(1,ut.Short,ki.Standalone);break;case"E":case"EE":case"EEE":t=pt(1,ut.Abbreviated);break;case"EEEE":t=pt(1,ut.Wide);break;case"EEEEE":t=pt(1,ut.Narrow);break;case"EEEEEE":t=pt(1,ut.Short);break;case"a":case"aa":case"aaa":t=pt(0,ut.Abbreviated);break;case"aaaa":t=pt(0,ut.Wide);break;case"aaaaa":t=pt(0,ut.Narrow);break;case"b":case"bb":case"bbb":t=pt(0,ut.Abbreviated,ki.Standalone,!0);break;case"bbbb":t=pt(0,ut.Wide,ki.Standalone,!0);break;case"bbbbb":t=pt(0,ut.Narrow,ki.Standalone,!0);break;case"B":case"BB":case"BBB":t=pt(0,ut.Abbreviated,ki.Format,!0);break;case"BBBB":t=pt(0,ut.Wide,ki.Format,!0);break;case"BBBBB":t=pt(0,ut.Narrow,ki.Format,!0);break;case"h":t=Wt(3,1,-12);break;case"hh":t=Wt(3,2,-12);break;case"H":t=Wt(3,1);break;case"HH":t=Wt(3,2);break;case"m":t=Wt(4,1);break;case"mm":t=Wt(4,2);break;case"s":t=Wt(5,1);break;case"ss":t=Wt(5,2);break;case"S":t=Wt(6,1);break;case"SS":t=Wt(6,2);break;case"SSS":t=Wt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Nl(0);break;case"ZZZZZ":t=Nl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Nl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Nl(2);break;default:return null}return Mu[e]=t,t}function S1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function One(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tne(e,t,n){let i=e.getTimezoneOffset(),a=S1(t,i);return One(e,-1*(a-i))}function Nne(e){if(hv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,s=1]=e.split("-").map(l=>+l);return Lc(a,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(xne))return Mne(i)}let t=new Date(e);if(!hv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Mne(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-i,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function hv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,pv=[],Js=(()=>{const t=class t{constructor(i,a){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",pv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(Pu):pv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Pu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Pu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Pne=(()=>{const t=class t{constructor(i,a,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=i,this._differs=a,this._renderer=r}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,s]=i.split("."),l=r.indexOf("-")===-1?void 0:In.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${a}${s}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(p1),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),E1=(()=>{const t=class t{constructor(i){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=i}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};o(t,"ɵfac",function(i){return new(i||t)(Je(bn))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bi]}));let e=t;return e})();function k1(e,t){return new Z(2100,!1)}var Rne=class{createSubscription(e,t){return ha(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){ha(()=>e.unsubscribe())}},Fne=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},Lne=new Fne,Vne=new Rne,C1=(()=>{const t=class t{constructor(i){o(this,"_ref");o(this,"_latestValue",null);o(this,"markForCheckOnValueUpdate",!0);o(this,"_subscription",null);o(this,"_obj",null);o(this,"_strategy",null);this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,a=>this._updateLatestValue(i,a))}_selectStrategy(i){if(Vd(i))return Lne;if(qx(i))return Vne;throw k1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,a){var r;i===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};o(t,"ɵfac",function(i){return new(i||t)(Je(Lt,16))}),o(t,"ɵpipe",Co({name:"async",type:t,pure:!1}));let e=t;return e})(),zne="mediumDate",jne=new $(""),Bne=new $(""),D1=(()=>{const t=class t{constructor(i,a,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,s){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??zne,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return Sne(i,d,s||this.locale,u)}catch(d){throw k1(t,d.message)}}};o(t,"ɵfac",function(i){return new(i||t)(Je(Bd,16),Je(jne,24),Je(Bne,24))}),o(t,"ɵpipe",Co({name:"date",type:t,pure:!0}));let e=t;return e})(),I1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({}));let e=t;return e})();function A1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var O1="browser",Hne="server";function $ne(e){return e===O1}function T1(e){return e===Hne}var N1=class{};function qd(e,t,n){return iae(e,t,n)}var op=new $(""),M1=(()=>{const t=class t{constructor(i,a){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,s){return this._findPluginFor(a).addEventListener(i,a,r,s)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(i,a),a}};o(t,"ɵfac",function(i){return new(i||t)(pe(op),pe(Ne))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),P1=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},cc="ng-app-id";function mv(e){for(let t of e)t.remove()}function fv(e,t){let n=t.createElement("style");return n.textContent=e,n}function qne(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${cc}="${t}"],link[${cc}="${t}"]`);if(a)for(let s of a)s.removeAttribute(cc),s instanceof HTMLLinkElement?i.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function sp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var R1=(()=>{const t=class t{constructor(i,a,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=T1(s),qne(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,fv);a==null||a.forEach(r=>this.addUsage(r,this.external,sp))}removeStyles(i,a){for(let r of i)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(i,a,r){let s=a.get(i);s?s.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(i,this.doc)))})}removeUsage(i,a){let r=a.get(i);r&&(r.usage--,r.usage<=0&&(mv(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])mv(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,fv(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,sp(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(cc,this.appId),i.appendChild(a)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Dd),pe(_m,8),pe(Id))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={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"},Gm=/%COMP%/g,F1="%COMP%",Yne=`_nghost-${F1}`,Une=`_ngcontent-${F1}`,Gne=!0,Wne=new $("",{providedIn:"root",factory:()=>Gne});function Kne(e){return Une.replace(Gm,e)}function Zne(e){return Yne.replace(Gm,e)}function L1(e,t){return t.map(n=>n.replace(Gm,e))}var lp=(()=>{const t=class t{constructor(i,a,r,s,l,c,d,u=null,m=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=T1(c),this.defaultRenderer=new Wm(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===on.ShadowDom&&(a=Qe(Q({},a),{encapsulation:on.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof vv?r.applyToHost(i):r instanceof cp&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,s=r.get(a.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case on.Emulated:s=new vv(d,u,a,this.appId,m,l,c,v,g);break;case on.ShadowDom:return new Xne(d,u,i,a,l,c,this.nonce,v,g);default:s=new cp(d,u,a,m,l,c,v,g);break}r.set(a.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};o(t,"ɵfac",function(i){return new(i||t)(pe(M1),pe(R1),pe(Dd),pe(Wne),pe(et),pe(Id),pe(Ne),pe(_m),pe(Gs,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Wm=class{constructor(e,t,n,i,a){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(gv(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(gv(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Z(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=Ru[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=Ru[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(In.DashCase|In.Important)?e.style.setProperty(t,n,i&In.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&In.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if(typeof e=="string"&&(e=hr().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function gv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Xne=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var v;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=L1(a.id,u);for(let g of u){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=sp(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},cp=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var m;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?L1(d,u):u,this.styleUrls=(m=i.getExternalStyles)==null?void 0:m.call(i,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vv=class extends cp{constructor(t,n,i,a,r,s,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Kne(u),this.hostAttr=Zne(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}},Qne=class V1 extends sne{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){one(new V1)}onAndCancel(n,i,a,r){return n.addEventListener(i,a,r),()=>{n.removeEventListener(i,a,r)}}dispatchEvent(n,i){n.dispatchEvent(i)}remove(n){n.remove()}createElement(n,i){return i=i||this.getDefaultDocument(),i.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,i){return i==="window"?window:i==="document"?n:i==="body"?n.body:null}getBaseHref(n){let i=Jne();return i==null?null:ere(i)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return A1(document.cookie,n)}},Jo=null;function Jne(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function ere(e){return new URL(e,document.baseURI).pathname}var tre=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),ire=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,s){return i.addEventListener(a,r,s),()=>this.removeEventListener(i,a,r,s)}removeEventListener(i,a,r,s){return i.removeEventListener(a,r,s)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),bv=["alt","control","meta","shift"],are={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nre={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rre=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,s){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hr().onAndCancel(i,l.domEventName,c,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),bv.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=s,a.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=are[i.key]||i.key,s="";return a.indexOf("code.")>-1&&(r=i.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bv.forEach(l=>{if(l!==r){let c=nre[l];c(i)&&(s+=l+".")}}),s+=r,s===a)}static eventCallback(i,a,r){return s=>{t.matchEventFullKeyCode(s,i)&&r.runGuarded(()=>a(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function ore(e){return zae(sre(e))}function sre(e){return{appProviders:[...hre,...(e==null?void 0:e.providers)??[]],platformProviders:ure}}function lre(){Qne.makeCurrent()}function cre(){return new va}function dre(){return UQ(document),document}var ure=[{provide:Id,useValue:O1},{provide:M_,useValue:lre,multi:!0},{provide:et,useFactory:dre}],hre=[{provide:em,useValue:"root"},{provide:va,useFactory:cre},{provide:op,useClass:ire,multi:!0,deps:[et]},{provide:op,useClass:rre,multi:!0,deps:[et]},lp,R1,M1,{provide:na,useExisting:lp},{provide:N1,useClass:tre},[]],Km=class{},z1=class{},zn=class dc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
19
19
|
`).forEach(n=>{let i=n.indexOf(":");if(i>0){let a=n.slice(0,i),r=n.slice(i+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof dc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new dc;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof dc?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let a=(t.op==="a"?this.headers.get(n):void 0)||[];a.push(...i),this.headers.set(n,a);break;case"d":let r=t.value;if(!r)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,i),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}},pre=class{encodeKey(e){return yv(e)}encodeValue(e){return yv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function mre(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[r,s]=a==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,a)),t.decodeValue(i.slice(a+1))],l=n.get(r)||[];l.push(s),n.set(r,l)}),n}var fre=/%(\d[a-f0-9])/gi,gre={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yv(e){return encodeURIComponent(e).replace(fre,(t,n)=>gre[n]??t)}function Pl(e){return`${e}`}var Jr=class j1{constructor(t={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=t.encoder||new pre,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=mre(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],a=Array.isArray(i)?i.map(Pl):[Pl(i)];this.map.set(n,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let a=t[i];Array.isArray(a)?a.forEach(r=>{n.push({param:i,value:r,op:"a"})}):n.push({param:i,value:a,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new j1({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Pl(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],a=i.indexOf(Pl(t.value));a!==-1&&i.splice(a,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},vre=class{constructor(){o(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function bre(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _v(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xv(e){return typeof Blob<"u"&&e instanceof Blob}function wv(e){return typeof FormData<"u"&&e instanceof FormData}function yre(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Sv="Content-Type",Ev="Accept",B1="X-Request-URL",H1="text/plain",$1="application/json",_re=`${$1}, ${H1}, */*`,Fu=class q1{constructor(t,n,i,a){o(this,"url");o(this,"body",null);o(this,"headers");o(this,"context");o(this,"reportProgress",!1);o(this,"withCredentials",!1);o(this,"responseType","json");o(this,"method");o(this,"params");o(this,"urlWithParams");o(this,"transferCache");this.url=n,this.method=t.toUpperCase();let r;if(bre(this.method)||a?(this.body=i!==void 0?i:null,r=a):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new zn),this.context??(this.context=new vre),!this.params)this.params=new Jr,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let l=n.indexOf("?"),c=l===-1?"?":l<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_v(this.body)||xv(this.body)||wv(this.body)||yre(this.body)?this.body:this.body instanceof Jr?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||wv(this.body)?null:xv(this.body)?this.body.type||null:_v(this.body)?null:typeof this.body=="string"?H1:this.body instanceof Jr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$1:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,d=t.headers||this.headers,u=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(d=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),d)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),u)),new q1(n,i,s,{params:u,headers:d,context:m,reportProgress:c,responseType:a,withCredentials:l,transferCache:r})}},eo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(eo||{}),Zm=class{constructor(e,t=200,n="OK"){o(this,"headers");o(this,"status");o(this,"statusText");o(this,"url");o(this,"ok");o(this,"type");this.headers=e.headers||new zn,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},xre=class Y1 extends Zm{constructor(n={}){super(n);o(this,"type",eo.ResponseHeader)}clone(n={}){return new Y1({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Xm=class U1 extends Zm{constructor(n={}){super(n);o(this,"body");o(this,"type",eo.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new U1({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},kv=class extends Zm{constructor(t){super(t,0,"Unknown Error");o(this,"name","HttpErrorResponse");o(this,"message");o(this,"error");o(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},wre=200,Sre=204;function Lu(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var el=(()=>{const t=class t{constructor(i){o(this,"handler");this.handler=i}request(i,a,r={}){let s;if(i instanceof Fu)s=i;else{let d;r.headers instanceof zn?d=r.headers:d=new zn(r.headers);let u;r.params&&(r.params instanceof Jr?u=r.params:u=new Jr({fromObject:r.params})),s=new Fu(i,a,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=ft(s).pipe(s0(d=>this.handler.handle(d)));if(i instanceof Fu||r.observe==="events")return l;let c=l.pipe(oi(d=>d instanceof Xm));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(xt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Z(2806,!1);return d.body}));case"blob":return c.pipe(xt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Z(2807,!1);return d.body}));case"text":return c.pipe(xt(d=>{if(d.body!==null&&typeof d.body!="string")throw new Z(2808,!1);return d.body}));case"json":default:return c.pipe(xt(d=>d.body))}case"response":return c;default:throw new Z(2809,!1)}}delete(i,a={}){return this.request("DELETE",i,a)}get(i,a={}){return this.request("GET",i,a)}head(i,a={}){return this.request("HEAD",i,a)}jsonp(i,a){return this.request("JSONP",i,{params:new Jr().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,a={}){return this.request("OPTIONS",i,a)}patch(i,a,r={}){return this.request("PATCH",i,Lu(r,a))}post(i,a,r={}){return this.request("POST",i,Lu(r,a))}put(i,a,r={}){return this.request("PUT",i,Lu(r,a))}};o(t,"ɵfac",function(i){return new(i||t)(pe(Km))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ere=new $("");function kre(e,t){return t(e)}function Cre(e,t,n){return(i,a)=>yd(n,()=>t(i,r=>e(r,a)))}var Qm=new $(""),Dre=new $(""),Ire=new $("",{providedIn:"root",factory:()=>!0}),Cv=(()=>{const t=class t extends Km{constructor(a,r){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",S(Us));o(this,"contributeToStability",S(Ire));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qm),...this.injector.get(Dre,[])]));this.chain=r.reduceRight((s,l)=>Cre(s,l,this.injector),kre)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,s=>this.backend.handle(s)).pipe(c0(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};o(t,"ɵfac",function(a){return new(a||t)(pe(z1),pe(Va))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Are=/^\)\]\}',?\n/,Ore=RegExp(`^${B1}:`,"m");function Tre(e){return"responseURL"in e&&e.responseURL?e.responseURL:Ore.test(e.getAllResponseHeaders())?e.getResponseHeader(B1):null}var Dv=(()=>{const t=class t{constructor(i){o(this,"xhrFactory");this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new Z(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?Hn(a.ɵloadImpl()):ft(null)).pipe(pr(()=>new Ot(r=>{let s=a.build();if(s.open(i.method,i.urlWithParams),i.withCredentials&&(s.withCredentials=!0),i.headers.forEach((w,k)=>s.setRequestHeader(w,k.join(","))),i.headers.has(Ev)||s.setRequestHeader(Ev,_re),!i.headers.has(Sv)){let w=i.detectContentTypeHeader();w!==null&&s.setRequestHeader(Sv,w)}if(i.responseType){let w=i.responseType.toLowerCase();s.responseType=w!=="json"?w:"text"}let l=i.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=s.statusText||"OK",k=new zn(s.getAllResponseHeaders()),N=Tre(s)||i.url;return c=new xre({headers:k,status:s.status,statusText:w,url:N}),c},u=()=>{let{headers:w,status:k,statusText:N,url:V}=d(),R=null;k!==Sre&&(R=typeof s.response>"u"?s.responseText:s.response),k===0&&(k=R?wre:0);let oe=k>=200&&k<300;if(i.responseType==="json"&&typeof R=="string"){let xe=R;R=R.replace(Are,"");try{R=R!==""?JSON.parse(R):null}catch(Me){R=xe,oe&&(oe=!1,R={error:Me,text:R})}}oe?(r.next(new Xm({body:R,headers:w,status:k,statusText:N,url:V||void 0})),r.complete()):r.error(new kv({error:R,headers:w,status:k,statusText:N,url:V||void 0}))},m=w=>{let{url:k}=d(),N=new kv({error:w,status:s.status||0,statusText:s.statusText||"Unknown Error",url:k||void 0});r.error(N)},v=!1,g=w=>{v||(r.next(d()),v=!0);let k={type:eo.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(k.total=w.total),i.responseType==="text"&&s.responseText&&(k.partialText=s.responseText),r.next(k)},x=w=>{let k={type:eo.UploadProgress,loaded:w.loaded};w.lengthComputable&&(k.total=w.total),r.next(k)};return s.addEventListener("load",u),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),i.reportProgress&&(s.addEventListener("progress",g),l!==null&&s.upload&&s.upload.addEventListener("progress",x)),s.send(l),r.next({type:eo.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",u),s.removeEventListener("timeout",m),i.reportProgress&&(s.removeEventListener("progress",g),l!==null&&s.upload&&s.upload.removeEventListener("progress",x)),s.readyState!==s.DONE&&s.abort()}})))}};o(t,"ɵfac",function(i){return new(i||t)(pe(N1))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),G1=new $(""),Nre="XSRF-TOKEN",Mre=new $("",{providedIn:"root",factory:()=>Nre}),Pre="X-XSRF-TOKEN",Rre=new $("",{providedIn:"root",factory:()=>Pre}),W1=class{},Fre=(()=>{const t=class t{constructor(i,a){o(this,"doc");o(this,"cookieName");o(this,"lastCookieString","");o(this,"lastToken",null);o(this,"parseCount",0);this.doc=i,this.cookieName=a}getToken(){let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=A1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Mre))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Lre=/^(?:https?:)?\/\//i;function Vre(e,t){if(!S(G1)||e.method==="GET"||e.method==="HEAD"||Lre.test(e.url))return t(e);let n=S(W1).getToken(),i=S(Rre);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}var K1=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(K1||{});function zre(e,t){return{ɵkind:e,ɵproviders:t}}function jre(...e){let t=[el,Dv,Cv,{provide:Km,useExisting:Cv},{provide:z1,useFactory:()=>S(Ere,{optional:!0})??S(Dv)},{provide:Qm,useValue:Vre,multi:!0},{provide:G1,useValue:!0},{provide:W1,useClass:Fre}];for(let n of e)t.push(...n.ɵproviders);return Qp(t)}function Bre(e){return zre(K1.Interceptors,e.map(t=>({provide:Qm,useValue:t,multi:!0})))}var Z1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:function(i){let a=null;return i?a=new(i||t):a=pe(Hre),a},providedIn:"root"}));let e=t;return e})(),Hre=(()=>{const t=class t extends Z1{constructor(a){super();o(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case Oi.NONE:return r;case Oi.HTML:return or(r,"HTML")?nn(r):q_(this._doc,String(r)).toString();case Oi.STYLE:return or(r,"Style")?nn(r):r;case Oi.SCRIPT:if(or(r,"Script"))return nn(r);throw new Z(5200,!1);case Oi.URL:return or(r,"URL")?nn(r):km(String(r));case Oi.RESOURCE_URL:if(or(r,"ResourceURL"))return nn(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return cJ(a)}bypassSecurityTrustStyle(a){return dJ(a)}bypassSecurityTrustScript(a){return uJ(a)}bypassSecurityTrustUrl(a){return hJ(a)}bypassSecurityTrustResourceUrl(a){return pJ(a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tl=class{},$re=(()=>{const t=class t extends tl{getTranslation(i){return ft({})}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),X1=class{},qre=(()=>{const t=class t{handle(i){return i.key}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Vc(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,a,r,s;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!Vc(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(r in e){if(!Vc(e[r],t[r]))return!1;s[r]=!0}for(r in t)if(!(r in s)&&typeof t[r]<"u")return!1;return!0}return!1}function An(e){return typeof e<"u"&&e!==null}function il(e){return uc(e)&&!Jm(e)&&e!==null}function uc(e){return typeof e=="object"}function Jm(e){return Array.isArray(e)}function ef(e){return typeof e=="string"}function Yre(e){return typeof e=="function"}function dp(e,t){let n=Object.assign({},e);return uc(e)?(uc(e)&&uc(t)&&Object.keys(t).forEach(i=>{il(t[i])?i in e?n[i]=dp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):dp({},t)}function up(e,t){let n=t.split(".");t="";do t+=n.shift(),An(e)&&An(e[t])&&(il(e[t])||Jm(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function Ure(e,t,n){let i=t.split("."),a=e;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?a[s]=n:((!a[s]||!il(a[s]))&&(a[s]={}),a=a[s])}}var tf=class{},Gre=(()=>{const t=class t extends tf{constructor(){super(...arguments);o(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(ef(a))return this.interpolateString(a,r);if(Yre(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(s,l)=>{let c=up(r,l);return An(c)?c:s}):a}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),al=class{},Wre=(()=>{const t=class t extends al{compile(i,a){return i}compileTranslations(i,a){return i}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),hp=class{constructor(){o(this,"defaultLang");o(this,"currentLang",this.defaultLang);o(this,"translations",{});o(this,"langs",[]);o(this,"onTranslationChange",new le);o(this,"onLangChange",new le);o(this,"onDefaultLangChange",new le)}},Q1=new $("ISOLATE_TRANSLATE_SERVICE"),J1=new $("USE_DEFAULT_LANG"),ew=new $("DEFAULT_LANGUAGE"),tw=new $("USE_EXTEND"),Bo=e=>as(e)?e:ft(e),Yn=(()=>{const t=class t{constructor(i,a,r,s,l,c=!0,d=!1,u=!1,m){o(this,"store");o(this,"currentLoader");o(this,"compiler");o(this,"parser");o(this,"missingTranslationHandler");o(this,"useDefaultLang");o(this,"extend");o(this,"loadingTranslations");o(this,"pending",!1);o(this,"_translationRequests",{});o(this,"lastUseLanguage",null);this.store=i,this.currentLoader=a,this.compiler=r,this.parser=s,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=u,d&&(this.store=new hp),m&&this.setDefaultLang(m)}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(i){this.store.defaultLang=i}get currentLang(){return this.store.currentLang}set currentLang(i){this.store.currentLang=i}get langs(){return this.store.langs}set langs(i){this.store.langs=i}get translations(){return this.store.translations}set translations(i){this.store.translations=i}setDefaultLang(i){if(i===this.defaultLang)return;let a=this.retrieveTranslations(i);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=i),a.pipe(mi(1)).subscribe(()=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(this.lastUseLanguage=i,i===this.currentLang)return ft(this.translations[i]);this.currentLang||(this.currentLang=i);let a=this.retrieveTranslations(i);return as(a)?(a.pipe(mi(1)).subscribe(()=>{this.changeLang(i)}),a):(this.changeLang(i),ft(this.translations[i]))}changeLang(i){i===this.lastUseLanguage&&(this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i))}retrieveTranslations(i){if(typeof this.translations[i]>"u"||this.extend)return this._translationRequests[i]=this._translationRequests[i]||this.loadAndCompileTranslations(i),this._translationRequests[i]}getTranslation(i){return this.loadAndCompileTranslations(i)}loadAndCompileTranslations(i){this.pending=!0;let a=this.currentLoader.getTranslation(i).pipe(bc(1),mi(1));return this.loadingTranslations=a.pipe(xt(r=>this.compiler.compileTranslations(r,i)),bc(1),mi(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?Q(Q({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(i,a,r=!1){let s=this.compiler.compileTranslations(a,i);(r||this.extend)&&this.translations[i]?this.translations[i]=dp(this.translations[i],s):this.translations[i]=s,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){let a=i.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(i,a,r){let s;if(i&&(s=this.runInterpolation(up(i,a),r)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(up(this.translations[this.defaultLang],a),r)),s===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),s=this.missingTranslationHandler.handle(l)}return s!==void 0?s:a}runInterpolation(i,a){if(Jm(i))return i.map(r=>this.runInterpolation(r,a));if(il(i)){let r={};for(let s in i){let l=this.runInterpolation(i[s],a);l!==void 0&&(r[s]=l)}return r}else return this.parser.interpolate(i,a)}getParsedResult(i,a,r){if(a instanceof Array){let s={},l=!1;for(let d of a)s[d]=this.getParsedResultForKey(i,d,r),l=l||as(s[d]);if(!l)return s;let c=a.map(d=>Bo(s[d]));return Wp(c).pipe(xt(d=>{let u={};return d.forEach((m,v)=>{u[a[v]]=m}),u}))}return this.getParsedResultForKey(i,a,r)}get(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(s0(r=>Bo(this.getParsedResult(r,i,a)))):Bo(this.getParsedResult(this.translations[this.currentLang],i,a))}getStreamOnTranslationChange(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return hs(ps(()=>this.get(i,a)),this.onTranslationChange.pipe(pr(r=>{let s=this.getParsedResult(r.translations,i,a);return Bo(s)})))}stream(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" required');return hs(ps(()=>this.get(i,a)),this.onLangChange.pipe(pr(r=>{let s=this.getParsedResult(r.translations,i,a);return Bo(s)})))}instant(i,a){if(!An(i)||i.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],i,a);return as(r)?Array.isArray(i)?i.reduce((s,l)=>(s[l]=l,s),{}):i:r}set(i,a,r=this.currentLang){Ure(this.translations[r],i,ef(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.loadAndCompileTranslations(i)}resetLang(i){delete this._translationRequests[i],delete this.translations[i]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let i=this.getBrowserCultureLang();return i?i.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}};o(t,"ɵfac",function(i){return new(i||t)(pe(hp),pe(tl),pe(al),pe(tf),pe(X1),pe(J1),pe(Q1),pe(tw),pe(ew))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_a=(()=>{const t=class t{constructor(i,a){o(this,"translate");o(this,"_ref");o(this,"value","");o(this,"lastKey",null);o(this,"lastParams",[]);o(this,"onTranslationChange");o(this,"onLangChange");o(this,"onDefaultLangChange");this.translate=i,this._ref=a}updateValue(i,a,r){let s=l=>{this.value=l!==void 0?l:i,this.lastKey=i,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,i,a);as(l)?l.subscribe(s):s(l)}this.translate.get(i,a).subscribe(s)}transform(i,...a){if(!i||!i.length)return i;if(Vc(i,this.lastKey)&&Vc(a,this.lastParams))return this.value;let r;if(An(a[0])&&a.length)if(ef(a[0])&&a[0].length){let s=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else il(a[0])&&(r=a[0]);return this.lastKey=i,this.lastParams=a,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r))})),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()}};o(t,"ɵfac",function(i){return new(i||t)(Je(Yn,16),Je(Lt,16))}),o(t,"ɵpipe",Co({name:"translate",type:t,pure:!1})),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Kre=(e={})=>Qp([e.loader||{provide:tl,useClass:$re},e.compiler||{provide:al,useClass:Wre},e.parser||{provide:tf,useClass:Gre},e.missingTranslationHandler||{provide:X1,useClass:qre},hp,{provide:Q1,useValue:e.isolate},{provide:J1,useValue:e.useDefaultLang},{provide:tw,useValue:e.extend},{provide:ew,useValue:e.defaultLanguage},Yn]),Zre=gy(sK(),1),Xre=new $("MESSAGE_FORMAT_CONFIG"),Qre={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Jre=(()=>{const t=class t extends al{constructor(i){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:s,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=Q(Q({},Qre),i);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:s,currency:l,strictPluralKeys:c},this.throwOnError=!!d,this.fallbackPrefix=u}compile(i,a){if(this.fallbackPrefix&&i.startsWith(this.fallbackPrefix))return i.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(i)}catch(s){if(this.throwOnError)throw s;console.error(s),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${i}'`),r=toe(i,a)}return this.throwOnError||(r=eoe(r,i)),r}compileTranslations(i,a){return typeof i=="string"?this.compile(i,a):Object.keys(i).reduce((r,s)=>{let l=i[s];return r[s]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(i){return this.mfCache.has(i)||this.mfCache.set(i,new Zre.default(i,this.messageFormatOptions)),this.mfCache.get(i)}};t.ɵfac=function(i){return new(i||t)(pe(Xre,8))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})();function eoe(e,t){return n=>{let i=t;try{i=e(n)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${n}'`)}return i}}function toe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}function Do(e){e||(Hs(),e=S($i));let t=new Ot(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(At(t))}function ioe(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&Hs();let i=n?((c=t==null?void 0:t.injector)==null?void 0:c.get($i))??S($i):null,a=aoe(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=Pa({kind:0},{equal:a}):r=Pa({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let s,l=e.subscribe({next:d=>r.set({kind:1,value:d}),error:d=>{if(t!=null&&t.rejectErrors)throw d;r.set({kind:2,error:d})},complete:()=>{s==null||s()}});if(t!=null&&t.requireSync&&r().kind===0)throw new Z(601,!1);return s=i==null?void 0:i.onDestroy(l.unsubscribe.bind(l)),Ti(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new Z(601,!1)}},{equal:t==null?void 0:t.equal})}function aoe(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}function iw(e){return e.buttons===0||e.detail===0}function aw(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Vu;function noe(){if(Vu==null){let e=typeof document<"u"?document.head:null;Vu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Vu}function roe(e){if(noe()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function to(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Ra(e){return e.composedPath?e.composedPath()[0]:e.target}function hi(e,t,n,i,a){let r=parseInt(sv.major),s=parseInt(sv.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,i,a):(t.addEventListener(n,i,a),()=>{t.removeEventListener(n,i,a)})}var pp;try{pp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{pp=!1}var Yt=(()=>{const t=class t{constructor(){o(this,"_platformId",S(Id));o(this,"isBrowser",this._platformId?$ne(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||pp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ho;function ooe(){if(Ho==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ho=!0}))}finally{Ho=Ho||!1}return Ho}function Yd(e){return ooe()?e:!!e.capture}function zc(e,t=0){return soe(e)?Number(e):arguments.length===2?t:0}function soe(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rn(e){return e instanceof ze?e.nativeElement:e}var loe=new $("cdk-input-modality-detector-options"),coe={ignoreKeys:[18,17,224,91,16]},nw=650,zu={passive:!0,capture:!0},doe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new rr(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",i=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(s=>s===i.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ra(i))});o(this,"_onMousedown",i=>{Date.now()-this._lastTouchMs<nw||(this._modality.next(iw(i)?"keyboard":"mouse"),this._mostRecentTarget=Ra(i))});o(this,"_onTouchstart",i=>{if(aw(i)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ra(i)});let i=S(Ne),a=S(et),r=S(loe,{optional:!0});if(this._options=Q(Q({},coe),r),this.modalityDetected=this._modality.pipe(u0(1)),this.modalityChanged=this.modalityDetected.pipe(QZ()),this._platform.isBrowser){let s=S(na).createRenderer(null,null);this._listenerCleanups=i.runOutsideAngular(()=>[hi(s,a,"keydown",this._onKeydown,zu),hi(s,a,"mousedown",this._onMousedown,zu),hi(s,a,"touchstart",this._onTouchstart,zu)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var i;this._modality.complete(),(i=this._listenerCleanups)==null||i.forEach(a=>a())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hc=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(hc||{}),uoe=new $("cdk-focus-monitor-default-options"),Rl=Yd({passive:!0,capture:!0}),nl=(()=>{const t=class t{constructor(){o(this,"_ngZone",S(Ne));o(this,"_platform",S(Yt));o(this,"_inputModalityDetector",S(doe));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",S(et,{optional:!0}));o(this,"_stopInputModalityDetector",new ce);o(this,"_rootNodeFocusAndBlurListener",i=>{let a=Ra(i);for(let r=a;r;r=r.parentElement)i.type==="focus"?this._onFocus(i,r):this._onBlur(i,r)});let i=S(uoe,{optional:!0});this._detectionMode=(i==null?void 0:i.detectionMode)||hc.IMMEDIATE}monitor(i,a=!1){let r=Rn(i);if(!this._platform.isBrowser||r.nodeType!==1)return ft();let s=roe(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let c={checkChildren:a,subject:new ce,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let a=Rn(i),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(i,a,r){let s=Rn(i),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,a,d)):(this._setOrigin(a),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((i,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===hc.EVENTUAL||!!(i!=null&&i.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(i,a){i.classList.toggle("cdk-focused",!!a),i.classList.toggle("cdk-touch-focused",a==="touch"),i.classList.toggle("cdk-keyboard-focused",a==="keyboard"),i.classList.toggle("cdk-mouse-focused",a==="mouse"),i.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(i,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&a,this._detectionMode===hc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?nw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(i,a){let r=this._elementInfo.get(a),s=Ra(i);!r||!r.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),r)}_onBlur(i,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&i.relatedTarget instanceof Node&&a.contains(i.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(i,a){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(a))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let a=i.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Rl),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Rl)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(At(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let a=i.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Rl),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Rl),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,a,r){this._setClasses(i,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(i){let a=[];return this._elementInfo.forEach((r,s)=>{(s===i||r.checkChildren&&s.contains(i))&&a.push([s,r])}),a}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(a))return!0}return!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hoe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_focusMonitor",S(nl));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new le)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,i.nodeType===1&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(a=>{this._focusOrigin=a,this.cdkFocusChange.emit(a)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Fl=new WeakMap,Vi=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",S(lt));o(this,"_environmentInjector",S(Va))}load(i){let a=this._appRef=this._appRef||this._injector.get(Vn),r=Fl.get(a);r||(r={loaders:new Set,refs:[]},Fl.set(a,r),a.onDestroy(()=>{var s;(s=Fl.get(a))==null||s.refs.forEach(l=>l.destroy()),Fl.delete(a)})),r.loaders.has(i)||(r.loaders.add(i),r.refs.push(g1(i,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tr=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
20
20
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function jc(e){return Array.isArray(e)?e:[e]}var Iv=new Set,Zn,poe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt));o(this,"_nonce",S(_m,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):foe}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&moe(i,this._nonce),this._matchMedia(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function moe(e,t){if(!Iv.has(e))try{Zn||(Zn=document.createElement("style"),t&&Zn.setAttribute("nonce",t),Zn.setAttribute("type","text/css"),document.head.appendChild(Zn)),Zn.sheet&&(Zn.sheet.insertRule(`@media ${e} {body{ }}`,0),Iv.add(e))}catch(n){console.error(n)}}function foe(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var rw=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",S(poe));o(this,"_zone",S(Ne));o(this,"_queries",new Map);o(this,"_destroySubject",new ce)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return Av(jc(i)).some(a=>this._registerQuery(a).mql.matches)}observe(i){let a=Av(jc(i)).map(s=>this._registerQuery(s).observable),r=YZ(a);return r=hs(r.pipe(mi(1)),r.pipe(u0(1),l0(0))),r.pipe(xt(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let a=this._mediaMatcher.matchMedia(i),r={observable:new Ot(s=>{let l=c=>this._zone.run(()=>s.next(c));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(ea(a),xt(({matches:s})=>({query:i,matches:s})),At(this._destroySubject)),mql:a};return this._queries.set(i,r),r}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Av(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}var goe=(()=>{const t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ow=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({providers:[goe]}));let e=t;return e})(),sw=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt))}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return boe(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let a=voe(Coe(i));if(a&&(Ov(a)===-1||!this.isVisible(a)))return!1;let r=i.nodeName.toLowerCase(),s=Ov(i);return i.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Eoe(i)?!1:r==="audio"?i.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,a){return koe(i)&&!this.isDisabled(i)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function voe(e){try{return e.frameElement}catch{return null}}function boe(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function yoe(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function _oe(e){return woe(e)&&e.type=="hidden"}function xoe(e){return Soe(e)&&e.hasAttribute("href")}function woe(e){return e.nodeName.toLowerCase()=="input"}function Soe(e){return e.nodeName.toLowerCase()=="a"}function lw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Ov(e){if(!lw(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Eoe(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function koe(e){return _oe(e)?!1:yoe(e)||xoe(e)||e.hasAttribute("contenteditable")||lw(e)}function Coe(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Doe=class{constructor(e,t,n,i,a=!1,r){o(this,"_element");o(this,"_checker");o(this,"_ngZone");o(this,"_document");o(this,"_injector");o(this,"_startAnchor");o(this,"_endAnchor");o(this,"_hasAttached",!1);o(this,"startAnchorListener",()=>this.focusLastTabbableElement());o(this,"endAnchorListener",()=>this.focusFirstTabbableElement());o(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n==null||n.focus(e),!!n}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=0;n<t.length;n++){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=t.length-1;n>=0;n--){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?xr(e,{injector:this._injector}):setTimeout(e)}},cw=(()=>{const t=class t{constructor(){o(this,"_checker",S(sw));o(this,"_ngZone",S(Ne));o(this,"_document",S(et));o(this,"_injector",S(lt));S(Vi).load(Tr)}create(i,a=!1){return new Doe(i,this._checker,this._ngZone,this._document,a,this._injector)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ioe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_focusTrapFactory",S(cw));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");S(Yt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var i;return((i=this.focusTrap)==null?void 0:i.enabled)||!1}set enabled(i){this.focusTrap&&(this.focusTrap.enabled=i)}ngOnDestroy(){var i;(i=this.focusTrap)==null||i.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var i;(i=this.focusTrap)==null||i.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(i){var r;let a=i.autoCapture;a&&!a.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var i;this._previouslyFocusedElement=to(),(i=this.focusTrap)==null||i.focusInitialElementWhenReady()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",qe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",qe]},exportAs:["cdkTrapFocus"],features:[bi]}));let e=t;return e})(),Aoe=new $("liveAnnouncerElement",{providedIn:"root",factory:Ooe});function Ooe(){return null}var Toe=new $("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Noe=0,dw=(()=>{const t=class t{constructor(){o(this,"_ngZone",S(Ne));o(this,"_defaultOptions",S(Toe,{optional:!0}));o(this,"_liveElement");o(this,"_document",S(et));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let i=S(Aoe,{optional:!0});this._liveElement=i||this._createLiveElement()}announce(i,...a){let r=this._defaultOptions,s,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[s,l]=a,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=i,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var i,a;clearTimeout(this._previousTimeout),(i=this._liveElement)==null||i.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let i="cdk-live-announcer-element",a=this._document.getElementsByClassName(i),r=this._document.createElement("div");for(let s=0;s<a.length;s++)a[s].remove();return r.classList.add(i),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${Noe++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(i){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let s=a[r],l=s.getAttribute("aria-owns");l?l.indexOf(i)===-1&&s.setAttribute("aria-owns",l+" "+i):s.setAttribute("aria-owns",i)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ir=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(ir||{}),Tv="cdk-high-contrast-black-on-white",Nv="cdk-high-contrast-white-on-black",ju="cdk-high-contrast-active",uw=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt));o(this,"_hasCheckedHighContrastMode");o(this,"_document",S(et));o(this,"_breakpointSubscription");this._breakpointSubscription=S(rw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ir.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(i):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ir.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ir.BLACK_ON_WHITE}return ir.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(ju,Tv,Nv),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===ir.BLACK_ON_WHITE?i.add(ju,Tv):a===ir.WHITE_ON_BLACK&&i.add(ju,Nv)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hw=(()=>{const t=class t{constructor(){S(uw)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({imports:[ow]}));let e=t;return e})(),Bu={},wi=(()=>{const t=class t{constructor(){o(this,"_appId",S(Dd))}getId(i){return this._appId!=="ng"&&(i+=this._appId),Bu.hasOwnProperty(i)||(Bu[i]=0),`${i}${Bu[i]++}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Moe=200,Poe=class{constructor(e,t){o(this,"_letterKeyStream",new ce);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new ce);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Moe;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(tc(t=>this._pressedLetters.push(t)),l0(e),oi(()=>this._pressedLetters.length>0),xt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var n,i;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,s=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,s))&&((i=s.getLabel)==null?void 0:i.call(s).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}};function Ii(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var pw=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",Pa(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",ct.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",e=>e.disabled);o(this,"tabOut",new ce);o(this,"change",new ce);this._items=e,e instanceof Tc?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):vs(e)&&(this._effectRef=m1(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Poe(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var i,a;let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(n||Ii(e,"shiftKey"))&&((i=this._typeahead)==null||i.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var a;let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),i=t[n];this._activeItem.set(i??null),this._activeItemIndex=n,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(n)}destroy(){var e,t,n;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(n=this._typeahead)==null||n.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let n=1;n<=t.length;n++){let i=(this._activeItemIndex+e*n+t.length)%t.length,a=t[i];if(!this._skipPredicateFn(a)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=t,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return vs(this._items)?this._items():this._items instanceof Tc?this._items.toArray():this._items}_itemsChanged(e){var n,i;(n=this._typeahead)==null||n.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(a))}}},Roe=class extends pw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Foe=class extends pw{constructor(){super(...arguments);o(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},mw=" ";function fw(e,t,n){let i=Bc(e,t);n=n.trim(),!i.some(a=>a.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(mw)))}function mp(e,t,n){let i=Bc(e,t);n=n.trim();let a=i.filter(r=>r!==n);a.length?e.setAttribute(t,a.join(mw)):e.removeAttribute(t)}function Bc(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var gw="cdk-describedby-message",Ll="cdk-describedby-host",fp=0,Loe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt));o(this,"_document",S(et));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${fp++}`);S(Vi).load(Tr),this._id=S(Dd)+"-"+fp++}describe(i,a,r){if(!this._canBeDescribed(i,a))return;let s=Hu(a,r);typeof a!="string"?(Mv(a,this._id),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,r),this._isElementDescribedByMessage(i,s)||this._addMessageReference(i,s)}removeDescription(i,a,r){var l;if(!a||!this._isElementNode(i))return;let s=Hu(a,r);if(this._isElementDescribedByMessage(i,s)&&this._removeMessageReference(i,s),typeof a=="string"){let c=this._messageRegistry.get(s);c&&c.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let i=this._document.querySelectorAll(`[${Ll}="${this._id}"]`);for(let r=0;r<i.length;r++)this._removeCdkDescribedByReferenceIds(i[r]),i[r].removeAttribute(Ll);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(i,a){let r=this._document.createElement("div");Mv(r,this._id),r.textContent=i,a&&r.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Hu(i,a),{messageElement:r,referenceCount:0})}_deleteMessageElement(i){var a,r;(r=(a=this._messageRegistry.get(i))==null?void 0:a.messageElement)==null||r.remove(),this._messageRegistry.delete(i)}_createMessagesContainer(){if(this._messagesContainer)return;let i="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${i}[platform="server"]`);for(let s=0;s<a.length;s++)a[s].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(i),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(i){let a=Bc(i,"aria-describedby").filter(r=>r.indexOf(gw)!=0);i.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(i,a){let r=this._messageRegistry.get(a);fw(i,"aria-describedby",r.messageElement.id),i.setAttribute(Ll,this._id),r.referenceCount++}_removeMessageReference(i,a){let r=this._messageRegistry.get(a);r.referenceCount--,mp(i,"aria-describedby",r.messageElement.id),i.removeAttribute(Ll)}_isElementDescribedByMessage(i,a){let r=Bc(i,"aria-describedby"),s=this._messageRegistry.get(a),l=s&&s.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(i,a){if(!this._isElementNode(i))return!1;if(a&&typeof a=="object")return!0;let r=a==null?"":`${a}`.trim(),s=i.getAttribute("aria-label");return r?!s||s.trim()!==r:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Hu(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function Mv(e,t){e.id||(e.id=`${gw}-${t}-${fp++}`)}var Da=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(Da||{}),Vl,Xn;function vw(){if(Xn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Xn=!1,Xn;if("scrollBehavior"in document.documentElement.style)Xn=!0;else{let e=Element.prototype.scrollTo;e?Xn=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Xn=!1}}return Xn}function $o(){if(typeof document!="object"||!document)return Da.NORMAL;if(Vl==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Vl=Da.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Vl=e.scrollLeft===0?Da.NEGATED:Da.INVERTED),e.remove()}return Vl}function Pv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Vr,Rv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Fv(){if(Vr)return Vr;if(typeof document!="object"||!document)return Vr=new Set(Rv),Vr;let e=document.createElement("input");return Vr=new Set(Rv.filter(t=>(e.setAttribute("type",t),e.type===t))),Vr}function io(e){return e!=null&&`${e}`!="false"}function Kt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function Voe(e,t=/\s+/){let n=[];if(e!=null){let i=Array.isArray(e)?e:`${e}`.split(t);for(let a of i){let r=`${a}`.trim();r&&n.push(r)}}return n}var Zi=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Zi||{}),zoe=class{constructor(e,t,n,i=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",Zi.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},Lv=Yd({passive:!0,capture:!0}),joe=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=Ra(e);t&&((n=this._events.get(e.type))==null||n.forEach((i,a)=>{(a===t||a.contains(t))&&i.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,n,i){let a=this._events.get(t);if(a){let r=a.get(n);r?r.add(i):a.set(n,new Set([i]))}else this._events.set(t,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Lv)})}removeHandler(e,t,n){let i=this._events.get(e);if(!i)return;let a=i.get(t);a&&(a.delete(n),a.size===0&&i.delete(t),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Lv)))}},Hc={enterDuration:225,exitDuration:150},Boe=800,Vv=Yd({passive:!0,capture:!0}),zv=["mousedown","touchstart"],jv=["mouseup","mouseleave","touchend","touchcancel"],Hoe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
21
21
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),On,bw=(On=class{constructor(t,n,i,a,r){o(this,"_target");o(this,"_ngZone");o(this,"_platform");o(this,"_containerElement");o(this,"_triggerElement");o(this,"_isPointerDown",!1);o(this,"_activeRipples",new Map);o(this,"_mostRecentTransientRipple");o(this,"_lastTouchStartEvent");o(this,"_pointerUpEventsRegistered",!1);o(this,"_containerRect");this._target=t,this._ngZone=n,this._platform=a,a.isBrowser&&(this._containerElement=Rn(i)),r&&r.get(Vi).load(Hoe)}fadeInRipple(t,n,i={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Q(Q({},Hc),i.animation);i.centered&&(t=a.left+a.width/2,n=a.top+a.height/2);let s=i.radius||$oe(t,n,a),l=t-a.left,c=n-a.top,d=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${l-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u);let m=window.getComputedStyle(u),v=m.transitionProperty,g=m.transitionDuration,x=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,w=new zoe(this,u,i,x);u.style.transform="scale3d(1, 1, 1)",w.state=Zi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=w);let k=null;return!x&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{k&&(k.fallbackTimer=null),clearTimeout(R),this._finishRippleTransition(w)},V=()=>this._destroyRipple(w),R=setTimeout(V,d+100);u.addEventListener("transitionend",N),u.addEventListener("transitioncancel",V),k={onTransitionEnd:N,onTransitionCancel:V,fallbackTimer:R}}),this._activeRipples.set(w,k),(x||!d)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Zi.FADING_OUT||t.state===Zi.HIDDEN)return;let n=t.element,i=Q(Q({},Hc),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=Zi.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=Rn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,zv.forEach(i=>{On._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jv.forEach(n=>{this._triggerElement.addEventListener(n,this,Vv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Zi.FADING_IN?this._startFadeOutTransition(t):t.state===Zi.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Zi.VISIBLE,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Zi.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=iw(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Boe;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!aw(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===Zi.VISIBLE||t.config.terminateOnPointerUp&&t.state===Zi.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(zv.forEach(n=>On._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(jv.forEach(n=>t.removeEventListener(n,this,Vv)),this._pointerUpEventsRegistered=!1))}},o(On,"_eventManager",new joe),On);function $oe(e,t,n){let i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),a=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+a*a)}var af=new $("mat-ripple-global-options"),qoe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_animationMode",S(Ui,{optional:!0}));o(this,"color");o(this,"unbounded");o(this,"centered");o(this,"radius",0);o(this,"animation");o(this,"_disabled",!1);o(this,"_trigger");o(this,"_rippleRenderer");o(this,"_globalOptions");o(this,"_isInitialized",!1);let i=S(Ne),a=S(Yt),r=S(af,{optional:!0}),s=S(lt);this._globalOptions=r||{},this._rippleRenderer=new bw(this,i,this._elementRef,a,s)}get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Q(Q(Q({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(i,a=0,r){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,a,Q(Q({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Q(Q({},this.rippleConfig),i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-ripple-unbounded",a.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]}));let e=t;return e})(),Yoe={capture:!0},Uoe=["focus","mousedown","mouseenter","touchstart"],$u="mat-ripple-loader-uninitialized",qu="mat-ripple-loader-class-name",Bv="mat-ripple-loader-centered",zl="mat-ripple-loader-disabled",yw=(()=>{const t=class t{constructor(){o(this,"_document",S(et));o(this,"_animationMode",S(Ui,{optional:!0}));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_platform",S(Yt));o(this,"_ngZone",S(Ne));o(this,"_injector",S(lt));o(this,"_eventCleanups");o(this,"_hosts",new Map);o(this,"_onInteraction",i=>{var r;let a=Ra(i);if(a instanceof HTMLElement){let s=a.closest(`[${$u}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);s&&this._createRipple(s)}});let i=S(na).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Uoe.map(a=>hi(i,this._document,a,this._onInteraction,Yoe)))}ngOnDestroy(){let i=this._hosts.keys();for(let a of i)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(i,a){var r;i.setAttribute($u,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!i.hasAttribute(qu))&&i.setAttribute(qu,a.className||""),a.centered&&i.setAttribute(Bv,""),a.disabled&&i.setAttribute(zl,"")}setDisabled(i,a){let r=this._hosts.get(i);r?(r.target.rippleDisabled=a,!a&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(i))):a?i.setAttribute(zl,""):i.removeAttribute(zl)}_createRipple(i){var v,g,x;if(!this._document||this._hosts.has(i))return;(v=i.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",i.getAttribute(qu)),i.append(a);let r=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,l=r?0:((g=s==null?void 0:s.animation)==null?void 0:g.enterDuration)??Hc.enterDuration,c=r?0:((x=s==null?void 0:s.animation)==null?void 0:x.exitDuration)??Hc.exitDuration,d={rippleDisabled:r||(s==null?void 0:s.disabled)||i.hasAttribute(zl),rippleConfig:{centered:i.hasAttribute(Bv),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new bw(d,this._ngZone,a,this._platform,this._injector),m=!d.rippleDisabled;m&&u.setupTriggerEvents(i),this._hosts.set(i,{target:d,renderer:u,hasSetUpEvents:m}),i.removeAttribute($u)}destroyRipple(i){let a=this._hosts.get(i);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rl=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
@@ -39,7 +39,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
|
|
|
39
39
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();gy(YK());var Jce=(()=>{const t=class t{constructor(){this.message=It.required(),this.fontIcon=It("info"),this.translateParams=It({})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(i,a){i&1&&(he(0,"mat-icon",0),B(1),H(2,"translate")),i&2&&(W("fontIcon",a.fontIcon()),D(),Ie(" ",qn(2,2,"commons.errors."+a.message(),a.translateParams())," "))},dependencies:[Un,_a],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),iu=(()=>{const t=class t{setServices(i){this.services=i}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ede="4.0",_p=ede,kn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(kn||{}),tde=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new le);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let i=_p.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==i[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${_p})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=a.reduce((l,c)=>(i[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(i){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(i):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(i){}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[bi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),pS=class{constructor(e,t,n,i,a){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=i,this.isOfflineAuthenticated=n}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return _t(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return _t(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return _t(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return _t(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return _t(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return _t(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return _t(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},mS=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},Ds=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Ds||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),au=function(e){return e.ascending="asc",e.descending="desc",e}(au||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var cr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},ao={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},es=class extends Error{};es.prototype.name="InvalidTokenError";function ide(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function ade(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return ide(t)}catch{return atob(t)}}function nde(e,t){if(typeof e!="string")throw new es("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new es(`Invalid token specified: missing part #${n+1}`);let a;try{a=ade(i)}catch(r){throw new es(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new es(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var rde=class extends pS{constructor(e,t,n){super(e,Ds.USER_INFOS,t,n,Ds.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return _t(this,null,function*(){return nde(yield this.getLocalAccessToken("")).userProfile})}},fS=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(i){this._isProfessional=i}get patientSsin(){return this._patientSsin}set patientSsin(i){this._patientSsin=i}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(i){this._offlineDataStorageEnabled=i}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(i){this._isOfflineAuthenticated=i}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function ode(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}function sde(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var lde=(()=>{const t=class t extends fS{constructor(){super(...arguments),this.servicesStore=S(iu)}resolveSsin(){return _t(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserProfileToken();return ode(i)})}resolvePatientInfo(){return _t(this,null,function*(){let i=yield this.fetchUserProfileToken();return sde(i)})}resolveUserInfo(){return _t(this,null,function*(){var u,m,v,g;let i=yield this.fetchUserProfileToken(),a=i.lastName,r=i.firstName,s=this.extractProfessionalRole(i),l=((u=i==null?void 0:i.organizations)==null?void 0:u.length)>0&&((m=i==null?void 0:i.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,c=(v=i==null?void 0:i.organizations)!=null&&v.length&&l!==void 0?i==null?void 0:i.organizations[0]:void 0,d=this.resolveProfessional(i,s)?i[s]:void 0;return{firstName:r,ssin:i.ssin,lastName:a,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((g=i==null?void 0:i.mandators)==null?void 0:g.length)>0}})}isMandator(){return _t(this,null,function*(){var i,a;return((a=(i=yield this.fetchUserProfileToken())==null?void 0:i.mandators)==null?void 0:a.length)>0})}resolveProfessional(i,a){return a?i[a]:void 0}extractProfessionalRole(i){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(s=>{i[s]&&(r=s)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new rde(this.servicesStore.getServices(),i,a)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),cde=(()=>{const t=class t extends fS{resolveSsin(){return _t(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return _t(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),dde=(()=>{const t=class t{constructor(){this.http=S(el)}get(i,a,r){return Yl()?this.http.get(i,{headers:r}):ft(a)}patch(i,a,r){return Yl()?this.http.patch(i,{},{headers:r}):ft(a)}post(i,a,r){return Yl()?this.http.post(i,{},{headers:r}):ft(a)}delete(i,a,r){return Yl()?this.http.delete(i,{headers:r}):ft(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yl=()=>window.Cypress,Fn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Fn||{}),ln=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(ln||{});function ude(e,t){return _t(this,null,function*(){t.next({status:Fn.LOADING});try{let n=yield e,i={status:Fn.SUCCESS,data:n};return t.next(i),i}catch(n){let i={status:Fn.ERROR,error:mde(n)};return t.next(i),i}})}var Eb={[ln.NO_DATA]:["VIDIS_0140"],[ln.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[ln.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[ln.OTHER]:[]};function hde(e){for(let t of Object.keys(Eb))if(Eb[t].includes(e))return t;return ln.OTHER}function pde(e,t,n){let i=e||"UNKNOWN",a=hde(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function mde(e){var a,r,s;let t=((a=e.error)==null?void 0:a.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,i=(s=e.headers)==null?void 0:s.get("trace-id");return pde(t,i,n)}var fde={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function gde(e,t){if(e&1){let n=Ke();I(0,"div",1)(1,"button",2),de("click",function(){ge(n);let i=P();return ve(i.action())}),B(2),T()()}if(e&2){let n=P();D(2),Ie(" ",n.data.action," ")}}var vde=["label"];function bde(e,t){}var yde=Math.pow(2,31)-1,xp=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new ce);o(this,"_afterOpened",new ce);o(this,"_onAction",new ce);o(this,"_durationTimeoutId");o(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,yde))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},gS=new $("MatSnackBarData"),Zc=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},_de=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),xde=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),wde=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),Sde=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(xp));o(this,"data",S(gS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,a){i&1&&(I(0,"div",0),B(1),T(),ne(2,gde,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
|
|
40
40
|
`),D(),se(a.hasAction?2:-1))},dependencies:[xa,_de,xde,wde],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
41
41
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Zu="_mat-snack-bar-enter",Xu="_mat-snack-bar-exit",Ede=(()=>{const t=class t extends Gd{constructor(){super();o(this,"_ngZone",S(Ne));o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S(Lt));o(this,"_platform",S(Yt));o(this,"_rendersRef");o(this,"_animationsDisabled",S(Ui,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",S(Zc));o(this,"_document",S(et));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new ce);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new ce);o(this,"_onExit",new ce);o(this,"_onEnter",new ce);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",S(wi).getId("mat-snack-bar-container-live-"));o(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Sm(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===Xu?this._completeExit():a===Zu&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(mi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Zu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Zu)},200)))}exit(){return this._destroyed?ft(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(mi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Xu)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Xu),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(c=>a.classList.add(c)):a.classList.add(r)),this._exposeToModals();let s=this._label.nativeElement,l="mdc-snackbar__label";s.classList.toggle(l,!s.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<r.length;s++){let l=r[s],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(a)===-1&&l.setAttribute("aria-owns",c+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let s=r.replace(this._liveElementId,"").trim();s.length>0?a.setAttribute("aria-owns",s):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),s=a.querySelector("[aria-live]");if(r&&s){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),s.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(mt(kr,7),mt(vde,7)),a&2){let s;Re(s=Fe())&&(r._portalOutlet=s.first),Re(s=Fe())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&de("animationend",function(s){return r.onAnimationEnd(s.animationName)})("animationcancel",function(s){return r.onAnimationEnd(s.animationName)}),a&2&&We("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Ft],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),ne(4,bde,0,0,"ng-template",4),T(),he(5,"div"),T()()),a&2&&(D(5),_e("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[kr],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
|
|
42
|
-
`],encapsulation:2}));let e=t;return e})();function kde(){return new Zc}var Cde=new $("mat-snack-bar-default-options",{providedIn:"root",factory:kde}),Dde=(()=>{const t=class t{constructor(){o(this,"_overlay",S(Si));o(this,"_live",S(dw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(rw));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(Cde));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Sde);o(this,"snackBarContainerComponent",Ede);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Zc,useValue:a}]}),l=new jn(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Zc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new xp(l,s);if(i instanceof Ln){let d=new Ud(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new jn(i,void 0,d),m=l.attachComponentPortal(u);c.instance=m.instance}return this._breakpointObserver.observe(fde.HandsetPortrait).pipe(At(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new ol;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:xp,useValue:a},{provide:gS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vS=(()=>{const t=class t{constructor(){this.snackbar=S(Dde),this.translate=S(Yn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ide={demo:{env:kn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:kn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:kn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:kn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:kn.PROD}},No=(()=>{const t=class t{setEnvironment(i){this.configVariables=Ide[kn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Cr=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(cde):this.injector.get(lde)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ade=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),T(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),T(),B(16,"."),T()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),T(),I(21,"button",3),B(22),H(23,"translate"),T()()),i&2&&(D(),we(K(2,9,"commons.errors.report-message-title")),D(5),we(K(7,11,"commons.errors.report-message-explanation")),D(4),we(K(11,13,"commons.errors.report-message-content")),D(2),W("href",K(13,15,"commons.errors.report-message-link"),PJ),D(2),we(K(15,17,"commons.errors.report-message-term-use")),D(4),W("mat-dialog-close",!0),D(),Ie(" ",K(20,19,"commons.errors.report-message-report-button")," "),D(2),W("mat-dialog-close",!1),D(),Ie(" ",K(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),Ode=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(uf)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),T()()),i&2&&(D(),we(K(2,4,"commons.errors.action-not-authorized-title")),D(5),we(K(7,6,"commons.errors."+a.vidisErrorCode)),D(3),W("mat-dialog-close",!1),D(),Ie(" ",K(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),Tde={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Nde=(e,t,n)=>{let i,a=Tde[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Qu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Mde={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Pde={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rde={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Fde={date:Qu({formats:Mde,defaultWidth:"full"}),time:Qu({formats:Pde,defaultWidth:"full"}),dateTime:Qu({formats:Rde,defaultWidth:"full"})},Lde={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Vde=(e,t,n,i)=>Lde[e];function Wo(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var zde={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},jde={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Bde={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Hde={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},$de={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},qde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Yde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ude={ordinalNumber:Yde,era:Wo({values:zde,defaultWidth:"wide"}),quarter:Wo({values:jde,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Wo({values:Bde,defaultWidth:"wide"}),day:Wo({values:Hde,defaultWidth:"wide"}),dayPeriod:Wo({values:$de,defaultWidth:"wide",formattingValues:qde,defaultFormattingWidth:"wide"})};function Ko(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?Wde(l,m=>m.test(s)):Gde(l,m=>m.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function Gde(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Wde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Kde(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var Zde=/^(\d+)(th|st|nd|rd)?/i,Xde=/\d+/i,Qde={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Jde={any:[/^b/i,/^(a|c)/i]},eue={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tue={any:[/1/i,/2/i,/3/i,/4/i]},iue={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},aue={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},nue={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rue={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},oue={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},sue={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},lue={ordinalNumber:Kde({matchPattern:Zde,parsePattern:Xde,valueCallback:e=>parseInt(e,10)}),era:Ko({matchPatterns:Qde,defaultMatchWidth:"wide",parsePatterns:Jde,defaultParseWidth:"any"}),quarter:Ko({matchPatterns:eue,defaultMatchWidth:"wide",parsePatterns:tue,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ko({matchPatterns:iue,defaultMatchWidth:"wide",parsePatterns:aue,defaultParseWidth:"any"}),day:Ko({matchPatterns:nue,defaultMatchWidth:"wide",parsePatterns:rue,defaultParseWidth:"any"}),dayPeriod:Ko({matchPatterns:oue,defaultMatchWidth:"any",parsePatterns:sue,defaultParseWidth:"any"})},bS={code:"en-US",formatDistance:Nde,formatLong:Fde,formatRelative:Vde,localize:Ude,match:lue,options:{weekStartsOn:0,firstWeekContainsDate:1}},cue={};function Mo(){return cue}var yS=6048e5,due=864e5,uue=6e4,hue=36e5,pue=1e3,kb=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kb in e?e[kb](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Xc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function mue(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Cb(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function fue(e,t,n){let[i,a]=mue(n==null?void 0:n.in,e,t),r=Cb(i),s=Cb(a),l=+r-Xc(r),c=+s-Xc(s);return Math.round((l-c)/due)}function gue(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function vue(e,t){let n=ni(e,t==null?void 0:t.in);return fue(n,gue(n))+1}function Bn(e,t){var l,c,d,u;let n=Mo(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function mo(e,t){return Bn(e,Qe(Q({},t),{weekStartsOn:1}))}function _S(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=mo(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=mo(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function bue(e,t){let n=_S(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),mo(i)}function xS(e,t){let n=ni(e,t==null?void 0:t.in),i=+mo(n)-+bue(n);return Math.round(i/yS)+1}function If(e,t){var u,m,v,g;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Mo(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Bn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Bn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function yue(e,t){var s,l,c,d;let n=Mo(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=If(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Bn(r,t)}function wS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Bn(n,t)-+yue(n,t);return Math.round(i/yS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var Sn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},jr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Db={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Sn.y(e,t)},Y:function(e,t,n,i){let a=If(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=_S(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return Sn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=wS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=xS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,n){let i=vue(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=jr.noon:i===0?a=jr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=jr.evening:i>=12?a=jr.afternoon:i>=4?a=jr.morning:a=jr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Sn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ab(i);case"XXXX":case"XX":return ar(i);case"XXXXX":case"XXX":default:return ar(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Ab(i);case"xxxx":case"xx":return ar(i);case"xxxxx":case"xxx":default:return ar(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ib(i,":");case"OOOO":default:return"GMT"+ar(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ib(i,":");case"zzzz":default:return"GMT"+ar(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function Ib(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function Ab(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):ar(e,t)}function ar(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var Ob=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},SS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},_ue=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Ob(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Ob(i,t)).replace("{{time}}",SS(a,t))},wp={p:SS,P:_ue},xue=/^D+$/,wue=/^Y+$/,Sue=["D","DD","YY","YYYY"];function ES(e){return xue.test(e)}function kS(e){return wue.test(e)}function Sp(e,t,n){let i=Eue(e,t,n);if(console.warn(i),Sue.includes(e))throw new RangeError(i)}function Eue(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function kue(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Cue(e){return!(!kue(e)&&typeof e!="number"||isNaN(+ni(e)))}var Due=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Iue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Aue=/^'([^]*?)'?$/,Oue=/''/g,Tue=/[a-zA-Z]/;function Qc(e,t,n){var u,m,v,g,x,w,k,N;let i=Mo(),a=(n==null?void 0:n.locale)??i.locale??bS,r=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((N=(k=i.locale)==null?void 0:k.options)==null?void 0:N.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!Cue(l))throw new RangeError("Invalid time value");let c=t.match(Iue).map(V=>{let R=V[0];if(R==="p"||R==="P"){let oe=wp[R];return oe(V,a.formatLong)}return V}).join("").match(Due).map(V=>{if(V==="''")return{isToken:!1,value:"'"};let R=V[0];if(R==="'")return{isToken:!1,value:Nue(V)};if(Db[R])return{isToken:!0,value:V};if(R.match(Tue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return{isToken:!1,value:V}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(V=>{if(!V.isToken)return V.value;let R=V.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&kS(R)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&ES(R))&&Sp(R,t,String(e));let oe=Db[R[0]];return oe(l,R,a.localize,d)}).join("")}function Nue(e){let t=e.match(Aue);return t?t[1].replace(Oue,"'"):e}function CS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function DS(){return Object.assign({},Mo())}function Mue(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function Pue(e,t){let n=Rue(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Rue(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Fue=10,IS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},Lue=class extends IS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},Vue=class extends IS{constructor(t,n){super();o(this,"priority",Fue);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,Pue(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Lue(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},zue=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Bt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ia={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function Mt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Aa(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*hue+r*uue+s*pue),rest:t.slice(n[0].length)}}function AS(e){return Mt(Bt.anyDigitsSigned,e)}function Rt(e,t){switch(e){case 1:return Mt(Bt.singleDigit,t);case 2:return Mt(Bt.twoDigits,t);case 3:return Mt(Bt.threeDigits,t);case 4:return Mt(Bt.fourDigits,t);default:return Mt(new RegExp("^\\d{1,"+e+"}"),t)}}function Jc(e,t){switch(e){case 1:return Mt(Bt.singleDigitSigned,t);case 2:return Mt(Bt.twoDigitsSigned,t);case 3:return Mt(Bt.threeDigitsSigned,t);case 4:return Mt(Bt.fourDigitsSigned,t);default:return Mt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Af(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function OS(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function TS(e){return e%400===0||e%4===0&&e%100!==0}var jue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ht(Rt(4,t),a);case"yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=OS(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Bue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ht(Rt(4,t),a);case"Yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=If(t,a);if(i.isTwoDigitYear){let l=OS(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}},Hue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Jc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),mo(a)}},$ue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Jc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},que=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Rt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},Yue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Rt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},Uue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Ht(Mt(Bt.month,t),a);case"MM":return Ht(Rt(2,t),a);case"Mo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},Gue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Ht(Mt(Bt.month,t),a);case"LL":return Ht(Rt(2,t),a);case"Lo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function Wue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=wS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var Kue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Mt(Bt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Bn(Wue(t,i,a),a)}};function Zue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=xS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var Xue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Mt(Bt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return mo(Zue(t,i))}},Que=[31,28,31,30,31,30,31,31,30,31,30,31],Jue=[31,29,31,30,31,30,31,31,30,31,30,31],ehe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Mt(Bt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=TS(i),r=t.getMonth();return a?n>=1&&n<=Jue[r]:n>=1&&n<=Que[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},the=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Mt(Bt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear();return TS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function Of(e,t,n){var u,m,v,g;let i=Mo(),a=(n==null?void 0:n.weekStartsOn)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.weekStartsOn)??i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return CS(r,d,n)}var ihe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},ahe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Ht(Rt(n.length,t),r);case"eo":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},nhe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Ht(Rt(n.length,t),r);case"co":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}};function rhe(e,t,n){let i=ni(e,n==null?void 0:n.in),a=Mue(i,n),r=t-a;return CS(i,r,n)}var ohe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Rt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Ht(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ht(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ht(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ht(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=rhe(t,i),t.setHours(0,0,0,0),t}},she=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},lhe=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},che=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},dhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Mt(Bt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},uhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Mt(Bt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},hhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Mt(Bt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},phe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Mt(Bt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},mhe=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Mt(Bt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},fhe=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Mt(Bt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},ghe=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ht(Rt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},vhe=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Aa(Ia.basicOptionalMinutes,t);case"XX":return Aa(Ia.basic,t);case"XXXX":return Aa(Ia.basicOptionalSeconds,t);case"XXXXX":return Aa(Ia.extendedOptionalSeconds,t);case"XXX":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},bhe=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Aa(Ia.basicOptionalMinutes,t);case"xx":return Aa(Ia.basic,t);case"xxxx":return Aa(Ia.basicOptionalSeconds,t);case"xxxxx":return Aa(Ia.extendedOptionalSeconds,t);case"xxx":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},yhe=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},_he=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},xhe={G:new zue,y:new jue,Y:new Bue,R:new Hue,u:new $ue,Q:new que,q:new Yue,M:new Uue,L:new Gue,w:new Kue,I:new Xue,d:new ehe,D:new the,E:new ihe,e:new ahe,c:new nhe,i:new ohe,a:new she,b:new lhe,B:new che,h:new dhe,H:new uhe,K:new hhe,k:new phe,m:new mhe,s:new fhe,S:new ghe,X:new vhe,x:new bhe,t:new yhe,T:new _he},whe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,She=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ehe=/^'([^]*?)'?$/,khe=/''/g,Che=/\S/,Dhe=/[a-zA-Z]/;function Ihe(e,t,n,i){var k,N,V,R;let a=()=>si(n,NaN),r=DS(),s=r.locale??bS,l=r.firstWeekContainsDate??((N=(k=r.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,c=r.weekStartsOn??((R=(V=r.locale)==null?void 0:V.options)==null?void 0:R.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new Vue(i==null?void 0:i.in,n)],m=t.match(She).map(oe=>{let xe=oe[0];if(xe in wp){let Me=wp[xe];return Me(oe,s.formatLong)}return oe}).join("").match(whe),v=[];for(let oe of m){kS(oe)&&Sp(oe,t,e),ES(oe)&&Sp(oe,t,e);let xe=oe[0],Me=xhe[xe];if(Me){let{incompatibleTokens:Jt}=Me;if(Array.isArray(Jt)){let vt=v.find(Ut=>Jt.includes(Ut.token)||Ut.token===xe);if(vt)throw new RangeError(`The format string mustn't contain \`${vt.fullToken}\` and \`${oe}\` at the same time`)}else if(Me.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${oe}\` and any other token at the same time`);v.push({token:xe,fullToken:oe});let Vt=Me.run(e,oe,s.match,d);if(!Vt)return a();u.push(Vt.setter),e=Vt.rest}else{if(xe.match(Dhe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(oe==="''"?oe="'":xe==="'"&&(oe=Ahe(oe)),e.indexOf(oe)===0)e=e.slice(oe.length);else return a()}}if(e.length>0&&Che.test(e))return a();let g=u.map(oe=>oe.priority).sort((oe,xe)=>xe-oe).filter((oe,xe,Me)=>Me.indexOf(oe)===xe).map(oe=>u.filter(xe=>xe.priority===oe).sort((xe,Me)=>Me.subPriority-xe.subPriority)).map(oe=>oe[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let oe of g){if(!oe.validate(x,d))return a();let xe=oe.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function Ahe(e){return e.match(Ehe)[1].replace(khe,"'")}function Tb(e,t,n){let i=DS(),a=Nhe(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?Ohe(a,t):The(a,t)}function Ohe(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function The(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function Nhe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Mhe(e,t){let n=Vhe(t);return"formatToParts"in n?Rhe(n,e):Fhe(n,e)}var Phe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Rhe(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=Phe[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function Fhe(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Ju={},Nb=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Lhe=Nb==="06/25/2014, 00:00:00"||Nb==="06/25/2014 00:00:00";function Vhe(e){return Ju[e]||(Ju[e]=Lhe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ju[e]}function NS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Mb=36e5,zhe=6e4,eh={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function MS(e,t,n){if(!e)return 0;let i=eh.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=eh.timezoneHH.exec(e),i)return a=parseInt(i[1],10),Pb(a)?-(a*Mb):NaN;if(i=eh.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return Pb(a,s)?(r=Math.abs(a)*Mb+s*zhe,i[1]==="+"?-r:r):NaN}if(Hhe(e)){t=new Date(t||Date.now());let s=n?t:jhe(t),l=Ep(s,e);return-(n?l:Bhe(t,l,e))}return NaN}function jhe(e){return NS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Ep(e,t){let n=Mhe(e,t),i=NS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function Bhe(e,t,n){let i=e.getTime()-t,a=Ep(new Date(i),n);if(t===a)return t;i-=a-t;let r=Ep(new Date(i),n);return a===r?a:Math.max(a,r)}function Pb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Rb={};function Hhe(e){if(Rb[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Rb[e]=!0,!0}catch{return!1}}var $he=60*1e3,qhe={X:function(e,t,n){let i=th(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Fb(i);case"XXXX":case"XX":return Hr(i);case"XXXXX":case"XXX":default:return Hr(i,":")}},x:function(e,t,n){let i=th(n.timeZone,e);switch(t){case"x":return Fb(i);case"xxxx":case"xx":return Hr(i);case"xxxxx":case"xxx":default:return Hr(i,":")}},O:function(e,t,n){let i=th(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Yhe(i,":");case"OOOO":default:return"GMT"+Hr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Tb("short",e,n);case"zzzz":default:return Tb("long",e,n)}}};function th(e,t){let n=e?MS(e,t,!0)/$he:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ed(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function Hr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=ed(Math.floor(i/60),2),r=ed(Math.floor(i%60),2);return n+a+t+r}function Fb(e,t){return e%60===0?(e>0?"-":"+")+ed(Math.abs(e)/60,2):Hr(e,t)}function Yhe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+ed(r,2)}function Lb(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var Uhe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,ih=36e5,Vb=6e4,Ghe=2,Ci={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Uhe};function Whe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?Ghe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let i=Khe(e),{year:a,restDateString:r}=Zhe(i.date,n),s=Xhe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=Qhe(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=MS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Lb(new Date(l+c)),d=Lb(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function Khe(e){let t={},n=Ci.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Ci.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=Ci.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function Zhe(e,t){if(e){let n=Ci.YYY[t],i=Ci.YYYYY[t],a=Ci.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=Ci.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function Xhe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Ci.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,jb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Ci.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return tpe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ci.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return jb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Ci.Www.exec(e),r)return a=parseInt(r[1],10)-1,Bb(a)?zb(t,a):new Date(NaN);if(r=Ci.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Bb(a,s)?zb(t,a,s):new Date(NaN)}return null}function Qhe(e){let t,n,i=Ci.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),ah(t)?t%24*ih:NaN;if(i=Ci.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),ah(t,n)?t%24*ih+n*Vb:NaN;if(i=Ci.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return ah(t,n,a)?t%24*ih+n*Vb+a*1e3:NaN}return null}function zb(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var Jhe=[31,28,31,30,31,30,31,31,30,31,30,31],epe=[31,29,31,30,31,30,31,31,30,31,30,31];function PS(e){return e%400===0||e%4===0&&e%100!==0}function jb(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=PS(e);if(i&&n>epe[t]||!i&&n>Jhe[t])return!1}return!0}function tpe(e,t){if(t<1)return!1;let n=PS(e);return!(n&&t>366||!n&&t>365)}function Bb(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function ah(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var ipe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ape(e,t,n={}){t=String(t);let i=t.match(ipe);if(i){let a=Whe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+qhe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Qc(e,t,n)}var npe=(()=>{const t=class t{reportError(i){return ft({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),rpe=(()=>{const t=class t{constructor(){this.http=S(el),this.authService=S(Cr).getInstance(),this.apiUrl=S(No).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[ao.userType]:cr.getUserType({isProfessional:this.authService.isProfessional}),[ao.clientType]:mS()?cr.clientType.mobileApp:cr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ope=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(npe):this.injector.get(rpe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),spe=(()=>{const t=class t extends tde{constructor(){super(...arguments),this.version=_p,this.authServiceSelector=S(Cr),this.translateService=S(Yn),this.webComponentConfig=S(No),this.injector=S(lt),this.servicesStore=S(iu),this.matDialog=S(Nr),this.destroyRef=S($i),this.errorServiceSelector=S(ope),this.snackbarService=S(vS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return _t(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(i=>_t(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===ln.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===ln.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(Ade,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(i){this.matDialog.open(Ode,{data:i})}formatDateWithZone(){return ape(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function lpe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;W("value",n),D(),we(K(2,2,"commons.sortDropdown."+n))}}function cpe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ge(n);let i=P();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),he(2,"mat-icon",7),T()}if(e&2){let n=P();W("disabled",n.disabled()),_e("aria-label",K(1,2,"commons.sortDropdown.sorting-ascendant"))}}function dpe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ge(n);let i=P();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),he(2,"mat-icon",8),T()}if(e&2){let n=P();W("disabled",n.disabled()),_e("aria-label",K(1,2,"commons.sortDropdown.sorting-descendent"))}}var upe=(()=>{const t=class t{constructor(){this.sortData=Wte.required(),this.sortItems=It.required(),this.disabled=It(!1),this.sortDirection=au}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),de("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Ri(4,lpe,3,4,"mat-option",4,ba),T()()(),ne(6,cpe,3,4,"button",5)(7,dpe,3,4,"button",5),T()),i&2&&(D(3),W("value",a.sortData().sort)("disabled",a.disabled()),D(),Fi(a.sortItems()),D(2),se(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Un,Ao,Io,Cs,Zd,hS,Cf,tu,_a],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),hpe=["*"];function ppe(e,t){e&1&&Qs(0)}function mpe(e,t){if(e&1&&(I(0,"div",3),ne(1,ppe,1,0,"ng-container",5),T()),e&2){P();let n=Qi(5);D(),W("ngTemplateOutlet",n)}}function fpe(e,t){e&1&&Qs(0)}function gpe(e,t){if(e&1){let n=Ke();I(0,"div",6),de("click",function(){ge(n);let i=P();return ve(i.toggleExpanded())})("keydown.enter",function(){ge(n);let i=P();return ve(i.toggleExpanded())})("keydown.space",function(){ge(n);let i=P();return ve(i.toggleExpanded())}),ne(1,fpe,1,0,"ng-container",5),T()}if(e&2){let n=P(),i=Qi(5);_e("aria-label",n.currentExpandIconAriaLabel()),D(),W("ngTemplateOutlet",i)}}function vpe(e,t){e&1&&Qs(0)}function bpe(e,t){if(e&1&&ne(0,vpe,1,0,"ng-container",5),e&2){P();let n=Qi(7);W("ngTemplateOutlet",n)}}function ype(e,t){if(e&1&&(I(0,"h2"),B(1),T()),e&2){let n=P(3);D(),we(n.alertTitle())}}function _pe(e,t){if(e&1&&(I(0,"p"),B(1),T()),e&2){let n=P(3);D(),we(n.alertSubtitle())}}function xpe(e,t){if(e&1&&(I(0,"div"),ne(1,ype,2,1,"h2")(2,_pe,2,1,"p"),T()),e&2){let n=P(2);D(),se(n.alertTitle()?1:-1),D(),se(n.alertSubtitle()?2:-1)}}function wpe(e,t){e&1&&Qs(0)}function Spe(e,t){if(e&1&&ne(0,wpe,1,0,"ng-container",5),e&2){P(2);let n=Qi(7);W("ngTemplateOutlet",n)}}function Epe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",11),de("click",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())})("keydown.enter",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())})("keydown.space",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())}),T()}if(e&2){let n=P(2);_e("aria-label",n.closeButtonAriaLabel())}}function kpe(e,t){if(e&1&&he(0,"mat-icon",10),e&2){let n=P(2);W("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function Cpe(e,t){if(e&1&&(he(0,"mat-icon",7),I(1,"div",8),ne(2,xpe,3,2,"div")(3,Spe,1,1,"ng-container"),T(),ne(4,Epe,1,1,"mat-icon",9)(5,kpe,1,1,"mat-icon",10)),e&2){let n=P();W("fontIcon",n.fontIcon()),D(2),se(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),D(2),se(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function Dpe(e,t){if(e&1){let n=Ke();I(0,"button",14),de("click",function(){ge(n);let i=P(2);return ve(i.onActionButtonClicked())}),B(1),T()}if(e&2){let n=P(2);W("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Ipe(e,t){if(e&1&&(I(0,"span",12),dt(1),T(),ne(2,Dpe,2,2,"button",13)),e&2){let n=P();D(2),se(n.actionButton()?2:-1)}}var Ape=(()=>{const t=class t{constructor(){o(this,"usage",It("info"));o(this,"backgroundColor",It("color"));o(this,"alertTitle",It());o(this,"alertSubtitle",It());o(this,"actionButton",It(!1));o(this,"buttonDisabled",It(!1));o(this,"buttonLabel",It());o(this,"dismissMode",It("pinned"));o(this,"closeButtonAriaLabel",It(""));o(this,"startExpanded",It(!1));o(this,"expandedButtonAriaLabel",It(""));o(this,"collapsedButtonAriaLabel",It(""));o(this,"closeButtonClicked",Ag());o(this,"actionButtonClicked",Ag());o(this,"expanded",Uae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Ti(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Ti(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Ti(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Ti(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:hpe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(i,a){i&1&&(Li(),I(0,"div",2),ne(1,mpe,2,1,"div",3)(2,gpe,2,2,"div",4)(3,bpe,1,1,"ng-container"),T(),ne(4,Cpe,6,3,"ng-template",null,0,np)(6,Ipe,3,1,"ng-template",null,1,np)),i&2&&(Sr(a.usage()),We("white",a.backgroundColor()==="white"),D(),se(a.dismissMode()!=="expandable"?1:2),D(2),se(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[I1,E1,Un,xa],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function Ope(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),T()()),e&2){let n=P();W("alertTitle",K(1,2,"commons.errors.data-not-available-title")),D(3),we(K(4,4,"commons.errors."+n.error().code))}}var Tpe=(()=>{const t=class t{constructor(){this.error=It.required(),this.vidisErrorGroup=ln}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&ne(0,Ope,5,6,"mh-alert",0),i&2&&se(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[_a,Ape],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),O=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(O||{}),Tf=new $("ngx-mask config"),RS=new $("new ngx-mask config"),FS=new $("initial ngx-mask config"),Npe={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new le,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};O.HOURS_MINUTES_SECONDS,O.HOURS_MINUTES,O.MINUTES_SECONDS;O.PERCENT,O.HOURS_HOUR,O.SECONDS,O.MINUTES,O.SEPARATOR,O.DAYS_MONTHS_YEARS,O.DAYS_MONTHS,O.DAYS,O.MONTHS;var Mpe=(()=>{const t=class t{constructor(){o(this,"_config",S(Tf));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(i,a,r,s)=>{var g;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(x),c=((g=i.match(x))==null?void 0:g[0])??O.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:O.EMPTY_STRING,u=l[0]??O.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,O.EMPTY_STRING);m&&+m&&(u[0]===O.MINUS?u=`-${u.slice(1,u.length).slice(0,m.length)}`:u=u.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(u);)u=u.replace(v,"$1"+a+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(O.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",i=>{let a=i.split(O.DOT);return a.length>1?Number(a[a.length-1]):1/0});o(this,"checkAndRemoveSuffix",i=>{var a,r,s,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(i.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,O.EMPTY_STRING)}return i});o(this,"checkInputPrecision",(i,a,r)=>{var c;let s=i,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),u=s.match(d),m=(u&&((c=u[0])==null?void 0:c.length))??0;if(m-1>a){let v=m-1-a;s=s.substring(0,s.length-v)}a===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,a){let[r,s]=a;return this.customPattern=s,this.applyMask(i,r)}applyMask(i,a,r=0,s=!1,l=!1,c=()=>{}){var Vt,vt,Ut;if(!a||typeof i!="string")return O.EMPTY_STRING;let d=0,u="",m=!1,v=!1,g=1,x=!1,w=i,k=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let N=w.toString().split(O.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS&&(u+=w.slice(d,d+1)),a===O.IP){let re=w.split(O.DOT);this.ipError=this._validIP(re),a="099.099.099.099"}let V=[];for(let re=0;re<w.length;re++)(Vt=w[re])!=null&&Vt.match("\\d")&&V.push(w[re]??O.EMPTY_STRING);if(a===O.CPF_CNPJ&&(this.cpfCnpjError=V.length!==11&&V.length!==14,V.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(O.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ve=this.getPrecision(a);w=this.checkInputPrecision(w,Ve,this.decimalMarker)}let re=typeof this.decimalMarker=="string"?this.decimalMarker:O.DOT;if(w.indexOf(re)>0&&!this.percentage(w.substring(0,w.indexOf(re)))){let Ve=w.substring(0,w.indexOf(re)-1);this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS&&!l&&(Ve=w.substring(0,w.indexOf(re))),w=`${Ve}${w.substring(w.indexOf(re),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS?J=`${O.MINUS}${w.slice(d+1,d+w.length)}`:J=w,this.percentage(J)?u=this._splitPercentZero(w):u=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(O.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let re=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===O.DOT?O.COMMA:O.DOT:this.decimalMarker;if(re===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===O.MINUS&&w[1]===O.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==O.COMMA&&w[2]!==O.DOT?"-"+w.slice(2,w.length):w[0]===O.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==O.COMMA&&w[1]!==O.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===O.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==O.COMMA&&w[1]!==O.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=O.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===O.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===O.MINUS&&(w[1]===J||w[1]===O.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+O.NUMBER_ZERO+w.slice(1,w.length):w[1]===O.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Ze=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),it=w[k]===O.NUMBER_ZERO||w[k]===J,Nt=w[0]===O.NUMBER_ZERO,oa=w[0]===O.MINUS,bt=w[0]===this.thousandSeparator,ui=w[1]===J,ei=w[1]===O.NUMBER_ZERO,wa=w[2]===J;Nt&&ui&&it&&k<2&&(w=Ze),oa&&ei&&wa&&it&&k<3&&(w=O.MINUS+Ze),Ze!==O.MINUS&&(k===0&&(Nt||bt)||this.allowNegativeNumbers&&k===1&&oa&&!ei)&&(w=oa?O.MINUS+Ze:Ze)}let Ve=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ve,"");if(Array.isArray(this.decimalMarker))for(let Ze of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Ze),O.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let U=new RegExp("["+j+"]");w.match(U)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,re,this.decimalMarker);let ie=w.replace(new RegExp(Ve,"g"),"");u=this._formatWithSeparators(ie,this.thousandSeparator,this.decimalMarker,re);let $e=u.indexOf(O.COMMA)-w.indexOf(O.COMMA),ht=u.length-w.length,di=l&&u.length<i.length&&this.separatorLimit;if((u[k-1]===this.thousandSeparator||u[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(ht>0&&u[k]!==this.thousandSeparator||di){v=!0;let Ze=0;do this._shift.add(k+Ze),Ze++;while(Ze<ht)}else u[k-1]===this.thousandSeparator||ht===-4||ht===-3||u[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):$e!==0&&k>0&&!(u.indexOf(O.COMMA)>=k&&k>3)||!(u.indexOf(O.DOT)>=k&&k>3)&&ht<=0?(this._shift.clear(),v=!0,g=ht,k+=ht,this._shift.add(k)):this._shift.clear()}else for(let re=0,J=N[0];re<N.length&&d!==a.length;re++,J=N[re]??O.EMPTY_STRING){let Ve=O.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)&&a[d+1]===O.SYMBOL_QUESTION)u+=J,d+=2;else if(a[d+1]===O.SYMBOL_STAR&&m&&this._checkSymbolMask(J,a[d+2]??O.EMPTY_STRING))u+=J,d+=3,m=!1;else if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)&&a[d+1]===O.SYMBOL_STAR&&!Ve)u+=J,m=!0;else if(a[d+1]===O.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[d+2]??O.EMPTY_STRING))u+=J,d+=3;else if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)){if(a[d]===O.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===O.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(J)>2||w.slice(d-1,d).length===1&&Number(w.slice(d-1,d))>2||w.slice(d-1,d)==="1"&&Number(J)>2:u==="2"&&Number(J)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(J)>3&&d>10)){k=k+1,d+=1,re--;continue}if((a[d]===O.MINUTE||a[d]===O.SECOND)&&Number(J)>5){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}let j=31,U=w[d],ie=w[d+1],$e=w[d+2],ht=w[d-1],di=w[d-2],Ze=w.slice(d-3,d-1),it=w.slice(d-1,d+1),Nt=w.slice(d,d+2),oa=w.slice(d-2,d);if(a[d]===O.DAY){let bt=a.slice(0,2)===O.MONTHS,ui=a.slice(0,2)===O.MONTHS&&this.specialCharacters.includes(di);if(Number(J)>3&&this.leadZeroDateTime||!bt&&(Number(Nt)>j||Number(it)>j||this.specialCharacters.includes(ie))||(ui?Number(it)>j||!this.specialCharacters.includes(U)&&this.specialCharacters.includes($e)||this.specialCharacters.includes(U):Number(Nt)>j||this.specialCharacters.includes(ie)&&!l)){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===O.MONTH){let bt=d===0&&(Number(J)>2||Number(Nt)>12||this.specialCharacters.includes(ie)&&!l),ui=a.slice(d+2,d+3),ei=Ze.includes(ui)&&a.includes("d0")&&(this.specialCharacters.includes(di)&&Number(it)>12&&!this.specialCharacters.includes(U)||this.specialCharacters.includes(U)),wa=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&this.specialCharacters.includes(ht)&&(Number(Nt)>12||this.specialCharacters.includes(ie)),_n=Number(Nt)>12&&d===5||this.specialCharacters.includes(ie)&&d===5,pl=Number(Ze)>j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(oa)&&Number(oa)>12&&a.includes("d0"),ml=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ht)&&Number(it)>12;if(Number(J)>1&&this.leadZeroDateTime||bt||ei||ml||pl||wa||_n&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}}u+=J,d++}else this.specialCharacters.includes(J)&&a[d]===J?(u+=J,d++):this.specialCharacters.indexOf(a[d]??O.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,N.length),re--):a[d]===O.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,N.length):this.patterns[a[d]??O.EMPTY_STRING]&&((vt=this.patterns[a[d]??O.EMPTY_STRING])!=null&&vt.optional)?(N[d]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Ut=this.patterns[a[d]??O.EMPTY_STRING])!=null&&Ut.optional)&&(u+=N[d]),a.includes(O.NUMBER_NINE+O.SYMBOL_STAR)&&a.includes(O.NUMBER_ZERO+O.SYMBOL_STAR)&&d++,d++,re--):this.maskExpression[d+1]===O.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??O.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&m||this.maskExpression[d+1]===O.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??O.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&m?(d+=3,u+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??O.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let R=k+1;for(;this._shift.has(R);)g++,R++;let oe=s&&!a.startsWith(O.SEPARATOR)?d:this._shift.has(k)?g:0;x&&oe--,c(oe,v),g<0&&this._shift.clear();let xe=!1;l&&(xe=N.every(re=>this.specialCharacters.includes(re)));let Me=`${this.prefix}${xe?O.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(Me=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let Jt=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Jt)return"";if(u.includes(O.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===O.MINUS)return"";Me=`${O.MINUS}${this.prefix}${u.split(O.MINUS).join(O.EMPTY_STRING)}${this.suffix}`}return Me}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((s=this.patterns[a])==null?void 0:s.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(O.EMPTY_STRING).filter((a,r)=>{let s=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||s||a===O.MINUS&&r===0&&this.allowNegativeNumbers}).join(O.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let s=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(s=>s!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===O.EMPTY_STRING||Number(a)>255:a===O.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===O.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(O.DOT),r=this.allowNegativeNumbers&&i.includes(O.MINUS)?"-":"";if(a===-1){let s=parseInt(r?i.slice(1,i.length):i,10);return isNaN(s)?O.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:O.DOT;return c===O.EMPTY_STRING?O.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ppe=(()=>{const t=class t extends Mpe{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",a=>{});o(this,"_elementRef",S(ze,{optional:!0}));o(this,"document",S(et));o(this,"_config",S(Tf));o(this,"_renderer",S(ra,{optional:!0}))}applyMask(a,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():O.EMPTY_STRING,this.maskExpression===O.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||O.HASH)),this.maskExpression===O.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||O.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??O.EMPTY_STRING:O.EMPTY_STRING,m="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let k=a&&a.length===1?a.split(O.EMPTY_STRING):this.actualValue.split(O.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==O.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>k.length?k.splice(this.selStart,0,u):a.length<k.length&&(k.length-a.length===1?c?k.splice(this.selStart-1,1):k.splice(a.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&k.length<=a.length?this.shiftTypedSymbols(k.join(O.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&this.specialCharacters.indexOf(this.maskExpression[v]??O.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==O.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,r,v,l,c,d);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===O.DOT&&this.decimalMarker===O.DOT&&(this.decimalMarker=O.COMMA),this.maskExpression.startsWith(O.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let x=g.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(O.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${w.slice(x+k)}`}else if(this.maskExpression===O.IP||this.maskExpression===O.CPF_CNPJ)return`${g}${w}`;return`${g}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,s=r.exec(a),l=0;for(;s!=null;)l+=1,s=r.exec(a);return l}applyValueChanges(a,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(O.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??O.EMPTY_STRING]&&((c=this.patterns[r[l]??O.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??O.EMPTY_STRING])==null?void 0:d.symbol:s}).join(O.EMPTY_STRING)}getActualValue(a){let r=a.split(O.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??O.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(O.EMPTY_STRING)===a?r.join(O.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(O.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(a[l+1]??O.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=s,a[l+1];if(r.length){let c=r;return r=O.EMPTY_STRING,c}return s})||[]).join(O.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(O.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(O.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${O.MINUS}/`,O.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===O.IP)return this._checkForIp(a);if(this.maskExpression===O.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,O.EMPTY_STRING).length&&(this.formElementProperty=["value",O.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(O.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===O.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<a.length;s++){let l=a[s]??O.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===O.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??O.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(a=this.document){var s;let r=(s=a==null?void 0:a.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===O.EMPTY_STRING||this.maskExpression.startsWith(O.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(O.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(O.SEPARATOR)&&Number.isNaN(r)){let s=String(a).replace(",",".");return Number(s)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(O.PERCENT)&&a.includes(O.DOT)?a:a&&a.replace(this._regExpForRemove(r),O.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,O.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,O.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(O.WHITE_SPACE)&&this.maskExpression.includes(O.SYMBOL_STAR)&&(r=r.filter(s=>s!==O.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),O.DOT)}_checkSymbols(a){let r=a;if(r===O.EMPTY_STRING)return r;this.maskExpression.startsWith(O.PERCENT)&&this.decimalMarker===O.COMMA&&(r=r.replace(O.COMMA,O.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,s;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(O.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let s=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===O.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(O.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===O.CURLY_BRACKETS_LEFT?l:this._start,s!==O.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(a.slice(this._start+1,this._end)),d=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(O.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(O.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Rpe(){let e=S(FS),t=S(RS);return t instanceof Function?Q(Q({},e),t()):Q(Q({},e),t)}function Fpe(e){return[{provide:RS,useValue:e},{provide:FS,useValue:Npe},{provide:Tf,useFactory:Rpe},Ppe]}function Lpe(e){return Qp(Fpe(e))}var LS={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(LS);var Vpe=LS,VS={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(VS);var zpe=VS,Ki=function(e,t,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},$r,ts,nr,jpe=class{constructor(...e){$r.set(this,new Map),ts.set(this,new Map),nr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Ki(this,nr,"f").has(n)||Ki(this,nr,"f").set(n,new Set);let a=Ki(this,nr,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Ki(this,ts,"f").set(n,s),r=!1,l)continue;let c=Ki(this,$r,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ki(this,$r,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Ki(this,$r,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Ki(this,ts,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ki(this,nr,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of Ki(this,nr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ki(this,$r,"f"),extensions:Ki(this,ts,"f")}}};$r=new WeakMap,ts=new WeakMap,nr=new WeakMap;var Bpe=jpe,zS=new Bpe(zpe,Vpe)._freeze(),Hpe=(()=>{const t=class t{constructor(){this.translate=S(Yn),this.cdRef=S(Lt),this.destroyRef=S($i),this.result="",this.translate.onLangChange.pipe(Do(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?zS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),Nf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),$pe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],qpe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Ype(e,t){e&1&&(I(0,"span",3),dt(1,1),T())}function Upe(e,t){e&1&&(I(0,"span",6),dt(1,2),T())}var Gpe=["*"],Wpe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Hb=new $("MatChipAvatar"),$b=new $("MatChipTrailingIcon"),kp=new $("MatChipRemove"),jS=new $("MatChip"),Cp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(jS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Vi).load(rl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&de("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:sn(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),BS=(()=>{const t=class t extends Cp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[xi([{provide:kp,useExisting:t}]),Ft]}));let e=t;return e})(),nu=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S(Lt));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(nl));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new ce);o(this,"_onBlur",new ce);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",S(wi).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new le);o(this,"destroyed",new le);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(yw));o(this,"_injector",S(lt));var r;let i=S(Vi);i.load(rl),i.load(Tr);let a=S(Ui,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Ji(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Hb,5),pi(r,$b,5),pi(r,kp,5),pi(r,Hb,5),pi(r,$b,5),pi(r,kp,5)),i&2){let s;Re(s=Fe())&&(a.leadingIcon=s.first),Re(s=Fe())&&(a.trailingIcon=s.first),Re(s=Fe())&&(a.removeIcon=s.first),Re(s=Fe())&&(a._allLeadingIcons=s),Re(s=Fe())&&(a._allTrailingIcons=s),Re(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(Cp,5),i&2){let r;Re(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&(yn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),Sr("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[xi([{provide:jS,useExisting:t}])],ngContentSelectors:qpe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(Li($pe),he(0,"span",0),I(1,"span",1)(2,"span",2),ne(3,Ype,2,0,"span",3),I(4,"span",4),dt(5),he(6,"span",5),T()()(),ne(7,Upe,2,0,"span",6)),i&2&&(D(2),W("isInteractive",!1),D(),se(a.leadingIcon?3:-1),D(4),se(a._hasTrailingIcon()?7:-1))},dependencies:[Cp],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
|
|
42
|
+
`],encapsulation:2}));let e=t;return e})();function kde(){return new Zc}var Cde=new $("mat-snack-bar-default-options",{providedIn:"root",factory:kde}),Dde=(()=>{const t=class t{constructor(){o(this,"_overlay",S(Si));o(this,"_live",S(dw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(rw));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(Cde));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Sde);o(this,"snackBarContainerComponent",Ede);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Zc,useValue:a}]}),l=new jn(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Zc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new xp(l,s);if(i instanceof Ln){let d=new Ud(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new jn(i,void 0,d),m=l.attachComponentPortal(u);c.instance=m.instance}return this._breakpointObserver.observe(fde.HandsetPortrait).pipe(At(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new ol;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:xp,useValue:a},{provide:gS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vS=(()=>{const t=class t{constructor(){this.snackbar=S(Dde),this.translate=S(Yn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ide={demo:{env:kn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:kn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:kn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:kn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:kn.PROD}},No=(()=>{const t=class t{setEnvironment(i){this.configVariables=Ide[kn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Cr=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(cde):this.injector.get(lde)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ade=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),T(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),T(),B(16,"."),T()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),T(),I(21,"button",3),B(22),H(23,"translate"),T()()),i&2&&(D(),we(K(2,9,"commons.errors.report-message-title")),D(5),we(K(7,11,"commons.errors.report-message-explanation")),D(4),we(K(11,13,"commons.errors.report-message-content")),D(2),W("href",K(13,15,"commons.errors.report-message-link"),qJ),D(2),we(K(15,17,"commons.errors.report-message-term-use")),D(4),W("mat-dialog-close",!0),D(),Ie(" ",K(20,19,"commons.errors.report-message-report-button")," "),D(2),W("mat-dialog-close",!1),D(),Ie(" ",K(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),Ode=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(uf)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),T()()),i&2&&(D(),we(K(2,4,"commons.errors.action-not-authorized-title")),D(5),we(K(7,6,"commons.errors."+a.vidisErrorCode)),D(3),W("mat-dialog-close",!1),D(),Ie(" ",K(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),Tde={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Nde=(e,t,n)=>{let i,a=Tde[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Qu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Mde={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Pde={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rde={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Fde={date:Qu({formats:Mde,defaultWidth:"full"}),time:Qu({formats:Pde,defaultWidth:"full"}),dateTime:Qu({formats:Rde,defaultWidth:"full"})},Lde={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Vde=(e,t,n,i)=>Lde[e];function Wo(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var zde={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},jde={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Bde={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Hde={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},$de={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},qde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Yde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ude={ordinalNumber:Yde,era:Wo({values:zde,defaultWidth:"wide"}),quarter:Wo({values:jde,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Wo({values:Bde,defaultWidth:"wide"}),day:Wo({values:Hde,defaultWidth:"wide"}),dayPeriod:Wo({values:$de,defaultWidth:"wide",formattingValues:qde,defaultFormattingWidth:"wide"})};function Ko(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?Wde(l,m=>m.test(s)):Gde(l,m=>m.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function Gde(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Wde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Kde(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var Zde=/^(\d+)(th|st|nd|rd)?/i,Xde=/\d+/i,Qde={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Jde={any:[/^b/i,/^(a|c)/i]},eue={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tue={any:[/1/i,/2/i,/3/i,/4/i]},iue={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},aue={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},nue={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rue={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},oue={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},sue={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},lue={ordinalNumber:Kde({matchPattern:Zde,parsePattern:Xde,valueCallback:e=>parseInt(e,10)}),era:Ko({matchPatterns:Qde,defaultMatchWidth:"wide",parsePatterns:Jde,defaultParseWidth:"any"}),quarter:Ko({matchPatterns:eue,defaultMatchWidth:"wide",parsePatterns:tue,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ko({matchPatterns:iue,defaultMatchWidth:"wide",parsePatterns:aue,defaultParseWidth:"any"}),day:Ko({matchPatterns:nue,defaultMatchWidth:"wide",parsePatterns:rue,defaultParseWidth:"any"}),dayPeriod:Ko({matchPatterns:oue,defaultMatchWidth:"any",parsePatterns:sue,defaultParseWidth:"any"})},bS={code:"en-US",formatDistance:Nde,formatLong:Fde,formatRelative:Vde,localize:Ude,match:lue,options:{weekStartsOn:0,firstWeekContainsDate:1}},cue={};function Mo(){return cue}var yS=6048e5,due=864e5,uue=6e4,hue=36e5,pue=1e3,kb=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kb in e?e[kb](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Xc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function mue(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Cb(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function fue(e,t,n){let[i,a]=mue(n==null?void 0:n.in,e,t),r=Cb(i),s=Cb(a),l=+r-Xc(r),c=+s-Xc(s);return Math.round((l-c)/due)}function gue(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function vue(e,t){let n=ni(e,t==null?void 0:t.in);return fue(n,gue(n))+1}function Bn(e,t){var l,c,d,u;let n=Mo(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function mo(e,t){return Bn(e,Qe(Q({},t),{weekStartsOn:1}))}function _S(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=mo(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=mo(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function bue(e,t){let n=_S(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),mo(i)}function xS(e,t){let n=ni(e,t==null?void 0:t.in),i=+mo(n)-+bue(n);return Math.round(i/yS)+1}function If(e,t){var u,m,v,g;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Mo(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Bn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Bn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function yue(e,t){var s,l,c,d;let n=Mo(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=If(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Bn(r,t)}function wS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Bn(n,t)-+yue(n,t);return Math.round(i/yS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var Sn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},jr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Db={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Sn.y(e,t)},Y:function(e,t,n,i){let a=If(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=_S(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return Sn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=wS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=xS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,n){let i=vue(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=jr.noon:i===0?a=jr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=jr.evening:i>=12?a=jr.afternoon:i>=4?a=jr.morning:a=jr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Sn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ab(i);case"XXXX":case"XX":return ar(i);case"XXXXX":case"XXX":default:return ar(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Ab(i);case"xxxx":case"xx":return ar(i);case"xxxxx":case"xxx":default:return ar(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ib(i,":");case"OOOO":default:return"GMT"+ar(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ib(i,":");case"zzzz":default:return"GMT"+ar(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function Ib(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function Ab(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):ar(e,t)}function ar(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var Ob=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},SS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},_ue=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Ob(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Ob(i,t)).replace("{{time}}",SS(a,t))},wp={p:SS,P:_ue},xue=/^D+$/,wue=/^Y+$/,Sue=["D","DD","YY","YYYY"];function ES(e){return xue.test(e)}function kS(e){return wue.test(e)}function Sp(e,t,n){let i=Eue(e,t,n);if(console.warn(i),Sue.includes(e))throw new RangeError(i)}function Eue(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function kue(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Cue(e){return!(!kue(e)&&typeof e!="number"||isNaN(+ni(e)))}var Due=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Iue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Aue=/^'([^]*?)'?$/,Oue=/''/g,Tue=/[a-zA-Z]/;function Qc(e,t,n){var u,m,v,g,x,w,k,N;let i=Mo(),a=(n==null?void 0:n.locale)??i.locale??bS,r=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((N=(k=i.locale)==null?void 0:k.options)==null?void 0:N.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!Cue(l))throw new RangeError("Invalid time value");let c=t.match(Iue).map(V=>{let R=V[0];if(R==="p"||R==="P"){let oe=wp[R];return oe(V,a.formatLong)}return V}).join("").match(Due).map(V=>{if(V==="''")return{isToken:!1,value:"'"};let R=V[0];if(R==="'")return{isToken:!1,value:Nue(V)};if(Db[R])return{isToken:!0,value:V};if(R.match(Tue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return{isToken:!1,value:V}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(V=>{if(!V.isToken)return V.value;let R=V.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&kS(R)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&ES(R))&&Sp(R,t,String(e));let oe=Db[R[0]];return oe(l,R,a.localize,d)}).join("")}function Nue(e){let t=e.match(Aue);return t?t[1].replace(Oue,"'"):e}function CS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function DS(){return Object.assign({},Mo())}function Mue(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function Pue(e,t){let n=Rue(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Rue(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Fue=10,IS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},Lue=class extends IS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},Vue=class extends IS{constructor(t,n){super();o(this,"priority",Fue);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,Pue(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Lue(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},zue=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Bt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ia={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function Mt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Aa(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*hue+r*uue+s*pue),rest:t.slice(n[0].length)}}function AS(e){return Mt(Bt.anyDigitsSigned,e)}function Rt(e,t){switch(e){case 1:return Mt(Bt.singleDigit,t);case 2:return Mt(Bt.twoDigits,t);case 3:return Mt(Bt.threeDigits,t);case 4:return Mt(Bt.fourDigits,t);default:return Mt(new RegExp("^\\d{1,"+e+"}"),t)}}function Jc(e,t){switch(e){case 1:return Mt(Bt.singleDigitSigned,t);case 2:return Mt(Bt.twoDigitsSigned,t);case 3:return Mt(Bt.threeDigitsSigned,t);case 4:return Mt(Bt.fourDigitsSigned,t);default:return Mt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Af(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function OS(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function TS(e){return e%400===0||e%4===0&&e%100!==0}var jue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ht(Rt(4,t),a);case"yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=OS(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Bue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ht(Rt(4,t),a);case"Yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=If(t,a);if(i.isTwoDigitYear){let l=OS(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}},Hue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Jc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),mo(a)}},$ue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Jc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},que=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Rt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},Yue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Rt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},Uue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Ht(Mt(Bt.month,t),a);case"MM":return Ht(Rt(2,t),a);case"Mo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},Gue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Ht(Mt(Bt.month,t),a);case"LL":return Ht(Rt(2,t),a);case"Lo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function Wue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=wS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var Kue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Mt(Bt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Bn(Wue(t,i,a),a)}};function Zue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=xS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var Xue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Mt(Bt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return mo(Zue(t,i))}},Que=[31,28,31,30,31,30,31,31,30,31,30,31],Jue=[31,29,31,30,31,30,31,31,30,31,30,31],ehe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Mt(Bt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=TS(i),r=t.getMonth();return a?n>=1&&n<=Jue[r]:n>=1&&n<=Que[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},the=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Mt(Bt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear();return TS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function Of(e,t,n){var u,m,v,g;let i=Mo(),a=(n==null?void 0:n.weekStartsOn)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.weekStartsOn)??i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return CS(r,d,n)}var ihe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},ahe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Ht(Rt(n.length,t),r);case"eo":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},nhe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Ht(Rt(n.length,t),r);case"co":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}};function rhe(e,t,n){let i=ni(e,n==null?void 0:n.in),a=Mue(i,n),r=t-a;return CS(i,r,n)}var ohe=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Rt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Ht(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ht(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ht(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ht(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=rhe(t,i),t.setHours(0,0,0,0),t}},she=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},lhe=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},che=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},dhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Mt(Bt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},uhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Mt(Bt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},hhe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Mt(Bt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},phe=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Mt(Bt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},mhe=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Mt(Bt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},fhe=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Mt(Bt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},ghe=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ht(Rt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},vhe=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Aa(Ia.basicOptionalMinutes,t);case"XX":return Aa(Ia.basic,t);case"XXXX":return Aa(Ia.basicOptionalSeconds,t);case"XXXXX":return Aa(Ia.extendedOptionalSeconds,t);case"XXX":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},bhe=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Aa(Ia.basicOptionalMinutes,t);case"xx":return Aa(Ia.basic,t);case"xxxx":return Aa(Ia.basicOptionalSeconds,t);case"xxxxx":return Aa(Ia.extendedOptionalSeconds,t);case"xxx":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},yhe=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},_he=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},xhe={G:new zue,y:new jue,Y:new Bue,R:new Hue,u:new $ue,Q:new que,q:new Yue,M:new Uue,L:new Gue,w:new Kue,I:new Xue,d:new ehe,D:new the,E:new ihe,e:new ahe,c:new nhe,i:new ohe,a:new she,b:new lhe,B:new che,h:new dhe,H:new uhe,K:new hhe,k:new phe,m:new mhe,s:new fhe,S:new ghe,X:new vhe,x:new bhe,t:new yhe,T:new _he},whe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,She=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ehe=/^'([^]*?)'?$/,khe=/''/g,Che=/\S/,Dhe=/[a-zA-Z]/;function Ihe(e,t,n,i){var k,N,V,R;let a=()=>si(n,NaN),r=DS(),s=r.locale??bS,l=r.firstWeekContainsDate??((N=(k=r.locale)==null?void 0:k.options)==null?void 0:N.firstWeekContainsDate)??1,c=r.weekStartsOn??((R=(V=r.locale)==null?void 0:V.options)==null?void 0:R.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new Vue(i==null?void 0:i.in,n)],m=t.match(She).map(oe=>{let xe=oe[0];if(xe in wp){let Me=wp[xe];return Me(oe,s.formatLong)}return oe}).join("").match(whe),v=[];for(let oe of m){kS(oe)&&Sp(oe,t,e),ES(oe)&&Sp(oe,t,e);let xe=oe[0],Me=xhe[xe];if(Me){let{incompatibleTokens:Jt}=Me;if(Array.isArray(Jt)){let vt=v.find(Ut=>Jt.includes(Ut.token)||Ut.token===xe);if(vt)throw new RangeError(`The format string mustn't contain \`${vt.fullToken}\` and \`${oe}\` at the same time`)}else if(Me.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${oe}\` and any other token at the same time`);v.push({token:xe,fullToken:oe});let Vt=Me.run(e,oe,s.match,d);if(!Vt)return a();u.push(Vt.setter),e=Vt.rest}else{if(xe.match(Dhe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(oe==="''"?oe="'":xe==="'"&&(oe=Ahe(oe)),e.indexOf(oe)===0)e=e.slice(oe.length);else return a()}}if(e.length>0&&Che.test(e))return a();let g=u.map(oe=>oe.priority).sort((oe,xe)=>xe-oe).filter((oe,xe,Me)=>Me.indexOf(oe)===xe).map(oe=>u.filter(xe=>xe.priority===oe).sort((xe,Me)=>Me.subPriority-xe.subPriority)).map(oe=>oe[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let oe of g){if(!oe.validate(x,d))return a();let xe=oe.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function Ahe(e){return e.match(Ehe)[1].replace(khe,"'")}function Tb(e,t,n){let i=DS(),a=Nhe(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?Ohe(a,t):The(a,t)}function Ohe(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function The(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function Nhe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Mhe(e,t){let n=Vhe(t);return"formatToParts"in n?Rhe(n,e):Fhe(n,e)}var Phe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Rhe(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=Phe[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function Fhe(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Ju={},Nb=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Lhe=Nb==="06/25/2014, 00:00:00"||Nb==="06/25/2014 00:00:00";function Vhe(e){return Ju[e]||(Ju[e]=Lhe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ju[e]}function NS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Mb=36e5,zhe=6e4,eh={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function MS(e,t,n){if(!e)return 0;let i=eh.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=eh.timezoneHH.exec(e),i)return a=parseInt(i[1],10),Pb(a)?-(a*Mb):NaN;if(i=eh.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return Pb(a,s)?(r=Math.abs(a)*Mb+s*zhe,i[1]==="+"?-r:r):NaN}if(Hhe(e)){t=new Date(t||Date.now());let s=n?t:jhe(t),l=Ep(s,e);return-(n?l:Bhe(t,l,e))}return NaN}function jhe(e){return NS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Ep(e,t){let n=Mhe(e,t),i=NS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function Bhe(e,t,n){let i=e.getTime()-t,a=Ep(new Date(i),n);if(t===a)return t;i-=a-t;let r=Ep(new Date(i),n);return a===r?a:Math.max(a,r)}function Pb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Rb={};function Hhe(e){if(Rb[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Rb[e]=!0,!0}catch{return!1}}var $he=60*1e3,qhe={X:function(e,t,n){let i=th(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Fb(i);case"XXXX":case"XX":return Hr(i);case"XXXXX":case"XXX":default:return Hr(i,":")}},x:function(e,t,n){let i=th(n.timeZone,e);switch(t){case"x":return Fb(i);case"xxxx":case"xx":return Hr(i);case"xxxxx":case"xxx":default:return Hr(i,":")}},O:function(e,t,n){let i=th(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Yhe(i,":");case"OOOO":default:return"GMT"+Hr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Tb("short",e,n);case"zzzz":default:return Tb("long",e,n)}}};function th(e,t){let n=e?MS(e,t,!0)/$he:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ed(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function Hr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=ed(Math.floor(i/60),2),r=ed(Math.floor(i%60),2);return n+a+t+r}function Fb(e,t){return e%60===0?(e>0?"-":"+")+ed(Math.abs(e)/60,2):Hr(e,t)}function Yhe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+ed(r,2)}function Lb(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var Uhe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,ih=36e5,Vb=6e4,Ghe=2,Ci={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Uhe};function Whe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?Ghe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let i=Khe(e),{year:a,restDateString:r}=Zhe(i.date,n),s=Xhe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=Qhe(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=MS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Lb(new Date(l+c)),d=Lb(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function Khe(e){let t={},n=Ci.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Ci.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=Ci.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function Zhe(e,t){if(e){let n=Ci.YYY[t],i=Ci.YYYYY[t],a=Ci.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=Ci.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function Xhe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Ci.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,jb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Ci.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return tpe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ci.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return jb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Ci.Www.exec(e),r)return a=parseInt(r[1],10)-1,Bb(a)?zb(t,a):new Date(NaN);if(r=Ci.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Bb(a,s)?zb(t,a,s):new Date(NaN)}return null}function Qhe(e){let t,n,i=Ci.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),ah(t)?t%24*ih:NaN;if(i=Ci.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),ah(t,n)?t%24*ih+n*Vb:NaN;if(i=Ci.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return ah(t,n,a)?t%24*ih+n*Vb+a*1e3:NaN}return null}function zb(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var Jhe=[31,28,31,30,31,30,31,31,30,31,30,31],epe=[31,29,31,30,31,30,31,31,30,31,30,31];function PS(e){return e%400===0||e%4===0&&e%100!==0}function jb(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=PS(e);if(i&&n>epe[t]||!i&&n>Jhe[t])return!1}return!0}function tpe(e,t){if(t<1)return!1;let n=PS(e);return!(n&&t>366||!n&&t>365)}function Bb(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function ah(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var ipe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ape(e,t,n={}){t=String(t);let i=t.match(ipe);if(i){let a=Whe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+qhe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Qc(e,t,n)}var npe=(()=>{const t=class t{reportError(i){return ft({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),rpe=(()=>{const t=class t{constructor(){this.http=S(el),this.authService=S(Cr).getInstance(),this.apiUrl=S(No).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[ao.userType]:cr.getUserType({isProfessional:this.authService.isProfessional}),[ao.clientType]:mS()?cr.clientType.mobileApp:cr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ope=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(npe):this.injector.get(rpe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),spe=(()=>{const t=class t extends tde{constructor(){super(...arguments),this.version=_p,this.authServiceSelector=S(Cr),this.translateService=S(Yn),this.webComponentConfig=S(No),this.injector=S(lt),this.servicesStore=S(iu),this.matDialog=S(Nr),this.destroyRef=S($i),this.errorServiceSelector=S(ope),this.snackbarService=S(vS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return _t(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(i=>_t(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===ln.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===ln.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(Ade,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(i){this.matDialog.open(Ode,{data:i})}formatDateWithZone(){return ape(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function lpe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;W("value",n),D(),we(K(2,2,"commons.sortDropdown."+n))}}function cpe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ge(n);let i=P();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),he(2,"mat-icon",7),T()}if(e&2){let n=P();W("disabled",n.disabled()),_e("aria-label",K(1,2,"commons.sortDropdown.sorting-ascendant"))}}function dpe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ge(n);let i=P();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),he(2,"mat-icon",8),T()}if(e&2){let n=P();W("disabled",n.disabled()),_e("aria-label",K(1,2,"commons.sortDropdown.sorting-descendent"))}}var upe=(()=>{const t=class t{constructor(){this.sortData=Wte.required(),this.sortItems=It.required(),this.disabled=It(!1),this.sortDirection=au}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),de("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Ri(4,lpe,3,4,"mat-option",4,ba),T()()(),ne(6,cpe,3,4,"button",5)(7,dpe,3,4,"button",5),T()),i&2&&(D(3),W("value",a.sortData().sort)("disabled",a.disabled()),D(),Fi(a.sortItems()),D(2),se(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Un,Ao,Io,Cs,Zd,hS,Cf,tu,_a],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),hpe=["*"];function ppe(e,t){e&1&&Qs(0)}function mpe(e,t){if(e&1&&(I(0,"div",3),ne(1,ppe,1,0,"ng-container",5),T()),e&2){P();let n=Qi(5);D(),W("ngTemplateOutlet",n)}}function fpe(e,t){e&1&&Qs(0)}function gpe(e,t){if(e&1){let n=Ke();I(0,"div",6),de("click",function(){ge(n);let i=P();return ve(i.toggleExpanded())})("keydown.enter",function(){ge(n);let i=P();return ve(i.toggleExpanded())})("keydown.space",function(){ge(n);let i=P();return ve(i.toggleExpanded())}),ne(1,fpe,1,0,"ng-container",5),T()}if(e&2){let n=P(),i=Qi(5);_e("aria-label",n.currentExpandIconAriaLabel()),D(),W("ngTemplateOutlet",i)}}function vpe(e,t){e&1&&Qs(0)}function bpe(e,t){if(e&1&&ne(0,vpe,1,0,"ng-container",5),e&2){P();let n=Qi(7);W("ngTemplateOutlet",n)}}function ype(e,t){if(e&1&&(I(0,"h2"),B(1),T()),e&2){let n=P(3);D(),we(n.alertTitle())}}function _pe(e,t){if(e&1&&(I(0,"p"),B(1),T()),e&2){let n=P(3);D(),we(n.alertSubtitle())}}function xpe(e,t){if(e&1&&(I(0,"div"),ne(1,ype,2,1,"h2")(2,_pe,2,1,"p"),T()),e&2){let n=P(2);D(),se(n.alertTitle()?1:-1),D(),se(n.alertSubtitle()?2:-1)}}function wpe(e,t){e&1&&Qs(0)}function Spe(e,t){if(e&1&&ne(0,wpe,1,0,"ng-container",5),e&2){P(2);let n=Qi(7);W("ngTemplateOutlet",n)}}function Epe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",11),de("click",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())})("keydown.enter",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())})("keydown.space",function(){ge(n);let i=P(2);return ve(i.onCloseButtonClick())}),T()}if(e&2){let n=P(2);_e("aria-label",n.closeButtonAriaLabel())}}function kpe(e,t){if(e&1&&he(0,"mat-icon",10),e&2){let n=P(2);W("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function Cpe(e,t){if(e&1&&(he(0,"mat-icon",7),I(1,"div",8),ne(2,xpe,3,2,"div")(3,Spe,1,1,"ng-container"),T(),ne(4,Epe,1,1,"mat-icon",9)(5,kpe,1,1,"mat-icon",10)),e&2){let n=P();W("fontIcon",n.fontIcon()),D(2),se(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),D(2),se(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function Dpe(e,t){if(e&1){let n=Ke();I(0,"button",14),de("click",function(){ge(n);let i=P(2);return ve(i.onActionButtonClicked())}),B(1),T()}if(e&2){let n=P(2);W("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Ipe(e,t){if(e&1&&(I(0,"span",12),dt(1),T(),ne(2,Dpe,2,2,"button",13)),e&2){let n=P();D(2),se(n.actionButton()?2:-1)}}var Ape=(()=>{const t=class t{constructor(){o(this,"usage",It("info"));o(this,"backgroundColor",It("color"));o(this,"alertTitle",It());o(this,"alertSubtitle",It());o(this,"actionButton",It(!1));o(this,"buttonDisabled",It(!1));o(this,"buttonLabel",It());o(this,"dismissMode",It("pinned"));o(this,"closeButtonAriaLabel",It(""));o(this,"startExpanded",It(!1));o(this,"expandedButtonAriaLabel",It(""));o(this,"collapsedButtonAriaLabel",It(""));o(this,"closeButtonClicked",Ag());o(this,"actionButtonClicked",Ag());o(this,"expanded",Uae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Ti(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Ti(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Ti(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Ti(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:hpe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(i,a){i&1&&(Li(),I(0,"div",2),ne(1,mpe,2,1,"div",3)(2,gpe,2,2,"div",4)(3,bpe,1,1,"ng-container"),T(),ne(4,Cpe,6,3,"ng-template",null,0,np)(6,Ipe,3,1,"ng-template",null,1,np)),i&2&&(Sr(a.usage()),We("white",a.backgroundColor()==="white"),D(),se(a.dismissMode()!=="expandable"?1:2),D(2),se(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[I1,E1,Un,xa],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function Ope(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),T()()),e&2){let n=P();W("alertTitle",K(1,2,"commons.errors.data-not-available-title")),D(3),we(K(4,4,"commons.errors."+n.error().code))}}var Tpe=(()=>{const t=class t{constructor(){this.error=It.required(),this.vidisErrorGroup=ln}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&ne(0,Ope,5,6,"mh-alert",0),i&2&&se(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[_a,Ape],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),O=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(O||{}),Tf=new $("ngx-mask config"),RS=new $("new ngx-mask config"),FS=new $("initial ngx-mask config"),Npe={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new le,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};O.HOURS_MINUTES_SECONDS,O.HOURS_MINUTES,O.MINUTES_SECONDS;O.PERCENT,O.HOURS_HOUR,O.SECONDS,O.MINUTES,O.SEPARATOR,O.DAYS_MONTHS_YEARS,O.DAYS_MONTHS,O.DAYS,O.MONTHS;var Mpe=(()=>{const t=class t{constructor(){o(this,"_config",S(Tf));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(i,a,r,s)=>{var g;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(x),c=((g=i.match(x))==null?void 0:g[0])??O.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:O.EMPTY_STRING,u=l[0]??O.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,O.EMPTY_STRING);m&&+m&&(u[0]===O.MINUS?u=`-${u.slice(1,u.length).slice(0,m.length)}`:u=u.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(u);)u=u.replace(v,"$1"+a+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(O.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",i=>{let a=i.split(O.DOT);return a.length>1?Number(a[a.length-1]):1/0});o(this,"checkAndRemoveSuffix",i=>{var a,r,s,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(i.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,O.EMPTY_STRING)}return i});o(this,"checkInputPrecision",(i,a,r)=>{var c;let s=i,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),u=s.match(d),m=(u&&((c=u[0])==null?void 0:c.length))??0;if(m-1>a){let v=m-1-a;s=s.substring(0,s.length-v)}a===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,a){let[r,s]=a;return this.customPattern=s,this.applyMask(i,r)}applyMask(i,a,r=0,s=!1,l=!1,c=()=>{}){var Vt,vt,Ut;if(!a||typeof i!="string")return O.EMPTY_STRING;let d=0,u="",m=!1,v=!1,g=1,x=!1,w=i,k=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let N=w.toString().split(O.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS&&(u+=w.slice(d,d+1)),a===O.IP){let re=w.split(O.DOT);this.ipError=this._validIP(re),a="099.099.099.099"}let V=[];for(let re=0;re<w.length;re++)(Vt=w[re])!=null&&Vt.match("\\d")&&V.push(w[re]??O.EMPTY_STRING);if(a===O.CPF_CNPJ&&(this.cpfCnpjError=V.length!==11&&V.length!==14,V.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(O.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ve=this.getPrecision(a);w=this.checkInputPrecision(w,Ve,this.decimalMarker)}let re=typeof this.decimalMarker=="string"?this.decimalMarker:O.DOT;if(w.indexOf(re)>0&&!this.percentage(w.substring(0,w.indexOf(re)))){let Ve=w.substring(0,w.indexOf(re)-1);this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS&&!l&&(Ve=w.substring(0,w.indexOf(re))),w=`${Ve}${w.substring(w.indexOf(re),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(d,d+1)===O.MINUS?J=`${O.MINUS}${w.slice(d+1,d+w.length)}`:J=w,this.percentage(J)?u=this._splitPercentZero(w):u=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(O.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let re=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===O.DOT?O.COMMA:O.DOT:this.decimalMarker;if(re===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===O.MINUS&&w[1]===O.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==O.COMMA&&w[2]!==O.DOT?"-"+w.slice(2,w.length):w[0]===O.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==O.COMMA&&w[1]!==O.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===O.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==O.COMMA&&w[1]!==O.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=O.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===O.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===O.MINUS&&(w[1]===J||w[1]===O.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+O.NUMBER_ZERO+w.slice(1,w.length):w[1]===O.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Ze=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),it=w[k]===O.NUMBER_ZERO||w[k]===J,Nt=w[0]===O.NUMBER_ZERO,oa=w[0]===O.MINUS,bt=w[0]===this.thousandSeparator,ui=w[1]===J,ei=w[1]===O.NUMBER_ZERO,wa=w[2]===J;Nt&&ui&&it&&k<2&&(w=Ze),oa&&ei&&wa&&it&&k<3&&(w=O.MINUS+Ze),Ze!==O.MINUS&&(k===0&&(Nt||bt)||this.allowNegativeNumbers&&k===1&&oa&&!ei)&&(w=oa?O.MINUS+Ze:Ze)}let Ve=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ve,"");if(Array.isArray(this.decimalMarker))for(let Ze of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Ze),O.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let U=new RegExp("["+j+"]");w.match(U)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,re,this.decimalMarker);let ie=w.replace(new RegExp(Ve,"g"),"");u=this._formatWithSeparators(ie,this.thousandSeparator,this.decimalMarker,re);let $e=u.indexOf(O.COMMA)-w.indexOf(O.COMMA),ht=u.length-w.length,di=l&&u.length<i.length&&this.separatorLimit;if((u[k-1]===this.thousandSeparator||u[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(ht>0&&u[k]!==this.thousandSeparator||di){v=!0;let Ze=0;do this._shift.add(k+Ze),Ze++;while(Ze<ht)}else u[k-1]===this.thousandSeparator||ht===-4||ht===-3||u[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):$e!==0&&k>0&&!(u.indexOf(O.COMMA)>=k&&k>3)||!(u.indexOf(O.DOT)>=k&&k>3)&&ht<=0?(this._shift.clear(),v=!0,g=ht,k+=ht,this._shift.add(k)):this._shift.clear()}else for(let re=0,J=N[0];re<N.length&&d!==a.length;re++,J=N[re]??O.EMPTY_STRING){let Ve=O.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)&&a[d+1]===O.SYMBOL_QUESTION)u+=J,d+=2;else if(a[d+1]===O.SYMBOL_STAR&&m&&this._checkSymbolMask(J,a[d+2]??O.EMPTY_STRING))u+=J,d+=3,m=!1;else if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)&&a[d+1]===O.SYMBOL_STAR&&!Ve)u+=J,m=!0;else if(a[d+1]===O.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[d+2]??O.EMPTY_STRING))u+=J,d+=3;else if(this._checkSymbolMask(J,a[d]??O.EMPTY_STRING)){if(a[d]===O.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===O.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(J)>2||w.slice(d-1,d).length===1&&Number(w.slice(d-1,d))>2||w.slice(d-1,d)==="1"&&Number(J)>2:u==="2"&&Number(J)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(J)>3&&d>10)){k=k+1,d+=1,re--;continue}if((a[d]===O.MINUTE||a[d]===O.SECOND)&&Number(J)>5){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}let j=31,U=w[d],ie=w[d+1],$e=w[d+2],ht=w[d-1],di=w[d-2],Ze=w.slice(d-3,d-1),it=w.slice(d-1,d+1),Nt=w.slice(d,d+2),oa=w.slice(d-2,d);if(a[d]===O.DAY){let bt=a.slice(0,2)===O.MONTHS,ui=a.slice(0,2)===O.MONTHS&&this.specialCharacters.includes(di);if(Number(J)>3&&this.leadZeroDateTime||!bt&&(Number(Nt)>j||Number(it)>j||this.specialCharacters.includes(ie))||(ui?Number(it)>j||!this.specialCharacters.includes(U)&&this.specialCharacters.includes($e)||this.specialCharacters.includes(U):Number(Nt)>j||this.specialCharacters.includes(ie)&&!l)){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===O.MONTH){let bt=d===0&&(Number(J)>2||Number(Nt)>12||this.specialCharacters.includes(ie)&&!l),ui=a.slice(d+2,d+3),ei=Ze.includes(ui)&&a.includes("d0")&&(this.specialCharacters.includes(di)&&Number(it)>12&&!this.specialCharacters.includes(U)||this.specialCharacters.includes(U)),wa=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&this.specialCharacters.includes(ht)&&(Number(Nt)>12||this.specialCharacters.includes(ie)),_n=Number(Nt)>12&&d===5||this.specialCharacters.includes(ie)&&d===5,pl=Number(Ze)>j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(oa)&&Number(oa)>12&&a.includes("d0"),ml=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ht)&&Number(it)>12;if(Number(J)>1&&this.leadZeroDateTime||bt||ei||ml||pl||wa||_n&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,d+=1,this._shiftStep(a,d,N.length),re--,this.leadZeroDateTime&&(u+="0");continue}}u+=J,d++}else this.specialCharacters.includes(J)&&a[d]===J?(u+=J,d++):this.specialCharacters.indexOf(a[d]??O.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,N.length),re--):a[d]===O.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,N.length):this.patterns[a[d]??O.EMPTY_STRING]&&((vt=this.patterns[a[d]??O.EMPTY_STRING])!=null&&vt.optional)?(N[d]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Ut=this.patterns[a[d]??O.EMPTY_STRING])!=null&&Ut.optional)&&(u+=N[d]),a.includes(O.NUMBER_NINE+O.SYMBOL_STAR)&&a.includes(O.NUMBER_ZERO+O.SYMBOL_STAR)&&d++,d++,re--):this.maskExpression[d+1]===O.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??O.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&m||this.maskExpression[d+1]===O.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??O.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&m?(d+=3,u+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??O.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let R=k+1;for(;this._shift.has(R);)g++,R++;let oe=s&&!a.startsWith(O.SEPARATOR)?d:this._shift.has(k)?g:0;x&&oe--,c(oe,v),g<0&&this._shift.clear();let xe=!1;l&&(xe=N.every(re=>this.specialCharacters.includes(re)));let Me=`${this.prefix}${xe?O.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(Me=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let Jt=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Jt)return"";if(u.includes(O.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===O.MINUS)return"";Me=`${O.MINUS}${this.prefix}${u.split(O.MINUS).join(O.EMPTY_STRING)}${this.suffix}`}return Me}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((s=this.patterns[a])==null?void 0:s.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(O.EMPTY_STRING).filter((a,r)=>{let s=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||s||a===O.MINUS&&r===0&&this.allowNegativeNumbers}).join(O.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let s=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(s=>s!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===O.EMPTY_STRING||Number(a)>255:a===O.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===O.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(O.DOT),r=this.allowNegativeNumbers&&i.includes(O.MINUS)?"-":"";if(a===-1){let s=parseInt(r?i.slice(1,i.length):i,10);return isNaN(s)?O.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:O.DOT;return c===O.EMPTY_STRING?O.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ppe=(()=>{const t=class t extends Mpe{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",a=>{});o(this,"_elementRef",S(ze,{optional:!0}));o(this,"document",S(et));o(this,"_config",S(Tf));o(this,"_renderer",S(ra,{optional:!0}))}applyMask(a,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():O.EMPTY_STRING,this.maskExpression===O.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||O.HASH)),this.maskExpression===O.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||O.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??O.EMPTY_STRING:O.EMPTY_STRING,m="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let k=a&&a.length===1?a.split(O.EMPTY_STRING):this.actualValue.split(O.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==O.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>k.length?k.splice(this.selStart,0,u):a.length<k.length&&(k.length-a.length===1?c?k.splice(this.selStart-1,1):k.splice(a.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&k.length<=a.length?this.shiftTypedSymbols(k.join(O.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&this.specialCharacters.indexOf(this.maskExpression[v]??O.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==O.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,r,v,l,c,d);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===O.DOT&&this.decimalMarker===O.DOT&&(this.decimalMarker=O.COMMA),this.maskExpression.startsWith(O.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let x=g.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(O.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${w.slice(x+k)}`}else if(this.maskExpression===O.IP||this.maskExpression===O.CPF_CNPJ)return`${g}${w}`;return`${g}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,s=r.exec(a),l=0;for(;s!=null;)l+=1,s=r.exec(a);return l}applyValueChanges(a,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(O.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??O.EMPTY_STRING]&&((c=this.patterns[r[l]??O.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??O.EMPTY_STRING])==null?void 0:d.symbol:s}).join(O.EMPTY_STRING)}getActualValue(a){let r=a.split(O.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??O.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(O.EMPTY_STRING)===a?r.join(O.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(O.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(a[l+1]??O.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=s,a[l+1];if(r.length){let c=r;return r=O.EMPTY_STRING,c}return s})||[]).join(O.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(O.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(O.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${O.MINUS}/`,O.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===O.IP)return this._checkForIp(a);if(this.maskExpression===O.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,O.EMPTY_STRING).length&&(this.formElementProperty=["value",O.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(O.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===O.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<a.length;s++){let l=a[s]??O.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===O.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??O.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(a=this.document){var s;let r=(s=a==null?void 0:a.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===O.EMPTY_STRING||this.maskExpression.startsWith(O.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(O.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(O.SEPARATOR)&&Number.isNaN(r)){let s=String(a).replace(",",".");return Number(s)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(O.PERCENT)&&a.includes(O.DOT)?a:a&&a.replace(this._regExpForRemove(r),O.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,O.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,O.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(O.WHITE_SPACE)&&this.maskExpression.includes(O.SYMBOL_STAR)&&(r=r.filter(s=>s!==O.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),O.DOT)}_checkSymbols(a){let r=a;if(r===O.EMPTY_STRING)return r;this.maskExpression.startsWith(O.PERCENT)&&this.decimalMarker===O.COMMA&&(r=r.replace(O.COMMA,O.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,s;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(O.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let s=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===O.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(O.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===O.CURLY_BRACKETS_LEFT?l:this._start,s!==O.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(a.slice(this._start+1,this._end)),d=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(O.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(O.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Rpe(){let e=S(FS),t=S(RS);return t instanceof Function?Q(Q({},e),t()):Q(Q({},e),t)}function Fpe(e){return[{provide:RS,useValue:e},{provide:FS,useValue:Npe},{provide:Tf,useFactory:Rpe},Ppe]}function Lpe(e){return Qp(Fpe(e))}var LS={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(LS);var Vpe=LS,VS={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(VS);var zpe=VS,Ki=function(e,t,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},$r,ts,nr,jpe=class{constructor(...e){$r.set(this,new Map),ts.set(this,new Map),nr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Ki(this,nr,"f").has(n)||Ki(this,nr,"f").set(n,new Set);let a=Ki(this,nr,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Ki(this,ts,"f").set(n,s),r=!1,l)continue;let c=Ki(this,$r,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ki(this,$r,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Ki(this,$r,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Ki(this,ts,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ki(this,nr,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of Ki(this,nr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ki(this,$r,"f"),extensions:Ki(this,ts,"f")}}};$r=new WeakMap,ts=new WeakMap,nr=new WeakMap;var Bpe=jpe,zS=new Bpe(zpe,Vpe)._freeze(),Hpe=(()=>{const t=class t{constructor(){this.translate=S(Yn),this.cdRef=S(Lt),this.destroyRef=S($i),this.result="",this.translate.onLangChange.pipe(Do(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?zS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),Nf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),$pe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],qpe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Ype(e,t){e&1&&(I(0,"span",3),dt(1,1),T())}function Upe(e,t){e&1&&(I(0,"span",6),dt(1,2),T())}var Gpe=["*"],Wpe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Hb=new $("MatChipAvatar"),$b=new $("MatChipTrailingIcon"),kp=new $("MatChipRemove"),jS=new $("MatChip"),Cp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(jS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Vi).load(rl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&de("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:sn(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),BS=(()=>{const t=class t extends Cp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[xi([{provide:kp,useExisting:t}]),Ft]}));let e=t;return e})(),nu=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S(Lt));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(nl));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new ce);o(this,"_onBlur",new ce);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",S(wi).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new le);o(this,"destroyed",new le);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(yw));o(this,"_injector",S(lt));var r;let i=S(Vi);i.load(rl),i.load(Tr);let a=S(Ui,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Ji(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Hb,5),pi(r,$b,5),pi(r,kp,5),pi(r,Hb,5),pi(r,$b,5),pi(r,kp,5)),i&2){let s;Re(s=Fe())&&(a.leadingIcon=s.first),Re(s=Fe())&&(a.trailingIcon=s.first),Re(s=Fe())&&(a.removeIcon=s.first),Re(s=Fe())&&(a._allLeadingIcons=s),Re(s=Fe())&&(a._allTrailingIcons=s),Re(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(Cp,5),i&2){let r;Re(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&(yn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),Sr("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[xi([{provide:jS,useExisting:t}])],ngContentSelectors:qpe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(Li($pe),he(0,"span",0),I(1,"span",1)(2,"span",2),ne(3,Ype,2,0,"span",3),I(4,"span",4),dt(5),he(6,"span",5),T()()(),ne(7,Upe,2,0,"span",6)),i&2&&(D(2),W("isInteractive",!1),D(),se(a.leadingIcon?3:-1),D(4),se(a._hasTrailingIcon()?7:-1))},dependencies:[Cp],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
|
|
43
43
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),HS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S(Lt));o(this,"_dir",S(qi,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new ce);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new Tc)}get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){var i;(i=this._chips)==null||i.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(ea(null),pr(()=>Ji(...this._chips.map(i))))}_originatesFromChip(i){let a=i.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var i;this._chips.changes.pipe(ea(this._chips)).subscribe(a=>{let r=[];a.forEach(s=>s._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new Foe(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(At(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(At(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(ea(null),At(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(At(this._destroyed)).subscribe(i=>{let a=this._chips.toArray().indexOf(i.chip);this._isValidIndex(a)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[i];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&pi(r,nu,5),i&2){let s;Re(s=Fe())&&(a._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&_e("role",a.role)},inputs:{disabled:[2,"disabled","disabled",qe],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:sn(i)]},ngContentSelectors:Gpe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Li(),I(0,"div",0),dt(1),T())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
|
|
44
44
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),$S=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({providers:[kf,{provide:Wpe,useValue:{separatorKeyCodes:[13]}}],imports:[ai,nf,ai]}));let e=t;return e})(),qS=(()=>{const t=class t{constructor(){this.authService=S(Cr).getInstance(),this.templateRef=S(Ln),this.viewContainer=S(bn),this.cdRef=S(Lt)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=Se({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),Kpe=["*"],Zpe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function Xpe(e,t){e&1&&dt(0)}function Qpe(e,t){if(e&1&&(I(0,"div",0),ne(1,Xpe,1,0),T()),e&2){let n=P(),i=ov(0),a=ov(1);W("ngClass",vae(5,Zpe,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),_e("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),se(i==="custom-content"?1:-1)}}var YS=new $("ngx-skeleton-loader.config"),Jpe=(()=>{var t;const n=class n{constructor(){rg(this,t);var a,r,s,l,c,d;og(this,t,S(YS,{optional:!0})),this.count=It(((a=en(this,t))==null?void 0:a.count)||1,{transform:sn}),this.loadingText=It(((r=en(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=It(((s=en(this,t))==null?void 0:s.appearance)||"line"),this.animation=It(((l=en(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=It(((c=en(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=It(((d=en(this,t))==null?void 0:d.theme)||null),this.items=Ti(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Mae(),[...Array(u)].map((m,v)=>v)}),this.styles=Ti(()=>{var m,v,g;let u=this.theme();return(v=(m=en(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?Q(Q({},(g=en(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ce({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Kpe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(Li(),Ym(0)(1),Ri(2,Qpe,2,11,"div",0,ba)),a&2&&(rv(r.appearance()),D(),rv(r.animation()),D(),Fi(r.items()))},dependencies:[Js,Pne],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=n;return e})(),eme=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:YS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=kt({type:t}),t.ɵinj=Et({imports:[I1]});let e=t;return e})(),Mf=function(e){return e.author="author",e.date="date",e.role="role",e}(Mf||{}),ru=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new zn().set(ao.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Is=(()=>{const t=class t extends pS{constructor(i,a){super(i.getServices(),Ds.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ds.DIARY_NOTES),this.diarynoteApiService=S(ru),this.snackbarService=S(vS),this.translate=S(Yn),this.authServiceSelector=S(Cr),this.diarynotesStateSubject$=new rr({status:Fn.INITIAL}),this.filterStateSubject$=new rr({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new rr({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new rr({sort:Mf.date,order:au.descending}),this.patientSubject$=new rr(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return _t(this,null,function*(){return ude(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return _t(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return FZ(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return _t(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=Qe(Q({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return _t(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateFilter(i){return _t(this,null,function*(){this.filterStateSubject$.next(i);let a=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Q({},a),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return _t(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return _t(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=Qe(Q({},a),{dateRange:{from:null,until:null}}):r=Qe(Q({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadAttachment$(i){return this.diarynoteApiService.downloadDiaryNoteAttachment(i).pipe(xt(a=>{let r=a.body;if(!r||r.size===0)throw new Error("EMPTY_BLOB");let s=a.headers.get("Content-Type")||r.type||"application/octet-stream";return{fileName:this.getAttachmentFileName(i.attachmentIndex,s),content:r,mimeType:s}}),md(()=>(this.snackbarService.showError("commons.errors.general"),pd)))}getAttachmentFileName(i,a){let r=a?zS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)})},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let m=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:m}),status:Fn.SUCCESS}))}else{let m=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:m}),status:Fn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(pe(iu),pe(Cr))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),US=(()=>{const t=class t extends ru{constructor(){super(...arguments),this.http=S(el)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Qc(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Qc(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=Mf[r.sort]),r.order===au.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Q({},l),headers:this.buildClientIdHeader()})}downloadDiaryNoteAttachment({id:i,attachmentIndex:a,patientSsin:r,source:s,version:l}){let c={patientSsin:r,source:s??"vitalink",version:String(l??"")};return this.http.get(`/v1/diarynotes/${i}/download/${a}`,{params:c,headers:this.buildClientIdHeader(),responseType:"blob",observe:"response"}).pipe(md(d=>t0(()=>d)))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(xt(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tme={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T06:17:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Laurent",lastName:"Dupont",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T12:27:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Gerard",lastName:"Pierre",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"François",lastName:"Dupont",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Francois Alexandre","Pieter Dumont"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},ime={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Maxwel",lastName:"Bernard",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},ame={diaryNote:ime,statusCode:200},GS=(()=>{const t=class t extends ru{constructor(){super(...arguments),this.demoService=S(dde)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",tme,this.buildClientIdHeader())}downloadDiaryNoteAttachment({id:i,attachmentIndex:a,patientSsin:r,source:s,version:l}){let c="application/pdf",d=new Blob([`Demo PDF content for note=${i} idx=${a}`],{type:c}),u=new zn({"Content-Type":c});return ft(new Xm({status:200,body:d,headers:u}))}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,ame,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),nme=(e,t)=>e.getEnvironmentVariable("env")===kn.DEMO?t.get(GS):t.get(US),rme={provide:ru,useFactory:nme,deps:[No,lt]},ome=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
|
|
45
45
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),sme={passive:!0},lme=(()=>{const t=class t{constructor(){o(this,"_platform",S(Yt));o(this,"_ngZone",S(Ne));o(this,"_renderer",S(na).createRenderer(null,null));o(this,"_styleLoader",S(Vi));o(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return pd;this._styleLoader.load(ome);let a=Rn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let s=new ce,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(l)?(a.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),hi(this._renderer,a,"animationstart",c,sme)));return this._monitoredElements.set(a,{subject:s,unlisten:d}),s}stopMonitoring(i){let a=Rn(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({}));let e=t;return e})(),WS=new $("MAT_INPUT_VALUE_ACCESSOR"),dme=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ume=new $("MAT_INPUT_CONFIG"),KS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_platform",S(Yt));o(this,"ngControl",S(hl,{optional:!0,self:!0}));o(this,"_autofillMonitor",S(lme));o(this,"_ngZone",S(Ne));o(this,"_formField",S(Kd,{optional:!0}));o(this,"_renderer",S(ra));o(this,"_uid",S(wi).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",S(ume,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new ce);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(i=>Fv().has(i)));o(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let i=S(eu,{optional:!0}),a=S(Ef,{optional:!0}),r=S(kf),s=S(WS,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?vs(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new dS(r,this.ngControl,a,i,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&m1(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=io(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(bf.required))??!1}set required(i){this._required=io(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&Fv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==a&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(i){i!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(i):this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=io(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var i,a;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(i=this._cleanupIosKeyup)==null||i.call(this),(a=this._cleanupWebkitWheel)==null||a.call(this)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){if(i!==this.focused){if(!this._isNativeSelect&&i&&this.disabled&&this.disabledInteractive){let a=this._elementRef.nativeElement;a.type==="number"?(a.type="text",a.setSelectionRange(0,0),a.type="number"):a.setSelectionRange(0,0)}this.focused=i,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){dme.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(i){let a=this._elementRef.nativeElement,r=a.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||i;s=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=i;this._formFieldDescribedBy=i,s.length?a.setAttribute("aria-describedby",s.join(" ")):a.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}_ensureWheelDefaultBehavior(){var i;(i=this._cleanupWebkitWheel)==null||i.call(this),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,a){i&1&&de("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(yn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),_e("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),We("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",qe]},exportAs:["matInput"],features:[xi([{provide:pf,useExisting:t}]),bi]}));let e=t;return e})(),hme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({imports:[ai,Cs,Cs,cme,ai]}));let e=t;return e})(),pme=(e,t)=>({text:e,file:t});function mme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",11),de("removed",function(){ge(n);let i=P();return ve(i.selectedFile=void 0)}),B(1),I(2,"button",12),he(3,"mat-icon",13),T()()}if(e&2){let n=P();W("removable",!0),D(),Ie(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function fme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",6)(1,"label",14),B(2),H(3,"translate"),T(),I(4,"input",15),de("change",function(i){ge(n);let a=P();return ve(a.fileChanged(i))}),T()()}e&2&&(D(2),Ie(" ",K(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function gme(e,t){e&1&&(I(0,"mat-error",8),B(1),H(2,"translate"),T()),e&2&&(D(),we(K(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var vme=(()=>{const t=class t{constructor(){this.inputtedData="",this.showSizeError=!1}fileChanged(i){let a=i.target.files[0],r=a.size/1024/1024;this.showSizeError=r>6,this.selectedFile=this.showSizeError?void 0:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:32,vars:31,consts:[["mat-dialog-title",""],[1,"contact-info-form"],["for","note"],["appearance","outline",1,"formfield-wrapper"],["id","note","matInput","","maxlength","319",3,"ngModelChange","ngModel"],[3,"removable"],["clickable","",1,"mh-black","file-upload-chip"],["align","start"],[1,"size-error"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],[3,"removed","removable"],["matChipRemove",""],["fontIcon","close"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"div",1)(5,"label",2),B(6),H(7,"translate"),T(),I(8,"mat-form-field",3)(9,"textarea",4),$a("ngModelChange",function(r){return pn(a.inputtedData,r)||(a.inputtedData=r),r}),T(),I(10,"mat-hint"),B(11),H(12,"translate"),T()()(),I(13,"div")(14,"h3"),B(15),H(16,"translate"),T(),ne(17,mme,4,2,"mat-chip",5)(18,fme,5,3,"mat-chip",6),I(19,"div")(20,"mat-hint",7),B(21),H(22,"translate"),T(),ne(23,gme,3,3,"mat-error",8),T(),he(24,"div"),T()(),I(25,"mat-dialog-actions")(26,"button",9),B(27),H(28,"translate"),T(),I(29,"button",10),B(30),H(31,"translate"),T()()),i&2&&(D(),we(K(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),we(K(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),Ha("ngModel",a.inputtedData),D(2),Er(" ",a.inputtedData.length,"/319 ",K(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),we(K(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),se(a.selectedFile?17:18),D(4),we(K(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),se(a.showSizeError?23:-1),D(4),Ie(" ",K(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),W("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",gae(28,pme,a.inputtedData,a.selectedFile)),D(),Ie(" ",K(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[cl,Zd,_a,vp,dl,Pw,sS,Xd,Zw,oS,Sf,ll,KS,Ao,xa,Un,nu,BS,sl],styles:["textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"]});let e=t;return e})(),Dp=new $("MAT_DATE_LOCALE",{providedIn:"root",factory:bme});function bme(){return S(Bd)}var Br="Method not implemented",Gi=class{constructor(){o(this,"locale");o(this,"_localeChanges",new ce);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(Br)}getHours(e){throw new Error(Br)}getMinutes(e){throw new Error(Br)}getSeconds(e){throw new Error(Br)}parseTime(e,t){throw new Error(Br)}addSeconds(e,t){throw new Error(Br)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareTime(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Po=new $("mat-date-formats"),yme=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,_me=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function nh(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var xme=(()=>{const t=class t extends Gi{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",S(Dp,{optional:!0}));let a=S(Dp,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return nh(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return nh(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return nh(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((a=s.getWeekInfo)==null?void 0:a.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,s){let l=this._createDateWithOverflow(a,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Qe(Q({},r),{timeZone:"utc"}));return this._format(s,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let s=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(s)!=((this.getMonth(a)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(yme.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,s,l){let c=this.clone(a);return c.setHours(r,s,l,0),c}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let s=a.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,s){let l=new Date;return l.setFullYear(a,r,s),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(s)}_parseTimeString(a){let r=a.toUpperCase().match(_me);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),rh(s,0,23)&&rh(l,0,59)&&(c==null||rh(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function rh(e,t,n){return!isNaN(e)&&e>=t&&e<=n}function wme(e,t){return this._trackRow(t)}var ZS=(e,t)=>t.id;function Sme(e,t){if(e&1&&(I(0,"tr",0)(1,"td",3),B(2),T()()),e&2){let n=P();D(),zd("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n.numCols),D(),Ie(" ",n.label," ")}}function Eme(e,t){if(e&1&&(I(0,"td",3),B(1),T()),e&2){let n=P(2);zd("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n._firstRowOffset),D(),Ie(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function kme(e,t){if(e&1){let n=Ke();I(0,"td",6)(1,"button",7),de("click",function(i){let a=ge(n).$implicit,r=P(2);return ve(r._cellClicked(a,i))})("focus",function(i){let a=ge(n).$implicit,r=P(2);return ve(r._emitActiveDateChange(a,i))}),I(2,"span",8),B(3),T(),he(4,"span",9),T()()}if(e&2){let n=t.$implicit,i=t.$index,a=P().$index,r=P();zd("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),_e("data-mat-row",a)("data-mat-col",i),D(),We("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),W("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),_e("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),D(),We("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),D(),Ie(" ",n.displayValue," ")}}function Cme(e,t){if(e&1&&(I(0,"tr",1),ne(1,Eme,2,6,"td",4),Ri(2,kme,5,48,"td",5,ZS),T()),e&2){let n=t.$implicit,i=t.$index,a=P();D(),se(i===0&&a._firstRowOffset?1:-1),D(),Fi(n)}}function Dme(e,t){if(e&1&&(I(0,"th",2)(1,"span",6),B(2),T(),I(3,"span",3),B(4),T()()),e&2){let n=t.$implicit;D(2),we(n.long),D(2),we(n.narrow)}}var Ime=["*"];function Ame(e,t){}function Ome(e,t){if(e&1){let n=Ke();I(0,"mat-month-view",4),$a("activeDateChange",function(i){ge(n);let a=P();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),de("_userSelection",function(i){ge(n);let a=P();return ve(a._dateSelected(i))})("dragStarted",function(i){ge(n);let a=P();return ve(a._dragStarted(i))})("dragEnded",function(i){ge(n);let a=P();return ve(a._dragEnded(i))}),T()}if(e&2){let n=P();Ha("activeDate",n.activeDate),W("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function Tme(e,t){if(e&1){let n=Ke();I(0,"mat-year-view",5),$a("activeDateChange",function(i){ge(n);let a=P();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),de("monthSelected",function(i){ge(n);let a=P();return ve(a._monthSelectedInYearView(i))})("selectedChange",function(i){ge(n);let a=P();return ve(a._goToDateInView(i,"month"))}),T()}if(e&2){let n=P();Ha("activeDate",n.activeDate),W("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Nme(e,t){if(e&1){let n=Ke();I(0,"mat-multi-year-view",6),$a("activeDateChange",function(i){ge(n);let a=P();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),de("yearSelected",function(i){ge(n);let a=P();return ve(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){ge(n);let a=P();return ve(a._goToDateInView(i,"year"))}),T()}if(e&2){let n=P();Ha("activeDate",n.activeDate),W("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Mme(e,t){}var Pme=["button"],Rme=[[["","matDatepickerToggleIcon",""]]],Fme=["[matDatepickerToggleIcon]"];function Lme(e,t){e&1&&(un(),I(0,"svg",2),he(1,"path",3),T())}var Ro=(()=>{const t=class t{constructor(){o(this,"changes",new ce);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Vme=0,Pf=class{constructor(e,t,n,i,a={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",Vme++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=s}},zme={passive:!1,capture:!0},Ul={passive:!0,capture:!0},qb={passive:!0},fo=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(Yt));o(this,"_intl",S(Ro));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new le);o(this,"previewChange",new le);o(this,"activeDateChange",new le);o(this,"dragStarted",new le);o(this,"dragEnded",new le);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",S(lt));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",i=>i);o(this,"_enterHandler",i=>{if(this._skipNextFocus&&i.type==="focus"){this._skipNextFocus=!1;return}if(i.target&&this.isRange){let a=this._getCellFromElement(i.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:i}))}});o(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=Yb(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),sh(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});o(this,"_leaveHandler",i=>{this.previewEnd!==null&&this.isRange&&(i.type!=="blur"&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&!(i.relatedTarget&&this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))});o(this,"_mousedownHandler",i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=i.target&&this._getCellFromElement(i.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:i})})});o(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=sh(i.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(a);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:i})})});o(this,"_touchendHandler",i=>{let a=Yb(i);a&&this._mouseupHandler({target:a})});let i=S(ra),a=S(wi);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),S(Vi).load(rl),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[hi(i,r,"touchmove",this._touchmoveHandler,zme),hi(i,r,"mouseenter",this._enterHandler,Ul),hi(i,r,"focus",this._enterHandler,Ul),hi(i,r,"mouseleave",this._leaveHandler,Ul),hi(i,r,"blur",this._leaveHandler,Ul),hi(i,r,"mousedown",this._mousedownHandler,qb),hi(i,r,"touchstart",this._mousedownHandler,qb)];this._platform.isBrowser&&s.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:s}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(i=>i())}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){xr(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return lh(i,this.startValue,this.endValue)}_isRangeEnd(i){return ch(i,this.startValue,this.endValue)}_isInRange(i){return dh(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return lh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let s=this.rows[a][r-1];if(!s){let l=this.rows[a-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let s=this.rows[a][r+1];if(!s){let l=this.rows[a+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(i){return ch(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return dh(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return lh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return ch(i,this.previewStart,this.previewEnd)}_isInPreview(i){return dh(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){if(!this.isRange)return null;if(this.startValue===i&&this.endValue===i)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===i)return this._startDateLabelId;if(this.endValue===i)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(i===this.comparisonStart&&i===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(i===this.comparisonStart)return this._comparisonStartDateLabelId;if(i===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(i){let a=sh(i);if(a){let r=a.getAttribute("data-mat-row"),s=a.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[bi],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,a){i&1&&(ne(0,Sme,3,6,"tr",0),Ri(1,Cme,4,1,"tr",1,wme,!0),I(3,"span",2),B(4),T(),I(5,"span",2),B(6),T(),I(7,"span",2),B(8),T(),I(9,"span",2),B(10),T()),i&2&&(se(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Fi(a.rows),D(2),W("id",a._startDateLabelId),D(),Ie(" ",a.startDateAccessibleName,`
|
|
@@ -51,7 +51,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
|
|
|
51
51
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),iE=new $("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(Si);return()=>e.scrollStrategies.reposition()}});function qme(e){return()=>e.scrollStrategies.reposition()}var Yme={provide:iE,deps:[Si],useFactory:qme},aE=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_animationsDisabled",S(Ui,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",S(Lt));o(this,"_globalModel",S(As));o(this,"_dateAdapter",S(Gi));o(this,"_ngZone",S(Ne));o(this,"_rangeSelectionStrategy",S(QS,{optional:!0}));o(this,"_stateChanges");o(this,"_model");o(this,"_eventCleanups");o(this,"_animationFallback");o(this,"_calendar");o(this,"color");o(this,"datepicker");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"_isAbove");o(this,"_animationDone",new ce);o(this,"_isAnimating",!1);o(this,"_closeButtonText");o(this,"_closeButtonFocused");o(this,"_actionsPortal",null);o(this,"_dialogLabelId");o(this,"_handleAnimationEvent",i=>{let a=this._elementRef.nativeElement;i.target!==a||!i.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=i.type==="animationstart",a.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())});if(S(Vi).load(Tr),this._closeButtonText=S(Ro).closeCalendarLabel,!this._animationsDisabled){let i=this._elementRef.nativeElement,a=S(ra);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"animationstart",this._handleAnimationEvent),a.listen(i,"animationend",this._handleAnimationEvent),a.listen(i,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){var i,a;clearTimeout(this._animationFallback),(i=this._eventCleanups)==null||i.forEach(r=>r()),(a=this._stateChanges)==null||a.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){let a=this._model.selection,r=i.value,s=a instanceof Fa;if(s&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(l,this)}else r&&(s||!this._dateAdapter.sameDate(r,a))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,a){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,a&&this._changeDetectorRef.detectChanges()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&mt(Ip,5),i&2){let r;Re(r=Fe())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,a){i&2&&(Sr(a.color?"mat-"+a.color:""),We("mat-datepicker-content-touch",a.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!a._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"mat-calendar",1),de("yearSelected",function(r){return a.datepicker._selectYear(r)})("monthSelected",function(r){return a.datepicker._selectMonth(r)})("viewChanged",function(r){return a.datepicker._viewChanged(r)})("_userSelection",function(r){return a._handleUserSelection(r)})("_userDragDrop",function(r){return a._handleUserDragDrop(r)}),T(),ne(2,Mme,0,0,"ng-template",2),I(3,"button",3),de("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),B(4),T()()),i&2){let r;We("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),_e("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),D(),Sr(a.datepicker.panelClass),W("id",a.datepicker.id)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),D(),W("cdkPortalOutlet",a._actionsPortal),D(),We("cdk-visually-hidden",!a._closeButtonFocused),W("color",a.color||"primary"),D(),we(a._closeButtonText)}},dependencies:[Ioe,Ip,kr,xa],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
|
|
52
52
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Zb=(()=>{const t=class t{constructor(){o(this,"_overlay",S(Si));o(this,"_viewContainerRef",S(bn));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S(qi,{optional:!0}));o(this,"_model",S(As));o(this,"_scrollStrategy",S(iE));o(this,"_inputStateChanges",ct.EMPTY);o(this,"_document",S(et));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new le);o(this,"monthSelected",new le);o(this,"viewChanged",new le(!0));o(this,"dateClass");o(this,"openedStream",new le);o(this,"closedStream",new le);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",S(wi).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new ce);o(this,"_injector",S(lt));o(this,"_changeDetectorRef",S(Lt));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=Voe(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Ew&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=to(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe(mi(1)).subscribe(()=>{let c=this._document.activeElement;i&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new jn(aE,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new ol({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||xr(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:s},{originX:a,originY:s,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return Ji(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(oi(r=>r.keyCode===27&&!Ii(r)||this.datepickerInput&&Ii(r,"altKey")&&r.keyCode===38&&a.every(s=>!Ii(r,s)))))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",qe],disabled:[2,"disabled","disabled",qe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",qe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",qe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[bi]}));let e=t;return e})(),Ume=(()=>{const t=class t extends Zb{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[xi([XS,{provide:Zb,useExisting:t}]),Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Gl=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},Gme=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Po,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new le);o(this,"dateInput",new le);o(this,"stateChanges",new ce);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",ct.EMPTY);o(this,"_localeSubscription",ct.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMinDate();return!r||!a||this._dateAdapter.compareDate(r,a)<=0?null:{matDatepickerMin:{min:r,actual:a}}});o(this,"_maxValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMaxDate();return!r||!a||this._dateAdapter.compareDate(r,a)>=0?null:{matDatepickerMax:{max:r,actual:a}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){Wme(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Ii(i,"altKey")&&i.keyCode===40&&a.every(r=>!Ii(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",qe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[bi]}));let e=t;return e})();function Wme(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var Kme={provide:mf,useExisting:mn(()=>Rf),multi:!0},Zme={provide:ul,useExisting:mn(()=>Rf),multi:!0},Rf=(()=>{const t=class t extends Gme{constructor(){super();o(this,"_formField",S(Kd,{optional:!0}));o(this,"_closedSubscription",ct.EMPTY);o(this,"_openedSubscription",ct.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",Pa(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=bf.compose(super._getValidators())}set matDatepicker(a){a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(a.registerInput(this)))}get min(){return this._min}set min(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(a){let r=this._matchesFilter(this.value);this._dateFilter=a,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(a){return a}_assignValueToModel(a){this._model&&this._model.updateSelection(a,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(a){return a.source!==this}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&de("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),a&2&&(yn("disabled",r.disabled),_e("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[xi([Kme,Zme,{provide:WS,useExisting:t}]),Ft]}));let e=t;return e})(),Xme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),nE=(()=>{const t=class t{constructor(){o(this,"_intl",S(Ro));o(this,"_changeDetectorRef",S(Lt));o(this,"_stateChanges",ct.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let i=S(new gm("tabindex"),{optional:!0}),a=Number(i);this.tabIndex=a||a===0?a:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:ft(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ft(),r=this.datepicker?Ji(this.datepicker.openedStream,this.datepicker.closedStream):ft();this._stateChanges.unsubscribe(),this._stateChanges=Ji(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&pi(r,Xme,5),i&2){let s;Re(s=Fe())&&(a._customIcon=s.first)}},viewQuery:function(i,a){if(i&1&&mt(Pme,5),i&2){let r;Re(r=Fe())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&de("click",function(r){return a._open(r)}),i&2&&(_e("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),We("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",qe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[bi],ngContentSelectors:Fme,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,a){i&1&&(Li(Rme),I(0,"button",1,0),ne(2,Lme,2,0,":svg:svg",2),dt(3),T()),i&2&&(W("disabled",a.disabled)("disableRipple",a.disableRipple),_e("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex)("aria-expanded",a.datepicker?a.datepicker.opened:null),D(2),se(a._customIcon?-1:2))},dependencies:[Io],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
|
|
53
53
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Qme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",Et({providers:[Ro,Yme],imports:[Ao,Wd,hw,Es,ai,aE,nE,tE,$c]}));let e=t;return e})();function Jme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(K(2,1,"commons.errors.invalid_date_format")))}function efe(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(K(2,1,"diaryNotesPage.filters.errFrom")))}function tfe(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(K(2,1,"commons.errors.invalid_date_format")))}function ife(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(K(2,1,"diaryNotesPage.filters.errUntil")))}function afe(e,t){e&1&&he(0,"mat-option",18)}function nfe(e,t){if(e&1&&(I(0,"mat-option",19),B(1),T()),e&2){let n=t.$implicit;jd("value",n),_e("translate","no"),D(),we(n)}}function rfe(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ge(n);let a=P(2);return a.filter.author="",ve(i.stopPropagation())}),he(3,"mat-icon",22),T()}e&2&&(W("title",K(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",K(2,4,"diaryNotesPage.filters.deleteSelection")))}function ofe(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",16),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",17),$a("ngModelChange",function(i){ge(n);let a=P();return pn(a.filter.author,i)||(a.filter.author=i),ve(i)}),ne(6,afe,1,0,"mat-option",18),Ri(7,nfe,2,3,"mat-option",19,ba),T(),ne(9,rfe,4,6,"button",20),T()()}if(e&2){let n=P();D(2),we(K(3,4,"diaryNotesPage.filters.author")),D(3),Ha("ngModel",n.filter.author),D(),se(n.filter.author?6:-1),D(),Fi(t),D(2),se(n.filter.author?9:-1)}}function sfe(e,t){e&1&&he(0,"mat-option",18)}function lfe(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),T()),e&2){let n=t.$implicit;jd("value",n),_e("translate","no"),D(),Ie("",K(3,5,K(2,3,"commons.roles."+n.toLowerCase()))," ")}}function cfe(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ge(n);let a=P(2);return a.filter.role=void 0,ve(i.stopPropagation())}),he(3,"mat-icon",22),T()}e&2&&(W("title",K(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",K(2,4,"diaryNotesPage.filters.deleteSelection")))}function dfe(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",23),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",24),$a("ngModelChange",function(i){ge(n);let a=P();return pn(a.filter.role,i)||(a.filter.role=i),ve(i)}),ne(6,sfe,1,0,"mat-option",18),Ri(7,lfe,4,7,"mat-option",19,ba),T(),ne(9,cfe,4,6,"button",20),T()()}if(e&2){let n=P();D(2),we(K(3,4,"diaryNotesPage.filters.role")),D(3),Ha("ngModel",n.filter.role),D(),se(n.filter.role?6:-1),D(),Fi(t),D(2),se(n.filter.role?9:-1)}}function ufe(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),T()),e&2){let n=t.$implicit;jd("value",n),D(),Ie(" ",K(3,4,K(2,2,"commons.tags."+n.toLowerCase()))," ")}}function hfe(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ge(n);let a=P(2);return a.filter.tags=[],ve(i.stopPropagation())}),he(3,"mat-icon",22),T()}e&2&&(W("title",K(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",K(2,4,"diaryNotesPage.filters.deleteSelection")))}function pfe(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",25),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",26),$a("ngModelChange",function(i){ge(n);let a=P();return pn(a.filter.tags,i)||(a.filter.tags=i),ve(i)}),Ri(6,ufe,4,6,"mat-option",19,ba),T(),ne(8,hfe,4,6,"button",20),T()()}if(e&2){let n=P();D(2),we(K(3,3,"diaryNotesPage.filters.tags")),D(3),Ha("ngModel",n.filter.tags),D(),Fi(t),D(2),se((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var mfe=(()=>{const t=class t{constructor(){this.translateService=S(Yn),this.dateAdapter=S(Gi),this.destroyRef=S($i),this.data=S(uf),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=Qe(Q({},i),{dateRange:{from:i.dateRange.from?new Date(i.dateRange.from):null,until:i.dateRange.until?new Date(i.dateRange.until):null}})}}ngOnInit(){this.dateAdapter.setLocale(this.translateService.currentLang),this.filterOptions=this.data.filterOptions,this.authors=this.filterOptions.authors,this.roles=this.filterOptions.roles,this.tags=this.filterOptions.tags,this.data.activeFilters$.pipe(iX()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(Do(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)})}onSelectFromDate(i){this.filter.dateRange.from=i.value}onSelectUntilDate(i){this.filter.dateRange.until=i.value}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:40,vars:33,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],[1,"date-range"],[1,"mh-form-field"],["for","fromFilter"],["appearance","outline"],["id","fromFilter","matInput","","name","fromPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","max"],["matSuffix","",3,"for"],["startView","month",3,"startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=Ke();I(0,"h2",4),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"form")(5,"div",5)(6,"div",6)(7,"label",7),B(8),H(9,"translate"),T(),I(10,"mat-form-field",8)(11,"input",9,0),$a("ngModelChange",function(s){return ge(r),pn(a.filter.dateRange.from,s)||(a.filter.dateRange.from=s),ve(s)}),de("dateChange",function(s){return ge(r),ve(a.onSelectFromDate(s))}),T(),he(13,"mat-datepicker-toggle",10)(14,"mat-datepicker",11,1),ne(16,Jme,3,3,"mat-error")(17,efe,3,3,"mat-error"),T()(),I(18,"div",6)(19,"label",12),B(20),H(21,"translate"),T(),I(22,"mat-form-field",8)(23,"input",13,2),$a("ngModelChange",function(s){return ge(r),pn(a.filter.dateRange.until,s)||(a.filter.dateRange.until=s),ve(s)}),de("dateChange",function(s){return ge(r),ve(a.onSelectUntilDate(s))}),T(),he(25,"mat-datepicker-toggle",10)(26,"mat-datepicker",11,3),ne(28,tfe,3,3,"mat-error")(29,ife,3,3,"mat-error"),T()()(),ne(30,ofe,10,6,"div",6)(31,dfe,10,6,"div",6)(32,pfe,9,5,"div",6),T()(),I(33,"mat-dialog-actions")(34,"button",14),B(35),H(36,"translate"),T(),I(37,"button",15),B(38),H(39,"translate"),T()()}if(i&2){let r,s,l,c=Qi(12),d=Qi(15),u=Qi(24),m=Qi(27);D(),we(K(2,23,"diaryNotesPage.filters.filter")),D(7),we(K(9,25,"diaryNotesPage.filters.from")),D(3),Ha("ngModel",a.filter.dateRange.from),W("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),D(2),W("for",d),D(),W("startAt",a.today),D(2),se(c.hasError("matDatepickerParse")?16:c.hasError("matDatepickerMax")?17:-1),D(4),we(K(21,27,"diaryNotesPage.filters.until")),D(3),Ha("ngModel",a.filter.dateRange.until),W("matDatepicker",m)("min",a.filter.dateRange.from)("max",a.today),D(2),W("for",m),D(),W("startAt",a.today),D(2),se(u.hasError("matDatepickerParse")?28:u.hasError("matDatepickerMin")?29:-1),D(2),se((r=a.authors)?30:-1,r),D(),se((s=a.roles)?31:-1,s),D(),se((l=a.tags)?32:-1,l),D(3),Ie(" ",K(36,29,"diaryNotesPage.cancel")," "),D(2),W("disabled",c.invalid||u.invalid)("mat-dialog-close",a.filter),D(),Ie(" ",K(39,31,"diaryNotesPage.confirm")," ")}},dependencies:[cl,Zd,nE,Ume,Cf,tu,dl,sl,sS,ice,Xd,Zw,Vle,Sf,eu,Io,Rf,KS,ll,hf,Cs,Pw,ble,hme,Qme,hS,yp,Ao,xa,_a,Nf,Un,Hse],styles:["@media only screen and (min-width: 960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"]});let e=t;return e})();function ffe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ge(n);let i=P(2);return ve(i.onClearFilter("author"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"firstLetterUppercase"),T(),I(6,"button",5),he(7,"mat-icon",6),T()()}if(e&2){let n=P(),i=P();W("removable",!0)("disabled",i.disabled),D(),Ie(" ",K(2,5,"diaryNotesPage.filters.author"),": "),D(2),_e("translate","no"),D(),we(K(5,7,n.author))}}function gfe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ge(n);let i=P(2);return ve(i.onClearFilter("role"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"translate"),H(6,"firstLetterUppercase"),T(),I(7,"button",5),he(8,"mat-icon",6),T()()}if(e&2){let n=P(),i=P();W("removable",!0)("disabled",i.disabled),D(),Ie(" ",K(2,5,"diaryNotesPage.filters.role"),": "),D(2),_e("translate","no"),D(),Ie("",K(6,9,K(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function vfe(e,t){e&1&&B(0," , ")}function bfe(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"firstLetterUppercase"),ne(3,vfe,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;Ie(" ",K(2,4,K(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),se(i!==a-1?3:-1)}}function yfe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ge(n);let i=P(2);return ve(i.onClearFilter("tags"))}),B(1),H(2,"translate"),I(3,"span"),Ri(4,bfe,4,6,null,null,ba),T(),I(6,"button",5),he(7,"mat-icon",6),T()()}if(e&2){let n=P(),i=P();W("removable",!0)("disabled",i.disabled),D(),Ie(" ",K(2,4,"diaryNotesPage.filters.tags"),":"),D(2),_e("translate","no"),D(),Fi(n==null?null:n.tags)}}function _fe(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=P(2);Er(" ",K(1,2,"diaryNotesPage.filters.from")," : ",qn(2,4,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ")}}function xfe(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=P(2);Er(" ",K(1,2,"diaryNotesPage.filters.until")," : ",qn(2,4,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function wfe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ge(n);let i=P(2);return ve(i.onClearFilter("range"))}),ne(1,_fe,3,7)(2,xfe,3,7),I(3,"button",5),he(4,"mat-icon",6),T()()}if(e&2){let n=P(),i=P();W("removable",!0)("disabled",i.disabled),D(),se(n.dateRange.from?1:-1),D(),se(n!=null&&n.dateRange.until?2:-1)}}function Sfe(e,t){if(e&1&&(I(0,"mat-chip-set"),ne(1,ffe,8,9,"mat-chip",3)(2,gfe,9,11,"mat-chip",3)(3,yfe,8,6,"mat-chip",3)(4,wfe,5,4,"mat-chip",3),T()),e&2){let n=t;D(),se(n!=null&&n.author&&n.author!==""?1:-1),D(),se(n!=null&&n.role&&n.role!==""?2:-1),D(),se(n!=null&&n.tags&&n.tags.length>0?3:-1),D(),se(n.dateRange.from||n!=null&&n.dateRange.until?4:-1)}}var Efe=(()=>{const t=class t{constructor(){this.diarynoteService=S(Is),this.destroyRef=S($i),this.dialog=S(Nr),this.activeFilters$=this.diarynoteService.filterState$.pipe(bc({refCount:!0,bufferSize:1}))}onShowFilterDialog(){this.dialog.open(mfe,{data:{filterOptions:this.filterOptions,activeFilters$:this.activeFilters$}}).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.updateFilter(i)})}onClearFilter(i){this.diarynoteService.clearFilterByKey(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},decls:7,vars:7,consts:[[1,"filter-container"],["mat-stroked-button","",3,"click","disabled"],["fontIcon","tune"],[3,"removable","disabled"],[3,"removed","removable","disabled"],["matChipRemove",""],["fontIcon","close"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"button",1),de("click",function(){return a.onShowFilterDialog()}),he(2,"mat-icon",2),B(3),H(4,"translate"),T(),ne(5,Sfe,5,4,"mat-chip-set"),H(6,"async"),T()),i&2){let r;D(),W("disabled",a.disabled),D(2),Ie(" ",K(4,3,"diaryNotesPage.filters.filter")," "),D(2),se((r=K(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[_a,Nf,D1,C1,xa,Un,$S,nu,BS,HS],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),kfe=["*"],Cfe=new $("MAT_CARD_CONFIG"),Dfe=(()=>{const t=class t{constructor(){o(this,"appearance");let i=S(Cfe,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&We("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:kfe,decls:1,vars:0,template:function(i,a){i&1&&(Li(),dt(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
54
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ife=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Afe=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Ofe=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,m,v,g;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(m=this.user.professional)==null?void 0:m.nihii11)||this.equalsCheck((g=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:g.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),Tfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),T()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),T(),I(11,"button",2),B(12),H(13,"translate"),T()()),i&2&&(D(),we(K(2,6,"diaryNotesPage.delete-dialog.title")),D(4),we(K(6,8,"diaryNotesPage.delete-dialog.message")),D(3),W("mat-dialog-close",!1),D(),Ie(" ",K(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),W("mat-dialog-close",!0),D(),Ie(" ",K(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[cl,dl,_a,xa,sl,ll],encapsulation:2});let e=t;return e})(),rE=e=>({"strike-through":e}),Nfe=e=>({count:e});function Mfe(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),T()),e&2){let n=P().$implicit;D(),Er("",K(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Pfe(e,t){if(e&1&&(I(0,"mat-chip",5),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;W("disableRipple",!0),D(),Ie(" ",K(2,2,"commons.tags."+n)," ")}}function Rfe(e,t){if(e&1&&(he(0,"dt",4),I(1,"dd")(2,"mat-chip-set"),Ri(3,Pfe,3,4,"mat-chip",5,ba),T()()),e&2){let n=P(2).$implicit;D(3),Fi(n.tags)}}function Ffe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",8),de("click",function(){let i=ge(n).$index,a=P(3).$implicit,r=P();return ve(r.onDownloadFile(a,i))}),he(1,"mat-icon",9),B(2),H(3,"attachementFilename"),T()}if(e&2){let n=t.$implicit,i=t.$index,a=P(4);W("disabled",a.isOffline),D(2),Ie(" ",qn(3,2,n.contentType,i)," ")}}function Lfe(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),T(),I(3,"dd",6),Ri(4,Ffe,4,5,"mat-chip",7,ba),T()),e&2){let n=P(2).$implicit,i=P();D(),we(qn(2,2,"diaryNotesPage.table.attachment",Fc(5,Nfe,n.attachments.length))),D(2),W("ngClass",Fc(7,rE,!i.diaryNoteCompleted(n.status))),D(),Fi(n.attachments)}}function Vfe(e,t){if(e&1){let n=Ke();I(0,"button",12),de("click",function(){ge(n);let i=P(3).$implicit,a=P();return ve(a.onDeleteNote(i))}),he(1,"mat-icon",13),T()}}function zfe(e,t){if(e&1&&(I(0,"mat-card-actions",10),ne(1,Vfe,2,0,"button",11),H(2,"canDeleteDiarynote"),T()),e&2){let n=P(2).$implicit,i=P();D(),se(qn(2,1,n,i.userInfo)?1:-1)}}function jfe(e,t){if(e&1&&(I(0,"dl"),ne(1,Rfe,5,0),I(2,"dt"),B(3),H(4,"translate"),T(),I(5,"dd"),B(6),H(7,"date"),T(),I(8,"dt"),B(9),H(10,"translate"),T(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),T(),I(17,"dt"),B(18),H(19,"translate"),T(),he(20,"dd",2),H(21,"firstLetterUppercase"),ne(22,Lfe,6,9),T(),ne(23,zfe,3,4,"mat-card-actions",3)),e&2){let n=P().$implicit,i=P();D(),se((n.tags==null?null:n.tags.length)>0?1:-1),D(2),we(K(4,12,"diaryNotesPage.table.date")),D(3),we(qn(7,14,n.creation,"dd/MM/yyyy, HH:mm")),D(3),we(K(10,17,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),r1(" ",K(13,19,n.author.lastName)," ",K(14,21,n.author.firstName)," (",K(16,25,K(15,23,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),we(K(19,27,"diaryNotesPage.table.note")),D(2),W("ngClass",Fc(31,rE,!i.diaryNoteCompleted(n.status)))("innerHTML",K(21,29,n.content),MJ),D(2),se((n.attachments==null?null:n.attachments.length)>0?22:-1)}}function Bfe(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),ne(3,Mfe,3,4,"span",1)(4,jfe,24,33),T()()()),e&2){let n=t.$implicit;D(3),se(n!=null&&n.error?3:4)}}var Hfe=(()=>{const t=class t{constructor(){this.authService=S(Cr).getInstance(),this.diarynoteService=S(Is),this.dialog=S(Nr),this.destroyRef=S($i),this.downloadRequested=new le}get isOffline(){return this.authService.isOfflineAuthenticated}diaryNoteCompleted(i){return Is.isDiaryNoteCompleted(i)}onDeleteNote(i){this.dialog.open(Tfe).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}onDownloadFile(i,a){this.downloadRequested.emit({id:i.id,version:i.version,source:i.source,patientSsin:i.subject.ssin,attachmentIndex:a})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},outputs:{downloadRequested:"downloadRequested"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end",4,"hideIfOffline"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable","",3,"disabled"],["clickable","",3,"click","disabled"],["aria-hidden","true","fontIcon","insert_drive_file"],["align","end"],["mat-icon-button","","aria-label","Delete"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Ri(0,Bfe,5,1,"mat-card",null,ba),i&2&&Fi(a.diaryNoteDataItems)},dependencies:[Js,D1,_a,Nf,Dfe,Ife,Un,Io,Afe,Hpe,Ofe,$S,nu,HS,qS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),$fe=()=>[10,25,50],qfe=e=>({addNote:e}),Yfe=()=>({height:"47px",margin:"0"});function Ufe(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),T())}function Gfe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",4),de("click",function(){ge(n);let i=P(3);return ve(i.onAddNote())}),I(2,"mat-icon",5),B(3,"add_circle"),T(),B(4),H(5,"translate"),T()()}if(e&2){let n=P(),i=P(2);D(),W("disabled",n.status===i.loadingStatus.LOADING),D(3),Ie(" ",K(5,2,"diaryNotesPage.table.addNote")," ")}}function Wfe(e,t){if(e&1&&he(0,"vidis-diarynotes-filter-block",8),e&2){let n=P(2),i=P(2);W("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING)}}function Kfe(e,t){if(e&1){let n=Ke();I(0,"vidis-sort-dropdown",9),de("sortDataChange",function(i){ge(n);let a=P(4);return ve(a.handleSortEvent(i))}),T()}if(e&2){let n=P(2),i=P(2);W("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function Zfe(e,t){e&1&&(I(0,"div",1),ne(1,Wfe,1,3,"vidis-diarynotes-filter-block",6)(2,Kfe,1,3,"vidis-sort-dropdown",7),T())}function Xfe(e,t){if(e&1&&he(0,"vidis-status-message",2),e&2){let n=P();W("error",n.error)}}function Qfe(e,t){if(e&1&&he(0,"vidis-error-display",11),e&2){let n=t.$implicit;W("message",n.code)}}function Jfe(e,t){if(e&1&&Ri(0,Qfe,1,1,"vidis-error-display",11,ba),e&2){let n=P(2);Fi(n.data==null?null:n.data.errors)}}function ege(e,t){if(e&1){let n=Ke();I(0,"vidis-diarynotes-table",12),de("downloadRequested",function(i){ge(n);let a=P(4);return ve(a.onDownloadRequested(i))}),T(),I(1,"mat-paginator",13),H(2,"async"),de("page",function(i){ge(n);let a=P(4);return ve(a.handlePageEvent(i))}),T()}if(e&2){let n=P(2),i=P(2);W("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),W("length",n.data==null?null:n.data.totalItems)("pageSize",K(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",l1(10,$fe))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function tge(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),T(),I(3,"div",14)(4,"p",15),B(5),H(6,"translate"),he(7,"br"),B(8),H(9,"translate"),H(10,"translate"),T(),I(11,"p",15),B(12),H(13,"translate"),he(14,"br"),B(15),H(16,"translate"),he(17,"br"),B(18),H(19,"translate"),he(20,"br"),B(21),H(22,"translate"),T()()),e&2&&(D(),we(K(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",K(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",qn(10,13,"diaryNotesPage.noNote.part2",Fc(24,qfe,K(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",K(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",K(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",K(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",K(22,22,"diaryNotesPage.noNote.part6")," "))}function ige(e,t){if(e&1){let n=Ke();I(0,"p",10)(1,"span"),B(2),H(3,"translate"),T(),I(4,"button",16),de("click",function(){ge(n);let i=P(4);return ve(i.clearAllFilters())}),B(5),H(6,"translate"),T()()}e&2&&(D(2),we(K(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",K(6,4,"diaryNotesPage.filters.clearfilters")," "))}function age(e,t){if(e&1&&(ne(0,Jfe,2,0)(1,ege,3,11),H(2,"async"),ne(3,tge,23,26)(4,ige,7,6,"p",10)),e&2){let n=P(),i=P(2);se(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),se((n.data==null?null:n.data.totalItems)>0?1:K(2,2,i.isFilterEmpty$)?3:4)}}function nge(e,t){e&1&&he(0,"ngx-skeleton-loader",3),e&2&&W("count",10)("theme",l1(2,Yfe))}function rge(e,t){if(e&1&&(ne(0,Gfe,6,4,"div",0)(1,Zfe,3,0,"div",1),H(2,"async"),ne(3,Xfe,1,1,"vidis-status-message",2)(4,age,5,4)(5,nge,1,3,"ngx-skeleton-loader",3)),e&2){let n,i=t,a=P(2);D(),se((i.data==null?null:i.data.totalItems)>0||K(2,2,a.isFilterEmpty$)===!1?1:-1),D(2),se((n=i.status)===a.loadingStatus.ERROR?3:n===a.loadingStatus.SUCCESS?4:n===a.loadingStatus.LOADING?5:-1)}}function oge(e,t){if(e&1&&(ne(0,rge,6,4),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),T()),e&2){let n,i=P();se((n=K(1,2,i.diarynotesState$))?0:-1,n),D(3),we(K(4,4,"diaryNotesPage.disclaimer"))}}var sge=(()=>{const t=class t extends spe{constructor(){super(...arguments),this.dialog=S(Nr),this.getTotalItems=new le,this.onDownload=new le,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Fn,this.sortDropdownData=["date","author","role"]}fetchData(i){return _t(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(vme).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}onDownloadRequested(i){this.diarynoteService.downloadAttachment$(i).pipe(mi(1)).subscribe(a=>{a&&this.onDownload.emit(a)})}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Is),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,yd(this.injector,()=>{this.sortDataState=ioe(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(xt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(xt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems",onDownload:"onDownload"},features:[xi([Is,US,GS,rme]),Ft],decls:2,vars:1,consts:[[4,"hideIfOffline"],[1,"filter-container"],[3,"error"],[3,"count","theme"],["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[3,"filterOptions","services","disabled",4,"hideIfOffline"],[3,"sortItems","sortData","disabled","sortDataChange",4,"hideIfOffline"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"downloadRequested","diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&ne(0,Ufe,2,0,"div")(1,oge,5,6),i&2&&se(a.isCorrectlySetup()?1:0)},dependencies:[Qce,xa,Un,Hfe,Efe,upe,eme,Jpe,_a,C1,Tpe,Jce,qS],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),oE={};Ae(oE,{default:()=>lge,friday:()=>uE,monday:()=>sE,saturday:()=>hE,sunday:()=>pE,thursday:()=>dE,tuesday:()=>lE,wednesday:()=>cE});var sE="Montag",lE="Dienstag",cE="Mittwoch",dE="Donnerstag",uE="Freitag",hE="Samstag",pE="Sonntag",lge={monday:sE,tuesday:lE,wednesday:cE,thursday:dE,friday:uE,saturday:hE,sunday:pE},mE={};Ae(mE,{default:()=>cge,friday:()=>yE,monday:()=>fE,saturday:()=>_E,sunday:()=>xE,thursday:()=>bE,tuesday:()=>gE,wednesday:()=>vE});var fE="Monday",gE="Tuesday",vE="Wednesday",bE="Thursday",yE="Friday",_E="Saturday",xE="Sunday",cge={monday:fE,tuesday:gE,wednesday:vE,thursday:bE,friday:yE,saturday:_E,sunday:xE},wE={};Ae(wE,{default:()=>dge,friday:()=>DE,monday:()=>SE,saturday:()=>IE,sunday:()=>AE,thursday:()=>CE,tuesday:()=>EE,wednesday:()=>kE});var SE="Lundi",EE="Mardi",kE="Mercredi",CE="Jeudi",DE="Vendredi",IE="Samedi",AE="Dimanche",dge={monday:SE,tuesday:EE,wednesday:kE,thursday:CE,friday:DE,saturday:IE,sunday:AE},OE={};Ae(OE,{default:()=>uge,friday:()=>RE,monday:()=>TE,saturday:()=>FE,sunday:()=>LE,thursday:()=>PE,tuesday:()=>NE,wednesday:()=>ME});var TE="Maandag",NE="Dinsdag",ME="Woensdag",PE="Donderdag",RE="Vrijdag",FE="Zaterdag",LE="Zondag",uge={monday:TE,tuesday:NE,wednesday:ME,thursday:PE,friday:RE,saturday:FE,sunday:LE},hge={nl:OE,fr:wE,de:oE,en:mE},VE={};Ae(VE,{VIDIS_0035:()=>zE,VIDIS_0050:()=>jE,VIDIS_0090:()=>BE,VIDIS_0100:()=>vk,VIDIS_0110:()=>yk,VIDIS_0120:()=>bk,VIDIS_0121:()=>HE,VIDIS_0122:()=>$E,VIDIS_0123:()=>qE,VIDIS_0124:()=>YE,VIDIS_0125:()=>UE,VIDIS_0126:()=>GE,VIDIS_0131:()=>WE,VIDIS_0132:()=>KE,VIDIS_0133:()=>ZE,VIDIS_0134:()=>XE,VIDIS_0135:()=>QE,VIDIS_0136:()=>JE,VIDIS_0190:()=>ek,VIDIS_0200:()=>_k,VIDIS_0210:()=>tk,VIDIS_0211:()=>ik,VIDIS_0230:()=>ak,VIDIS_0290:()=>nk,VIDIS_0330:()=>rk,VIDIS_0340:()=>xk,VIDIS_0341:()=>wk,VIDIS_0400:()=>fk,VIDIS_04001:()=>Sk,VIDIS_0435:()=>ok,VIDIS_0440:()=>sk,VIDIS_3030:()=>gk,VIDIS_3090:()=>uk,VIDIS_3100:()=>pk,VIDIS_3120:()=>mk,VIDIS_3140:()=>hk,VIDIS_3150:()=>dk,VIDIS_5000:()=>lk,VIDIS_7000:()=>ck,"action-not-authorized-close-button":()=>qk,"action-not-authorized-title":()=>$k,"data-not-available-title":()=>Hk,default:()=>pge,general:()=>kk,"has-hidden-prescriptions":()=>Mk,"incorrect-elements-ms-detail":()=>Uk,"incorrect-elements-ms-list":()=>Yk,invalid_date_format:()=>Ok,myHealth:()=>Dk,myHealthUrl:()=>Ik,network_error:()=>Ak,"no-access":()=>Ck,prescriptionList:()=>Ek,"report-message-confirm-toast":()=>Bk,"report-message-content":()=>Fk,"report-message-explanation":()=>Rk,"report-message-ignore-button":()=>jk,"report-message-link":()=>Vk,"report-message-report-button":()=>zk,"report-message-term-use":()=>Lk,"report-message-title":()=>Pk,"status-message-content":()=>Nk,"status-message-title":()=>Tk});var zE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",jE="Die Patienten-INSS fehlt. (VIDIS_0050)",BE="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",HE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",$E="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",qE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",YE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",UE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",GE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",WE="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",KE="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ZE="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",XE="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",QE="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",JE="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ek="Ungültige INSS-Patientennummer. (VIDIS_0190)",tk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",ik="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",ak="Der Vorgang ist ungültig (VIDIS_0230)",nk='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',rk="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",ok="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",sk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",lk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",ck="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",dk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",uk="Das Rezept ist abgelaufen.",hk="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",pk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",mk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",fk="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",gk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",vk="Vorgang nicht erlaubt.",bk="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",yk="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",_k="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",xk="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",wk="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",Sk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",Ek="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",kk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Ck="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Dk="Zurück zum Portal Meine Gesundheit",Ik="https://wwwint.meinegesundheit.belgien.be/#/",Ak="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Ok="Ungültiges Datumsformat.",Tk="Dienst vorübergehend nicht verfügbar",Nk=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
54
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ife=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Afe=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Ofe=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,m,v,g;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(m=this.user.professional)==null?void 0:m.nihii11)||this.equalsCheck((g=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:g.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),Tfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),T()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),T(),I(11,"button",2),B(12),H(13,"translate"),T()()),i&2&&(D(),we(K(2,6,"diaryNotesPage.delete-dialog.title")),D(4),we(K(6,8,"diaryNotesPage.delete-dialog.message")),D(3),W("mat-dialog-close",!1),D(),Ie(" ",K(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),W("mat-dialog-close",!0),D(),Ie(" ",K(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[cl,dl,_a,xa,sl,ll],encapsulation:2});let e=t;return e})(),rE=e=>({"strike-through":e}),Nfe=e=>({count:e});function Mfe(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),T()),e&2){let n=P().$implicit;D(),Er("",K(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Pfe(e,t){if(e&1&&(I(0,"mat-chip",5),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;W("disableRipple",!0),D(),Ie(" ",K(2,2,"commons.tags."+n)," ")}}function Rfe(e,t){if(e&1&&(he(0,"dt",4),I(1,"dd")(2,"mat-chip-set"),Ri(3,Pfe,3,4,"mat-chip",5,ba),T()()),e&2){let n=P(2).$implicit;D(3),Fi(n.tags)}}function Ffe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",8),de("click",function(){let i=ge(n).$index,a=P(3).$implicit,r=P();return ve(r.onDownloadFile(a,i))}),he(1,"mat-icon",9),B(2),H(3,"attachementFilename"),T()}if(e&2){let n=t.$implicit,i=t.$index,a=P(4);W("disabled",a.isOffline),D(2),Ie(" ",qn(3,2,n.contentType,i)," ")}}function Lfe(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),T(),I(3,"dd",6),Ri(4,Ffe,4,5,"mat-chip",7,ba),T()),e&2){let n=P(2).$implicit,i=P();D(),we(qn(2,2,"diaryNotesPage.table.attachment",Fc(5,Nfe,n.attachments.length))),D(2),W("ngClass",Fc(7,rE,!i.diaryNoteCompleted(n.status))),D(),Fi(n.attachments)}}function Vfe(e,t){if(e&1){let n=Ke();I(0,"button",12),de("click",function(){ge(n);let i=P(3).$implicit,a=P();return ve(a.onDeleteNote(i))}),he(1,"mat-icon",13),T()}}function zfe(e,t){if(e&1&&(I(0,"mat-card-actions",10),ne(1,Vfe,2,0,"button",11),H(2,"canDeleteDiarynote"),T()),e&2){let n=P(2).$implicit,i=P();D(),se(qn(2,1,n,i.userInfo)?1:-1)}}function jfe(e,t){if(e&1&&(I(0,"dl"),ne(1,Rfe,5,0),I(2,"dt"),B(3),H(4,"translate"),T(),I(5,"dd"),B(6),H(7,"date"),T(),I(8,"dt"),B(9),H(10,"translate"),T(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),T(),I(17,"dt"),B(18),H(19,"translate"),T(),he(20,"dd",2),H(21,"firstLetterUppercase"),ne(22,Lfe,6,9),T(),ne(23,zfe,3,4,"mat-card-actions",3)),e&2){let n=P().$implicit,i=P();D(),se((n.tags==null?null:n.tags.length)>0?1:-1),D(2),we(K(4,12,"diaryNotesPage.table.date")),D(3),we(qn(7,14,n.creation,"dd/MM/yyyy, HH:mm")),D(3),we(K(10,17,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),r1(" ",K(13,19,n.author.lastName)," ",K(14,21,n.author.firstName)," (",K(16,25,K(15,23,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),we(K(19,27,"diaryNotesPage.table.note")),D(2),W("ngClass",Fc(31,rE,!i.diaryNoteCompleted(n.status)))("innerHTML",K(21,29,n.content),$J),D(2),se((n.attachments==null?null:n.attachments.length)>0?22:-1)}}function Bfe(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),ne(3,Mfe,3,4,"span",1)(4,jfe,24,33),T()()()),e&2){let n=t.$implicit;D(3),se(n!=null&&n.error?3:4)}}var Hfe=(()=>{const t=class t{constructor(){this.authService=S(Cr).getInstance(),this.diarynoteService=S(Is),this.dialog=S(Nr),this.destroyRef=S($i),this.downloadRequested=new le}get isOffline(){return this.authService.isOfflineAuthenticated}diaryNoteCompleted(i){return Is.isDiaryNoteCompleted(i)}onDeleteNote(i){this.dialog.open(Tfe).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}onDownloadFile(i,a){this.downloadRequested.emit({id:i.id,version:i.version,source:i.source,patientSsin:i.subject.ssin,attachmentIndex:a})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},outputs:{downloadRequested:"downloadRequested"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end",4,"hideIfOffline"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable","",3,"disabled"],["clickable","",3,"click","disabled"],["aria-hidden","true","fontIcon","insert_drive_file"],["align","end"],["mat-icon-button","","aria-label","Delete"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Ri(0,Bfe,5,1,"mat-card",null,ba),i&2&&Fi(a.diaryNoteDataItems)},dependencies:[Js,D1,_a,Nf,Dfe,Ife,Un,Io,Afe,Hpe,Ofe,$S,nu,HS,qS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),$fe=()=>[10,25,50],qfe=e=>({addNote:e}),Yfe=()=>({height:"47px",margin:"0"});function Ufe(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),T())}function Gfe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",4),de("click",function(){ge(n);let i=P(3);return ve(i.onAddNote())}),I(2,"mat-icon",5),B(3,"add_circle"),T(),B(4),H(5,"translate"),T()()}if(e&2){let n=P(),i=P(2);D(),W("disabled",n.status===i.loadingStatus.LOADING),D(3),Ie(" ",K(5,2,"diaryNotesPage.table.addNote")," ")}}function Wfe(e,t){if(e&1&&he(0,"vidis-diarynotes-filter-block",8),e&2){let n=P(2),i=P(2);W("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING)}}function Kfe(e,t){if(e&1){let n=Ke();I(0,"vidis-sort-dropdown",9),de("sortDataChange",function(i){ge(n);let a=P(4);return ve(a.handleSortEvent(i))}),T()}if(e&2){let n=P(2),i=P(2);W("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function Zfe(e,t){e&1&&(I(0,"div",1),ne(1,Wfe,1,3,"vidis-diarynotes-filter-block",6)(2,Kfe,1,3,"vidis-sort-dropdown",7),T())}function Xfe(e,t){if(e&1&&he(0,"vidis-status-message",2),e&2){let n=P();W("error",n.error)}}function Qfe(e,t){if(e&1&&he(0,"vidis-error-display",11),e&2){let n=t.$implicit;W("message",n.code)}}function Jfe(e,t){if(e&1&&Ri(0,Qfe,1,1,"vidis-error-display",11,ba),e&2){let n=P(2);Fi(n.data==null?null:n.data.errors)}}function ege(e,t){if(e&1){let n=Ke();I(0,"vidis-diarynotes-table",12),de("downloadRequested",function(i){ge(n);let a=P(4);return ve(a.onDownloadRequested(i))}),T(),I(1,"mat-paginator",13),H(2,"async"),de("page",function(i){ge(n);let a=P(4);return ve(a.handlePageEvent(i))}),T()}if(e&2){let n=P(2),i=P(2);W("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),W("length",n.data==null?null:n.data.totalItems)("pageSize",K(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",l1(10,$fe))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function tge(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),T(),I(3,"div",14)(4,"p",15),B(5),H(6,"translate"),he(7,"br"),B(8),H(9,"translate"),H(10,"translate"),T(),I(11,"p",15),B(12),H(13,"translate"),he(14,"br"),B(15),H(16,"translate"),he(17,"br"),B(18),H(19,"translate"),he(20,"br"),B(21),H(22,"translate"),T()()),e&2&&(D(),we(K(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",K(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",qn(10,13,"diaryNotesPage.noNote.part2",Fc(24,qfe,K(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",K(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",K(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",K(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",K(22,22,"diaryNotesPage.noNote.part6")," "))}function ige(e,t){if(e&1){let n=Ke();I(0,"p",10)(1,"span"),B(2),H(3,"translate"),T(),I(4,"button",16),de("click",function(){ge(n);let i=P(4);return ve(i.clearAllFilters())}),B(5),H(6,"translate"),T()()}e&2&&(D(2),we(K(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",K(6,4,"diaryNotesPage.filters.clearfilters")," "))}function age(e,t){if(e&1&&(ne(0,Jfe,2,0)(1,ege,3,11),H(2,"async"),ne(3,tge,23,26)(4,ige,7,6,"p",10)),e&2){let n=P(),i=P(2);se(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),se((n.data==null?null:n.data.totalItems)>0?1:K(2,2,i.isFilterEmpty$)?3:4)}}function nge(e,t){e&1&&he(0,"ngx-skeleton-loader",3),e&2&&W("count",10)("theme",l1(2,Yfe))}function rge(e,t){if(e&1&&(ne(0,Gfe,6,4,"div",0)(1,Zfe,3,0,"div",1),H(2,"async"),ne(3,Xfe,1,1,"vidis-status-message",2)(4,age,5,4)(5,nge,1,3,"ngx-skeleton-loader",3)),e&2){let n,i=t,a=P(2);D(),se((i.data==null?null:i.data.totalItems)>0||K(2,2,a.isFilterEmpty$)===!1?1:-1),D(2),se((n=i.status)===a.loadingStatus.ERROR?3:n===a.loadingStatus.SUCCESS?4:n===a.loadingStatus.LOADING?5:-1)}}function oge(e,t){if(e&1&&(ne(0,rge,6,4),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),T()),e&2){let n,i=P();se((n=K(1,2,i.diarynotesState$))?0:-1,n),D(3),we(K(4,4,"diaryNotesPage.disclaimer"))}}var sge=(()=>{const t=class t extends spe{constructor(){super(...arguments),this.dialog=S(Nr),this.getTotalItems=new le,this.onDownload=new le,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Fn,this.sortDropdownData=["date","author","role"]}fetchData(i){return _t(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(vme).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}onDownloadRequested(i){this.diarynoteService.downloadAttachment$(i).pipe(mi(1)).subscribe(a=>{a&&this.onDownload.emit(a)})}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Is),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,yd(this.injector,()=>{this.sortDataState=ioe(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(xt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(xt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems",onDownload:"onDownload"},features:[xi([Is,US,GS,rme]),Ft],decls:2,vars:1,consts:[[4,"hideIfOffline"],[1,"filter-container"],[3,"error"],[3,"count","theme"],["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[3,"filterOptions","services","disabled",4,"hideIfOffline"],[3,"sortItems","sortData","disabled","sortDataChange",4,"hideIfOffline"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"downloadRequested","diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&ne(0,Ufe,2,0,"div")(1,oge,5,6),i&2&&se(a.isCorrectlySetup()?1:0)},dependencies:[Qce,xa,Un,Hfe,Efe,upe,eme,Jpe,_a,C1,Tpe,Jce,qS],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),oE={};Ae(oE,{default:()=>lge,friday:()=>uE,monday:()=>sE,saturday:()=>hE,sunday:()=>pE,thursday:()=>dE,tuesday:()=>lE,wednesday:()=>cE});var sE="Montag",lE="Dienstag",cE="Mittwoch",dE="Donnerstag",uE="Freitag",hE="Samstag",pE="Sonntag",lge={monday:sE,tuesday:lE,wednesday:cE,thursday:dE,friday:uE,saturday:hE,sunday:pE},mE={};Ae(mE,{default:()=>cge,friday:()=>yE,monday:()=>fE,saturday:()=>_E,sunday:()=>xE,thursday:()=>bE,tuesday:()=>gE,wednesday:()=>vE});var fE="Monday",gE="Tuesday",vE="Wednesday",bE="Thursday",yE="Friday",_E="Saturday",xE="Sunday",cge={monday:fE,tuesday:gE,wednesday:vE,thursday:bE,friday:yE,saturday:_E,sunday:xE},wE={};Ae(wE,{default:()=>dge,friday:()=>DE,monday:()=>SE,saturday:()=>IE,sunday:()=>AE,thursday:()=>CE,tuesday:()=>EE,wednesday:()=>kE});var SE="Lundi",EE="Mardi",kE="Mercredi",CE="Jeudi",DE="Vendredi",IE="Samedi",AE="Dimanche",dge={monday:SE,tuesday:EE,wednesday:kE,thursday:CE,friday:DE,saturday:IE,sunday:AE},OE={};Ae(OE,{default:()=>uge,friday:()=>RE,monday:()=>TE,saturday:()=>FE,sunday:()=>LE,thursday:()=>PE,tuesday:()=>NE,wednesday:()=>ME});var TE="Maandag",NE="Dinsdag",ME="Woensdag",PE="Donderdag",RE="Vrijdag",FE="Zaterdag",LE="Zondag",uge={monday:TE,tuesday:NE,wednesday:ME,thursday:PE,friday:RE,saturday:FE,sunday:LE},hge={nl:OE,fr:wE,de:oE,en:mE},VE={};Ae(VE,{VIDIS_0035:()=>zE,VIDIS_0050:()=>jE,VIDIS_0090:()=>BE,VIDIS_0100:()=>vk,VIDIS_0110:()=>yk,VIDIS_0120:()=>bk,VIDIS_0121:()=>HE,VIDIS_0122:()=>$E,VIDIS_0123:()=>qE,VIDIS_0124:()=>YE,VIDIS_0125:()=>UE,VIDIS_0126:()=>GE,VIDIS_0131:()=>WE,VIDIS_0132:()=>KE,VIDIS_0133:()=>ZE,VIDIS_0134:()=>XE,VIDIS_0135:()=>QE,VIDIS_0136:()=>JE,VIDIS_0190:()=>ek,VIDIS_0200:()=>_k,VIDIS_0210:()=>tk,VIDIS_0211:()=>ik,VIDIS_0230:()=>ak,VIDIS_0290:()=>nk,VIDIS_0330:()=>rk,VIDIS_0340:()=>xk,VIDIS_0341:()=>wk,VIDIS_0400:()=>fk,VIDIS_04001:()=>Sk,VIDIS_0435:()=>ok,VIDIS_0440:()=>sk,VIDIS_3030:()=>gk,VIDIS_3090:()=>uk,VIDIS_3100:()=>pk,VIDIS_3120:()=>mk,VIDIS_3140:()=>hk,VIDIS_3150:()=>dk,VIDIS_5000:()=>lk,VIDIS_7000:()=>ck,"action-not-authorized-close-button":()=>qk,"action-not-authorized-title":()=>$k,"data-not-available-title":()=>Hk,default:()=>pge,general:()=>kk,"has-hidden-prescriptions":()=>Mk,"incorrect-elements-ms-detail":()=>Uk,"incorrect-elements-ms-list":()=>Yk,invalid_date_format:()=>Ok,myHealth:()=>Dk,myHealthUrl:()=>Ik,network_error:()=>Ak,"no-access":()=>Ck,prescriptionList:()=>Ek,"report-message-confirm-toast":()=>Bk,"report-message-content":()=>Fk,"report-message-explanation":()=>Rk,"report-message-ignore-button":()=>jk,"report-message-link":()=>Vk,"report-message-report-button":()=>zk,"report-message-term-use":()=>Lk,"report-message-title":()=>Pk,"status-message-content":()=>Nk,"status-message-title":()=>Tk});var zE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",jE="Die Patienten-INSS fehlt. (VIDIS_0050)",BE="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",HE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",$E="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",qE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",YE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",UE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",GE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",WE="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",KE="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ZE="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",XE="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",QE="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",JE="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ek="Ungültige INSS-Patientennummer. (VIDIS_0190)",tk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",ik="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",ak="Der Vorgang ist ungültig (VIDIS_0230)",nk='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',rk="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",ok="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",sk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",lk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",ck="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",dk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",uk="Das Rezept ist abgelaufen.",hk="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",pk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",mk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",fk="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",gk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",vk="Vorgang nicht erlaubt.",bk="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",yk="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",_k="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",xk="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",wk="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",Sk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",Ek="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",kk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Ck="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Dk="Zurück zum Portal Meine Gesundheit",Ik="https://wwwint.meinegesundheit.belgien.be/#/",Ak="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Ok="Ungültiges Datumsformat.",Tk="Dienst vorübergehend nicht verfügbar",Nk=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
55
55
|
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,Mk="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",Pk="Technisches Problem",Rk="Bitte versuchen Sie es später noch einmal.",Fk="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",Lk="unsere Nutzungsbedingungen",Vk="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",zk="Problem melden",jk="Nicht melden",Bk="Das Problem wurde gemeldet",Hk="Daten nicht verfügbar",$k="Aktion nicht erlaubt",qk="Schließen",Yk="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",Uk="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",pge={VIDIS_0035:zE,VIDIS_0050:jE,VIDIS_0090:BE,VIDIS_0121:HE,VIDIS_0122:$E,VIDIS_0123:qE,VIDIS_0124:YE,VIDIS_0125:UE,VIDIS_0126:GE,VIDIS_0131:WE,VIDIS_0132:KE,VIDIS_0133:ZE,VIDIS_0134:XE,VIDIS_0135:QE,VIDIS_0136:JE,VIDIS_0190:ek,VIDIS_0210:tk,VIDIS_0211:ik,VIDIS_0230:ak,VIDIS_0290:nk,VIDIS_0330:rk,VIDIS_0435:ok,VIDIS_0440:sk,VIDIS_5000:lk,VIDIS_7000:ck,VIDIS_3150:dk,VIDIS_3090:uk,VIDIS_3140:hk,VIDIS_3100:pk,VIDIS_3120:mk,VIDIS_0400:fk,VIDIS_3030:gk,VIDIS_0100:vk,VIDIS_0120:bk,VIDIS_0110:yk,VIDIS_0200:_k,VIDIS_0340:xk,VIDIS_0341:wk,VIDIS_04001:Sk,prescriptionList:Ek,general:kk,"no-access":Ck,myHealth:Dk,myHealthUrl:Ik,network_error:Ak,invalid_date_format:Ok,"status-message-title":Tk,"status-message-content":Nk,"has-hidden-prescriptions":Mk,"report-message-title":Pk,"report-message-explanation":Rk,"report-message-content":Fk,"report-message-term-use":Lk,"report-message-link":Vk,"report-message-report-button":zk,"report-message-ignore-button":jk,"report-message-confirm-toast":Bk,"data-not-available-title":Hk,"action-not-authorized-title":$k,"action-not-authorized-close-button":qk,"incorrect-elements-ms-list":Yk,"incorrect-elements-ms-detail":Uk},Gk={};Ae(Gk,{VIDIS_0035:()=>Wk,VIDIS_0050:()=>Kk,VIDIS_0090:()=>Zk,VIDIS_0100:()=>CC,VIDIS_0110:()=>IC,VIDIS_0120:()=>DC,VIDIS_0121:()=>Xk,VIDIS_0122:()=>Qk,VIDIS_0123:()=>Jk,VIDIS_0124:()=>eC,VIDIS_0125:()=>tC,VIDIS_0126:()=>iC,VIDIS_0131:()=>aC,VIDIS_0132:()=>nC,VIDIS_0133:()=>rC,VIDIS_0134:()=>oC,VIDIS_0135:()=>sC,VIDIS_0136:()=>lC,VIDIS_0190:()=>cC,VIDIS_0200:()=>AC,VIDIS_0210:()=>dC,VIDIS_0211:()=>uC,VIDIS_0230:()=>hC,VIDIS_0290:()=>pC,VIDIS_0330:()=>mC,VIDIS_0340:()=>OC,VIDIS_0341:()=>TC,VIDIS_0400:()=>EC,VIDIS_04001:()=>NC,VIDIS_0435:()=>fC,VIDIS_0440:()=>gC,VIDIS_3030:()=>kC,VIDIS_3090:()=>_C,VIDIS_3100:()=>wC,VIDIS_3120:()=>SC,VIDIS_3140:()=>xC,VIDIS_3150:()=>yC,VIDIS_5000:()=>vC,VIDIS_7000:()=>bC,"action-not-authorized-close-button":()=>JC,"action-not-authorized-title":()=>QC,"data-not-available-title":()=>XC,default:()=>mge,general:()=>PC,"has-hidden-prescriptions":()=>HC,"incorrect-elements-ms-detail":()=>tD,"incorrect-elements-ms-list":()=>eD,invalid_date_format:()=>zC,myHealth:()=>FC,myHealthUrl:()=>LC,network_error:()=>VC,"no-access":()=>RC,prescriptionList:()=>MC,"report-message-confirm-toast":()=>ZC,"report-message-content":()=>YC,"report-message-explanation":()=>qC,"report-message-ignore-button":()=>KC,"report-message-link":()=>GC,"report-message-report-button":()=>WC,"report-message-term-use":()=>UC,"report-message-title":()=>$C,"status-message-content":()=>BC,"status-message-title":()=>jC});var Wk="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",Kk="The patient's NISS number is missing (VIDIS_0050)",Zk="The personal information provided was not recognised. (VIDIS_0090)",Xk="Consulting data of a Brussels patient is currently not authorised.",Qk="Consulting data of a Walloon patient is currently not authorised.",Jk="Consulting data of a Brussels child by a parent is currently not authorised.",eC="Consulting data of a Walloon child by a parent is currently not authorised.",tC="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",iC="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",aC="Access to the data of a Brussels patient is currently not permitted.",nC="Access to the data of a Walloon patient is currently not permitted.",rC="A parent’s access to the data of a Brussels child is currently not permitted.",oC="A parent’s access to the data of a Walloon child is currently not permitted.",sC="A representative’s access to the data of a Brussels patient is currently not permitted.",lC="A representative’s access to the data of a Walloon patient is currently not permitted.",cC="The patient's NISS number is invalid. (VIDIS_0190)",dC="The login was unsuccessful. Please try again. (VIDIS_0210)",uC="The login was unsuccessful. Please try again. (VIDIS_0211)",hC="The request is invalid. (VIDIS_0230)",pC="User role must be citizen. (VIDIS_0290)",mC="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",fC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",gC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",vC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",bC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",yC="No mandate found between patient and mandateholder.",_C="Prescription has expired.",xC="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",wC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",SC="The patient in the session is different from the patient in the request.",EC="User is not authorized to make the request.",kC="No mandate found between patient and mandateholder.",CC="Operation is not allowed.",DC="A therapeutic relation between the requester and the patient is not available.",IC="There is no consent to share personal health information.",AC="User is not allowed to perform the operation due to an exclusion between requester and patient.",OC="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",TC="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",NC="Your request is invalid. Please try again later.",MC="Unfortunately the details of the prescription could not be retrieved. Please try again.",PC="An internal technical error has occured. Please try again later.",RC="An internal technical error has occured. Please try again later.",FC="Back to the MyHealth portal.",LC="https://www.myhealth.belgium.be/",VC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",zC="Invalid date format.",jC="Service temporarily unavailable",BC=`We are currently having a problem connecting to the server.
|
|
56
56
|
Please try again later.`,HC="The patient has hidden one or more prescriptions.",$C="Technical problem",qC="Please try again later.",YC="Help us identify and resolve the issue. By reporting it, you accept ",UC="our terms of use",GC="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",WC="Report the problem",KC="Don't report",ZC="The problem has been reported",XC="Data not available",QC="Action not authorized",JC="Close",eD="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",tD="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",mge={VIDIS_0035:Wk,VIDIS_0050:Kk,VIDIS_0090:Zk,VIDIS_0121:Xk,VIDIS_0122:Qk,VIDIS_0123:Jk,VIDIS_0124:eC,VIDIS_0125:tC,VIDIS_0126:iC,VIDIS_0131:aC,VIDIS_0132:nC,VIDIS_0133:rC,VIDIS_0134:oC,VIDIS_0135:sC,VIDIS_0136:lC,VIDIS_0190:cC,VIDIS_0210:dC,VIDIS_0211:uC,VIDIS_0230:hC,VIDIS_0290:pC,VIDIS_0330:mC,VIDIS_0435:fC,VIDIS_0440:gC,VIDIS_5000:vC,VIDIS_7000:bC,VIDIS_3150:yC,VIDIS_3090:_C,VIDIS_3140:xC,VIDIS_3100:wC,VIDIS_3120:SC,VIDIS_0400:EC,VIDIS_3030:kC,VIDIS_0100:CC,VIDIS_0120:DC,VIDIS_0110:IC,VIDIS_0200:AC,VIDIS_0340:OC,VIDIS_0341:TC,VIDIS_04001:NC,prescriptionList:MC,general:PC,"no-access":RC,myHealth:FC,myHealthUrl:LC,network_error:VC,invalid_date_format:zC,"status-message-title":jC,"status-message-content":BC,"has-hidden-prescriptions":HC,"report-message-title":$C,"report-message-explanation":qC,"report-message-content":YC,"report-message-term-use":UC,"report-message-link":GC,"report-message-report-button":WC,"report-message-ignore-button":KC,"report-message-confirm-toast":ZC,"data-not-available-title":XC,"action-not-authorized-title":QC,"action-not-authorized-close-button":JC,"incorrect-elements-ms-list":eD,"incorrect-elements-ms-detail":tD},iD={};Ae(iD,{VIDIS_0035:()=>aD,VIDIS_0050:()=>nD,VIDIS_0090:()=>rD,VIDIS_0100:()=>RD,VIDIS_0110:()=>LD,VIDIS_0120:()=>FD,VIDIS_0121:()=>oD,VIDIS_0122:()=>sD,VIDIS_0123:()=>lD,VIDIS_0124:()=>cD,VIDIS_0125:()=>dD,VIDIS_0126:()=>uD,VIDIS_0131:()=>hD,VIDIS_0132:()=>pD,VIDIS_0133:()=>mD,VIDIS_0134:()=>fD,VIDIS_0135:()=>gD,VIDIS_0136:()=>vD,VIDIS_0190:()=>bD,VIDIS_0200:()=>VD,VIDIS_0210:()=>yD,VIDIS_0211:()=>_D,VIDIS_0230:()=>xD,VIDIS_0290:()=>wD,VIDIS_0330:()=>SD,VIDIS_0340:()=>zD,VIDIS_0341:()=>jD,VIDIS_0400:()=>MD,VIDIS_04001:()=>BD,VIDIS_0435:()=>ED,VIDIS_0440:()=>kD,VIDIS_3030:()=>PD,VIDIS_3090:()=>AD,VIDIS_3100:()=>TD,VIDIS_3120:()=>ND,VIDIS_3140:()=>OD,VIDIS_3150:()=>ID,VIDIS_5000:()=>CD,VIDIS_7000:()=>DD,"action-not-authorized-close-button":()=>lI,"action-not-authorized-title":()=>sI,"data-not-available-title":()=>oI,default:()=>fge,general:()=>$D,"has-hidden-prescriptions":()=>XD,"incorrect-elements-ms-detail":()=>dI,"incorrect-elements-ms-list":()=>cI,invalid_date_format:()=>WD,myHealth:()=>YD,myHealthUrl:()=>UD,network_error:()=>GD,"no-access":()=>qD,prescriptionList:()=>HD,"report-message-confirm-toast":()=>rI,"report-message-content":()=>eI,"report-message-explanation":()=>JD,"report-message-ignore-button":()=>nI,"report-message-link":()=>iI,"report-message-report-button":()=>aI,"report-message-term-use":()=>tI,"report-message-title":()=>QD,"status-message-content":()=>ZD,"status-message-title":()=>KD});var aD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",nD="Le NISS du patient est manquant. (VIDIS_0050)",rD="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",oD="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",sD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",lD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",cD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",dD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",uD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",hD="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",pD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",mD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",fD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",gD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",vD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",bD="Le NISS du patient n’est pas valide. (VIDIS_0190)",yD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",_D="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",xD="L’opération n’est pas valide. (VIDIS_0230)",wD="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",SD="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",ED="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",kD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",CD="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",DD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",ID="Aucun mandat trouvé entre le patient et le mandataire.",AD="L’ordonnance est expirée.",OD="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",TD="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",ND="Le patient dans la session est différent de celui dans la demande.",MD="L’utilisateur n’est pas autorisé à effectuer la requête.",PD="Aucun mandat trouvé entre le patient et le mandataire.",RD="Opération non autorisée.",FD="Aucune relation thérapeutique entre le demandeur et le patient.",LD="Aucun consentement au partage des données de santé.",VD="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",zD="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be",jD="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be",BD="Votre requête est invalide. Veuillez réessayer plus tard.",HD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",$D="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",qD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",YD="Revenir au portail MaSanté",UD="https://wwwint.masante.belgique.be/#/",GD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",WD="Le format de date est invalide.",KD="Service temporairement indisponible",ZD=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
57
57
|
Veuillez réessayer plus tard.`,XD="Le patient a masqué une ou plusieurs prescriptions.",QD="Problème technique",JD="Veuillez réessayer plus tard.",eI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",tI="conditions d'utilisation",iI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",aI="Signaler le problème",nI="Ignorer",rI="Le problème a été signalé",oI="Données non disponibles",sI="Action non autorisée",lI="Fermer",cI="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",dI="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",fge={VIDIS_0035:aD,VIDIS_0050:nD,VIDIS_0090:rD,VIDIS_0121:oD,VIDIS_0122:sD,VIDIS_0123:lD,VIDIS_0124:cD,VIDIS_0125:dD,VIDIS_0126:uD,VIDIS_0131:hD,VIDIS_0132:pD,VIDIS_0133:mD,VIDIS_0134:fD,VIDIS_0135:gD,VIDIS_0136:vD,VIDIS_0190:bD,VIDIS_0210:yD,VIDIS_0211:_D,VIDIS_0230:xD,VIDIS_0290:wD,VIDIS_0330:SD,VIDIS_0435:ED,VIDIS_0440:kD,VIDIS_5000:CD,VIDIS_7000:DD,VIDIS_3150:ID,VIDIS_3090:AD,VIDIS_3140:OD,VIDIS_3100:TD,VIDIS_3120:ND,VIDIS_0400:MD,VIDIS_3030:PD,VIDIS_0100:RD,VIDIS_0120:FD,VIDIS_0110:LD,VIDIS_0200:VD,VIDIS_0340:zD,VIDIS_0341:jD,VIDIS_04001:BD,prescriptionList:HD,general:$D,"no-access":qD,myHealth:YD,myHealthUrl:UD,network_error:GD,invalid_date_format:WD,"status-message-title":KD,"status-message-content":ZD,"has-hidden-prescriptions":XD,"report-message-title":QD,"report-message-explanation":JD,"report-message-content":eI,"report-message-term-use":tI,"report-message-link":iI,"report-message-report-button":aI,"report-message-ignore-button":nI,"report-message-confirm-toast":rI,"data-not-available-title":oI,"action-not-authorized-title":sI,"action-not-authorized-close-button":lI,"incorrect-elements-ms-list":cI,"incorrect-elements-ms-detail":dI},uI={};Ae(uI,{VIDIS_0035:()=>hI,VIDIS_0050:()=>pI,VIDIS_0090:()=>mI,VIDIS_0100:()=>qI,VIDIS_0110:()=>UI,VIDIS_0120:()=>YI,VIDIS_0121:()=>fI,VIDIS_0122:()=>gI,VIDIS_0123:()=>vI,VIDIS_0124:()=>bI,VIDIS_0125:()=>yI,VIDIS_0126:()=>_I,VIDIS_0131:()=>xI,VIDIS_0132:()=>wI,VIDIS_0133:()=>SI,VIDIS_0134:()=>EI,VIDIS_0135:()=>kI,VIDIS_0136:()=>CI,VIDIS_0190:()=>DI,VIDIS_0200:()=>GI,VIDIS_0210:()=>II,VIDIS_0211:()=>AI,VIDIS_0230:()=>OI,VIDIS_0290:()=>TI,VIDIS_0330:()=>NI,VIDIS_0340:()=>WI,VIDIS_0341:()=>KI,VIDIS_0400:()=>HI,VIDIS_04001:()=>ZI,VIDIS_0435:()=>MI,VIDIS_0440:()=>PI,VIDIS_3030:()=>$I,VIDIS_3090:()=>VI,VIDIS_3100:()=>jI,VIDIS_3120:()=>BI,VIDIS_3140:()=>zI,VIDIS_3150:()=>LI,VIDIS_5000:()=>RI,VIDIS_7000:()=>FI,"action-not-authorized-close-button":()=>v2,"action-not-authorized-title":()=>g2,"data-not-available-title":()=>f2,default:()=>gge,general:()=>QI,"has-hidden-prescriptions":()=>o2,"incorrect-elements-ms-detail":()=>y2,"incorrect-elements-ms-list":()=>b2,invalid_date_format:()=>a2,myHealth:()=>e2,myHealthUrl:()=>t2,network_error:()=>i2,"no-access":()=>JI,prescriptionList:()=>XI,"report-message-confirm-toast":()=>m2,"report-message-content":()=>c2,"report-message-explanation":()=>l2,"report-message-ignore-button":()=>p2,"report-message-link":()=>u2,"report-message-report-button":()=>h2,"report-message-term-use":()=>d2,"report-message-title":()=>s2,"status-message-content":()=>r2,"status-message-title":()=>n2});var hI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",pI="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",mI="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",fI="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",gI="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",vI="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",bI="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",yI="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",_I="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",xI="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",wI="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",SI="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",EI="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",kI="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",CI="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",DI="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",II="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",AI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",OI="Het verzoek is ongeldig. (VIDIS_0230)",TI="Gebruikersrol moet burger zijn. (VIDIS_0290)",NI="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",MI="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",PI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",RI="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",FI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",LI="Geen mandaat gevonden tussen patiënt en mandataris.",VI="Voorschrift is verlopen.",zI="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",jI="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",BI="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",HI="De gebruiker is niet gemachtigd om de aanvraag te doen.",$I="Geen mandaat gevonden tussen patiënt en mandataris.",qI="Bewerking is niet toegestaan.",YI="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",UI="Er is geen toestemming om gezondheidsgegevens te delen.",GI="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",WI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be",KI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be",ZI="Uw verzoek is ongeldig. Probeer later opnieuw.",XI="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",QI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",JI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",e2="Terug naar het MijnGezondheid portaal",t2="http://wwwint.mijngezondheid.belgie.be/",i2="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",a2="Ongeldig datumformaat.",n2="Service tijdelijk niet beschikbaar",r2=`Er is momenteel een probleem met de verbinding met de server.
|