@letscooee/web-sdk 9.10.2 → 9.10.3

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.
@@ -13,7 +13,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
13
13
  `);return r>=0?n.slice(0,r):n}function of(t,e){return t?e?`${t} ${e}`:t:e||""}var rw=Kt({__forward_ref__:Kt});function Eg(t){return t.__forward_ref__=Eg,t.toString=function(){return un(this())},t}function Re(t){return xg(t)?t():t}function xg(t){return typeof t=="function"&&t.hasOwnProperty(rw)&&t.__forward_ref__===Eg}function pt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function mu(t){return sf(t,Sg)||sf(t,Cg)}function sf(t,e){return t.hasOwnProperty(e)?t[e]:null}function iw(t){return t&&(t[Sg]||t[Cg])||null}function af(t){return t&&(t.hasOwnProperty(lf)||t.hasOwnProperty(ow))?t[lf]:null}var Sg=Kt({\u0275prov:Kt}),lf=Kt({\u0275inj:Kt}),Cg=Kt({ngInjectableDef:Kt}),ow=Kt({ngInjectorDef:Kt}),St=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=pt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ig(t){return t&&!!t.\u0275providers}var sw=Kt({\u0275cmp:Kt}),aw=Kt({\u0275dir:Kt}),Tg=Kt({\u0275pipe:Kt}),ps=Kt({\u0275fac:Kt}),Fi=Kt({__NG_ELEMENT_ID__:Kt}),cf=Kt({__NG_ENV_ID__:Kt});function ho(t){return typeof t=="string"?t:t==null?"":String(t)}function lw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ho(t)}function cw(t,e){throw new Pt(-200,t)}function _u(t,e){throw new Pt(-201,!1)}var Ot=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}(Ot||{}),Fl;function Og(){return Fl}function Ae(t){let e=Fl;return Fl=t,e}function Dg(t,e,n){let r=mu(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&Ot.Optional)return null;if(e!==void 0)return e;_u(t,"Injector")}var uw={},Wi=uw,hw="__NG_DI_FLAG__",gs="ngTempTokenPath",fw="ngTokenPath",dw=/\n/gm,pw="\u0275",uf="__source",ni;function gw(){return ni}function Jn(t){let e=ni;return ni=t,e}function mw(t,e=Ot.Default){if(ni===void 0)throw new Pt(-203,!1);return ni===null?Dg(t,void 0,e):ni.get(t,e&Ot.Optional?null:void 0,e)}function jt(t,e=Ot.Default){return(Og()||mw)(Re(t),e)}function P(t,e=Ot.Default){return jt(t,ea(e))}function ea(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Bl(t){let e=[];for(let n=0;n<t.length;n++){let r=Re(t[n]);if(Array.isArray(r)){if(r.length===0)throw new Pt(900,!1);let i,o=Ot.Default;for(let s=0;s<r.length;s++){let a=r[s],l=_w(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}e.push(jt(i,o))}else e.push(jt(r))}return e}function _w(t){return t[hw]}function yw(t,e,n,r){let i=t[gs];throw e[uf]&&i.unshift(e[uf]),t.message=vw(`
14
14
  `+t.message,i,n,r),t[fw]=i,t[gs]=null,t}function vw(t,e,n,r=null){t=t&&t.charAt(0)===`
15
15
  `&&t.charAt(1)==pw?t.slice(2):t;let i=un(e);if(Array.isArray(e))i=e.map(un).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):un(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(dw,`
