@letscooee/web-sdk 9.3.32 → 9.3.34

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.
@@ -4,7 +4,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
4
4
  `);return r>=0?n.slice(0,r):n}function su(t,e){return t?e?`${t} ${e}`:t:e||""}var wg=ft({__forward_ref__:ft});function vc(t){return t.__forward_ref__=vc,t.toString=function(){return re(this())},t}function ee(t){return Sg(t)?t():t}function Sg(t){return typeof t=="function"&&t.hasOwnProperty(wg)&&t.__forward_ref__===vc}function Et(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ms(t){return au(t,yc)||au(t,_c)}function au(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ig(t){return t&&(t[yc]||t[_c])||null}function uu(t){return t&&(t.hasOwnProperty(lu)||t.hasOwnProperty(Tg))?t[lu]:null}var yc=ft({\u0275prov:ft}),lu=ft({\u0275inj:ft}),_c=ft({ngInjectableDef:ft}),Tg=ft({ngInjectorDef:ft}),ct=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=Et({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function bc(t){return t&&!!t.\u0275providers}var Cg=ft({\u0275cmp:ft}),Ng=ft({\u0275dir:ft}),Og=ft({\u0275pipe:ft}),cu=ft({\u0275fac:ft}),Jn=ft({__NG_ELEMENT_ID__:ft}),fu=ft({__NG_ENV_ID__:ft});function Oi(t){return typeof t=="string"?t:t==null?"":String(t)}function xg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Oi(t)}function Dg(t,e){throw new it(-200,t)}function js(t,e){throw new it(-201,!1)}var q=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(q||{}),No;function Ec(){return No}function jt(t){let e=No;return No=t,e}function wc(t,e,n){let r=Ms(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&q.Optional)return null;if(e!==void 0)return e;js(t,"Injector")}var kg={},er=kg,Ag="__NG_DI_FLAG__",ui="ngTempTokenPath",Rg="ngTokenPath",Lg=/\n/gm,Pg="\u0275",du="__source",bn;function Mg(){return bn}function Se(t){let e=bn;return bn=t,e}function jg(t,e=q.Default){if(bn===void 0)throw new it(-203,!1);return bn===null?wc(t,void 0,e):bn.get(t,e&q.Optional?null:void 0,e)}function lt(t,e=q.Default){return(Ec()||jg)(ee(t),e)}function at(t,e=q.Default){return lt(t,xi(e))}function xi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Oo(t){let e=[];for(let n=0;n<t.length;n++){let r=ee(t[n]);if(Array.isArray(r)){if(r.length===0)throw new it(900,!1);let i,o=q.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Vg(a);typeof u=="number"?u===-1?i=a.token:o|=u:i=a}e.push(lt(i,o))}else e.push(lt(r))}return e}function Vg(t){return t[Ag]}function Fg(t,e,n,r){let i=t[ui];throw e[du]&&i.unshift(e[du]),t.message=Ug(`
5
5
  `+t.message,i,n,r),t[Rg]=i,t[ui]=null,t}function Ug(t,e,n,r=null){t=t&&t.charAt(0)===`
6
6
  `&&t.charAt(1)==Pg?t.slice(2):t;let i=re(e);if(Array.isArray(e))i=e.map(re).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):re(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Lg,`
7
- `)}`}function Tn(t,e){return t.hasOwnProperty(cu)?t[cu]:null}function Vs(t,e){t.forEach(n=>Array.isArray(n)?Vs(n,e):e(n))}function Hg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Sc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Bg(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function $g(t,e,n){let r=vr(t,e);return r>=0?t[r|1]=n:(r=~r,Bg(t,r,e,n)),r}function io(t,e){let n=vr(t,e);if(n>=0)return t[n|1]}function vr(t,e){return zg(t,e,1)}function zg(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var Cn={},ze=[],li=new ct(""),Ic=new ct("",-1),Tc=new ct(""),Cc=class{get(t,e=er){if(e===er){let n=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw n.name="NullInjectorError",n}return e}};function Di(t){return t[Cg]||null}function Nc(t){return t[Ng]||null}function Oc(t){return t[Og]||null}function Gg(t){let e=Di(t)||Nc(t)||Oc(t);return e!==null&&e.standalone}function qg(t){return{\u0275providers:t}}function Wg(...t){return{\u0275providers:xc(!0,t),\u0275fromNgModule:!0}}function xc(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Vs(e,s=>{let a=s;xo(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Dc(i,o),n}function Dc(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];Fs(i,o=>{e(o,r)})}}function xo(t,e,n,r){if(t=ee(t),!t)return!1;let i=null,o=uu(t),s=!o&&Di(t);if(!o&&!s){let u=t.ngModule;if(o=uu(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of u)xo(l,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Vs(o.imports,d=>{xo(d,e,n,r)&&(l||=[],l.push(d))})}finally{}l!==void 0&&Dc(l,e)}if(!a){let l=Tn(i)||(()=>new i);e({provide:i,useFactory:l,deps:ze},i),e({provide:Tc,useValue:i,multi:!0},i),e({provide:li,useValue:()=>lt(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let l=t;Fs(u,d=>{e(d,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Fs(t,e){for(let n of t)bc(n)&&(n=n.\u0275providers),Array.isArray(n)?Fs(n,e):e(n)}var Yg=ft({provide:String,useValue:ft});function kc(t){return t!==null&&typeof t=="object"&&Yg in t}function Kg(t){return!!(t&&t.useExisting)}function Zg(t){return!!(t&&t.useFactory)}function Do(t){return typeof t=="function"}var Us=new ct(""),Qr={},Qg={},oo;function Hs(){return oo===void 0&&(oo=new Cc),oo}var nr=class{},Bs=class extends nr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Ao(t,o=>this.processProvider(o)),this.records.set(Ic,gn(void 0,this)),r.has("environment")&&this.records.set(nr,gn(void 0,this));let i=this.records.get(Us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Tc,ze,q.Self))}destroy(){Kn(this),this._destroyed=!0;let t=et(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),et(t)}}onDestroy(t){return Kn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Kn(this);let e=Se(this),n=jt(void 0),r;try{return t()}finally{Se(e),jt(n)}}get(t,e=er,n=q.Default){if(Kn(this),t.hasOwnProperty(fu))return t[fu](this);n=xi(n);let r,i=Se(this),o=jt(void 0);try{if(!(n&q.SkipSelf)){let a=this.records.get(t);if(a===void 0){let u=rm(t)&&Ms(t);u&&this.injectableDefInScope(u)?a=gn(ko(t),Qr):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&q.Self?Hs():this.parent;return e=n&q.Optional&&e===er?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[ui]=s[ui]||[]).unshift(re(t)),i)throw s;return Fg(s,t,"R3InjectorError",this.source)}else throw s}finally{jt(o),Se(i)}}resolveInjectorInitializers(){let t=et(null),e=Se(this),n=jt(void 0),r;try{let i=this.get(li,ze,q.Self);for(let o of i)o()}finally{Se(e),jt(n),et(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(re(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ee(t);let e=Do(t)?t:ee(t&&t.provide),n=Jg(t);if(!Do(t)&&t.multi===!0){let r=this.records.get(e);r||(r=gn(void 0,Qr,!0),r.factory=()=>Oo(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=et(null);try{return e.value===Qr&&(e.value=Qg,e.value=e.factory()),typeof e.value=="object"&&e.value&&nm(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{et(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=ee(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function ko(t){let e=Ms(t),n=e!==null?e.factory:Tn(t);if(n!==null)return n;if(t instanceof ct)throw new it(204,!1);if(t instanceof Function)return Xg(t);throw new it(204,!1)}function Xg(t){if(t.length>0)throw new it(204,!1);let e=Ig(t);return e!==null?()=>e.factory(t):()=>new t}function Jg(t){if(kc(t))return gn(void 0,t.useValue);{let e=tm(t);return gn(e,Qr)}}function tm(t,e,n){let r;if(Do(t)){let i=ee(t);return Tn(i)||ko(i)}else if(kc(t))r=()=>ee(t.useValue);else if(Zg(t))r=()=>t.useFactory(...Oo(t.deps||[]));else if(Kg(t))r=()=>lt(ee(t.useExisting));else{let i=ee(t&&(t.useClass||t.provide));if(em(t))r=()=>new i(...Oo(t.deps));else return Tn(i)||ko(i)}return r}function Kn(t){if(t.destroyed)throw new it(205,!1)}function gn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function em(t){return!!t.deps}function nm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function rm(t){return typeof t=="function"||typeof t=="object"&&t instanceof ct}function Ao(t,e){for(let n of t)Array.isArray(n)?Ao(n,e):n&&bc(n)?Ao(n.\u0275providers,e):e(n)}function Ac(t,e){t instanceof Bs&&Kn(t);let n,r=Se(t),i=jt(void 0);try{return e()}finally{Se(r),jt(i)}}function im(){return Ec()!==void 0||Mg()!=null}var be=0,K=1,U=2,Xt=3,ie=4,ce=5,rr=6,hu=7,kt=8,ir=9,ye=10,Gt=11,or=12,pu=13,Mn=14,le=15,Nn=16,mn=17,On=18,ki=19,Rc=20,De=21,so=22,ci=23,Bt=24,ao=25,Lt=26,Lc=1,sr=7,om=8,fi=9,Vt=10;function Be(t){return Array.isArray(t)&&typeof t[Lc]=="object"}function nn(t){return Array.isArray(t)&&t[Lc]===!0}function Pc(t){return(t.flags&4)!==0}function Ai(t){return t.componentOffset>-1}function Mc(t){return(t.flags&1)===1}function rn(t){return!!t.template}function di(t){return(t[U]&512)!==0}function yr(t){return(t[U]&256)===256}var sm=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function jc(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function am(t){return t.type.prototype.ngOnChanges&&(t.setInput=lm),um}function um(){let t=Fc(this),e=t?.current;if(e){let n=t.previous;if(n===Cn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function lm(t,e,n,r,i){let o=this.declaredInputs[r],s=Fc(t)||cm(t,{previous:Cn,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[o];a[o]=new sm(l&&l.currentValue,n,u===Cn),jc(t,e,i,n)}var Vc="__ngSimpleChanges__";function Fc(t){return t[Vc]||null}function cm(t,e){return t[Vc]=e}var fm=null,dt=function(t,e=null,n){fm?.(t,e,n)},dm="svg",hm="math";function Ae(t){for(;Array.isArray(t);)t=t[be];return t}function Uc(t,e){return Ae(e[t])}function on(t,e){return Ae(e[t.index])}function $s(t,e){return t.data[e]}function Hc(t,e){return t[e]}function Ge(t,e){let n=e[t];return Be(n)?n:n[be]}function zs(t){return(t[U]&128)===128}function xn(t,e){return e==null?null:t[e]}function Bc(t){t[mn]=0}function Gs(t){t[U]&1024||(t[U]|=1024,zs(t)&&Li(t))}function pm(t,e){for(;t>0;)e=e[Mn],t--;return e}function Ri(t){return!!(t[U]&9216||t[Bt]?.dirty)}function Ro(t){t[ye].changeDetectionScheduler?.notify(8),t[U]&64&&(t[U]|=1024),Ri(t)&&Li(t)}function Li(t){t[ye].changeDetectionScheduler?.notify(0);let e=qe(t);for(;e!==null&&!(e[U]&8192||(e[U]|=8192,!zs(e)));)e=qe(e)}function $c(t,e){if(yr(t))throw new it(911,!1);t[De]===null&&(t[De]=[]),t[De].push(e)}function gm(t,e){if(t[De]===null)return;let n=t[De].indexOf(e);n!==-1&&t[De].splice(n,1)}function qe(t){let e=t[Xt];return nn(e)?e[Xt]:e}var Z={lFrame:Xc(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Lo=!1;function mm(){return Z.lFrame.elementDepthCount}function vm(){Z.lFrame.elementDepthCount++}function ym(){Z.lFrame.elementDepthCount--}function zc(){return Z.bindingsEnabled}function _m(){return Z.skipHydrationRootTNode!==null}function bm(t){return Z.skipHydrationRootTNode===t}function Em(){Z.skipHydrationRootTNode=null}function yt(){return Z.lFrame.lView}function fe(){return Z.lFrame.tView}function _r(){let t=Gc();for(;t!==null&&t.type===64;)t=t.parent;return t}function Gc(){return Z.lFrame.currentTNode}function wm(){let t=Z.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function jn(t,e){let n=Z.lFrame;n.currentTNode=t,n.isParent=e}function qc(){return Z.lFrame.isParent}function Sm(){Z.lFrame.isParent=!1}function Wc(){return Lo}function gu(t){let e=Lo;return Lo=t,e}function Yc(){let t=Z.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Im(t){return Z.lFrame.bindingIndex=t}function Pi(){return Z.lFrame.bindingIndex++}function Tm(t){let e=Z.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Cm(){return Z.lFrame.inI18n}function Nm(t,e){let n=Z.lFrame;n.bindingIndex=n.bindingRootIndex=t,Po(e)}function Om(){return Z.lFrame.currentDirectiveIndex}function Po(t){Z.lFrame.currentDirectiveIndex=t}function xm(t){let e=Z.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Kc(t){Z.lFrame.currentQueryIndex=t}function Dm(t){let e=t[K];return e.type===2?e.declTNode:e.type===1?t[ce]:null}function Zc(t,e,n){if(n&q.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&q.Host))&&(i=Dm(o),!(i===null||(o=o[Mn],i.type&10))););if(i===null)return!1;e=i,t=o}let r=Z.lFrame=Qc();return r.currentTNode=e,r.lView=t,!0}function qs(t){let e=Qc(),n=t[K];Z.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Qc(){let t=Z.lFrame,e=t===null?null:t.child;return e===null?Xc(t):e}function Xc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Jc(){let t=Z.lFrame;return Z.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var tf=Jc;function Ws(){let t=Jc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function km(t){return(Z.lFrame.contextLView=pm(t,Z.lFrame.contextLView))[kt]}function sn(){return Z.lFrame.selectedIndex}function We(t){Z.lFrame.selectedIndex=t}function Am(){let t=Z.lFrame;return $s(t.tView,t.selectedIndex)}function Rm(){return Z.lFrame.currentNamespace}var ef=!0;function Ys(){return ef}function Ks(t){ef=t}function Lm(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=am(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function nf(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:u,ngOnDestroy:l}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),l!=null&&(t.destroyHooks??=[]).push(n,l)}}function Xr(t,e,n){rf(t,e,3,n)}function Jr(t,e,n,r){(t[U]&3)===n&&rf(t,e,n,r)}function uo(t,e){let n=t[U];(n&3)===e&&(n&=16383,n+=1,t[U]=n)}function rf(t,e,n,r){let i=r!==void 0?t[mn]&65535:0,o=r??-1,s=e.length-1,a=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],r!=null&&a>=r)break}else e[u]<0&&(t[mn]+=65536),(a<o||o==-1)&&(Pm(t,n,e,u),t[mn]=(t[mn]&4294901760)+u+2),u++}function mu(t,e){dt(4,t,e);let n=et(null);try{e.call(t)}finally{et(n),dt(5,t,e)}}function Pm(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[U]>>14<t[mn]>>16&&(t[U]&3)===e&&(t[U]+=16384,mu(a,o)):mu(a,o)}var En=-1,Zs=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function Mm(t){return t instanceof Zs}function jm(t){return(t.flags&8)!==0}function Vm(t){return(t.flags&16)!==0}function Fm(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{let o=i,s=n[++r];Hm(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function Um(t){return t===3||t===4||t===6}function Hm(t){return t.charCodeAt(0)===64}function Qs(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?vu(t,n,i,null,e[++r]):vu(t,n,i,null,null))}}return t}function vu(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[o+1]=i);return}else if(r===t[o+1]){t[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),r!==null&&t.splice(o++,0,r),i!==null&&t.splice(o++,0,i)}var lo={},Bm=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=xi(n);let r=this.injector.get(t,lo,n);return r!==lo||e===lo?r:this.parentInjector.get(t,e,n)}};function $m(t){return t!==En}function Mo(t){return t&32767}function zm(t){return t>>16}function jo(t,e){let n=zm(t),r=e;for(;n>0;)r=r[Mn],n--;return r}var Vo=!0;function hi(t){let e=Vo;return Vo=t,e}var Gm=256,of=Gm-1,sf=5,qm=0,ue={};function Wm(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jn)&&(r=n[Jn]),r==null&&(r=n[Jn]=qm++);let i=r&of,o=1<<i;e.data[t+(i>>sf)]|=o}function af(t,e){let n=uf(t,e);if(n!==-1)return n;let r=e[K];r.firstCreatePass&&(t.injectorIndex=e.length,co(r.data,t),co(e,null),co(r.blueprint,null));let i=lf(t,e),o=t.injectorIndex;if($m(i)){let s=Mo(i),a=jo(i,e),u=a[K].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|u[s+l]}return e[o+8]=i,o}function co(t,e){t.push(0,0,0,0,0,0,0,0,e)}function uf(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function lf(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=gf(i),r===null)return En;if(n++,i=i[Mn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return En}function Ym(t,e,n){Wm(t,e,n)}function cf(t,e,n){if(n&q.Optional||t!==void 0)return t;js(e,"NodeInjector")}function ff(t,e,n,r){if(n&q.Optional&&r===void 0&&(r=null),(n&(q.Self|q.Host))===0){let i=t[ir],o=jt(void 0);try{return i?i.get(e,r,n&q.Optional):wc(e,r,n&q.Optional)}finally{jt(o)}}return cf(r,e,n)}function df(t,e,n,r=q.Default,i){if(t!==null){if(e[U]&2048&&!(r&q.Self)){let s=Jm(t,e,n,r,ue);if(s!==ue)return s}let o=hf(t,e,n,r,ue);if(o!==ue)return o}return ff(e,n,r,i)}function hf(t,e,n,r,i){let o=Qm(n);if(typeof o=="function"){if(!Zc(e,t,r))return r&q.Host?cf(i,n,r):ff(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&q.Optional))js(n);else return s}finally{tf()}}else if(typeof o=="number"){let s=null,a=uf(t,e),u=En,l=r&q.Host?e[le][ce]:null;for((a===-1||r&q.SkipSelf)&&(u=a===-1?lf(t,e):e[a+8],u===En||!_u(r,!1)?a=-1:(s=e[K],a=Mo(u),e=jo(u,e)));a!==-1;){let d=e[K];if(yu(o,a,d.data)){let h=Km(a,e,n,s,r,l);if(h!==ue)return h}u=e[a+8],u!==En&&_u(r,e[K].data[a+8]===l)&&yu(o,a,e)?(s=d,a=Mo(u),e=jo(u,e)):a=-1}}return i}function Km(t,e,n,r,i,o){let s=e[K],a=s.data[t+8],u=r==null?Ai(a)&&Vo:r!=s&&(a.type&3)!==0,l=i&q.Host&&o===a,d=Zm(a,s,n,u,l);return d!==null?Fo(e,s,d,a):ue}function Zm(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,l=t.directiveEnd,d=o>>20,h=r?a:a+d,y=i?a+d:l;for(let _=h;_<y;_++){let w=s[_];if(_<u&&n===w||_>=u&&w.type===n)return _}if(i){let _=s[u];if(_&&rn(_)&&_.type===n)return u}return null}function Fo(t,e,n,r){let i=t[n],o=e.data;if(Mm(i)){let s=i;s.resolving&&Dg(xg(o[n]));let a=hi(s.canSeeViewProviders);s.resolving=!0;let u,l=s.injectImpl?jt(s.injectImpl):null,d=Zc(t,r,q.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&Lm(n,o[n],e)}finally{l!==null&&jt(l),hi(a),s.resolving=!1,tf()}}return i}function Qm(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Jn)?t[Jn]:void 0;return typeof e=="number"?e>=0?e&of:Xm:e}function yu(t,e,n){let r=1<<t;return!!(n[e+(t>>sf)]&r)}function _u(t,e){return!(t&q.Self)&&!(t&q.Host&&e)}var pf=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return df(this._tNode,this._lView,t,xi(n),e)}};function Xm(){return new pf(_r(),yt())}function Jm(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[U]&2048&&!di(s);){let a=hf(o,s,n,r|q.Self,ue);if(a!==ue)return a;let u=o.parent;if(!u){let l=s[Rc];if(l){let d=l.get(n,ue,r);if(d!==ue)return d}u=gf(s),s=s[Mn]}o=u}return i}function gf(t){let e=t[K],n=e.type;return n===2?e.declTNode:n===1?t[ce]:null}function bu(t,e=null,n=null,r){let i=tv(t,e,n,r);return i.resolveInjectorInitializers(),i}function tv(t,e=null,n=null,r,i=new Set){let o=[n||ze,Wg(t)];return r=r||(typeof t=="object"?void 0:re(t)),new Bs(o,e||Hs(),r||null,i)}var Mi=class mf{static THROW_IF_NOT_FOUND=er;static NULL=new Cc;static create(e,n){if(Array.isArray(e))return bu({name:""},n,e,"");{let r=e.name??"";return bu({name:r},e.parent,e.providers,r)}}static \u0275prov=Et({token:mf,providedIn:"any",factory:()=>lt(Ic)});static __NG_ELEMENT_ID__=-1},ev=new ct("");ev.__NG_ELEMENT_ID__=t=>{let e=_r();if(e===null)throw new it(204,!1);if(e.type&2)return e.value;if(t&q.Optional)return null;throw new it(204,!1)};var vf=!1,yf=(()=>{class t{static __NG_ELEMENT_ID__=rv;static __NG_ENV_ID__=n=>n}return t})(),nv=class extends yf{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return $c(this._lView,t),()=>gm(this._lView,t)}};function rv(){return new nv(yt())}var br=class{},Xs=new ct("",{providedIn:"root",factory:()=>!1}),_f=new ct(""),Js=new ct(""),ji=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Wp(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new t})}return t})(),iv=class extends mr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,im()&&(this.destroyRef=at(yf,{optional:!0})??void 0,this.pendingTasks=at(ji,{optional:!0})??void 0)}emit(t){let e=et(null);try{super.next(t)}finally{et(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&typeof t=="object"){let a=t;r=a.next?.bind(a),i=a.error?.bind(a),o=a.complete?.bind(a)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:i,complete:o});return t instanceof ve&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Ne=iv;function pi(...t){}function bf(t){let e,n;function r(){t=pi;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Eu(t){return queueMicrotask(()=>t()),()=>{t=pi}}var ta="isAngularZone",gi=ta+"_ID",ov=0,$t=class Uo{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ne(!1);onMicrotaskEmpty=new Ne(!1);onStable=new Ne(!1);onError=new Ne(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=vf}=e;if(typeof Zone>"u")throw new it(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=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,uv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ta)===!0}static assertInAngularZone(){if(!Uo.isInAngularZone())throw new it(909,!1)}static assertNotInAngularZone(){if(Uo.isInAngularZone())throw new it(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,sv,pi,pi);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},sv={};function ea(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function av(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){bf(()=>{t.callbackScheduled=!1,Ho(t),t.isCheckStableRunning=!0,ea(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ho(t)}function uv(t){let e=()=>{av(t)},n=ov++;t._inner=t._inner.fork({name:"angular",properties:{[ta]:!0,[gi]:n,[gi+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(lv(u))return r.invokeTask(o,s,a,u);try{return wu(t),r.invokeTask(o,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Su(t)}},onInvoke:(r,i,o,s,a,u,l)=>{try{return wu(t),r.invoke(o,s,a,u,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!cv(u)&&e(),Su(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ho(t),ea(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ho(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Su(t){t._nesting--,ea(t)}var Ef=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ne;onMicrotaskEmpty=new Ne;onStable=new Ne;onError=new Ne;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}};function lv(t){return wf(t,"__ignore_ng_zone__")}function cv(t){return wf(t,"__scheduler_tick__")}function wf(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Er=class{_console=console;handleError(t){this._console.error("ERROR",t)}},fv=new ct("",{providedIn:"root",factory:()=>{let t=at($t),e=at(Er);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function dv(){return Sf(_r(),yt())}function Sf(t,e){return new If(on(t,e))}var If=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dv}return t})();function fo(t,e){let n=xp(t),r=n[Oe];return e?.equal&&(r.equal=e.equal),n.set=i=>Wl(r,i),n.update=i=>Dp(r,i),n.asReadonly=hv.bind(n),n}function hv(){let t=this[Oe];if(t.readonlyFn===void 0){let e=()=>this();e[Oe]=t,t.readonlyFn=e}return t.readonlyFn}function Tf(t){return(t.flags&128)===128}var Cf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Cf||{}),Nf=new Map,pv=0;function gv(){return pv++}function mv(t){Nf.set(t[ki],t)}function Bo(t){Nf.delete(t[ki])}var Iu="__ngContext__";function wr(t,e){Be(e)?(t[Iu]=e[ki],mv(e)):t[Iu]=e}function Of(t){return Df(t[or])}function xf(t){return Df(t[ie])}function Df(t){for(;t!==null&&!nn(t);)t=t[ie];return t}var $o;function vv(t){$o=t}function kf(){if($o!==void 0)return $o;if(typeof document<"u")return document;throw new it(210,!1)}var Af=new ct("",{providedIn:"root",factory:()=>yv}),yv="ng",Rf=new ct(""),na=new ct("",{providedIn:"platform",factory:()=>"unknown"}),Lf=new ct("",{providedIn:"root",factory:()=>kf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_v="h",bv="b",Pf=!1,Ev=new ct("",{providedIn:"root",factory:()=>Pf}),Mf=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Mf||{}),ra=new ct(""),Tu=new Set;function Vi(t){Tu.has(t)||(Tu.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var wv=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new t})}return t})(),Sv=()=>null;function jf(t,e,n=!1){return Sv(t,e,n)}function Vf(t,e){let n=t.contentQueries;if(n!==null){let r=et(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=t.data[s];Kc(o),a.contentQueries(2,e[s],s)}}}finally{et(r)}}}function zo(t,e,n){Kc(0);let r=et(null);try{e(t,n)}finally{et(r)}}function Ff(t,e,n){if(Pc(e)){let r=et(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{et(r)}}}var ge=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ge||{}),Vr;function Iv(){if(Vr===void 0&&(Vr=null,ai.trustedTypes))try{Vr=ai.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function Fi(t){return Iv()?.createHTML(t)||t}var Fr;function Tv(){if(Fr===void 0&&(Fr=null,ai.trustedTypes))try{Fr=ai.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fr}function Cu(t){return Tv()?.createHTML(t)||t}var an=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mc})`}},Cv=class extends an{getTypeName(){return"HTML"}},Nv=class extends an{getTypeName(){return"Style"}},Ov=class extends an{getTypeName(){return"Script"}},xv=class extends an{getTypeName(){return"URL"}},Dv=class extends an{getTypeName(){return"ResourceURL"}};function Ce(t){return t instanceof an?t.changingThisBreaksApplicationSecurity:t}function Fe(t,e){let n=kv(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${mc})`)}return n===e}function kv(t){return t instanceof an&&t.getTypeName()||null}function Av(t){return new Cv(t)}function Rv(t){return new Nv(t)}function Lv(t){return new Ov(t)}function Pv(t){return new xv(t)}function Mv(t){return new Dv(t)}function jv(t){let e=new Fv(t);return Uv()?new Vv(e):e}var Vv=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(Fi(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},Fv=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=Fi(t),e}};function Uv(){try{return!!new window.DOMParser().parseFromString(Fi(""),"text/html")}catch{return!1}}var Hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ia(t){return t=String(t),t.match(Hv)?t:"unsafe:"+t}function Ee(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function Sr(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Uf=Ee("area,br,col,hr,img,wbr"),Hf=Ee("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bf=Ee("rp,rt"),Bv=Sr(Bf,Hf),$v=Sr(Hf,Ee("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")),zv=Sr(Bf,Ee("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")),Nu=Sr(Uf,$v,zv,Bv),$f=Ee("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gv=Ee("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"),qv=Ee("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"),Wv=Sr($f,Gv,qv),Yv=Ee("script,style,template"),Kv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=Xv(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Qv(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Ou(t).toLowerCase();if(!Nu.hasOwnProperty(e))return this.sanitizedSomething=!0,!Yv.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=t.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!Wv.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;$f[s]&&(a=ia(a)),this.buf.push(" ",o,'="',xu(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Ou(t).toLowerCase();Nu.hasOwnProperty(e)&&!Uf.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xu(t))}};function Zv(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qv(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw zf(e);return e}function Xv(t){let e=t.firstChild;if(e&&Zv(t,e))throw zf(e);return e}function Ou(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function zf(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Jv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ty=/([^\#-~ |!])/g;function xu(t){return t.replace(/&/g,"&amp;").replace(Jv,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ty,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ur;function Gf(t,e){let n=null;try{Ur=Ur||jv(t);let r=e?String(e):"";n=Ur.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ur.getInertBodyElement(r)}while(r!==o);let s=new Kv().sanitizeChildren(Du(n)||n);return Fi(s)}finally{if(n){let r=Du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Du(t){return"content"in t&&ey(t)?t.content:null}function ey(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var pe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(pe||{});function qf(t){let e=Wf();return e?Cu(e.sanitize(pe.HTML,t)||""):Fe(t,"HTML")?Cu(Ce(t)):Gf(kf(),Oi(t))}function ny(t){let e=Wf();return e?e.sanitize(pe.URL,t)||"":Fe(t,"URL")?Ce(t):ia(Oi(t))}function Wf(){let t=yt();return t&&t[ye].sanitizer}function ry(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}var Yf="ng-template";function iy(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&ry(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(oa(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function oa(t){return t.type===4&&t.value!==Yf}function oy(t,e,n){let r=t.type===4&&!n?Yf:t.value;return e===r}function sy(t,e,n){let r=4,i=t.attrs,o=i!==null?ly(i):0,s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!te(r)&&!te(u))return!1;if(s&&te(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!oy(t,u,n)||u===""&&e.length===1){if(te(r))return!1;s=!0}}else if(r&8){if(i===null||!iy(t,i,u,n)){if(te(r))return!1;s=!0}}else{let l=e[++a],d=ay(u,i,oa(t),n);if(d===-1){if(te(r))return!1;s=!0;continue}if(l!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&l!==h){if(te(r))return!1;s=!0}}}}return te(r)||s}function te(t){return(t&1)===0}function ay(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return cy(e,t)}function uy(t,e,n=!1){for(let r=0;r<e.length;r++)if(sy(t,e[r],n))return!0;return!1}function ly(t){for(let e=0;e<t.length;e++){let n=t[e];if(Um(n))return e}return t.length}function cy(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function ku(t,e){return t?":not("+e.trim()+")":e}function fy(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!te(s)&&(e+=ku(o,i),i=""),r=s,o=o||!te(r);n++}return i!==""&&(e+=ku(o,i)),e}function dy(t){return t.map(fy).join(",")}function hy(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!te(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Me={};function py(t,e){return t.createText(e)}function gy(t,e,n){t.setValue(e,n)}function Kf(t,e,n){return t.createElement(e,n)}function Go(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Zf(t,e,n){t.appendChild(e,n)}function Au(t,e,n,r,i){r!==null?Go(t,e,n,r,i):Zf(t,e,n)}function my(t,e,n){t.removeChild(null,e,n)}function vy(t,e,n){t.setAttribute(e,"style",n)}function yy(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Qf(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Fm(t,e,r),i!==null&&yy(t,e,i),o!==null&&vy(t,e,o)}function sa(t,e,n,r,i,o,s,a,u,l,d){let h=Lt+r,y=h+i,_=_y(h,y),w=typeof l=="function"?l():l;return _[K]={type:t,blueprint:_,template:n,queries:null,viewQuery:a,declTNode:e,data:_.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:y,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 o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function _y(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Me);return n}function by(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=sa(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function aa(t,e,n,r,i,o,s,a,u,l,d){let h=e.blueprint.slice();return h[be]=i,h[U]=r|4|128|8|64|1024,(l!==null||t&&t[U]&2048)&&(h[U]|=2048),Bc(h),h[Xt]=h[Mn]=t,h[kt]=n,h[ye]=s||t&&t[ye],h[Gt]=a||t&&t[Gt],h[ir]=u||t&&t[ir]||null,h[ce]=o,h[ki]=gv(),h[rr]=d,h[Rc]=l,h[le]=e.type==2?t[le]:h,h}function Ey(t,e,n){let r=on(e,t),i=by(n),o=t[ye].rendererFactory,s=td(t,aa(t,i,null,Xf(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function Xf(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Jf(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function td(t,e){return t[or]?t[pu][ie]=e:t[or]=e,t[pu]=e,e}function wn(t=1){ed(fe(),yt(),sn()+t,!1)}function ed(t,e,n,r){if(!r)if((e[U]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Xr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Jr(e,i,0,n)}We(n)}var Ui=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ui||{});function qo(t,e,n,r){let i=et(null);try{let[o,s,a]=t.inputs[n],u=null;(s&Ui.SignalBased)!==0&&(u=e[o][Oe]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,u,r,n,o):jc(e,u,o,r)}finally{et(i)}}function nd(t,e,n,r,i){let o=sn(),s=r&2;try{We(-1),s&&e.length>Lt&&ed(t,e,Lt,!1),dt(s?2:0,i),n(r,i)}finally{We(o),dt(s?3:1,i)}}function ua(t,e,n){Oy(t,e,n),(n.flags&64)===64&&xy(t,e,n)}function rd(t,e,n=on){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(e,t):t[s];t[i++]=a}}}function wy(t,e,n,r){let i=r.get(Ev,Pf)||n===ge.ShadowDom,o=t.selectRootElement(e,i);return Sy(o),o}function Sy(t){Iy(t)}var Iy=()=>null;function Ty(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Cy(t,e,n,r,i,o,s,a){if(!a&&la(e,t,n,r,i)){Ai(e)&&Ny(n,e.index);return}if(e.type&3){let u=on(e,n);r=Ty(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(u,r,i)}else e.type&12}function Ny(t,e){let n=Ge(e,t);n[U]&16||(n[U]|=64)}function Oy(t,e,n){let r=n.directiveStart,i=n.directiveEnd;Ai(n)&&Ey(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||af(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],u=Fo(e,t,s,n);if(wr(u,e),o!==null&&ky(e,s-r,u,a,n,o),rn(a)){let l=Ge(n.index,e);l[kt]=Fo(e,t,s,n)}}}function xy(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Om();try{We(o);for(let a=r;a<i;a++){let u=t.data[a],l=e[a];Po(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Dy(u,l)}}finally{We(-1),Po(s)}}function Dy(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function id(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];uy(e,o.selectors,!1)&&(r??=[],rn(o)?r.unshift(o):r.push(o))}return r}function ky(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let u=s[a],l=s[a+1];qo(r,n,u,l)}}function Ay(t,e){let n=t[ir],r=n?n.get(Er,null):null;r&&r.handleError(e)}function la(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let u=0;u<s.length;u+=2){let l=s[u],d=s[u+1],h=e.data[l];qo(h,n[l],d,i),a=!0}if(o)for(let u of o){let l=n[u],d=e.data[u];qo(d,l,r,i),a=!0}return a}function Ry(t,e){let n=Ge(e,t),r=n[K];Ly(r,n);let i=n[be];i!==null&&n[rr]===null&&(n[rr]=jf(i,n[ir])),dt(18),ca(r,n,n[kt]),dt(19,n[kt])}function Ly(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function ca(t,e,n){qs(e);try{let r=t.viewQuery;r!==null&&zo(1,r,n);let i=t.template;i!==null&&nd(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[On]?.finishViewCreation(t),t.staticContentQueries&&Vf(t,e),t.staticViewQueries&&zo(2,t.viewQuery,n);let o=t.components;o!==null&&Py(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[U]&=-5,Ws()}}function Py(t,e){for(let n=0;n<e.length;n++)Ry(t,e[n])}function fa(t,e,n,r){let i=et(null);try{let o=e.tView,s=t[U]&4096?4096:16,a=aa(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];a[Nn]=u;let l=t[On];return l!==null&&(a[On]=l.createEmbeddedView(o)),ca(o,a,n),a}finally{et(i)}}function da(t,e){return!e||e.firstChild===null||Tf(t)}var My;function ha(t,e){return My(t,e)}var He=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(He||{});function od(t){return(t.flags&32)===32}function vn(t,e,n,r,i){if(r!=null){let o,s=!1;nn(r)?o=r:Be(r)&&(s=!0,r=r[be]);let a=Ae(r);t===0&&n!==null?i==null?Zf(e,n,a):Go(e,n,a,i||null,!0):t===1&&n!==null?Go(e,n,a,i||null,!0):t===2?my(e,a,s):t===3&&e.destroyNode(a),o!=null&&Yy(e,t,o,n,i)}}function jy(t,e){sd(t,e),e[be]=null,e[ce]=null}function Vy(t,e,n,r,i,o){r[be]=i,r[ce]=e,Hi(t,r,n,1,i,o)}function sd(t,e){e[ye].changeDetectionScheduler?.notify(9),Hi(t,e,e[Gt],2,null,null)}function Fy(t){let e=t[or];if(!e)return ho(t[K],t);for(;e;){let n=null;if(Be(e))n=e[or];else{let r=e[Vt];r&&(n=r)}if(!n){for(;e&&!e[ie]&&e!==t;)Be(e)&&ho(e[K],e),e=e[Xt];e===null&&(e=t),Be(e)&&ho(e[K],e),n=e&&e[ie]}e=n}}function pa(t,e){let n=t[fi],r=n.indexOf(e);n.splice(r,1)}function ga(t,e){if(yr(e))return;let n=e[Gt];n.destroyNode&&Hi(t,e,n,3,null,null),Fy(e)}function ho(t,e){if(yr(e))return;let n=et(null);try{e[U]&=-129,e[U]|=256,e[Bt]&&Hl(e[Bt]),Hy(t,e),Uy(t,e),e[K].type===1&&e[Gt].destroy();let r=e[Nn];if(r!==null&&nn(e[Xt])){r!==e[Xt]&&pa(r,e);let i=e[On];i!==null&&i.detachView(t)}Bo(e)}finally{et(n)}}function Uy(t,e){let n=t.cleanup,r=e[hu];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[hu]=null);let i=e[De];if(i!==null){e[De]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[ci];if(o!==null){e[ci]=null;for(let s of o)s.destroy()}}function Hy(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof Zs)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],u=o[s+1];dt(4,a,u);try{u.call(a)}finally{dt(5,a,u)}}else{dt(4,i,o);try{o.call(i)}finally{dt(5,i,o)}}}}}function By(t,e,n){return $y(t,e.parent,n)}function $y(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[be];if(Ai(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===ge.None||i===ge.Emulated)return null}return on(r,n)}function zy(t,e,n){return qy(t,e,n)}function Gy(t,e,n){return t.type&40?on(t,n):null}var qy=Gy,Ru;function ma(t,e,n,r){let i=By(t,r,e),o=e[Gt],s=r.parent||e[ce],a=zy(s,r,e);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Au(o,i,n[u],a,!1);else Au(o,i,n,a,!1);Ru!==void 0&&Ru(o,r,e,n,i)}function Zn(t,e){if(e!==null){let n=e.type;if(n&3)return on(e,t);if(n&4)return Wo(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Zn(t,r);{let i=t[e.index];return nn(i)?Wo(-1,i):Ae(i)}}else{if(n&128)return Zn(t,e.next);if(n&32)return ha(e,t)()||Ae(t[e.index]);{let r=ad(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=qe(t[le]);return Zn(i,r)}else return Zn(t,e.next)}}}return null}function ad(t,e){if(e!==null){let n=t[le][ce],r=e.projection;return n.projection[r]}return null}function Wo(t,e){let n=Vt+t+1;if(n<e.length){let r=e[n],i=r[K].firstChild;if(i!==null)return Zn(r,i)}return e[sr]}function va(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&e===0&&(a&&wr(Ae(a),r),n.flags|=2),!od(n))if(u&8)va(t,e,n.child,r,i,o,!1),vn(e,t,i,a,o);else if(u&32){let l=ha(n,r),d;for(;d=l();)vn(e,t,i,d,o);vn(e,t,i,a,o)}else u&16?Wy(t,e,r,n,i,o):vn(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Hi(t,e,n,r,i,o){va(n,r,t.firstChild,e,i,o,!1)}function Wy(t,e,n,r,i,o){let s=n[le],a=s[ce].projection[r.projection];if(Array.isArray(a))for(let u=0;u<a.length;u++){let l=a[u];vn(e,t,i,l,o)}else{let u=a,l=s[Xt];Tf(r)&&(u.flags|=128),va(t,e,u,l,i,o,!0)}}function Yy(t,e,n,r,i){let o=n[sr],s=Ae(n);o!==s&&vn(e,t,r,o,i);for(let a=Vt;a<n.length;a++){let u=n[a];Hi(u[K],u,t,e,r,o)}}function Ky(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:He.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=He.Important),t.setStyle(n,r,i,o))}}function mi(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(Ae(o)),nn(o)&&Zy(o,r);let s=n.type;if(s&8)mi(t,e,n.child,r);else if(s&32){let a=ha(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=ad(e,n);if(Array.isArray(a))r.push(...a);else{let u=qe(e[le]);mi(u[K],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Zy(t,e){for(let n=Vt;n<t.length;n++){let r=t[n],i=r[K].firstChild;i!==null&&mi(r[K],r,i,e)}t[sr]!==t[be]&&e.push(t[sr])}function ud(t){if(t[ao]!==null){for(let e of t[ao])e.impl.addSequence(e);t[ao].length=0}}var ld=[];function Qy(t){return t[Bt]??Xy(t)}function Xy(t){let e=ld.pop()??Object.create(t_);return e.lView=t,e}function Jy(t){t.lView[Bt]!==t&&(t.lView=null,ld.push(t))}var t_=ht(C({},As),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Li(t.lView)},consumerOnSignalRead(){this.lView[Bt]=this}});function e_(t){let e=t[Bt]??Object.create(n_);return e.lView=t,e}var n_=ht(C({},As),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=qe(t.lView);for(;e&&!cd(e[K]);)e=qe(e);e&&Gs(e)},consumerOnSignalRead(){this.lView[Bt]=this}});function cd(t){return t.type!==2}function fd(t){if(t[ci]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[ci])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[U]&8192)}}var r_=100;function dd(t,e=!0,n=0){let r=t[ye].rendererFactory,i=!1;i||r.begin?.();try{i_(t,n)}catch(o){throw e&&Ay(t,o),o}finally{i||r.end?.()}}function i_(t,e){let n=Wc();try{gu(!0),Yo(t,e);let r=0;for(;Ri(t);){if(r===r_)throw new it(103,!1);r++,Yo(t,1)}}finally{gu(n)}}function o_(t,e,n,r){if(yr(e))return;let i=e[U],o=!1,s=!1;qs(e);let a=!0,u=null,l=null;o||(cd(t)?(l=Qy(e),u=tu(l)):bp()===null?(a=!1,l=e_(e),u=tu(l)):e[Bt]&&(Hl(e[Bt]),e[Bt]=null));try{Bc(e),Im(t.bindingStartIndex),n!==null&&nd(t,e,n,2,r);let d=(i&3)===3;if(!o)if(d){let _=t.preOrderCheckHooks;_!==null&&Xr(e,_,null)}else{let _=t.preOrderHooks;_!==null&&Jr(e,_,0,null),uo(e,0)}if(s||s_(e),fd(e),hd(e,0),t.contentQueries!==null&&Vf(t,e),!o)if(d){let _=t.contentCheckHooks;_!==null&&Xr(e,_)}else{let _=t.contentHooks;_!==null&&Jr(e,_,1),uo(e,1)}u_(t,e);let h=t.components;h!==null&&gd(e,h,0);let y=t.viewQuery;if(y!==null&&zo(2,y,r),!o)if(d){let _=t.viewCheckHooks;_!==null&&Xr(e,_)}else{let _=t.viewHooks;_!==null&&Jr(e,_,2),uo(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[so]){for(let _ of e[so])_();e[so]=null}o||(ud(e),e[U]&=-73)}catch(d){throw o||Li(e),d}finally{l!==null&&(Tp(l,u),a&&Jy(l)),Ws()}}function hd(t,e){for(let n=Of(t);n!==null;n=xf(n))for(let r=Vt;r<n.length;r++){let i=n[r];pd(i,e)}}function s_(t){for(let e=Of(t);e!==null;e=xf(e)){if(!(e[U]&2))continue;let n=e[fi];for(let r=0;r<n.length;r++){let i=n[r];Gs(i)}}}function a_(t,e,n){dt(18);let r=Ge(e,t);pd(r,n),dt(19,r[kt])}function pd(t,e){zs(t)&&Yo(t,e)}function Yo(t,e){let n=t[K],r=t[U],i=t[Bt],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&Ul(i)),o||=!1,i&&(i.dirty=!1),t[U]&=-9217,o)o_(n,t,n.template,t[kt]);else if(r&8192){fd(t),hd(t,1);let s=n.components;s!==null&&gd(t,s,1),ud(t)}}function gd(t,e,n){for(let r=0;r<e.length;r++)a_(t,e[r],n)}function u_(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)We(~i);else{let o=i,s=n[++r],a=n[++r];Nm(s,o);let u=e[o];dt(24,u),a(2,u),dt(25,u)}}}finally{We(-1)}}function md(t,e){let n=Wc()?64:1088;for(t[ye].changeDetectionScheduler?.notify(e);t;){t[U]|=n;let r=qe(t);if(di(t)&&!r)return t;t=r}return null}function l_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function vd(t,e){let n=Vt+e;if(n<t.length)return t[n]}function ya(t,e,n,r=!0){let i=e[K];if(c_(i,e,t,n),r){let s=Wo(n,t),a=e[Gt],u=a.parentNode(t[sr]);u!==null&&Vy(i,t[ce],a,e,u,s)}let o=e[rr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function yd(t,e){let n=_a(t,e);return n!==void 0&&ga(n[K],n),n}function _a(t,e){if(t.length<=Vt)return;let n=Vt+e,r=t[n];if(r){let i=r[Nn];i!==null&&i!==t&&pa(i,r),e>0&&(t[n-1][ie]=r[ie]);let o=Sc(t,Vt+e);jy(r[K],r);let s=o[On];s!==null&&s.detachView(o[K]),r[Xt]=null,r[ie]=null,r[U]&=-129}return r}function c_(t,e,n,r){let i=Vt+r,o=n.length;r>0&&(n[i-1][ie]=e),r<o-Vt?(e[ie]=n[i],Hg(n,Vt+r,e)):(n.push(e),e[ie]=null),e[Xt]=n;let s=e[Nn];s!==null&&n!==s&&_d(s,e);let a=e[On];a!==null&&a.insertView(t),Ro(e),e[U]|=128}function _d(t,e){let n=t[fi],r=e[Xt];if(Be(r))t[U]|=2;else{let i=r[Xt][le];e[le]!==i&&(t[U]|=2)}n===null?t[fi]=[e]:n.push(e)}var f_=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[K];return mi(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[kt]}get dirty(){return!!(this._lView[U]&9280)||!!this._lView[Bt]?.dirty}set context(t){this._lView[kt]=t}get destroyed(){return yr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Xt];if(nn(t)){let e=t[om],n=e?e.indexOf(this):-1;n>-1&&(_a(t,n),Sc(e,n))}this._attachedToViewContainer=!1}ga(this._lView[K],this._lView)}onDestroy(t){$c(this._lView,t)}markForCheck(){md(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Gs(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){Ro(this._lView),this._lView[U]|=128}detectChanges(){this._lView[U]|=1024,dd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new it(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=di(this._lView),e=this._lView[Nn];e!==null&&!t&&pa(e,this._lView),sd(this._lView[K],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new it(902,!1);this._appRef=t;let e=di(this._lView),n=this._lView[Nn];n!==null&&!e&&_d(n,this._lView),Ro(this._lView)}};function Bi(t,e,n,r,i){let o=t.data[e];if(o===null)o=d_(t,e,n,r,i),Cm()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=wm();o.injectorIndex=s===null?-1:s.injectorIndex}return jn(o,!0),o}function d_(t,e,n,r,i){let o=Gc(),s=qc(),a=s?o:o&&o.parent,u=t.data[e]=p_(t,a,n,e,r,i);return h_(t,u,o,s),u}function h_(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function p_(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return _m()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var j1=new RegExp(`^(\\d+)*(${bv}|${_v})*(.*)`),g_=()=>null;function ba(t,e){return g_(t,e)}var m_=class{},bd=class{},v_=class{resolveComponentFactory(t){throw Error(`No component factory found for ${re(t)}.`)}},Ir=class{static NULL=new v_},Ea=class{},y_=(()=>{class t{static \u0275prov=Et({token:t,providedIn:"root",factory:()=>null})}return t})();function Lu(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=su(i,a);else if(o==2){let u=a,l=e[++s];r=su(r,u+": "+l+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function $i(t,e=q.Default){let n=yt();if(n===null)return lt(t,e);let r=_r();return df(r,n,ee(t),e)}function Ed(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,u=null,l=null,d=b_(s);d===null?a=s:[a,u,l]=d,S_(t,e,n,a,o,u,l)}o!==null&&r!==null&&__(n,r,o)}function __(t,e,n){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new it(-301,!1);r.push(e[i],o)}}function b_(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&rn(a)&&(e=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,E_(s,r,o,i)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?t:t.slice(1)),[r,i,o]):null}function E_(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function w_(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function S_(t,e,n,r,i,o,s){let a=r.length,u=!1;for(let y=0;y<a;y++){let _=r[y];!u&&rn(_)&&(u=!0,w_(t,n,y)),Ym(af(n,e),t,_.type)}x_(n,t.data.length,a);for(let y=0;y<a;y++){let _=r[y];_.providersResolver&&_.providersResolver(_)}let l=!1,d=!1,h=Jf(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let y=0;y<a;y++){let _=r[y];if(n.mergedAttrs=Qs(n.mergedAttrs,_.hostAttrs),T_(t,n,e,h,_),O_(h,_,i),s!==null&&s.has(_)){let[T,A]=s.get(_);n.directiveToIndex.set(_.type,[h,T+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(_))&&n.directiveToIndex.set(_.type,h);_.contentQueries!==null&&(n.flags|=4),(_.hostBindings!==null||_.hostAttrs!==null||_.hostVars!==0)&&(n.flags|=64);let w=_.type.prototype;!l&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),l=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}I_(t,n,o)}function I_(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Pu(0,e,i,r),Pu(1,e,i,r),ju(e,r,!1);else{let o=n.get(i);Mu(0,e,o,r),Mu(1,e,o,r),ju(e,r,!0)}}}function Pu(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),wd(e,o)}}function Mu(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),wd(e,s)}}function wd(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function ju(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||oa(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let u=r[a];if(u===0){a+=4;continue}else if(u===5){a+=2;continue}else if(typeof u=="number")break;if(!n&&i.hasOwnProperty(u)){let l=i[u];for(let d of l)if(d===e){s??=[],s.push(u,r[a+1]);break}}else if(n&&o.hasOwnProperty(u)){let l=o[u];for(let d=0;d<l.length;d+=2)if(l[d]===e){s??=[],s.push(l[d+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function T_(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Tn(i.type,!0)),s=new Zs(o,rn(i),$i);t.blueprint[r]=s,n[r]=s,C_(t,e,r,Jf(t,n,i.hostVars,Me),i)}function C_(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;N_(s)!=a&&s.push(a),s.push(n,r,o)}}function N_(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function O_(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;rn(e)&&(n[""]=t)}}function x_(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Sd(t,e,n,r,i,o,s,a){let u=e.consts,l=xn(u,s),d=Bi(e,t,2,r,l);return o&&Ed(e,n,d,xn(u,a),i),d.mergedAttrs=Qs(d.mergedAttrs,d.attrs),d.attrs!==null&&Lu(d,d.attrs,!1),d.mergedAttrs!==null&&Lu(d,d.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,d),d}function Id(t,e){nf(t,e),Pc(e)&&t.queries.elementEnd(e)}var D_=class extends Ir{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Di(t);return new M_(e,this.ngModule)}};function k_(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&Ui.SignalBased)!==0};return i&&(o.transform=i),o})}function A_(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function R_(t,e,n){let r=e instanceof nr?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Bm(n,r):n}function L_(t){let e=t.get(Ea,null);if(e===null)throw new it(407,!1);let n=t.get(y_,null),r=t.get(br,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function P_(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Kf(e,n,n==="svg"?dm:n==="math"?hm:null)}var M_=class extends bd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return k_(this.componentDef.inputs)}get outputs(){return A_(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=dy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){dt(22);let i=et(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:hy(this.componentDef.selectors[0]),a=sa(0,null,null,1,0,null,null,null,null,[s],null),u=R_(o,r||this.ngModule,t),l=L_(u),d=l.rendererFactory.createRenderer(null,o),h=n?wy(d,n,o.encapsulation,u):P_(o,d),y=aa(null,a,null,512|Xf(o),null,null,l,d,u,null,jf(h,u,!0));y[Lt]=h,qs(y);let _=null;try{let w=Sd(Lt,a,y,"#host",()=>[this.componentDef],!0,0);h&&(Qf(d,h,w),wr(h,y)),ua(a,y,w),Ff(a,w,y),Id(a,w),e!==void 0&&V_(w,this.ngContentSelectors,e),_=Ge(w.index,y),y[kt]=_[kt],ca(a,y,null)}catch(w){throw _!==null&&Bo(_),Bo(y),w}finally{dt(23),Ws()}return new j_(this.componentType,y)}finally{et(i)}}},j_=class extends m_{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=$s(e[K],Lt),this.location=Sf(this._tNode,e),this.instance=Ge(this._tNode.index,e)[kt],this.hostView=this.changeDetectorRef=new f_(e,void 0,!1),this.componentType=t}setInput(t,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,i=la(n,r[K],r,t,e);this.previousInputValues.set(t,e);let o=Ge(n.index,r);md(o,1)}get injector(){return new pf(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function V_(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var F_=()=>!1;function U_(t,e,n){return F_(t,e,n)}var Ko=class{},Td=class extends Ko{injector;componentFactoryResolver=new D_(this);instance=null;constructor(t){super();let e=new Bs([...t.providers,{provide:Ko,useValue:this},{provide:Ir,useValue:this.componentFactoryResolver}],t.parent||Hs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function H_(t,e,n=null){return new Td({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var B_=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=xc(!1,n.type),i=r.length>0?H_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Et({token:t,providedIn:"environment",factory:()=>new t(lt(nr))})}return t})();function $_(t){return Eg(()=>{let e=Y_(t),n=ht(C({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Cf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(B_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ge.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Vi("NgStandalone"),K_(n);let r=t.dependencies;return n.directiveDefs=Vu(r,!1),n.pipeDefs=Vu(r,!0),n.id=Z_(n),n})}function z_(t){return Di(t)||Nc(t)}function G_(t){return t!==null}function q_(t,e){if(t==null)return Cn;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,u;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,u=i[3]||null):(o=i,s=i,a=Ui.None,u=null),n[o]=[r,a,u],e[o]=s}return n}function W_(t){if(t==null)return Cn;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function wa(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Y_(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||Cn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:q_(t.inputs,e),outputs:W_(t.outputs),debugInfo:null}}function K_(t){t.features?.forEach(e=>e(t))}function Vu(t,e){if(!t)return null;let n=e?Oc:z_;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(G_)}function Z_(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Cd(t,e,n){return t[e]=n}function Re(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Q_(t,e,n,r){let i=Re(t,e,n);return Re(t,e+1,r)||i}function X_(t,e,n,r,i,o,s,a,u){let l=e.consts,d=Bi(e,t,4,s||null,a||null);zc()&&Ed(e,n,d,xn(l,u),id),d.mergedAttrs=Qs(d.mergedAttrs,d.attrs),nf(e,d);let h=d.tView=sa(2,d,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,d),h.queries=e.queries.embeddedTView(d)),d}function Zo(t,e,n,r,i,o,s,a,u,l){let d=n+Lt,h=e.firstCreatePass?X_(d,e,t,r,i,o,s,a,u):e.data[d];jn(h,!1);let y=J_(e,t,h,n);Ys()&&ma(e,t,y,h),wr(y,t);let _=l_(y,t,y,h);return t[d]=_,td(t,_),U_(_,h,t),Mc(h)&&ua(e,t,h),u!=null&&rd(t,h,l),h}function Nd(t,e,n,r,i,o,s,a){let u=yt(),l=fe(),d=xn(l.consts,o);return Zo(u,l,t,e,n,r,i,d,s,a),Nd}var J_=tb;function tb(t,e,n,r){return Ks(!0),e[Gt].createComment("")}var eb=new ct(""),nb=(()=>{class t{static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new rb})}return t})(),rb=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),this.queuedEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}};function Od(t){return!!t&&typeof t.then=="function"}function ib(t){return!!t&&typeof t.subscribe=="function"}var ob=new ct(""),xd=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=at(ob,{optional:!0})??[];injector=at(Mi);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Ac(this.injector,i);if(Od(o))n.push(o);else if(ib(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sb=new ct("");function ab(){Np(()=>{throw new it(600,!1)})}function ub(t){return t.isBoundToModule}var lb=10,Dn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=at(fv);afterRenderManager=at(wv);zonelessEnabled=at(Xs);rootEffectScheduler=at(nb);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new mr;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=at(ji).hasPendingTasks.pipe(pc(n=>!n));constructor(){at(ra,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=at(nr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){dt(10);let i=n instanceof bd;if(!this._injector.get(xd).done){let h=!i&&Gg(n),y=!1;throw new it(405,y)}let o;i?o=n:o=this._injector.get(Ir).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=ub(o)?void 0:this._injector.get(Ko),a=r||o.selector,u=o.create(Mi.NULL,[],a,s),l=u.location.nativeElement,d=u.injector.get(eb,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ti(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),dt(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){dt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new it(101,!1);let n=et(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,et(n),this.afterTick.next(),dt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ea,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<lb;)dt(14),this.synchronizeOnce(),dt(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)cb(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ri(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ti(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(sb,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ti(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new it(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ti(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function cb(t,e,n,r){!n&&!Ri(t)||dd(t,e,n&&!r?0:1)}function fb(t,e,n,r){return Re(t,Pi(),n)?e+Oi(n)+r:Me}function Hr(t,e){return t<<17|e<<2}function Ye(t){return t>>17&32767}function db(t){return(t&2)==2}function hb(t,e){return t&131071|e<<17}function Qo(t){return t|2}function kn(t){return(t&131068)>>2}function po(t,e){return t&-131069|e<<2}function pb(t){return(t&1)===1}function Xo(t){return t|1}function gb(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Ye(s),u=kn(s);t[r]=n;let l=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||vr(h,d)>0)&&(l=!0)}else d=n;if(i)if(u!==0){let h=Ye(t[a+1]);t[r+1]=Hr(h,a),h!==0&&(t[h+1]=po(t[h+1],r)),t[a+1]=hb(t[a+1],r)}else t[r+1]=Hr(a,0),a!==0&&(t[a+1]=po(t[a+1],r)),a=r;else t[r+1]=Hr(u,0),a===0?a=r:t[u+1]=po(t[u+1],r),u=r;l&&(t[r+1]=Qo(t[r+1])),Fu(t,d,r,!0),Fu(t,d,r,!1),mb(e,d,t,r,o),s=Hr(a,u),o?e.classBindings=s:e.styleBindings=s}function mb(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&vr(o,e)>=0&&(n[r+1]=Xo(n[r+1]))}function Fu(t,e,n,r){let i=t[n+1],o=e===null,s=r?Ye(i):kn(i),a=!1;for(;s!==0&&(a===!1||o);){let u=t[s],l=t[s+1];vb(u,e)&&(a=!0,t[s+1]=r?Xo(l):Qo(l)),s=r?Ye(l):kn(l)}a&&(t[n+1]=r?Qo(i):Xo(i))}function vb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?vr(t,e)>=0:!1}function vi(t,e,n){let r=yt(),i=Pi();if(Re(r,i,e)){let o=fe(),s=Am();Cy(o,s,r,t,e,r[Gt],n,!1)}return vi}function Uu(t,e,n,r,i){la(e,t,n,i?"class":"style",r)}function Sa(t,e,n){return yb(t,e,n,!1),Sa}function yb(t,e,n,r){let i=yt(),o=fe(),s=Tm(2);if(o.firstUpdatePass&&bb(o,t,s,r),e!==Me&&Re(i,s,e)){let a=o.data[sn()];Tb(o,a,i,i[Gt],t,i[s+1]=Cb(e,n),r,s)}}function _b(t,e){return e>=t.expandoStartIndex}function bb(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[sn()],s=_b(t,n);Nb(o,r)&&e===null&&!s&&(e=!1),e=Eb(i,o,e,r),gb(i,o,e,n,s,r)}}function Eb(t,e,n,r){let i=xm(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=go(null,t,e,n,r),n=ar(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=go(i,t,e,n,r),o===null){let a=wb(t,e,r);a!==void 0&&Array.isArray(a)&&(a=go(null,t,e,a[1],r),a=ar(a,e.attrs,r),Sb(t,e,r,a))}else o=Ib(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function wb(t,e,n){let r=n?e.classBindings:e.styleBindings;if(kn(r)!==0)return t[Ye(r)]}function Sb(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Ye(i)]=r}function Ib(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=ar(r,s,n)}return ar(r,e.attrs,n)}function go(t,e,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=e[a],r=ar(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function ar(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),$g(t,s,n?!0:e[++o]))}return t===void 0?null:t}function Tb(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let u=t.data,l=u[a+1],d=pb(l)?Hu(u,e,n,i,kn(l),s):void 0;if(!yi(d)){yi(o)||db(l)&&(o=Hu(u,null,n,i,a,s));let h=Uc(sn(),n);Ky(r,s,h,i,o)}}function Hu(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let u=t[i],l=Array.isArray(u),d=l?u[1]:u,h=d===null,y=n[i+1];y===Me&&(y=h?ze:void 0);let _=h?io(y,r):d===r?y:void 0;if(l&&!yi(_)&&(_=io(u,r)),yi(_)&&(a=_,s))return a;let w=t[i+1];i=s?Ye(w):kn(w)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=io(u,r))}return a}function yi(t){return t!==void 0}function Cb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=re(Ce(t)))),t}function Nb(t,e){return(t.flags&(e?8:16))!==0}var Ob=class{destroy(t){}updateValue(t,e){}swap(t,e){let n=Math.min(t,e),r=Math.max(t,e),i=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,i),this.attach(r,o)}else this.attach(n,i)}move(t,e){this.attach(e,this.detach(t))}};function mo(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function xb(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let u=e.length-1;for(;o<=s&&o<=u;){let l=t.at(o),d=e[o],h=mo(o,l,o,d,n);if(h!==0){h<0&&t.updateValue(o,d),o++;continue}let y=t.at(s),_=e[u],w=mo(s,y,u,_,n);if(w!==0){w<0&&t.updateValue(s,_),s--,u--;continue}let T=n(o,l),A=n(s,y),R=n(o,d);if(Object.is(R,A)){let Q=n(u,_);Object.is(Q,T)?(t.swap(o,s),t.updateValue(s,_),u--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(r??=new zu,i??=$u(t,o,s,n),Jo(t,r,o,R))t.updateValue(o,d),o++,s++;else if(i.has(R))r.set(T,t.detach(o)),s--;else{let Q=t.create(o,e[o]);t.attach(o,Q),o++,s++}}for(;o<=u;)Bu(t,r,n,o,e[o]),o++}else if(e!=null){let u=e[Symbol.iterator](),l=u.next();for(;!l.done&&o<=s;){let d=t.at(o),h=l.value,y=mo(o,d,o,h,n);if(y!==0)y<0&&t.updateValue(o,h),o++,l=u.next();else{r??=new zu,i??=$u(t,o,s,n);let _=n(o,h);if(Jo(t,r,o,_))t.updateValue(o,h),o++,s++,l=u.next();else if(!i.has(_))t.attach(o,t.create(o,h)),o++,s++,l=u.next();else{let w=n(o,d);r.set(w,t.detach(o)),s--}}}for(;!l.done;)Bu(t,r,n,t.length,l.value),l=u.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(u=>{t.destroy(u)})}function Jo(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Bu(t,e,n,r,i){if(Jo(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function $u(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var zu=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}};function Db(t,e){Vi("NgControlFlow");let n=yt(),r=Pi(),i=n[r]!==Me?n[r]:-1,o=i!==-1?_i(n,Lt+i):void 0,s=0;if(Re(n,r,t)){let a=et(null);try{if(o!==void 0&&yd(o,s),t!==-1){let u=Lt+t,l=_i(n,u),d=ts(n[K],u),h=ba(l,d.tView.ssrId),y=fa(n,d,e,{dehydratedView:h});ya(l,y,s,da(d,h))}}finally{et(a)}}else if(o!==void 0){let a=vd(o,s);a!==void 0&&(a[kt]=e)}}var kb=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Vt}},Ab=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Rb(t,e,n,r,i,o,s,a,u,l,d,h,y){Vi("NgControlFlow");let _=yt(),w=fe(),T=u!==void 0,A=yt(),R=a?s.bind(A[le][kt]):s,Q=new Ab(T,R);A[Lt+t]=Q,Zo(_,w,t+1,e,n,r,i,xn(w.consts,o)),T&&Zo(_,w,t+2,u,l,d,h,xn(w.consts,y))}var Lb=class extends Ob{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-Vt}at(t){return this.getLView(t)[kt].$implicit}attach(t,e){let n=e[rr];this.needsIndexUpdate||=t!==this.length,ya(this.lContainer,e,t,da(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Mb(this.lContainer,t)}create(t,e){let n=ba(this.lContainer,this.templateTNode.tView.ssrId),r=fa(this.hostLView,this.templateTNode,new kb(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){ga(t[K],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[kt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[kt].$index=t}getLView(t){return jb(this.lContainer,t)}};function Pb(t){let e=et(null),n=sn();try{let r=yt(),i=r[K],o=r[n],s=n+1,a=_i(r,s);if(o.liveCollection===void 0){let l=ts(i,s);o.liveCollection=new Lb(a,r,l)}else o.liveCollection.reset();let u=o.liveCollection;if(xb(u,t,o.trackByFn),u.updateIndexes(),o.hasEmptyBlock){let l=Pi(),d=u.length===0;if(Re(r,l,d)){let h=n+2,y=_i(r,h);if(d){let _=ts(i,h),w=ba(y,_.tView.ssrId),T=fa(r,_,void 0,{dehydratedView:w});ya(y,T,0,da(_,w))}else yd(y,0)}}}finally{et(e)}}function _i(t,e){return t[e]}function Mb(t,e){return _a(t,e)}function jb(t,e){return vd(t,e)}function ts(t,e){return $s(t,e)}function ur(t,e,n,r){let i=yt(),o=fe(),s=Lt+t,a=i[Gt],u=o.firstCreatePass?Sd(s,o,i,e,id,zc(),n,r):o.data[s],l=Vb(o,i,u,a,e,t);i[s]=l;let d=Mc(u);return jn(u,!0),Qf(a,l,u),!od(u)&&Ys()&&ma(o,i,l,u),(mm()===0||d)&&wr(l,i),vm(),d&&(ua(o,i,u),Ff(o,u,i)),r!==null&&rd(i,u),ur}function lr(){let t=_r();qc()?Sm():(t=t.parent,jn(t,!1));let e=t;bm(e)&&Em(),ym();let n=fe();return n.firstCreatePass&&Id(n,e),e.classesWithoutHost!=null&&jm(e)&&Uu(n,e,yt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Vm(e)&&Uu(n,e,yt(),e.stylesWithoutHost,!1),lr}function cr(t,e,n,r){return ur(t,e,n,r),lr(),cr}var Vb=(t,e,n,r,i,o)=>(Ks(!0),Kf(r,i,Rm())),bi="en-US",Fb=bi;function Ub(t){typeof t=="string"&&(Fb=t.toLowerCase().replace(/_/g,"-"))}function Dd(t=1){return km(t)}function kd(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Hb(t,e=""){let n=yt(),r=fe(),i=t+Lt,o=r.firstCreatePass?Bi(r,i,1,e,null):r.data[i],s=Bb(r,n,o,e,t);n[i]=s,Ys()&&ma(r,n,s,o),jn(o,!1)}var Bb=(t,e,n,r,i)=>(Ks(!0),py(e[Gt],r));function Ad(t){return Rd("",t,""),Ad}function Rd(t,e,n){let r=yt(),i=fb(r,t,e,n);return i!==Me&&$b(r,sn(),i),Rd}function $b(t,e,n){let r=Uc(e,t);gy(t[Gt],r,n)}var zb={};function Ld(t){let e=fe(),n=yt(),r=t+Lt,i=Bi(e,r,128,null,null);return jn(i,!1),kd(e,n,r,zb),Ld}function Pd(t,e){let n=t[e];return n===Me?void 0:n}function Gb(t,e,n,r,i,o){let s=e+n;return Re(t,s,i)?Cd(t,s+1,o?r.call(o,i):r(i)):Pd(t,s+1)}function qb(t,e,n,r,i,o,s){let a=e+n;return Q_(t,a,i,o)?Cd(t,a+2,s?r.call(s,i,o):r(i,o)):Pd(t,a+2)}function Ei(t,e){let n=fe(),r,i=t+Lt;n.firstCreatePass?(r=Wb(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Tn(r.type,!0)),s,a=jt($i);try{let u=hi(!1),l=o();return hi(u),kd(n,yt(),i,l),l}finally{jt(a)}}function Wb(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function es(t,e,n){let r=t+Lt,i=yt(),o=Hc(i,r);return Md(i,r)?Gb(i,Yc(),e,o.transform,n,o):o.transform(n)}function Yb(t,e,n,r){let i=t+Lt,o=yt(),s=Hc(o,i);return Md(o,i)?qb(o,Yc(),e,s.transform,n,r,s):s.transform(n,r)}function Md(t,e){return t[K].data[e].pure}var Kb=(()=>{class t{zone=at($t);changeDetectionScheduler=at(br);applicationRef=at(Dn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new $t(ht(C({},Qb()),{scheduleInRootZone:n})),[{provide:$t,useFactory:t},{provide:li,multi:!0,useFactory:()=>{let r=at(Kb,{optional:!0});return()=>r.initialize()}},{provide:li,multi:!0,useFactory:()=>{let r=at(Xb);return()=>{r.initialize()}}},e===!0?{provide:_f,useValue:!0}:[],{provide:Js,useValue:n??vf}]}function Qb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Xb=(()=>{class t{subscription=new ve;initialized=!1;zone=at($t);pendingTasks=at(ji);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$t.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$t.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jd=(()=>{class t{appRef=at(Dn);taskService=at(ji);ngZone=at($t);zonelessEnabled=at(Xs);tracing=at(ra,{optional:!0});disableScheduling=at(_f,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ve;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(at(Js,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ef||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){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=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Eu:bf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gi+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Eu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Jb(){return Vi("NgZoneless"),qg([{provide:br,useExisting:jd},{provide:$t,useClass:Ef},{provide:Xs,useValue:!0},{provide:Js,useValue:!1},[]])}function tE(){return typeof $localize<"u"&&$localize.locale||bi}var Vd=new ct("",{providedIn:"root",factory:()=>at(Vd,q.Optional|q.SkipSelf)||tE()}),ns=new ct(""),eE=new ct("");function Wn(t){return!t.moduleRef}function nE(t){let e=Wn(t)?t.r3Injector:t.moduleRef.injector,n=e.get($t);return n.run(()=>{Wn(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(Er,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Wn(t)){let o=()=>e.destroy(),s=t.platformInjector.get(ns);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(ns);s.add(o),t.moduleRef.onDestroy(()=>{ti(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return iE(r,n,()=>{let o=e.get(xd);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Vd,bi);if(Ub(s||bi),!e.get(eE,!0))return Wn(t)?e.get(Dn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Wn(t)){let a=e.get(Dn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return rE(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function rE(t,e){let n=t.injector.get(Dn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new it(-403,!1);e.push(t)}function iE(t,e,n){try{let r=n();return Od(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var ei=null;function oE(t=[],e){return Mi.create({name:e,providers:[{provide:Us,useValue:"platform"},{provide:ns,useValue:new Set([()=>ei=null])},...t]})}function sE(t=[]){if(ei)return ei;let e=oE(t);return ei=e,ab(),aE(e),e}function aE(t){let e=t.get(Rf,null);Ac(t,()=>{e?.forEach(n=>n())})}function uE(t){dt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=sE(r),o=[Zb({}),{provide:br,useExisting:jd},...n||[]],s=new Td({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return nE({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{dt(9)}}var V1=class{[Oe];constructor(t){this[Oe]=t}destroy(){this[Oe].destroy()}},lE={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function cE(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function fE(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var vo;function dE(t,e){if(!vo){let n=Element.prototype;vo=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?vo.call(t,e):!1}function hE(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[cE(r)]=[n,i]}),e}function pE(t,e){return e.get(Ir).resolveComponentFactory(t).inputs}function gE(t,e){let n=t.childNodes,r=e.map(()=>[]),i=-1;e.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],u=mE(a,e,i);u!==-1&&r[u].push(a)}return r}function mE(t,e,n){let r=n;return fE(t)&&e.some((i,o)=>i!=="*"&&dE(t,i)?(r=o,!0):!1),r}var vE=10,yE=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(Ir).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new _E(this.componentFactory,t,this.inputMap)}},_E=class{componentFactory;injector;inputMap;eventEmitters=new Yp(1);events=this.eventEmitters.pipe(_g(t=>yg(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,n){this.componentFactory=t,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get($t),this.appRef=this.injector.get(Dn),this.cdScheduler=e.get(br),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=lE.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},vE))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let e=Mi.create({providers:[],parent:this.injector}),n=gE(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=t.instance[n];return new zt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},bE=class extends HTMLElement{ngElementEventsSubscription=null};function EE(t,e){let n=pE(t,e.injector),r=e.strategyFactory||new yE(t,e.injector),i=hE(n);class o extends bE{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u,transform:l})=>{if(!this.hasOwnProperty(u))return;let d=this[u];delete this[u],a.setInputValue(u,d,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,u,l,d){let[h,y]=i[a];this.ngElementStrategy.setInputValue(h,l,y)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),o}var Fd=null;function Ud(){return Fd}function wE(t){Fd??=t}var SE=class{},Le=new ct("");function IE(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var TE="browser",CE="server";function Hd(t){return t===CE}var NE=class{},OE=class extends SE{supportsDOMEvents=!0},xE=class Bd extends OE{static makeCurrent(){wE(new Bd)}onAndCancel(e,n,r,i){return e.addEventListener(n,r,i),()=>{e.removeEventListener(n,r,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=DE();return n==null?null:kE(n)}resetBaseElement(){Qn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return IE(document.cookie,e)}},Qn=null;function DE(){return Qn=Qn||document.querySelector("base"),Qn?Qn.getAttribute("href"):null}function kE(t){return new URL(t,document.baseURI).pathname}var AE=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),rs=new ct(""),$d=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new it(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(lt(rs),lt($t))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),zd=class{_doc;constructor(t){this._doc=t}manager},ni="ng-app-id";function Gu(t){for(let e of t)e.remove()}function qu(t,e){let n=e.createElement("style");return n.textContent=t,n}function RE(t,e,n,r){let i=t.head?.querySelectorAll(`style[${ni}="${e}"],link[${ni}="${e}"]`);if(i)for(let o of i)o.removeAttribute(ni),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function is(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var Gd=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=Hd(o),RE(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,qu);r?.forEach(i=>this.addUsage(i,this.external,is))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(Gu(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Gu(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,qu(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,is(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ni,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(lt(Le),lt(Af),lt(Lf,8),lt(na))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),yo={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"},Ia=/%COMP%/g,qd="%COMP%",LE=`_nghost-${qd}`,PE=`_ngcontent-${qd}`,ME=!0,jE=new ct("",{providedIn:"root",factory:()=>ME});function VE(t){return PE.replace(Ia,t)}function FE(t){return LE.replace(Ia,t)}function Wd(t,e){return e.map(n=>n.replace(Ia,t))}var Wu=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,u,l=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.tracingService=d,this.platformIsServer=Hd(a),this.defaultRenderer=new Ta(n,s,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ge.ShadowDom&&(r=ht(C({},r),{encapsulation:ge.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Ku?i.applyToHost(n):i instanceof os&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,y=this.tracingService;switch(r.encapsulation){case ge.Emulated:o=new Ku(u,l,r,this.appId,d,s,a,h,y);break;case ge.ShadowDom:return new UE(u,l,n,r,s,a,this.nonce,h,y);default:o=new os(u,l,r,d,s,a,h,y);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(n){return new(n||t)(lt($d),lt(Gd),lt(Af),lt(jE),lt(Le),lt(na),lt($t),lt(Lf),lt(ra,8))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),Ta=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(yo[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Yu(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Yu(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new it(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;let i=yo[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=yo[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(He.DashCase|He.Important)?t.style.setProperty(e,n,r&He.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&He.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if(typeof t=="string"&&(t=Ud().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,e,i)),this.eventManager.addEventListener(t,e,i,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function Yu(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var UE=class extends Ta{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,a,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Wd(r.id,l);for(let h of l){let y=document.createElement("style");s&&y.setAttribute("nonce",s),y.textContent=h,this.shadowRoot.appendChild(y)}let d=r.getExternalStyles?.();if(d)for(let h of d){let y=is(h,i);s&&y.setAttribute("nonce",s),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},os=class extends Ta{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=n.styles;this.styles=u?Wd(u,l):l,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ku=class extends os{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,u){let l=r+"-"+n.id;super(t,e,n,i,o,s,a,u,l),this.contentAttr=VE(l),this.hostAttr=FE(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}},HE=(()=>{class t extends zd{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),Zu=["alt","control","meta","shift"],BE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$E={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zE=(()=>{class t extends zd{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ud().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zu.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=BE[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Zu.forEach(s=>{if(s!==i){let a=$E[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})();function GE(t){return uE(qE(t))}function qE(t){return{appProviders:[...QE,...t?.providers??[]],platformProviders:ZE}}function WE(){xE.makeCurrent()}function YE(){return new Er}function KE(){return vv(document),document}var ZE=[{provide:na,useValue:TE},{provide:Rf,useValue:WE,multi:!0},{provide:Le,useFactory:KE,deps:[]}],QE=[{provide:Us,useValue:"root"},{provide:Er,useFactory:YE,deps:[]},{provide:rs,useClass:HE,multi:!0,deps:[Le]},{provide:rs,useClass:zE,multi:!0,deps:[Le]},Wu,Gd,$d,{provide:Ea,useExisting:Wu},{provide:NE,useClass:AE,deps:[]},[]],Yd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=lt(XE),r},providedIn:"root"})}return t})(),XE=(()=>{class t extends Yd{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case pe.NONE:return r;case pe.HTML:return Fe(r,"HTML")?Ce(r):Gf(this._doc,String(r)).toString();case pe.STYLE:return Fe(r,"Style")?Ce(r):r;case pe.SCRIPT:if(Fe(r,"Script"))return Ce(r);throw new it(5200,!1);case pe.URL:return Fe(r,"URL")?Ce(r):ia(String(r));case pe.RESOURCE_URL:if(Fe(r,"ResourceURL"))return Ce(r);throw new it(5201,!1);default:throw new it(5202,!1)}}bypassSecurityTrustHtml(n){return Av(n)}bypassSecurityTrustStyle(n){return Rv(n)}bypassSecurityTrustScript(n){return Lv(n)}bypassSecurityTrustUrl(n){return Pv(n)}bypassSecurityTrustResourceUrl(n){return Mv(n)}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ss={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css"},Zt=pr(pp()),JE="9.3.32",ri=class as{static SDK_VERSION=JE;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let e=as.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");as.SDK_VERSION_CODE=parseInt(e,10)}},Qt=class{static log(...t){Zt.default.info(...t)}static debug(...t){Zt.default.debug(...t)}static error(...t){Zt.default.error(...t)}static warn(...t){Zt.default.warn(...t)}static info(...t){Zt.default.info(...t)}static trace(...t){Zt.default.trace(...t)}static configure(t=ri.LOG_PREFIX){Zt.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${ri.SDK_VERSION}):`)}});let e=this.getDebugParam();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Zt.default.setLevel(Zt.default[localStorage.cooeeLogLevel]):Zt.default.setLevel(ss.debug?Zt.default.TRACE:Zt.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
7
+ `)}`}function Tn(t,e){return t.hasOwnProperty(cu)?t[cu]:null}function Vs(t,e){t.forEach(n=>Array.isArray(n)?Vs(n,e):e(n))}function Hg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Sc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Bg(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function $g(t,e,n){let r=vr(t,e);return r>=0?t[r|1]=n:(r=~r,Bg(t,r,e,n)),r}function io(t,e){let n=vr(t,e);if(n>=0)return t[n|1]}function vr(t,e){return zg(t,e,1)}function zg(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var Cn={},ze=[],li=new ct(""),Ic=new ct("",-1),Tc=new ct(""),Cc=class{get(t,e=er){if(e===er){let n=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw n.name="NullInjectorError",n}return e}};function Di(t){return t[Cg]||null}function Nc(t){return t[Ng]||null}function Oc(t){return t[Og]||null}function Gg(t){let e=Di(t)||Nc(t)||Oc(t);return e!==null&&e.standalone}function qg(t){return{\u0275providers:t}}function Wg(...t){return{\u0275providers:xc(!0,t),\u0275fromNgModule:!0}}function xc(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Vs(e,s=>{let a=s;xo(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Dc(i,o),n}function Dc(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];Fs(i,o=>{e(o,r)})}}function xo(t,e,n,r){if(t=ee(t),!t)return!1;let i=null,o=uu(t),s=!o&&Di(t);if(!o&&!s){let u=t.ngModule;if(o=uu(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of u)xo(l,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{Vs(o.imports,d=>{xo(d,e,n,r)&&(l||=[],l.push(d))})}finally{}l!==void 0&&Dc(l,e)}if(!a){let l=Tn(i)||(()=>new i);e({provide:i,useFactory:l,deps:ze},i),e({provide:Tc,useValue:i,multi:!0},i),e({provide:li,useValue:()=>lt(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let l=t;Fs(u,d=>{e(d,l)})}}else return!1;return i!==t&&t.providers!==void 0}function Fs(t,e){for(let n of t)bc(n)&&(n=n.\u0275providers),Array.isArray(n)?Fs(n,e):e(n)}var Yg=ft({provide:String,useValue:ft});function kc(t){return t!==null&&typeof t=="object"&&Yg in t}function Kg(t){return!!(t&&t.useExisting)}function Zg(t){return!!(t&&t.useFactory)}function Do(t){return typeof t=="function"}var Us=new ct(""),Qr={},Qg={},oo;function Hs(){return oo===void 0&&(oo=new Cc),oo}var nr=class{},Bs=class extends nr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Ao(t,o=>this.processProvider(o)),this.records.set(Ic,gn(void 0,this)),r.has("environment")&&this.records.set(nr,gn(void 0,this));let i=this.records.get(Us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Tc,ze,q.Self))}destroy(){Kn(this),this._destroyed=!0;let t=et(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),et(t)}}onDestroy(t){return Kn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Kn(this);let e=Se(this),n=jt(void 0),r;try{return t()}finally{Se(e),jt(n)}}get(t,e=er,n=q.Default){if(Kn(this),t.hasOwnProperty(fu))return t[fu](this);n=xi(n);let r,i=Se(this),o=jt(void 0);try{if(!(n&q.SkipSelf)){let a=this.records.get(t);if(a===void 0){let u=rm(t)&&Ms(t);u&&this.injectableDefInScope(u)?a=gn(ko(t),Qr):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&q.Self?Hs():this.parent;return e=n&q.Optional&&e===er?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[ui]=s[ui]||[]).unshift(re(t)),i)throw s;return Fg(s,t,"R3InjectorError",this.source)}else throw s}finally{jt(o),Se(i)}}resolveInjectorInitializers(){let t=et(null),e=Se(this),n=jt(void 0),r;try{let i=this.get(li,ze,q.Self);for(let o of i)o()}finally{Se(e),jt(n),et(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(re(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ee(t);let e=Do(t)?t:ee(t&&t.provide),n=Jg(t);if(!Do(t)&&t.multi===!0){let r=this.records.get(e);r||(r=gn(void 0,Qr,!0),r.factory=()=>Oo(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=et(null);try{return e.value===Qr&&(e.value=Qg,e.value=e.factory()),typeof e.value=="object"&&e.value&&nm(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{et(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=ee(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function ko(t){let e=Ms(t),n=e!==null?e.factory:Tn(t);if(n!==null)return n;if(t instanceof ct)throw new it(204,!1);if(t instanceof Function)return Xg(t);throw new it(204,!1)}function Xg(t){if(t.length>0)throw new it(204,!1);let e=Ig(t);return e!==null?()=>e.factory(t):()=>new t}function Jg(t){if(kc(t))return gn(void 0,t.useValue);{let e=tm(t);return gn(e,Qr)}}function tm(t,e,n){let r;if(Do(t)){let i=ee(t);return Tn(i)||ko(i)}else if(kc(t))r=()=>ee(t.useValue);else if(Zg(t))r=()=>t.useFactory(...Oo(t.deps||[]));else if(Kg(t))r=()=>lt(ee(t.useExisting));else{let i=ee(t&&(t.useClass||t.provide));if(em(t))r=()=>new i(...Oo(t.deps));else return Tn(i)||ko(i)}return r}function Kn(t){if(t.destroyed)throw new it(205,!1)}function gn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function em(t){return!!t.deps}function nm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function rm(t){return typeof t=="function"||typeof t=="object"&&t instanceof ct}function Ao(t,e){for(let n of t)Array.isArray(n)?Ao(n,e):n&&bc(n)?Ao(n.\u0275providers,e):e(n)}function Ac(t,e){t instanceof Bs&&Kn(t);let n,r=Se(t),i=jt(void 0);try{return e()}finally{Se(r),jt(i)}}function im(){return Ec()!==void 0||Mg()!=null}var be=0,K=1,U=2,Xt=3,ie=4,ce=5,rr=6,hu=7,kt=8,ir=9,ye=10,Gt=11,or=12,pu=13,Mn=14,le=15,Nn=16,mn=17,On=18,ki=19,Rc=20,De=21,so=22,ci=23,Bt=24,ao=25,Lt=26,Lc=1,sr=7,om=8,fi=9,Vt=10;function Be(t){return Array.isArray(t)&&typeof t[Lc]=="object"}function nn(t){return Array.isArray(t)&&t[Lc]===!0}function Pc(t){return(t.flags&4)!==0}function Ai(t){return t.componentOffset>-1}function Mc(t){return(t.flags&1)===1}function rn(t){return!!t.template}function di(t){return(t[U]&512)!==0}function yr(t){return(t[U]&256)===256}var sm=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function jc(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function am(t){return t.type.prototype.ngOnChanges&&(t.setInput=lm),um}function um(){let t=Fc(this),e=t?.current;if(e){let n=t.previous;if(n===Cn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function lm(t,e,n,r,i){let o=this.declaredInputs[r],s=Fc(t)||cm(t,{previous:Cn,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[o];a[o]=new sm(l&&l.currentValue,n,u===Cn),jc(t,e,i,n)}var Vc="__ngSimpleChanges__";function Fc(t){return t[Vc]||null}function cm(t,e){return t[Vc]=e}var fm=null,dt=function(t,e=null,n){fm?.(t,e,n)},dm="svg",hm="math";function Ae(t){for(;Array.isArray(t);)t=t[be];return t}function Uc(t,e){return Ae(e[t])}function on(t,e){return Ae(e[t.index])}function $s(t,e){return t.data[e]}function Hc(t,e){return t[e]}function Ge(t,e){let n=e[t];return Be(n)?n:n[be]}function zs(t){return(t[U]&128)===128}function xn(t,e){return e==null?null:t[e]}function Bc(t){t[mn]=0}function Gs(t){t[U]&1024||(t[U]|=1024,zs(t)&&Li(t))}function pm(t,e){for(;t>0;)e=e[Mn],t--;return e}function Ri(t){return!!(t[U]&9216||t[Bt]?.dirty)}function Ro(t){t[ye].changeDetectionScheduler?.notify(8),t[U]&64&&(t[U]|=1024),Ri(t)&&Li(t)}function Li(t){t[ye].changeDetectionScheduler?.notify(0);let e=qe(t);for(;e!==null&&!(e[U]&8192||(e[U]|=8192,!zs(e)));)e=qe(e)}function $c(t,e){if(yr(t))throw new it(911,!1);t[De]===null&&(t[De]=[]),t[De].push(e)}function gm(t,e){if(t[De]===null)return;let n=t[De].indexOf(e);n!==-1&&t[De].splice(n,1)}function qe(t){let e=t[Xt];return nn(e)?e[Xt]:e}var Z={lFrame:Xc(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Lo=!1;function mm(){return Z.lFrame.elementDepthCount}function vm(){Z.lFrame.elementDepthCount++}function ym(){Z.lFrame.elementDepthCount--}function zc(){return Z.bindingsEnabled}function _m(){return Z.skipHydrationRootTNode!==null}function bm(t){return Z.skipHydrationRootTNode===t}function Em(){Z.skipHydrationRootTNode=null}function yt(){return Z.lFrame.lView}function fe(){return Z.lFrame.tView}function _r(){let t=Gc();for(;t!==null&&t.type===64;)t=t.parent;return t}function Gc(){return Z.lFrame.currentTNode}function wm(){let t=Z.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function jn(t,e){let n=Z.lFrame;n.currentTNode=t,n.isParent=e}function qc(){return Z.lFrame.isParent}function Sm(){Z.lFrame.isParent=!1}function Wc(){return Lo}function gu(t){let e=Lo;return Lo=t,e}function Yc(){let t=Z.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Im(t){return Z.lFrame.bindingIndex=t}function Pi(){return Z.lFrame.bindingIndex++}function Tm(t){let e=Z.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Cm(){return Z.lFrame.inI18n}function Nm(t,e){let n=Z.lFrame;n.bindingIndex=n.bindingRootIndex=t,Po(e)}function Om(){return Z.lFrame.currentDirectiveIndex}function Po(t){Z.lFrame.currentDirectiveIndex=t}function xm(t){let e=Z.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Kc(t){Z.lFrame.currentQueryIndex=t}function Dm(t){let e=t[K];return e.type===2?e.declTNode:e.type===1?t[ce]:null}function Zc(t,e,n){if(n&q.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&q.Host))&&(i=Dm(o),!(i===null||(o=o[Mn],i.type&10))););if(i===null)return!1;e=i,t=o}let r=Z.lFrame=Qc();return r.currentTNode=e,r.lView=t,!0}function qs(t){let e=Qc(),n=t[K];Z.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Qc(){let t=Z.lFrame,e=t===null?null:t.child;return e===null?Xc(t):e}function Xc(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Jc(){let t=Z.lFrame;return Z.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var tf=Jc;function Ws(){let t=Jc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function km(t){return(Z.lFrame.contextLView=pm(t,Z.lFrame.contextLView))[kt]}function sn(){return Z.lFrame.selectedIndex}function We(t){Z.lFrame.selectedIndex=t}function Am(){let t=Z.lFrame;return $s(t.tView,t.selectedIndex)}function Rm(){return Z.lFrame.currentNamespace}var ef=!0;function Ys(){return ef}function Ks(t){ef=t}function Lm(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=am(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function nf(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:u,ngOnDestroy:l}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),l!=null&&(t.destroyHooks??=[]).push(n,l)}}function Xr(t,e,n){rf(t,e,3,n)}function Jr(t,e,n,r){(t[U]&3)===n&&rf(t,e,n,r)}function uo(t,e){let n=t[U];(n&3)===e&&(n&=16383,n+=1,t[U]=n)}function rf(t,e,n,r){let i=r!==void 0?t[mn]&65535:0,o=r??-1,s=e.length-1,a=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],r!=null&&a>=r)break}else e[u]<0&&(t[mn]+=65536),(a<o||o==-1)&&(Pm(t,n,e,u),t[mn]=(t[mn]&4294901760)+u+2),u++}function mu(t,e){dt(4,t,e);let n=et(null);try{e.call(t)}finally{et(n),dt(5,t,e)}}function Pm(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[U]>>14<t[mn]>>16&&(t[U]&3)===e&&(t[U]+=16384,mu(a,o)):mu(a,o)}var En=-1,Zs=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function Mm(t){return t instanceof Zs}function jm(t){return(t.flags&8)!==0}function Vm(t){return(t.flags&16)!==0}function Fm(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{let o=i,s=n[++r];Hm(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function Um(t){return t===3||t===4||t===6}function Hm(t){return t.charCodeAt(0)===64}function Qs(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?vu(t,n,i,null,e[++r]):vu(t,n,i,null,null))}}return t}function vu(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[o+1]=i);return}else if(r===t[o+1]){t[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),r!==null&&t.splice(o++,0,r),i!==null&&t.splice(o++,0,i)}var lo={},Bm=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=xi(n);let r=this.injector.get(t,lo,n);return r!==lo||e===lo?r:this.parentInjector.get(t,e,n)}};function $m(t){return t!==En}function Mo(t){return t&32767}function zm(t){return t>>16}function jo(t,e){let n=zm(t),r=e;for(;n>0;)r=r[Mn],n--;return r}var Vo=!0;function hi(t){let e=Vo;return Vo=t,e}var Gm=256,of=Gm-1,sf=5,qm=0,ue={};function Wm(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jn)&&(r=n[Jn]),r==null&&(r=n[Jn]=qm++);let i=r&of,o=1<<i;e.data[t+(i>>sf)]|=o}function af(t,e){let n=uf(t,e);if(n!==-1)return n;let r=e[K];r.firstCreatePass&&(t.injectorIndex=e.length,co(r.data,t),co(e,null),co(r.blueprint,null));let i=lf(t,e),o=t.injectorIndex;if($m(i)){let s=Mo(i),a=jo(i,e),u=a[K].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|u[s+l]}return e[o+8]=i,o}function co(t,e){t.push(0,0,0,0,0,0,0,0,e)}function uf(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function lf(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=gf(i),r===null)return En;if(n++,i=i[Mn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return En}function Ym(t,e,n){Wm(t,e,n)}function cf(t,e,n){if(n&q.Optional||t!==void 0)return t;js(e,"NodeInjector")}function ff(t,e,n,r){if(n&q.Optional&&r===void 0&&(r=null),(n&(q.Self|q.Host))===0){let i=t[ir],o=jt(void 0);try{return i?i.get(e,r,n&q.Optional):wc(e,r,n&q.Optional)}finally{jt(o)}}return cf(r,e,n)}function df(t,e,n,r=q.Default,i){if(t!==null){if(e[U]&2048&&!(r&q.Self)){let s=Jm(t,e,n,r,ue);if(s!==ue)return s}let o=hf(t,e,n,r,ue);if(o!==ue)return o}return ff(e,n,r,i)}function hf(t,e,n,r,i){let o=Qm(n);if(typeof o=="function"){if(!Zc(e,t,r))return r&q.Host?cf(i,n,r):ff(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&q.Optional))js(n);else return s}finally{tf()}}else if(typeof o=="number"){let s=null,a=uf(t,e),u=En,l=r&q.Host?e[le][ce]:null;for((a===-1||r&q.SkipSelf)&&(u=a===-1?lf(t,e):e[a+8],u===En||!_u(r,!1)?a=-1:(s=e[K],a=Mo(u),e=jo(u,e)));a!==-1;){let d=e[K];if(yu(o,a,d.data)){let h=Km(a,e,n,s,r,l);if(h!==ue)return h}u=e[a+8],u!==En&&_u(r,e[K].data[a+8]===l)&&yu(o,a,e)?(s=d,a=Mo(u),e=jo(u,e)):a=-1}}return i}function Km(t,e,n,r,i,o){let s=e[K],a=s.data[t+8],u=r==null?Ai(a)&&Vo:r!=s&&(a.type&3)!==0,l=i&q.Host&&o===a,d=Zm(a,s,n,u,l);return d!==null?Fo(e,s,d,a):ue}function Zm(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,l=t.directiveEnd,d=o>>20,h=r?a:a+d,y=i?a+d:l;for(let _=h;_<y;_++){let w=s[_];if(_<u&&n===w||_>=u&&w.type===n)return _}if(i){let _=s[u];if(_&&rn(_)&&_.type===n)return u}return null}function Fo(t,e,n,r){let i=t[n],o=e.data;if(Mm(i)){let s=i;s.resolving&&Dg(xg(o[n]));let a=hi(s.canSeeViewProviders);s.resolving=!0;let u,l=s.injectImpl?jt(s.injectImpl):null,d=Zc(t,r,q.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&Lm(n,o[n],e)}finally{l!==null&&jt(l),hi(a),s.resolving=!1,tf()}}return i}function Qm(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Jn)?t[Jn]:void 0;return typeof e=="number"?e>=0?e&of:Xm:e}function yu(t,e,n){let r=1<<t;return!!(n[e+(t>>sf)]&r)}function _u(t,e){return!(t&q.Self)&&!(t&q.Host&&e)}var pf=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return df(this._tNode,this._lView,t,xi(n),e)}};function Xm(){return new pf(_r(),yt())}function Jm(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[U]&2048&&!di(s);){let a=hf(o,s,n,r|q.Self,ue);if(a!==ue)return a;let u=o.parent;if(!u){let l=s[Rc];if(l){let d=l.get(n,ue,r);if(d!==ue)return d}u=gf(s),s=s[Mn]}o=u}return i}function gf(t){let e=t[K],n=e.type;return n===2?e.declTNode:n===1?t[ce]:null}function bu(t,e=null,n=null,r){let i=tv(t,e,n,r);return i.resolveInjectorInitializers(),i}function tv(t,e=null,n=null,r,i=new Set){let o=[n||ze,Wg(t)];return r=r||(typeof t=="object"?void 0:re(t)),new Bs(o,e||Hs(),r||null,i)}var Mi=class mf{static THROW_IF_NOT_FOUND=er;static NULL=new Cc;static create(e,n){if(Array.isArray(e))return bu({name:""},n,e,"");{let r=e.name??"";return bu({name:r},e.parent,e.providers,r)}}static \u0275prov=Et({token:mf,providedIn:"any",factory:()=>lt(Ic)});static __NG_ELEMENT_ID__=-1},ev=new ct("");ev.__NG_ELEMENT_ID__=t=>{let e=_r();if(e===null)throw new it(204,!1);if(e.type&2)return e.value;if(t&q.Optional)return null;throw new it(204,!1)};var vf=!1,yf=(()=>{class t{static __NG_ELEMENT_ID__=rv;static __NG_ENV_ID__=n=>n}return t})(),nv=class extends yf{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return $c(this._lView,t),()=>gm(this._lView,t)}};function rv(){return new nv(yt())}var br=class{},Xs=new ct("",{providedIn:"root",factory:()=>!1}),_f=new ct(""),Js=new ct(""),ji=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Wp(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new t})}return t})(),iv=class extends mr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,im()&&(this.destroyRef=at(yf,{optional:!0})??void 0,this.pendingTasks=at(ji,{optional:!0})??void 0)}emit(t){let e=et(null);try{super.next(t)}finally{et(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&typeof t=="object"){let a=t;r=a.next?.bind(a),i=a.error?.bind(a),o=a.complete?.bind(a)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:i,complete:o});return t instanceof ve&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Ne=iv;function pi(...t){}function bf(t){let e,n;function r(){t=pi;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Eu(t){return queueMicrotask(()=>t()),()=>{t=pi}}var ta="isAngularZone",gi=ta+"_ID",ov=0,$t=class Uo{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ne(!1);onMicrotaskEmpty=new Ne(!1);onStable=new Ne(!1);onError=new Ne(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=vf}=e;if(typeof Zone>"u")throw new it(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=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,uv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ta)===!0}static assertInAngularZone(){if(!Uo.isInAngularZone())throw new it(909,!1)}static assertNotInAngularZone(){if(Uo.isInAngularZone())throw new it(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,sv,pi,pi);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},sv={};function ea(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function av(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){bf(()=>{t.callbackScheduled=!1,Ho(t),t.isCheckStableRunning=!0,ea(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ho(t)}function uv(t){let e=()=>{av(t)},n=ov++;t._inner=t._inner.fork({name:"angular",properties:{[ta]:!0,[gi]:n,[gi+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(lv(u))return r.invokeTask(o,s,a,u);try{return wu(t),r.invokeTask(o,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Su(t)}},onInvoke:(r,i,o,s,a,u,l)=>{try{return wu(t),r.invoke(o,s,a,u,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!cv(u)&&e(),Su(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ho(t),ea(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ho(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Su(t){t._nesting--,ea(t)}var Ef=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ne;onMicrotaskEmpty=new Ne;onStable=new Ne;onError=new Ne;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}};function lv(t){return wf(t,"__ignore_ng_zone__")}function cv(t){return wf(t,"__scheduler_tick__")}function wf(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Er=class{_console=console;handleError(t){this._console.error("ERROR",t)}},fv=new ct("",{providedIn:"root",factory:()=>{let t=at($t),e=at(Er);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function dv(){return Sf(_r(),yt())}function Sf(t,e){return new If(on(t,e))}var If=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dv}return t})();function fo(t,e){let n=xp(t),r=n[Oe];return e?.equal&&(r.equal=e.equal),n.set=i=>Wl(r,i),n.update=i=>Dp(r,i),n.asReadonly=hv.bind(n),n}function hv(){let t=this[Oe];if(t.readonlyFn===void 0){let e=()=>this();e[Oe]=t,t.readonlyFn=e}return t.readonlyFn}function Tf(t){return(t.flags&128)===128}var Cf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Cf||{}),Nf=new Map,pv=0;function gv(){return pv++}function mv(t){Nf.set(t[ki],t)}function Bo(t){Nf.delete(t[ki])}var Iu="__ngContext__";function wr(t,e){Be(e)?(t[Iu]=e[ki],mv(e)):t[Iu]=e}function Of(t){return Df(t[or])}function xf(t){return Df(t[ie])}function Df(t){for(;t!==null&&!nn(t);)t=t[ie];return t}var $o;function vv(t){$o=t}function kf(){if($o!==void 0)return $o;if(typeof document<"u")return document;throw new it(210,!1)}var Af=new ct("",{providedIn:"root",factory:()=>yv}),yv="ng",Rf=new ct(""),na=new ct("",{providedIn:"platform",factory:()=>"unknown"}),Lf=new ct("",{providedIn:"root",factory:()=>kf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_v="h",bv="b",Pf=!1,Ev=new ct("",{providedIn:"root",factory:()=>Pf}),Mf=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Mf||{}),ra=new ct(""),Tu=new Set;function Vi(t){Tu.has(t)||(Tu.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var wv=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new t})}return t})(),Sv=()=>null;function jf(t,e,n=!1){return Sv(t,e,n)}function Vf(t,e){let n=t.contentQueries;if(n!==null){let r=et(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=t.data[s];Kc(o),a.contentQueries(2,e[s],s)}}}finally{et(r)}}}function zo(t,e,n){Kc(0);let r=et(null);try{e(t,n)}finally{et(r)}}function Ff(t,e,n){if(Pc(e)){let r=et(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{et(r)}}}var ge=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ge||{}),Vr;function Iv(){if(Vr===void 0&&(Vr=null,ai.trustedTypes))try{Vr=ai.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function Fi(t){return Iv()?.createHTML(t)||t}var Fr;function Tv(){if(Fr===void 0&&(Fr=null,ai.trustedTypes))try{Fr=ai.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fr}function Cu(t){return Tv()?.createHTML(t)||t}var an=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mc})`}},Cv=class extends an{getTypeName(){return"HTML"}},Nv=class extends an{getTypeName(){return"Style"}},Ov=class extends an{getTypeName(){return"Script"}},xv=class extends an{getTypeName(){return"URL"}},Dv=class extends an{getTypeName(){return"ResourceURL"}};function Ce(t){return t instanceof an?t.changingThisBreaksApplicationSecurity:t}function Fe(t,e){let n=kv(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${mc})`)}return n===e}function kv(t){return t instanceof an&&t.getTypeName()||null}function Av(t){return new Cv(t)}function Rv(t){return new Nv(t)}function Lv(t){return new Ov(t)}function Pv(t){return new xv(t)}function Mv(t){return new Dv(t)}function jv(t){let e=new Fv(t);return Uv()?new Vv(e):e}var Vv=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(Fi(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},Fv=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=Fi(t),e}};function Uv(){try{return!!new window.DOMParser().parseFromString(Fi(""),"text/html")}catch{return!1}}var Hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ia(t){return t=String(t),t.match(Hv)?t:"unsafe:"+t}function Ee(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function Sr(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Uf=Ee("area,br,col,hr,img,wbr"),Hf=Ee("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bf=Ee("rp,rt"),Bv=Sr(Bf,Hf),$v=Sr(Hf,Ee("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")),zv=Sr(Bf,Ee("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")),Nu=Sr(Uf,$v,zv,Bv),$f=Ee("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gv=Ee("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"),qv=Ee("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"),Wv=Sr($f,Gv,qv),Yv=Ee("script,style,template"),Kv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=Xv(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Qv(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Ou(t).toLowerCase();if(!Nu.hasOwnProperty(e))return this.sanitizedSomething=!0,!Yv.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=t.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!Wv.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;$f[s]&&(a=ia(a)),this.buf.push(" ",o,'="',xu(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Ou(t).toLowerCase();Nu.hasOwnProperty(e)&&!Uf.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xu(t))}};function Zv(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qv(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw zf(e);return e}function Xv(t){let e=t.firstChild;if(e&&Zv(t,e))throw zf(e);return e}function Ou(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function zf(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Jv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ty=/([^\#-~ |!])/g;function xu(t){return t.replace(/&/g,"&amp;").replace(Jv,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ty,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ur;function Gf(t,e){let n=null;try{Ur=Ur||jv(t);let r=e?String(e):"";n=Ur.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ur.getInertBodyElement(r)}while(r!==o);let s=new Kv().sanitizeChildren(Du(n)||n);return Fi(s)}finally{if(n){let r=Du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Du(t){return"content"in t&&ey(t)?t.content:null}function ey(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var pe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(pe||{});function qf(t){let e=Wf();return e?Cu(e.sanitize(pe.HTML,t)||""):Fe(t,"HTML")?Cu(Ce(t)):Gf(kf(),Oi(t))}function ny(t){let e=Wf();return e?e.sanitize(pe.URL,t)||"":Fe(t,"URL")?Ce(t):ia(Oi(t))}function Wf(){let t=yt();return t&&t[ye].sanitizer}function ry(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}var Yf="ng-template";function iy(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&ry(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(oa(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function oa(t){return t.type===4&&t.value!==Yf}function oy(t,e,n){let r=t.type===4&&!n?Yf:t.value;return e===r}function sy(t,e,n){let r=4,i=t.attrs,o=i!==null?ly(i):0,s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!te(r)&&!te(u))return!1;if(s&&te(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!oy(t,u,n)||u===""&&e.length===1){if(te(r))return!1;s=!0}}else if(r&8){if(i===null||!iy(t,i,u,n)){if(te(r))return!1;s=!0}}else{let l=e[++a],d=ay(u,i,oa(t),n);if(d===-1){if(te(r))return!1;s=!0;continue}if(l!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&l!==h){if(te(r))return!1;s=!0}}}}return te(r)||s}function te(t){return(t&1)===0}function ay(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return cy(e,t)}function uy(t,e,n=!1){for(let r=0;r<e.length;r++)if(sy(t,e[r],n))return!0;return!1}function ly(t){for(let e=0;e<t.length;e++){let n=t[e];if(Um(n))return e}return t.length}function cy(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function ku(t,e){return t?":not("+e.trim()+")":e}function fy(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!te(s)&&(e+=ku(o,i),i=""),r=s,o=o||!te(r);n++}return i!==""&&(e+=ku(o,i)),e}function dy(t){return t.map(fy).join(",")}function hy(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!te(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Me={};function py(t,e){return t.createText(e)}function gy(t,e,n){t.setValue(e,n)}function Kf(t,e,n){return t.createElement(e,n)}function Go(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Zf(t,e,n){t.appendChild(e,n)}function Au(t,e,n,r,i){r!==null?Go(t,e,n,r,i):Zf(t,e,n)}function my(t,e,n){t.removeChild(null,e,n)}function vy(t,e,n){t.setAttribute(e,"style",n)}function yy(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Qf(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Fm(t,e,r),i!==null&&yy(t,e,i),o!==null&&vy(t,e,o)}function sa(t,e,n,r,i,o,s,a,u,l,d){let h=Lt+r,y=h+i,_=_y(h,y),w=typeof l=="function"?l():l;return _[K]={type:t,blueprint:_,template:n,queries:null,viewQuery:a,declTNode:e,data:_.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:y,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 o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function _y(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Me);return n}function by(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=sa(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function aa(t,e,n,r,i,o,s,a,u,l,d){let h=e.blueprint.slice();return h[be]=i,h[U]=r|4|128|8|64|1024,(l!==null||t&&t[U]&2048)&&(h[U]|=2048),Bc(h),h[Xt]=h[Mn]=t,h[kt]=n,h[ye]=s||t&&t[ye],h[Gt]=a||t&&t[Gt],h[ir]=u||t&&t[ir]||null,h[ce]=o,h[ki]=gv(),h[rr]=d,h[Rc]=l,h[le]=e.type==2?t[le]:h,h}function Ey(t,e,n){let r=on(e,t),i=by(n),o=t[ye].rendererFactory,s=td(t,aa(t,i,null,Xf(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function Xf(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Jf(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function td(t,e){return t[or]?t[pu][ie]=e:t[or]=e,t[pu]=e,e}function wn(t=1){ed(fe(),yt(),sn()+t,!1)}function ed(t,e,n,r){if(!r)if((e[U]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Xr(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Jr(e,i,0,n)}We(n)}var Ui=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ui||{});function qo(t,e,n,r){let i=et(null);try{let[o,s,a]=t.inputs[n],u=null;(s&Ui.SignalBased)!==0&&(u=e[o][Oe]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,u,r,n,o):jc(e,u,o,r)}finally{et(i)}}function nd(t,e,n,r,i){let o=sn(),s=r&2;try{We(-1),s&&e.length>Lt&&ed(t,e,Lt,!1),dt(s?2:0,i),n(r,i)}finally{We(o),dt(s?3:1,i)}}function ua(t,e,n){Oy(t,e,n),(n.flags&64)===64&&xy(t,e,n)}function rd(t,e,n=on){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(e,t):t[s];t[i++]=a}}}function wy(t,e,n,r){let i=r.get(Ev,Pf)||n===ge.ShadowDom,o=t.selectRootElement(e,i);return Sy(o),o}function Sy(t){Iy(t)}var Iy=()=>null;function Ty(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Cy(t,e,n,r,i,o,s,a){if(!a&&la(e,t,n,r,i)){Ai(e)&&Ny(n,e.index);return}if(e.type&3){let u=on(e,n);r=Ty(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(u,r,i)}else e.type&12}function Ny(t,e){let n=Ge(e,t);n[U]&16||(n[U]|=64)}function Oy(t,e,n){let r=n.directiveStart,i=n.directiveEnd;Ai(n)&&Ey(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||af(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],u=Fo(e,t,s,n);if(wr(u,e),o!==null&&ky(e,s-r,u,a,n,o),rn(a)){let l=Ge(n.index,e);l[kt]=Fo(e,t,s,n)}}}function xy(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Om();try{We(o);for(let a=r;a<i;a++){let u=t.data[a],l=e[a];Po(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Dy(u,l)}}finally{We(-1),Po(s)}}function Dy(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function id(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];uy(e,o.selectors,!1)&&(r??=[],rn(o)?r.unshift(o):r.push(o))}return r}function ky(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let u=s[a],l=s[a+1];qo(r,n,u,l)}}function Ay(t,e){let n=t[ir],r=n?n.get(Er,null):null;r&&r.handleError(e)}function la(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let u=0;u<s.length;u+=2){let l=s[u],d=s[u+1],h=e.data[l];qo(h,n[l],d,i),a=!0}if(o)for(let u of o){let l=n[u],d=e.data[u];qo(d,l,r,i),a=!0}return a}function Ry(t,e){let n=Ge(e,t),r=n[K];Ly(r,n);let i=n[be];i!==null&&n[rr]===null&&(n[rr]=jf(i,n[ir])),dt(18),ca(r,n,n[kt]),dt(19,n[kt])}function Ly(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function ca(t,e,n){qs(e);try{let r=t.viewQuery;r!==null&&zo(1,r,n);let i=t.template;i!==null&&nd(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[On]?.finishViewCreation(t),t.staticContentQueries&&Vf(t,e),t.staticViewQueries&&zo(2,t.viewQuery,n);let o=t.components;o!==null&&Py(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[U]&=-5,Ws()}}function Py(t,e){for(let n=0;n<e.length;n++)Ry(t,e[n])}function fa(t,e,n,r){let i=et(null);try{let o=e.tView,s=t[U]&4096?4096:16,a=aa(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];a[Nn]=u;let l=t[On];return l!==null&&(a[On]=l.createEmbeddedView(o)),ca(o,a,n),a}finally{et(i)}}function da(t,e){return!e||e.firstChild===null||Tf(t)}var My;function ha(t,e){return My(t,e)}var He=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(He||{});function od(t){return(t.flags&32)===32}function vn(t,e,n,r,i){if(r!=null){let o,s=!1;nn(r)?o=r:Be(r)&&(s=!0,r=r[be]);let a=Ae(r);t===0&&n!==null?i==null?Zf(e,n,a):Go(e,n,a,i||null,!0):t===1&&n!==null?Go(e,n,a,i||null,!0):t===2?my(e,a,s):t===3&&e.destroyNode(a),o!=null&&Yy(e,t,o,n,i)}}function jy(t,e){sd(t,e),e[be]=null,e[ce]=null}function Vy(t,e,n,r,i,o){r[be]=i,r[ce]=e,Hi(t,r,n,1,i,o)}function sd(t,e){e[ye].changeDetectionScheduler?.notify(9),Hi(t,e,e[Gt],2,null,null)}function Fy(t){let e=t[or];if(!e)return ho(t[K],t);for(;e;){let n=null;if(Be(e))n=e[or];else{let r=e[Vt];r&&(n=r)}if(!n){for(;e&&!e[ie]&&e!==t;)Be(e)&&ho(e[K],e),e=e[Xt];e===null&&(e=t),Be(e)&&ho(e[K],e),n=e&&e[ie]}e=n}}function pa(t,e){let n=t[fi],r=n.indexOf(e);n.splice(r,1)}function ga(t,e){if(yr(e))return;let n=e[Gt];n.destroyNode&&Hi(t,e,n,3,null,null),Fy(e)}function ho(t,e){if(yr(e))return;let n=et(null);try{e[U]&=-129,e[U]|=256,e[Bt]&&Hl(e[Bt]),Hy(t,e),Uy(t,e),e[K].type===1&&e[Gt].destroy();let r=e[Nn];if(r!==null&&nn(e[Xt])){r!==e[Xt]&&pa(r,e);let i=e[On];i!==null&&i.detachView(t)}Bo(e)}finally{et(n)}}function Uy(t,e){let n=t.cleanup,r=e[hu];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[hu]=null);let i=e[De];if(i!==null){e[De]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[ci];if(o!==null){e[ci]=null;for(let s of o)s.destroy()}}function Hy(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof Zs)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],u=o[s+1];dt(4,a,u);try{u.call(a)}finally{dt(5,a,u)}}else{dt(4,i,o);try{o.call(i)}finally{dt(5,i,o)}}}}}function By(t,e,n){return $y(t,e.parent,n)}function $y(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[be];if(Ai(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===ge.None||i===ge.Emulated)return null}return on(r,n)}function zy(t,e,n){return qy(t,e,n)}function Gy(t,e,n){return t.type&40?on(t,n):null}var qy=Gy,Ru;function ma(t,e,n,r){let i=By(t,r,e),o=e[Gt],s=r.parent||e[ce],a=zy(s,r,e);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Au(o,i,n[u],a,!1);else Au(o,i,n,a,!1);Ru!==void 0&&Ru(o,r,e,n,i)}function Zn(t,e){if(e!==null){let n=e.type;if(n&3)return on(e,t);if(n&4)return Wo(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Zn(t,r);{let i=t[e.index];return nn(i)?Wo(-1,i):Ae(i)}}else{if(n&128)return Zn(t,e.next);if(n&32)return ha(e,t)()||Ae(t[e.index]);{let r=ad(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=qe(t[le]);return Zn(i,r)}else return Zn(t,e.next)}}}return null}function ad(t,e){if(e!==null){let n=t[le][ce],r=e.projection;return n.projection[r]}return null}function Wo(t,e){let n=Vt+t+1;if(n<e.length){let r=e[n],i=r[K].firstChild;if(i!==null)return Zn(r,i)}return e[sr]}function va(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&e===0&&(a&&wr(Ae(a),r),n.flags|=2),!od(n))if(u&8)va(t,e,n.child,r,i,o,!1),vn(e,t,i,a,o);else if(u&32){let l=ha(n,r),d;for(;d=l();)vn(e,t,i,d,o);vn(e,t,i,a,o)}else u&16?Wy(t,e,r,n,i,o):vn(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Hi(t,e,n,r,i,o){va(n,r,t.firstChild,e,i,o,!1)}function Wy(t,e,n,r,i,o){let s=n[le],a=s[ce].projection[r.projection];if(Array.isArray(a))for(let u=0;u<a.length;u++){let l=a[u];vn(e,t,i,l,o)}else{let u=a,l=s[Xt];Tf(r)&&(u.flags|=128),va(t,e,u,l,i,o,!0)}}function Yy(t,e,n,r,i){let o=n[sr],s=Ae(n);o!==s&&vn(e,t,r,o,i);for(let a=Vt;a<n.length;a++){let u=n[a];Hi(u[K],u,t,e,r,o)}}function Ky(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:He.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=He.Important),t.setStyle(n,r,i,o))}}function mi(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(Ae(o)),nn(o)&&Zy(o,r);let s=n.type;if(s&8)mi(t,e,n.child,r);else if(s&32){let a=ha(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=ad(e,n);if(Array.isArray(a))r.push(...a);else{let u=qe(e[le]);mi(u[K],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Zy(t,e){for(let n=Vt;n<t.length;n++){let r=t[n],i=r[K].firstChild;i!==null&&mi(r[K],r,i,e)}t[sr]!==t[be]&&e.push(t[sr])}function ud(t){if(t[ao]!==null){for(let e of t[ao])e.impl.addSequence(e);t[ao].length=0}}var ld=[];function Qy(t){return t[Bt]??Xy(t)}function Xy(t){let e=ld.pop()??Object.create(t_);return e.lView=t,e}function Jy(t){t.lView[Bt]!==t&&(t.lView=null,ld.push(t))}var t_=ht(C({},As),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Li(t.lView)},consumerOnSignalRead(){this.lView[Bt]=this}});function e_(t){let e=t[Bt]??Object.create(n_);return e.lView=t,e}var n_=ht(C({},As),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=qe(t.lView);for(;e&&!cd(e[K]);)e=qe(e);e&&Gs(e)},consumerOnSignalRead(){this.lView[Bt]=this}});function cd(t){return t.type!==2}function fd(t){if(t[ci]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[ci])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[U]&8192)}}var r_=100;function dd(t,e=!0,n=0){let r=t[ye].rendererFactory,i=!1;i||r.begin?.();try{i_(t,n)}catch(o){throw e&&Ay(t,o),o}finally{i||r.end?.()}}function i_(t,e){let n=Wc();try{gu(!0),Yo(t,e);let r=0;for(;Ri(t);){if(r===r_)throw new it(103,!1);r++,Yo(t,1)}}finally{gu(n)}}function o_(t,e,n,r){if(yr(e))return;let i=e[U],o=!1,s=!1;qs(e);let a=!0,u=null,l=null;o||(cd(t)?(l=Qy(e),u=tu(l)):bp()===null?(a=!1,l=e_(e),u=tu(l)):e[Bt]&&(Hl(e[Bt]),e[Bt]=null));try{Bc(e),Im(t.bindingStartIndex),n!==null&&nd(t,e,n,2,r);let d=(i&3)===3;if(!o)if(d){let _=t.preOrderCheckHooks;_!==null&&Xr(e,_,null)}else{let _=t.preOrderHooks;_!==null&&Jr(e,_,0,null),uo(e,0)}if(s||s_(e),fd(e),hd(e,0),t.contentQueries!==null&&Vf(t,e),!o)if(d){let _=t.contentCheckHooks;_!==null&&Xr(e,_)}else{let _=t.contentHooks;_!==null&&Jr(e,_,1),uo(e,1)}u_(t,e);let h=t.components;h!==null&&gd(e,h,0);let y=t.viewQuery;if(y!==null&&zo(2,y,r),!o)if(d){let _=t.viewCheckHooks;_!==null&&Xr(e,_)}else{let _=t.viewHooks;_!==null&&Jr(e,_,2),uo(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[so]){for(let _ of e[so])_();e[so]=null}o||(ud(e),e[U]&=-73)}catch(d){throw o||Li(e),d}finally{l!==null&&(Tp(l,u),a&&Jy(l)),Ws()}}function hd(t,e){for(let n=Of(t);n!==null;n=xf(n))for(let r=Vt;r<n.length;r++){let i=n[r];pd(i,e)}}function s_(t){for(let e=Of(t);e!==null;e=xf(e)){if(!(e[U]&2))continue;let n=e[fi];for(let r=0;r<n.length;r++){let i=n[r];Gs(i)}}}function a_(t,e,n){dt(18);let r=Ge(e,t);pd(r,n),dt(19,r[kt])}function pd(t,e){zs(t)&&Yo(t,e)}function Yo(t,e){let n=t[K],r=t[U],i=t[Bt],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&Ul(i)),o||=!1,i&&(i.dirty=!1),t[U]&=-9217,o)o_(n,t,n.template,t[kt]);else if(r&8192){fd(t),hd(t,1);let s=n.components;s!==null&&gd(t,s,1),ud(t)}}function gd(t,e,n){for(let r=0;r<e.length;r++)a_(t,e[r],n)}function u_(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)We(~i);else{let o=i,s=n[++r],a=n[++r];Nm(s,o);let u=e[o];dt(24,u),a(2,u),dt(25,u)}}}finally{We(-1)}}function md(t,e){let n=Wc()?64:1088;for(t[ye].changeDetectionScheduler?.notify(e);t;){t[U]|=n;let r=qe(t);if(di(t)&&!r)return t;t=r}return null}function l_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function vd(t,e){let n=Vt+e;if(n<t.length)return t[n]}function ya(t,e,n,r=!0){let i=e[K];if(c_(i,e,t,n),r){let s=Wo(n,t),a=e[Gt],u=a.parentNode(t[sr]);u!==null&&Vy(i,t[ce],a,e,u,s)}let o=e[rr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function yd(t,e){let n=_a(t,e);return n!==void 0&&ga(n[K],n),n}function _a(t,e){if(t.length<=Vt)return;let n=Vt+e,r=t[n];if(r){let i=r[Nn];i!==null&&i!==t&&pa(i,r),e>0&&(t[n-1][ie]=r[ie]);let o=Sc(t,Vt+e);jy(r[K],r);let s=o[On];s!==null&&s.detachView(o[K]),r[Xt]=null,r[ie]=null,r[U]&=-129}return r}function c_(t,e,n,r){let i=Vt+r,o=n.length;r>0&&(n[i-1][ie]=e),r<o-Vt?(e[ie]=n[i],Hg(n,Vt+r,e)):(n.push(e),e[ie]=null),e[Xt]=n;let s=e[Nn];s!==null&&n!==s&&_d(s,e);let a=e[On];a!==null&&a.insertView(t),Ro(e),e[U]|=128}function _d(t,e){let n=t[fi],r=e[Xt];if(Be(r))t[U]|=2;else{let i=r[Xt][le];e[le]!==i&&(t[U]|=2)}n===null?t[fi]=[e]:n.push(e)}var f_=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[K];return mi(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[kt]}get dirty(){return!!(this._lView[U]&9280)||!!this._lView[Bt]?.dirty}set context(t){this._lView[kt]=t}get destroyed(){return yr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Xt];if(nn(t)){let e=t[om],n=e?e.indexOf(this):-1;n>-1&&(_a(t,n),Sc(e,n))}this._attachedToViewContainer=!1}ga(this._lView[K],this._lView)}onDestroy(t){$c(this._lView,t)}markForCheck(){md(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Gs(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){Ro(this._lView),this._lView[U]|=128}detectChanges(){this._lView[U]|=1024,dd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new it(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=di(this._lView),e=this._lView[Nn];e!==null&&!t&&pa(e,this._lView),sd(this._lView[K],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new it(902,!1);this._appRef=t;let e=di(this._lView),n=this._lView[Nn];n!==null&&!e&&_d(n,this._lView),Ro(this._lView)}};function Bi(t,e,n,r,i){let o=t.data[e];if(o===null)o=d_(t,e,n,r,i),Cm()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=wm();o.injectorIndex=s===null?-1:s.injectorIndex}return jn(o,!0),o}function d_(t,e,n,r,i){let o=Gc(),s=qc(),a=s?o:o&&o.parent,u=t.data[e]=p_(t,a,n,e,r,i);return h_(t,u,o,s),u}function h_(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function p_(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return _m()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var j1=new RegExp(`^(\\d+)*(${bv}|${_v})*(.*)`),g_=()=>null;function ba(t,e){return g_(t,e)}var m_=class{},bd=class{},v_=class{resolveComponentFactory(t){throw Error(`No component factory found for ${re(t)}.`)}},Ir=class{static NULL=new v_},Ea=class{},y_=(()=>{class t{static \u0275prov=Et({token:t,providedIn:"root",factory:()=>null})}return t})();function Lu(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=su(i,a);else if(o==2){let u=a,l=e[++s];r=su(r,u+": "+l+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function $i(t,e=q.Default){let n=yt();if(n===null)return lt(t,e);let r=_r();return df(r,n,ee(t),e)}function Ed(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,u=null,l=null,d=b_(s);d===null?a=s:[a,u,l]=d,S_(t,e,n,a,o,u,l)}o!==null&&r!==null&&__(n,r,o)}function __(t,e,n){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new it(-301,!1);r.push(e[i],o)}}function b_(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&rn(a)&&(e=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,E_(s,r,o,i)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?t:t.slice(1)),[r,i,o]):null}function E_(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function w_(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function S_(t,e,n,r,i,o,s){let a=r.length,u=!1;for(let y=0;y<a;y++){let _=r[y];!u&&rn(_)&&(u=!0,w_(t,n,y)),Ym(af(n,e),t,_.type)}x_(n,t.data.length,a);for(let y=0;y<a;y++){let _=r[y];_.providersResolver&&_.providersResolver(_)}let l=!1,d=!1,h=Jf(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let y=0;y<a;y++){let _=r[y];if(n.mergedAttrs=Qs(n.mergedAttrs,_.hostAttrs),T_(t,n,e,h,_),O_(h,_,i),s!==null&&s.has(_)){let[T,A]=s.get(_);n.directiveToIndex.set(_.type,[h,T+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(_))&&n.directiveToIndex.set(_.type,h);_.contentQueries!==null&&(n.flags|=4),(_.hostBindings!==null||_.hostAttrs!==null||_.hostVars!==0)&&(n.flags|=64);let w=_.type.prototype;!l&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),l=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}I_(t,n,o)}function I_(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Pu(0,e,i,r),Pu(1,e,i,r),ju(e,r,!1);else{let o=n.get(i);Mu(0,e,o,r),Mu(1,e,o,r),ju(e,r,!0)}}}function Pu(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),wd(e,o)}}function Mu(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),wd(e,s)}}function wd(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function ju(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||oa(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let u=r[a];if(u===0){a+=4;continue}else if(u===5){a+=2;continue}else if(typeof u=="number")break;if(!n&&i.hasOwnProperty(u)){let l=i[u];for(let d of l)if(d===e){s??=[],s.push(u,r[a+1]);break}}else if(n&&o.hasOwnProperty(u)){let l=o[u];for(let d=0;d<l.length;d+=2)if(l[d]===e){s??=[],s.push(l[d+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function T_(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Tn(i.type,!0)),s=new Zs(o,rn(i),$i);t.blueprint[r]=s,n[r]=s,C_(t,e,r,Jf(t,n,i.hostVars,Me),i)}function C_(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;N_(s)!=a&&s.push(a),s.push(n,r,o)}}function N_(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function O_(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;rn(e)&&(n[""]=t)}}function x_(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Sd(t,e,n,r,i,o,s,a){let u=e.consts,l=xn(u,s),d=Bi(e,t,2,r,l);return o&&Ed(e,n,d,xn(u,a),i),d.mergedAttrs=Qs(d.mergedAttrs,d.attrs),d.attrs!==null&&Lu(d,d.attrs,!1),d.mergedAttrs!==null&&Lu(d,d.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,d),d}function Id(t,e){nf(t,e),Pc(e)&&t.queries.elementEnd(e)}var D_=class extends Ir{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Di(t);return new M_(e,this.ngModule)}};function k_(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&Ui.SignalBased)!==0};return i&&(o.transform=i),o})}function A_(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function R_(t,e,n){let r=e instanceof nr?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Bm(n,r):n}function L_(t){let e=t.get(Ea,null);if(e===null)throw new it(407,!1);let n=t.get(y_,null),r=t.get(br,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function P_(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Kf(e,n,n==="svg"?dm:n==="math"?hm:null)}var M_=class extends bd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return k_(this.componentDef.inputs)}get outputs(){return A_(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=dy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){dt(22);let i=et(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:hy(this.componentDef.selectors[0]),a=sa(0,null,null,1,0,null,null,null,null,[s],null),u=R_(o,r||this.ngModule,t),l=L_(u),d=l.rendererFactory.createRenderer(null,o),h=n?wy(d,n,o.encapsulation,u):P_(o,d),y=aa(null,a,null,512|Xf(o),null,null,l,d,u,null,jf(h,u,!0));y[Lt]=h,qs(y);let _=null;try{let w=Sd(Lt,a,y,"#host",()=>[this.componentDef],!0,0);h&&(Qf(d,h,w),wr(h,y)),ua(a,y,w),Ff(a,w,y),Id(a,w),e!==void 0&&V_(w,this.ngContentSelectors,e),_=Ge(w.index,y),y[kt]=_[kt],ca(a,y,null)}catch(w){throw _!==null&&Bo(_),Bo(y),w}finally{dt(23),Ws()}return new j_(this.componentType,y)}finally{et(i)}}},j_=class extends m_{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=$s(e[K],Lt),this.location=Sf(this._tNode,e),this.instance=Ge(this._tNode.index,e)[kt],this.hostView=this.changeDetectorRef=new f_(e,void 0,!1),this.componentType=t}setInput(t,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,i=la(n,r[K],r,t,e);this.previousInputValues.set(t,e);let o=Ge(n.index,r);md(o,1)}get injector(){return new pf(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function V_(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var F_=()=>!1;function U_(t,e,n){return F_(t,e,n)}var Ko=class{},Td=class extends Ko{injector;componentFactoryResolver=new D_(this);instance=null;constructor(t){super();let e=new Bs([...t.providers,{provide:Ko,useValue:this},{provide:Ir,useValue:this.componentFactoryResolver}],t.parent||Hs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function H_(t,e,n=null){return new Td({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var B_=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=xc(!1,n.type),i=r.length>0?H_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Et({token:t,providedIn:"environment",factory:()=>new t(lt(nr))})}return t})();function $_(t){return Eg(()=>{let e=Y_(t),n=ht(C({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Cf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(B_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ge.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Vi("NgStandalone"),K_(n);let r=t.dependencies;return n.directiveDefs=Vu(r,!1),n.pipeDefs=Vu(r,!0),n.id=Z_(n),n})}function z_(t){return Di(t)||Nc(t)}function G_(t){return t!==null}function q_(t,e){if(t==null)return Cn;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,u;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,u=i[3]||null):(o=i,s=i,a=Ui.None,u=null),n[o]=[r,a,u],e[o]=s}return n}function W_(t){if(t==null)return Cn;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function wa(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Y_(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||Cn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:q_(t.inputs,e),outputs:W_(t.outputs),debugInfo:null}}function K_(t){t.features?.forEach(e=>e(t))}function Vu(t,e){if(!t)return null;let n=e?Oc:z_;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(G_)}function Z_(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Cd(t,e,n){return t[e]=n}function Re(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Q_(t,e,n,r){let i=Re(t,e,n);return Re(t,e+1,r)||i}function X_(t,e,n,r,i,o,s,a,u){let l=e.consts,d=Bi(e,t,4,s||null,a||null);zc()&&Ed(e,n,d,xn(l,u),id),d.mergedAttrs=Qs(d.mergedAttrs,d.attrs),nf(e,d);let h=d.tView=sa(2,d,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,d),h.queries=e.queries.embeddedTView(d)),d}function Zo(t,e,n,r,i,o,s,a,u,l){let d=n+Lt,h=e.firstCreatePass?X_(d,e,t,r,i,o,s,a,u):e.data[d];jn(h,!1);let y=J_(e,t,h,n);Ys()&&ma(e,t,y,h),wr(y,t);let _=l_(y,t,y,h);return t[d]=_,td(t,_),U_(_,h,t),Mc(h)&&ua(e,t,h),u!=null&&rd(t,h,l),h}function Nd(t,e,n,r,i,o,s,a){let u=yt(),l=fe(),d=xn(l.consts,o);return Zo(u,l,t,e,n,r,i,d,s,a),Nd}var J_=tb;function tb(t,e,n,r){return Ks(!0),e[Gt].createComment("")}var eb=new ct(""),nb=(()=>{class t{static \u0275prov=Et({token:t,providedIn:"root",factory:()=>new rb})}return t})(),rb=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),this.queuedEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}};function Od(t){return!!t&&typeof t.then=="function"}function ib(t){return!!t&&typeof t.subscribe=="function"}var ob=new ct(""),xd=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=at(ob,{optional:!0})??[];injector=at(Mi);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Ac(this.injector,i);if(Od(o))n.push(o);else if(ib(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sb=new ct("");function ab(){Np(()=>{throw new it(600,!1)})}function ub(t){return t.isBoundToModule}var lb=10,Dn=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=at(fv);afterRenderManager=at(wv);zonelessEnabled=at(Xs);rootEffectScheduler=at(nb);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new mr;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=at(ji).hasPendingTasks.pipe(pc(n=>!n));constructor(){at(ra,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=at(nr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){dt(10);let i=n instanceof bd;if(!this._injector.get(xd).done){let h=!i&&Gg(n),y=!1;throw new it(405,y)}let o;i?o=n:o=this._injector.get(Ir).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=ub(o)?void 0:this._injector.get(Ko),a=r||o.selector,u=o.create(Mi.NULL,[],a,s),l=u.location.nativeElement,d=u.injector.get(eb,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ti(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),dt(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){dt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new it(101,!1);let n=et(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,et(n),this.afterTick.next(),dt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ea,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<lb;)dt(14),this.synchronizeOnce(),dt(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)cb(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ri(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ti(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(sb,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ti(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new it(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ti(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function cb(t,e,n,r){!n&&!Ri(t)||dd(t,e,n&&!r?0:1)}function fb(t,e,n,r){return Re(t,Pi(),n)?e+Oi(n)+r:Me}function Hr(t,e){return t<<17|e<<2}function Ye(t){return t>>17&32767}function db(t){return(t&2)==2}function hb(t,e){return t&131071|e<<17}function Qo(t){return t|2}function kn(t){return(t&131068)>>2}function po(t,e){return t&-131069|e<<2}function pb(t){return(t&1)===1}function Xo(t){return t|1}function gb(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Ye(s),u=kn(s);t[r]=n;let l=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||vr(h,d)>0)&&(l=!0)}else d=n;if(i)if(u!==0){let h=Ye(t[a+1]);t[r+1]=Hr(h,a),h!==0&&(t[h+1]=po(t[h+1],r)),t[a+1]=hb(t[a+1],r)}else t[r+1]=Hr(a,0),a!==0&&(t[a+1]=po(t[a+1],r)),a=r;else t[r+1]=Hr(u,0),a===0?a=r:t[u+1]=po(t[u+1],r),u=r;l&&(t[r+1]=Qo(t[r+1])),Fu(t,d,r,!0),Fu(t,d,r,!1),mb(e,d,t,r,o),s=Hr(a,u),o?e.classBindings=s:e.styleBindings=s}function mb(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&vr(o,e)>=0&&(n[r+1]=Xo(n[r+1]))}function Fu(t,e,n,r){let i=t[n+1],o=e===null,s=r?Ye(i):kn(i),a=!1;for(;s!==0&&(a===!1||o);){let u=t[s],l=t[s+1];vb(u,e)&&(a=!0,t[s+1]=r?Xo(l):Qo(l)),s=r?Ye(l):kn(l)}a&&(t[n+1]=r?Qo(i):Xo(i))}function vb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?vr(t,e)>=0:!1}function vi(t,e,n){let r=yt(),i=Pi();if(Re(r,i,e)){let o=fe(),s=Am();Cy(o,s,r,t,e,r[Gt],n,!1)}return vi}function Uu(t,e,n,r,i){la(e,t,n,i?"class":"style",r)}function Sa(t,e,n){return yb(t,e,n,!1),Sa}function yb(t,e,n,r){let i=yt(),o=fe(),s=Tm(2);if(o.firstUpdatePass&&bb(o,t,s,r),e!==Me&&Re(i,s,e)){let a=o.data[sn()];Tb(o,a,i,i[Gt],t,i[s+1]=Cb(e,n),r,s)}}function _b(t,e){return e>=t.expandoStartIndex}function bb(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[sn()],s=_b(t,n);Nb(o,r)&&e===null&&!s&&(e=!1),e=Eb(i,o,e,r),gb(i,o,e,n,s,r)}}function Eb(t,e,n,r){let i=xm(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=go(null,t,e,n,r),n=ar(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=go(i,t,e,n,r),o===null){let a=wb(t,e,r);a!==void 0&&Array.isArray(a)&&(a=go(null,t,e,a[1],r),a=ar(a,e.attrs,r),Sb(t,e,r,a))}else o=Ib(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function wb(t,e,n){let r=n?e.classBindings:e.styleBindings;if(kn(r)!==0)return t[Ye(r)]}function Sb(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Ye(i)]=r}function Ib(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=ar(r,s,n)}return ar(r,e.attrs,n)}function go(t,e,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=e[a],r=ar(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function ar(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),$g(t,s,n?!0:e[++o]))}return t===void 0?null:t}function Tb(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let u=t.data,l=u[a+1],d=pb(l)?Hu(u,e,n,i,kn(l),s):void 0;if(!yi(d)){yi(o)||db(l)&&(o=Hu(u,null,n,i,a,s));let h=Uc(sn(),n);Ky(r,s,h,i,o)}}function Hu(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let u=t[i],l=Array.isArray(u),d=l?u[1]:u,h=d===null,y=n[i+1];y===Me&&(y=h?ze:void 0);let _=h?io(y,r):d===r?y:void 0;if(l&&!yi(_)&&(_=io(u,r)),yi(_)&&(a=_,s))return a;let w=t[i+1];i=s?Ye(w):kn(w)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=io(u,r))}return a}function yi(t){return t!==void 0}function Cb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=re(Ce(t)))),t}function Nb(t,e){return(t.flags&(e?8:16))!==0}var Ob=class{destroy(t){}updateValue(t,e){}swap(t,e){let n=Math.min(t,e),r=Math.max(t,e),i=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,i),this.attach(r,o)}else this.attach(n,i)}move(t,e){this.attach(e,this.detach(t))}};function mo(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function xb(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let u=e.length-1;for(;o<=s&&o<=u;){let l=t.at(o),d=e[o],h=mo(o,l,o,d,n);if(h!==0){h<0&&t.updateValue(o,d),o++;continue}let y=t.at(s),_=e[u],w=mo(s,y,u,_,n);if(w!==0){w<0&&t.updateValue(s,_),s--,u--;continue}let T=n(o,l),A=n(s,y),R=n(o,d);if(Object.is(R,A)){let Q=n(u,_);Object.is(Q,T)?(t.swap(o,s),t.updateValue(s,_),u--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(r??=new zu,i??=$u(t,o,s,n),Jo(t,r,o,R))t.updateValue(o,d),o++,s++;else if(i.has(R))r.set(T,t.detach(o)),s--;else{let Q=t.create(o,e[o]);t.attach(o,Q),o++,s++}}for(;o<=u;)Bu(t,r,n,o,e[o]),o++}else if(e!=null){let u=e[Symbol.iterator](),l=u.next();for(;!l.done&&o<=s;){let d=t.at(o),h=l.value,y=mo(o,d,o,h,n);if(y!==0)y<0&&t.updateValue(o,h),o++,l=u.next();else{r??=new zu,i??=$u(t,o,s,n);let _=n(o,h);if(Jo(t,r,o,_))t.updateValue(o,h),o++,s++,l=u.next();else if(!i.has(_))t.attach(o,t.create(o,h)),o++,s++,l=u.next();else{let w=n(o,d);r.set(w,t.detach(o)),s--}}}for(;!l.done;)Bu(t,r,n,t.length,l.value),l=u.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(u=>{t.destroy(u)})}function Jo(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Bu(t,e,n,r,i){if(Jo(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function $u(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var zu=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}};function Db(t,e){Vi("NgControlFlow");let n=yt(),r=Pi(),i=n[r]!==Me?n[r]:-1,o=i!==-1?_i(n,Lt+i):void 0,s=0;if(Re(n,r,t)){let a=et(null);try{if(o!==void 0&&yd(o,s),t!==-1){let u=Lt+t,l=_i(n,u),d=ts(n[K],u),h=ba(l,d.tView.ssrId),y=fa(n,d,e,{dehydratedView:h});ya(l,y,s,da(d,h))}}finally{et(a)}}else if(o!==void 0){let a=vd(o,s);a!==void 0&&(a[kt]=e)}}var kb=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Vt}},Ab=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Rb(t,e,n,r,i,o,s,a,u,l,d,h,y){Vi("NgControlFlow");let _=yt(),w=fe(),T=u!==void 0,A=yt(),R=a?s.bind(A[le][kt]):s,Q=new Ab(T,R);A[Lt+t]=Q,Zo(_,w,t+1,e,n,r,i,xn(w.consts,o)),T&&Zo(_,w,t+2,u,l,d,h,xn(w.consts,y))}var Lb=class extends Ob{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-Vt}at(t){return this.getLView(t)[kt].$implicit}attach(t,e){let n=e[rr];this.needsIndexUpdate||=t!==this.length,ya(this.lContainer,e,t,da(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Mb(this.lContainer,t)}create(t,e){let n=ba(this.lContainer,this.templateTNode.tView.ssrId),r=fa(this.hostLView,this.templateTNode,new kb(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){ga(t[K],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[kt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[kt].$index=t}getLView(t){return jb(this.lContainer,t)}};function Pb(t){let e=et(null),n=sn();try{let r=yt(),i=r[K],o=r[n],s=n+1,a=_i(r,s);if(o.liveCollection===void 0){let l=ts(i,s);o.liveCollection=new Lb(a,r,l)}else o.liveCollection.reset();let u=o.liveCollection;if(xb(u,t,o.trackByFn),u.updateIndexes(),o.hasEmptyBlock){let l=Pi(),d=u.length===0;if(Re(r,l,d)){let h=n+2,y=_i(r,h);if(d){let _=ts(i,h),w=ba(y,_.tView.ssrId),T=fa(r,_,void 0,{dehydratedView:w});ya(y,T,0,da(_,w))}else yd(y,0)}}}finally{et(e)}}function _i(t,e){return t[e]}function Mb(t,e){return _a(t,e)}function jb(t,e){return vd(t,e)}function ts(t,e){return $s(t,e)}function ur(t,e,n,r){let i=yt(),o=fe(),s=Lt+t,a=i[Gt],u=o.firstCreatePass?Sd(s,o,i,e,id,zc(),n,r):o.data[s],l=Vb(o,i,u,a,e,t);i[s]=l;let d=Mc(u);return jn(u,!0),Qf(a,l,u),!od(u)&&Ys()&&ma(o,i,l,u),(mm()===0||d)&&wr(l,i),vm(),d&&(ua(o,i,u),Ff(o,u,i)),r!==null&&rd(i,u),ur}function lr(){let t=_r();qc()?Sm():(t=t.parent,jn(t,!1));let e=t;bm(e)&&Em(),ym();let n=fe();return n.firstCreatePass&&Id(n,e),e.classesWithoutHost!=null&&jm(e)&&Uu(n,e,yt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Vm(e)&&Uu(n,e,yt(),e.stylesWithoutHost,!1),lr}function cr(t,e,n,r){return ur(t,e,n,r),lr(),cr}var Vb=(t,e,n,r,i,o)=>(Ks(!0),Kf(r,i,Rm())),bi="en-US",Fb=bi;function Ub(t){typeof t=="string"&&(Fb=t.toLowerCase().replace(/_/g,"-"))}function Dd(t=1){return km(t)}function kd(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Hb(t,e=""){let n=yt(),r=fe(),i=t+Lt,o=r.firstCreatePass?Bi(r,i,1,e,null):r.data[i],s=Bb(r,n,o,e,t);n[i]=s,Ys()&&ma(r,n,s,o),jn(o,!1)}var Bb=(t,e,n,r,i)=>(Ks(!0),py(e[Gt],r));function Ad(t){return Rd("",t,""),Ad}function Rd(t,e,n){let r=yt(),i=fb(r,t,e,n);return i!==Me&&$b(r,sn(),i),Rd}function $b(t,e,n){let r=Uc(e,t);gy(t[Gt],r,n)}var zb={};function Ld(t){let e=fe(),n=yt(),r=t+Lt,i=Bi(e,r,128,null,null);return jn(i,!1),kd(e,n,r,zb),Ld}function Pd(t,e){let n=t[e];return n===Me?void 0:n}function Gb(t,e,n,r,i,o){let s=e+n;return Re(t,s,i)?Cd(t,s+1,o?r.call(o,i):r(i)):Pd(t,s+1)}function qb(t,e,n,r,i,o,s){let a=e+n;return Q_(t,a,i,o)?Cd(t,a+2,s?r.call(s,i,o):r(i,o)):Pd(t,a+2)}function Ei(t,e){let n=fe(),r,i=t+Lt;n.firstCreatePass?(r=Wb(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Tn(r.type,!0)),s,a=jt($i);try{let u=hi(!1),l=o();return hi(u),kd(n,yt(),i,l),l}finally{jt(a)}}function Wb(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function es(t,e,n){let r=t+Lt,i=yt(),o=Hc(i,r);return Md(i,r)?Gb(i,Yc(),e,o.transform,n,o):o.transform(n)}function Yb(t,e,n,r){let i=t+Lt,o=yt(),s=Hc(o,i);return Md(o,i)?qb(o,Yc(),e,s.transform,n,r,s):s.transform(n,r)}function Md(t,e){return t[K].data[e].pure}var Kb=(()=>{class t{zone=at($t);changeDetectionScheduler=at(br);applicationRef=at(Dn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new $t(ht(C({},Qb()),{scheduleInRootZone:n})),[{provide:$t,useFactory:t},{provide:li,multi:!0,useFactory:()=>{let r=at(Kb,{optional:!0});return()=>r.initialize()}},{provide:li,multi:!0,useFactory:()=>{let r=at(Xb);return()=>{r.initialize()}}},e===!0?{provide:_f,useValue:!0}:[],{provide:Js,useValue:n??vf}]}function Qb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Xb=(()=>{class t{subscription=new ve;initialized=!1;zone=at($t);pendingTasks=at(ji);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$t.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$t.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jd=(()=>{class t{appRef=at(Dn);taskService=at(ji);ngZone=at($t);zonelessEnabled=at(Xs);tracing=at(ra,{optional:!0});disableScheduling=at(_f,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ve;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(at(Js,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ef||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){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=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Eu:bf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gi+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Eu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Jb(){return Vi("NgZoneless"),qg([{provide:br,useExisting:jd},{provide:$t,useClass:Ef},{provide:Xs,useValue:!0},{provide:Js,useValue:!1},[]])}function tE(){return typeof $localize<"u"&&$localize.locale||bi}var Vd=new ct("",{providedIn:"root",factory:()=>at(Vd,q.Optional|q.SkipSelf)||tE()}),ns=new ct(""),eE=new ct("");function Wn(t){return!t.moduleRef}function nE(t){let e=Wn(t)?t.r3Injector:t.moduleRef.injector,n=e.get($t);return n.run(()=>{Wn(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(Er,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Wn(t)){let o=()=>e.destroy(),s=t.platformInjector.get(ns);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(ns);s.add(o),t.moduleRef.onDestroy(()=>{ti(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return iE(r,n,()=>{let o=e.get(xd);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Vd,bi);if(Ub(s||bi),!e.get(eE,!0))return Wn(t)?e.get(Dn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Wn(t)){let a=e.get(Dn);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return rE(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function rE(t,e){let n=t.injector.get(Dn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new it(-403,!1);e.push(t)}function iE(t,e,n){try{let r=n();return Od(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var ei=null;function oE(t=[],e){return Mi.create({name:e,providers:[{provide:Us,useValue:"platform"},{provide:ns,useValue:new Set([()=>ei=null])},...t]})}function sE(t=[]){if(ei)return ei;let e=oE(t);return ei=e,ab(),aE(e),e}function aE(t){let e=t.get(Rf,null);Ac(t,()=>{e?.forEach(n=>n())})}function uE(t){dt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=sE(r),o=[Zb({}),{provide:br,useExisting:jd},...n||[]],s=new Td({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return nE({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{dt(9)}}var V1=class{[Oe];constructor(t){this[Oe]=t}destroy(){this[Oe].destroy()}},lE={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function cE(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function fE(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var vo;function dE(t,e){if(!vo){let n=Element.prototype;vo=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?vo.call(t,e):!1}function hE(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[cE(r)]=[n,i]}),e}function pE(t,e){return e.get(Ir).resolveComponentFactory(t).inputs}function gE(t,e){let n=t.childNodes,r=e.map(()=>[]),i=-1;e.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],u=mE(a,e,i);u!==-1&&r[u].push(a)}return r}function mE(t,e,n){let r=n;return fE(t)&&e.some((i,o)=>i!=="*"&&dE(t,i)?(r=o,!0):!1),r}var vE=10,yE=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(Ir).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new _E(this.componentFactory,t,this.inputMap)}},_E=class{componentFactory;injector;inputMap;eventEmitters=new Yp(1);events=this.eventEmitters.pipe(_g(t=>yg(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,n){this.componentFactory=t,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get($t),this.appRef=this.injector.get(Dn),this.cdScheduler=e.get(br),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=lE.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},vE))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let e=Mi.create({providers:[],parent:this.injector}),n=gE(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=t.instance[n];return new zt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},bE=class extends HTMLElement{ngElementEventsSubscription=null};function EE(t,e){let n=pE(t,e.injector),r=e.strategyFactory||new yE(t,e.injector),i=hE(n);class o extends bE{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u,transform:l})=>{if(!this.hasOwnProperty(u))return;let d=this[u];delete this[u],a.setInputValue(u,d,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,u,l,d){let[h,y]=i[a];this.ngElementStrategy.setInputValue(h,l,y)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),o}var Fd=null;function Ud(){return Fd}function wE(t){Fd??=t}var SE=class{},Le=new ct("");function IE(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var TE="browser",CE="server";function Hd(t){return t===CE}var NE=class{},OE=class extends SE{supportsDOMEvents=!0},xE=class Bd extends OE{static makeCurrent(){wE(new Bd)}onAndCancel(e,n,r,i){return e.addEventListener(n,r,i),()=>{e.removeEventListener(n,r,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=DE();return n==null?null:kE(n)}resetBaseElement(){Qn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return IE(document.cookie,e)}},Qn=null;function DE(){return Qn=Qn||document.querySelector("base"),Qn?Qn.getAttribute("href"):null}function kE(t){return new URL(t,document.baseURI).pathname}var AE=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),rs=new ct(""),$d=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new it(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(lt(rs),lt($t))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),zd=class{_doc;constructor(t){this._doc=t}manager},ni="ng-app-id";function Gu(t){for(let e of t)e.remove()}function qu(t,e){let n=e.createElement("style");return n.textContent=t,n}function RE(t,e,n,r){let i=t.head?.querySelectorAll(`style[${ni}="${e}"],link[${ni}="${e}"]`);if(i)for(let o of i)o.removeAttribute(ni),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function is(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var Gd=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=Hd(o),RE(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,qu);r?.forEach(i=>this.addUsage(i,this.external,is))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(Gu(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Gu(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,qu(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,is(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ni,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(lt(Le),lt(Af),lt(Lf,8),lt(na))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),yo={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"},Ia=/%COMP%/g,qd="%COMP%",LE=`_nghost-${qd}`,PE=`_ngcontent-${qd}`,ME=!0,jE=new ct("",{providedIn:"root",factory:()=>ME});function VE(t){return PE.replace(Ia,t)}function FE(t){return LE.replace(Ia,t)}function Wd(t,e){return e.map(n=>n.replace(Ia,t))}var Wu=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,u,l=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.tracingService=d,this.platformIsServer=Hd(a),this.defaultRenderer=new Ta(n,s,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ge.ShadowDom&&(r=ht(C({},r),{encapsulation:ge.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Ku?i.applyToHost(n):i instanceof os&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,y=this.tracingService;switch(r.encapsulation){case ge.Emulated:o=new Ku(u,l,r,this.appId,d,s,a,h,y);break;case ge.ShadowDom:return new UE(u,l,n,r,s,a,this.nonce,h,y);default:o=new os(u,l,r,d,s,a,h,y);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(n){return new(n||t)(lt($d),lt(Gd),lt(Af),lt(jE),lt(Le),lt(na),lt($t),lt(Lf),lt(ra,8))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),Ta=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(yo[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Yu(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Yu(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new it(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;let i=yo[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=yo[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(He.DashCase|He.Important)?t.style.setProperty(e,n,r&He.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&He.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if(typeof t=="string"&&(t=Ud().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,e,i)),this.eventManager.addEventListener(t,e,i,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function Yu(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var UE=class extends Ta{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,a,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Wd(r.id,l);for(let h of l){let y=document.createElement("style");s&&y.setAttribute("nonce",s),y.textContent=h,this.shadowRoot.appendChild(y)}let d=r.getExternalStyles?.();if(d)for(let h of d){let y=is(h,i);s&&y.setAttribute("nonce",s),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},os=class extends Ta{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=n.styles;this.styles=u?Wd(u,l):l,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ku=class extends os{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,u){let l=r+"-"+n.id;super(t,e,n,i,o,s,a,u,l),this.contentAttr=VE(l),this.hostAttr=FE(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}},HE=(()=>{class t extends zd{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})(),Zu=["alt","control","meta","shift"],BE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$E={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zE=(()=>{class t extends zd{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ud().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zu.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=BE[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Zu.forEach(s=>{if(s!==i){let a=$E[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac})}return t})();function GE(t){return uE(qE(t))}function qE(t){return{appProviders:[...QE,...t?.providers??[]],platformProviders:ZE}}function WE(){xE.makeCurrent()}function YE(){return new Er}function KE(){return vv(document),document}var ZE=[{provide:na,useValue:TE},{provide:Rf,useValue:WE,multi:!0},{provide:Le,useFactory:KE,deps:[]}],QE=[{provide:Us,useValue:"root"},{provide:Er,useFactory:YE,deps:[]},{provide:rs,useClass:HE,multi:!0,deps:[Le]},{provide:rs,useClass:zE,multi:!0,deps:[Le]},Wu,Gd,$d,{provide:Ea,useExisting:Wu},{provide:NE,useClass:AE,deps:[]},[]],Yd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=Et({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=lt(XE),r},providedIn:"root"})}return t})(),XE=(()=>{class t extends Yd{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case pe.NONE:return r;case pe.HTML:return Fe(r,"HTML")?Ce(r):Gf(this._doc,String(r)).toString();case pe.STYLE:return Fe(r,"Style")?Ce(r):r;case pe.SCRIPT:if(Fe(r,"Script"))return Ce(r);throw new it(5200,!1);case pe.URL:return Fe(r,"URL")?Ce(r):ia(String(r));case pe.RESOURCE_URL:if(Fe(r,"ResourceURL"))return Ce(r);throw new it(5201,!1);default:throw new it(5202,!1)}}bypassSecurityTrustHtml(n){return Av(n)}bypassSecurityTrustStyle(n){return Rv(n)}bypassSecurityTrustScript(n){return Lv(n)}bypassSecurityTrustUrl(n){return Pv(n)}bypassSecurityTrustResourceUrl(n){return Mv(n)}static \u0275fac=function(n){return new(n||t)(lt(Le))};static \u0275prov=Et({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ss={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css"},Zt=pr(pp()),JE="9.3.34",ri=class as{static SDK_VERSION=JE;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let e=as.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");as.SDK_VERSION_CODE=parseInt(e,10)}},Qt=class{static log(...t){Zt.default.info(...t)}static debug(...t){Zt.default.debug(...t)}static error(...t){Zt.default.error(...t)}static warn(...t){Zt.default.warn(...t)}static info(...t){Zt.default.info(...t)}static trace(...t){Zt.default.trace(...t)}static configure(t=ri.LOG_PREFIX){Zt.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${ri.SDK_VERSION}):`)}});let e=this.getDebugParam();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Zt.default.setLevel(Zt.default[localStorage.cooeeLogLevel]):Zt.default.setLevel(ss.debug?Zt.default.TRACE:Zt.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
8
8
  display: inline-block;
9
9
  font-size: 14px;
10
10
  background: linear-gradient(90deg, #d52dc8 25%, #2179e2 82%);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@letscooee/web-sdk",
3
3
  "description": "Engage uniquely and boost conversions with AI-powered customer journeys driven by real-time intent",
4
- "version": "9.3.32",
4
+ "version": "9.3.34",
5
5
  "scripts": {
6
6
  "lint": "ng lint",
7
7
  "integrity": "./scripts/validate-integrity.sh",