16
- `)}`}function Ir(t,e){return t.hasOwnProperty(ps)?t[ps]:null}function bw(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function ww(t){return t.flat(Number.POSITIVE_INFINITY)}function yu(t,e){t.forEach(n=>Array.isArray(n)?yu(n,e):e(n))}function Rg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ms(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ew(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 xw(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,Ew(t,r,e,n)),r}function Ya(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return Sw(t,e,1)}function Sw(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 Tr={},jn=[],_s=new St(""),Ng=new St("",-1),Pg=new St(""),kg=class{get(t,e=Wi){if(e===Wi){let n=new Error(`NullInjectorError: No provider for ${un(t)}!`);throw n.name="NullInjectorError",n}return e}};function Or(t){return t[sw]||null}function Ag(t){return t[aw]||null}function Lg(t){return t[Tg]||null}function Cw(t){let e=Or(t)||Ag(t)||Lg(t);return e!==null&&e.standalone}function Iw(t){return{\u0275providers:t}}function Tw(...t){return{\u0275providers:Mg(!0,t),\u0275fromNgModule:!0}}function Mg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return yu(e,s=>{let a=s;Ul(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Vg(i,o),n}function Vg(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];vu(i,o=>{e(o,r)})}}function Ul(t,e,n,r){if(t=Re(t),!t)return!1;let i=null,o=af(t),s=!o&&Or(t);if(!o&&!s){let l=t.ngModule;if(o=af(l),o)i=l;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 l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)Ul(u,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{yu(o.imports,f=>{Ul(f,e,n,r)&&(u||=[],u.push(f))})}finally{}u!==void 0&&Vg(u,e)}if(!a){let u=Ir(i)||(()=>new i);e({provide:i,useFactory:u,deps:jn},i),e({provide:Pg,useValue:i,multi:!0},i),e({provide:_s,useValue:()=>jt(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=t;vu(l,f=>{e(f,u)})}}else return!1;return i!==t&&t.providers!==void 0}function vu(t,e){for(let n of t)Ig(n)&&(n=n.\u0275providers),Array.isArray(n)?vu(n,e):e(n)}var Ow=Kt({provide:String,useValue:Kt});function jg(t){return t!==null&&typeof t=="object"&&Ow in t}function Dw(t){return!!(t&&t.useExisting)}function Rw(t){return!!(t&&t.useFactory)}function li(t){return typeof t=="function"}function Nw(t){return!!t.useClass}var bu=new St(""),ts={},Pw={},Ka;function na(){return Ka===void 0&&(Ka=new kg),Ka}var Fn=class{},wu=class extends Fn{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,$l(t,o=>this.processProvider(o)),this.records.set(Ng,Yr(void 0,this)),r.has("environment")&&this.records.set(Fn,Yr(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Pg,jn,Ot.Self))}destroy(){Ai(this),this._destroyed=!0;let t=Tt(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(),Tt(t)}}onDestroy(t){return Ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ai(this);let e=Jn(this),n=Ae(void 0),r;try{return t()}finally{Jn(e),Ae(n)}}get(t,e=Wi,n=Ot.Default){if(Ai(this),t.hasOwnProperty(cf))return t[cf](this);n=ea(n);let r,i=Jn(this),o=Ae(void 0);try{if(!(n&Ot.SkipSelf)){let a=this.records.get(t);if(a===void 0){let l=Vw(t)&&mu(t);l&&this.injectableDefInScope(l)?a=Yr(Hl(t),ts):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&Ot.Self?na():this.parent;return e=n&Ot.Optional&&e===Wi?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[gs]=s[gs]||[]).unshift(un(t)),i)throw s;return yw(s,t,"R3InjectorError",this.source)}else throw s}finally{Ae(o),Jn(i)}}resolveInjectorInitializers(){let t=Tt(null),e=Jn(this),n=Ae(void 0),r;try{let i=this.get(_s,jn,Ot.Self);for(let o of i)o()}finally{Jn(e),Ae(n),Tt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(un(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Re(t);let e=li(t)?t:Re(t&&t.provide),n=Aw(t);if(!li(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Yr(void 0,ts,!0),r.factory=()=>Bl(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=Tt(null);try{return e.value===ts&&(e.value=Pw,e.value=e.factory()),typeof e.value=="object"&&e.value&&Mw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Tt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Re(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 Hl(t){let e=mu(t),n=e!==null?e.factory:Ir(t);if(n!==null)return n;if(t instanceof St)throw new Pt(204,!1);if(t instanceof Function)return kw(t);throw new Pt(204,!1)}function kw(t){if(t.length>0)throw new Pt(204,!1);let e=iw(t);return e!==null?()=>e.factory(t):()=>new t}function Aw(t){if(jg(t))return Yr(void 0,t.useValue);{let e=Fg(t);return Yr(e,ts)}}function Fg(t,e,n){let r;if(li(t)){let i=Re(t);return Ir(i)||Hl(i)}else if(jg(t))r=()=>Re(t.useValue);else if(Rw(t))r=()=>t.useFactory(...Bl(t.deps||[]));else if(Dw(t))r=()=>jt(Re(t.useExisting));else{let i=Re(t&&(t.useClass||t.provide));if(Lw(t))r=()=>new i(...Bl(t.deps));else return Ir(i)||Hl(i)}return r}function Ai(t){if(t.destroyed)throw new Pt(205,!1)}function Yr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Lw(t){return!!t.deps}function Mw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Vw(t){return typeof t=="function"||typeof t=="object"&&t instanceof St}function $l(t,e){for(let n of t)Array.isArray(n)?$l(n,e):n&&Ig(n)?$l(n.\u0275providers,e):e(n)}function Bg(t,e){t instanceof wu&&Ai(t);let n,r=Jn(t),i=Ae(void 0);try{return e()}finally{Jn(r),Ae(i)}}function Ug(){return Og()!==void 0||gw()!=null}function Hg(t){if(!Ug())throw new Pt(-203,!1)}function jw(t){return typeof t=="function"}var zn=0,dt=1,mt=2,Ie=3,hn=4,yn=5,Zi=6,ys=7,se=8,Yi=9,Bn=10,ye=11,Ki=12,hf=13,mi=14,gn=15,Dr=16,Kr=17,Un=18,po=19,$g=20,ir=21,Ja=22,vs=23,Ue=24,ri=25,ie=26,zg=1,Rr=7,bs=8,ci=9,Ce=10;function Ln(t){return Array.isArray(t)&&typeof t[zg]=="object"}function qn(t){return Array.isArray(t)&&t[zg]===!0}function Eu(t){return(t.flags&4)!==0}function _i(t){return t.componentOffset>-1}function ra(t){return(t.flags&1)===1}function Tn(t){return!!t.template}function ws(t){return(t[mt]&512)!==0}function go(t){return(t[mt]&256)===256}var Fw=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function qg(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var Gg=(()=>{let t=()=>Wg;return t.ngInherit=!0,t})();function Wg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Uw),Bw}function Bw(){let t=Yg(this),e=t?.current;if(e){let n=t.previous;if(n===Tr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Uw(t,e,n,r,i){let o=this.declaredInputs[r],s=Yg(t)||Hw(t,{previous:Tr,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new Fw(u&&u.currentValue,n,l===Tr),qg(t,e,i,n)}var Zg="__ngSimpleChanges__";function Yg(t){return t[Zg]||null}function Hw(t,e){return t[Zg]=e}var $w=null,zt=function(t,e=null,n){$w?.(t,e,n)},Kg="svg",zw="math";function $e(t){for(;Array.isArray(t);)t=t[zn];return t}function Jg(t,e){return $e(e[t])}function Dn(t,e){return $e(e[t.index])}function xu(t,e){return t.data[e]}function ia(t,e){return t[e]}function Xe(t,e){let n=e[t];return Ln(n)?n:n[zn]}function qw(t){return(t[mt]&4)===4}function Su(t){return(t[mt]&128)===128}function Gw(t){return qn(t[Ie])}function ar(t,e){return e==null?null:t[e]}function Xg(t){t[Kr]=0}function Cu(t){t[mt]&1024||(t[mt]|=1024,Su(t)&&mo(t))}function Ww(t,e){for(;t>0;)e=e[mi],t--;return e}function oa(t){return!!(t[mt]&9216||t[Ue]?.dirty)}function zl(t){t[Bn].changeDetectionScheduler?.notify(8),t[mt]&64&&(t[mt]|=1024),oa(t)&&mo(t)}function mo(t){t[Bn].changeDetectionScheduler?.notify(0);let e=Nr(t);for(;e!==null&&!(e[mt]&8192||(e[mt]|=8192,!Su(e)));)e=Nr(e)}function Qg(t,e){if(go(t))throw new Pt(911,!1);t[ir]===null&&(t[ir]=[]),t[ir].push(e)}function Zw(t,e){if(t[ir]===null)return;let n=t[ir].indexOf(e);n!==-1&&t[ir].splice(n,1)}function Nr(t){let e=t[Ie];return qn(e)?e[Ie]:e}function tm(t){return t[ys]??=[]}function em(t){return t.cleanup??=[]}function Yw(t,e,n,r){let i=tm(e);i.push(n),t.firstCreatePass&&em(t).push(r,i.length-1)}var vt={lFrame:cm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ql=!1;function Kw(){return vt.lFrame.elementDepthCount}function Jw(){vt.lFrame.elementDepthCount++}function Xw(){vt.lFrame.elementDepthCount--}function Iu(){return vt.bindingsEnabled}function Qw(){return vt.skipHydrationRootTNode!==null}function t1(t){return vt.skipHydrationRootTNode===t}function e1(){vt.skipHydrationRootTNode=null}function xt(){return vt.lFrame.lView}function pe(){return vt.lFrame.tView}function fe(t){return vt.lFrame.contextLView=t,t[se]}function de(t){return vt.lFrame.contextLView=null,t}function qe(){let t=nm();for(;t!==null&&t.type===64;)t=t.parent;return t}function nm(){return vt.lFrame.currentTNode}function n1(){let t=vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function hr(t,e){let n=vt.lFrame;n.currentTNode=t,n.isParent=e}function Tu(){return vt.lFrame.isParent}function rm(){vt.lFrame.isParent=!1}function im(){return vt.lFrame.contextLView}function om(){return ql}function ff(t){let e=ql;return ql=t,e}function sa(){let t=vt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function r1(t){return vt.lFrame.bindingIndex=t}function _o(){return vt.lFrame.bindingIndex++}function i1(t){let e=vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function o1(){return vt.lFrame.inI18n}function s1(t,e){let n=vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,Gl(e)}function a1(){return vt.lFrame.currentDirectiveIndex}function Gl(t){vt.lFrame.currentDirectiveIndex=t}function l1(t){let e=vt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function sm(){return vt.lFrame.currentQueryIndex}function Ou(t){vt.lFrame.currentQueryIndex=t}function c1(t){let e=t[dt];return e.type===2?e.declTNode:e.type===1?t[yn]:null}function am(t,e,n){if(n&Ot.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&Ot.Host))&&(i=c1(o),!(i===null||(o=o[mi],i.type&10))););if(i===null)return!1;e=i,t=o}let r=vt.lFrame=lm();return r.currentTNode=e,r.lView=t,!0}function Du(t){let e=lm(),n=t[dt];vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function lm(){let t=vt.lFrame,e=t===null?null:t.child;return e===null?cm(t):e}function cm(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 um(){let t=vt.lFrame;return vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var hm=um;function Ru(){let t=um();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 u1(t){return(vt.lFrame.contextLView=Ww(t,vt.lFrame.contextLView))[se]}function fr(){return vt.lFrame.selectedIndex}function Pr(t){vt.lFrame.selectedIndex=t}function Nu(){let t=vt.lFrame;return xu(t.tView,t.selectedIndex)}function lr(){vt.lFrame.currentNamespace=Kg}function Es(){h1()}function h1(){vt.lFrame.currentNamespace=null}function f1(){return vt.lFrame.currentNamespace}var fm=!0;function aa(){return fm}function la(t){fm=t}function d1(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Wg(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 Pu(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:l,ngOnDestroy:u}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),l&&((t.viewHooks??=[]).push(n,l),(t.viewCheckHooks??=[]).push(n,l)),u!=null&&(t.destroyHooks??=[]).push(n,u)}}function es(t,e,n){dm(t,e,3,n)}function ns(t,e,n,r){(t[mt]&3)===n&&dm(t,e,n,r)}function Xa(t,e){let n=t[mt];(n&3)===e&&(n&=16383,n+=1,t[mt]=n)}function dm(t,e,n,r){let i=r!==void 0?t[Kr]&65535:0,o=r??-1,s=e.length-1,a=0;for(let l=i;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],r!=null&&a>=r)break}else e[l]<0&&(t[Kr]+=65536),(a<o||o==-1)&&(p1(t,n,e,l),t[Kr]=(t[Kr]&4294901760)+l+2),l++}function df(t,e){zt(4,t,e);let n=Tt(null);try{e.call(t)}finally{Tt(n),zt(5,t,e)}}function p1(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[mt]>>14<t[Kr]>>16&&(t[mt]&3)===e&&(t[mt]+=16384,df(a,o)):df(a,o)}var ii=-1,yo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function g1(t){return t instanceof yo}function m1(t){return(t.flags&8)!==0}function _1(t){return(t.flags&16)!==0}function y1(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];b1(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function v1(t){return t===3||t===4||t===6}function b1(t){return t.charCodeAt(0)===64}function ui(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?pf(t,n,i,null,e[++r]):pf(t,n,i,null,null))}}return t}function pf(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 Qa={},w1=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=ea(n);let r=this.injector.get(t,Qa,n);return r!==Qa||e===Qa?r:this.parentInjector.get(t,e,n)}};function pm(t){return t!==ii}function xs(t){return t&32767}function E1(t){return t>>16}function Ss(t,e){let n=E1(t),r=e;for(;n>0;)r=r[mi],n--;return r}var Wl=!0;function Cs(t){let e=Wl;return Wl=t,e}var x1=256,gm=x1-1,mm=5,S1=0,Sn={};function C1(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=S1++);let i=r&gm,o=1<<i;e.data[t+(i>>mm)]|=o}function Is(t,e){let n=_m(t,e);if(n!==-1)return n;let r=e[dt];r.firstCreatePass&&(t.injectorIndex=e.length,tl(r.data,t),tl(e,null),tl(r.blueprint,null));let i=ku(t,e),o=t.injectorIndex;if(pm(i)){let s=xs(i),a=Ss(i,e),l=a[dt].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function tl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _m(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ku(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=xm(i),r===null)return ii;if(n++,i=i[mi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ii}function Zl(t,e,n){C1(t,e,n)}function ym(t,e,n){if(n&Ot.Optional||t!==void 0)return t;_u(e,"NodeInjector")}function vm(t,e,n,r){if(n&Ot.Optional&&r===void 0&&(r=null),(n&(Ot.Self|Ot.Host))===0){let i=t[Yi],o=Ae(void 0);try{return i?i.get(e,r,n&Ot.Optional):Dg(e,r,n&Ot.Optional)}finally{Ae(o)}}return ym(r,e,n)}function bm(t,e,n,r=Ot.Default,i){if(t!==null){if(e[mt]&2048&&!(r&Ot.Self)){let s=D1(t,e,n,r,Sn);if(s!==Sn)return s}let o=wm(t,e,n,r,Sn);if(o!==Sn)return o}return vm(e,n,r,i)}function wm(t,e,n,r,i){let o=T1(n);if(typeof o=="function"){if(!am(e,t,r))return r&Ot.Host?ym(i,n,r):vm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Ot.Optional))_u(n);else return s}finally{hm()}}else if(typeof o=="number"){let s=null,a=_m(t,e),l=ii,u=r&Ot.Host?e[gn][yn]:null;for((a===-1||r&Ot.SkipSelf)&&(l=a===-1?ku(t,e):e[a+8],l===ii||!mf(r,!1)?a=-1:(s=e[dt],a=xs(l),e=Ss(l,e)));a!==-1;){let f=e[dt];if(gf(o,a,f.data)){let d=I1(a,e,n,s,r,u);if(d!==Sn)return d}l=e[a+8],l!==ii&&mf(r,e[dt].data[a+8]===u)&&gf(o,a,e)?(s=f,a=xs(l),e=Ss(l,e)):a=-1}}return i}function I1(t,e,n,r,i,o){let s=e[dt],a=s.data[t+8],l=r==null?_i(a)&&Wl:r!=s&&(a.type&3)!==0,u=i&Ot.Host&&o===a,f=rs(a,s,n,l,u);return f!==null?Ji(e,s,f,a):Sn}function rs(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,u=t.directiveEnd,f=o>>20,d=r?a:a+f,_=i?a+f:u;for(let v=d;v<_;v++){let x=s[v];if(v<l&&n===x||v>=l&&x.type===n)return v}if(i){let v=s[l];if(v&&Tn(v)&&v.type===n)return l}return null}function Ji(t,e,n,r){let i=t[n],o=e.data;if(g1(i)){let s=i;s.resolving&&cw(lw(o[n]));let a=Cs(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Ae(s.injectImpl):null,f=am(t,r,Ot.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&d1(n,o[n],e)}finally{u!==null&&Ae(u),Cs(a),s.resolving=!1,hm()}}return i}function T1(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Fi)?t[Fi]:void 0;return typeof e=="number"?e>=0?e&gm:O1:e}function gf(t,e,n){let r=1<<t;return!!(n[e+(t>>mm)]&r)}function mf(t,e){return!(t&Ot.Self)&&!(t&Ot.Host&&e)}var Bi=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return bm(this._tNode,this._lView,t,ea(n),e)}};function O1(){return new Bi(qe(),xt())}function Em(t){return gu(()=>{let e=t.prototype.constructor,n=e[ps]||Yl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ps]||Yl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Yl(t){return xg(t)?()=>{let e=Yl(Re(t));return e&&e()}:Ir(t)}function D1(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[mt]&2048&&!ws(s);){let a=wm(o,s,n,r|Ot.Self,Sn);if(a!==Sn)return a;let l=o.parent;if(!l){let u=s[$g];if(u){let f=u.get(n,Sn,r);if(f!==Sn)return f}l=xm(s),s=s[mi]}o=l}return i}function xm(t){let e=t[dt],n=e.type;return n===2?e.declTNode:n===1?t[yn]:null}function _f(t,e=null,n=null,r){let i=R1(t,e,n,r);return i.resolveInjectorInitializers(),i}function R1(t,e=null,n=null,r,i=new Set){let o=[n||jn,Tw(t)];return r=r||(typeof t=="object"?void 0:un(t)),new wu(o,e||na(),r||null,i)}var Ne=class Sm{static THROW_IF_NOT_FOUND=Wi;static NULL=new kg;static create(e,n){if(Array.isArray(e))return _f({name:""},n,e,"");{let r=e.name??"";return _f({name:r},e.parent,e.providers,r)}}static \u0275prov=pt({token:Sm,providedIn:"any",factory:()=>jt(Ng)});static __NG_ELEMENT_ID__=-1},N1=new St("");N1.__NG_ELEMENT_ID__=t=>{let e=qe();if(e===null)throw new Pt(204,!1);if(e.type&2)return e.value;if(t&Ot.Optional)return null;throw new Pt(204,!1)};var Cm=!1,Au=(()=>{class t{static __NG_ELEMENT_ID__=k1;static __NG_ENV_ID__=n=>n}return t})(),P1=class extends Au{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Qg(this._lView,t),()=>Zw(this._lView,t)}};function k1(){return new P1(xt())}var yi=class{},Lu=new St("",{providedIn:"root",factory:()=>!1}),Im=new St(""),Mu=new St(""),ca=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new lu(!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=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),A1=class extends yt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ug()&&(this.destroyRef=P(Au,{optional:!0})??void 0,this.pendingTasks=P(ca,{optional:!0})??void 0)}emit(t){let e=Tt(null);try{super.next(t)}finally{Tt(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 me&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Jt=A1;function Ts(...t){}function Tm(t){let e,n;function r(){t=Ts;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 yf(t){return queueMicrotask(()=>t()),()=>{t=Ts}}var Vu="isAngularZone",Os=Vu+"_ID",L1=0,Wt=class Kl{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Jt(!1);onMicrotaskEmpty=new Jt(!1);onStable=new Jt(!1);onError=new Jt(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Cm}=e;if(typeof Zone>"u")throw new Pt(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,j1(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vu)===!0}static assertInAngularZone(){if(!Kl.isInAngularZone())throw new Pt(909,!1)}static assertNotInAngularZone(){if(Kl.isInAngularZone())throw new Pt(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,M1,Ts,Ts);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)}},M1={};function ju(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 V1(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Tm(()=>{t.callbackScheduled=!1,Jl(t),t.isCheckStableRunning=!0,ju(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Jl(t)}function j1(t){let e=()=>{V1(t)},n=L1++;t._inner=t._inner.fork({name:"angular",properties:{[Vu]:!0,[Os]:n,[Os+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(F1(l))return r.invokeTask(o,s,a,l);try{return vf(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),bf(t)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return vf(t),r.invoke(o,s,a,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!B1(l)&&e(),bf(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Jl(t),ju(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 Jl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function vf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bf(t){t._nesting--,ju(t)}var Om=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Jt;onMicrotaskEmpty=new Jt;onStable=new Jt;onError=new Jt;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 F1(t){return Dm(t,"__ignore_ng_zone__")}function B1(t){return Dm(t,"__scheduler_tick__")}function Dm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var vi=class{_console=console;handleError(t){this._console.error("ERROR",t)}},U1=new St("",{providedIn:"root",factory:()=>{let t=P(Wt),e=P(vi);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function H1(){return bi(qe(),xt())}function bi(t,e){return new Ve(Dn(t,e))}var Ve=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=H1}return t})();function $1(t){return t instanceof Ve?t.nativeElement:t}function Mn(t,e){let n=Z0(t),r=n[nr];return e?.equal&&(r.equal=e.equal),n.set=i=>Zp(r,i),n.update=i=>Y0(r,i),n.asReadonly=z1.bind(n),n}function z1(){let t=this[nr];if(t.readonlyFn===void 0){let e=()=>this();e[nr]=t,t.readonlyFn=e}return t.readonlyFn}function q1(){return this._results[Symbol.iterator]()}var G1=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new yt}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let n=ww(t);(this._changesDetected=!bw(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=q1};function Rm(t){return(t.flags&128)===128}var Nm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Nm||{}),Fu=new Map,W1=0;function Z1(){return W1++}function Y1(t){Fu.set(t[po],t)}function Pm(t){return Fu.get(t)||null}function Xl(t){Fu.delete(t[po])}var K1=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Pm(this.lViewId)}constructor(t,e,n){this.lViewId=t,this.nodeIndex=e,this.native=n}};function J1(t){let e=el(t);if(e){if(Ln(e)){let n=e,r,i,o;if(km(t)){if(r=tE(n,t),r==-1)throw new Error("The provided component was not found in the application");i=t}else if(X1(t)){if(r=eE(n,t),r==-1)throw new Error("The provided directive was not found in the application");o=nE(r,n)}else if(r=Ef(n,t),r==-1)return null;let s=$e(n[r]),a=el(s),l=a&&!Array.isArray(a)?a:wf(n,r,s);if(i&&l.component===void 0&&(l.component=i,Cn(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)Cn(o[u],l)}Cn(l.native,l),e=l}}else{let n=t,r=n;for(;r=r.parentNode;){let i=el(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=Ef(o,n);if(s>=0){let a=$e(o[s]),l=wf(o,s,a);Cn(a,l),e=l;break}}}}return e||null}function wf(t,e,n){return new K1(t[po],e,n)}var Ql="__ngContext__";function Cn(t,e){Ln(e)?(t[Ql]=e[po],Y1(e)):t[Ql]=e}function el(t){let e=t[Ql];return typeof e=="number"?Pm(e):e||null}function km(t){return t&&t.constructor&&t.constructor.\u0275cmp}function X1(t){return t&&t.constructor&&t.constructor.\u0275dir}function Ef(t,e){let n=t[dt];for(let r=ie;r<n.bindingStartIndex;r++)if($e(t[r])===e)return r;return-1}function Q1(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}function tE(t,e){let n=t[dt].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(Xe(i,t)[se]===e)return i}else if(Xe(ie,t)[se]===e)return ie;return-1}function eE(t,e){let n=t[dt].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(t[o]===e)return n.index;n=Q1(n)}return-1}function nE(t,e){let n=e[dt].data[t];if(n.directiveStart===0)return jn;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=e[i];km(o)||r.push(o)}return r}function Am(t){return Mm(t[Ki])}function Lm(t){return Mm(t[hn])}function Mm(t){for(;t!==null&&!qn(t);)t=t[hn];return t}var tc;function rE(t){tc=t}function Vm(){if(tc!==void 0)return tc;if(typeof document<"u")return document;throw new Pt(210,!1)}var Bu=new St("",{providedIn:"root",factory:()=>iE}),iE="ng",jm=new St(""),ua=new St("",{providedIn:"platform",factory:()=>"unknown"}),oE=new St(""),Fm=new St("",{providedIn:"root",factory:()=>Vm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),sE="h",aE="b",Bm=!1,lE=new St("",{providedIn:"root",factory:()=>Bm}),Uu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Uu||{}),vo=new St(""),xf=new Set;function Br(t){xf.has(t)||(xf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Um=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=cE}return t})();function cE(){return new Um(xt(),qe())}var Jr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Jr||{}),Hm=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),uE=[Jr.EarlyRead,Jr.Write,Jr.MixedReadWrite,Jr.Read],hE=(()=>{class t{ngZone=P(Wt);scheduler=P(yi);errorHandler=P(vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(vo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&zt(16),this.executing=!0;for(let r of uE)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&zt(17)}register(n){let{view:r}=n;r!==void 0?((r[ri]??=[]).push(n),mo(r),r[mt]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Uu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),fE=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,n,r,i,o=null){this.impl=t,this.hooks=e,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[ri];t&&(this.view[ri]=t.filter(e=>e!==this))}};function $m(t,e){!e?.injector&&Hg($m);let n=e?.injector??P(Ne);return Br("NgAfterRender"),zm(t,n,e,!1)}function bo(t,e){!e?.injector&&Hg(bo);let n=e?.injector??P(Ne);return Br("NgAfterNextRender"),zm(t,n,e,!0)}function dE(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function zm(t,e,n,r){let i=e.get(Hm);i.impl??=e.get(hE);let o=e.get(vo,null,{optional:!0}),s=n?.phase??Jr.MixedReadWrite,a=n?.manualCleanup!==!0?e.get(Au):null,l=e.get(Um,null,{optional:!0}),u=new fE(i.impl,dE(t,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var pE=()=>null;function qm(t,e,n=!1){return pE(t,e,n)}function Gm(t,e){let n=t.contentQueries;if(n!==null){let r=Tt(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];Ou(o),a.contentQueries(2,e[s],s)}}}finally{Tt(r)}}}function ec(t,e,n){Ou(0);let r=Tt(null);try{e(t,n)}finally{Tt(r)}}function Hu(t,e,n){if(Eu(e)){let r=Tt(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 l=n[s];a.contentQueries(1,l,s)}}}finally{Tt(r)}}}var An=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(An||{}),Lo;function gE(){if(Lo===void 0&&(Lo=null,Gi.trustedTypes))try{Lo=Gi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Lo}function ha(t){return gE()?.createHTML(t)||t}var Mo;function mE(){if(Mo===void 0&&(Mo=null,Gi.trustedTypes))try{Mo=Gi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Mo}function Sf(t){return mE()?.createHTML(t)||t}var Ur=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wg})`}},_E=class extends Ur{getTypeName(){return"HTML"}},yE=class extends Ur{getTypeName(){return"Style"}},vE=class extends Ur{getTypeName(){return"Script"}},bE=class extends Ur{getTypeName(){return"URL"}},wE=class extends Ur{getTypeName(){return"ResourceURL"}};function er(t){return t instanceof Ur?t.changingThisBreaksApplicationSecurity:t}function vr(t,e){let n=EE(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${wg})`)}return n===e}function EE(t){return t instanceof Ur&&t.getTypeName()||null}function xE(t){return new _E(t)}function SE(t){return new yE(t)}function CE(t){return new vE(t)}function IE(t){return new bE(t)}function TE(t){return new wE(t)}function OE(t){let e=new RE(t);return NE()?new DE(e):e}var DE=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(ha(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},RE=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=ha(t),e}};function NE(){try{return!!new window.DOMParser().parseFromString(ha(""),"text/html")}catch{return!1}}var PE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $u(t){return t=String(t),t.match(PE)?t:"unsafe:"+t}function Gn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function wo(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Wm=Gn("area,br,col,hr,img,wbr"),Zm=Gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ym=Gn("rp,rt"),kE=wo(Ym,Zm),AE=wo(Zm,Gn("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")),LE=wo(Ym,Gn("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")),Cf=wo(Wm,AE,LE,kE),Km=Gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ME=Gn("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"),VE=Gn("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"),jE=wo(Km,ME,VE),FE=Gn("script,style,template"),BE=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=$E(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=HE(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=If(t).toLowerCase();if(!Cf.hasOwnProperty(e))return this.sanitizedSomething=!0,!FE.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(!jE.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;Km[s]&&(a=$u(a)),this.buf.push(" ",o,'="',Tf(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=If(t).toLowerCase();Cf.hasOwnProperty(e)&&!Wm.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Tf(t))}};function UE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function HE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Jm(e);return e}function $E(t){let e=t.firstChild;if(e&&UE(t,e))throw Jm(e);return e}function If(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Jm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var zE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qE=/([^\#-~ |!])/g;function Tf(t){return t.replace(/&/g,"&amp;").replace(zE,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Vo;function Xm(t,e){let n=null;try{Vo=Vo||OE(t);let r=e?String(e):"";n=Vo.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=Vo.getInertBodyElement(r)}while(r!==o);let s=new BE().sanitizeChildren(Of(n)||n);return ha(s)}finally{if(n){let r=Of(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Of(t){return"content"in t&&GE(t)?t.content:null}function GE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var kn=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}(kn||{});function Hr(t){let e=Qm();return e?Sf(e.sanitize(kn.HTML,t)||""):vr(t,"HTML")?Sf(er(t)):Xm(Vm(),ho(t))}function je(t){let e=Qm();return e?e.sanitize(kn.URL,t)||"":vr(t,"URL")?er(t):$u(ho(t))}function Qm(){let t=xt();return t&&t[Bn].sanitizer}var WE=/^>|^->|<!--|-->|--!>|<!-$/g,ZE=/(<|>)/g,YE="\u200B$1\u200B";function KE(t){return t.replace(WE,e=>e.replace(ZE,YE))}function JE(t){return t.ownerDocument.defaultView}function XE(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 t_="ng-template";function QE(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&XE(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(zu(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 zu(t){return t.type===4&&t.value!==t_}function tx(t,e,n){let r=t.type===4&&!n?t_:t.value;return e===r}function ex(t,e,n){let r=4,i=t.attrs,o=i!==null?ix(i):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!an(r)&&!an(l))return!1;if(s&&an(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!tx(t,l,n)||l===""&&e.length===1){if(an(r))return!1;s=!0}}else if(r&8){if(i===null||!QE(t,i,l,n)){if(an(r))return!1;s=!0}}else{let u=e[++a],f=nx(l,i,zu(t),n);if(f===-1){if(an(r))return!1;s=!0;continue}if(u!==""){let d;if(f>o?d="":d=i[f+1].toLowerCase(),r&2&&u!==d){if(an(r))return!1;s=!0}}}}return an(r)||s}function an(t){return(t&1)===0}function nx(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 ox(e,t)}function rx(t,e,n=!1){for(let r=0;r<e.length;r++)if(ex(t,e[r],n))return!0;return!1}function ix(t){for(let e=0;e<t.length;e++){let n=t[e];if(v1(n))return e}return t.length}function ox(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 Df(t,e){return t?":not("+e.trim()+")":e}function sx(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!==""&&!an(s)&&(e+=Df(o,i),i=""),r=s,o=o||!an(r);n++}return i!==""&&(e+=Df(o,i)),e}function ax(t){return t.map(sx).join(",")}function lx(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(!an(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Wn={};function cx(t,e){return t.createText(e)}function ux(t,e,n){t.setValue(e,n)}function hx(t,e){return t.createComment(KE(e))}function e_(t,e,n){return t.createElement(e,n)}function Ds(t,e,n,r,i){t.insertBefore(e,n,r,i)}function n_(t,e,n){t.appendChild(e,n)}function Rf(t,e,n,r,i){r!==null?Ds(t,e,n,r,i):n_(t,e,n)}function fx(t,e,n){t.removeChild(null,e,n)}function dx(t,e,n){t.setAttribute(e,"style",n)}function px(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function r_(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&y1(t,e,r),i!==null&&px(t,e,i),o!==null&&dx(t,e,o)}function qu(t,e,n,r,i,o,s,a,l,u,f){let d=ie+r,_=d+i,v=gx(d,_),x=typeof u=="function"?u():u;return v[dt]={type:t,blueprint:v,template:n,queries:null,viewQuery:a,declTNode:e,data:v.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:_,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:l,consts:x,incompleteFirstPass:!1,ssrId:f}}function gx(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Wn);return n}function mx(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=qu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Gu(t,e,n,r,i,o,s,a,l,u,f){let d=e.blueprint.slice();return d[zn]=i,d[mt]=r|4|128|8|64|1024,(u!==null||t&&t[mt]&2048)&&(d[mt]|=2048),Xg(d),d[Ie]=d[mi]=t,d[se]=n,d[Bn]=s||t&&t[Bn],d[ye]=a||t&&t[ye],d[Yi]=l||t&&t[Yi]||null,d[yn]=o,d[po]=Z1(),d[Zi]=f,d[$g]=u,d[gn]=e.type==2?t[gn]:d,d}function _x(t,e,n){let r=Dn(e,t),i=mx(n),o=t[Bn].rendererFactory,s=Wu(t,Gu(t,i,null,i_(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function i_(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function o_(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 Wu(t,e){return t[Ki]?t[hf][hn]=e:t[Ki]=e,t[hf]=e,e}function J(t=1){s_(pe(),xt(),fr()+t,!1)}function s_(t,e,n,r){if(!r)if((e[mt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&es(e,i,n)}else{let i=t.preOrderHooks;i!==null&&ns(e,i,0,n)}Pr(n)}var fa=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(fa||{});function nc(t,e,n,r){let i=Tt(null);try{let[o,s,a]=t.inputs[n],l=null;(s&fa.SignalBased)!==0&&(l=e[o][nr]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,l,r,n,o):qg(e,l,o,r)}finally{Tt(i)}}function a_(t,e,n,r,i){let o=fr(),s=r&2;try{Pr(-1),s&&e.length>ie&&s_(t,e,ie,!1),zt(s?2:0,i),n(r,i)}finally{Pr(o),zt(s?3:1,i)}}function da(t,e,n){xx(t,e,n),(n.flags&64)===64&&Sx(t,e,n)}function Zu(t,e,n=Dn){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 yx(t,e,n,r){let i=r.get(lE,Bm)||n===An.ShadowDom,o=t.selectRootElement(e,i);return vx(o),o}function vx(t){bx(t)}var bx=()=>null;function wx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function l_(t,e,n,r,i,o,s,a){if(!a&&Ku(e,t,n,r,i)){_i(e)&&Ex(n,e.index);return}if(e.type&3){let l=Dn(e,n);r=wx(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(l,r,i)}else e.type&12}function Ex(t,e){let n=Xe(e,t);n[mt]&16||(n[mt]|=64)}function xx(t,e,n){let r=n.directiveStart,i=n.directiveEnd;_i(n)&&_x(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Is(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=Ji(e,t,s,n);if(Cn(l,e),o!==null&&Ox(e,s-r,l,a,n,o),Tn(a)){let u=Xe(n.index,e);u[se]=Ji(e,t,s,n)}}}function Sx(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=a1();try{Pr(o);for(let a=r;a<i;a++){let l=t.data[a],u=e[a];Gl(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Cx(l,u)}}finally{Pr(-1),Gl(s)}}function Cx(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Yu(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];rx(e,o.selectors,!1)&&(r??=[],Tn(o)?r.unshift(o):r.push(o))}return r}function Ix(t,e,n,r,i,o){let s=Dn(t,e);Tx(e[ye],s,o,t.value,n,r,i)}function Tx(t,e,n,r,i,o,s){if(o==null)t.removeAttribute(e,i,n);else{let a=s==null?ho(o):s(o,r||"",i);t.setAttribute(e,i,a,n)}}function Ox(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];nc(r,n,l,u)}}function c_(t,e){let n=t[Yi],r=n?n.get(vi,null):null;r&&r.handleError(e)}function Ku(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],f=s[l+1],d=e.data[u];nc(d,n[u],f,i),a=!0}if(o)for(let l of o){let u=n[l],f=e.data[l];nc(f,u,r,i),a=!0}return a}function Dx(t,e){let n=Xe(e,t),r=n[dt];Rx(r,n);let i=n[zn];i!==null&&n[Zi]===null&&(n[Zi]=qm(i,n[Yi])),zt(18),Ju(r,n,n[se]),zt(19,n[se])}function Rx(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ju(t,e,n){Du(e);try{let r=t.viewQuery;r!==null&&ec(1,r,n);let i=t.template;i!==null&&a_(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Un]?.finishViewCreation(t),t.staticContentQueries&&Gm(t,e),t.staticViewQueries&&ec(2,t.viewQuery,n);let o=t.components;o!==null&&Nx(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[mt]&=-5,Ru()}}function Nx(t,e){for(let n=0;n<e.length;n++)Dx(t,e[n])}function pa(t,e,n,r){let i=Tt(null);try{let o=e.tView,s=t[mt]&4096?4096:16,a=Gu(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[e.index];a[Dr]=l;let u=t[Un];return u!==null&&(a[Un]=u.createEmbeddedView(o)),Ju(o,a,n),a}finally{Tt(i)}}function Xi(t,e){return!e||e.firstChild===null||Rm(t)}var Px;function Xu(t,e){return Px(t,e)}var wr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(wr||{});function u_(t){return(t.flags&32)===32}function Xr(t,e,n,r,i){if(r!=null){let o,s=!1;qn(r)?o=r:Ln(r)&&(s=!0,r=r[zn]);let a=$e(r);t===0&&n!==null?i==null?n_(e,n,a):Ds(e,n,a,i||null,!0):t===1&&n!==null?Ds(e,n,a,i||null,!0):t===2?fx(e,a,s):t===3&&e.destroyNode(a),o!=null&&zx(e,t,o,n,i)}}function kx(t,e){h_(t,e),e[zn]=null,e[yn]=null}function Ax(t,e,n,r,i,o){r[zn]=i,r[yn]=e,_a(t,r,n,1,i,o)}function h_(t,e){e[Bn].changeDetectionScheduler?.notify(9),_a(t,e,e[ye],2,null,null)}function Lx(t){let e=t[Ki];if(!e)return nl(t[dt],t);for(;e;){let n=null;if(Ln(e))n=e[Ki];else{let r=e[Ce];r&&(n=r)}if(!n){for(;e&&!e[hn]&&e!==t;)Ln(e)&&nl(e[dt],e),e=e[Ie];e===null&&(e=t),Ln(e)&&nl(e[dt],e),n=e&&e[hn]}e=n}}function Qu(t,e){let n=t[ci],r=n.indexOf(e);n.splice(r,1)}function ga(t,e){if(go(e))return;let n=e[ye];n.destroyNode&&_a(t,e,n,3,null,null),Lx(e)}function nl(t,e){if(go(e))return;let n=Tt(null);try{e[mt]&=-129,e[mt]|=256,e[Ue]&&Hp(e[Ue]),Vx(t,e),Mx(t,e),e[dt].type===1&&e[ye].destroy();let r=e[Dr];if(r!==null&&qn(e[Ie])){r!==e[Ie]&&Qu(r,e);let i=e[Un];i!==null&&i.detachView(t)}Xl(e)}finally{Tt(n)}}function Mx(t,e){let n=t.cleanup,r=e[ys];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[ys]=null);let i=e[ir];if(i!==null){e[ir]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[vs];if(o!==null){e[vs]=null;for(let s of o)s.destroy()}}function Vx(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 yo)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];zt(4,a,l);try{l.call(a)}finally{zt(5,a,l)}}else{zt(4,i,o);try{o.call(i)}finally{zt(5,i,o)}}}}}function jx(t,e,n){return Fx(t,e.parent,n)}function Fx(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[zn];if(_i(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===An.None||i===An.Emulated)return null}return Dn(r,n)}function Bx(t,e,n){return Hx(t,e,n)}function Ux(t,e,n){return t.type&40?Dn(t,n):null}var Hx=Ux,Nf;function ma(t,e,n,r){let i=jx(t,r,e),o=e[ye],s=r.parent||e[yn],a=Bx(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Rf(o,i,n[l],a,!1);else Rf(o,i,n,a,!1);Nf!==void 0&&Nf(o,r,e,n,i)}function Li(t,e){if(e!==null){let n=e.type;if(n&3)return Dn(e,t);if(n&4)return rc(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Li(t,r);{let i=t[e.index];return qn(i)?rc(-1,i):$e(i)}}else{if(n&128)return Li(t,e.next);if(n&32)return Xu(e,t)()||$e(t[e.index]);{let r=f_(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=Nr(t[gn]);return Li(i,r)}else return Li(t,e.next)}}}return null}function f_(t,e){if(e!==null){let n=t[gn][yn],r=e.projection;return n.projection[r]}return null}function rc(t,e){let n=Ce+t+1;if(n<e.length){let r=e[n],i=r[dt].firstChild;if(i!==null)return Li(r,i)}return e[Rr]}function th(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],l=n.type;if(s&&e===0&&(a&&Cn($e(a),r),n.flags|=2),!u_(n))if(l&8)th(t,e,n.child,r,i,o,!1),Xr(e,t,i,a,o);else if(l&32){let u=Xu(n,r),f;for(;f=u();)Xr(e,t,i,f,o);Xr(e,t,i,a,o)}else l&16?$x(t,e,r,n,i,o):Xr(e,t,i,a,o);n=s?n.projectionNext:n.next}}function _a(t,e,n,r,i,o){th(n,r,t.firstChild,e,i,o,!1)}function $x(t,e,n,r,i,o){let s=n[gn],a=s[yn].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];Xr(e,t,i,u,o)}else{let l=a,u=s[Ie];Rm(r)&&(l.flags|=128),th(t,e,l,u,i,o,!0)}}function zx(t,e,n,r,i){let o=n[Rr],s=$e(n);o!==s&&Xr(e,t,r,o,i);for(let a=Ce;a<n.length;a++){let l=n[a];_a(l[dt],l,t,e,r,o)}}function qx(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:wr.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=wr.Important),t.setStyle(n,r,i,o))}}function Rs(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($e(o)),qn(o)&&Gx(o,r);let s=n.type;if(s&8)Rs(t,e,n.child,r);else if(s&32){let a=Xu(n,e),l;for(;l=a();)r.push(l)}else if(s&16){let a=f_(e,n);if(Array.isArray(a))r.push(...a);else{let l=Nr(e[gn]);Rs(l[dt],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Gx(t,e){for(let n=Ce;n<t.length;n++){let r=t[n],i=r[dt].firstChild;i!==null&&Rs(r[dt],r,i,e)}t[Rr]!==t[zn]&&e.push(t[Rr])}function d_(t){if(t[ri]!==null){for(let e of t[ri])e.impl.addSequence(e);t[ri].length=0}}var p_=[];function Wx(t){return t[Ue]??Zx(t)}function Zx(t){let e=p_.pop()??Object.create(Kx);return e.lView=t,e}function Yx(t){t.lView[Ue]!==t&&(t.lView=null,p_.push(t))}var Kx=Zt(j({},iu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[Ue]=this}});function Jx(t){let e=t[Ue]??Object.create(Xx);return e.lView=t,e}var Xx=Zt(j({},iu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Nr(t.lView);for(;e&&!g_(e[dt]);)e=Nr(e);e&&Cu(e)},consumerOnSignalRead(){this.lView[Ue]=this}});function g_(t){return t.type!==2}function m_(t){if(t[vs]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[vs])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[mt]&8192)}}var Qx=100;function __(t,e=!0,n=0){let r=t[Bn].rendererFactory,i=!1;i||r.begin?.();try{tS(t,n)}catch(o){throw e&&c_(t,o),o}finally{i||r.end?.()}}function tS(t,e){let n=om();try{ff(!0),ic(t,e);let r=0;for(;oa(t);){if(r===Qx)throw new Pt(103,!1);r++,ic(t,1)}}finally{ff(n)}}function eS(t,e,n,r){if(go(e))return;let i=e[mt],o=!1,s=!1;Du(e);let a=!0,l=null,u=null;o||(g_(t)?(u=Wx(e),l=Jh(u)):F0()===null?(a=!1,u=Jx(e),l=Jh(u)):e[Ue]&&(Hp(e[Ue]),e[Ue]=null));try{Xg(e),r1(t.bindingStartIndex),n!==null&&a_(t,e,n,2,r);let f=(i&3)===3;if(!o)if(f){let v=t.preOrderCheckHooks;v!==null&&es(e,v,null)}else{let v=t.preOrderHooks;v!==null&&ns(e,v,0,null),Xa(e,0)}if(s||nS(e),m_(e),y_(e,0),t.contentQueries!==null&&Gm(t,e),!o)if(f){let v=t.contentCheckHooks;v!==null&&es(e,v)}else{let v=t.contentHooks;v!==null&&ns(e,v,1),Xa(e,1)}iS(t,e);let d=t.components;d!==null&&b_(e,d,0);let _=t.viewQuery;if(_!==null&&ec(2,_,r),!o)if(f){let v=t.viewCheckHooks;v!==null&&es(e,v)}else{let v=t.viewHooks;v!==null&&ns(e,v,2),Xa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ja]){for(let v of e[Ja])v();e[Ja]=null}o||(d_(e),e[mt]&=-73)}catch(f){throw o||mo(e),f}finally{u!==null&&(z0(u,l),a&&Yx(u)),Ru()}}function y_(t,e){for(let n=Am(t);n!==null;n=Lm(n))for(let r=Ce;r<n.length;r++){let i=n[r];v_(i,e)}}function nS(t){for(let e=Am(t);e!==null;e=Lm(e)){if(!(e[mt]&2))continue;let n=e[ci];for(let r=0;r<n.length;r++){let i=n[r];Cu(i)}}}function rS(t,e,n){zt(18);let r=Xe(e,t);v_(r,n),zt(19,r[se])}function v_(t,e){Su(t)&&ic(t,e)}function ic(t,e){let n=t[dt],r=t[mt],i=t[Ue],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&Up(i)),o||=!1,i&&(i.dirty=!1),t[mt]&=-9217,o)eS(n,t,n.template,t[se]);else if(r&8192){m_(t),y_(t,1);let s=n.components;s!==null&&b_(t,s,1),d_(t)}}function b_(t,e,n){for(let r=0;r<e.length;r++)rS(t,e[r],n)}function iS(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)Pr(~i);else{let o=i,s=n[++r],a=n[++r];s1(s,o);let l=e[o];zt(24,l),a(2,l),zt(25,l)}}}finally{Pr(-1)}}function eh(t,e){let n=om()?64:1088;for(t[Bn].changeDetectionScheduler?.notify(e);t;){t[mt]|=n;let r=Nr(t);if(ws(t)&&!r)return t;t=r}return null}function w_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function E_(t,e){let n=Ce+e;if(n<t.length)return t[n]}function ya(t,e,n,r=!0){let i=e[dt];if(oS(i,e,t,n),r){let s=rc(n,t),a=e[ye],l=a.parentNode(t[Rr]);l!==null&&Ax(i,t[yn],a,e,l,s)}let o=e[Zi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function x_(t,e){let n=Qi(t,e);return n!==void 0&&ga(n[dt],n),n}function Qi(t,e){if(t.length<=Ce)return;let n=Ce+e,r=t[n];if(r){let i=r[Dr];i!==null&&i!==t&&Qu(i,r),e>0&&(t[n-1][hn]=r[hn]);let o=ms(t,Ce+e);kx(r[dt],r);let s=o[Un];s!==null&&s.detachView(o[dt]),r[Ie]=null,r[hn]=null,r[mt]&=-129}return r}function oS(t,e,n,r){let i=Ce+r,o=n.length;r>0&&(n[i-1][hn]=e),r<o-Ce?(e[hn]=n[i],Rg(n,Ce+r,e)):(n.push(e),e[hn]=null),e[Ie]=n;let s=e[Dr];s!==null&&n!==s&&S_(s,e);let a=e[Un];a!==null&&a.insertView(t),zl(e),e[mt]|=128}function S_(t,e){let n=t[ci],r=e[Ie];if(Ln(r))t[mt]|=2;else{let i=r[Ie][gn];e[gn]!==i&&(t[mt]|=2)}n===null?t[ci]=[e]:n.push(e)}var to=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[dt];return Rs(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[se]}get dirty(){return!!(this._lView[mt]&9280)||!!this._lView[Ue]?.dirty}set context(t){this._lView[se]=t}get destroyed(){return go(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ie];if(qn(t)){let e=t[bs],n=e?e.indexOf(this):-1;n>-1&&(Qi(t,n),ms(e,n))}this._attachedToViewContainer=!1}ga(this._lView[dt],this._lView)}onDestroy(t){Qg(this._lView,t)}markForCheck(){eh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Cu(this._cdRefInjectingView||this._lView)}detach(){this._lView[mt]&=-129}reattach(){zl(this._lView),this._lView[mt]|=128}detectChanges(){this._lView[mt]|=1024,__(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Pt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ws(this._lView),e=this._lView[Dr];e!==null&&!t&&Qu(e,this._lView),h_(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Pt(902,!1);this._appRef=t;let e=ws(this._lView),n=this._lView[Dr];n!==null&&!e&&S_(n,this._lView),zl(this._lView)}},eo=(()=>{class t{static __NG_ELEMENT_ID__=lS}return t})(),sS=eo,aS=class extends sS{_declarationLView;_declarationTContainer;elementRef;constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){let r=pa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new to(r)}};function lS(){return va(qe(),xt())}function va(t,e){return t.type&4?new aS(e,t,bi(t,e)):null}function Eo(t,e,n,r,i){let o=t.data[e];if(o===null)o=cS(t,e,n,r,i),o1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=n1();o.injectorIndex=s===null?-1:s.injectorIndex}return hr(o,!0),o}function cS(t,e,n,r,i){let o=nm(),s=Tu(),a=s?o:o&&o.parent,l=t.data[e]=hS(t,a,n,e,r,i);return uS(t,l,o,s),l}function uS(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 hS(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return Qw()&&(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 YA=new RegExp(`^(\\d+)*(${aE}|${sE})*(.*)`),fS=()=>null;function no(t,e){return fS(t,e)}var dS=class{},C_=class{},pS=class{resolveComponentFactory(t){throw Error(`No component factory found for ${un(t)}.`)}},xo=class{static NULL=new pS},vn=class{},I_=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>gS()}return t})();function gS(){let t=xt(),e=qe(),n=Xe(e.index,t);return(Ln(n)?n:t)[ye]}var mS=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>null})}return t})();function oc(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=of(i,a);else if(o==2){let l=a,u=e[++s];r=of(r,l+": "+u+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function Ee(t,e=Ot.Default){let n=xt();if(n===null)return jt(t,e);let r=qe();return bm(r,n,Re(t),e)}function nh(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,l=null,u=null,f=yS(s);f===null?a=s:[a,l,u]=f,wS(t,e,n,a,o,l,u)}o!==null&&r!==null&&_S(n,r,o)}function _S(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 Pt(-301,!1);r.push(e[i],o)}}function yS(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Tn(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,vS(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 vS(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function bS(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function wS(t,e,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let v=r[_];!l&&Tn(v)&&(l=!0,bS(t,n,_)),Zl(Is(n,e),t,v.type)}TS(n,t.data.length,a);for(let _=0;_<a;_++){let v=r[_];v.providersResolver&&v.providersResolver(v)}let u=!1,f=!1,d=o_(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let v=r[_];if(n.mergedAttrs=ui(n.mergedAttrs,v.hostAttrs),xS(t,n,e,d,v),IS(d,v,i),s!==null&&s.has(v)){let[I,V]=s.get(v);n.directiveToIndex.set(v.type,[d,I+n.directiveStart,V+n.directiveStart])}else(o===null||!o.has(v))&&n.directiveToIndex.set(v.type,d);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let x=v.type.prototype;!u&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!f&&(x.ngOnChanges||x.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),f=!0),d++}ES(t,n,o)}function ES(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Pf(0,e,i,r),Pf(1,e,i,r),Af(e,r,!1);else{let o=n.get(i);kf(0,e,o,r),kf(1,e,o,r),Af(e,r,!0)}}}function Pf(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),T_(e,o)}}function kf(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),T_(e,s)}}function T_(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function Af(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||zu(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!n&&i.hasOwnProperty(l)){let u=i[l];for(let f of u)if(f===e){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let f=0;f<u.length;f+=2)if(u[f]===e){s??=[],s.push(u[f+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function xS(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Ir(i.type,!0)),s=new yo(o,Tn(i),Ee);t.blueprint[r]=s,n[r]=s,SS(t,e,r,o_(t,n,i.hostVars,Wn),i)}function SS(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;CS(s)!=a&&s.push(a),s.push(n,r,o)}}function CS(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function IS(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Tn(e)&&(n[""]=t)}}function TS(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function O_(t,e,n,r,i,o,s,a){let l=e.consts,u=ar(l,s),f=Eo(e,t,2,r,u);return o&&nh(e,n,f,ar(l,a),i),f.mergedAttrs=ui(f.mergedAttrs,f.attrs),f.attrs!==null&&oc(f,f.attrs,!1),f.mergedAttrs!==null&&oc(f,f.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,f),f}function D_(t,e){Pu(t,e),Eu(e)&&t.queries.elementEnd(e)}var OS=class extends xo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Or(t);return new rh(e,this.ngModule)}};function DS(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&fa.SignalBased)!==0};return i&&(o.transform=i),o})}function RS(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function NS(t,e,n){let r=e instanceof Fn?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new w1(n,r):n}function PS(t){let e=t.get(vn,null);if(e===null)throw new Pt(407,!1);let n=t.get(mS,null),r=t.get(yi,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function kS(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return e_(e,n,n==="svg"?Kg:n==="math"?zw:null)}var rh=class extends C_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return DS(this.componentDef.inputs)}get outputs(){return RS(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=ax(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){zt(22);let i=Tt(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:lx(this.componentDef.selectors[0]),a=qu(0,null,null,1,0,null,null,null,null,[s],null),l=NS(o,r||this.ngModule,t),u=PS(l),f=u.rendererFactory.createRenderer(null,o),d=n?yx(f,n,o.encapsulation,l):kS(o,f),_=Gu(null,a,null,512|i_(o),null,null,u,f,l,null,qm(d,l,!0));_[ie]=d,Du(_);let v=null;try{let x=O_(ie,a,_,"#host",()=>[this.componentDef],!0,0);d&&(r_(f,d,x),Cn(d,_)),da(a,_,x),Hu(a,x,_),D_(a,x),e!==void 0&&LS(x,this.ngContentSelectors,e),v=Xe(x.index,_),_[se]=v[se],Ju(a,_,null)}catch(x){throw v!==null&&Xl(v),Xl(_),x}finally{zt(23),Ru()}return new AS(this.componentType,_)}finally{Tt(i)}}},AS=class extends dS{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=xu(e[dt],ie),this.location=bi(this._tNode,e),this.instance=Xe(this._tNode.index,e)[se],this.hostView=this.changeDetectorRef=new to(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=Ku(n,r[dt],r,t,e);this.previousInputValues.set(t,e);let o=Xe(n.index,r);eh(o,1)}get injector(){return new Bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function LS(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 wi=(()=>{class t{static __NG_ELEMENT_ID__=MS}return t})();function MS(){let t=qe();return N_(t,xt())}var VS=wi,R_=class extends VS{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return bi(this._hostTNode,this._hostLView)}get injector(){return new Bi(this._hostTNode,this._hostLView)}get parentInjector(){let t=ku(this._hostTNode,this._hostLView);if(pm(t)){let e=Ss(t,this._hostLView),n=xs(t),r=e[dt].data[n+8];return new Bi(r,e)}else return new Bi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=Lf(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(t,e,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=no(this._lContainer,t.ssrId),s=t.createEmbeddedViewImpl(e||{},i,o);return this.insertImpl(s,r,Xi(this._hostTNode,o)),s}createComponent(t,e,n,r,i){let o=t&&!jw(t),s;if(o)s=e;else{let v=e||{};s=v.index,n=v.injector,r=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let a=o?t:new rh(Or(t)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let v=(o?l:this.parentInjector).get(Fn,null);v&&(i=v)}let u=Or(a.componentType??{}),f=no(this._lContainer,u?.id??null),d=f?.firstChild??null,_=a.create(l,r,d,i);return this.insertImpl(_.hostView,s,Xi(this._hostTNode,f)),_}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){let r=t._lView;if(Gw(r)){let s=this.indexOf(t);if(s!==-1)this.detach(s);else{let a=r[Ie],l=new R_(a,a[yn],a[Ie]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(e),o=this._lContainer;return ya(o,r,i,n),t.attachToViewContainerRef(),Rg(rl(o),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=Lf(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);n&&(ms(rl(this._lContainer),e),ga(n[dt],n))}detach(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);return n&&ms(rl(this._lContainer),e)!=null?new to(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function Lf(t){return t[bs]}function rl(t){return t[bs]||(t[bs]=[])}function N_(t,e){let n,r=e[t.index];return qn(r)?n=r:(n=w_(r,e,null,t),e[t.index]=n,Wu(e,n)),FS(n,e,t,r),new R_(n,t,e)}function jS(t,e){let n=t[ye],r=n.createComment(""),i=Dn(e,t),o=n.parentNode(i);return Ds(n,o,r,n.nextSibling(i),!1),r}var FS=HS,BS=()=>!1;function US(t,e,n){return BS(t,e,n)}function HS(t,e,n,r){if(t[Rr])return;let i;n.type&8?i=$e(r):i=jS(e,n),t[Rr]=i}var $S=class P_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new P_(this.queryList)}setDirty(){this.queryList.setDirty()}},zS=class k_{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new k_(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)ih(e,n).matches!==null&&this.queries[n].setDirty()}},qS=class{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,typeof t=="string"?this.predicate=eC(t):this.predicate=t}},GS=class A_{queries;constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new A_(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},WS=class L_{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,n=-1){this.metadata=e,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new L_(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(e,n,ZS(n,o)),this.matchTNodeWithReadOption(e,n,rs(n,e,o,!1,!1))}else r===eo?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,rs(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Ve||i===wi||i===eo&&n.type&4)this.addMatch(n.index,-2);else{let o=rs(n,e,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(e,n){this.matches===null?this.matches=[e,n]:this.matches.push(e,n)}};function ZS(t,e){let n=t.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1]}return null}function YS(t,e){return t.type&11?bi(t,e):t.type&4?va(t,e):null}function KS(t,e,n,r){return n===-1?YS(e,t):n===-2?JS(t,e,r):Ji(t,t[dt],n,e)}function JS(t,e,n){if(n===Ve)return bi(e,t);if(n===eo)return va(e,t);if(n===wi)return N_(e,t)}function M_(t,e,n,r){let i=e[Un].queries[r];if(i.matches===null){let o=t.data,s=n.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)a.push(null);else{let f=o[u];a.push(KS(e,f,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function sc(t,e,n,r){let i=t.queries.getByIndex(n),o=i.matches;if(o!==null){let s=M_(t,e,i,n);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let u=o[a+1],f=e[-l];for(let d=Ce;d<f.length;d++){let _=f[d];_[Dr]===_[Ie]&&sc(_[dt],_,u,r)}if(f[ci]!==null){let d=f[ci];for(let _=0;_<d.length;_++){let v=d[_];sc(v[dt],v,u,r)}}}}}return r}function XS(t,e){return t[Un].queries[e].queryList}function QS(t,e,n){let r=new G1((n&4)===4);return Yw(t,e,r,r.destroy),(e[Un]??=new zS).queries.push(new $S(r))-1}function tC(t,e,n){let r=pe();return r.firstCreatePass&&(nC(r,new qS(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),QS(r,xt(),e)}function eC(t){return t.split(",").map(e=>e.trim())}function nC(t,e,n){t.queries===null&&(t.queries=new GS),t.queries.track(new WS(e,n))}function ih(t,e){return t.queries.getByIndex(e)}function rC(t,e){let n=t[dt],r=ih(n,e);return r.crossesNgTemplate?sc(n,t,e,[]):M_(n,t,r,e)}var ro=class{},V_=class extends ro{injector;componentFactoryResolver=new OS(this);instance=null;constructor(t){super();let e=new wu([...t.providers,{provide:ro,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],t.parent||na(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function iC(t,e,n=null){return new V_({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var oC=(()=>{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=Mg(!1,n.type),i=r.length>0?iC([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=pt({token:t,providedIn:"environment",factory:()=>new t(jt(Fn))})}return t})();function Pe(t){return gu(()=>{let e=j_(t),n=Zt(j({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Nm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(oC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||An.Emulated,styles:t.styles||jn,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Br("NgStandalone"),F_(n);let r=t.dependencies;return n.directiveDefs=Mf(r,!1),n.pipeDefs=Mf(r,!0),n.id=uC(n),n})}function sC(t){return Or(t)||Ag(t)}function aC(t){return t!==null}function lC(t,e){if(t==null)return Tr;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=fa.None,l=null),n[o]=[r,a,l],e[o]=s}return n}function cC(t){if(t==null)return Tr;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function ba(t){return gu(()=>{let e=j_(t);return F_(e),e})}function oh(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 j_(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||Tr,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||jn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lC(t.inputs,e),outputs:cC(t.outputs),debugInfo:null}}function F_(t){t.features?.forEach(e=>e(t))}function Mf(t,e){if(!t)return null;let n=e?Lg:sC;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(aC)}function uC(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 hC(t){return Object.getPrototypeOf(t.prototype).constructor}function Ei(t){let e=hC(t.type),n=!0,r=[t];for(;e;){let i;if(Tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Pt(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=il(t.inputs),s.declaredInputs=il(t.declaredInputs),s.outputs=il(t.outputs);let a=i.hostBindings;a&&mC(t,a);let l=i.viewQuery,u=i.contentQueries;if(l&&pC(t,l),u&&gC(t,u),fC(t,i),nw(t.outputs,i.outputs),Tn(i)&&i.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===Ei&&(n=!1)}}e=Object.getPrototypeOf(e)}dC(r)}function fC(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function dC(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=ui(i.hostAttrs,n=ui(n,i.hostAttrs))}}function il(t){return t===Tr?{}:t===jn?[]:t}function pC(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function gC(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function mC(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function B_(t,e,n){return t[e]=n}function Hn(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function _C(t,e,n,r){let i=Hn(t,e,n);return Hn(t,e+1,r)||i}function yC(t,e,n,r,i,o,s,a,l){let u=e.consts,f=Eo(e,t,4,s||null,a||null);Iu()&&nh(e,n,f,ar(u,l),Yu),f.mergedAttrs=ui(f.mergedAttrs,f.attrs),Pu(e,f);let d=f.tView=qu(2,f,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,f),d.queries=e.queries.embeddedTView(f)),f}function ac(t,e,n,r,i,o,s,a,l,u){let f=n+ie,d=e.firstCreatePass?yC(f,e,t,r,i,o,s,a,l):e.data[f];hr(d,!1);let _=vC(e,t,d,n);aa()&&ma(e,t,_,d),Cn(_,t);let v=w_(_,t,_,d);return t[f]=v,Wu(t,v),US(v,d,t),ra(d)&&da(e,t,d),l!=null&&Zu(t,d,u),d}function ae(t,e,n,r,i,o,s,a){let l=xt(),u=pe(),f=ar(u.consts,o);return ac(l,u,t,e,n,r,i,f,s,a),ae}var vC=bC;function bC(t,e,n,r){return la(!0),e[ye].createComment("")}var wC=new St(""),EC=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new xC})}return t})(),xC=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 U_(t){return!!t&&typeof t.then=="function"}function SC(t){return!!t&&typeof t.subscribe=="function"}var CC=new St(""),H_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(CC,{optional:!0})??[];injector=P(Ne);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Bg(this.injector,i);if(U_(o))n.push(o);else if(SC(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IC=new St("");function TC(){G0(()=>{throw new Pt(600,!1)})}function OC(t){return t.isBoundToModule}var DC=10,cr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(U1);afterRenderManager=P(Hm);zonelessEnabled=P(Lu);rootEffectScheduler=P(EC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new yt;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(ca).hasPendingTasks.pipe(Qs(n=>!n));constructor(){P(vo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(Fn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){zt(10);let i=n instanceof C_;if(!this._injector.get(H_).done){let d=!i&&Cw(n),_=!1;throw new Pt(405,_)}let o;i?o=n:o=this._injector.get(xo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=OC(o)?void 0:this._injector.get(ro),a=r||o.selector,l=o.create(Ne.NULL,[],a,s),u=l.location.nativeElement,f=l.injector.get(wC,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),is(this.components,l),f?.unregisterApplication(u)}),this._loadComponent(l),zt(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){zt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Uu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Pt(101,!1);let n=Tt(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Tt(n),this.afterTick.next(),zt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DC;)zt(14),this.synchronizeOnce(),zt(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)RC(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})=>oa(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;is(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(IC,[]).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),()=>is(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Pt(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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function is(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function RC(t,e,n,r){!n&&!oa(t)||__(t,e,n&&!r?0:1)}function wa(t,e,n,r){let i=xt(),o=_o();if(Hn(i,o,e)){let s=pe(),a=Nu();Ix(a,i,t,e,n,r)}return wa}function $_(t,e,n,r){return Hn(t,_o(),n)?e+ho(n)+r:Wn}function jo(t,e){return t<<17|e<<2}function kr(t){return t>>17&32767}function NC(t){return(t&2)==2}function PC(t,e){return t&131071|e<<17}function lc(t){return t|2}function hi(t){return(t&131068)>>2}function ol(t,e){return t&-131069|e<<2}function kC(t){return(t&1)===1}function cc(t){return t|1}function AC(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=kr(s),l=hi(s);t[r]=n;let u=!1,f;if(Array.isArray(n)){let d=n;f=d[1],(f===null||fo(d,f)>0)&&(u=!0)}else f=n;if(i)if(l!==0){let d=kr(t[a+1]);t[r+1]=jo(d,a),d!==0&&(t[d+1]=ol(t[d+1],r)),t[a+1]=PC(t[a+1],r)}else t[r+1]=jo(a,0),a!==0&&(t[a+1]=ol(t[a+1],r)),a=r;else t[r+1]=jo(l,0),a===0?a=r:t[l+1]=ol(t[l+1],r),l=r;u&&(t[r+1]=lc(t[r+1])),Vf(t,f,r,!0),Vf(t,f,r,!1),LC(e,f,t,r,o),s=jo(a,l),o?e.classBindings=s:e.styleBindings=s}function LC(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=cc(n[r+1]))}function Vf(t,e,n,r){let i=t[n+1],o=e===null,s=r?kr(i):hi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];MC(l,e)&&(a=!0,t[s+1]=r?cc(u):lc(u)),s=r?kr(u):hi(u)}a&&(t[n+1]=r?lc(i):cc(i))}function MC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fo(t,e)>=0:!1}function Nt(t,e,n){let r=xt(),i=_o();if(Hn(r,i,e)){let o=pe(),s=Nu();l_(o,s,r,t,e,r[ye],n,!1)}return Nt}function jf(t,e,n,r,i){Ku(e,t,n,i?"class":"style",r)}function Ea(t,e,n){return z_(t,e,n,!1),Ea}function xa(t,e){return z_(t,e,null,!0),xa}function z_(t,e,n,r){let i=xt(),o=pe(),s=i1(2);if(o.firstUpdatePass&&jC(o,t,s,r),e!==Wn&&Hn(i,s,e)){let a=o.data[fr()];$C(o,a,i,i[ye],t,i[s+1]=zC(e,n),r,s)}}function VC(t,e){return e>=t.expandoStartIndex}function jC(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[fr()],s=VC(t,n);qC(o,r)&&e===null&&!s&&(e=!1),e=FC(i,o,e,r),AC(i,o,e,n,s,r)}}function FC(t,e,n,r){let i=l1(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=sl(null,t,e,n,r),n=io(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=sl(i,t,e,n,r),o===null){let a=BC(t,e,r);a!==void 0&&Array.isArray(a)&&(a=sl(null,t,e,a[1],r),a=io(a,e.attrs,r),UC(t,e,r,a))}else o=HC(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function BC(t,e,n){let r=n?e.classBindings:e.styleBindings;if(hi(r)!==0)return t[kr(r)]}function UC(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[kr(i)]=r}function HC(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=io(r,s,n)}return io(r,e.attrs,n)}function sl(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=io(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function io(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]),xw(t,s,n?!0:e[++o]))}return t===void 0?null:t}function $C(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let l=t.data,u=l[a+1],f=kC(u)?Ff(l,e,n,i,hi(u),s):void 0;if(!Ns(f)){Ns(o)||NC(u)&&(o=Ff(l,null,n,i,a,s));let d=Jg(fr(),n);qx(r,s,d,i,o)}}function Ff(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let l=t[i],u=Array.isArray(l),f=u?l[1]:l,d=f===null,_=n[i+1];_===Wn&&(_=d?jn:void 0);let v=d?Ya(_,r):f===r?_:void 0;if(u&&!Ns(v)&&(v=Ya(l,r)),Ns(v)&&(a=v,s))return a;let x=t[i+1];i=s?kr(x):hi(x)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Ya(l,r))}return a}function Ns(t){return t!==void 0}function zC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=un(er(t)))),t}function qC(t,e){return(t.flags&(e?8:16))!==0}var GC=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 al(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function WC(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let l=e.length-1;for(;o<=s&&o<=l;){let u=t.at(o),f=e[o],d=al(o,u,o,f,n);if(d!==0){d<0&&t.updateValue(o,f),o++;continue}let _=t.at(s),v=e[l],x=al(s,_,l,v,n);if(x!==0){x<0&&t.updateValue(s,v),s--,l--;continue}let I=n(o,u),V=n(s,_),L=n(o,f);if(Object.is(L,V)){let Z=n(l,v);Object.is(Z,I)?(t.swap(o,s),t.updateValue(s,v),l--,s--):t.move(s,o),t.updateValue(o,f),o++;continue}if(r??=new Hf,i??=Uf(t,o,s,n),uc(t,r,o,L))t.updateValue(o,f),o++,s++;else if(i.has(L))r.set(I,t.detach(o)),s--;else{let Z=t.create(o,e[o]);t.attach(o,Z),o++,s++}}for(;o<=l;)Bf(t,r,n,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let f=t.at(o),d=u.value,_=al(o,f,o,d,n);if(_!==0)_<0&&t.updateValue(o,d),o++,u=l.next();else{r??=new Hf,i??=Uf(t,o,s,n);let v=n(o,d);if(uc(t,r,o,v))t.updateValue(o,d),o++,s++,u=l.next();else if(!i.has(v))t.attach(o,t.create(o,d)),o++,s++,u=l.next();else{let x=n(o,f);r.set(x,t.detach(o)),s--}}}for(;!u.done;)Bf(t,r,n,t.length,u.value),u=l.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function uc(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Bf(t,e,n,r,i){if(uc(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Uf(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 Hf=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 he(t,e){Br("NgControlFlow");let n=xt(),r=_o(),i=n[r]!==Wn?n[r]:-1,o=i!==-1?Ps(n,ie+i):void 0,s=0;if(Hn(n,r,t)){let a=Tt(null);try{if(o!==void 0&&x_(o,s),t!==-1){let l=ie+t,u=Ps(n,l),f=hc(n[dt],l),d=no(u,f.tView.ssrId),_=pa(n,f,e,{dehydratedView:d});ya(u,_,s,Xi(f,d))}}finally{Tt(a)}}else if(o!==void 0){let a=E_(o,s);a!==void 0&&(a[se]=e)}}var ZC=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Ce}};function So(t,e){return e}var YC=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Te(t,e,n,r,i,o,s,a,l,u,f,d,_){Br("NgControlFlow");let v=xt(),x=pe(),I=l!==void 0,V=xt(),L=a?s.bind(V[gn][se]):s,Z=new YC(I,L);V[ie+t]=Z,ac(v,x,t+1,e,n,r,i,ar(x.consts,o)),I&&ac(v,x,t+2,l,u,f,d,ar(x.consts,_))}var KC=class extends GC{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-Ce}at(t){return this.getLView(t)[se].$implicit}attach(t,e){let n=e[Zi];this.needsIndexUpdate||=t!==this.length,ya(this.lContainer,e,t,Xi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,JC(this.lContainer,t)}create(t,e){let n=no(this.lContainer,this.templateTNode.tView.ssrId),r=pa(this.hostLView,this.templateTNode,new ZC(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){ga(t[dt],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[se].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[se].$index=t}getLView(t){return XC(this.lContainer,t)}};function Oe(t){let e=Tt(null),n=fr();try{let r=xt(),i=r[dt],o=r[n],s=n+1,a=Ps(r,s);if(o.liveCollection===void 0){let u=hc(i,s);o.liveCollection=new KC(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(WC(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=_o(),f=l.length===0;if(Hn(r,u,f)){let d=n+2,_=Ps(r,d);if(f){let v=hc(i,d),x=no(_,v.tView.ssrId),I=pa(r,v,void 0,{dehydratedView:x});ya(_,I,0,Xi(v,x))}else x_(_,0)}}}finally{Tt(e)}}function Ps(t,e){return t[e]}function JC(t,e){return Qi(t,e)}function XC(t,e){return E_(t,e)}function hc(t,e){return xu(t,e)}function et(t,e,n,r){let i=xt(),o=pe(),s=ie+t,a=i[ye],l=o.firstCreatePass?O_(s,o,i,e,Yu,Iu(),n,r):o.data[s],u=QC(o,i,l,a,e,t);i[s]=u;let f=ra(l);return hr(l,!0),r_(a,u,l),!u_(l)&&aa()&&ma(o,i,u,l),(Kw()===0||f)&&Cn(u,i),Jw(),f&&(da(o,i,l),Hu(o,l,i)),r!==null&&Zu(i,l),et}function rt(){let t=qe();Tu()?rm():(t=t.parent,hr(t,!1));let e=t;t1(e)&&e1(),Xw();let n=pe();return n.firstCreatePass&&D_(n,e),e.classesWithoutHost!=null&&m1(e)&&jf(n,e,xt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&_1(e)&&jf(n,e,xt(),e.stylesWithoutHost,!1),rt}function At(t,e,n,r){return et(t,e,n,r),rt(),At}var QC=(t,e,n,r,i,o)=>(la(!0),e_(r,i,f1()));function tI(t,e,n,r,i){let o=e.consts,s=ar(o,r),a=Eo(e,t,8,"ng-container",s);s!==null&&oc(a,s,!0);let l=ar(o,i);return Iu()&&nh(e,n,a,l,Yu),a.mergedAttrs=ui(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function q_(t,e,n){let r=xt(),i=pe(),o=t+ie,s=i.firstCreatePass?tI(o,i,r,e,n):i.data[o];hr(s,!0);let a=eI(i,r,s,t);return r[o]=a,aa()&&ma(i,r,a,s),Cn(a,r),ra(s)&&(da(i,r,s),Hu(i,s,r)),n!=null&&Zu(r,s),q_}function G_(){let t=qe(),e=pe();return Tu()?rm():(t=t.parent,hr(t,!1)),e.firstCreatePass&&(Pu(e,t),Eu(t)&&e.queries.elementEnd(t)),G_}function sh(t,e,n){return q_(t,e,n),G_(),sh}var eI=(t,e,n,r)=>(la(!0),hx(e[ye],""));function rn(){return xt()}var ks="en-US",nI=ks;function rI(t){typeof t=="string"&&(nI=t.toLowerCase().replace(/_/g,"-"))}var iI=(t,e,n)=>{};function re(t,e,n,r){let i=xt(),o=pe(),s=qe();return sI(o,i,i[ye],s,t,e,r),re}function oI(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=e[ys],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function sI(t,e,n,r,i,o,s){let a=ra(r),l=t.firstCreatePass?em(t):null,u=e[se],f=tm(e),d=!0;if(r.type&3||s){let _=Dn(r,e),v=s?s(_):_,x=f.length,I=s?L=>s($e(L[r.index])):r.index,V=null;if(!s&&a&&(V=oI(t,e,i,r.index)),V!==null){let L=V.__ngLastListenerFn__||V;L.__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,d=!1}else{o=qf(r,e,u,o),iI(_,i,o);let L=n.listen(v,i,o);f.push(o,L),l&&l.push(i,I,x,x+1)}}else o=qf(r,e,u,o);if(d){let _=r.outputs?.[i],v=r.hostDirectiveOutputs?.[i];if(v&&v.length)for(let x=0;x<v.length;x+=2){let I=v[x],V=v[x+1];$f(r,t,e,I,V,i,o,f,l)}if(_&&_.length)for(let x of _)$f(r,t,e,x,i,i,o,f,l)}}function $f(t,e,n,r,i,o,s,a,l){let u=n[r],f=e.data[r].outputs[i],d=u[f].subscribe(s),_=a.length;a.push(s,d),l&&l.push(o,t.index,_,-(_+1))}function zf(t,e,n,r){let i=Tt(null);try{return zt(6,e,n),n(r)!==!1}catch(o){return c_(t,o),!1}finally{zt(7,e,n),Tt(i)}}function qf(t,e,n,r){return function i(o){if(o===Function)return r;let s=_i(t)?Xe(t.index,e):e;eh(s,5);let a=zf(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=zf(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function ct(t=1){return u1(t)}function Rn(t,e,n){return xi(t,"",e,"",n),Rn}function xi(t,e,n,r,i){let o=xt(),s=$_(o,e,n,r);if(s!==Wn){let a=pe(),l=Nu();l_(a,l,o,t,s,o[ye],i,!1)}return xi}function As(t,e,n){tC(t,e,n)}function Ls(t){let e=xt(),n=pe(),r=sm();Ou(r+1);let i=ih(n,r);if(t.dirty&&qw(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=rC(e,r);t.reset(o,$1),t.notifyOnChanges()}return!0}return!1}function Ms(){return XS(xt(),sm())}function ah(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function or(t){let e=im();return ia(e,ie+t)}function le(t,e=""){let n=xt(),r=pe(),i=t+ie,o=r.firstCreatePass?Eo(r,i,1,e,null):r.data[i],s=aI(r,n,o,e,t);n[i]=s,aa()&&ma(r,n,s,o),hr(o,!1)}var aI=(t,e,n,r,i)=>(la(!0),cx(e[ye],r));function Sa(t){return On("",t,""),Sa}function On(t,e,n){let r=xt(),i=$_(r,t,e,n);return i!==Wn&&lI(r,fr(),i),On}function lI(t,e,n){let r=Jg(e,t);ux(t[ye],r,n)}var W_={};function Si(t){let e=pe(),n=xt(),r=t+ie,i=Eo(e,r,128,null,null);return hr(i,!1),ah(e,n,r,W_),Si}function oi(t){Br("NgLet");let e=pe(),n=xt(),r=fr();return ah(e,n,r,t),t}function In(t){let e=im(),n=ia(e,ie+t);if(n===W_)throw new Pt(314,!1);return n}function cI(t,e,n){let r=pe();if(r.firstCreatePass){let i=Tn(t);fc(n,r.data,r.blueprint,i,!0),fc(e,r.data,r.blueprint,i,!1)}}function fc(t,e,n,r,i){if(t=Re(t),Array.isArray(t))for(let o=0;o<t.length;o++)fc(t[o],e,n,r,i);else{let o=pe(),s=xt(),a=qe(),l=li(t)?t:Re(t.provide),u=Fg(t),f=a.providerIndexes&1048575,d=a.directiveStart,_=a.providerIndexes>>20;if(li(t)||!t.multi){let v=new yo(u,i,Ee),x=cl(l,e,i?f:f+_,d);x===-1?(Zl(Is(a,s),o,l),ll(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(v),s.push(v)):(n[x]=v,s[x]=v)}else{let v=cl(l,e,f+_,d),x=cl(l,e,f,f+_),I=v>=0&&n[v],V=x>=0&&n[x];if(i&&!V||!i&&!I){Zl(Is(a,s),o,l);let L=fI(i?hI:uI,n.length,i,r,u);!i&&V&&(n[x].providerFactory=L),ll(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(L),s.push(L)}else{let L=Z_(n[i?x:v],u,!i&&r);ll(o,t,v>-1?v:x,L)}!i&&r&&V&&n[x].componentProviders++}}}function ll(t,e,n,r){let i=li(e),o=Nw(e);if(i||o){let s=(o?Re(e.useClass):e).prototype.ngOnDestroy;if(s){let a=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=a.indexOf(n);l===-1?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function Z_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function cl(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function uI(t,e,n,r){return dc(this.multi,[])}function hI(t,e,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ji(n,n[dt],this.providerFactory.index,r);o=a.slice(0,s),dc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],dc(i,o);return o}function dc(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function fI(t,e,n,r,i){let o=new yo(t,n,Ee);return o.multi=[],o.index=e,o.componentProviders=0,Z_(o,i,r&&!n),o}function dI(t,e=[]){return n=>{n.providersResolver=(r,i)=>cI(r,i?i(t):t,e)}}function pI(t,e,n,r){return K_(xt(),sa(),t,e,n,r)}function gI(t,e,n,r,i){return J_(xt(),sa(),t,e,n,r,i)}function Y_(t,e){let n=t[e];return n===Wn?void 0:n}function K_(t,e,n,r,i,o){let s=e+n;return Hn(t,s,i)?B_(t,s+1,o?r.call(o,i):r(i)):Y_(t,s+1)}function J_(t,e,n,r,i,o,s){let a=e+n;return _C(t,a,i,o)?B_(t,a+2,s?r.call(s,i,o):r(i,o)):Y_(t,a+2)}function ze(t,e){let n=pe(),r,i=t+ie;n.firstCreatePass?(r=mI(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=Ir(r.type,!0)),s,a=Ae(Ee);try{let l=Cs(!1),u=o();return Cs(l),ah(n,xt(),i,u),u}finally{Ae(a)}}function mI(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Qe(t,e,n){let r=t+ie,i=xt(),o=ia(i,r);return X_(i,r)?K_(i,sa(),e,o.transform,n,o):o.transform(n)}function _I(t,e,n,r){let i=t+ie,o=xt(),s=ia(o,i);return X_(o,i)?J_(o,sa(),e,s.transform,n,r,s):s.transform(n,r)}function X_(t,e){return t[dt].data[e].pure}function yI(t,e){return va(t,e)}var vI=class{full;major;minor;patch;constructor(t){this.full=t;let e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Gf=new vI("19.2.0"),bI=(()=>{class t{zone=P(Wt);changeDetectionScheduler=P(yi);applicationRef=P(cr);_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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wI({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Wt(Zt(j({},EI()),{scheduleInRootZone:n})),[{provide:Wt,useFactory:t},{provide:_s,multi:!0,useFactory:()=>{let r=P(bI,{optional:!0});return()=>r.initialize()}},{provide:_s,multi:!0,useFactory:()=>{let r=P(xI);return()=>{r.initialize()}}},e===!0?{provide:Im,useValue:!0}:[],{provide:Mu,useValue:n??Cm}]}function EI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var xI=(()=>{class t{subscription=new me;initialized=!1;zone=P(Wt);pendingTasks=P(ca);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(()=>{Wt.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Wt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Q_=(()=>{class t{appRef=P(cr);taskService=P(ca);ngZone=P(Wt);zonelessEnabled=P(Lu);tracing=P(vo,{optional:!0});disableScheduling=P(Im,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Os):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(Mu,{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 Om||!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?yf:Tm;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(Os+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,yf(()=>{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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function SI(){return Br("NgZoneless"),Iw([{provide:yi,useExisting:Q_},{provide:Wt,useClass:Om},{provide:Lu,useValue:!0},{provide:Mu,useValue:!1},[]])}function CI(){return typeof $localize<"u"&&$localize.locale||ks}var ty=new St("",{providedIn:"root",factory:()=>P(ty,Ot.Optional|Ot.SkipSelf)||CI()}),pc=new St(""),II=new St("");function Oi(t){return!t.moduleRef}function TI(t){let e=Oi(t)?t.r3Injector:t.moduleRef.injector,n=e.get(Wt);return n.run(()=>{Oi(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(vi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Oi(t)){let o=()=>e.destroy(),s=t.platformInjector.get(pc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(pc);s.add(o),t.moduleRef.onDestroy(()=>{is(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return DI(r,n,()=>{let o=e.get(H_);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(ty,ks);if(rI(s||ks),!e.get(II,!0))return Oi(t)?e.get(cr):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Oi(t)){let a=e.get(cr);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return OI(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function OI(t,e){let n=t.injector.get(cr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new Pt(-403,!1);e.push(t)}function DI(t,e,n){try{let r=n();return U_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var os=null;function RI(t=[],e){return Ne.create({name:e,providers:[{provide:bu,useValue:"platform"},{provide:pc,useValue:new Set([()=>os=null])},...t]})}function NI(t=[]){if(os)return os;let e=RI(t);return os=e,TC(),PI(e),e}function PI(t){let e=t.get(jm,null);Bg(t,()=>{e?.forEach(n=>n())})}var Co=(()=>{class t{static __NG_ELEMENT_ID__=kI}return t})();function kI(t){return AI(qe(),xt(),(t&16)===16)}function AI(t,e,n){if(_i(t)&&!n){let r=Xe(t.index,e);return new to(r,r)}else if(t.type&175){let r=e[gn];return new to(r,e)}return null}function LI(t){zt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=NI(r),o=[wI({}),{provide:yi,useExisting:Q_},...n||[]],s=new V_({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return TI({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{zt(9)}}function MI(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function VI(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function jI(t){let e=Tt(null);try{return t()}finally{Tt(e)}}var KA=class{[nr];constructor(t){this[nr]=t}destroy(){this[nr].destroy()}};function ey(t,e){let n=Or(t),r=e.elementInjector||na();return new rh(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}var FI={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function BI(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function UI(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var ul;function HI(t,e){if(!ul){let n=Element.prototype;ul=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?ul.call(t,e):!1}function $I(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[BI(r)]=[n,i]}),e}function zI(t,e){return e.get(xo).resolveComponentFactory(t).inputs}function qI(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],l=GI(a,e,i);l!==-1&&r[l].push(a)}return r}function GI(t,e,n){let r=n;return UI(t)&&e.some((i,o)=>i!=="*"&&HI(t,i)?(r=o,!0):!1),r}var WI=10,ZI=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(xo).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new YI(this.componentFactory,t,this.inputMap)}},YI=class{componentFactory;injector;inputMap;eventEmitters=new fb(1);events=this.eventEmitters.pipe(bg(t=>ta(...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(Wt),this.appRef=this.injector.get(cr),this.cdScheduler=e.get(yi),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=FI.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},WI))})}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=Ne.create({providers:[],parent:this.injector}),n=qI(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 _e(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()}},KI=class extends HTMLElement{ngElementEventsSubscription=null};function JI(t,e){let n=zI(t,e.injector),r=e.strategyFactory||new ZI(t,e.injector),i=$I(n);class o extends KI{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let f=this[l];delete this[l],a.setInputValue(l,f,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,f){let[d,_]=i[a];this.ngElementStrategy.setInputValue(d,u,_)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var ny=null;function Ui(){return ny}function XI(t){ny??=t}var QI=class{},Xt=new St(""),ry=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(tT),providedIn:"platform"})}return t})(),tT=(()=>{class t extends ry{_location;_history;_doc=P(Xt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ui().getBaseHref(this._doc)}onPopState(n){let r=Ui().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ui().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function iy(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function Wf(t){let e=t.search(/#|\?|$/);return t[e-1]==="/"?t.slice(0,e-1)+t.slice(e):t}function Er(t){return t&&t[0]!=="?"?`?${t}`:t}var lh=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(nT),providedIn:"root"})}return t})(),eT=new St(""),nT=(()=>{class t extends lh{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(Xt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return iy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Er(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Er(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Er(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(n){return new(n||t)(jt(ry),jt(eT,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oy=(()=>{class t{_subject=new yt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=oT(Wf(Zf(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Er(r))}normalize(n){return t.stripTrailingSlash(iT(this._basePath,Zf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Er(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Er(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Er;static joinWithSlash=iy;static stripTrailingSlash=Wf;static \u0275fac=function(n){return new(n||t)(jt(lh))};static \u0275prov=pt({token:t,factory:()=>rT(),providedIn:"root"})}return t})();function rT(){return new oy(jt(lh))}function iT(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Zf(t){return t.replace(/\/index.html$/,"")}function oT(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function sT(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 hl=/\s+/,Yf=[],sy=(()=>{class t{_ngEl;_renderer;initialClasses=Yf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(hl):Yf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(hl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(hl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(Ee(Ve),Ee(I_))};static \u0275dir=ba({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),aT=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(n){return new(n||t)(Ee(wi))};static \u0275dir=ba({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gg]})}return t})(),ay="browser",lT="server";function cT(t){return t===ay}function ly(t){return t===lT}var uT=class{},hT=class extends QI{supportsDOMEvents=!0},fT=class cy extends hT{static makeCurrent(){XI(new cy)}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=dT();return n==null?null:pT(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return sT(document.cookie,e)}},Mi=null;function dT(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}function pT(t){return new URL(t,document.baseURI).pathname}var gT=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),gc=new St(""),uy=(()=>{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 Pt(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(jt(gc),jt(Wt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),hy=class{_doc;constructor(t){this._doc=t}manager},ss="ng-app-id";function Kf(t){for(let e of t)e.remove()}function Jf(t,e){let n=e.createElement("style");return n.textContent=t,n}function mT(t,e,n,r){let i=t.head?.querySelectorAll(`style[${ss}="${e}"],link[${ss}="${e}"]`);if(i)for(let o of i)o.removeAttribute(ss),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 mc(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var fy=(()=>{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=ly(o),mT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Jf);r?.forEach(i=>this.addUsage(i,this.external,mc))}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&&(Kf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Kf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Jf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,mc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ss,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(jt(Xt),jt(Bu),jt(Fm,8),jt(ua))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),fl={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"},ch=/%COMP%/g,dy="%COMP%",_T=`_nghost-${dy}`,yT=`_ngcontent-${dy}`,vT=!0,bT=new St("",{providedIn:"root",factory:()=>vT});function wT(t){return yT.replace(ch,t)}function ET(t){return _T.replace(ch,t)}function py(t,e){return e.map(n=>n.replace(ch,t))}var Xf=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,f=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.tracingService=f,this.platformIsServer=ly(a),this.defaultRenderer=new uh(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===An.ShadowDom&&(r=Zt(j({},r),{encapsulation:An.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof td?i.applyToHost(n):i instanceof _c&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,d=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case An.Emulated:o=new td(l,u,r,this.appId,f,s,a,d,_);break;case An.ShadowDom:return new xT(l,u,n,r,s,a,this.nonce,d,_);default:o=new _c(l,u,r,f,s,a,d,_);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)(jt(uy),jt(fy),jt(Bu),jt(bT),jt(Xt),jt(ua),jt(Wt),jt(Fm),jt(vo,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),uh=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(fl[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Qf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Qf(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 Pt(-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=fl[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=fl[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&(wr.DashCase|wr.Important)?t.style.setProperty(e,n,r&wr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&wr.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=Ui().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 Qf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xT=class extends uh{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,l){super(t,i,o,a,l),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=py(r.id,u);for(let d of u){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=d,this.shadowRoot.appendChild(_)}let f=r.getExternalStyles?.();if(f)for(let d of f){let _=mc(d,i);s&&_.setAttribute("nonce",s),this.shadowRoot.appendChild(_)}}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)}},_c=class extends uh{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,l){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?py(l,u):u,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},td=class extends _c{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(t,e,n,i,o,s,a,l,u),this.contentAttr=wT(u),this.hostAttr=ET(u)}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}},ST=(()=>{class t extends hy{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)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),ed=["alt","control","meta","shift"],CT={"\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"},IT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},TT=(()=>{class t extends hy{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(()=>Ui().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."),ed.forEach(u=>{let f=r.indexOf(u);f>-1&&(r.splice(f,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=CT[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"),ed.forEach(s=>{if(s!==i){let a=IT[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)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})();function OT(t){return LI(DT(t))}function DT(t){return{appProviders:[...AT,...t?.providers??[]],platformProviders:kT}}function RT(){fT.makeCurrent()}function NT(){return new vi}function PT(){return rE(document),document}var kT=[{provide:ua,useValue:ay},{provide:jm,useValue:RT,multi:!0},{provide:Xt,useFactory:PT,deps:[]}],AT=[{provide:bu,useValue:"root"},{provide:vi,useFactory:NT,deps:[]},{provide:gc,useClass:ST,multi:!0,deps:[Xt]},{provide:gc,useClass:TT,multi:!0,deps:[Xt]},Xf,fy,uy,{provide:vn,useExisting:Xf},{provide:uT,useClass:gT,deps:[]},[]],gy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=jt(LT),r},providedIn:"root"})}return t})(),LT=(()=>{class t extends gy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case kn.NONE:return r;case kn.HTML:return vr(r,"HTML")?er(r):Xm(this._doc,String(r)).toString();case kn.STYLE:return vr(r,"Style")?er(r):r;case kn.SCRIPT:if(vr(r,"Script"))return er(r);throw new Pt(5200,!1);case kn.URL:return vr(r,"URL")?er(r):$u(String(r));case kn.RESOURCE_URL:if(vr(r,"ResourceURL"))return er(r);throw new Pt(5201,!1);default:throw new Pt(5202,!1)}}bypassSecurityTrustHtml(n){return xE(n)}bypassSecurityTrustStyle(n){return SE(n)}bypassSecurityTrustScript(n){return CE(n)}bypassSecurityTrustUrl(n){return IE(n)}bypassSecurityTrustResourceUrl(n){return TE(n)}static \u0275fac=function(n){return new(n||t)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MT="9.10.2",be=class yc{static SDK_VERSION=MT;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_EXPERIMENT_START="CE Experiment Start";static EVENT_VIDEO_DIALOG_CLOSED="CE Video Dialog Closed";static EVENT_VIDEO_DIALOG_OPENED="CE Video Dialog Opened";static EVENT_VIDEO_CHANGE="CE Video Changed";static EVENT_LAST_VIDEO_ENDED="CE Last Video Ended";static EVENT_VIDEO_MUTED="CE Video Muted";static EVENT_VIDEO_UNMUTED="CE Video Unmuted";static EVENT_ADD_TO_CART_CLICKED="CE Add To Cart Clicked";static EVENT_VIEW_ITEM_CLICKED="CE View Item Clicked";static EVENT_MORE_ITEM_INFO_CLICKED="CE More Item Info Clicked";static EVENT_OPEN_CART_CLICKED="CE Open Cart Clicked";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 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=yc.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");yc.SDK_VERSION_CODE=parseInt(e,10)}},oo={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${be.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${be.SDK_VERSION}/dist/widget.min.js`},Ke=en(D0()),Be=class{static log(...t){Ke.default.info(...t)}static debug(...t){Ke.default.debug(...t)}static error(...t){Ke.default.error(...t)}static warn(...t){Ke.default.warn(...t)}static info(...t){Ke.default.info(...t)}static trace(...t){Ke.default.trace(...t)}};function VT(t=be.LOG_PREFIX){Ke.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${be.SDK_VERSION}):`)}});let e=jT();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Ke.default.setLevel(Ke.default[localStorage.cooeeLogLevel]):Ke.default.setLevel(oo.debug?Ke.default.TRACE:Ke.default.OFF)}function jT(){return new URL(location.href).searchParams?.get("cooee-debug")}var Fo=en(Vp()),FT={providers:[SI()]},dl=en(uo()),JA=en(R0()),my=class{gaEnabled;gaMeasurementID;pixelPush;website;currencyCount;money;storefrontToken;skipItemAttribute;currency;static get(){return window.CooeeSDK.config}update(t){return t??={},this.gaEnabled=t.gaEnabled,this.gaMeasurementID=t.gaMeasurementID,this.pixelPush=t.pixelPush,this.website=t.website??{},this.currencyCount=t.currencyCount??0,this.money=t.money,this.currency=t.currency,this.storefrontToken=t.storefrontToken,this.skipItemAttribute=t.skipItemAttribute,this}},_y=Object.prototype.toString;function hh(t){switch(_y.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ar(t,Error)}}function Ci(t,e){return _y.call(t)===`[object ${e}]`}function yy(t){return Ci(t,"ErrorEvent")}function nd(t){return Ci(t,"DOMError")}function BT(t){return Ci(t,"DOMException")}function Vn(t){return Ci(t,"String")}function fh(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function dh(t){return t===null||fh(t)||typeof t!="object"&&typeof t!="function"}function fi(t){return Ci(t,"Object")}function Ca(t){return typeof Event<"u"&&Ar(t,Event)}function UT(t){return typeof Element<"u"&&Ar(t,Element)}function HT(t){return Ci(t,"RegExp")}function Ia(t){return!!(t&&t.then&&typeof t.then=="function")}function $T(t){return fi(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Ar(t,e){try{return t instanceof e}catch{return!1}}function vy(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function si(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function rd(t,e){if(!Array.isArray(t))return"";let n=[];for(let r=0;r<t.length;r++){let i=t[r];try{vy(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function zT(t,e,n=!1){return Vn(t)?HT(e)?e.test(t):Vn(e)?n?t===e:t.includes(e):!1:!1}function Ta(t,e=[],n=!1){return e.some(r=>zT(t,r,n))}function qT(t,e,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!Ar(s.originalException,Error))return;let a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=GT(vc(t,e,i,s.originalException,r,o.exception.values,a,0),n))}function vc(t,e,n,r,i,o,s,a){if(o.length>=n+1)return o;let l=[...o];if(Ar(r[i],Error)){id(s,a);let u=t(e,r[i]),f=l.length;od(u,i,f,a),l=vc(t,e,n,r[i],i,[u,...l],u,f)}return Array.isArray(r.errors)&&r.errors.forEach((u,f)=>{if(Ar(u,Error)){id(s,a);let d=t(e,u),_=l.length;od(d,`errors[${f}]`,_,a),l=vc(t,e,n,u,i,[d,...l],d,_)}}),l}function id(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Zt(j(j({},t.mechanism),t.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:e})}function od(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Zt(j({},t.mechanism),{type:"chained",source:e,exception_id:n,parent_id:r})}function GT(t,e){return t.map(n=>(n.value&&(n.value=si(n.value,e)),n))}var xr="8.18.0",Bt=globalThis;function ph(t,e,n){let r=n||Bt,i=r.__SENTRY__=r.__SENTRY__||{},o=i[xr]=i[xr]||{};return o[t]||(o[t]=e())}var gh=Bt,WT=80;function by(t,e={}){if(!t)return"<unknown>";try{let n=t,r=5,i=[],o=0,s=0,a=" > ",l=a.length,u,f=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||WT;for(;n&&o++<r&&(u=ZT(n,f),!(u==="html"||o>1&&s+i.length*l+u.length>=d));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function ZT(t,e){let n=t,r=[];if(!n||!n.tagName)return"";if(gh.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());let i=e&&e.length?e.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(i&&i.length)i.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);let s=n.className;if(s&&Vn(s)){let a=s.split(/\s+/);for(let l of a)r.push(`.${l}`)}}let o=["aria-label","type","name","title","alt"];for(let s of o){let a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function YT(){try{return gh.document.location.href}catch{return""}}function KT(t){if(!gh.HTMLElement)return null;let e=t,n=5;for(let r=0;r<n;r++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}var Io=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,JT="Sentry Logger ",bc=["debug","info","warn","error","log","assert","trace"],Vs={};function mh(t){if(!("console"in Bt))return t();let e=Bt.console,n={},r=Object.keys(Vs);r.forEach(i=>{let o=Vs[i];n[i]=e[i],e[i]=o});try{return t()}finally{r.forEach(i=>{e[i]=n[i]})}}function XT(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Io?bc.forEach(n=>{e[n]=(...r)=>{t&&mh(()=>{Bt.console[n](`${JT}[${n}]:`,...r)})}}):bc.forEach(n=>{e[n]=()=>{}}),e}var wt=XT(),QT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function tO(t){return t==="http"||t==="https"}function Oa(t,e=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=t;return`${a}://${l}${e&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function eO(t){let e=QT.exec(t);if(!e){mh(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[n,r,i="",o="",s="",a=""]=e.slice(1),l="",u=a,f=u.split("/");if(f.length>1&&(l=f.slice(0,-1).join("/"),u=f.pop()),u){let d=u.match(/^\d+/);d&&(u=d[0])}return wy({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function wy(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function nO(t){if(!Io)return!0;let{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(i=>t[i]?!1:(wt.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?tO(r)?e&&isNaN(parseInt(e,10))?(wt.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(wt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(wt.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function rO(t){let e=typeof t=="string"?eO(t):wy(t);if(!(!e||!nO(e)))return e}var En=class extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}};function xe(t,e,n){if(!(e in t))return;let r=t[e],i=n(r);typeof i=="function"&&Ey(i,r),t[e]=i}function Lr(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{Io&&wt.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function Ey(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,Lr(t,"__sentry_original__",e)}catch{}}function _h(t){return t.__sentry_original__}function iO(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function xy(t){if(hh(t))return j({message:t.message,name:t.name,stack:t.stack},ad(t));if(Ca(t)){let e=j({type:t.type,target:sd(t.target),currentTarget:sd(t.currentTarget)},ad(t));return typeof CustomEvent<"u"&&Ar(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function sd(t){try{return UT(t)?by(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function ad(t){if(typeof t=="object"&&t!==null){let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function oO(t,e=40){let n=Object.keys(xy(t));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return si(r,e);for(let i=n.length;i>0;i--){let o=n.slice(0,i).join(", ");if(!(o.length>e))return i===n.length?o:si(o,e)}return""}function ln(t){return wc(t,new Map)}function wc(t,e){if(sO(t)){let n=e.get(t);if(n!==void 0)return n;let r={};e.set(t,r);for(let i of Object.keys(t))typeof t[i]<"u"&&(r[i]=wc(t[i],e));return r}if(Array.isArray(t)){let n=e.get(t);if(n!==void 0)return n;let r=[];return e.set(t,r),t.forEach(i=>{r.push(wc(i,e))}),r}return t}function sO(t){if(!fi(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}var Mr="?",ld=/\(error: (.*)\)/,cd=/captureMessage|captureException/;function aO(...t){let e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{let o=[],s=n.split(`
16
+ `)}`}function Ir(t,e){return t.hasOwnProperty(ps)?t[ps]:null}function bw(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function ww(t){return t.flat(Number.POSITIVE_INFINITY)}function yu(t,e){t.forEach(n=>Array.isArray(n)?yu(n,e):e(n))}function Rg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ms(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ew(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 xw(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,Ew(t,r,e,n)),r}function Ya(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return Sw(t,e,1)}function Sw(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 Tr={},jn=[],_s=new St(""),Ng=new St("",-1),Pg=new St(""),kg=class{get(t,e=Wi){if(e===Wi){let n=new Error(`NullInjectorError: No provider for ${un(t)}!`);throw n.name="NullInjectorError",n}return e}};function Or(t){return t[sw]||null}function Ag(t){return t[aw]||null}function Lg(t){return t[Tg]||null}function Cw(t){let e=Or(t)||Ag(t)||Lg(t);return e!==null&&e.standalone}function Iw(t){return{\u0275providers:t}}function Tw(...t){return{\u0275providers:Mg(!0,t),\u0275fromNgModule:!0}}function Mg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return yu(e,s=>{let a=s;Ul(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Vg(i,o),n}function Vg(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];vu(i,o=>{e(o,r)})}}function Ul(t,e,n,r){if(t=Re(t),!t)return!1;let i=null,o=af(t),s=!o&&Or(t);if(!o&&!s){let l=t.ngModule;if(o=af(l),o)i=l;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 l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)Ul(u,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{yu(o.imports,f=>{Ul(f,e,n,r)&&(u||=[],u.push(f))})}finally{}u!==void 0&&Vg(u,e)}if(!a){let u=Ir(i)||(()=>new i);e({provide:i,useFactory:u,deps:jn},i),e({provide:Pg,useValue:i,multi:!0},i),e({provide:_s,useValue:()=>jt(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=t;vu(l,f=>{e(f,u)})}}else return!1;return i!==t&&t.providers!==void 0}function vu(t,e){for(let n of t)Ig(n)&&(n=n.\u0275providers),Array.isArray(n)?vu(n,e):e(n)}var Ow=Kt({provide:String,useValue:Kt});function jg(t){return t!==null&&typeof t=="object"&&Ow in t}function Dw(t){return!!(t&&t.useExisting)}function Rw(t){return!!(t&&t.useFactory)}function li(t){return typeof t=="function"}function Nw(t){return!!t.useClass}var bu=new St(""),ts={},Pw={},Ka;function na(){return Ka===void 0&&(Ka=new kg),Ka}var Fn=class{},wu=class extends Fn{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,$l(t,o=>this.processProvider(o)),this.records.set(Ng,Yr(void 0,this)),r.has("environment")&&this.records.set(Fn,Yr(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Pg,jn,Ot.Self))}destroy(){Ai(this),this._destroyed=!0;let t=Tt(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(),Tt(t)}}onDestroy(t){return Ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ai(this);let e=Jn(this),n=Ae(void 0),r;try{return t()}finally{Jn(e),Ae(n)}}get(t,e=Wi,n=Ot.Default){if(Ai(this),t.hasOwnProperty(cf))return t[cf](this);n=ea(n);let r,i=Jn(this),o=Ae(void 0);try{if(!(n&Ot.SkipSelf)){let a=this.records.get(t);if(a===void 0){let l=Vw(t)&&mu(t);l&&this.injectableDefInScope(l)?a=Yr(Hl(t),ts):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&Ot.Self?na():this.parent;return e=n&Ot.Optional&&e===Wi?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[gs]=s[gs]||[]).unshift(un(t)),i)throw s;return yw(s,t,"R3InjectorError",this.source)}else throw s}finally{Ae(o),Jn(i)}}resolveInjectorInitializers(){let t=Tt(null),e=Jn(this),n=Ae(void 0),r;try{let i=this.get(_s,jn,Ot.Self);for(let o of i)o()}finally{Jn(e),Ae(n),Tt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(un(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Re(t);let e=li(t)?t:Re(t&&t.provide),n=Aw(t);if(!li(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Yr(void 0,ts,!0),r.factory=()=>Bl(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=Tt(null);try{return e.value===ts&&(e.value=Pw,e.value=e.factory()),typeof e.value=="object"&&e.value&&Mw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Tt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Re(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 Hl(t){let e=mu(t),n=e!==null?e.factory:Ir(t);if(n!==null)return n;if(t instanceof St)throw new Pt(204,!1);if(t instanceof Function)return kw(t);throw new Pt(204,!1)}function kw(t){if(t.length>0)throw new Pt(204,!1);let e=iw(t);return e!==null?()=>e.factory(t):()=>new t}function Aw(t){if(jg(t))return Yr(void 0,t.useValue);{let e=Fg(t);return Yr(e,ts)}}function Fg(t,e,n){let r;if(li(t)){let i=Re(t);return Ir(i)||Hl(i)}else if(jg(t))r=()=>Re(t.useValue);else if(Rw(t))r=()=>t.useFactory(...Bl(t.deps||[]));else if(Dw(t))r=()=>jt(Re(t.useExisting));else{let i=Re(t&&(t.useClass||t.provide));if(Lw(t))r=()=>new i(...Bl(t.deps));else return Ir(i)||Hl(i)}return r}function Ai(t){if(t.destroyed)throw new Pt(205,!1)}function Yr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Lw(t){return!!t.deps}function Mw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Vw(t){return typeof t=="function"||typeof t=="object"&&t instanceof St}function $l(t,e){for(let n of t)Array.isArray(n)?$l(n,e):n&&Ig(n)?$l(n.\u0275providers,e):e(n)}function Bg(t,e){t instanceof wu&&Ai(t);let n,r=Jn(t),i=Ae(void 0);try{return e()}finally{Jn(r),Ae(i)}}function Ug(){return Og()!==void 0||gw()!=null}function Hg(t){if(!Ug())throw new Pt(-203,!1)}function jw(t){return typeof t=="function"}var zn=0,dt=1,mt=2,Ie=3,hn=4,yn=5,Zi=6,ys=7,se=8,Yi=9,Bn=10,ye=11,Ki=12,hf=13,mi=14,gn=15,Dr=16,Kr=17,Un=18,po=19,$g=20,ir=21,Ja=22,vs=23,Ue=24,ri=25,ie=26,zg=1,Rr=7,bs=8,ci=9,Ce=10;function Ln(t){return Array.isArray(t)&&typeof t[zg]=="object"}function qn(t){return Array.isArray(t)&&t[zg]===!0}function Eu(t){return(t.flags&4)!==0}function _i(t){return t.componentOffset>-1}function ra(t){return(t.flags&1)===1}function Tn(t){return!!t.template}function ws(t){return(t[mt]&512)!==0}function go(t){return(t[mt]&256)===256}var Fw=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function qg(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var Gg=(()=>{let t=()=>Wg;return t.ngInherit=!0,t})();function Wg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Uw),Bw}function Bw(){let t=Yg(this),e=t?.current;if(e){let n=t.previous;if(n===Tr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Uw(t,e,n,r,i){let o=this.declaredInputs[r],s=Yg(t)||Hw(t,{previous:Tr,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new Fw(u&&u.currentValue,n,l===Tr),qg(t,e,i,n)}var Zg="__ngSimpleChanges__";function Yg(t){return t[Zg]||null}function Hw(t,e){return t[Zg]=e}var $w=null,zt=function(t,e=null,n){$w?.(t,e,n)},Kg="svg",zw="math";function $e(t){for(;Array.isArray(t);)t=t[zn];return t}function Jg(t,e){return $e(e[t])}function Dn(t,e){return $e(e[t.index])}function xu(t,e){return t.data[e]}function ia(t,e){return t[e]}function Xe(t,e){let n=e[t];return Ln(n)?n:n[zn]}function qw(t){return(t[mt]&4)===4}function Su(t){return(t[mt]&128)===128}function Gw(t){return qn(t[Ie])}function ar(t,e){return e==null?null:t[e]}function Xg(t){t[Kr]=0}function Cu(t){t[mt]&1024||(t[mt]|=1024,Su(t)&&mo(t))}function Ww(t,e){for(;t>0;)e=e[mi],t--;return e}function oa(t){return!!(t[mt]&9216||t[Ue]?.dirty)}function zl(t){t[Bn].changeDetectionScheduler?.notify(8),t[mt]&64&&(t[mt]|=1024),oa(t)&&mo(t)}function mo(t){t[Bn].changeDetectionScheduler?.notify(0);let e=Nr(t);for(;e!==null&&!(e[mt]&8192||(e[mt]|=8192,!Su(e)));)e=Nr(e)}function Qg(t,e){if(go(t))throw new Pt(911,!1);t[ir]===null&&(t[ir]=[]),t[ir].push(e)}function Zw(t,e){if(t[ir]===null)return;let n=t[ir].indexOf(e);n!==-1&&t[ir].splice(n,1)}function Nr(t){let e=t[Ie];return qn(e)?e[Ie]:e}function tm(t){return t[ys]??=[]}function em(t){return t.cleanup??=[]}function Yw(t,e,n,r){let i=tm(e);i.push(n),t.firstCreatePass&&em(t).push(r,i.length-1)}var vt={lFrame:cm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ql=!1;function Kw(){return vt.lFrame.elementDepthCount}function Jw(){vt.lFrame.elementDepthCount++}function Xw(){vt.lFrame.elementDepthCount--}function Iu(){return vt.bindingsEnabled}function Qw(){return vt.skipHydrationRootTNode!==null}function t1(t){return vt.skipHydrationRootTNode===t}function e1(){vt.skipHydrationRootTNode=null}function xt(){return vt.lFrame.lView}function pe(){return vt.lFrame.tView}function fe(t){return vt.lFrame.contextLView=t,t[se]}function de(t){return vt.lFrame.contextLView=null,t}function qe(){let t=nm();for(;t!==null&&t.type===64;)t=t.parent;return t}function nm(){return vt.lFrame.currentTNode}function n1(){let t=vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function hr(t,e){let n=vt.lFrame;n.currentTNode=t,n.isParent=e}function Tu(){return vt.lFrame.isParent}function rm(){vt.lFrame.isParent=!1}function im(){return vt.lFrame.contextLView}function om(){return ql}function ff(t){let e=ql;return ql=t,e}function sa(){let t=vt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function r1(t){return vt.lFrame.bindingIndex=t}function _o(){return vt.lFrame.bindingIndex++}function i1(t){let e=vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function o1(){return vt.lFrame.inI18n}function s1(t,e){let n=vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,Gl(e)}function a1(){return vt.lFrame.currentDirectiveIndex}function Gl(t){vt.lFrame.currentDirectiveIndex=t}function l1(t){let e=vt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function sm(){return vt.lFrame.currentQueryIndex}function Ou(t){vt.lFrame.currentQueryIndex=t}function c1(t){let e=t[dt];return e.type===2?e.declTNode:e.type===1?t[yn]:null}function am(t,e,n){if(n&Ot.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&Ot.Host))&&(i=c1(o),!(i===null||(o=o[mi],i.type&10))););if(i===null)return!1;e=i,t=o}let r=vt.lFrame=lm();return r.currentTNode=e,r.lView=t,!0}function Du(t){let e=lm(),n=t[dt];vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function lm(){let t=vt.lFrame,e=t===null?null:t.child;return e===null?cm(t):e}function cm(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 um(){let t=vt.lFrame;return vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var hm=um;function Ru(){let t=um();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 u1(t){return(vt.lFrame.contextLView=Ww(t,vt.lFrame.contextLView))[se]}function fr(){return vt.lFrame.selectedIndex}function Pr(t){vt.lFrame.selectedIndex=t}function Nu(){let t=vt.lFrame;return xu(t.tView,t.selectedIndex)}function lr(){vt.lFrame.currentNamespace=Kg}function Es(){h1()}function h1(){vt.lFrame.currentNamespace=null}function f1(){return vt.lFrame.currentNamespace}var fm=!0;function aa(){return fm}function la(t){fm=t}function d1(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Wg(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 Pu(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:l,ngOnDestroy:u}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),l&&((t.viewHooks??=[]).push(n,l),(t.viewCheckHooks??=[]).push(n,l)),u!=null&&(t.destroyHooks??=[]).push(n,u)}}function es(t,e,n){dm(t,e,3,n)}function ns(t,e,n,r){(t[mt]&3)===n&&dm(t,e,n,r)}function Xa(t,e){let n=t[mt];(n&3)===e&&(n&=16383,n+=1,t[mt]=n)}function dm(t,e,n,r){let i=r!==void 0?t[Kr]&65535:0,o=r??-1,s=e.length-1,a=0;for(let l=i;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],r!=null&&a>=r)break}else e[l]<0&&(t[Kr]+=65536),(a<o||o==-1)&&(p1(t,n,e,l),t[Kr]=(t[Kr]&4294901760)+l+2),l++}function df(t,e){zt(4,t,e);let n=Tt(null);try{e.call(t)}finally{Tt(n),zt(5,t,e)}}function p1(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[mt]>>14<t[Kr]>>16&&(t[mt]&3)===e&&(t[mt]+=16384,df(a,o)):df(a,o)}var ii=-1,yo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function g1(t){return t instanceof yo}function m1(t){return(t.flags&8)!==0}function _1(t){return(t.flags&16)!==0}function y1(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];b1(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function v1(t){return t===3||t===4||t===6}function b1(t){return t.charCodeAt(0)===64}function ui(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?pf(t,n,i,null,e[++r]):pf(t,n,i,null,null))}}return t}function pf(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 Qa={},w1=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=ea(n);let r=this.injector.get(t,Qa,n);return r!==Qa||e===Qa?r:this.parentInjector.get(t,e,n)}};function pm(t){return t!==ii}function xs(t){return t&32767}function E1(t){return t>>16}function Ss(t,e){let n=E1(t),r=e;for(;n>0;)r=r[mi],n--;return r}var Wl=!0;function Cs(t){let e=Wl;return Wl=t,e}var x1=256,gm=x1-1,mm=5,S1=0,Sn={};function C1(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=S1++);let i=r&gm,o=1<<i;e.data[t+(i>>mm)]|=o}function Is(t,e){let n=_m(t,e);if(n!==-1)return n;let r=e[dt];r.firstCreatePass&&(t.injectorIndex=e.length,tl(r.data,t),tl(e,null),tl(r.blueprint,null));let i=ku(t,e),o=t.injectorIndex;if(pm(i)){let s=xs(i),a=Ss(i,e),l=a[dt].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function tl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _m(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ku(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=xm(i),r===null)return ii;if(n++,i=i[mi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ii}function Zl(t,e,n){C1(t,e,n)}function ym(t,e,n){if(n&Ot.Optional||t!==void 0)return t;_u(e,"NodeInjector")}function vm(t,e,n,r){if(n&Ot.Optional&&r===void 0&&(r=null),(n&(Ot.Self|Ot.Host))===0){let i=t[Yi],o=Ae(void 0);try{return i?i.get(e,r,n&Ot.Optional):Dg(e,r,n&Ot.Optional)}finally{Ae(o)}}return ym(r,e,n)}function bm(t,e,n,r=Ot.Default,i){if(t!==null){if(e[mt]&2048&&!(r&Ot.Self)){let s=D1(t,e,n,r,Sn);if(s!==Sn)return s}let o=wm(t,e,n,r,Sn);if(o!==Sn)return o}return vm(e,n,r,i)}function wm(t,e,n,r,i){let o=T1(n);if(typeof o=="function"){if(!am(e,t,r))return r&Ot.Host?ym(i,n,r):vm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Ot.Optional))_u(n);else return s}finally{hm()}}else if(typeof o=="number"){let s=null,a=_m(t,e),l=ii,u=r&Ot.Host?e[gn][yn]:null;for((a===-1||r&Ot.SkipSelf)&&(l=a===-1?ku(t,e):e[a+8],l===ii||!mf(r,!1)?a=-1:(s=e[dt],a=xs(l),e=Ss(l,e)));a!==-1;){let f=e[dt];if(gf(o,a,f.data)){let d=I1(a,e,n,s,r,u);if(d!==Sn)return d}l=e[a+8],l!==ii&&mf(r,e[dt].data[a+8]===u)&&gf(o,a,e)?(s=f,a=xs(l),e=Ss(l,e)):a=-1}}return i}function I1(t,e,n,r,i,o){let s=e[dt],a=s.data[t+8],l=r==null?_i(a)&&Wl:r!=s&&(a.type&3)!==0,u=i&Ot.Host&&o===a,f=rs(a,s,n,l,u);return f!==null?Ji(e,s,f,a):Sn}function rs(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,u=t.directiveEnd,f=o>>20,d=r?a:a+f,_=i?a+f:u;for(let v=d;v<_;v++){let x=s[v];if(v<l&&n===x||v>=l&&x.type===n)return v}if(i){let v=s[l];if(v&&Tn(v)&&v.type===n)return l}return null}function Ji(t,e,n,r){let i=t[n],o=e.data;if(g1(i)){let s=i;s.resolving&&cw(lw(o[n]));let a=Cs(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Ae(s.injectImpl):null,f=am(t,r,Ot.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&d1(n,o[n],e)}finally{u!==null&&Ae(u),Cs(a),s.resolving=!1,hm()}}return i}function T1(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Fi)?t[Fi]:void 0;return typeof e=="number"?e>=0?e&gm:O1:e}function gf(t,e,n){let r=1<<t;return!!(n[e+(t>>mm)]&r)}function mf(t,e){return!(t&Ot.Self)&&!(t&Ot.Host&&e)}var Bi=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return bm(this._tNode,this._lView,t,ea(n),e)}};function O1(){return new Bi(qe(),xt())}function Em(t){return gu(()=>{let e=t.prototype.constructor,n=e[ps]||Yl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ps]||Yl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Yl(t){return xg(t)?()=>{let e=Yl(Re(t));return e&&e()}:Ir(t)}function D1(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[mt]&2048&&!ws(s);){let a=wm(o,s,n,r|Ot.Self,Sn);if(a!==Sn)return a;let l=o.parent;if(!l){let u=s[$g];if(u){let f=u.get(n,Sn,r);if(f!==Sn)return f}l=xm(s),s=s[mi]}o=l}return i}function xm(t){let e=t[dt],n=e.type;return n===2?e.declTNode:n===1?t[yn]:null}function _f(t,e=null,n=null,r){let i=R1(t,e,n,r);return i.resolveInjectorInitializers(),i}function R1(t,e=null,n=null,r,i=new Set){let o=[n||jn,Tw(t)];return r=r||(typeof t=="object"?void 0:un(t)),new wu(o,e||na(),r||null,i)}var Ne=class Sm{static THROW_IF_NOT_FOUND=Wi;static NULL=new kg;static create(e,n){if(Array.isArray(e))return _f({name:""},n,e,"");{let r=e.name??"";return _f({name:r},e.parent,e.providers,r)}}static \u0275prov=pt({token:Sm,providedIn:"any",factory:()=>jt(Ng)});static __NG_ELEMENT_ID__=-1},N1=new St("");N1.__NG_ELEMENT_ID__=t=>{let e=qe();if(e===null)throw new Pt(204,!1);if(e.type&2)return e.value;if(t&Ot.Optional)return null;throw new Pt(204,!1)};var Cm=!1,Au=(()=>{class t{static __NG_ELEMENT_ID__=k1;static __NG_ENV_ID__=n=>n}return t})(),P1=class extends Au{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Qg(this._lView,t),()=>Zw(this._lView,t)}};function k1(){return new P1(xt())}var yi=class{},Lu=new St("",{providedIn:"root",factory:()=>!1}),Im=new St(""),Mu=new St(""),ca=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new lu(!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=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),A1=class extends yt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ug()&&(this.destroyRef=P(Au,{optional:!0})??void 0,this.pendingTasks=P(ca,{optional:!0})??void 0)}emit(t){let e=Tt(null);try{super.next(t)}finally{Tt(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 me&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Jt=A1;function Ts(...t){}function Tm(t){let e,n;function r(){t=Ts;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 yf(t){return queueMicrotask(()=>t()),()=>{t=Ts}}var Vu="isAngularZone",Os=Vu+"_ID",L1=0,Wt=class Kl{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Jt(!1);onMicrotaskEmpty=new Jt(!1);onStable=new Jt(!1);onError=new Jt(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Cm}=e;if(typeof Zone>"u")throw new Pt(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,j1(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vu)===!0}static assertInAngularZone(){if(!Kl.isInAngularZone())throw new Pt(909,!1)}static assertNotInAngularZone(){if(Kl.isInAngularZone())throw new Pt(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,M1,Ts,Ts);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)}},M1={};function ju(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 V1(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Tm(()=>{t.callbackScheduled=!1,Jl(t),t.isCheckStableRunning=!0,ju(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Jl(t)}function j1(t){let e=()=>{V1(t)},n=L1++;t._inner=t._inner.fork({name:"angular",properties:{[Vu]:!0,[Os]:n,[Os+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(F1(l))return r.invokeTask(o,s,a,l);try{return vf(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),bf(t)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return vf(t),r.invoke(o,s,a,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!B1(l)&&e(),bf(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Jl(t),ju(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 Jl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function vf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bf(t){t._nesting--,ju(t)}var Om=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Jt;onMicrotaskEmpty=new Jt;onStable=new Jt;onError=new Jt;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 F1(t){return Dm(t,"__ignore_ng_zone__")}function B1(t){return Dm(t,"__scheduler_tick__")}function Dm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var vi=class{_console=console;handleError(t){this._console.error("ERROR",t)}},U1=new St("",{providedIn:"root",factory:()=>{let t=P(Wt),e=P(vi);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function H1(){return bi(qe(),xt())}function bi(t,e){return new Ve(Dn(t,e))}var Ve=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=H1}return t})();function $1(t){return t instanceof Ve?t.nativeElement:t}function Mn(t,e){let n=Z0(t),r=n[nr];return e?.equal&&(r.equal=e.equal),n.set=i=>Zp(r,i),n.update=i=>Y0(r,i),n.asReadonly=z1.bind(n),n}function z1(){let t=this[nr];if(t.readonlyFn===void 0){let e=()=>this();e[nr]=t,t.readonlyFn=e}return t.readonlyFn}function q1(){return this._results[Symbol.iterator]()}var G1=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new yt}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let n=ww(t);(this._changesDetected=!bw(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=q1};function Rm(t){return(t.flags&128)===128}var Nm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Nm||{}),Fu=new Map,W1=0;function Z1(){return W1++}function Y1(t){Fu.set(t[po],t)}function Pm(t){return Fu.get(t)||null}function Xl(t){Fu.delete(t[po])}var K1=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Pm(this.lViewId)}constructor(t,e,n){this.lViewId=t,this.nodeIndex=e,this.native=n}};function J1(t){let e=el(t);if(e){if(Ln(e)){let n=e,r,i,o;if(km(t)){if(r=tE(n,t),r==-1)throw new Error("The provided component was not found in the application");i=t}else if(X1(t)){if(r=eE(n,t),r==-1)throw new Error("The provided directive was not found in the application");o=nE(r,n)}else if(r=Ef(n,t),r==-1)return null;let s=$e(n[r]),a=el(s),l=a&&!Array.isArray(a)?a:wf(n,r,s);if(i&&l.component===void 0&&(l.component=i,Cn(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)Cn(o[u],l)}Cn(l.native,l),e=l}}else{let n=t,r=n;for(;r=r.parentNode;){let i=el(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=Ef(o,n);if(s>=0){let a=$e(o[s]),l=wf(o,s,a);Cn(a,l),e=l;break}}}}return e||null}function wf(t,e,n){return new K1(t[po],e,n)}var Ql="__ngContext__";function Cn(t,e){Ln(e)?(t[Ql]=e[po],Y1(e)):t[Ql]=e}function el(t){let e=t[Ql];return typeof e=="number"?Pm(e):e||null}function km(t){return t&&t.constructor&&t.constructor.\u0275cmp}function X1(t){return t&&t.constructor&&t.constructor.\u0275dir}function Ef(t,e){let n=t[dt];for(let r=ie;r<n.bindingStartIndex;r++)if($e(t[r])===e)return r;return-1}function Q1(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}function tE(t,e){let n=t[dt].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(Xe(i,t)[se]===e)return i}else if(Xe(ie,t)[se]===e)return ie;return-1}function eE(t,e){let n=t[dt].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(t[o]===e)return n.index;n=Q1(n)}return-1}function nE(t,e){let n=e[dt].data[t];if(n.directiveStart===0)return jn;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=e[i];km(o)||r.push(o)}return r}function Am(t){return Mm(t[Ki])}function Lm(t){return Mm(t[hn])}function Mm(t){for(;t!==null&&!qn(t);)t=t[hn];return t}var tc;function rE(t){tc=t}function Vm(){if(tc!==void 0)return tc;if(typeof document<"u")return document;throw new Pt(210,!1)}var Bu=new St("",{providedIn:"root",factory:()=>iE}),iE="ng",jm=new St(""),ua=new St("",{providedIn:"platform",factory:()=>"unknown"}),oE=new St(""),Fm=new St("",{providedIn:"root",factory:()=>Vm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),sE="h",aE="b",Bm=!1,lE=new St("",{providedIn:"root",factory:()=>Bm}),Uu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Uu||{}),vo=new St(""),xf=new Set;function Br(t){xf.has(t)||(xf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Um=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=cE}return t})();function cE(){return new Um(xt(),qe())}var Jr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Jr||{}),Hm=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),uE=[Jr.EarlyRead,Jr.Write,Jr.MixedReadWrite,Jr.Read],hE=(()=>{class t{ngZone=P(Wt);scheduler=P(yi);errorHandler=P(vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(vo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&zt(16),this.executing=!0;for(let r of uE)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&zt(17)}register(n){let{view:r}=n;r!==void 0?((r[ri]??=[]).push(n),mo(r),r[mt]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Uu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),fE=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,n,r,i,o=null){this.impl=t,this.hooks=e,this.view=n,this.once=r,this.snapshot=o,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[ri];t&&(this.view[ri]=t.filter(e=>e!==this))}};function $m(t,e){!e?.injector&&Hg($m);let n=e?.injector??P(Ne);return Br("NgAfterRender"),zm(t,n,e,!1)}function bo(t,e){!e?.injector&&Hg(bo);let n=e?.injector??P(Ne);return Br("NgAfterNextRender"),zm(t,n,e,!0)}function dE(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function zm(t,e,n,r){let i=e.get(Hm);i.impl??=e.get(hE);let o=e.get(vo,null,{optional:!0}),s=n?.phase??Jr.MixedReadWrite,a=n?.manualCleanup!==!0?e.get(Au):null,l=e.get(Um,null,{optional:!0}),u=new fE(i.impl,dE(t,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var pE=()=>null;function qm(t,e,n=!1){return pE(t,e,n)}function Gm(t,e){let n=t.contentQueries;if(n!==null){let r=Tt(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];Ou(o),a.contentQueries(2,e[s],s)}}}finally{Tt(r)}}}function ec(t,e,n){Ou(0);let r=Tt(null);try{e(t,n)}finally{Tt(r)}}function Hu(t,e,n){if(Eu(e)){let r=Tt(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 l=n[s];a.contentQueries(1,l,s)}}}finally{Tt(r)}}}var An=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(An||{}),Lo;function gE(){if(Lo===void 0&&(Lo=null,Gi.trustedTypes))try{Lo=Gi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Lo}function ha(t){return gE()?.createHTML(t)||t}var Mo;function mE(){if(Mo===void 0&&(Mo=null,Gi.trustedTypes))try{Mo=Gi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Mo}function Sf(t){return mE()?.createHTML(t)||t}var Ur=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wg})`}},_E=class extends Ur{getTypeName(){return"HTML"}},yE=class extends Ur{getTypeName(){return"Style"}},vE=class extends Ur{getTypeName(){return"Script"}},bE=class extends Ur{getTypeName(){return"URL"}},wE=class extends Ur{getTypeName(){return"ResourceURL"}};function er(t){return t instanceof Ur?t.changingThisBreaksApplicationSecurity:t}function vr(t,e){let n=EE(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${wg})`)}return n===e}function EE(t){return t instanceof Ur&&t.getTypeName()||null}function xE(t){return new _E(t)}function SE(t){return new yE(t)}function CE(t){return new vE(t)}function IE(t){return new bE(t)}function TE(t){return new wE(t)}function OE(t){let e=new RE(t);return NE()?new DE(e):e}var DE=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(ha(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},RE=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=ha(t),e}};function NE(){try{return!!new window.DOMParser().parseFromString(ha(""),"text/html")}catch{return!1}}var PE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $u(t){return t=String(t),t.match(PE)?t:"unsafe:"+t}function Gn(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function wo(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var Wm=Gn("area,br,col,hr,img,wbr"),Zm=Gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ym=Gn("rp,rt"),kE=wo(Ym,Zm),AE=wo(Zm,Gn("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")),LE=wo(Ym,Gn("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")),Cf=wo(Wm,AE,LE,kE),Km=Gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ME=Gn("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"),VE=Gn("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"),jE=wo(Km,ME,VE),FE=Gn("script,style,template"),BE=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=$E(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=HE(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=If(t).toLowerCase();if(!Cf.hasOwnProperty(e))return this.sanitizedSomething=!0,!FE.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(!jE.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;Km[s]&&(a=$u(a)),this.buf.push(" ",o,'="',Tf(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=If(t).toLowerCase();Cf.hasOwnProperty(e)&&!Wm.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Tf(t))}};function UE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function HE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Jm(e);return e}function $E(t){let e=t.firstChild;if(e&&UE(t,e))throw Jm(e);return e}function If(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Jm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var zE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qE=/([^\#-~ |!])/g;function Tf(t){return t.replace(/&/g,"&amp;").replace(zE,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Vo;function Xm(t,e){let n=null;try{Vo=Vo||OE(t);let r=e?String(e):"";n=Vo.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=Vo.getInertBodyElement(r)}while(r!==o);let s=new BE().sanitizeChildren(Of(n)||n);return ha(s)}finally{if(n){let r=Of(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Of(t){return"content"in t&&GE(t)?t.content:null}function GE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var kn=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}(kn||{});function Hr(t){let e=Qm();return e?Sf(e.sanitize(kn.HTML,t)||""):vr(t,"HTML")?Sf(er(t)):Xm(Vm(),ho(t))}function je(t){let e=Qm();return e?e.sanitize(kn.URL,t)||"":vr(t,"URL")?er(t):$u(ho(t))}function Qm(){let t=xt();return t&&t[Bn].sanitizer}var WE=/^>|^->|<!--|-->|--!>|<!-$/g,ZE=/(<|>)/g,YE="\u200B$1\u200B";function KE(t){return t.replace(WE,e=>e.replace(ZE,YE))}function JE(t){return t.ownerDocument.defaultView}function XE(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 t_="ng-template";function QE(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&XE(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(zu(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 zu(t){return t.type===4&&t.value!==t_}function tx(t,e,n){let r=t.type===4&&!n?t_:t.value;return e===r}function ex(t,e,n){let r=4,i=t.attrs,o=i!==null?ix(i):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!an(r)&&!an(l))return!1;if(s&&an(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!tx(t,l,n)||l===""&&e.length===1){if(an(r))return!1;s=!0}}else if(r&8){if(i===null||!QE(t,i,l,n)){if(an(r))return!1;s=!0}}else{let u=e[++a],f=nx(l,i,zu(t),n);if(f===-1){if(an(r))return!1;s=!0;continue}if(u!==""){let d;if(f>o?d="":d=i[f+1].toLowerCase(),r&2&&u!==d){if(an(r))return!1;s=!0}}}}return an(r)||s}function an(t){return(t&1)===0}function nx(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 ox(e,t)}function rx(t,e,n=!1){for(let r=0;r<e.length;r++)if(ex(t,e[r],n))return!0;return!1}function ix(t){for(let e=0;e<t.length;e++){let n=t[e];if(v1(n))return e}return t.length}function ox(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 Df(t,e){return t?":not("+e.trim()+")":e}function sx(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!==""&&!an(s)&&(e+=Df(o,i),i=""),r=s,o=o||!an(r);n++}return i!==""&&(e+=Df(o,i)),e}function ax(t){return t.map(sx).join(",")}function lx(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(!an(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Wn={};function cx(t,e){return t.createText(e)}function ux(t,e,n){t.setValue(e,n)}function hx(t,e){return t.createComment(KE(e))}function e_(t,e,n){return t.createElement(e,n)}function Ds(t,e,n,r,i){t.insertBefore(e,n,r,i)}function n_(t,e,n){t.appendChild(e,n)}function Rf(t,e,n,r,i){r!==null?Ds(t,e,n,r,i):n_(t,e,n)}function fx(t,e,n){t.removeChild(null,e,n)}function dx(t,e,n){t.setAttribute(e,"style",n)}function px(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function r_(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&y1(t,e,r),i!==null&&px(t,e,i),o!==null&&dx(t,e,o)}function qu(t,e,n,r,i,o,s,a,l,u,f){let d=ie+r,_=d+i,v=gx(d,_),x=typeof u=="function"?u():u;return v[dt]={type:t,blueprint:v,template:n,queries:null,viewQuery:a,declTNode:e,data:v.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:_,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:l,consts:x,incompleteFirstPass:!1,ssrId:f}}function gx(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Wn);return n}function mx(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=qu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Gu(t,e,n,r,i,o,s,a,l,u,f){let d=e.blueprint.slice();return d[zn]=i,d[mt]=r|4|128|8|64|1024,(u!==null||t&&t[mt]&2048)&&(d[mt]|=2048),Xg(d),d[Ie]=d[mi]=t,d[se]=n,d[Bn]=s||t&&t[Bn],d[ye]=a||t&&t[ye],d[Yi]=l||t&&t[Yi]||null,d[yn]=o,d[po]=Z1(),d[Zi]=f,d[$g]=u,d[gn]=e.type==2?t[gn]:d,d}function _x(t,e,n){let r=Dn(e,t),i=mx(n),o=t[Bn].rendererFactory,s=Wu(t,Gu(t,i,null,i_(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function i_(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function o_(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 Wu(t,e){return t[Ki]?t[hf][hn]=e:t[Ki]=e,t[hf]=e,e}function J(t=1){s_(pe(),xt(),fr()+t,!1)}function s_(t,e,n,r){if(!r)if((e[mt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&es(e,i,n)}else{let i=t.preOrderHooks;i!==null&&ns(e,i,0,n)}Pr(n)}var fa=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(fa||{});function nc(t,e,n,r){let i=Tt(null);try{let[o,s,a]=t.inputs[n],l=null;(s&fa.SignalBased)!==0&&(l=e[o][nr]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,l,r,n,o):qg(e,l,o,r)}finally{Tt(i)}}function a_(t,e,n,r,i){let o=fr(),s=r&2;try{Pr(-1),s&&e.length>ie&&s_(t,e,ie,!1),zt(s?2:0,i),n(r,i)}finally{Pr(o),zt(s?3:1,i)}}function da(t,e,n){xx(t,e,n),(n.flags&64)===64&&Sx(t,e,n)}function Zu(t,e,n=Dn){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 yx(t,e,n,r){let i=r.get(lE,Bm)||n===An.ShadowDom,o=t.selectRootElement(e,i);return vx(o),o}function vx(t){bx(t)}var bx=()=>null;function wx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function l_(t,e,n,r,i,o,s,a){if(!a&&Ku(e,t,n,r,i)){_i(e)&&Ex(n,e.index);return}if(e.type&3){let l=Dn(e,n);r=wx(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(l,r,i)}else e.type&12}function Ex(t,e){let n=Xe(e,t);n[mt]&16||(n[mt]|=64)}function xx(t,e,n){let r=n.directiveStart,i=n.directiveEnd;_i(n)&&_x(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Is(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=Ji(e,t,s,n);if(Cn(l,e),o!==null&&Ox(e,s-r,l,a,n,o),Tn(a)){let u=Xe(n.index,e);u[se]=Ji(e,t,s,n)}}}function Sx(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=a1();try{Pr(o);for(let a=r;a<i;a++){let l=t.data[a],u=e[a];Gl(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Cx(l,u)}}finally{Pr(-1),Gl(s)}}function Cx(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Yu(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];rx(e,o.selectors,!1)&&(r??=[],Tn(o)?r.unshift(o):r.push(o))}return r}function Ix(t,e,n,r,i,o){let s=Dn(t,e);Tx(e[ye],s,o,t.value,n,r,i)}function Tx(t,e,n,r,i,o,s){if(o==null)t.removeAttribute(e,i,n);else{let a=s==null?ho(o):s(o,r||"",i);t.setAttribute(e,i,a,n)}}function Ox(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];nc(r,n,l,u)}}function c_(t,e){let n=t[Yi],r=n?n.get(vi,null):null;r&&r.handleError(e)}function Ku(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],f=s[l+1],d=e.data[u];nc(d,n[u],f,i),a=!0}if(o)for(let l of o){let u=n[l],f=e.data[l];nc(f,u,r,i),a=!0}return a}function Dx(t,e){let n=Xe(e,t),r=n[dt];Rx(r,n);let i=n[zn];i!==null&&n[Zi]===null&&(n[Zi]=qm(i,n[Yi])),zt(18),Ju(r,n,n[se]),zt(19,n[se])}function Rx(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ju(t,e,n){Du(e);try{let r=t.viewQuery;r!==null&&ec(1,r,n);let i=t.template;i!==null&&a_(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Un]?.finishViewCreation(t),t.staticContentQueries&&Gm(t,e),t.staticViewQueries&&ec(2,t.viewQuery,n);let o=t.components;o!==null&&Nx(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[mt]&=-5,Ru()}}function Nx(t,e){for(let n=0;n<e.length;n++)Dx(t,e[n])}function pa(t,e,n,r){let i=Tt(null);try{let o=e.tView,s=t[mt]&4096?4096:16,a=Gu(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[e.index];a[Dr]=l;let u=t[Un];return u!==null&&(a[Un]=u.createEmbeddedView(o)),Ju(o,a,n),a}finally{Tt(i)}}function Xi(t,e){return!e||e.firstChild===null||Rm(t)}var Px;function Xu(t,e){return Px(t,e)}var wr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(wr||{});function u_(t){return(t.flags&32)===32}function Xr(t,e,n,r,i){if(r!=null){let o,s=!1;qn(r)?o=r:Ln(r)&&(s=!0,r=r[zn]);let a=$e(r);t===0&&n!==null?i==null?n_(e,n,a):Ds(e,n,a,i||null,!0):t===1&&n!==null?Ds(e,n,a,i||null,!0):t===2?fx(e,a,s):t===3&&e.destroyNode(a),o!=null&&zx(e,t,o,n,i)}}function kx(t,e){h_(t,e),e[zn]=null,e[yn]=null}function Ax(t,e,n,r,i,o){r[zn]=i,r[yn]=e,_a(t,r,n,1,i,o)}function h_(t,e){e[Bn].changeDetectionScheduler?.notify(9),_a(t,e,e[ye],2,null,null)}function Lx(t){let e=t[Ki];if(!e)return nl(t[dt],t);for(;e;){let n=null;if(Ln(e))n=e[Ki];else{let r=e[Ce];r&&(n=r)}if(!n){for(;e&&!e[hn]&&e!==t;)Ln(e)&&nl(e[dt],e),e=e[Ie];e===null&&(e=t),Ln(e)&&nl(e[dt],e),n=e&&e[hn]}e=n}}function Qu(t,e){let n=t[ci],r=n.indexOf(e);n.splice(r,1)}function ga(t,e){if(go(e))return;let n=e[ye];n.destroyNode&&_a(t,e,n,3,null,null),Lx(e)}function nl(t,e){if(go(e))return;let n=Tt(null);try{e[mt]&=-129,e[mt]|=256,e[Ue]&&Hp(e[Ue]),Vx(t,e),Mx(t,e),e[dt].type===1&&e[ye].destroy();let r=e[Dr];if(r!==null&&qn(e[Ie])){r!==e[Ie]&&Qu(r,e);let i=e[Un];i!==null&&i.detachView(t)}Xl(e)}finally{Tt(n)}}function Mx(t,e){let n=t.cleanup,r=e[ys];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[ys]=null);let i=e[ir];if(i!==null){e[ir]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[vs];if(o!==null){e[vs]=null;for(let s of o)s.destroy()}}function Vx(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 yo)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];zt(4,a,l);try{l.call(a)}finally{zt(5,a,l)}}else{zt(4,i,o);try{o.call(i)}finally{zt(5,i,o)}}}}}function jx(t,e,n){return Fx(t,e.parent,n)}function Fx(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[zn];if(_i(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===An.None||i===An.Emulated)return null}return Dn(r,n)}function Bx(t,e,n){return Hx(t,e,n)}function Ux(t,e,n){return t.type&40?Dn(t,n):null}var Hx=Ux,Nf;function ma(t,e,n,r){let i=jx(t,r,e),o=e[ye],s=r.parent||e[yn],a=Bx(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Rf(o,i,n[l],a,!1);else Rf(o,i,n,a,!1);Nf!==void 0&&Nf(o,r,e,n,i)}function Li(t,e){if(e!==null){let n=e.type;if(n&3)return Dn(e,t);if(n&4)return rc(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Li(t,r);{let i=t[e.index];return qn(i)?rc(-1,i):$e(i)}}else{if(n&128)return Li(t,e.next);if(n&32)return Xu(e,t)()||$e(t[e.index]);{let r=f_(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=Nr(t[gn]);return Li(i,r)}else return Li(t,e.next)}}}return null}function f_(t,e){if(e!==null){let n=t[gn][yn],r=e.projection;return n.projection[r]}return null}function rc(t,e){let n=Ce+t+1;if(n<e.length){let r=e[n],i=r[dt].firstChild;if(i!==null)return Li(r,i)}return e[Rr]}function th(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],l=n.type;if(s&&e===0&&(a&&Cn($e(a),r),n.flags|=2),!u_(n))if(l&8)th(t,e,n.child,r,i,o,!1),Xr(e,t,i,a,o);else if(l&32){let u=Xu(n,r),f;for(;f=u();)Xr(e,t,i,f,o);Xr(e,t,i,a,o)}else l&16?$x(t,e,r,n,i,o):Xr(e,t,i,a,o);n=s?n.projectionNext:n.next}}function _a(t,e,n,r,i,o){th(n,r,t.firstChild,e,i,o,!1)}function $x(t,e,n,r,i,o){let s=n[gn],a=s[yn].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];Xr(e,t,i,u,o)}else{let l=a,u=s[Ie];Rm(r)&&(l.flags|=128),th(t,e,l,u,i,o,!0)}}function zx(t,e,n,r,i){let o=n[Rr],s=$e(n);o!==s&&Xr(e,t,r,o,i);for(let a=Ce;a<n.length;a++){let l=n[a];_a(l[dt],l,t,e,r,o)}}function qx(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:wr.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=wr.Important),t.setStyle(n,r,i,o))}}function Rs(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($e(o)),qn(o)&&Gx(o,r);let s=n.type;if(s&8)Rs(t,e,n.child,r);else if(s&32){let a=Xu(n,e),l;for(;l=a();)r.push(l)}else if(s&16){let a=f_(e,n);if(Array.isArray(a))r.push(...a);else{let l=Nr(e[gn]);Rs(l[dt],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Gx(t,e){for(let n=Ce;n<t.length;n++){let r=t[n],i=r[dt].firstChild;i!==null&&Rs(r[dt],r,i,e)}t[Rr]!==t[zn]&&e.push(t[Rr])}function d_(t){if(t[ri]!==null){for(let e of t[ri])e.impl.addSequence(e);t[ri].length=0}}var p_=[];function Wx(t){return t[Ue]??Zx(t)}function Zx(t){let e=p_.pop()??Object.create(Kx);return e.lView=t,e}function Yx(t){t.lView[Ue]!==t&&(t.lView=null,p_.push(t))}var Kx=Zt(j({},iu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[Ue]=this}});function Jx(t){let e=t[Ue]??Object.create(Xx);return e.lView=t,e}var Xx=Zt(j({},iu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Nr(t.lView);for(;e&&!g_(e[dt]);)e=Nr(e);e&&Cu(e)},consumerOnSignalRead(){this.lView[Ue]=this}});function g_(t){return t.type!==2}function m_(t){if(t[vs]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[vs])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[mt]&8192)}}var Qx=100;function __(t,e=!0,n=0){let r=t[Bn].rendererFactory,i=!1;i||r.begin?.();try{tS(t,n)}catch(o){throw e&&c_(t,o),o}finally{i||r.end?.()}}function tS(t,e){let n=om();try{ff(!0),ic(t,e);let r=0;for(;oa(t);){if(r===Qx)throw new Pt(103,!1);r++,ic(t,1)}}finally{ff(n)}}function eS(t,e,n,r){if(go(e))return;let i=e[mt],o=!1,s=!1;Du(e);let a=!0,l=null,u=null;o||(g_(t)?(u=Wx(e),l=Jh(u)):F0()===null?(a=!1,u=Jx(e),l=Jh(u)):e[Ue]&&(Hp(e[Ue]),e[Ue]=null));try{Xg(e),r1(t.bindingStartIndex),n!==null&&a_(t,e,n,2,r);let f=(i&3)===3;if(!o)if(f){let v=t.preOrderCheckHooks;v!==null&&es(e,v,null)}else{let v=t.preOrderHooks;v!==null&&ns(e,v,0,null),Xa(e,0)}if(s||nS(e),m_(e),y_(e,0),t.contentQueries!==null&&Gm(t,e),!o)if(f){let v=t.contentCheckHooks;v!==null&&es(e,v)}else{let v=t.contentHooks;v!==null&&ns(e,v,1),Xa(e,1)}iS(t,e);let d=t.components;d!==null&&b_(e,d,0);let _=t.viewQuery;if(_!==null&&ec(2,_,r),!o)if(f){let v=t.viewCheckHooks;v!==null&&es(e,v)}else{let v=t.viewHooks;v!==null&&ns(e,v,2),Xa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ja]){for(let v of e[Ja])v();e[Ja]=null}o||(d_(e),e[mt]&=-73)}catch(f){throw o||mo(e),f}finally{u!==null&&(z0(u,l),a&&Yx(u)),Ru()}}function y_(t,e){for(let n=Am(t);n!==null;n=Lm(n))for(let r=Ce;r<n.length;r++){let i=n[r];v_(i,e)}}function nS(t){for(let e=Am(t);e!==null;e=Lm(e)){if(!(e[mt]&2))continue;let n=e[ci];for(let r=0;r<n.length;r++){let i=n[r];Cu(i)}}}function rS(t,e,n){zt(18);let r=Xe(e,t);v_(r,n),zt(19,r[se])}function v_(t,e){Su(t)&&ic(t,e)}function ic(t,e){let n=t[dt],r=t[mt],i=t[Ue],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&Up(i)),o||=!1,i&&(i.dirty=!1),t[mt]&=-9217,o)eS(n,t,n.template,t[se]);else if(r&8192){m_(t),y_(t,1);let s=n.components;s!==null&&b_(t,s,1),d_(t)}}function b_(t,e,n){for(let r=0;r<e.length;r++)rS(t,e[r],n)}function iS(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)Pr(~i);else{let o=i,s=n[++r],a=n[++r];s1(s,o);let l=e[o];zt(24,l),a(2,l),zt(25,l)}}}finally{Pr(-1)}}function eh(t,e){let n=om()?64:1088;for(t[Bn].changeDetectionScheduler?.notify(e);t;){t[mt]|=n;let r=Nr(t);if(ws(t)&&!r)return t;t=r}return null}function w_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function E_(t,e){let n=Ce+e;if(n<t.length)return t[n]}function ya(t,e,n,r=!0){let i=e[dt];if(oS(i,e,t,n),r){let s=rc(n,t),a=e[ye],l=a.parentNode(t[Rr]);l!==null&&Ax(i,t[yn],a,e,l,s)}let o=e[Zi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function x_(t,e){let n=Qi(t,e);return n!==void 0&&ga(n[dt],n),n}function Qi(t,e){if(t.length<=Ce)return;let n=Ce+e,r=t[n];if(r){let i=r[Dr];i!==null&&i!==t&&Qu(i,r),e>0&&(t[n-1][hn]=r[hn]);let o=ms(t,Ce+e);kx(r[dt],r);let s=o[Un];s!==null&&s.detachView(o[dt]),r[Ie]=null,r[hn]=null,r[mt]&=-129}return r}function oS(t,e,n,r){let i=Ce+r,o=n.length;r>0&&(n[i-1][hn]=e),r<o-Ce?(e[hn]=n[i],Rg(n,Ce+r,e)):(n.push(e),e[hn]=null),e[Ie]=n;let s=e[Dr];s!==null&&n!==s&&S_(s,e);let a=e[Un];a!==null&&a.insertView(t),zl(e),e[mt]|=128}function S_(t,e){let n=t[ci],r=e[Ie];if(Ln(r))t[mt]|=2;else{let i=r[Ie][gn];e[gn]!==i&&(t[mt]|=2)}n===null?t[ci]=[e]:n.push(e)}var to=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[dt];return Rs(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[se]}get dirty(){return!!(this._lView[mt]&9280)||!!this._lView[Ue]?.dirty}set context(t){this._lView[se]=t}get destroyed(){return go(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ie];if(qn(t)){let e=t[bs],n=e?e.indexOf(this):-1;n>-1&&(Qi(t,n),ms(e,n))}this._attachedToViewContainer=!1}ga(this._lView[dt],this._lView)}onDestroy(t){Qg(this._lView,t)}markForCheck(){eh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Cu(this._cdRefInjectingView||this._lView)}detach(){this._lView[mt]&=-129}reattach(){zl(this._lView),this._lView[mt]|=128}detectChanges(){this._lView[mt]|=1024,__(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Pt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ws(this._lView),e=this._lView[Dr];e!==null&&!t&&Qu(e,this._lView),h_(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Pt(902,!1);this._appRef=t;let e=ws(this._lView),n=this._lView[Dr];n!==null&&!e&&S_(n,this._lView),zl(this._lView)}},eo=(()=>{class t{static __NG_ELEMENT_ID__=lS}return t})(),sS=eo,aS=class extends sS{_declarationLView;_declarationTContainer;elementRef;constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){let r=pa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new to(r)}};function lS(){return va(qe(),xt())}function va(t,e){return t.type&4?new aS(e,t,bi(t,e)):null}function Eo(t,e,n,r,i){let o=t.data[e];if(o===null)o=cS(t,e,n,r,i),o1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=n1();o.injectorIndex=s===null?-1:s.injectorIndex}return hr(o,!0),o}function cS(t,e,n,r,i){let o=nm(),s=Tu(),a=s?o:o&&o.parent,l=t.data[e]=hS(t,a,n,e,r,i);return uS(t,l,o,s),l}function uS(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 hS(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return Qw()&&(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 YA=new RegExp(`^(\\d+)*(${aE}|${sE})*(.*)`),fS=()=>null;function no(t,e){return fS(t,e)}var dS=class{},C_=class{},pS=class{resolveComponentFactory(t){throw Error(`No component factory found for ${un(t)}.`)}},xo=class{static NULL=new pS},vn=class{},I_=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>gS()}return t})();function gS(){let t=xt(),e=qe(),n=Xe(e.index,t);return(Ln(n)?n:t)[ye]}var mS=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>null})}return t})();function oc(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=of(i,a);else if(o==2){let l=a,u=e[++s];r=of(r,l+": "+u+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function Ee(t,e=Ot.Default){let n=xt();if(n===null)return jt(t,e);let r=qe();return bm(r,n,Re(t),e)}function nh(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,l=null,u=null,f=yS(s);f===null?a=s:[a,l,u]=f,wS(t,e,n,a,o,l,u)}o!==null&&r!==null&&_S(n,r,o)}function _S(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 Pt(-301,!1);r.push(e[i],o)}}function yS(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Tn(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,vS(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 vS(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function bS(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function wS(t,e,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let v=r[_];!l&&Tn(v)&&(l=!0,bS(t,n,_)),Zl(Is(n,e),t,v.type)}TS(n,t.data.length,a);for(let _=0;_<a;_++){let v=r[_];v.providersResolver&&v.providersResolver(v)}let u=!1,f=!1,d=o_(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let v=r[_];if(n.mergedAttrs=ui(n.mergedAttrs,v.hostAttrs),xS(t,n,e,d,v),IS(d,v,i),s!==null&&s.has(v)){let[I,V]=s.get(v);n.directiveToIndex.set(v.type,[d,I+n.directiveStart,V+n.directiveStart])}else(o===null||!o.has(v))&&n.directiveToIndex.set(v.type,d);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let x=v.type.prototype;!u&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!f&&(x.ngOnChanges||x.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),f=!0),d++}ES(t,n,o)}function ES(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Pf(0,e,i,r),Pf(1,e,i,r),Af(e,r,!1);else{let o=n.get(i);kf(0,e,o,r),kf(1,e,o,r),Af(e,r,!0)}}}function Pf(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),T_(e,o)}}function kf(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),T_(e,s)}}function T_(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function Af(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||zu(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!n&&i.hasOwnProperty(l)){let u=i[l];for(let f of u)if(f===e){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let f=0;f<u.length;f+=2)if(u[f]===e){s??=[],s.push(u[f+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function xS(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Ir(i.type,!0)),s=new yo(o,Tn(i),Ee);t.blueprint[r]=s,n[r]=s,SS(t,e,r,o_(t,n,i.hostVars,Wn),i)}function SS(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;CS(s)!=a&&s.push(a),s.push(n,r,o)}}function CS(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function IS(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Tn(e)&&(n[""]=t)}}function TS(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function O_(t,e,n,r,i,o,s,a){let l=e.consts,u=ar(l,s),f=Eo(e,t,2,r,u);return o&&nh(e,n,f,ar(l,a),i),f.mergedAttrs=ui(f.mergedAttrs,f.attrs),f.attrs!==null&&oc(f,f.attrs,!1),f.mergedAttrs!==null&&oc(f,f.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,f),f}function D_(t,e){Pu(t,e),Eu(e)&&t.queries.elementEnd(e)}var OS=class extends xo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Or(t);return new rh(e,this.ngModule)}};function DS(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&fa.SignalBased)!==0};return i&&(o.transform=i),o})}function RS(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function NS(t,e,n){let r=e instanceof Fn?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new w1(n,r):n}function PS(t){let e=t.get(vn,null);if(e===null)throw new Pt(407,!1);let n=t.get(mS,null),r=t.get(yi,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function kS(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return e_(e,n,n==="svg"?Kg:n==="math"?zw:null)}var rh=class extends C_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return DS(this.componentDef.inputs)}get outputs(){return RS(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=ax(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){zt(22);let i=Tt(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:lx(this.componentDef.selectors[0]),a=qu(0,null,null,1,0,null,null,null,null,[s],null),l=NS(o,r||this.ngModule,t),u=PS(l),f=u.rendererFactory.createRenderer(null,o),d=n?yx(f,n,o.encapsulation,l):kS(o,f),_=Gu(null,a,null,512|i_(o),null,null,u,f,l,null,qm(d,l,!0));_[ie]=d,Du(_);let v=null;try{let x=O_(ie,a,_,"#host",()=>[this.componentDef],!0,0);d&&(r_(f,d,x),Cn(d,_)),da(a,_,x),Hu(a,x,_),D_(a,x),e!==void 0&&LS(x,this.ngContentSelectors,e),v=Xe(x.index,_),_[se]=v[se],Ju(a,_,null)}catch(x){throw v!==null&&Xl(v),Xl(_),x}finally{zt(23),Ru()}return new AS(this.componentType,_)}finally{Tt(i)}}},AS=class extends dS{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=xu(e[dt],ie),this.location=bi(this._tNode,e),this.instance=Xe(this._tNode.index,e)[se],this.hostView=this.changeDetectorRef=new to(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=Ku(n,r[dt],r,t,e);this.previousInputValues.set(t,e);let o=Xe(n.index,r);eh(o,1)}get injector(){return new Bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function LS(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 wi=(()=>{class t{static __NG_ELEMENT_ID__=MS}return t})();function MS(){let t=qe();return N_(t,xt())}var VS=wi,R_=class extends VS{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return bi(this._hostTNode,this._hostLView)}get injector(){return new Bi(this._hostTNode,this._hostLView)}get parentInjector(){let t=ku(this._hostTNode,this._hostLView);if(pm(t)){let e=Ss(t,this._hostLView),n=xs(t),r=e[dt].data[n+8];return new Bi(r,e)}else return new Bi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=Lf(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(t,e,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=no(this._lContainer,t.ssrId),s=t.createEmbeddedViewImpl(e||{},i,o);return this.insertImpl(s,r,Xi(this._hostTNode,o)),s}createComponent(t,e,n,r,i){let o=t&&!jw(t),s;if(o)s=e;else{let v=e||{};s=v.index,n=v.injector,r=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let a=o?t:new rh(Or(t)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let v=(o?l:this.parentInjector).get(Fn,null);v&&(i=v)}let u=Or(a.componentType??{}),f=no(this._lContainer,u?.id??null),d=f?.firstChild??null,_=a.create(l,r,d,i);return this.insertImpl(_.hostView,s,Xi(this._hostTNode,f)),_}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){let r=t._lView;if(Gw(r)){let s=this.indexOf(t);if(s!==-1)this.detach(s);else{let a=r[Ie],l=new R_(a,a[yn],a[Ie]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(e),o=this._lContainer;return ya(o,r,i,n),t.attachToViewContainerRef(),Rg(rl(o),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=Lf(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);n&&(ms(rl(this._lContainer),e),ga(n[dt],n))}detach(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);return n&&ms(rl(this._lContainer),e)!=null?new to(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function Lf(t){return t[bs]}function rl(t){return t[bs]||(t[bs]=[])}function N_(t,e){let n,r=e[t.index];return qn(r)?n=r:(n=w_(r,e,null,t),e[t.index]=n,Wu(e,n)),FS(n,e,t,r),new R_(n,t,e)}function jS(t,e){let n=t[ye],r=n.createComment(""),i=Dn(e,t),o=n.parentNode(i);return Ds(n,o,r,n.nextSibling(i),!1),r}var FS=HS,BS=()=>!1;function US(t,e,n){return BS(t,e,n)}function HS(t,e,n,r){if(t[Rr])return;let i;n.type&8?i=$e(r):i=jS(e,n),t[Rr]=i}var $S=class P_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new P_(this.queryList)}setDirty(){this.queryList.setDirty()}},zS=class k_{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new k_(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)ih(e,n).matches!==null&&this.queries[n].setDirty()}},qS=class{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,typeof t=="string"?this.predicate=eC(t):this.predicate=t}},GS=class A_{queries;constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new A_(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},WS=class L_{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,n=-1){this.metadata=e,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new L_(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(e,n,ZS(n,o)),this.matchTNodeWithReadOption(e,n,rs(n,e,o,!1,!1))}else r===eo?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,rs(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Ve||i===wi||i===eo&&n.type&4)this.addMatch(n.index,-2);else{let o=rs(n,e,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(e,n){this.matches===null?this.matches=[e,n]:this.matches.push(e,n)}};function ZS(t,e){let n=t.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1]}return null}function YS(t,e){return t.type&11?bi(t,e):t.type&4?va(t,e):null}function KS(t,e,n,r){return n===-1?YS(e,t):n===-2?JS(t,e,r):Ji(t,t[dt],n,e)}function JS(t,e,n){if(n===Ve)return bi(e,t);if(n===eo)return va(e,t);if(n===wi)return N_(e,t)}function M_(t,e,n,r){let i=e[Un].queries[r];if(i.matches===null){let o=t.data,s=n.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let u=s[l];if(u<0)a.push(null);else{let f=o[u];a.push(KS(e,f,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function sc(t,e,n,r){let i=t.queries.getByIndex(n),o=i.matches;if(o!==null){let s=M_(t,e,i,n);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let u=o[a+1],f=e[-l];for(let d=Ce;d<f.length;d++){let _=f[d];_[Dr]===_[Ie]&&sc(_[dt],_,u,r)}if(f[ci]!==null){let d=f[ci];for(let _=0;_<d.length;_++){let v=d[_];sc(v[dt],v,u,r)}}}}}return r}function XS(t,e){return t[Un].queries[e].queryList}function QS(t,e,n){let r=new G1((n&4)===4);return Yw(t,e,r,r.destroy),(e[Un]??=new zS).queries.push(new $S(r))-1}function tC(t,e,n){let r=pe();return r.firstCreatePass&&(nC(r,new qS(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),QS(r,xt(),e)}function eC(t){return t.split(",").map(e=>e.trim())}function nC(t,e,n){t.queries===null&&(t.queries=new GS),t.queries.track(new WS(e,n))}function ih(t,e){return t.queries.getByIndex(e)}function rC(t,e){let n=t[dt],r=ih(n,e);return r.crossesNgTemplate?sc(n,t,e,[]):M_(n,t,r,e)}var ro=class{},V_=class extends ro{injector;componentFactoryResolver=new OS(this);instance=null;constructor(t){super();let e=new wu([...t.providers,{provide:ro,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],t.parent||na(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function iC(t,e,n=null){return new V_({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var oC=(()=>{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=Mg(!1,n.type),i=r.length>0?iC([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=pt({token:t,providedIn:"environment",factory:()=>new t(jt(Fn))})}return t})();function Pe(t){return gu(()=>{let e=j_(t),n=Zt(j({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Nm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(oC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||An.Emulated,styles:t.styles||jn,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Br("NgStandalone"),F_(n);let r=t.dependencies;return n.directiveDefs=Mf(r,!1),n.pipeDefs=Mf(r,!0),n.id=uC(n),n})}function sC(t){return Or(t)||Ag(t)}function aC(t){return t!==null}function lC(t,e){if(t==null)return Tr;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=fa.None,l=null),n[o]=[r,a,l],e[o]=s}return n}function cC(t){if(t==null)return Tr;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function ba(t){return gu(()=>{let e=j_(t);return F_(e),e})}function oh(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 j_(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||Tr,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||jn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lC(t.inputs,e),outputs:cC(t.outputs),debugInfo:null}}function F_(t){t.features?.forEach(e=>e(t))}function Mf(t,e){if(!t)return null;let n=e?Lg:sC;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(aC)}function uC(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 hC(t){return Object.getPrototypeOf(t.prototype).constructor}function Ei(t){let e=hC(t.type),n=!0,r=[t];for(;e;){let i;if(Tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Pt(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=il(t.inputs),s.declaredInputs=il(t.declaredInputs),s.outputs=il(t.outputs);let a=i.hostBindings;a&&mC(t,a);let l=i.viewQuery,u=i.contentQueries;if(l&&pC(t,l),u&&gC(t,u),fC(t,i),nw(t.outputs,i.outputs),Tn(i)&&i.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===Ei&&(n=!1)}}e=Object.getPrototypeOf(e)}dC(r)}function fC(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n])}}function dC(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=ui(i.hostAttrs,n=ui(n,i.hostAttrs))}}function il(t){return t===Tr?{}:t===jn?[]:t}function pC(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function gC(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function mC(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function B_(t,e,n){return t[e]=n}function Hn(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function _C(t,e,n,r){let i=Hn(t,e,n);return Hn(t,e+1,r)||i}function yC(t,e,n,r,i,o,s,a,l){let u=e.consts,f=Eo(e,t,4,s||null,a||null);Iu()&&nh(e,n,f,ar(u,l),Yu),f.mergedAttrs=ui(f.mergedAttrs,f.attrs),Pu(e,f);let d=f.tView=qu(2,f,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,f),d.queries=e.queries.embeddedTView(f)),f}function ac(t,e,n,r,i,o,s,a,l,u){let f=n+ie,d=e.firstCreatePass?yC(f,e,t,r,i,o,s,a,l):e.data[f];hr(d,!1);let _=vC(e,t,d,n);aa()&&ma(e,t,_,d),Cn(_,t);let v=w_(_,t,_,d);return t[f]=v,Wu(t,v),US(v,d,t),ra(d)&&da(e,t,d),l!=null&&Zu(t,d,u),d}function ae(t,e,n,r,i,o,s,a){let l=xt(),u=pe(),f=ar(u.consts,o);return ac(l,u,t,e,n,r,i,f,s,a),ae}var vC=bC;function bC(t,e,n,r){return la(!0),e[ye].createComment("")}var wC=new St(""),EC=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new xC})}return t})(),xC=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 U_(t){return!!t&&typeof t.then=="function"}function SC(t){return!!t&&typeof t.subscribe=="function"}var CC=new St(""),H_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(CC,{optional:!0})??[];injector=P(Ne);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Bg(this.injector,i);if(U_(o))n.push(o);else if(SC(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IC=new St("");function TC(){G0(()=>{throw new Pt(600,!1)})}function OC(t){return t.isBoundToModule}var DC=10,cr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(U1);afterRenderManager=P(Hm);zonelessEnabled=P(Lu);rootEffectScheduler=P(EC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new yt;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(ca).hasPendingTasks.pipe(Qs(n=>!n));constructor(){P(vo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(Fn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){zt(10);let i=n instanceof C_;if(!this._injector.get(H_).done){let d=!i&&Cw(n),_=!1;throw new Pt(405,_)}let o;i?o=n:o=this._injector.get(xo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=OC(o)?void 0:this._injector.get(ro),a=r||o.selector,l=o.create(Ne.NULL,[],a,s),u=l.location.nativeElement,f=l.injector.get(wC,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),is(this.components,l),f?.unregisterApplication(u)}),this._loadComponent(l),zt(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){zt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Uu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Pt(101,!1);let n=Tt(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Tt(n),this.afterTick.next(),zt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DC;)zt(14),this.synchronizeOnce(),zt(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)RC(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})=>oa(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;is(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(IC,[]).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),()=>is(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Pt(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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function is(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function RC(t,e,n,r){!n&&!oa(t)||__(t,e,n&&!r?0:1)}function wa(t,e,n,r){let i=xt(),o=_o();if(Hn(i,o,e)){let s=pe(),a=Nu();Ix(a,i,t,e,n,r)}return wa}function $_(t,e,n,r){return Hn(t,_o(),n)?e+ho(n)+r:Wn}function jo(t,e){return t<<17|e<<2}function kr(t){return t>>17&32767}function NC(t){return(t&2)==2}function PC(t,e){return t&131071|e<<17}function lc(t){return t|2}function hi(t){return(t&131068)>>2}function ol(t,e){return t&-131069|e<<2}function kC(t){return(t&1)===1}function cc(t){return t|1}function AC(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=kr(s),l=hi(s);t[r]=n;let u=!1,f;if(Array.isArray(n)){let d=n;f=d[1],(f===null||fo(d,f)>0)&&(u=!0)}else f=n;if(i)if(l!==0){let d=kr(t[a+1]);t[r+1]=jo(d,a),d!==0&&(t[d+1]=ol(t[d+1],r)),t[a+1]=PC(t[a+1],r)}else t[r+1]=jo(a,0),a!==0&&(t[a+1]=ol(t[a+1],r)),a=r;else t[r+1]=jo(l,0),a===0?a=r:t[l+1]=ol(t[l+1],r),l=r;u&&(t[r+1]=lc(t[r+1])),Vf(t,f,r,!0),Vf(t,f,r,!1),LC(e,f,t,r,o),s=jo(a,l),o?e.classBindings=s:e.styleBindings=s}function LC(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=cc(n[r+1]))}function Vf(t,e,n,r){let i=t[n+1],o=e===null,s=r?kr(i):hi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];MC(l,e)&&(a=!0,t[s+1]=r?cc(u):lc(u)),s=r?kr(u):hi(u)}a&&(t[n+1]=r?lc(i):cc(i))}function MC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?fo(t,e)>=0:!1}function Nt(t,e,n){let r=xt(),i=_o();if(Hn(r,i,e)){let o=pe(),s=Nu();l_(o,s,r,t,e,r[ye],n,!1)}return Nt}function jf(t,e,n,r,i){Ku(e,t,n,i?"class":"style",r)}function Ea(t,e,n){return z_(t,e,n,!1),Ea}function xa(t,e){return z_(t,e,null,!0),xa}function z_(t,e,n,r){let i=xt(),o=pe(),s=i1(2);if(o.firstUpdatePass&&jC(o,t,s,r),e!==Wn&&Hn(i,s,e)){let a=o.data[fr()];$C(o,a,i,i[ye],t,i[s+1]=zC(e,n),r,s)}}function VC(t,e){return e>=t.expandoStartIndex}function jC(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[fr()],s=VC(t,n);qC(o,r)&&e===null&&!s&&(e=!1),e=FC(i,o,e,r),AC(i,o,e,n,s,r)}}function FC(t,e,n,r){let i=l1(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=sl(null,t,e,n,r),n=io(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=sl(i,t,e,n,r),o===null){let a=BC(t,e,r);a!==void 0&&Array.isArray(a)&&(a=sl(null,t,e,a[1],r),a=io(a,e.attrs,r),UC(t,e,r,a))}else o=HC(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function BC(t,e,n){let r=n?e.classBindings:e.styleBindings;if(hi(r)!==0)return t[kr(r)]}function UC(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[kr(i)]=r}function HC(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=io(r,s,n)}return io(r,e.attrs,n)}function sl(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=io(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function io(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]),xw(t,s,n?!0:e[++o]))}return t===void 0?null:t}function $C(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let l=t.data,u=l[a+1],f=kC(u)?Ff(l,e,n,i,hi(u),s):void 0;if(!Ns(f)){Ns(o)||NC(u)&&(o=Ff(l,null,n,i,a,s));let d=Jg(fr(),n);qx(r,s,d,i,o)}}function Ff(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let l=t[i],u=Array.isArray(l),f=u?l[1]:l,d=f===null,_=n[i+1];_===Wn&&(_=d?jn:void 0);let v=d?Ya(_,r):f===r?_:void 0;if(u&&!Ns(v)&&(v=Ya(l,r)),Ns(v)&&(a=v,s))return a;let x=t[i+1];i=s?kr(x):hi(x)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Ya(l,r))}return a}function Ns(t){return t!==void 0}function zC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=un(er(t)))),t}function qC(t,e){return(t.flags&(e?8:16))!==0}var GC=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 al(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function WC(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let l=e.length-1;for(;o<=s&&o<=l;){let u=t.at(o),f=e[o],d=al(o,u,o,f,n);if(d!==0){d<0&&t.updateValue(o,f),o++;continue}let _=t.at(s),v=e[l],x=al(s,_,l,v,n);if(x!==0){x<0&&t.updateValue(s,v),s--,l--;continue}let I=n(o,u),V=n(s,_),L=n(o,f);if(Object.is(L,V)){let Z=n(l,v);Object.is(Z,I)?(t.swap(o,s),t.updateValue(s,v),l--,s--):t.move(s,o),t.updateValue(o,f),o++;continue}if(r??=new Hf,i??=Uf(t,o,s,n),uc(t,r,o,L))t.updateValue(o,f),o++,s++;else if(i.has(L))r.set(I,t.detach(o)),s--;else{let Z=t.create(o,e[o]);t.attach(o,Z),o++,s++}}for(;o<=l;)Bf(t,r,n,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let f=t.at(o),d=u.value,_=al(o,f,o,d,n);if(_!==0)_<0&&t.updateValue(o,d),o++,u=l.next();else{r??=new Hf,i??=Uf(t,o,s,n);let v=n(o,d);if(uc(t,r,o,v))t.updateValue(o,d),o++,s++,u=l.next();else if(!i.has(v))t.attach(o,t.create(o,d)),o++,s++,u=l.next();else{let x=n(o,f);r.set(x,t.detach(o)),s--}}}for(;!u.done;)Bf(t,r,n,t.length,u.value),u=l.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(l=>{t.destroy(l)})}function uc(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Bf(t,e,n,r,i){if(uc(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Uf(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 Hf=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 he(t,e){Br("NgControlFlow");let n=xt(),r=_o(),i=n[r]!==Wn?n[r]:-1,o=i!==-1?Ps(n,ie+i):void 0,s=0;if(Hn(n,r,t)){let a=Tt(null);try{if(o!==void 0&&x_(o,s),t!==-1){let l=ie+t,u=Ps(n,l),f=hc(n[dt],l),d=no(u,f.tView.ssrId),_=pa(n,f,e,{dehydratedView:d});ya(u,_,s,Xi(f,d))}}finally{Tt(a)}}else if(o!==void 0){let a=E_(o,s);a!==void 0&&(a[se]=e)}}var ZC=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Ce}};function So(t,e){return e}var YC=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Te(t,e,n,r,i,o,s,a,l,u,f,d,_){Br("NgControlFlow");let v=xt(),x=pe(),I=l!==void 0,V=xt(),L=a?s.bind(V[gn][se]):s,Z=new YC(I,L);V[ie+t]=Z,ac(v,x,t+1,e,n,r,i,ar(x.consts,o)),I&&ac(v,x,t+2,l,u,f,d,ar(x.consts,_))}var KC=class extends GC{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-Ce}at(t){return this.getLView(t)[se].$implicit}attach(t,e){let n=e[Zi];this.needsIndexUpdate||=t!==this.length,ya(this.lContainer,e,t,Xi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,JC(this.lContainer,t)}create(t,e){let n=no(this.lContainer,this.templateTNode.tView.ssrId),r=pa(this.hostLView,this.templateTNode,new ZC(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){ga(t[dt],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[se].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[se].$index=t}getLView(t){return XC(this.lContainer,t)}};function Oe(t){let e=Tt(null),n=fr();try{let r=xt(),i=r[dt],o=r[n],s=n+1,a=Ps(r,s);if(o.liveCollection===void 0){let u=hc(i,s);o.liveCollection=new KC(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(WC(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=_o(),f=l.length===0;if(Hn(r,u,f)){let d=n+2,_=Ps(r,d);if(f){let v=hc(i,d),x=no(_,v.tView.ssrId),I=pa(r,v,void 0,{dehydratedView:x});ya(_,I,0,Xi(v,x))}else x_(_,0)}}}finally{Tt(e)}}function Ps(t,e){return t[e]}function JC(t,e){return Qi(t,e)}function XC(t,e){return E_(t,e)}function hc(t,e){return xu(t,e)}function et(t,e,n,r){let i=xt(),o=pe(),s=ie+t,a=i[ye],l=o.firstCreatePass?O_(s,o,i,e,Yu,Iu(),n,r):o.data[s],u=QC(o,i,l,a,e,t);i[s]=u;let f=ra(l);return hr(l,!0),r_(a,u,l),!u_(l)&&aa()&&ma(o,i,u,l),(Kw()===0||f)&&Cn(u,i),Jw(),f&&(da(o,i,l),Hu(o,l,i)),r!==null&&Zu(i,l),et}function rt(){let t=qe();Tu()?rm():(t=t.parent,hr(t,!1));let e=t;t1(e)&&e1(),Xw();let n=pe();return n.firstCreatePass&&D_(n,e),e.classesWithoutHost!=null&&m1(e)&&jf(n,e,xt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&_1(e)&&jf(n,e,xt(),e.stylesWithoutHost,!1),rt}function At(t,e,n,r){return et(t,e,n,r),rt(),At}var QC=(t,e,n,r,i,o)=>(la(!0),e_(r,i,f1()));function tI(t,e,n,r,i){let o=e.consts,s=ar(o,r),a=Eo(e,t,8,"ng-container",s);s!==null&&oc(a,s,!0);let l=ar(o,i);return Iu()&&nh(e,n,a,l,Yu),a.mergedAttrs=ui(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function q_(t,e,n){let r=xt(),i=pe(),o=t+ie,s=i.firstCreatePass?tI(o,i,r,e,n):i.data[o];hr(s,!0);let a=eI(i,r,s,t);return r[o]=a,aa()&&ma(i,r,a,s),Cn(a,r),ra(s)&&(da(i,r,s),Hu(i,s,r)),n!=null&&Zu(r,s),q_}function G_(){let t=qe(),e=pe();return Tu()?rm():(t=t.parent,hr(t,!1)),e.firstCreatePass&&(Pu(e,t),Eu(t)&&e.queries.elementEnd(t)),G_}function sh(t,e,n){return q_(t,e,n),G_(),sh}var eI=(t,e,n,r)=>(la(!0),hx(e[ye],""));function rn(){return xt()}var ks="en-US",nI=ks;function rI(t){typeof t=="string"&&(nI=t.toLowerCase().replace(/_/g,"-"))}var iI=(t,e,n)=>{};function re(t,e,n,r){let i=xt(),o=pe(),s=qe();return sI(o,i,i[ye],s,t,e,r),re}function oI(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=e[ys],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function sI(t,e,n,r,i,o,s){let a=ra(r),l=t.firstCreatePass?em(t):null,u=e[se],f=tm(e),d=!0;if(r.type&3||s){let _=Dn(r,e),v=s?s(_):_,x=f.length,I=s?L=>s($e(L[r.index])):r.index,V=null;if(!s&&a&&(V=oI(t,e,i,r.index)),V!==null){let L=V.__ngLastListenerFn__||V;L.__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,d=!1}else{o=qf(r,e,u,o),iI(_,i,o);let L=n.listen(v,i,o);f.push(o,L),l&&l.push(i,I,x,x+1)}}else o=qf(r,e,u,o);if(d){let _=r.outputs?.[i],v=r.hostDirectiveOutputs?.[i];if(v&&v.length)for(let x=0;x<v.length;x+=2){let I=v[x],V=v[x+1];$f(r,t,e,I,V,i,o,f,l)}if(_&&_.length)for(let x of _)$f(r,t,e,x,i,i,o,f,l)}}function $f(t,e,n,r,i,o,s,a,l){let u=n[r],f=e.data[r].outputs[i],d=u[f].subscribe(s),_=a.length;a.push(s,d),l&&l.push(o,t.index,_,-(_+1))}function zf(t,e,n,r){let i=Tt(null);try{return zt(6,e,n),n(r)!==!1}catch(o){return c_(t,o),!1}finally{zt(7,e,n),Tt(i)}}function qf(t,e,n,r){return function i(o){if(o===Function)return r;let s=_i(t)?Xe(t.index,e):e;eh(s,5);let a=zf(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=zf(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function ct(t=1){return u1(t)}function Rn(t,e,n){return xi(t,"",e,"",n),Rn}function xi(t,e,n,r,i){let o=xt(),s=$_(o,e,n,r);if(s!==Wn){let a=pe(),l=Nu();l_(a,l,o,t,s,o[ye],i,!1)}return xi}function As(t,e,n){tC(t,e,n)}function Ls(t){let e=xt(),n=pe(),r=sm();Ou(r+1);let i=ih(n,r);if(t.dirty&&qw(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=rC(e,r);t.reset(o,$1),t.notifyOnChanges()}return!0}return!1}function Ms(){return XS(xt(),sm())}function ah(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function or(t){let e=im();return ia(e,ie+t)}function le(t,e=""){let n=xt(),r=pe(),i=t+ie,o=r.firstCreatePass?Eo(r,i,1,e,null):r.data[i],s=aI(r,n,o,e,t);n[i]=s,aa()&&ma(r,n,s,o),hr(o,!1)}var aI=(t,e,n,r,i)=>(la(!0),cx(e[ye],r));function Sa(t){return On("",t,""),Sa}function On(t,e,n){let r=xt(),i=$_(r,t,e,n);return i!==Wn&&lI(r,fr(),i),On}function lI(t,e,n){let r=Jg(e,t);ux(t[ye],r,n)}var W_={};function Si(t){let e=pe(),n=xt(),r=t+ie,i=Eo(e,r,128,null,null);return hr(i,!1),ah(e,n,r,W_),Si}function oi(t){Br("NgLet");let e=pe(),n=xt(),r=fr();return ah(e,n,r,t),t}function In(t){let e=im(),n=ia(e,ie+t);if(n===W_)throw new Pt(314,!1);return n}function cI(t,e,n){let r=pe();if(r.firstCreatePass){let i=Tn(t);fc(n,r.data,r.blueprint,i,!0),fc(e,r.data,r.blueprint,i,!1)}}function fc(t,e,n,r,i){if(t=Re(t),Array.isArray(t))for(let o=0;o<t.length;o++)fc(t[o],e,n,r,i);else{let o=pe(),s=xt(),a=qe(),l=li(t)?t:Re(t.provide),u=Fg(t),f=a.providerIndexes&1048575,d=a.directiveStart,_=a.providerIndexes>>20;if(li(t)||!t.multi){let v=new yo(u,i,Ee),x=cl(l,e,i?f:f+_,d);x===-1?(Zl(Is(a,s),o,l),ll(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(v),s.push(v)):(n[x]=v,s[x]=v)}else{let v=cl(l,e,f+_,d),x=cl(l,e,f,f+_),I=v>=0&&n[v],V=x>=0&&n[x];if(i&&!V||!i&&!I){Zl(Is(a,s),o,l);let L=fI(i?hI:uI,n.length,i,r,u);!i&&V&&(n[x].providerFactory=L),ll(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(L),s.push(L)}else{let L=Z_(n[i?x:v],u,!i&&r);ll(o,t,v>-1?v:x,L)}!i&&r&&V&&n[x].componentProviders++}}}function ll(t,e,n,r){let i=li(e),o=Nw(e);if(i||o){let s=(o?Re(e.useClass):e).prototype.ngOnDestroy;if(s){let a=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=a.indexOf(n);l===-1?a.push(n,[r,s]):a[l+1].push(r,s)}else a.push(n,s)}}}function Z_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function cl(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function uI(t,e,n,r){return dc(this.multi,[])}function hI(t,e,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ji(n,n[dt],this.providerFactory.index,r);o=a.slice(0,s),dc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],dc(i,o);return o}function dc(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function fI(t,e,n,r,i){let o=new yo(t,n,Ee);return o.multi=[],o.index=e,o.componentProviders=0,Z_(o,i,r&&!n),o}function dI(t,e=[]){return n=>{n.providersResolver=(r,i)=>cI(r,i?i(t):t,e)}}function pI(t,e,n,r){return K_(xt(),sa(),t,e,n,r)}function gI(t,e,n,r,i){return J_(xt(),sa(),t,e,n,r,i)}function Y_(t,e){let n=t[e];return n===Wn?void 0:n}function K_(t,e,n,r,i,o){let s=e+n;return Hn(t,s,i)?B_(t,s+1,o?r.call(o,i):r(i)):Y_(t,s+1)}function J_(t,e,n,r,i,o,s){let a=e+n;return _C(t,a,i,o)?B_(t,a+2,s?r.call(s,i,o):r(i,o)):Y_(t,a+2)}function ze(t,e){let n=pe(),r,i=t+ie;n.firstCreatePass?(r=mI(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=Ir(r.type,!0)),s,a=Ae(Ee);try{let l=Cs(!1),u=o();return Cs(l),ah(n,xt(),i,u),u}finally{Ae(a)}}function mI(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Qe(t,e,n){let r=t+ie,i=xt(),o=ia(i,r);return X_(i,r)?K_(i,sa(),e,o.transform,n,o):o.transform(n)}function _I(t,e,n,r){let i=t+ie,o=xt(),s=ia(o,i);return X_(o,i)?J_(o,sa(),e,s.transform,n,r,s):s.transform(n,r)}function X_(t,e){return t[dt].data[e].pure}function yI(t,e){return va(t,e)}var vI=class{full;major;minor;patch;constructor(t){this.full=t;let e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Gf=new vI("19.2.0"),bI=(()=>{class t{zone=P(Wt);changeDetectionScheduler=P(yi);applicationRef=P(cr);_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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wI({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Wt(Zt(j({},EI()),{scheduleInRootZone:n})),[{provide:Wt,useFactory:t},{provide:_s,multi:!0,useFactory:()=>{let r=P(bI,{optional:!0});return()=>r.initialize()}},{provide:_s,multi:!0,useFactory:()=>{let r=P(xI);return()=>{r.initialize()}}},e===!0?{provide:Im,useValue:!0}:[],{provide:Mu,useValue:n??Cm}]}function EI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var xI=(()=>{class t{subscription=new me;initialized=!1;zone=P(Wt);pendingTasks=P(ca);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(()=>{Wt.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Wt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Q_=(()=>{class t{appRef=P(cr);taskService=P(ca);ngZone=P(Wt);zonelessEnabled=P(Lu);tracing=P(vo,{optional:!0});disableScheduling=P(Im,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Os):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(Mu,{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 Om||!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?yf:Tm;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(Os+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,yf(()=>{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=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function SI(){return Br("NgZoneless"),Iw([{provide:yi,useExisting:Q_},{provide:Wt,useClass:Om},{provide:Lu,useValue:!0},{provide:Mu,useValue:!1},[]])}function CI(){return typeof $localize<"u"&&$localize.locale||ks}var ty=new St("",{providedIn:"root",factory:()=>P(ty,Ot.Optional|Ot.SkipSelf)||CI()}),pc=new St(""),II=new St("");function Oi(t){return!t.moduleRef}function TI(t){let e=Oi(t)?t.r3Injector:t.moduleRef.injector,n=e.get(Wt);return n.run(()=>{Oi(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(vi,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Oi(t)){let o=()=>e.destroy(),s=t.platformInjector.get(pc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(pc);s.add(o),t.moduleRef.onDestroy(()=>{is(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return DI(r,n,()=>{let o=e.get(H_);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(ty,ks);if(rI(s||ks),!e.get(II,!0))return Oi(t)?e.get(cr):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Oi(t)){let a=e.get(cr);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return OI(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function OI(t,e){let n=t.injector.get(cr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new Pt(-403,!1);e.push(t)}function DI(t,e,n){try{let r=n();return U_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var os=null;function RI(t=[],e){return Ne.create({name:e,providers:[{provide:bu,useValue:"platform"},{provide:pc,useValue:new Set([()=>os=null])},...t]})}function NI(t=[]){if(os)return os;let e=RI(t);return os=e,TC(),PI(e),e}function PI(t){let e=t.get(jm,null);Bg(t,()=>{e?.forEach(n=>n())})}var Co=(()=>{class t{static __NG_ELEMENT_ID__=kI}return t})();function kI(t){return AI(qe(),xt(),(t&16)===16)}function AI(t,e,n){if(_i(t)&&!n){let r=Xe(t.index,e);return new to(r,r)}else if(t.type&175){let r=e[gn];return new to(r,e)}return null}function LI(t){zt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=NI(r),o=[wI({}),{provide:yi,useExisting:Q_},...n||[]],s=new V_({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return TI({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{zt(9)}}function MI(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function VI(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function jI(t){let e=Tt(null);try{return t()}finally{Tt(e)}}var KA=class{[nr];constructor(t){this[nr]=t}destroy(){this[nr].destroy()}};function ey(t,e){let n=Or(t),r=e.elementInjector||na();return new rh(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}var FI={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function BI(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function UI(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var ul;function HI(t,e){if(!ul){let n=Element.prototype;ul=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?ul.call(t,e):!1}function $I(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[BI(r)]=[n,i]}),e}function zI(t,e){return e.get(xo).resolveComponentFactory(t).inputs}function qI(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],l=GI(a,e,i);l!==-1&&r[l].push(a)}return r}function GI(t,e,n){let r=n;return UI(t)&&e.some((i,o)=>i!=="*"&&HI(t,i)?(r=o,!0):!1),r}var WI=10,ZI=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(xo).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new YI(this.componentFactory,t,this.inputMap)}},YI=class{componentFactory;injector;inputMap;eventEmitters=new fb(1);events=this.eventEmitters.pipe(bg(t=>ta(...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(Wt),this.appRef=this.injector.get(cr),this.cdScheduler=e.get(yi),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=FI.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},WI))})}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=Ne.create({providers:[],parent:this.injector}),n=qI(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 _e(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()}},KI=class extends HTMLElement{ngElementEventsSubscription=null};function JI(t,e){let n=zI(t,e.injector),r=e.strategyFactory||new ZI(t,e.injector),i=$I(n);class o extends KI{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let f=this[l];delete this[l],a.setInputValue(l,f,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,f){let[d,_]=i[a];this.ngElementStrategy.setInputValue(d,u,_)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var ny=null;function Ui(){return ny}function XI(t){ny??=t}var QI=class{},Xt=new St(""),ry=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(tT),providedIn:"platform"})}return t})(),tT=(()=>{class t extends ry{_location;_history;_doc=P(Xt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ui().getBaseHref(this._doc)}onPopState(n){let r=Ui().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ui().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function iy(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function Wf(t){let e=t.search(/#|\?|$/);return t[e-1]==="/"?t.slice(0,e-1)+t.slice(e):t}function Er(t){return t&&t[0]!=="?"?`?${t}`:t}var lh=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(nT),providedIn:"root"})}return t})(),eT=new St(""),nT=(()=>{class t extends lh{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(Xt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return iy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Er(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Er(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Er(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(n){return new(n||t)(jt(ry),jt(eT,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oy=(()=>{class t{_subject=new yt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=oT(Wf(Zf(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Er(r))}normalize(n){return t.stripTrailingSlash(iT(this._basePath,Zf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Er(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Er(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Er;static joinWithSlash=iy;static stripTrailingSlash=Wf;static \u0275fac=function(n){return new(n||t)(jt(lh))};static \u0275prov=pt({token:t,factory:()=>rT(),providedIn:"root"})}return t})();function rT(){return new oy(jt(lh))}function iT(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Zf(t){return t.replace(/\/index.html$/,"")}function oT(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function sT(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 hl=/\s+/,Yf=[],sy=(()=>{class t{_ngEl;_renderer;initialClasses=Yf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(hl):Yf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(hl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(hl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(Ee(Ve),Ee(I_))};static \u0275dir=ba({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),aT=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(n){return new(n||t)(Ee(wi))};static \u0275dir=ba({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gg]})}return t})(),ay="browser",lT="server";function cT(t){return t===ay}function ly(t){return t===lT}var uT=class{},hT=class extends QI{supportsDOMEvents=!0},fT=class cy extends hT{static makeCurrent(){XI(new cy)}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=dT();return n==null?null:pT(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return sT(document.cookie,e)}},Mi=null;function dT(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}function pT(t){return new URL(t,document.baseURI).pathname}var gT=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),gc=new St(""),uy=(()=>{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 Pt(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(jt(gc),jt(Wt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),hy=class{_doc;constructor(t){this._doc=t}manager},ss="ng-app-id";function Kf(t){for(let e of t)e.remove()}function Jf(t,e){let n=e.createElement("style");return n.textContent=t,n}function mT(t,e,n,r){let i=t.head?.querySelectorAll(`style[${ss}="${e}"],link[${ss}="${e}"]`);if(i)for(let o of i)o.removeAttribute(ss),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 mc(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var fy=(()=>{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=ly(o),mT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Jf);r?.forEach(i=>this.addUsage(i,this.external,mc))}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&&(Kf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Kf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Jf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,mc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ss,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(jt(Xt),jt(Bu),jt(Fm,8),jt(ua))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),fl={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"},ch=/%COMP%/g,dy="%COMP%",_T=`_nghost-${dy}`,yT=`_ngcontent-${dy}`,vT=!0,bT=new St("",{providedIn:"root",factory:()=>vT});function wT(t){return yT.replace(ch,t)}function ET(t){return _T.replace(ch,t)}function py(t,e){return e.map(n=>n.replace(ch,t))}var Xf=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,f=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.tracingService=f,this.platformIsServer=ly(a),this.defaultRenderer=new uh(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===An.ShadowDom&&(r=Zt(j({},r),{encapsulation:An.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof td?i.applyToHost(n):i instanceof _c&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,d=this.platformIsServer,_=this.tracingService;switch(r.encapsulation){case An.Emulated:o=new td(l,u,r,this.appId,f,s,a,d,_);break;case An.ShadowDom:return new xT(l,u,n,r,s,a,this.nonce,d,_);default:o=new _c(l,u,r,f,s,a,d,_);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)(jt(uy),jt(fy),jt(Bu),jt(bT),jt(Xt),jt(ua),jt(Wt),jt(Fm),jt(vo,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),uh=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(fl[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Qf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Qf(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 Pt(-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=fl[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=fl[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&(wr.DashCase|wr.Important)?t.style.setProperty(e,n,r&wr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&wr.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=Ui().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 Qf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xT=class extends uh{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,l){super(t,i,o,a,l),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=py(r.id,u);for(let d of u){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=d,this.shadowRoot.appendChild(_)}let f=r.getExternalStyles?.();if(f)for(let d of f){let _=mc(d,i);s&&_.setAttribute("nonce",s),this.shadowRoot.appendChild(_)}}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)}},_c=class extends uh{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,l){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?py(l,u):u,this.styleUrls=n.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},td=class extends _c{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(t,e,n,i,o,s,a,l,u),this.contentAttr=wT(u),this.hostAttr=ET(u)}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}},ST=(()=>{class t extends hy{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)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),ed=["alt","control","meta","shift"],CT={"\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"},IT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},TT=(()=>{class t extends hy{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(()=>Ui().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."),ed.forEach(u=>{let f=r.indexOf(u);f>-1&&(r.splice(f,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let i=CT[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"),ed.forEach(s=>{if(s!==i){let a=IT[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)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})();function OT(t){return LI(DT(t))}function DT(t){return{appProviders:[...AT,...t?.providers??[]],platformProviders:kT}}function RT(){fT.makeCurrent()}function NT(){return new vi}function PT(){return rE(document),document}var kT=[{provide:ua,useValue:ay},{provide:jm,useValue:RT,multi:!0},{provide:Xt,useFactory:PT,deps:[]}],AT=[{provide:bu,useValue:"root"},{provide:vi,useFactory:NT,deps:[]},{provide:gc,useClass:ST,multi:!0,deps:[Xt]},{provide:gc,useClass:TT,multi:!0,deps:[Xt]},Xf,fy,uy,{provide:vn,useExisting:Xf},{provide:uT,useClass:gT,deps:[]},[]],gy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=jt(LT),r},providedIn:"root"})}return t})(),LT=(()=>{class t extends gy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case kn.NONE:return r;case kn.HTML:return vr(r,"HTML")?er(r):Xm(this._doc,String(r)).toString();case kn.STYLE:return vr(r,"Style")?er(r):r;case kn.SCRIPT:if(vr(r,"Script"))return er(r);throw new Pt(5200,!1);case kn.URL:return vr(r,"URL")?er(r):$u(String(r));case kn.RESOURCE_URL:if(vr(r,"ResourceURL"))return er(r);throw new Pt(5201,!1);default:throw new Pt(5202,!1)}}bypassSecurityTrustHtml(n){return xE(n)}bypassSecurityTrustStyle(n){return SE(n)}bypassSecurityTrustScript(n){return CE(n)}bypassSecurityTrustUrl(n){return IE(n)}bypassSecurityTrustResourceUrl(n){return TE(n)}static \u0275fac=function(n){return new(n||t)(jt(Xt))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MT="9.10.3",be=class yc{static SDK_VERSION=MT;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_EXPERIMENT_START="CE Experiment Start";static EVENT_VIDEO_DIALOG_CLOSED="CE Video Dialog Closed";static EVENT_VIDEO_DIALOG_OPENED="CE Video Dialog Opened";static EVENT_VIDEO_CHANGE="CE Video Changed";static EVENT_LAST_VIDEO_ENDED="CE Last Video Ended";static EVENT_VIDEO_MUTED="CE Video Muted";static EVENT_VIDEO_UNMUTED="CE Video Unmuted";static EVENT_ADD_TO_CART_CLICKED="CE Add To Cart Clicked";static EVENT_VIEW_ITEM_CLICKED="CE View Item Clicked";static EVENT_MORE_ITEM_INFO_CLICKED="CE More Item Info Clicked";static EVENT_OPEN_CART_CLICKED="CE Open Cart Clicked";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 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=yc.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");yc.SDK_VERSION_CODE=parseInt(e,10)}},oo={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${be.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${be.SDK_VERSION}/dist/widget.min.js`},Ke=en(D0()),Be=class{static log(...t){Ke.default.info(...t)}static debug(...t){Ke.default.debug(...t)}static error(...t){Ke.default.error(...t)}static warn(...t){Ke.default.warn(...t)}static info(...t){Ke.default.info(...t)}static trace(...t){Ke.default.trace(...t)}};function VT(t=be.LOG_PREFIX){Ke.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${be.SDK_VERSION}):`)}});let e=jT();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Ke.default.setLevel(Ke.default[localStorage.cooeeLogLevel]):Ke.default.setLevel(oo.debug?Ke.default.TRACE:Ke.default.OFF)}function jT(){return new URL(location.href).searchParams?.get("cooee-debug")}var Fo=en(Vp()),FT={providers:[SI()]},dl=en(uo()),JA=en(R0()),my=class{gaEnabled;gaMeasurementID;pixelPush;website;currencyCount;money;storefrontToken;skipItemAttribute;currency;static get(){return window.CooeeSDK.config}update(t){return t??={},this.gaEnabled=t.gaEnabled,this.gaMeasurementID=t.gaMeasurementID,this.pixelPush=t.pixelPush,this.website=t.website??{},this.currencyCount=t.currencyCount??0,this.money=t.money,this.currency=t.currency,this.storefrontToken=t.storefrontToken,this.skipItemAttribute=t.skipItemAttribute,this}},_y=Object.prototype.toString;function hh(t){switch(_y.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ar(t,Error)}}function Ci(t,e){return _y.call(t)===`[object ${e}]`}function yy(t){return Ci(t,"ErrorEvent")}function nd(t){return Ci(t,"DOMError")}function BT(t){return Ci(t,"DOMException")}function Vn(t){return Ci(t,"String")}function fh(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function dh(t){return t===null||fh(t)||typeof t!="object"&&typeof t!="function"}function fi(t){return Ci(t,"Object")}function Ca(t){return typeof Event<"u"&&Ar(t,Event)}function UT(t){return typeof Element<"u"&&Ar(t,Element)}function HT(t){return Ci(t,"RegExp")}function Ia(t){return!!(t&&t.then&&typeof t.then=="function")}function $T(t){return fi(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Ar(t,e){try{return t instanceof e}catch{return!1}}function vy(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function si(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function rd(t,e){if(!Array.isArray(t))return"";let n=[];for(let r=0;r<t.length;r++){let i=t[r];try{vy(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function zT(t,e,n=!1){return Vn(t)?HT(e)?e.test(t):Vn(e)?n?t===e:t.includes(e):!1:!1}function Ta(t,e=[],n=!1){return e.some(r=>zT(t,r,n))}function qT(t,e,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!Ar(s.originalException,Error))return;let a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=GT(vc(t,e,i,s.originalException,r,o.exception.values,a,0),n))}function vc(t,e,n,r,i,o,s,a){if(o.length>=n+1)return o;let l=[...o];if(Ar(r[i],Error)){id(s,a);let u=t(e,r[i]),f=l.length;od(u,i,f,a),l=vc(t,e,n,r[i],i,[u,...l],u,f)}return Array.isArray(r.errors)&&r.errors.forEach((u,f)=>{if(Ar(u,Error)){id(s,a);let d=t(e,u),_=l.length;od(d,`errors[${f}]`,_,a),l=vc(t,e,n,u,i,[d,...l],d,_)}}),l}function id(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Zt(j(j({},t.mechanism),t.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:e})}function od(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Zt(j({},t.mechanism),{type:"chained",source:e,exception_id:n,parent_id:r})}function GT(t,e){return t.map(n=>(n.value&&(n.value=si(n.value,e)),n))}var xr="8.18.0",Bt=globalThis;function ph(t,e,n){let r=n||Bt,i=r.__SENTRY__=r.__SENTRY__||{},o=i[xr]=i[xr]||{};return o[t]||(o[t]=e())}var gh=Bt,WT=80;function by(t,e={}){if(!t)return"<unknown>";try{let n=t,r=5,i=[],o=0,s=0,a=" > ",l=a.length,u,f=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||WT;for(;n&&o++<r&&(u=ZT(n,f),!(u==="html"||o>1&&s+i.length*l+u.length>=d));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function ZT(t,e){let n=t,r=[];if(!n||!n.tagName)return"";if(gh.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());let i=e&&e.length?e.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(i&&i.length)i.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);let s=n.className;if(s&&Vn(s)){let a=s.split(/\s+/);for(let l of a)r.push(`.${l}`)}}let o=["aria-label","type","name","title","alt"];for(let s of o){let a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function YT(){try{return gh.document.location.href}catch{return""}}function KT(t){if(!gh.HTMLElement)return null;let e=t,n=5;for(let r=0;r<n;r++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}var Io=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,JT="Sentry Logger ",bc=["debug","info","warn","error","log","assert","trace"],Vs={};function mh(t){if(!("console"in Bt))return t();let e=Bt.console,n={},r=Object.keys(Vs);r.forEach(i=>{let o=Vs[i];n[i]=e[i],e[i]=o});try{return t()}finally{r.forEach(i=>{e[i]=n[i]})}}function XT(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Io?bc.forEach(n=>{e[n]=(...r)=>{t&&mh(()=>{Bt.console[n](`${JT}[${n}]:`,...r)})}}):bc.forEach(n=>{e[n]=()=>{}}),e}var wt=XT(),QT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function tO(t){return t==="http"||t==="https"}function Oa(t,e=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=t;return`${a}://${l}${e&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function eO(t){let e=QT.exec(t);if(!e){mh(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[n,r,i="",o="",s="",a=""]=e.slice(1),l="",u=a,f=u.split("/");if(f.length>1&&(l=f.slice(0,-1).join("/"),u=f.pop()),u){let d=u.match(/^\d+/);d&&(u=d[0])}return wy({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function wy(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function nO(t){if(!Io)return!0;let{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(i=>t[i]?!1:(wt.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?tO(r)?e&&isNaN(parseInt(e,10))?(wt.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(wt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(wt.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function rO(t){let e=typeof t=="string"?eO(t):wy(t);if(!(!e||!nO(e)))return e}var En=class extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}};function xe(t,e,n){if(!(e in t))return;let r=t[e],i=n(r);typeof i=="function"&&Ey(i,r),t[e]=i}function Lr(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{Io&&wt.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function Ey(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,Lr(t,"__sentry_original__",e)}catch{}}function _h(t){return t.__sentry_original__}function iO(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function xy(t){if(hh(t))return j({message:t.message,name:t.name,stack:t.stack},ad(t));if(Ca(t)){let e=j({type:t.type,target:sd(t.target),currentTarget:sd(t.currentTarget)},ad(t));return typeof CustomEvent<"u"&&Ar(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function sd(t){try{return UT(t)?by(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function ad(t){if(typeof t=="object"&&t!==null){let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function oO(t,e=40){let n=Object.keys(xy(t));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return si(r,e);for(let i=n.length;i>0;i--){let o=n.slice(0,i).join(", ");if(!(o.length>e))return i===n.length?o:si(o,e)}return""}function ln(t){return wc(t,new Map)}function wc(t,e){if(sO(t)){let n=e.get(t);if(n!==void 0)return n;let r={};e.set(t,r);for(let i of Object.keys(t))typeof t[i]<"u"&&(r[i]=wc(t[i],e));return r}if(Array.isArray(t)){let n=e.get(t);if(n!==void 0)return n;let r=[];return e.set(t,r),t.forEach(i=>{r.push(wc(i,e))}),r}return t}function sO(t){if(!fi(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}var Mr="?",ld=/\(error: (.*)\)/,cd=/captureMessage|captureException/;function aO(...t){let e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{let o=[],s=n.split(`
17
17
  `);for(let a=r;a<s.length;a++){let l=s[a];if(l.length>1024)continue;let u=ld.test(l)?l.replace(ld,"$1"):l;if(!u.match(/\S*Error: /)){for(let f of e){let d=f(u);if(d){o.push(d);break}}if(o.length>=50+i)break}}return lO(o.slice(i))}}function lO(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(Bo(e).function||"")&&e.pop(),e.reverse(),cd.test(Bo(e).function||"")&&(e.pop(),cd.test(Bo(e).function||"")&&e.pop()),e.slice(0,50).map(n=>Zt(j({},n),{filename:n.filename||Bo(e).filename,function:n.function||Mr}))}function Bo(t){return t[t.length-1]||{}}var pl="<anonymous>";function ur(t){try{return!t||typeof t!="function"?pl:t.name||pl}catch{return pl}}function ud(t){let e=t.exception;if(e){let n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}var as={},hd={};function $r(t,e){as[t]=as[t]||[],as[t].push(e)}function zr(t,e){hd[t]||(e(),hd[t]=!0)}function fn(t,e){let n=t&&as[t];if(n)for(let r of n)try{r(e)}catch(i){Io&&wt.error(`Error while triggering instrumentation handler.
18
18
  Type: ${t}
19
19
  Name: ${ur(r)}