@letscooee/web-sdk 9.10.5 → 9.10.7

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 nf(t,e){return t?e?`${t} ${e}`:t:e||""}var nw=Kt({__forward_ref__:Kt});function yg(t){return t.__forward_ref__=yg,t.toString=function(){return hn(this())},t}function Oe(t){return bg(t)?t():t}function bg(t){return typeof t=="function"&&t.hasOwnProperty(nw)&&t.__forward_ref__===yg}function pt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function gu(t){return rf(t,wg)||rf(t,Eg)}function rf(t,e){return t.hasOwnProperty(e)?t[e]:null}function rw(t){return t&&(t[wg]||t[Eg])||null}function of(t){return t&&(t.hasOwnProperty(sf)||t.hasOwnProperty(iw))?t[sf]:null}var wg=Kt({\u0275prov:Kt}),sf=Kt({\u0275inj:Kt}),Eg=Kt({ngInjectableDef:Kt}),iw=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 xg(t){return t&&!!t.\u0275providers}var ow=Kt({\u0275cmp:Kt}),sw=Kt({\u0275dir:Kt}),Sg=Kt({\u0275pipe:Kt}),ds=Kt({\u0275fac:Kt}),Fi=Kt({__NG_ELEMENT_ID__:Kt}),af=Kt({__NG_ENV_ID__:Kt});function ho(t){return typeof t=="string"?t:t==null?"":String(t)}function aw(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 lw(t,e){throw new Nt(-200,t)}function mu(t,e){throw new Nt(-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||{}),jl;function Cg(){return jl}function Pe(t){let e=jl;return jl=t,e}function Ig(t,e,n){let r=gu(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;mu(t,"Injector")}var cw={},Wi=cw,uw="__NG_DI_FLAG__",ps="ngTempTokenPath",hw="ngTokenPath",fw=/\n/gm,dw="\u0275",lf="__source",ei;function pw(){return ei}function Kn(t){let e=ei;return ei=t,e}function gw(t,e=Ot.Default){if(ei===void 0)throw new Nt(-203,!1);return ei===null?Ig(t,void 0,e):ei.get(t,e&Ot.Optional?null:void 0,e)}function Vt(t,e=Ot.Default){return(Cg()||gw)(Oe(t),e)}function P(t,e=Ot.Default){return Vt(t,Qs(e))}function Qs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Fl(t){let e=[];for(let n=0;n<t.length;n++){let r=Oe(t[n]);if(Array.isArray(r)){if(r.length===0)throw new Nt(900,!1);let i,o=Ot.Default;for(let s=0;s<r.length;s++){let a=r[s],l=mw(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}e.push(Vt(i,o))}else e.push(Vt(r))}return e}function mw(t){return t[uw]}function _w(t,e,n,r){let i=t[ps];throw e[lf]&&i.unshift(e[lf]),t.message=vw(`
14
14
  `+t.message,i,n,r),t[hw]=i,t[ps]=null,t}function vw(t,e,n,r=null){t=t&&t.charAt(0)===`
15
15
  `&&t.charAt(1)==dw?t.slice(2):t;let i=hn(e);if(Array.isArray(e))i=e.map(hn).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):hn(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(fw,`
16
- `)}`}function Cr(t,e){return t.hasOwnProperty(ds)?t[ds]:null}function yw(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 bw(t){return t.flat(Number.POSITIVE_INFINITY)}function _u(t,e){t.forEach(n=>Array.isArray(n)?_u(n,e):e(n))}function Tg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function gs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ww(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 Ew(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,ww(t,r,e,n)),r}function Za(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return xw(t,e,1)}function xw(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 Ir={},Vn=[],ms=new St(""),Og=new St("",-1),Dg=new St(""),Rg=class{get(t,e=Wi){if(e===Wi){let n=new Error(`NullInjectorError: No provider for ${hn(t)}!`);throw n.name="NullInjectorError",n}return e}};function Tr(t){return t[ow]||null}function Ng(t){return t[sw]||null}function Pg(t){return t[Sg]||null}function Sw(t){let e=Tr(t)||Ng(t)||Pg(t);return e!==null&&e.standalone}function Cw(t){return{\u0275providers:t}}function Iw(...t){return{\u0275providers:kg(!0,t),\u0275fromNgModule:!0}}function kg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return _u(e,s=>{let a=s;Bl(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Ag(i,o),n}function Ag(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];vu(i,o=>{e(o,r)})}}function Bl(t,e,n,r){if(t=Oe(t),!t)return!1;let i=null,o=of(t),s=!o&&Tr(t);if(!o&&!s){let l=t.ngModule;if(o=of(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)Bl(u,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{_u(o.imports,f=>{Bl(f,e,n,r)&&(u||=[],u.push(f))})}finally{}u!==void 0&&Ag(u,e)}if(!a){let u=Cr(i)||(()=>new i);e({provide:i,useFactory:u,deps:Vn},i),e({provide:Dg,useValue:i,multi:!0},i),e({provide:ms,useValue:()=>Vt(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)xg(n)&&(n=n.\u0275providers),Array.isArray(n)?vu(n,e):e(n)}var Tw=Kt({provide:String,useValue:Kt});function Lg(t){return t!==null&&typeof t=="object"&&Tw in t}function Ow(t){return!!(t&&t.useExisting)}function Dw(t){return!!(t&&t.useFactory)}function ai(t){return typeof t=="function"}function Rw(t){return!!t.useClass}var yu=new St(""),Qo={},Nw={},Ya;function ta(){return Ya===void 0&&(Ya=new Rg),Ya}var jn=class{},bu=class extends jn{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,Hl(t,o=>this.processProvider(o)),this.records.set(Og,Zr(void 0,this)),r.has("environment")&&this.records.set(jn,Zr(void 0,this));let i=this.records.get(yu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Dg,Vn,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=Kn(this),n=Pe(void 0),r;try{return t()}finally{Kn(e),Pe(n)}}get(t,e=Wi,n=Ot.Default){if(Ai(this),t.hasOwnProperty(af))return t[af](this);n=Qs(n);let r,i=Kn(this),o=Pe(void 0);try{if(!(n&Ot.SkipSelf)){let a=this.records.get(t);if(a===void 0){let l=Mw(t)&&gu(t);l&&this.injectableDefInScope(l)?a=Zr(Ul(t),Qo):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&Ot.Self?ta():this.parent;return e=n&Ot.Optional&&e===Wi?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[ps]=s[ps]||[]).unshift(hn(t)),i)throw s;return _w(s,t,"R3InjectorError",this.source)}else throw s}finally{Pe(o),Kn(i)}}resolveInjectorInitializers(){let t=Tt(null),e=Kn(this),n=Pe(void 0),r;try{let i=this.get(ms,Vn,Ot.Self);for(let o of i)o()}finally{Kn(e),Pe(n),Tt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(hn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Oe(t);let e=ai(t)?t:Oe(t&&t.provide),n=kw(t);if(!ai(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Zr(void 0,Qo,!0),r.factory=()=>Fl(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===Qo&&(e.value=Nw,e.value=e.factory()),typeof e.value=="object"&&e.value&&Lw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Tt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Oe(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 Ul(t){let e=gu(t),n=e!==null?e.factory:Cr(t);if(n!==null)return n;if(t instanceof St)throw new Nt(204,!1);if(t instanceof Function)return Pw(t);throw new Nt(204,!1)}function Pw(t){if(t.length>0)throw new Nt(204,!1);let e=rw(t);return e!==null?()=>e.factory(t):()=>new t}function kw(t){if(Lg(t))return Zr(void 0,t.useValue);{let e=Mg(t);return Zr(e,Qo)}}function Mg(t,e,n){let r;if(ai(t)){let i=Oe(t);return Cr(i)||Ul(i)}else if(Lg(t))r=()=>Oe(t.useValue);else if(Dw(t))r=()=>t.useFactory(...Fl(t.deps||[]));else if(Ow(t))r=()=>Vt(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if(Aw(t))r=()=>new i(...Fl(t.deps));else return Cr(i)||Ul(i)}return r}function Ai(t){if(t.destroyed)throw new Nt(205,!1)}function Zr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Aw(t){return!!t.deps}function Lw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Mw(t){return typeof t=="function"||typeof t=="object"&&t instanceof St}function Hl(t,e){for(let n of t)Array.isArray(n)?Hl(n,e):n&&xg(n)?Hl(n.\u0275providers,e):e(n)}function Vg(t,e){t instanceof bu&&Ai(t);let n,r=Kn(t),i=Pe(void 0);try{return e()}finally{Kn(r),Pe(i)}}function jg(){return Cg()!==void 0||pw()!=null}function Fg(t){if(!jg())throw new Nt(-203,!1)}function Vw(t){return typeof t=="function"}var $n=0,dt=1,mt=2,Ie=3,fn=4,yn=5,Zi=6,_s=7,ce=8,Yi=9,Fn=10,ve=11,Ki=12,cf=13,gi=14,mn=15,Or=16,Yr=17,Bn=18,po=19,Bg=20,rr=21,Ka=22,vs=23,je=24,ni=25,ae=26,Ug=1,Dr=7,ys=8,li=9,Ce=10;function An(t){return Array.isArray(t)&&typeof t[Ug]=="object"}function zn(t){return Array.isArray(t)&&t[Ug]===!0}function wu(t){return(t.flags&4)!==0}function mi(t){return t.componentOffset>-1}function ea(t){return(t.flags&1)===1}function Tn(t){return!!t.template}function bs(t){return(t[mt]&512)!==0}function go(t){return(t[mt]&256)===256}var jw=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function Hg(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var $g=(()=>{let t=()=>zg;return t.ngInherit=!0,t})();function zg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Bw),Fw}function Fw(){let t=Gg(this),e=t?.current;if(e){let n=t.previous;if(n===Ir)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Bw(t,e,n,r,i){let o=this.declaredInputs[r],s=Gg(t)||Uw(t,{previous:Ir,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new jw(u&&u.currentValue,n,l===Ir),Hg(t,e,i,n)}var qg="__ngSimpleChanges__";function Gg(t){return t[qg]||null}function Uw(t,e){return t[qg]=e}var Hw=null,zt=function(t,e=null,n){Hw?.(t,e,n)},Wg="svg",$w="math";function Be(t){for(;Array.isArray(t);)t=t[$n];return t}function Zg(t,e){return Be(e[t])}function Dn(t,e){return Be(e[t.index])}function Eu(t,e){return t.data[e]}function na(t,e){return t[e]}function Je(t,e){let n=e[t];return An(n)?n:n[$n]}function zw(t){return(t[mt]&4)===4}function xu(t){return(t[mt]&128)===128}function qw(t){return zn(t[Ie])}function sr(t,e){return e==null?null:t[e]}function Yg(t){t[Yr]=0}function Su(t){t[mt]&1024||(t[mt]|=1024,xu(t)&&mo(t))}function Gw(t,e){for(;t>0;)e=e[gi],t--;return e}function ra(t){return!!(t[mt]&9216||t[je]?.dirty)}function $l(t){t[Fn].changeDetectionScheduler?.notify(8),t[mt]&64&&(t[mt]|=1024),ra(t)&&mo(t)}function mo(t){t[Fn].changeDetectionScheduler?.notify(0);let e=Rr(t);for(;e!==null&&!(e[mt]&8192||(e[mt]|=8192,!xu(e)));)e=Rr(e)}function Kg(t,e){if(go(t))throw new Nt(911,!1);t[rr]===null&&(t[rr]=[]),t[rr].push(e)}function Ww(t,e){if(t[rr]===null)return;let n=t[rr].indexOf(e);n!==-1&&t[rr].splice(n,1)}function Rr(t){let e=t[Ie];return zn(e)?e[Ie]:e}function Xg(t){return t[_s]??=[]}function Jg(t){return t.cleanup??=[]}function Zw(t,e,n,r){let i=Xg(e);i.push(n),t.firstCreatePass&&Jg(t).push(r,i.length-1)}var yt={lFrame:sm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},zl=!1;function Yw(){return yt.lFrame.elementDepthCount}function Kw(){yt.lFrame.elementDepthCount++}function Xw(){yt.lFrame.elementDepthCount--}function Cu(){return yt.bindingsEnabled}function Jw(){return yt.skipHydrationRootTNode!==null}function Qw(t){return yt.skipHydrationRootTNode===t}function t1(){yt.skipHydrationRootTNode=null}function xt(){return yt.lFrame.lView}function pe(){return yt.lFrame.tView}function ue(t){return yt.lFrame.contextLView=t,t[ce]}function he(t){return yt.lFrame.contextLView=null,t}function He(){let t=Qg();for(;t!==null&&t.type===64;)t=t.parent;return t}function Qg(){return yt.lFrame.currentTNode}function e1(){let t=yt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ur(t,e){let n=yt.lFrame;n.currentTNode=t,n.isParent=e}function Iu(){return yt.lFrame.isParent}function tm(){yt.lFrame.isParent=!1}function em(){return yt.lFrame.contextLView}function nm(){return zl}function uf(t){let e=zl;return zl=t,e}function ia(){let t=yt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function n1(t){return yt.lFrame.bindingIndex=t}function _o(){return yt.lFrame.bindingIndex++}function r1(t){let e=yt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function i1(){return yt.lFrame.inI18n}function o1(t,e){let n=yt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ql(e)}function s1(){return yt.lFrame.currentDirectiveIndex}function ql(t){yt.lFrame.currentDirectiveIndex=t}function a1(t){let e=yt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function rm(){return yt.lFrame.currentQueryIndex}function Tu(t){yt.lFrame.currentQueryIndex=t}function l1(t){let e=t[dt];return e.type===2?e.declTNode:e.type===1?t[yn]:null}function im(t,e,n){if(n&Ot.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&Ot.Host))&&(i=l1(o),!(i===null||(o=o[gi],i.type&10))););if(i===null)return!1;e=i,t=o}let r=yt.lFrame=om();return r.currentTNode=e,r.lView=t,!0}function Ou(t){let e=om(),n=t[dt];yt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function om(){let t=yt.lFrame,e=t===null?null:t.child;return e===null?sm(t):e}function sm(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 am(){let t=yt.lFrame;return yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var lm=am;function Du(){let t=am();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 c1(t){return(yt.lFrame.contextLView=Gw(t,yt.lFrame.contextLView))[ce]}function hr(){return yt.lFrame.selectedIndex}function Nr(t){yt.lFrame.selectedIndex=t}function Ru(){let t=yt.lFrame;return Eu(t.tView,t.selectedIndex)}function ar(){yt.lFrame.currentNamespace=Wg}function ws(){u1()}function u1(){yt.lFrame.currentNamespace=null}function h1(){return yt.lFrame.currentNamespace}var cm=!0;function oa(){return cm}function sa(t){cm=t}function f1(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=zg(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 Nu(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 ts(t,e,n){um(t,e,3,n)}function es(t,e,n,r){(t[mt]&3)===n&&um(t,e,n,r)}function Xa(t,e){let n=t[mt];(n&3)===e&&(n&=16383,n+=1,t[mt]=n)}function um(t,e,n,r){let i=r!==void 0?t[Yr]&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[Yr]+=65536),(a<o||o==-1)&&(d1(t,n,e,l),t[Yr]=(t[Yr]&4294901760)+l+2),l++}function hf(t,e){zt(4,t,e);let n=Tt(null);try{e.call(t)}finally{Tt(n),zt(5,t,e)}}function d1(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[Yr]>>16&&(t[mt]&3)===e&&(t[mt]+=16384,hf(a,o)):hf(a,o)}var ri=-1,vo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function p1(t){return t instanceof vo}function g1(t){return(t.flags&8)!==0}function m1(t){return(t.flags&16)!==0}function _1(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];y1(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 y1(t){return t.charCodeAt(0)===64}function ci(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?ff(t,n,i,null,e[++r]):ff(t,n,i,null,null))}}return t}function ff(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 Ja={},b1=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=Qs(n);let r=this.injector.get(t,Ja,n);return r!==Ja||e===Ja?r:this.parentInjector.get(t,e,n)}};function hm(t){return t!==ri}function Es(t){return t&32767}function w1(t){return t>>16}function xs(t,e){let n=w1(t),r=e;for(;n>0;)r=r[gi],n--;return r}var Gl=!0;function Ss(t){let e=Gl;return Gl=t,e}var E1=256,fm=E1-1,dm=5,x1=0,Cn={};function S1(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=x1++);let i=r&fm,o=1<<i;e.data[t+(i>>dm)]|=o}function Cs(t,e){let n=pm(t,e);if(n!==-1)return n;let r=e[dt];r.firstCreatePass&&(t.injectorIndex=e.length,Qa(r.data,t),Qa(e,null),Qa(r.blueprint,null));let i=Pu(t,e),o=t.injectorIndex;if(hm(i)){let s=Es(i),a=xs(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 Qa(t,e){t.push(0,0,0,0,0,0,0,0,e)}function pm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Pu(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=bm(i),r===null)return ri;if(n++,i=i[gi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ri}function Wl(t,e,n){S1(t,e,n)}function gm(t,e,n){if(n&Ot.Optional||t!==void 0)return t;mu(e,"NodeInjector")}function mm(t,e,n,r){if(n&Ot.Optional&&r===void 0&&(r=null),(n&(Ot.Self|Ot.Host))===0){let i=t[Yi],o=Pe(void 0);try{return i?i.get(e,r,n&Ot.Optional):Ig(e,r,n&Ot.Optional)}finally{Pe(o)}}return gm(r,e,n)}function _m(t,e,n,r=Ot.Default,i){if(t!==null){if(e[mt]&2048&&!(r&Ot.Self)){let s=O1(t,e,n,r,Cn);if(s!==Cn)return s}let o=vm(t,e,n,r,Cn);if(o!==Cn)return o}return mm(e,n,r,i)}function vm(t,e,n,r,i){let o=I1(n);if(typeof o=="function"){if(!im(e,t,r))return r&Ot.Host?gm(i,n,r):mm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Ot.Optional))mu(n);else return s}finally{lm()}}else if(typeof o=="number"){let s=null,a=pm(t,e),l=ri,u=r&Ot.Host?e[mn][yn]:null;for((a===-1||r&Ot.SkipSelf)&&(l=a===-1?Pu(t,e):e[a+8],l===ri||!pf(r,!1)?a=-1:(s=e[dt],a=Es(l),e=xs(l,e)));a!==-1;){let f=e[dt];if(df(o,a,f.data)){let d=C1(a,e,n,s,r,u);if(d!==Cn)return d}l=e[a+8],l!==ri&&pf(r,e[dt].data[a+8]===u)&&df(o,a,e)?(s=f,a=Es(l),e=xs(l,e)):a=-1}}return i}function C1(t,e,n,r,i,o){let s=e[dt],a=s.data[t+8],l=r==null?mi(a)&&Gl:r!=s&&(a.type&3)!==0,u=i&Ot.Host&&o===a,f=ns(a,s,n,l,u);return f!==null?Xi(e,s,f,a):Cn}function ns(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 y=d;y<_;y++){let x=s[y];if(y<l&&n===x||y>=l&&x.type===n)return y}if(i){let y=s[l];if(y&&Tn(y)&&y.type===n)return l}return null}function Xi(t,e,n,r){let i=t[n],o=e.data;if(p1(i)){let s=i;s.resolving&&lw(aw(o[n]));let a=Ss(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Pe(s.injectImpl):null,f=im(t,r,Ot.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&f1(n,o[n],e)}finally{u!==null&&Pe(u),Ss(a),s.resolving=!1,lm()}}return i}function I1(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&fm:T1:e}function df(t,e,n){let r=1<<t;return!!(n[e+(t>>dm)]&r)}function pf(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 _m(this._tNode,this._lView,t,Qs(n),e)}};function T1(){return new Bi(He(),xt())}function ym(t){return pu(()=>{let e=t.prototype.constructor,n=e[ds]||Zl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ds]||Zl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Zl(t){return bg(t)?()=>{let e=Zl(Oe(t));return e&&e()}:Cr(t)}function O1(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[mt]&2048&&!bs(s);){let a=vm(o,s,n,r|Ot.Self,Cn);if(a!==Cn)return a;let l=o.parent;if(!l){let u=s[Bg];if(u){let f=u.get(n,Cn,r);if(f!==Cn)return f}l=bm(s),s=s[gi]}o=l}return i}function bm(t){let e=t[dt],n=e.type;return n===2?e.declTNode:n===1?t[yn]:null}function gf(t,e=null,n=null,r){let i=D1(t,e,n,r);return i.resolveInjectorInitializers(),i}function D1(t,e=null,n=null,r,i=new Set){let o=[n||Vn,Iw(t)];return r=r||(typeof t=="object"?void 0:hn(t)),new bu(o,e||ta(),r||null,i)}var De=class wm{static THROW_IF_NOT_FOUND=Wi;static NULL=new Rg;static create(e,n){if(Array.isArray(e))return gf({name:""},n,e,"");{let r=e.name??"";return gf({name:r},e.parent,e.providers,r)}}static \u0275prov=pt({token:wm,providedIn:"any",factory:()=>Vt(Og)});static __NG_ELEMENT_ID__=-1},R1=new St("");R1.__NG_ELEMENT_ID__=t=>{let e=He();if(e===null)throw new Nt(204,!1);if(e.type&2)return e.value;if(t&Ot.Optional)return null;throw new Nt(204,!1)};var Em=!1,ku=(()=>{class t{static __NG_ELEMENT_ID__=P1;static __NG_ENV_ID__=n=>n}return t})(),N1=class extends ku{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Kg(this._lView,t),()=>Ww(this._lView,t)}};function P1(){return new N1(xt())}var _i=class{},Au=new St("",{providedIn:"root",factory:()=>!1}),xm=new St(""),Lu=new St(""),aa=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new au(!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})(),k1=class extends vt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jg()&&(this.destroyRef=P(ku,{optional:!0})??void 0,this.pendingTasks=P(aa,{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)})}}},Xt=k1;function Is(...t){}function Sm(t){let e,n;function r(){t=Is;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 mf(t){return queueMicrotask(()=>t()),()=>{t=Is}}var Mu="isAngularZone",Ts=Mu+"_ID",A1=0,Wt=class Yl{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xt(!1);onMicrotaskEmpty=new Xt(!1);onStable=new Xt(!1);onError=new Xt(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Em}=e;if(typeof Zone>"u")throw new Nt(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,V1(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Mu)===!0}static assertInAngularZone(){if(!Yl.isInAngularZone())throw new Nt(909,!1)}static assertNotInAngularZone(){if(Yl.isInAngularZone())throw new Nt(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,L1,Is,Is);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)}},L1={};function Vu(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 M1(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Sm(()=>{t.callbackScheduled=!1,Kl(t),t.isCheckStableRunning=!0,Vu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Kl(t)}function V1(t){let e=()=>{M1(t)},n=A1++;t._inner=t._inner.fork({name:"angular",properties:{[Mu]:!0,[Ts]:n,[Ts+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(j1(l))return r.invokeTask(o,s,a,l);try{return _f(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),vf(t)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return _f(t),r.invoke(o,s,a,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!F1(l)&&e(),vf(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Kl(t),Vu(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 Kl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function _f(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vf(t){t._nesting--,Vu(t)}var Cm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xt;onMicrotaskEmpty=new Xt;onStable=new Xt;onError=new Xt;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 j1(t){return Im(t,"__ignore_ng_zone__")}function F1(t){return Im(t,"__scheduler_tick__")}function Im(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)}},B1=new St("",{providedIn:"root",factory:()=>{let t=P(Wt),e=P(vi);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function U1(){return yi(He(),xt())}function yi(t,e){return new Le(Dn(t,e))}var Le=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=U1}return t})();function H1(t){return t instanceof Le?t.nativeElement:t}function Ln(t,e){let n=W0(t),r=n[er];return e?.equal&&(r.equal=e.equal),n.set=i=>qp(r,i),n.update=i=>Z0(r,i),n.asReadonly=$1.bind(n),n}function $1(){let t=this[er];if(t.readonlyFn===void 0){let e=()=>this();e[er]=t,t.readonlyFn=e}return t.readonlyFn}function z1(){return this._results[Symbol.iterator]()}var q1=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 vt}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=bw(t);(this._changesDetected=!yw(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]=z1};function Tm(t){return(t.flags&128)===128}var Om=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Om||{}),ju=new Map,G1=0;function W1(){return G1++}function Z1(t){ju.set(t[po],t)}function Dm(t){return ju.get(t)||null}function Xl(t){ju.delete(t[po])}var Y1=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Dm(this.lViewId)}constructor(t,e,n){this.lViewId=t,this.nodeIndex=e,this.native=n}};function K1(t){let e=tl(t);if(e){if(An(e)){let n=e,r,i,o;if(Rm(t)){if(r=Q1(n,t),r==-1)throw new Error("The provided component was not found in the application");i=t}else if(X1(t)){if(r=tE(n,t),r==-1)throw new Error("The provided directive was not found in the application");o=eE(r,n)}else if(r=bf(n,t),r==-1)return null;let s=Be(n[r]),a=tl(s),l=a&&!Array.isArray(a)?a:yf(n,r,s);if(i&&l.component===void 0&&(l.component=i,In(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)In(o[u],l)}In(l.native,l),e=l}}else{let n=t,r=n;for(;r=r.parentNode;){let i=tl(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=bf(o,n);if(s>=0){let a=Be(o[s]),l=yf(o,s,a);In(a,l),e=l;break}}}}return e||null}function yf(t,e,n){return new Y1(t[po],e,n)}var Jl="__ngContext__";function In(t,e){An(e)?(t[Jl]=e[po],Z1(e)):t[Jl]=e}function tl(t){let e=t[Jl];return typeof e=="number"?Dm(e):e||null}function Rm(t){return t&&t.constructor&&t.constructor.\u0275cmp}function X1(t){return t&&t.constructor&&t.constructor.\u0275dir}function bf(t,e){let n=t[dt];for(let r=ae;r<n.bindingStartIndex;r++)if(Be(t[r])===e)return r;return-1}function J1(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 Q1(t,e){let n=t[dt].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(Je(i,t)[ce]===e)return i}else if(Je(ae,t)[ce]===e)return ae;return-1}function tE(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=J1(n)}return-1}function eE(t,e){let n=e[dt].data[t];if(n.directiveStart===0)return Vn;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=e[i];Rm(o)||r.push(o)}return r}function Nm(t){return km(t[Ki])}function Pm(t){return km(t[fn])}function km(t){for(;t!==null&&!zn(t);)t=t[fn];return t}var Ql;function nE(t){Ql=t}function Am(){if(Ql!==void 0)return Ql;if(typeof document<"u")return document;throw new Nt(210,!1)}var Fu=new St("",{providedIn:"root",factory:()=>rE}),rE="ng",Lm=new St(""),la=new St("",{providedIn:"platform",factory:()=>"unknown"}),iE=new St(""),Mm=new St("",{providedIn:"root",factory:()=>Am().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),oE="h",sE="b",Vm=!1,aE=new St("",{providedIn:"root",factory:()=>Vm}),Bu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Bu||{}),yo=new St(""),wf=new Set;function Fr(t){wf.has(t)||(wf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var jm=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=lE}return t})();function lE(){return new jm(xt(),He())}var Kr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Kr||{}),Fm=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),cE=[Kr.EarlyRead,Kr.Write,Kr.MixedReadWrite,Kr.Read],uE=(()=>{class t{ngZone=P(Wt);scheduler=P(_i);errorHandler=P(vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(yo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&zt(16),this.executing=!0;for(let r of cE)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[ni]??=[]).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(Bu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),hE=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?.[ni];t&&(this.view[ni]=t.filter(e=>e!==this))}};function Bm(t,e){!e?.injector&&Fg(Bm);let n=e?.injector??P(De);return Fr("NgAfterRender"),Um(t,n,e,!1)}function bo(t,e){!e?.injector&&Fg(bo);let n=e?.injector??P(De);return Fr("NgAfterNextRender"),Um(t,n,e,!0)}function fE(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 Um(t,e,n,r){let i=e.get(Fm);i.impl??=e.get(uE);let o=e.get(yo,null,{optional:!0}),s=n?.phase??Kr.MixedReadWrite,a=n?.manualCleanup!==!0?e.get(ku):null,l=e.get(jm,null,{optional:!0}),u=new hE(i.impl,fE(t,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var dE=()=>null;function Hm(t,e,n=!1){return dE(t,e,n)}function $m(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];Tu(o),a.contentQueries(2,e[s],s)}}}finally{Tt(r)}}}function tc(t,e,n){Tu(0);let r=Tt(null);try{e(t,n)}finally{Tt(r)}}function Uu(t,e,n){if(wu(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 kn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(kn||{}),Ao;function pE(){if(Ao===void 0&&(Ao=null,Gi.trustedTypes))try{Ao=Gi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ao}function ca(t){return pE()?.createHTML(t)||t}var Lo;function gE(){if(Lo===void 0&&(Lo=null,Gi.trustedTypes))try{Lo=Gi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Lo}function Ef(t){return gE()?.createHTML(t)||t}var Br=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vg})`}},mE=class extends Br{getTypeName(){return"HTML"}},_E=class extends Br{getTypeName(){return"Style"}},vE=class extends Br{getTypeName(){return"Script"}},yE=class extends Br{getTypeName(){return"URL"}},bE=class extends Br{getTypeName(){return"ResourceURL"}};function tr(t){return t instanceof Br?t.changingThisBreaksApplicationSecurity:t}function vr(t,e){let n=wE(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${vg})`)}return n===e}function wE(t){return t instanceof Br&&t.getTypeName()||null}function EE(t){return new mE(t)}function xE(t){return new _E(t)}function SE(t){return new vE(t)}function CE(t){return new yE(t)}function IE(t){return new bE(t)}function TE(t){let e=new DE(t);return RE()?new OE(e):e}var OE=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(ca(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},DE=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=ca(t),e}};function RE(){try{return!!new window.DOMParser().parseFromString(ca(""),"text/html")}catch{return!1}}var NE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hu(t){return t=String(t),t.match(NE)?t:"unsafe:"+t}function qn(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 zm=qn("area,br,col,hr,img,wbr"),qm=qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gm=qn("rp,rt"),PE=wo(Gm,qm),kE=wo(qm,qn("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")),AE=wo(Gm,qn("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")),xf=wo(zm,kE,AE,PE),Wm=qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LE=qn("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"),ME=qn("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"),VE=wo(Wm,LE,ME),jE=qn("script,style,template"),FE=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=HE(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=UE(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Sf(t).toLowerCase();if(!xf.hasOwnProperty(e))return this.sanitizedSomething=!0,!jE.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(!VE.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;Wm[s]&&(a=Hu(a)),this.buf.push(" ",o,'="',Cf(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Sf(t).toLowerCase();xf.hasOwnProperty(e)&&!zm.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Cf(t))}};function BE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function UE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function HE(t){let e=t.firstChild;if(e&&BE(t,e))throw Zm(e);return e}function Sf(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var $E=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function Cf(t){return t.replace(/&/g,"&amp;").replace($E,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(zE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Mo;function Ym(t,e){let n=null;try{Mo=Mo||TE(t);let r=e?String(e):"";n=Mo.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=Mo.getInertBodyElement(r)}while(r!==o);let s=new FE().sanitizeChildren(If(n)||n);return ca(s)}finally{if(n){let r=If(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function If(t){return"content"in t&&qE(t)?t.content:null}function qE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Pn=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}(Pn||{});function Ur(t){let e=Km();return e?Ef(e.sanitize(Pn.HTML,t)||""):vr(t,"HTML")?Ef(tr(t)):Ym(Am(),ho(t))}function rn(t){let e=Km();return e?e.sanitize(Pn.URL,t)||"":vr(t,"URL")?tr(t):Hu(ho(t))}function Km(){let t=xt();return t&&t[Fn].sanitizer}var GE=/^>|^->|<!--|-->|--!>|<!-$/g,WE=/(<|>)/g,ZE="\u200B$1\u200B";function YE(t){return t.replace(GE,e=>e.replace(WE,ZE))}function KE(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 Xm="ng-template";function JE(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($u(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 $u(t){return t.type===4&&t.value!==Xm}function QE(t,e,n){let r=t.type===4&&!n?Xm:t.value;return e===r}function tx(t,e,n){let r=4,i=t.attrs,o=i!==null?rx(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!==""&&!QE(t,l,n)||l===""&&e.length===1){if(an(r))return!1;s=!0}}else if(r&8){if(i===null||!JE(t,i,l,n)){if(an(r))return!1;s=!0}}else{let u=e[++a],f=ex(l,i,$u(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 ex(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 ix(e,t)}function nx(t,e,n=!1){for(let r=0;r<e.length;r++)if(tx(t,e[r],n))return!0;return!1}function rx(t){for(let e=0;e<t.length;e++){let n=t[e];if(v1(n))return e}return t.length}function ix(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 Tf(t,e){return t?":not("+e.trim()+")":e}function ox(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+=Tf(o,i),i=""),r=s,o=o||!an(r);n++}return i!==""&&(e+=Tf(o,i)),e}function sx(t){return t.map(ox).join(",")}function ax(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 Gn={};function lx(t,e){return t.createText(e)}function cx(t,e,n){t.setValue(e,n)}function ux(t,e){return t.createComment(YE(e))}function Jm(t,e,n){return t.createElement(e,n)}function Os(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Qm(t,e,n){t.appendChild(e,n)}function Of(t,e,n,r,i){r!==null?Os(t,e,n,r,i):Qm(t,e,n)}function hx(t,e,n){t.removeChild(null,e,n)}function fx(t,e,n){t.setAttribute(e,"style",n)}function dx(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function t_(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&_1(t,e,r),i!==null&&dx(t,e,i),o!==null&&fx(t,e,o)}function zu(t,e,n,r,i,o,s,a,l,u,f){let d=ae+r,_=d+i,y=px(d,_),x=typeof u=="function"?u():u;return y[dt]={type:t,blueprint:y,template:n,queries:null,viewQuery:a,declTNode:e,data:y.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 px(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Gn);return n}function gx(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=zu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function qu(t,e,n,r,i,o,s,a,l,u,f){let d=e.blueprint.slice();return d[$n]=i,d[mt]=r|4|128|8|64|1024,(u!==null||t&&t[mt]&2048)&&(d[mt]|=2048),Yg(d),d[Ie]=d[gi]=t,d[ce]=n,d[Fn]=s||t&&t[Fn],d[ve]=a||t&&t[ve],d[Yi]=l||t&&t[Yi]||null,d[yn]=o,d[po]=W1(),d[Zi]=f,d[Bg]=u,d[mn]=e.type==2?t[mn]:d,d}function mx(t,e,n){let r=Dn(e,t),i=gx(n),o=t[Fn].rendererFactory,s=Gu(t,qu(t,i,null,e_(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function e_(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function n_(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 Gu(t,e){return t[Ki]?t[cf][fn]=e:t[Ki]=e,t[cf]=e,e}function Y(t=1){r_(pe(),xt(),hr()+t,!1)}function r_(t,e,n,r){if(!r)if((e[mt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&ts(e,i,n)}else{let i=t.preOrderHooks;i!==null&&es(e,i,0,n)}Nr(n)}var ua=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ua||{});function ec(t,e,n,r){let i=Tt(null);try{let[o,s,a]=t.inputs[n],l=null;(s&ua.SignalBased)!==0&&(l=e[o][er]),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):Hg(e,l,o,r)}finally{Tt(i)}}function i_(t,e,n,r,i){let o=hr(),s=r&2;try{Nr(-1),s&&e.length>ae&&r_(t,e,ae,!1),zt(s?2:0,i),n(r,i)}finally{Nr(o),zt(s?3:1,i)}}function ha(t,e,n){Ex(t,e,n),(n.flags&64)===64&&xx(t,e,n)}function Wu(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 _x(t,e,n,r){let i=r.get(aE,Vm)||n===kn.ShadowDom,o=t.selectRootElement(e,i);return vx(o),o}function vx(t){yx(t)}var yx=()=>null;function bx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function o_(t,e,n,r,i,o,s,a){if(!a&&Yu(e,t,n,r,i)){mi(e)&&wx(n,e.index);return}if(e.type&3){let l=Dn(e,n);r=bx(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(l,r,i)}else e.type&12}function wx(t,e){let n=Je(e,t);n[mt]&16||(n[mt]|=64)}function Ex(t,e,n){let r=n.directiveStart,i=n.directiveEnd;mi(n)&&mx(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Cs(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=Xi(e,t,s,n);if(In(l,e),o!==null&&Tx(e,s-r,l,a,n,o),Tn(a)){let u=Je(n.index,e);u[ce]=Xi(e,t,s,n)}}}function xx(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=s1();try{Nr(o);for(let a=r;a<i;a++){let l=t.data[a],u=e[a];ql(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Sx(l,u)}}finally{Nr(-1),ql(s)}}function Sx(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Zu(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];nx(e,o.selectors,!1)&&(r??=[],Tn(o)?r.unshift(o):r.push(o))}return r}function Cx(t,e,n,r,i,o){let s=Dn(t,e);Ix(e[ve],s,o,t.value,n,r,i)}function Ix(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 Tx(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];ec(r,n,l,u)}}function s_(t,e){let n=t[Yi],r=n?n.get(vi,null):null;r&&r.handleError(e)}function Yu(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];ec(d,n[u],f,i),a=!0}if(o)for(let l of o){let u=n[l],f=e.data[l];ec(f,u,r,i),a=!0}return a}function Ox(t,e){let n=Je(e,t),r=n[dt];Dx(r,n);let i=n[$n];i!==null&&n[Zi]===null&&(n[Zi]=Hm(i,n[Yi])),zt(18),Ku(r,n,n[ce]),zt(19,n[ce])}function Dx(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ku(t,e,n){Ou(e);try{let r=t.viewQuery;r!==null&&tc(1,r,n);let i=t.template;i!==null&&i_(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Bn]?.finishViewCreation(t),t.staticContentQueries&&$m(t,e),t.staticViewQueries&&tc(2,t.viewQuery,n);let o=t.components;o!==null&&Rx(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[mt]&=-5,Du()}}function Rx(t,e){for(let n=0;n<e.length;n++)Ox(t,e[n])}function fa(t,e,n,r){let i=Tt(null);try{let o=e.tView,s=t[mt]&4096?4096:16,a=qu(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[e.index];a[Or]=l;let u=t[Bn];return u!==null&&(a[Bn]=u.createEmbeddedView(o)),Ku(o,a,n),a}finally{Tt(i)}}function Ji(t,e){return!e||e.firstChild===null||Tm(t)}var Nx;function Xu(t,e){return Nx(t,e)}var br=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(br||{});function a_(t){return(t.flags&32)===32}function Xr(t,e,n,r,i){if(r!=null){let o,s=!1;zn(r)?o=r:An(r)&&(s=!0,r=r[$n]);let a=Be(r);t===0&&n!==null?i==null?Qm(e,n,a):Os(e,n,a,i||null,!0):t===1&&n!==null?Os(e,n,a,i||null,!0):t===2?hx(e,a,s):t===3&&e.destroyNode(a),o!=null&&$x(e,t,o,n,i)}}function Px(t,e){l_(t,e),e[$n]=null,e[yn]=null}function kx(t,e,n,r,i,o){r[$n]=i,r[yn]=e,ga(t,r,n,1,i,o)}function l_(t,e){e[Fn].changeDetectionScheduler?.notify(9),ga(t,e,e[ve],2,null,null)}function Ax(t){let e=t[Ki];if(!e)return el(t[dt],t);for(;e;){let n=null;if(An(e))n=e[Ki];else{let r=e[Ce];r&&(n=r)}if(!n){for(;e&&!e[fn]&&e!==t;)An(e)&&el(e[dt],e),e=e[Ie];e===null&&(e=t),An(e)&&el(e[dt],e),n=e&&e[fn]}e=n}}function Ju(t,e){let n=t[li],r=n.indexOf(e);n.splice(r,1)}function da(t,e){if(go(e))return;let n=e[ve];n.destroyNode&&ga(t,e,n,3,null,null),Ax(e)}function el(t,e){if(go(e))return;let n=Tt(null);try{e[mt]&=-129,e[mt]|=256,e[je]&&Fp(e[je]),Mx(t,e),Lx(t,e),e[dt].type===1&&e[ve].destroy();let r=e[Or];if(r!==null&&zn(e[Ie])){r!==e[Ie]&&Ju(r,e);let i=e[Bn];i!==null&&i.detachView(t)}Xl(e)}finally{Tt(n)}}function Lx(t,e){let n=t.cleanup,r=e[_s];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[_s]=null);let i=e[rr];if(i!==null){e[rr]=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 Mx(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 vo)){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 Vx(t,e,n){return jx(t,e.parent,n)}function jx(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[$n];if(mi(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===kn.None||i===kn.Emulated)return null}return Dn(r,n)}function Fx(t,e,n){return Ux(t,e,n)}function Bx(t,e,n){return t.type&40?Dn(t,n):null}var Ux=Bx,Df;function pa(t,e,n,r){let i=Vx(t,r,e),o=e[ve],s=r.parent||e[yn],a=Fx(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Of(o,i,n[l],a,!1);else Of(o,i,n,a,!1);Df!==void 0&&Df(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 nc(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Li(t,r);{let i=t[e.index];return zn(i)?nc(-1,i):Be(i)}}else{if(n&128)return Li(t,e.next);if(n&32)return Xu(e,t)()||Be(t[e.index]);{let r=c_(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=Rr(t[mn]);return Li(i,r)}else return Li(t,e.next)}}}return null}function c_(t,e){if(e!==null){let n=t[mn][yn],r=e.projection;return n.projection[r]}return null}function nc(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[Dr]}function Qu(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&&In(Be(a),r),n.flags|=2),!a_(n))if(l&8)Qu(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?Hx(t,e,r,n,i,o):Xr(e,t,i,a,o);n=s?n.projectionNext:n.next}}function ga(t,e,n,r,i,o){Qu(n,r,t.firstChild,e,i,o,!1)}function Hx(t,e,n,r,i,o){let s=n[mn],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];Tm(r)&&(l.flags|=128),Qu(t,e,l,u,i,o,!0)}}function $x(t,e,n,r,i){let o=n[Dr],s=Be(n);o!==s&&Xr(e,t,r,o,i);for(let a=Ce;a<n.length;a++){let l=n[a];ga(l[dt],l,t,e,r,o)}}function zx(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:br.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=br.Important),t.setStyle(n,r,i,o))}}function Ds(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(Be(o)),zn(o)&&qx(o,r);let s=n.type;if(s&8)Ds(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=c_(e,n);if(Array.isArray(a))r.push(...a);else{let l=Rr(e[mn]);Ds(l[dt],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function qx(t,e){for(let n=Ce;n<t.length;n++){let r=t[n],i=r[dt].firstChild;i!==null&&Ds(r[dt],r,i,e)}t[Dr]!==t[$n]&&e.push(t[Dr])}function u_(t){if(t[ni]!==null){for(let e of t[ni])e.impl.addSequence(e);t[ni].length=0}}var h_=[];function Gx(t){return t[je]??Wx(t)}function Wx(t){let e=h_.pop()??Object.create(Yx);return e.lView=t,e}function Zx(t){t.lView[je]!==t&&(t.lView=null,h_.push(t))}var Yx=Zt(j({},ru),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[je]=this}});function Kx(t){let e=t[je]??Object.create(Xx);return e.lView=t,e}var Xx=Zt(j({},ru),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Rr(t.lView);for(;e&&!f_(e[dt]);)e=Rr(e);e&&Su(e)},consumerOnSignalRead(){this.lView[je]=this}});function f_(t){return t.type!==2}function d_(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 Jx=100;function p_(t,e=!0,n=0){let r=t[Fn].rendererFactory,i=!1;i||r.begin?.();try{Qx(t,n)}catch(o){throw e&&s_(t,o),o}finally{i||r.end?.()}}function Qx(t,e){let n=nm();try{uf(!0),rc(t,e);let r=0;for(;ra(t);){if(r===Jx)throw new Nt(103,!1);r++,rc(t,1)}}finally{uf(n)}}function tS(t,e,n,r){if(go(e))return;let i=e[mt],o=!1,s=!1;Ou(e);let a=!0,l=null,u=null;o||(f_(t)?(u=Gx(e),l=Yh(u)):j0()===null?(a=!1,u=Kx(e),l=Yh(u)):e[je]&&(Fp(e[je]),e[je]=null));try{Yg(e),n1(t.bindingStartIndex),n!==null&&i_(t,e,n,2,r);let f=(i&3)===3;if(!o)if(f){let y=t.preOrderCheckHooks;y!==null&&ts(e,y,null)}else{let y=t.preOrderHooks;y!==null&&es(e,y,0,null),Xa(e,0)}if(s||eS(e),d_(e),g_(e,0),t.contentQueries!==null&&$m(t,e),!o)if(f){let y=t.contentCheckHooks;y!==null&&ts(e,y)}else{let y=t.contentHooks;y!==null&&es(e,y,1),Xa(e,1)}rS(t,e);let d=t.components;d!==null&&__(e,d,0);let _=t.viewQuery;if(_!==null&&tc(2,_,r),!o)if(f){let y=t.viewCheckHooks;y!==null&&ts(e,y)}else{let y=t.viewHooks;y!==null&&es(e,y,2),Xa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ka]){for(let y of e[Ka])y();e[Ka]=null}o||(u_(e),e[mt]&=-73)}catch(f){throw o||mo(e),f}finally{u!==null&&($0(u,l),a&&Zx(u)),Du()}}function g_(t,e){for(let n=Nm(t);n!==null;n=Pm(n))for(let r=Ce;r<n.length;r++){let i=n[r];m_(i,e)}}function eS(t){for(let e=Nm(t);e!==null;e=Pm(e)){if(!(e[mt]&2))continue;let n=e[li];for(let r=0;r<n.length;r++){let i=n[r];Su(i)}}}function nS(t,e,n){zt(18);let r=Je(e,t);m_(r,n),zt(19,r[ce])}function m_(t,e){xu(t)&&rc(t,e)}function rc(t,e){let n=t[dt],r=t[mt],i=t[je],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&jp(i)),o||=!1,i&&(i.dirty=!1),t[mt]&=-9217,o)tS(n,t,n.template,t[ce]);else if(r&8192){d_(t),g_(t,1);let s=n.components;s!==null&&__(t,s,1),u_(t)}}function __(t,e,n){for(let r=0;r<e.length;r++)nS(t,e[r],n)}function rS(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)Nr(~i);else{let o=i,s=n[++r],a=n[++r];o1(s,o);let l=e[o];zt(24,l),a(2,l),zt(25,l)}}}finally{Nr(-1)}}function th(t,e){let n=nm()?64:1088;for(t[Fn].changeDetectionScheduler?.notify(e);t;){t[mt]|=n;let r=Rr(t);if(bs(t)&&!r)return t;t=r}return null}function v_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function y_(t,e){let n=Ce+e;if(n<t.length)return t[n]}function ma(t,e,n,r=!0){let i=e[dt];if(iS(i,e,t,n),r){let s=nc(n,t),a=e[ve],l=a.parentNode(t[Dr]);l!==null&&kx(i,t[yn],a,e,l,s)}let o=e[Zi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function b_(t,e){let n=Qi(t,e);return n!==void 0&&da(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[Or];i!==null&&i!==t&&Ju(i,r),e>0&&(t[n-1][fn]=r[fn]);let o=gs(t,Ce+e);Px(r[dt],r);let s=o[Bn];s!==null&&s.detachView(o[dt]),r[Ie]=null,r[fn]=null,r[mt]&=-129}return r}function iS(t,e,n,r){let i=Ce+r,o=n.length;r>0&&(n[i-1][fn]=e),r<o-Ce?(e[fn]=n[i],Tg(n,Ce+r,e)):(n.push(e),e[fn]=null),e[Ie]=n;let s=e[Or];s!==null&&n!==s&&w_(s,e);let a=e[Bn];a!==null&&a.insertView(t),$l(e),e[mt]|=128}function w_(t,e){let n=t[li],r=e[Ie];if(An(r))t[mt]|=2;else{let i=r[Ie][mn];e[mn]!==i&&(t[mt]|=2)}n===null?t[li]=[e]:n.push(e)}var to=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[dt];return Ds(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[ce]}get dirty(){return!!(this._lView[mt]&9280)||!!this._lView[je]?.dirty}set context(t){this._lView[ce]=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(zn(t)){let e=t[ys],n=e?e.indexOf(this):-1;n>-1&&(Qi(t,n),gs(e,n))}this._attachedToViewContainer=!1}da(this._lView[dt],this._lView)}onDestroy(t){Kg(this._lView,t)}markForCheck(){th(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Su(this._cdRefInjectingView||this._lView)}detach(){this._lView[mt]&=-129}reattach(){$l(this._lView),this._lView[mt]|=128}detectChanges(){this._lView[mt]|=1024,p_(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Nt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bs(this._lView),e=this._lView[Or];e!==null&&!t&&Ju(e,this._lView),l_(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Nt(902,!1);this._appRef=t;let e=bs(this._lView),n=this._lView[Or];n!==null&&!e&&w_(n,this._lView),$l(this._lView)}},eo=(()=>{class t{static __NG_ELEMENT_ID__=aS}return t})(),oS=eo,sS=class extends oS{_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=fa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new to(r)}};function aS(){return _a(He(),xt())}function _a(t,e){return t.type&4?new sS(e,t,yi(t,e)):null}function Eo(t,e,n,r,i){let o=t.data[e];if(o===null)o=lS(t,e,n,r,i),i1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=e1();o.injectorIndex=s===null?-1:s.injectorIndex}return ur(o,!0),o}function lS(t,e,n,r,i){let o=Qg(),s=Iu(),a=s?o:o&&o.parent,l=t.data[e]=uS(t,a,n,e,r,i);return cS(t,l,o,s),l}function cS(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 uS(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return Jw()&&(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+)*(${sE}|${oE})*(.*)`),hS=()=>null;function no(t,e){return hS(t,e)}var fS=class{},E_=class{},dS=class{resolveComponentFactory(t){throw Error(`No component factory found for ${hn(t)}.`)}},xo=class{static NULL=new dS},bn=class{},x_=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>pS()}return t})();function pS(){let t=xt(),e=He(),n=Je(e.index,t);return(An(n)?n:t)[ve]}var gS=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>null})}return t})();function ic(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=nf(i,a);else if(o==2){let l=a,u=e[++s];r=nf(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 Vt(t,e);let r=He();return _m(r,n,Oe(t),e)}function eh(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=_S(s);f===null?a=s:[a,l,u]=f,bS(t,e,n,a,o,l,u)}o!==null&&r!==null&&mS(n,r,o)}function mS(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 Nt(-301,!1);r.push(e[i],o)}}function _S(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 yS(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function bS(t,e,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let y=r[_];!l&&Tn(y)&&(l=!0,yS(t,n,_)),Wl(Cs(n,e),t,y.type)}IS(n,t.data.length,a);for(let _=0;_<a;_++){let y=r[_];y.providersResolver&&y.providersResolver(y)}let u=!1,f=!1,d=n_(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let y=r[_];if(n.mergedAttrs=ci(n.mergedAttrs,y.hostAttrs),ES(t,n,e,d,y),CS(d,y,i),s!==null&&s.has(y)){let[I,V]=s.get(y);n.directiveToIndex.set(y.type,[d,I+n.directiveStart,V+n.directiveStart])}else(o===null||!o.has(y))&&n.directiveToIndex.set(y.type,d);y.contentQueries!==null&&(n.flags|=4),(y.hostBindings!==null||y.hostAttrs!==null||y.hostVars!==0)&&(n.flags|=64);let x=y.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++}wS(t,n,o)}function wS(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Rf(0,e,i,r),Rf(1,e,i,r),Pf(e,r,!1);else{let o=n.get(i);Nf(0,e,o,r),Nf(1,e,o,r),Pf(e,r,!0)}}}function Rf(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),S_(e,o)}}function Nf(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),S_(e,s)}}function S_(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function Pf(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||$u(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 ES(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Cr(i.type,!0)),s=new vo(o,Tn(i),Ee);t.blueprint[r]=s,n[r]=s,xS(t,e,r,n_(t,n,i.hostVars,Gn),i)}function xS(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;SS(s)!=a&&s.push(a),s.push(n,r,o)}}function SS(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function CS(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 IS(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function C_(t,e,n,r,i,o,s,a){let l=e.consts,u=sr(l,s),f=Eo(e,t,2,r,u);return o&&eh(e,n,f,sr(l,a),i),f.mergedAttrs=ci(f.mergedAttrs,f.attrs),f.attrs!==null&&ic(f,f.attrs,!1),f.mergedAttrs!==null&&ic(f,f.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,f),f}function I_(t,e){Nu(t,e),wu(e)&&t.queries.elementEnd(e)}var TS=class extends xo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Tr(t);return new nh(e,this.ngModule)}};function OS(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&ua.SignalBased)!==0};return i&&(o.transform=i),o})}function DS(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function RS(t,e,n){let r=e instanceof jn?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new b1(n,r):n}function NS(t){let e=t.get(bn,null);if(e===null)throw new Nt(407,!1);let n=t.get(gS,null),r=t.get(_i,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function PS(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Jm(e,n,n==="svg"?Wg:n==="math"?$w:null)}var nh=class extends E_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return OS(this.componentDef.inputs)}get outputs(){return DS(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=sx(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"]:ax(this.componentDef.selectors[0]),a=zu(0,null,null,1,0,null,null,null,null,[s],null),l=RS(o,r||this.ngModule,t),u=NS(l),f=u.rendererFactory.createRenderer(null,o),d=n?_x(f,n,o.encapsulation,l):PS(o,f),_=qu(null,a,null,512|e_(o),null,null,u,f,l,null,Hm(d,l,!0));_[ae]=d,Ou(_);let y=null;try{let x=C_(ae,a,_,"#host",()=>[this.componentDef],!0,0);d&&(t_(f,d,x),In(d,_)),ha(a,_,x),Uu(a,x,_),I_(a,x),e!==void 0&&AS(x,this.ngContentSelectors,e),y=Je(x.index,_),_[ce]=y[ce],Ku(a,_,null)}catch(x){throw y!==null&&Xl(y),Xl(_),x}finally{zt(23),Du()}return new kS(this.componentType,_)}finally{Tt(i)}}},kS=class extends fS{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=Eu(e[dt],ae),this.location=yi(this._tNode,e),this.instance=Je(this._tNode.index,e)[ce],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=Yu(n,r[dt],r,t,e);this.previousInputValues.set(t,e);let o=Je(n.index,r);th(o,1)}get injector(){return new Bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function AS(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 bi=(()=>{class t{static __NG_ELEMENT_ID__=LS}return t})();function LS(){let t=He();return O_(t,xt())}var MS=bi,T_=class extends MS{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return yi(this._hostTNode,this._hostLView)}get injector(){return new Bi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Pu(this._hostTNode,this._hostLView);if(hm(t)){let e=xs(t,this._hostLView),n=Es(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=kf(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,Ji(this._hostTNode,o)),s}createComponent(t,e,n,r,i){let o=t&&!Vw(t),s;if(o)s=e;else{let y=e||{};s=y.index,n=y.injector,r=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}let a=o?t:new nh(Tr(t)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let y=(o?l:this.parentInjector).get(jn,null);y&&(i=y)}let u=Tr(a.componentType??{}),f=no(this._lContainer,u?.id??null),d=f?.firstChild??null,_=a.create(l,r,d,i);return this.insertImpl(_.hostView,s,Ji(this._hostTNode,f)),_}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){let r=t._lView;if(qw(r)){let s=this.indexOf(t);if(s!==-1)this.detach(s);else{let a=r[Ie],l=new T_(a,a[yn],a[Ie]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(e),o=this._lContainer;return ma(o,r,i,n),t.attachToViewContainerRef(),Tg(nl(o),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=kf(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);n&&(gs(nl(this._lContainer),e),da(n[dt],n))}detach(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);return n&&gs(nl(this._lContainer),e)!=null?new to(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function kf(t){return t[ys]}function nl(t){return t[ys]||(t[ys]=[])}function O_(t,e){let n,r=e[t.index];return zn(r)?n=r:(n=v_(r,e,null,t),e[t.index]=n,Gu(e,n)),jS(n,e,t,r),new T_(n,t,e)}function VS(t,e){let n=t[ve],r=n.createComment(""),i=Dn(e,t),o=n.parentNode(i);return Os(n,o,r,n.nextSibling(i),!1),r}var jS=US,FS=()=>!1;function BS(t,e,n){return FS(t,e,n)}function US(t,e,n,r){if(t[Dr])return;let i;n.type&8?i=Be(r):i=VS(e,n),t[Dr]=i}var HS=class D_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new D_(this.queryList)}setDirty(){this.queryList.setDirty()}},$S=class R_{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 R_(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++)rh(e,n).matches!==null&&this.queries[n].setDirty()}},zS=class{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,typeof t=="string"?this.predicate=tC(t):this.predicate=t}},qS=class N_{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 N_(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)}},GS=class P_{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 P_(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,WS(n,o)),this.matchTNodeWithReadOption(e,n,ns(n,e,o,!1,!1))}else r===eo?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,ns(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Le||i===bi||i===eo&&n.type&4)this.addMatch(n.index,-2);else{let o=ns(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 WS(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 ZS(t,e){return t.type&11?yi(t,e):t.type&4?_a(t,e):null}function YS(t,e,n,r){return n===-1?ZS(e,t):n===-2?KS(t,e,r):Xi(t,t[dt],n,e)}function KS(t,e,n){if(n===Le)return yi(e,t);if(n===eo)return _a(e,t);if(n===bi)return O_(e,t)}function k_(t,e,n,r){let i=e[Bn].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(YS(e,f,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function oc(t,e,n,r){let i=t.queries.getByIndex(n),o=i.matches;if(o!==null){let s=k_(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];_[Or]===_[Ie]&&oc(_[dt],_,u,r)}if(f[li]!==null){let d=f[li];for(let _=0;_<d.length;_++){let y=d[_];oc(y[dt],y,u,r)}}}}}return r}function XS(t,e){return t[Bn].queries[e].queryList}function JS(t,e,n){let r=new q1((n&4)===4);return Zw(t,e,r,r.destroy),(e[Bn]??=new $S).queries.push(new HS(r))-1}function QS(t,e,n){let r=pe();return r.firstCreatePass&&(eC(r,new zS(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),JS(r,xt(),e)}function tC(t){return t.split(",").map(e=>e.trim())}function eC(t,e,n){t.queries===null&&(t.queries=new qS),t.queries.track(new GS(e,n))}function rh(t,e){return t.queries.getByIndex(e)}function nC(t,e){let n=t[dt],r=rh(n,e);return r.crossesNgTemplate?oc(n,t,e,[]):k_(n,t,r,e)}var ro=class{},A_=class extends ro{injector;componentFactoryResolver=new TS(this);instance=null;constructor(t){super();let e=new bu([...t.providers,{provide:ro,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],t.parent||ta(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function rC(t,e,n=null){return new A_({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var iC=(()=>{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=kg(!1,n.type),i=r.length>0?rC([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(Vt(jn))})}return t})();function Re(t){return pu(()=>{let e=L_(t),n=Zt(j({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Om.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(iC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||kn.Emulated,styles:t.styles||Vn,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Fr("NgStandalone"),M_(n);let r=t.dependencies;return n.directiveDefs=Af(r,!1),n.pipeDefs=Af(r,!0),n.id=cC(n),n})}function oC(t){return Tr(t)||Ng(t)}function sC(t){return t!==null}function aC(t,e){if(t==null)return Ir;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=ua.None,l=null),n[o]=[r,a,l],e[o]=s}return n}function lC(t){if(t==null)return Ir;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function va(t){return pu(()=>{let e=L_(t);return M_(e),e})}function ih(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 L_(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||Ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Vn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:aC(t.inputs,e),outputs:lC(t.outputs),debugInfo:null}}function M_(t){t.features?.forEach(e=>e(t))}function Af(t,e){if(!t)return null;let n=e?Pg:oC;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(sC)}function cC(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 uC(t){return Object.getPrototypeOf(t.prototype).constructor}function wi(t){let e=uC(t.type),n=!0,r=[t];for(;e;){let i;if(Tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Nt(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=rl(t.inputs),s.declaredInputs=rl(t.declaredInputs),s.outputs=rl(t.outputs);let a=i.hostBindings;a&&gC(t,a);let l=i.viewQuery,u=i.contentQueries;if(l&&dC(t,l),u&&pC(t,u),hC(t,i),ew(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===wi&&(n=!1)}}e=Object.getPrototypeOf(e)}fC(r)}function hC(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 fC(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=ci(i.hostAttrs,n=ci(n,i.hostAttrs))}}function rl(t){return t===Ir?{}:t===Vn?[]:t}function dC(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function pC(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function gC(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function V_(t,e,n){return t[e]=n}function Un(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function mC(t,e,n,r){let i=Un(t,e,n);return Un(t,e+1,r)||i}function _C(t,e,n,r,i,o,s,a,l){let u=e.consts,f=Eo(e,t,4,s||null,a||null);Cu()&&eh(e,n,f,sr(u,l),Zu),f.mergedAttrs=ci(f.mergedAttrs,f.attrs),Nu(e,f);let d=f.tView=zu(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 sc(t,e,n,r,i,o,s,a,l,u){let f=n+ae,d=e.firstCreatePass?_C(f,e,t,r,i,o,s,a,l):e.data[f];ur(d,!1);let _=vC(e,t,d,n);oa()&&pa(e,t,_,d),In(_,t);let y=v_(_,t,_,d);return t[f]=y,Gu(t,y),BS(y,d,t),ea(d)&&ha(e,t,d),l!=null&&Wu(t,d,u),d}function se(t,e,n,r,i,o,s,a){let l=xt(),u=pe(),f=sr(u.consts,o);return sc(l,u,t,e,n,r,i,f,s,a),se}var vC=yC;function yC(t,e,n,r){return sa(!0),e[ve].createComment("")}var bC=new St(""),wC=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new EC})}return t})(),EC=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 j_(t){return!!t&&typeof t.then=="function"}function xC(t){return!!t&&typeof t.subscribe=="function"}var SC=new St(""),F_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(SC,{optional:!0})??[];injector=P(De);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Vg(this.injector,i);if(j_(o))n.push(o);else if(xC(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})(),CC=new St("");function IC(){q0(()=>{throw new Nt(600,!1)})}function TC(t){return t.isBoundToModule}var OC=10,lr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(B1);afterRenderManager=P(Fm);zonelessEnabled=P(Au);rootEffectScheduler=P(wC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new vt;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(aa).hasPendingTasks.pipe(Xs(n=>!n));constructor(){P(yo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(jn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){zt(10);let i=n instanceof E_;if(!this._injector.get(F_).done){let d=!i&&Sw(n),_=!1;throw new Nt(405,_)}let o;i?o=n:o=this._injector.get(xo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=TC(o)?void 0:this._injector.get(ro),a=r||o.selector,l=o.create(De.NULL,[],a,s),u=l.location.nativeElement,f=l.injector.get(bC,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),rs(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(Bu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Nt(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(bn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<OC;)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)DC(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})=>ra(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;rs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(CC,[]).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),()=>rs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Nt(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 rs(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function DC(t,e,n,r){!n&&!ra(t)||p_(t,e,n&&!r?0:1)}function ya(t,e,n,r){let i=xt(),o=_o();if(Un(i,o,e)){let s=pe(),a=Ru();Cx(a,i,t,e,n,r)}return ya}function B_(t,e,n,r){return Un(t,_o(),n)?e+ho(n)+r:Gn}function Vo(t,e){return t<<17|e<<2}function Pr(t){return t>>17&32767}function RC(t){return(t&2)==2}function NC(t,e){return t&131071|e<<17}function ac(t){return t|2}function ui(t){return(t&131068)>>2}function il(t,e){return t&-131069|e<<2}function PC(t){return(t&1)===1}function lc(t){return t|1}function kC(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Pr(s),l=ui(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=Pr(t[a+1]);t[r+1]=Vo(d,a),d!==0&&(t[d+1]=il(t[d+1],r)),t[a+1]=NC(t[a+1],r)}else t[r+1]=Vo(a,0),a!==0&&(t[a+1]=il(t[a+1],r)),a=r;else t[r+1]=Vo(l,0),a===0?a=r:t[l+1]=il(t[l+1],r),l=r;u&&(t[r+1]=ac(t[r+1])),Lf(t,f,r,!0),Lf(t,f,r,!1),AC(e,f,t,r,o),s=Vo(a,l),o?e.classBindings=s:e.styleBindings=s}function AC(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=lc(n[r+1]))}function Lf(t,e,n,r){let i=t[n+1],o=e===null,s=r?Pr(i):ui(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];LC(l,e)&&(a=!0,t[s+1]=r?lc(u):ac(u)),s=r?Pr(u):ui(u)}a&&(t[n+1]=r?ac(i):lc(i))}function LC(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 Pt(t,e,n){let r=xt(),i=_o();if(Un(r,i,e)){let o=pe(),s=Ru();o_(o,s,r,t,e,r[ve],n,!1)}return Pt}function Mf(t,e,n,r,i){Yu(e,t,n,i?"class":"style",r)}function ba(t,e,n){return U_(t,e,n,!1),ba}function wa(t,e){return U_(t,e,null,!0),wa}function U_(t,e,n,r){let i=xt(),o=pe(),s=r1(2);if(o.firstUpdatePass&&VC(o,t,s,r),e!==Gn&&Un(i,s,e)){let a=o.data[hr()];HC(o,a,i,i[ve],t,i[s+1]=$C(e,n),r,s)}}function MC(t,e){return e>=t.expandoStartIndex}function VC(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[hr()],s=MC(t,n);zC(o,r)&&e===null&&!s&&(e=!1),e=jC(i,o,e,r),kC(i,o,e,n,s,r)}}function jC(t,e,n,r){let i=a1(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=ol(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=ol(i,t,e,n,r),o===null){let a=FC(t,e,r);a!==void 0&&Array.isArray(a)&&(a=ol(null,t,e,a[1],r),a=io(a,e.attrs,r),BC(t,e,r,a))}else o=UC(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function FC(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ui(r)!==0)return t[Pr(r)]}function BC(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Pr(i)]=r}function UC(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 ol(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]),Ew(t,s,n?!0:e[++o]))}return t===void 0?null:t}function HC(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let l=t.data,u=l[a+1],f=PC(u)?Vf(l,e,n,i,ui(u),s):void 0;if(!Rs(f)){Rs(o)||RC(u)&&(o=Vf(l,null,n,i,a,s));let d=Zg(hr(),n);zx(r,s,d,i,o)}}function Vf(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];_===Gn&&(_=d?Vn:void 0);let y=d?Za(_,r):f===r?_:void 0;if(u&&!Rs(y)&&(y=Za(l,r)),Rs(y)&&(a=y,s))return a;let x=t[i+1];i=s?Pr(x):ui(x)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Za(l,r))}return a}function Rs(t){return t!==void 0}function $C(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=hn(tr(t)))),t}function zC(t,e){return(t.flags&(e?8:16))!==0}var qC=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 sl(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function GC(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=sl(o,u,o,f,n);if(d!==0){d<0&&t.updateValue(o,f),o++;continue}let _=t.at(s),y=e[l],x=sl(s,_,l,y,n);if(x!==0){x<0&&t.updateValue(s,y),s--,l--;continue}let I=n(o,u),V=n(s,_),L=n(o,f);if(Object.is(L,V)){let Z=n(l,y);Object.is(Z,I)?(t.swap(o,s),t.updateValue(s,y),l--,s--):t.move(s,o),t.updateValue(o,f),o++;continue}if(r??=new Bf,i??=Ff(t,o,s,n),cc(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;)jf(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,_=sl(o,f,o,d,n);if(_!==0)_<0&&t.updateValue(o,d),o++,u=l.next();else{r??=new Bf,i??=Ff(t,o,s,n);let y=n(o,d);if(cc(t,r,o,y))t.updateValue(o,d),o++,s++,u=l.next();else if(!i.has(y))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;)jf(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 cc(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function jf(t,e,n,r,i){if(cc(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Ff(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 Bf=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 te(t,e){Fr("NgControlFlow");let n=xt(),r=_o(),i=n[r]!==Gn?n[r]:-1,o=i!==-1?Ns(n,ae+i):void 0,s=0;if(Un(n,r,t)){let a=Tt(null);try{if(o!==void 0&&b_(o,s),t!==-1){let l=ae+t,u=Ns(n,l),f=uc(n[dt],l),d=no(u,f.tView.ssrId),_=fa(n,f,e,{dehydratedView:d});ma(u,_,s,Ji(f,d))}}finally{Tt(a)}}else if(o!==void 0){let a=y_(o,s);a!==void 0&&(a[ce]=e)}}var WC=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 Ei(t,e){return e}var ZC=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function $e(t,e,n,r,i,o,s,a,l,u,f,d,_){Fr("NgControlFlow");let y=xt(),x=pe(),I=l!==void 0,V=xt(),L=a?s.bind(V[mn][ce]):s,Z=new ZC(I,L);V[ae+t]=Z,sc(y,x,t+1,e,n,r,i,sr(x.consts,o)),I&&sc(y,x,t+2,l,u,f,d,sr(x.consts,_))}var YC=class extends qC{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)[ce].$implicit}attach(t,e){let n=e[Zi];this.needsIndexUpdate||=t!==this.length,ma(this.lContainer,e,t,Ji(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,KC(this.lContainer,t)}create(t,e){let n=no(this.lContainer,this.templateTNode.tView.ssrId),r=fa(this.hostLView,this.templateTNode,new WC(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){da(t[dt],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[ce].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ce].$index=t}getLView(t){return XC(this.lContainer,t)}};function ze(t){let e=Tt(null),n=hr();try{let r=xt(),i=r[dt],o=r[n],s=n+1,a=Ns(r,s);if(o.liveCollection===void 0){let u=uc(i,s);o.liveCollection=new YC(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(GC(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=_o(),f=l.length===0;if(Un(r,u,f)){let d=n+2,_=Ns(r,d);if(f){let y=uc(i,d),x=no(_,y.tView.ssrId),I=fa(r,y,void 0,{dehydratedView:x});ma(_,I,0,Ji(y,x))}else b_(_,0)}}}finally{Tt(e)}}function Ns(t,e){return t[e]}function KC(t,e){return Qi(t,e)}function XC(t,e){return y_(t,e)}function uc(t,e){return Eu(t,e)}function Q(t,e,n,r){let i=xt(),o=pe(),s=ae+t,a=i[ve],l=o.firstCreatePass?C_(s,o,i,e,Zu,Cu(),n,r):o.data[s],u=JC(o,i,l,a,e,t);i[s]=u;let f=ea(l);return ur(l,!0),t_(a,u,l),!a_(l)&&oa()&&pa(o,i,u,l),(Yw()===0||f)&&In(u,i),Kw(),f&&(ha(o,i,l),Uu(o,l,i)),r!==null&&Wu(i,l),Q}function tt(){let t=He();Iu()?tm():(t=t.parent,ur(t,!1));let e=t;Qw(e)&&t1(),Xw();let n=pe();return n.firstCreatePass&&I_(n,e),e.classesWithoutHost!=null&&g1(e)&&Mf(n,e,xt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&m1(e)&&Mf(n,e,xt(),e.stylesWithoutHost,!1),tt}function Bt(t,e,n,r){return Q(t,e,n,r),tt(),Bt}var JC=(t,e,n,r,i,o)=>(sa(!0),Jm(r,i,h1()));function QC(t,e,n,r,i){let o=e.consts,s=sr(o,r),a=Eo(e,t,8,"ng-container",s);s!==null&&ic(a,s,!0);let l=sr(o,i);return Cu()&&eh(e,n,a,l,Zu),a.mergedAttrs=ci(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function H_(t,e,n){let r=xt(),i=pe(),o=t+ae,s=i.firstCreatePass?QC(o,i,r,e,n):i.data[o];ur(s,!0);let a=tI(i,r,s,t);return r[o]=a,oa()&&pa(i,r,a,s),In(a,r),ea(s)&&(ha(i,r,s),Uu(i,s,r)),n!=null&&Wu(r,s),H_}function $_(){let t=He(),e=pe();return Iu()?tm():(t=t.parent,ur(t,!1)),e.firstCreatePass&&(Nu(e,t),wu(t)&&e.queries.elementEnd(t)),$_}function oh(t,e,n){return H_(t,e,n),$_(),oh}var tI=(t,e,n,r)=>(sa(!0),ux(e[ve],""));function qe(){return xt()}var Ps="en-US",eI=Ps;function nI(t){typeof t=="string"&&(eI=t.toLowerCase().replace(/_/g,"-"))}var rI=(t,e,n)=>{};function ee(t,e,n,r){let i=xt(),o=pe(),s=He();return oI(o,i,i[ve],s,t,e,r),ee}function iI(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[_s],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function oI(t,e,n,r,i,o,s){let a=ea(r),l=t.firstCreatePass?Jg(t):null,u=e[ce],f=Xg(e),d=!0;if(r.type&3||s){let _=Dn(r,e),y=s?s(_):_,x=f.length,I=s?L=>s(Be(L[r.index])):r.index,V=null;if(!s&&a&&(V=iI(t,e,i,r.index)),V!==null){let L=V.__ngLastListenerFn__||V;L.__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,d=!1}else{o=$f(r,e,u,o),rI(_,i,o);let L=n.listen(y,i,o);f.push(o,L),l&&l.push(i,I,x,x+1)}}else o=$f(r,e,u,o);if(d){let _=r.outputs?.[i],y=r.hostDirectiveOutputs?.[i];if(y&&y.length)for(let x=0;x<y.length;x+=2){let I=y[x],V=y[x+1];Uf(r,t,e,I,V,i,o,f,l)}if(_&&_.length)for(let x of _)Uf(r,t,e,x,i,i,o,f,l)}}function Uf(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 Hf(t,e,n,r){let i=Tt(null);try{return zt(6,e,n),n(r)!==!1}catch(o){return s_(t,o),!1}finally{zt(7,e,n),Tt(i)}}function $f(t,e,n,r){return function i(o){if(o===Function)return r;let s=mi(t)?Je(t.index,e):e;th(s,5);let a=Hf(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Hf(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function it(t=1){return c1(t)}function xi(t,e,n){return z_(t,"",e,"",n),xi}function z_(t,e,n,r,i){let o=xt(),s=B_(o,e,n,r);if(s!==Gn){let a=pe(),l=Ru();o_(a,l,o,t,s,o[ve],i,!1)}return z_}function ks(t,e,n){QS(t,e,n)}function As(t){let e=xt(),n=pe(),r=rm();Tu(r+1);let i=rh(n,r);if(t.dirty&&zw(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=nC(e,r);t.reset(o,H1),t.notifyOnChanges()}return!0}return!1}function Ls(){return XS(xt(),rm())}function sh(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function ir(t){let e=em();return na(e,ae+t)}function ne(t,e=""){let n=xt(),r=pe(),i=t+ae,o=r.firstCreatePass?Eo(r,i,1,e,null):r.data[i],s=sI(r,n,o,e,t);n[i]=s,oa()&&pa(r,n,s,o),ur(o,!1)}var sI=(t,e,n,r,i)=>(sa(!0),lx(e[ve],r));function Ea(t){return On("",t,""),Ea}function On(t,e,n){let r=xt(),i=B_(r,t,e,n);return i!==Gn&&aI(r,hr(),i),On}function aI(t,e,n){let r=Zg(e,t);cx(t[ve],r,n)}var q_={};function Si(t){let e=pe(),n=xt(),r=t+ae,i=Eo(e,r,128,null,null);return ur(i,!1),sh(e,n,r,q_),Si}function ii(t){Fr("NgLet");let e=pe(),n=xt(),r=hr();return sh(e,n,r,t),t}function ln(t){let e=em(),n=na(e,ae+t);if(n===q_)throw new Nt(314,!1);return n}function lI(t,e,n){let r=pe();if(r.firstCreatePass){let i=Tn(t);hc(n,r.data,r.blueprint,i,!0),hc(e,r.data,r.blueprint,i,!1)}}function hc(t,e,n,r,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o<t.length;o++)hc(t[o],e,n,r,i);else{let o=pe(),s=xt(),a=He(),l=ai(t)?t:Oe(t.provide),u=Mg(t),f=a.providerIndexes&1048575,d=a.directiveStart,_=a.providerIndexes>>20;if(ai(t)||!t.multi){let y=new vo(u,i,Ee),x=ll(l,e,i?f:f+_,d);x===-1?(Wl(Cs(a,s),o,l),al(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(y),s.push(y)):(n[x]=y,s[x]=y)}else{let y=ll(l,e,f+_,d),x=ll(l,e,f,f+_),I=y>=0&&n[y],V=x>=0&&n[x];if(i&&!V||!i&&!I){Wl(Cs(a,s),o,l);let L=hI(i?uI:cI,n.length,i,r,u);!i&&V&&(n[x].providerFactory=L),al(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=G_(n[i?x:y],u,!i&&r);al(o,t,y>-1?y:x,L)}!i&&r&&V&&n[x].componentProviders++}}}function al(t,e,n,r){let i=ai(e),o=Rw(e);if(i||o){let s=(o?Oe(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 G_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ll(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function cI(t,e,n,r){return fc(this.multi,[])}function uI(t,e,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xi(n,n[dt],this.providerFactory.index,r);o=a.slice(0,s),fc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],fc(i,o);return o}function fc(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function hI(t,e,n,r,i){let o=new vo(t,n,Ee);return o.multi=[],o.index=e,o.componentProviders=0,G_(o,i,r&&!n),o}function fI(t,e=[]){return n=>{n.providersResolver=(r,i)=>lI(r,i?i(t):t,e)}}function W_(t,e,n,r){return Y_(xt(),ia(),t,e,n,r)}function dI(t,e,n,r,i){return K_(xt(),ia(),t,e,n,r,i)}function Z_(t,e){let n=t[e];return n===Gn?void 0:n}function Y_(t,e,n,r,i,o){let s=e+n;return Un(t,s,i)?V_(t,s+1,o?r.call(o,i):r(i)):Z_(t,s+1)}function K_(t,e,n,r,i,o,s){let a=e+n;return mC(t,a,i,o)?V_(t,a+2,s?r.call(s,i,o):r(i,o)):Z_(t,a+2)}function Ue(t,e){let n=pe(),r,i=t+ae;n.firstCreatePass?(r=pI(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=Cr(r.type,!0)),s,a=Pe(Ee);try{let l=Ss(!1),u=o();return Ss(l),sh(n,xt(),i,u),u}finally{Pe(a)}}function pI(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+ae,i=xt(),o=na(i,r);return X_(i,r)?Y_(i,ia(),e,o.transform,n,o):o.transform(n)}function gI(t,e,n,r){let i=t+ae,o=xt(),s=na(o,i);return X_(o,i)?K_(o,ia(),e,s.transform,n,r,s):s.transform(n,r)}function X_(t,e){return t[dt].data[e].pure}function mI(t,e){return _a(t,e)}var _I=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(".")}},zf=new _I("19.2.0"),vI=(()=>{class t{zone=P(Wt);changeDetectionScheduler=P(_i);applicationRef=P(lr);_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 yI({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Wt(Zt(j({},bI()),{scheduleInRootZone:n})),[{provide:Wt,useFactory:t},{provide:ms,multi:!0,useFactory:()=>{let r=P(vI,{optional:!0});return()=>r.initialize()}},{provide:ms,multi:!0,useFactory:()=>{let r=P(wI);return()=>{r.initialize()}}},e===!0?{provide:xm,useValue:!0}:[],{provide:Lu,useValue:n??Em}]}function bI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var wI=(()=>{class t{subscription=new me;initialized=!1;zone=P(Wt);pendingTasks=P(aa);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})(),J_=(()=>{class t{appRef=P(lr);taskService=P(aa);ngZone=P(Wt);zonelessEnabled=P(Au);tracing=P(yo,{optional:!0});disableScheduling=P(xm,{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(Ts):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(Lu,{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 Cm||!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?mf:Sm;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(Ts+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,mf(()=>{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 EI(){return Fr("NgZoneless"),Cw([{provide:_i,useExisting:J_},{provide:Wt,useClass:Cm},{provide:Au,useValue:!0},{provide:Lu,useValue:!1},[]])}function xI(){return typeof $localize<"u"&&$localize.locale||Ps}var Q_=new St("",{providedIn:"root",factory:()=>P(Q_,Ot.Optional|Ot.SkipSelf)||xI()}),dc=new St(""),SI=new St("");function Oi(t){return!t.moduleRef}function CI(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(dc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(dc);s.add(o),t.moduleRef.onDestroy(()=>{rs(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return TI(r,n,()=>{let o=e.get(F_);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Q_,Ps);if(nI(s||Ps),!e.get(SI,!0))return Oi(t)?e.get(lr):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Oi(t)){let a=e.get(lr);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return II(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function II(t,e){let n=t.injector.get(lr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new Nt(-403,!1);e.push(t)}function TI(t,e,n){try{let r=n();return j_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var is=null;function OI(t=[],e){return De.create({name:e,providers:[{provide:yu,useValue:"platform"},{provide:dc,useValue:new Set([()=>is=null])},...t]})}function DI(t=[]){if(is)return is;let e=OI(t);return is=e,IC(),RI(e),e}function RI(t){let e=t.get(Lm,null);Vg(t,()=>{e?.forEach(n=>n())})}var So=(()=>{class t{static __NG_ELEMENT_ID__=NI}return t})();function NI(t){return PI(He(),xt(),(t&16)===16)}function PI(t,e,n){if(mi(t)&&!n){let r=Je(t.index,e);return new to(r,r)}else if(t.type&175){let r=e[mn];return new to(r,e)}return null}function kI(t){zt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=DI(r),o=[yI({}),{provide:_i,useExisting:J_},...n||[]],s=new A_({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return CI({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{zt(9)}}function AI(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function LI(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function MI(t){let e=Tt(null);try{return t()}finally{Tt(e)}}var KA=class{[er];constructor(t){this[er]=t}destroy(){this[er].destroy()}};function tv(t,e){let n=Tr(t),r=e.elementInjector||ta();return new nh(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}var VI={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function jI(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function FI(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var cl;function BI(t,e){if(!cl){let n=Element.prototype;cl=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?cl.call(t,e):!1}function UI(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[jI(r)]=[n,i]}),e}function HI(t,e){return e.get(xo).resolveComponentFactory(t).inputs}function $I(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=zI(a,e,i);l!==-1&&r[l].push(a)}return r}function zI(t,e,n){let r=n;return FI(t)&&e.some((i,o)=>i!=="*"&&BI(t,i)?(r=o,!0):!1),r}var qI=10,GI=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 WI(this.componentFactory,t,this.inputMap)}},WI=class{componentFactory;injector;inputMap;eventEmitters=new hb(1);events=this.eventEmitters.pipe(_g(t=>Js(...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(lr),this.cdScheduler=e.get(_i),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=VI.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},qI))})}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=De.create({providers:[],parent:this.injector}),n=$I(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()}},ZI=class extends HTMLElement{ngElementEventsSubscription=null};function YI(t,e){let n=HI(t,e.injector),r=e.strategyFactory||new GI(t,e.injector),i=UI(n);class o extends ZI{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 ev=null;function Ui(){return ev}function KI(t){ev??=t}var XI=class{},Jt=new St(""),nv=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(JI),providedIn:"platform"})}return t})(),JI=(()=>{class t extends nv{_location;_history;_doc=P(Jt);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 rv(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function qf(t){let e=t.search(/#|\?|$/);return t[e-1]==="/"?t.slice(0,e-1)+t.slice(e):t}function wr(t){return t&&t[0]!=="?"?`?${t}`:t}var ah=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(tT),providedIn:"root"})}return t})(),QI=new St(""),tT=(()=>{class t extends ah{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(Jt).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 rv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+wr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+wr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+wr(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)(Vt(nv),Vt(QI,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iv=(()=>{class t{_subject=new vt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=rT(qf(Gf(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+wr(r))}normalize(n){return t.stripTrailingSlash(nT(this._basePath,Gf(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+wr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wr(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=wr;static joinWithSlash=rv;static stripTrailingSlash=qf;static \u0275fac=function(n){return new(n||t)(Vt(ah))};static \u0275prov=pt({token:t,factory:()=>eT(),providedIn:"root"})}return t})();function eT(){return new iv(Vt(ah))}function nT(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Gf(t){return t.replace(/\/index.html$/,"")}function rT(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function iT(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 ul=/\s+/,Wf=[],xa=(()=>{class t{_ngEl;_renderer;initialClasses=Wf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ul):Wf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ul):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(ul).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(Le),Ee(x_))};static \u0275dir=va({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),oT=(()=>{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(bi))};static \u0275dir=va({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$g]})}return t})(),ov="browser",sT="server";function aT(t){return t===ov}function sv(t){return t===sT}var lT=class{},cT=class extends XI{supportsDOMEvents=!0},uT=class av extends cT{static makeCurrent(){KI(new av)}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=hT();return n==null?null:fT(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return iT(document.cookie,e)}},Mi=null;function hT(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}function fT(t){return new URL(t,document.baseURI).pathname}var dT=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),pc=new St(""),lv=(()=>{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 Nt(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(Vt(pc),Vt(Wt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),cv=class{_doc;constructor(t){this._doc=t}manager},os="ng-app-id";function Zf(t){for(let e of t)e.remove()}function Yf(t,e){let n=e.createElement("style");return n.textContent=t,n}function pT(t,e,n,r){let i=t.head?.querySelectorAll(`style[${os}="${e}"],link[${os}="${e}"]`);if(i)for(let o of i)o.removeAttribute(os),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 gc(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var uv=(()=>{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=sv(o),pT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Yf);r?.forEach(i=>this.addUsage(i,this.external,gc))}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&&(Zf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Zf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Yf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,gc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(os,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(Vt(Jt),Vt(Fu),Vt(Mm,8),Vt(la))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),hl={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"},lh=/%COMP%/g,hv="%COMP%",gT=`_nghost-${hv}`,mT=`_ngcontent-${hv}`,_T=!0,vT=new St("",{providedIn:"root",factory:()=>_T});function yT(t){return mT.replace(lh,t)}function bT(t){return gT.replace(lh,t)}function fv(t,e){return e.map(n=>n.replace(lh,t))}var Kf=(()=>{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=sv(a),this.defaultRenderer=new ch(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===kn.ShadowDom&&(r=Zt(j({},r),{encapsulation:kn.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Jf?i.applyToHost(n):i instanceof mc&&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 kn.Emulated:o=new Jf(l,u,r,this.appId,f,s,a,d,_);break;case kn.ShadowDom:return new wT(l,u,n,r,s,a,this.nonce,d,_);default:o=new mc(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)(Vt(lv),Vt(uv),Vt(Fu),Vt(vT),Vt(Jt),Vt(la),Vt(Wt),Vt(Mm),Vt(yo,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),ch=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(hl[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Xf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Xf(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 Nt(-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=hl[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=hl[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&(br.DashCase|br.Important)?t.style.setProperty(e,n,r&br.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&br.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 Xf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var wT=class extends ch{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=fv(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 _=gc(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)}},mc=class extends ch{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?fv(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)}},Jf=class extends mc{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=yT(u),this.hostAttr=bT(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}},ET=(()=>{class t extends cv{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)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),Qf=["alt","control","meta","shift"],xT={"\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"},ST={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},CT=(()=>{class t extends cv{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."),Qf.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=xT[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"),Qf.forEach(s=>{if(s!==i){let a=ST[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)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})();function IT(t){return kI(TT(t))}function TT(t){return{appProviders:[...PT,...t?.providers??[]],platformProviders:NT}}function OT(){uT.makeCurrent()}function DT(){return new vi}function RT(){return nE(document),document}var NT=[{provide:la,useValue:ov},{provide:Lm,useValue:OT,multi:!0},{provide:Jt,useFactory:RT,deps:[]}],PT=[{provide:yu,useValue:"root"},{provide:vi,useFactory:DT,deps:[]},{provide:pc,useClass:ET,multi:!0,deps:[Jt]},{provide:pc,useClass:CT,multi:!0,deps:[Jt]},Kf,uv,lv,{provide:bn,useExisting:Kf},{provide:lT,useClass:dT,deps:[]},[]],dv=(()=>{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=Vt(kT),r},providedIn:"root"})}return t})(),kT=(()=>{class t extends dv{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Pn.NONE:return r;case Pn.HTML:return vr(r,"HTML")?tr(r):Ym(this._doc,String(r)).toString();case Pn.STYLE:return vr(r,"Style")?tr(r):r;case Pn.SCRIPT:if(vr(r,"Script"))return tr(r);throw new Nt(5200,!1);case Pn.URL:return vr(r,"URL")?tr(r):Hu(String(r));case Pn.RESOURCE_URL:if(vr(r,"ResourceURL"))return tr(r);throw new Nt(5201,!1);default:throw new Nt(5202,!1)}}bypassSecurityTrustHtml(n){return EE(n)}bypassSecurityTrustStyle(n){return xE(n)}bypassSecurityTrustScript(n){return SE(n)}bypassSecurityTrustUrl(n){return CE(n)}bypassSecurityTrustResourceUrl(n){return IE(n)}static \u0275fac=function(n){return new(n||t)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AT="9.10.5",be=class _c{static SDK_VERSION=AT;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=_c.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");_c.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(O0()),Ve=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 LT(t=be.LOG_PREFIX){Ke.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${be.SDK_VERSION}):`)}});let e=MT();(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 MT(){return new URL(location.href).searchParams?.get("cooee-debug")}var jo=en(Ap()),VT={providers:[EI()]},fl=en(uo()),XA=en(D0()),pv=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}},gv=Object.prototype.toString;function uh(t){switch(gv.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return kr(t,Error)}}function Ci(t,e){return gv.call(t)===`[object ${e}]`}function mv(t){return Ci(t,"ErrorEvent")}function td(t){return Ci(t,"DOMError")}function jT(t){return Ci(t,"DOMException")}function Mn(t){return Ci(t,"String")}function hh(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function fh(t){return t===null||hh(t)||typeof t!="object"&&typeof t!="function"}function hi(t){return Ci(t,"Object")}function Sa(t){return typeof Event<"u"&&kr(t,Event)}function FT(t){return typeof Element<"u"&&kr(t,Element)}function BT(t){return Ci(t,"RegExp")}function Ca(t){return!!(t&&t.then&&typeof t.then=="function")}function UT(t){return hi(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function kr(t,e){try{return t instanceof e}catch{return!1}}function _v(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function oi(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function ed(t,e){if(!Array.isArray(t))return"";let n=[];for(let r=0;r<t.length;r++){let i=t[r];try{_v(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function HT(t,e,n=!1){return Mn(t)?BT(e)?e.test(t):Mn(e)?n?t===e:t.includes(e):!1:!1}function Ia(t,e=[],n=!1){return e.some(r=>HT(t,r,n))}function $T(t,e,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!kr(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=zT(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(kr(r[i],Error)){nd(s,a);let u=t(e,r[i]),f=l.length;rd(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(kr(u,Error)){nd(s,a);let d=t(e,u),_=l.length;rd(d,`errors[${f}]`,_,a),l=vc(t,e,n,u,i,[d,...l],d,_)}}),l}function nd(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 rd(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 zT(t,e){return t.map(n=>(n.value&&(n.value=oi(n.value,e)),n))}var Er="8.18.0",Ft=globalThis;function dh(t,e,n){let r=n||Ft,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Er]=i[Er]||{};return o[t]||(o[t]=e())}var ph=Ft,qT=80;function vv(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||qT;for(;n&&o++<r&&(u=GT(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 GT(t,e){let n=t,r=[];if(!n||!n.tagName)return"";if(ph.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&&Mn(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 WT(){try{return ph.document.location.href}catch{return""}}function ZT(t){if(!ph.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 Co=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,YT="Sentry Logger ",yc=["debug","info","warn","error","log","assert","trace"],Ms={};function gh(t){if(!("console"in Ft))return t();let e=Ft.console,n={},r=Object.keys(Ms);r.forEach(i=>{let o=Ms[i];n[i]=e[i],e[i]=o});try{return t()}finally{r.forEach(i=>{e[i]=n[i]})}}function KT(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Co?yc.forEach(n=>{e[n]=(...r)=>{t&&gh(()=>{Ft.console[n](`${YT}[${n}]:`,...r)})}}):yc.forEach(n=>{e[n]=()=>{}}),e}var wt=KT(),XT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function JT(t){return t==="http"||t==="https"}function Ta(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 QT(t){let e=XT.exec(t);if(!e){gh(()=>{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 yv({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function yv(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function tO(t){if(!Co)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+$/)?JT(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 eO(t){let e=typeof t=="string"?QT(t):yv(t);if(!(!e||!tO(e)))return e}var xn=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"&&bv(i,r),t[e]=i}function Ar(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{Co&&wt.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function bv(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,Ar(t,"__sentry_original__",e)}catch{}}function mh(t){return t.__sentry_original__}function nO(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function wv(t){if(uh(t))return j({message:t.message,name:t.name,stack:t.stack},od(t));if(Sa(t)){let e=j({type:t.type,target:id(t.target),currentTarget:id(t.currentTarget)},od(t));return typeof CustomEvent<"u"&&kr(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function id(t){try{return FT(t)?vv(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function od(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 rO(t,e=40){let n=Object.keys(wv(t));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return oi(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:oi(o,e)}return""}function cn(t){return bc(t,new Map)}function bc(t,e){if(iO(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]=bc(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(bc(i,e))}),r}return t}function iO(t){if(!hi(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}var Lr="?",sd=/\(error: (.*)\)/,ad=/captureMessage|captureException/;function oO(...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 Cr(t,e){return t.hasOwnProperty(ds)?t[ds]:null}function yw(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 bw(t){return t.flat(Number.POSITIVE_INFINITY)}function _u(t,e){t.forEach(n=>Array.isArray(n)?_u(n,e):e(n))}function Tg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function gs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ww(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 Ew(t,e,n){let r=fo(t,e);return r>=0?t[r|1]=n:(r=~r,ww(t,r,e,n)),r}function Za(t,e){let n=fo(t,e);if(n>=0)return t[n|1]}function fo(t,e){return xw(t,e,1)}function xw(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 Ir={},Vn=[],ms=new St(""),Og=new St("",-1),Dg=new St(""),Rg=class{get(t,e=Wi){if(e===Wi){let n=new Error(`NullInjectorError: No provider for ${hn(t)}!`);throw n.name="NullInjectorError",n}return e}};function Tr(t){return t[ow]||null}function Ng(t){return t[sw]||null}function Pg(t){return t[Sg]||null}function Sw(t){let e=Tr(t)||Ng(t)||Pg(t);return e!==null&&e.standalone}function Cw(t){return{\u0275providers:t}}function Iw(...t){return{\u0275providers:kg(!0,t),\u0275fromNgModule:!0}}function kg(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return _u(e,s=>{let a=s;Bl(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Ag(i,o),n}function Ag(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];vu(i,o=>{e(o,r)})}}function Bl(t,e,n,r){if(t=Oe(t),!t)return!1;let i=null,o=of(t),s=!o&&Tr(t);if(!o&&!s){let l=t.ngModule;if(o=of(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)Bl(u,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{_u(o.imports,f=>{Bl(f,e,n,r)&&(u||=[],u.push(f))})}finally{}u!==void 0&&Ag(u,e)}if(!a){let u=Cr(i)||(()=>new i);e({provide:i,useFactory:u,deps:Vn},i),e({provide:Dg,useValue:i,multi:!0},i),e({provide:ms,useValue:()=>Vt(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)xg(n)&&(n=n.\u0275providers),Array.isArray(n)?vu(n,e):e(n)}var Tw=Kt({provide:String,useValue:Kt});function Lg(t){return t!==null&&typeof t=="object"&&Tw in t}function Ow(t){return!!(t&&t.useExisting)}function Dw(t){return!!(t&&t.useFactory)}function ai(t){return typeof t=="function"}function Rw(t){return!!t.useClass}var yu=new St(""),Qo={},Nw={},Ya;function ta(){return Ya===void 0&&(Ya=new Rg),Ya}var jn=class{},bu=class extends jn{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,Hl(t,o=>this.processProvider(o)),this.records.set(Og,Zr(void 0,this)),r.has("environment")&&this.records.set(jn,Zr(void 0,this));let i=this.records.get(yu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Dg,Vn,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=Kn(this),n=Pe(void 0),r;try{return t()}finally{Kn(e),Pe(n)}}get(t,e=Wi,n=Ot.Default){if(Ai(this),t.hasOwnProperty(af))return t[af](this);n=Qs(n);let r,i=Kn(this),o=Pe(void 0);try{if(!(n&Ot.SkipSelf)){let a=this.records.get(t);if(a===void 0){let l=Mw(t)&&gu(t);l&&this.injectableDefInScope(l)?a=Zr(Ul(t),Qo):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&Ot.Self?ta():this.parent;return e=n&Ot.Optional&&e===Wi?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[ps]=s[ps]||[]).unshift(hn(t)),i)throw s;return _w(s,t,"R3InjectorError",this.source)}else throw s}finally{Pe(o),Kn(i)}}resolveInjectorInitializers(){let t=Tt(null),e=Kn(this),n=Pe(void 0),r;try{let i=this.get(ms,Vn,Ot.Self);for(let o of i)o()}finally{Kn(e),Pe(n),Tt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(hn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Oe(t);let e=ai(t)?t:Oe(t&&t.provide),n=kw(t);if(!ai(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Zr(void 0,Qo,!0),r.factory=()=>Fl(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===Qo&&(e.value=Nw,e.value=e.factory()),typeof e.value=="object"&&e.value&&Lw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Tt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Oe(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 Ul(t){let e=gu(t),n=e!==null?e.factory:Cr(t);if(n!==null)return n;if(t instanceof St)throw new Nt(204,!1);if(t instanceof Function)return Pw(t);throw new Nt(204,!1)}function Pw(t){if(t.length>0)throw new Nt(204,!1);let e=rw(t);return e!==null?()=>e.factory(t):()=>new t}function kw(t){if(Lg(t))return Zr(void 0,t.useValue);{let e=Mg(t);return Zr(e,Qo)}}function Mg(t,e,n){let r;if(ai(t)){let i=Oe(t);return Cr(i)||Ul(i)}else if(Lg(t))r=()=>Oe(t.useValue);else if(Dw(t))r=()=>t.useFactory(...Fl(t.deps||[]));else if(Ow(t))r=()=>Vt(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if(Aw(t))r=()=>new i(...Fl(t.deps));else return Cr(i)||Ul(i)}return r}function Ai(t){if(t.destroyed)throw new Nt(205,!1)}function Zr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Aw(t){return!!t.deps}function Lw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Mw(t){return typeof t=="function"||typeof t=="object"&&t instanceof St}function Hl(t,e){for(let n of t)Array.isArray(n)?Hl(n,e):n&&xg(n)?Hl(n.\u0275providers,e):e(n)}function Vg(t,e){t instanceof bu&&Ai(t);let n,r=Kn(t),i=Pe(void 0);try{return e()}finally{Kn(r),Pe(i)}}function jg(){return Cg()!==void 0||pw()!=null}function Fg(t){if(!jg())throw new Nt(-203,!1)}function Vw(t){return typeof t=="function"}var $n=0,dt=1,mt=2,Ie=3,fn=4,yn=5,Zi=6,_s=7,ce=8,Yi=9,Fn=10,ve=11,Ki=12,cf=13,gi=14,mn=15,Or=16,Yr=17,Bn=18,po=19,Bg=20,rr=21,Ka=22,vs=23,je=24,ni=25,ae=26,Ug=1,Dr=7,ys=8,li=9,Ce=10;function An(t){return Array.isArray(t)&&typeof t[Ug]=="object"}function zn(t){return Array.isArray(t)&&t[Ug]===!0}function wu(t){return(t.flags&4)!==0}function mi(t){return t.componentOffset>-1}function ea(t){return(t.flags&1)===1}function Tn(t){return!!t.template}function bs(t){return(t[mt]&512)!==0}function go(t){return(t[mt]&256)===256}var jw=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function Hg(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var $g=(()=>{let t=()=>zg;return t.ngInherit=!0,t})();function zg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Bw),Fw}function Fw(){let t=Gg(this),e=t?.current;if(e){let n=t.previous;if(n===Ir)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Bw(t,e,n,r,i){let o=this.declaredInputs[r],s=Gg(t)||Uw(t,{previous:Ir,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new jw(u&&u.currentValue,n,l===Ir),Hg(t,e,i,n)}var qg="__ngSimpleChanges__";function Gg(t){return t[qg]||null}function Uw(t,e){return t[qg]=e}var Hw=null,zt=function(t,e=null,n){Hw?.(t,e,n)},Wg="svg",$w="math";function Be(t){for(;Array.isArray(t);)t=t[$n];return t}function Zg(t,e){return Be(e[t])}function Dn(t,e){return Be(e[t.index])}function Eu(t,e){return t.data[e]}function na(t,e){return t[e]}function Je(t,e){let n=e[t];return An(n)?n:n[$n]}function zw(t){return(t[mt]&4)===4}function xu(t){return(t[mt]&128)===128}function qw(t){return zn(t[Ie])}function sr(t,e){return e==null?null:t[e]}function Yg(t){t[Yr]=0}function Su(t){t[mt]&1024||(t[mt]|=1024,xu(t)&&mo(t))}function Gw(t,e){for(;t>0;)e=e[gi],t--;return e}function ra(t){return!!(t[mt]&9216||t[je]?.dirty)}function $l(t){t[Fn].changeDetectionScheduler?.notify(8),t[mt]&64&&(t[mt]|=1024),ra(t)&&mo(t)}function mo(t){t[Fn].changeDetectionScheduler?.notify(0);let e=Rr(t);for(;e!==null&&!(e[mt]&8192||(e[mt]|=8192,!xu(e)));)e=Rr(e)}function Kg(t,e){if(go(t))throw new Nt(911,!1);t[rr]===null&&(t[rr]=[]),t[rr].push(e)}function Ww(t,e){if(t[rr]===null)return;let n=t[rr].indexOf(e);n!==-1&&t[rr].splice(n,1)}function Rr(t){let e=t[Ie];return zn(e)?e[Ie]:e}function Xg(t){return t[_s]??=[]}function Jg(t){return t.cleanup??=[]}function Zw(t,e,n,r){let i=Xg(e);i.push(n),t.firstCreatePass&&Jg(t).push(r,i.length-1)}var yt={lFrame:sm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},zl=!1;function Yw(){return yt.lFrame.elementDepthCount}function Kw(){yt.lFrame.elementDepthCount++}function Xw(){yt.lFrame.elementDepthCount--}function Cu(){return yt.bindingsEnabled}function Jw(){return yt.skipHydrationRootTNode!==null}function Qw(t){return yt.skipHydrationRootTNode===t}function t1(){yt.skipHydrationRootTNode=null}function xt(){return yt.lFrame.lView}function pe(){return yt.lFrame.tView}function ue(t){return yt.lFrame.contextLView=t,t[ce]}function he(t){return yt.lFrame.contextLView=null,t}function He(){let t=Qg();for(;t!==null&&t.type===64;)t=t.parent;return t}function Qg(){return yt.lFrame.currentTNode}function e1(){let t=yt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ur(t,e){let n=yt.lFrame;n.currentTNode=t,n.isParent=e}function Iu(){return yt.lFrame.isParent}function tm(){yt.lFrame.isParent=!1}function em(){return yt.lFrame.contextLView}function nm(){return zl}function uf(t){let e=zl;return zl=t,e}function ia(){let t=yt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function n1(t){return yt.lFrame.bindingIndex=t}function _o(){return yt.lFrame.bindingIndex++}function r1(t){let e=yt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function i1(){return yt.lFrame.inI18n}function o1(t,e){let n=yt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ql(e)}function s1(){return yt.lFrame.currentDirectiveIndex}function ql(t){yt.lFrame.currentDirectiveIndex=t}function a1(t){let e=yt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function rm(){return yt.lFrame.currentQueryIndex}function Tu(t){yt.lFrame.currentQueryIndex=t}function l1(t){let e=t[dt];return e.type===2?e.declTNode:e.type===1?t[yn]:null}function im(t,e,n){if(n&Ot.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&Ot.Host))&&(i=l1(o),!(i===null||(o=o[gi],i.type&10))););if(i===null)return!1;e=i,t=o}let r=yt.lFrame=om();return r.currentTNode=e,r.lView=t,!0}function Ou(t){let e=om(),n=t[dt];yt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function om(){let t=yt.lFrame,e=t===null?null:t.child;return e===null?sm(t):e}function sm(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 am(){let t=yt.lFrame;return yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var lm=am;function Du(){let t=am();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 c1(t){return(yt.lFrame.contextLView=Gw(t,yt.lFrame.contextLView))[ce]}function hr(){return yt.lFrame.selectedIndex}function Nr(t){yt.lFrame.selectedIndex=t}function Ru(){let t=yt.lFrame;return Eu(t.tView,t.selectedIndex)}function ar(){yt.lFrame.currentNamespace=Wg}function ws(){u1()}function u1(){yt.lFrame.currentNamespace=null}function h1(){return yt.lFrame.currentNamespace}var cm=!0;function oa(){return cm}function sa(t){cm=t}function f1(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=zg(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 Nu(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 ts(t,e,n){um(t,e,3,n)}function es(t,e,n,r){(t[mt]&3)===n&&um(t,e,n,r)}function Xa(t,e){let n=t[mt];(n&3)===e&&(n&=16383,n+=1,t[mt]=n)}function um(t,e,n,r){let i=r!==void 0?t[Yr]&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[Yr]+=65536),(a<o||o==-1)&&(d1(t,n,e,l),t[Yr]=(t[Yr]&4294901760)+l+2),l++}function hf(t,e){zt(4,t,e);let n=Tt(null);try{e.call(t)}finally{Tt(n),zt(5,t,e)}}function d1(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[Yr]>>16&&(t[mt]&3)===e&&(t[mt]+=16384,hf(a,o)):hf(a,o)}var ri=-1,vo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function p1(t){return t instanceof vo}function g1(t){return(t.flags&8)!==0}function m1(t){return(t.flags&16)!==0}function _1(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];y1(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 y1(t){return t.charCodeAt(0)===64}function ci(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?ff(t,n,i,null,e[++r]):ff(t,n,i,null,null))}}return t}function ff(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 Ja={},b1=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=Qs(n);let r=this.injector.get(t,Ja,n);return r!==Ja||e===Ja?r:this.parentInjector.get(t,e,n)}};function hm(t){return t!==ri}function Es(t){return t&32767}function w1(t){return t>>16}function xs(t,e){let n=w1(t),r=e;for(;n>0;)r=r[gi],n--;return r}var Gl=!0;function Ss(t){let e=Gl;return Gl=t,e}var E1=256,fm=E1-1,dm=5,x1=0,Cn={};function S1(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fi)&&(r=n[Fi]),r==null&&(r=n[Fi]=x1++);let i=r&fm,o=1<<i;e.data[t+(i>>dm)]|=o}function Cs(t,e){let n=pm(t,e);if(n!==-1)return n;let r=e[dt];r.firstCreatePass&&(t.injectorIndex=e.length,Qa(r.data,t),Qa(e,null),Qa(r.blueprint,null));let i=Pu(t,e),o=t.injectorIndex;if(hm(i)){let s=Es(i),a=xs(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 Qa(t,e){t.push(0,0,0,0,0,0,0,0,e)}function pm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Pu(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=bm(i),r===null)return ri;if(n++,i=i[gi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ri}function Wl(t,e,n){S1(t,e,n)}function gm(t,e,n){if(n&Ot.Optional||t!==void 0)return t;mu(e,"NodeInjector")}function mm(t,e,n,r){if(n&Ot.Optional&&r===void 0&&(r=null),(n&(Ot.Self|Ot.Host))===0){let i=t[Yi],o=Pe(void 0);try{return i?i.get(e,r,n&Ot.Optional):Ig(e,r,n&Ot.Optional)}finally{Pe(o)}}return gm(r,e,n)}function _m(t,e,n,r=Ot.Default,i){if(t!==null){if(e[mt]&2048&&!(r&Ot.Self)){let s=O1(t,e,n,r,Cn);if(s!==Cn)return s}let o=vm(t,e,n,r,Cn);if(o!==Cn)return o}return mm(e,n,r,i)}function vm(t,e,n,r,i){let o=I1(n);if(typeof o=="function"){if(!im(e,t,r))return r&Ot.Host?gm(i,n,r):mm(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&Ot.Optional))mu(n);else return s}finally{lm()}}else if(typeof o=="number"){let s=null,a=pm(t,e),l=ri,u=r&Ot.Host?e[mn][yn]:null;for((a===-1||r&Ot.SkipSelf)&&(l=a===-1?Pu(t,e):e[a+8],l===ri||!pf(r,!1)?a=-1:(s=e[dt],a=Es(l),e=xs(l,e)));a!==-1;){let f=e[dt];if(df(o,a,f.data)){let d=C1(a,e,n,s,r,u);if(d!==Cn)return d}l=e[a+8],l!==ri&&pf(r,e[dt].data[a+8]===u)&&df(o,a,e)?(s=f,a=Es(l),e=xs(l,e)):a=-1}}return i}function C1(t,e,n,r,i,o){let s=e[dt],a=s.data[t+8],l=r==null?mi(a)&&Gl:r!=s&&(a.type&3)!==0,u=i&Ot.Host&&o===a,f=ns(a,s,n,l,u);return f!==null?Xi(e,s,f,a):Cn}function ns(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 y=d;y<_;y++){let x=s[y];if(y<l&&n===x||y>=l&&x.type===n)return y}if(i){let y=s[l];if(y&&Tn(y)&&y.type===n)return l}return null}function Xi(t,e,n,r){let i=t[n],o=e.data;if(p1(i)){let s=i;s.resolving&&lw(aw(o[n]));let a=Ss(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Pe(s.injectImpl):null,f=im(t,r,Ot.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&f1(n,o[n],e)}finally{u!==null&&Pe(u),Ss(a),s.resolving=!1,lm()}}return i}function I1(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&fm:T1:e}function df(t,e,n){let r=1<<t;return!!(n[e+(t>>dm)]&r)}function pf(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 _m(this._tNode,this._lView,t,Qs(n),e)}};function T1(){return new Bi(He(),xt())}function ym(t){return pu(()=>{let e=t.prototype.constructor,n=e[ds]||Zl(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ds]||Zl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Zl(t){return bg(t)?()=>{let e=Zl(Oe(t));return e&&e()}:Cr(t)}function O1(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[mt]&2048&&!bs(s);){let a=vm(o,s,n,r|Ot.Self,Cn);if(a!==Cn)return a;let l=o.parent;if(!l){let u=s[Bg];if(u){let f=u.get(n,Cn,r);if(f!==Cn)return f}l=bm(s),s=s[gi]}o=l}return i}function bm(t){let e=t[dt],n=e.type;return n===2?e.declTNode:n===1?t[yn]:null}function gf(t,e=null,n=null,r){let i=D1(t,e,n,r);return i.resolveInjectorInitializers(),i}function D1(t,e=null,n=null,r,i=new Set){let o=[n||Vn,Iw(t)];return r=r||(typeof t=="object"?void 0:hn(t)),new bu(o,e||ta(),r||null,i)}var De=class wm{static THROW_IF_NOT_FOUND=Wi;static NULL=new Rg;static create(e,n){if(Array.isArray(e))return gf({name:""},n,e,"");{let r=e.name??"";return gf({name:r},e.parent,e.providers,r)}}static \u0275prov=pt({token:wm,providedIn:"any",factory:()=>Vt(Og)});static __NG_ELEMENT_ID__=-1},R1=new St("");R1.__NG_ELEMENT_ID__=t=>{let e=He();if(e===null)throw new Nt(204,!1);if(e.type&2)return e.value;if(t&Ot.Optional)return null;throw new Nt(204,!1)};var Em=!1,ku=(()=>{class t{static __NG_ELEMENT_ID__=P1;static __NG_ENV_ID__=n=>n}return t})(),N1=class extends ku{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Kg(this._lView,t),()=>Ww(this._lView,t)}};function P1(){return new N1(xt())}var _i=class{},Au=new St("",{providedIn:"root",factory:()=>!1}),xm=new St(""),Lu=new St(""),aa=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new au(!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})(),k1=class extends vt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jg()&&(this.destroyRef=P(ku,{optional:!0})??void 0,this.pendingTasks=P(aa,{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)})}}},Xt=k1;function Is(...t){}function Sm(t){let e,n;function r(){t=Is;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 mf(t){return queueMicrotask(()=>t()),()=>{t=Is}}var Mu="isAngularZone",Ts=Mu+"_ID",A1=0,Wt=class Yl{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xt(!1);onMicrotaskEmpty=new Xt(!1);onStable=new Xt(!1);onError=new Xt(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Em}=e;if(typeof Zone>"u")throw new Nt(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,V1(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Mu)===!0}static assertInAngularZone(){if(!Yl.isInAngularZone())throw new Nt(909,!1)}static assertNotInAngularZone(){if(Yl.isInAngularZone())throw new Nt(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,L1,Is,Is);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)}},L1={};function Vu(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 M1(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Sm(()=>{t.callbackScheduled=!1,Kl(t),t.isCheckStableRunning=!0,Vu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Kl(t)}function V1(t){let e=()=>{M1(t)},n=A1++;t._inner=t._inner.fork({name:"angular",properties:{[Mu]:!0,[Ts]:n,[Ts+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(j1(l))return r.invokeTask(o,s,a,l);try{return _f(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),vf(t)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return _f(t),r.invoke(o,s,a,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!F1(l)&&e(),vf(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Kl(t),Vu(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 Kl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function _f(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vf(t){t._nesting--,Vu(t)}var Cm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xt;onMicrotaskEmpty=new Xt;onStable=new Xt;onError=new Xt;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 j1(t){return Im(t,"__ignore_ng_zone__")}function F1(t){return Im(t,"__scheduler_tick__")}function Im(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)}},B1=new St("",{providedIn:"root",factory:()=>{let t=P(Wt),e=P(vi);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function U1(){return yi(He(),xt())}function yi(t,e){return new Le(Dn(t,e))}var Le=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=U1}return t})();function H1(t){return t instanceof Le?t.nativeElement:t}function Ln(t,e){let n=W0(t),r=n[er];return e?.equal&&(r.equal=e.equal),n.set=i=>qp(r,i),n.update=i=>Z0(r,i),n.asReadonly=$1.bind(n),n}function $1(){let t=this[er];if(t.readonlyFn===void 0){let e=()=>this();e[er]=t,t.readonlyFn=e}return t.readonlyFn}function z1(){return this._results[Symbol.iterator]()}var q1=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 vt}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=bw(t);(this._changesDetected=!yw(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]=z1};function Tm(t){return(t.flags&128)===128}var Om=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Om||{}),ju=new Map,G1=0;function W1(){return G1++}function Z1(t){ju.set(t[po],t)}function Dm(t){return ju.get(t)||null}function Xl(t){ju.delete(t[po])}var Y1=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Dm(this.lViewId)}constructor(t,e,n){this.lViewId=t,this.nodeIndex=e,this.native=n}};function K1(t){let e=tl(t);if(e){if(An(e)){let n=e,r,i,o;if(Rm(t)){if(r=Q1(n,t),r==-1)throw new Error("The provided component was not found in the application");i=t}else if(X1(t)){if(r=tE(n,t),r==-1)throw new Error("The provided directive was not found in the application");o=eE(r,n)}else if(r=bf(n,t),r==-1)return null;let s=Be(n[r]),a=tl(s),l=a&&!Array.isArray(a)?a:yf(n,r,s);if(i&&l.component===void 0&&(l.component=i,In(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)In(o[u],l)}In(l.native,l),e=l}}else{let n=t,r=n;for(;r=r.parentNode;){let i=tl(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=bf(o,n);if(s>=0){let a=Be(o[s]),l=yf(o,s,a);In(a,l),e=l;break}}}}return e||null}function yf(t,e,n){return new Y1(t[po],e,n)}var Jl="__ngContext__";function In(t,e){An(e)?(t[Jl]=e[po],Z1(e)):t[Jl]=e}function tl(t){let e=t[Jl];return typeof e=="number"?Dm(e):e||null}function Rm(t){return t&&t.constructor&&t.constructor.\u0275cmp}function X1(t){return t&&t.constructor&&t.constructor.\u0275dir}function bf(t,e){let n=t[dt];for(let r=ae;r<n.bindingStartIndex;r++)if(Be(t[r])===e)return r;return-1}function J1(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 Q1(t,e){let n=t[dt].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(Je(i,t)[ce]===e)return i}else if(Je(ae,t)[ce]===e)return ae;return-1}function tE(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=J1(n)}return-1}function eE(t,e){let n=e[dt].data[t];if(n.directiveStart===0)return Vn;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=e[i];Rm(o)||r.push(o)}return r}function Nm(t){return km(t[Ki])}function Pm(t){return km(t[fn])}function km(t){for(;t!==null&&!zn(t);)t=t[fn];return t}var Ql;function nE(t){Ql=t}function Am(){if(Ql!==void 0)return Ql;if(typeof document<"u")return document;throw new Nt(210,!1)}var Fu=new St("",{providedIn:"root",factory:()=>rE}),rE="ng",Lm=new St(""),la=new St("",{providedIn:"platform",factory:()=>"unknown"}),iE=new St(""),Mm=new St("",{providedIn:"root",factory:()=>Am().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),oE="h",sE="b",Vm=!1,aE=new St("",{providedIn:"root",factory:()=>Vm}),Bu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Bu||{}),yo=new St(""),wf=new Set;function Fr(t){wf.has(t)||(wf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var jm=(()=>{class t{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=lE}return t})();function lE(){return new jm(xt(),He())}var Kr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Kr||{}),Fm=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),cE=[Kr.EarlyRead,Kr.Write,Kr.MixedReadWrite,Kr.Read],uE=(()=>{class t{ngZone=P(Wt);scheduler=P(_i);errorHandler=P(vi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(yo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&zt(16),this.executing=!0;for(let r of cE)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[ni]??=[]).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(Bu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new t})}return t})(),hE=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?.[ni];t&&(this.view[ni]=t.filter(e=>e!==this))}};function Bm(t,e){!e?.injector&&Fg(Bm);let n=e?.injector??P(De);return Fr("NgAfterRender"),Um(t,n,e,!1)}function bo(t,e){!e?.injector&&Fg(bo);let n=e?.injector??P(De);return Fr("NgAfterNextRender"),Um(t,n,e,!0)}function fE(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 Um(t,e,n,r){let i=e.get(Fm);i.impl??=e.get(uE);let o=e.get(yo,null,{optional:!0}),s=n?.phase??Kr.MixedReadWrite,a=n?.manualCleanup!==!0?e.get(ku):null,l=e.get(jm,null,{optional:!0}),u=new hE(i.impl,fE(t,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var dE=()=>null;function Hm(t,e,n=!1){return dE(t,e,n)}function $m(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];Tu(o),a.contentQueries(2,e[s],s)}}}finally{Tt(r)}}}function tc(t,e,n){Tu(0);let r=Tt(null);try{e(t,n)}finally{Tt(r)}}function Uu(t,e,n){if(wu(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 kn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(kn||{}),Ao;function pE(){if(Ao===void 0&&(Ao=null,Gi.trustedTypes))try{Ao=Gi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ao}function ca(t){return pE()?.createHTML(t)||t}var Lo;function gE(){if(Lo===void 0&&(Lo=null,Gi.trustedTypes))try{Lo=Gi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Lo}function Ef(t){return gE()?.createHTML(t)||t}var Br=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vg})`}},mE=class extends Br{getTypeName(){return"HTML"}},_E=class extends Br{getTypeName(){return"Style"}},vE=class extends Br{getTypeName(){return"Script"}},yE=class extends Br{getTypeName(){return"URL"}},bE=class extends Br{getTypeName(){return"ResourceURL"}};function tr(t){return t instanceof Br?t.changingThisBreaksApplicationSecurity:t}function vr(t,e){let n=wE(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${vg})`)}return n===e}function wE(t){return t instanceof Br&&t.getTypeName()||null}function EE(t){return new mE(t)}function xE(t){return new _E(t)}function SE(t){return new vE(t)}function CE(t){return new yE(t)}function IE(t){return new bE(t)}function TE(t){let e=new DE(t);return RE()?new OE(e):e}var OE=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(ca(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},DE=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=ca(t),e}};function RE(){try{return!!new window.DOMParser().parseFromString(ca(""),"text/html")}catch{return!1}}var NE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hu(t){return t=String(t),t.match(NE)?t:"unsafe:"+t}function qn(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 zm=qn("area,br,col,hr,img,wbr"),qm=qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gm=qn("rp,rt"),PE=wo(Gm,qm),kE=wo(qm,qn("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")),AE=wo(Gm,qn("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")),xf=wo(zm,kE,AE,PE),Wm=qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LE=qn("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"),ME=qn("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"),VE=wo(Wm,LE,ME),jE=qn("script,style,template"),FE=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=HE(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=UE(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Sf(t).toLowerCase();if(!xf.hasOwnProperty(e))return this.sanitizedSomething=!0,!jE.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(!VE.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;Wm[s]&&(a=Hu(a)),this.buf.push(" ",o,'="',Cf(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Sf(t).toLowerCase();xf.hasOwnProperty(e)&&!zm.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Cf(t))}};function BE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function UE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function HE(t){let e=t.firstChild;if(e&&BE(t,e))throw Zm(e);return e}function Sf(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var $E=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function Cf(t){return t.replace(/&/g,"&amp;").replace($E,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(zE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Mo;function Ym(t,e){let n=null;try{Mo=Mo||TE(t);let r=e?String(e):"";n=Mo.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=Mo.getInertBodyElement(r)}while(r!==o);let s=new FE().sanitizeChildren(If(n)||n);return ca(s)}finally{if(n){let r=If(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function If(t){return"content"in t&&qE(t)?t.content:null}function qE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Pn=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}(Pn||{});function Ur(t){let e=Km();return e?Ef(e.sanitize(Pn.HTML,t)||""):vr(t,"HTML")?Ef(tr(t)):Ym(Am(),ho(t))}function rn(t){let e=Km();return e?e.sanitize(Pn.URL,t)||"":vr(t,"URL")?tr(t):Hu(ho(t))}function Km(){let t=xt();return t&&t[Fn].sanitizer}var GE=/^>|^->|<!--|-->|--!>|<!-$/g,WE=/(<|>)/g,ZE="\u200B$1\u200B";function YE(t){return t.replace(GE,e=>e.replace(WE,ZE))}function KE(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 Xm="ng-template";function JE(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($u(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 $u(t){return t.type===4&&t.value!==Xm}function QE(t,e,n){let r=t.type===4&&!n?Xm:t.value;return e===r}function tx(t,e,n){let r=4,i=t.attrs,o=i!==null?rx(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!==""&&!QE(t,l,n)||l===""&&e.length===1){if(an(r))return!1;s=!0}}else if(r&8){if(i===null||!JE(t,i,l,n)){if(an(r))return!1;s=!0}}else{let u=e[++a],f=ex(l,i,$u(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 ex(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 ix(e,t)}function nx(t,e,n=!1){for(let r=0;r<e.length;r++)if(tx(t,e[r],n))return!0;return!1}function rx(t){for(let e=0;e<t.length;e++){let n=t[e];if(v1(n))return e}return t.length}function ix(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 Tf(t,e){return t?":not("+e.trim()+")":e}function ox(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+=Tf(o,i),i=""),r=s,o=o||!an(r);n++}return i!==""&&(e+=Tf(o,i)),e}function sx(t){return t.map(ox).join(",")}function ax(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 Gn={};function lx(t,e){return t.createText(e)}function cx(t,e,n){t.setValue(e,n)}function ux(t,e){return t.createComment(YE(e))}function Jm(t,e,n){return t.createElement(e,n)}function Os(t,e,n,r,i){t.insertBefore(e,n,r,i)}function Qm(t,e,n){t.appendChild(e,n)}function Of(t,e,n,r,i){r!==null?Os(t,e,n,r,i):Qm(t,e,n)}function hx(t,e,n){t.removeChild(null,e,n)}function fx(t,e,n){t.setAttribute(e,"style",n)}function dx(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function t_(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&_1(t,e,r),i!==null&&dx(t,e,i),o!==null&&fx(t,e,o)}function zu(t,e,n,r,i,o,s,a,l,u,f){let d=ae+r,_=d+i,y=px(d,_),x=typeof u=="function"?u():u;return y[dt]={type:t,blueprint:y,template:n,queries:null,viewQuery:a,declTNode:e,data:y.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 px(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Gn);return n}function gx(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=zu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function qu(t,e,n,r,i,o,s,a,l,u,f){let d=e.blueprint.slice();return d[$n]=i,d[mt]=r|4|128|8|64|1024,(u!==null||t&&t[mt]&2048)&&(d[mt]|=2048),Yg(d),d[Ie]=d[gi]=t,d[ce]=n,d[Fn]=s||t&&t[Fn],d[ve]=a||t&&t[ve],d[Yi]=l||t&&t[Yi]||null,d[yn]=o,d[po]=W1(),d[Zi]=f,d[Bg]=u,d[mn]=e.type==2?t[mn]:d,d}function mx(t,e,n){let r=Dn(e,t),i=gx(n),o=t[Fn].rendererFactory,s=Gu(t,qu(t,i,null,e_(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function e_(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function n_(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 Gu(t,e){return t[Ki]?t[cf][fn]=e:t[Ki]=e,t[cf]=e,e}function Y(t=1){r_(pe(),xt(),hr()+t,!1)}function r_(t,e,n,r){if(!r)if((e[mt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&ts(e,i,n)}else{let i=t.preOrderHooks;i!==null&&es(e,i,0,n)}Nr(n)}var ua=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ua||{});function ec(t,e,n,r){let i=Tt(null);try{let[o,s,a]=t.inputs[n],l=null;(s&ua.SignalBased)!==0&&(l=e[o][er]),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):Hg(e,l,o,r)}finally{Tt(i)}}function i_(t,e,n,r,i){let o=hr(),s=r&2;try{Nr(-1),s&&e.length>ae&&r_(t,e,ae,!1),zt(s?2:0,i),n(r,i)}finally{Nr(o),zt(s?3:1,i)}}function ha(t,e,n){Ex(t,e,n),(n.flags&64)===64&&xx(t,e,n)}function Wu(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 _x(t,e,n,r){let i=r.get(aE,Vm)||n===kn.ShadowDom,o=t.selectRootElement(e,i);return vx(o),o}function vx(t){yx(t)}var yx=()=>null;function bx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function o_(t,e,n,r,i,o,s,a){if(!a&&Yu(e,t,n,r,i)){mi(e)&&wx(n,e.index);return}if(e.type&3){let l=Dn(e,n);r=bx(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(l,r,i)}else e.type&12}function wx(t,e){let n=Je(e,t);n[mt]&16||(n[mt]|=64)}function Ex(t,e,n){let r=n.directiveStart,i=n.directiveEnd;mi(n)&&mx(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Cs(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=Xi(e,t,s,n);if(In(l,e),o!==null&&Tx(e,s-r,l,a,n,o),Tn(a)){let u=Je(n.index,e);u[ce]=Xi(e,t,s,n)}}}function xx(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=s1();try{Nr(o);for(let a=r;a<i;a++){let l=t.data[a],u=e[a];ql(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Sx(l,u)}}finally{Nr(-1),ql(s)}}function Sx(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Zu(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];nx(e,o.selectors,!1)&&(r??=[],Tn(o)?r.unshift(o):r.push(o))}return r}function Cx(t,e,n,r,i,o){let s=Dn(t,e);Ix(e[ve],s,o,t.value,n,r,i)}function Ix(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 Tx(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];ec(r,n,l,u)}}function s_(t,e){let n=t[Yi],r=n?n.get(vi,null):null;r&&r.handleError(e)}function Yu(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];ec(d,n[u],f,i),a=!0}if(o)for(let l of o){let u=n[l],f=e.data[l];ec(f,u,r,i),a=!0}return a}function Ox(t,e){let n=Je(e,t),r=n[dt];Dx(r,n);let i=n[$n];i!==null&&n[Zi]===null&&(n[Zi]=Hm(i,n[Yi])),zt(18),Ku(r,n,n[ce]),zt(19,n[ce])}function Dx(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function Ku(t,e,n){Ou(e);try{let r=t.viewQuery;r!==null&&tc(1,r,n);let i=t.template;i!==null&&i_(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Bn]?.finishViewCreation(t),t.staticContentQueries&&$m(t,e),t.staticViewQueries&&tc(2,t.viewQuery,n);let o=t.components;o!==null&&Rx(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[mt]&=-5,Du()}}function Rx(t,e){for(let n=0;n<e.length;n++)Ox(t,e[n])}function fa(t,e,n,r){let i=Tt(null);try{let o=e.tView,s=t[mt]&4096?4096:16,a=qu(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[e.index];a[Or]=l;let u=t[Bn];return u!==null&&(a[Bn]=u.createEmbeddedView(o)),Ku(o,a,n),a}finally{Tt(i)}}function Ji(t,e){return!e||e.firstChild===null||Tm(t)}var Nx;function Xu(t,e){return Nx(t,e)}var br=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(br||{});function a_(t){return(t.flags&32)===32}function Xr(t,e,n,r,i){if(r!=null){let o,s=!1;zn(r)?o=r:An(r)&&(s=!0,r=r[$n]);let a=Be(r);t===0&&n!==null?i==null?Qm(e,n,a):Os(e,n,a,i||null,!0):t===1&&n!==null?Os(e,n,a,i||null,!0):t===2?hx(e,a,s):t===3&&e.destroyNode(a),o!=null&&$x(e,t,o,n,i)}}function Px(t,e){l_(t,e),e[$n]=null,e[yn]=null}function kx(t,e,n,r,i,o){r[$n]=i,r[yn]=e,ga(t,r,n,1,i,o)}function l_(t,e){e[Fn].changeDetectionScheduler?.notify(9),ga(t,e,e[ve],2,null,null)}function Ax(t){let e=t[Ki];if(!e)return el(t[dt],t);for(;e;){let n=null;if(An(e))n=e[Ki];else{let r=e[Ce];r&&(n=r)}if(!n){for(;e&&!e[fn]&&e!==t;)An(e)&&el(e[dt],e),e=e[Ie];e===null&&(e=t),An(e)&&el(e[dt],e),n=e&&e[fn]}e=n}}function Ju(t,e){let n=t[li],r=n.indexOf(e);n.splice(r,1)}function da(t,e){if(go(e))return;let n=e[ve];n.destroyNode&&ga(t,e,n,3,null,null),Ax(e)}function el(t,e){if(go(e))return;let n=Tt(null);try{e[mt]&=-129,e[mt]|=256,e[je]&&Fp(e[je]),Mx(t,e),Lx(t,e),e[dt].type===1&&e[ve].destroy();let r=e[Or];if(r!==null&&zn(e[Ie])){r!==e[Ie]&&Ju(r,e);let i=e[Bn];i!==null&&i.detachView(t)}Xl(e)}finally{Tt(n)}}function Lx(t,e){let n=t.cleanup,r=e[_s];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[_s]=null);let i=e[rr];if(i!==null){e[rr]=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 Mx(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 vo)){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 Vx(t,e,n){return jx(t,e.parent,n)}function jx(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[$n];if(mi(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===kn.None||i===kn.Emulated)return null}return Dn(r,n)}function Fx(t,e,n){return Ux(t,e,n)}function Bx(t,e,n){return t.type&40?Dn(t,n):null}var Ux=Bx,Df;function pa(t,e,n,r){let i=Vx(t,r,e),o=e[ve],s=r.parent||e[yn],a=Fx(s,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)Of(o,i,n[l],a,!1);else Of(o,i,n,a,!1);Df!==void 0&&Df(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 nc(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Li(t,r);{let i=t[e.index];return zn(i)?nc(-1,i):Be(i)}}else{if(n&128)return Li(t,e.next);if(n&32)return Xu(e,t)()||Be(t[e.index]);{let r=c_(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=Rr(t[mn]);return Li(i,r)}else return Li(t,e.next)}}}return null}function c_(t,e){if(e!==null){let n=t[mn][yn],r=e.projection;return n.projection[r]}return null}function nc(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[Dr]}function Qu(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&&In(Be(a),r),n.flags|=2),!a_(n))if(l&8)Qu(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?Hx(t,e,r,n,i,o):Xr(e,t,i,a,o);n=s?n.projectionNext:n.next}}function ga(t,e,n,r,i,o){Qu(n,r,t.firstChild,e,i,o,!1)}function Hx(t,e,n,r,i,o){let s=n[mn],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];Tm(r)&&(l.flags|=128),Qu(t,e,l,u,i,o,!0)}}function $x(t,e,n,r,i){let o=n[Dr],s=Be(n);o!==s&&Xr(e,t,r,o,i);for(let a=Ce;a<n.length;a++){let l=n[a];ga(l[dt],l,t,e,r,o)}}function zx(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:br.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=br.Important),t.setStyle(n,r,i,o))}}function Ds(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(Be(o)),zn(o)&&qx(o,r);let s=n.type;if(s&8)Ds(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=c_(e,n);if(Array.isArray(a))r.push(...a);else{let l=Rr(e[mn]);Ds(l[dt],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function qx(t,e){for(let n=Ce;n<t.length;n++){let r=t[n],i=r[dt].firstChild;i!==null&&Ds(r[dt],r,i,e)}t[Dr]!==t[$n]&&e.push(t[Dr])}function u_(t){if(t[ni]!==null){for(let e of t[ni])e.impl.addSequence(e);t[ni].length=0}}var h_=[];function Gx(t){return t[je]??Wx(t)}function Wx(t){let e=h_.pop()??Object.create(Yx);return e.lView=t,e}function Zx(t){t.lView[je]!==t&&(t.lView=null,h_.push(t))}var Yx=Zt(j({},ru),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[je]=this}});function Kx(t){let e=t[je]??Object.create(Xx);return e.lView=t,e}var Xx=Zt(j({},ru),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Rr(t.lView);for(;e&&!f_(e[dt]);)e=Rr(e);e&&Su(e)},consumerOnSignalRead(){this.lView[je]=this}});function f_(t){return t.type!==2}function d_(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 Jx=100;function p_(t,e=!0,n=0){let r=t[Fn].rendererFactory,i=!1;i||r.begin?.();try{Qx(t,n)}catch(o){throw e&&s_(t,o),o}finally{i||r.end?.()}}function Qx(t,e){let n=nm();try{uf(!0),rc(t,e);let r=0;for(;ra(t);){if(r===Jx)throw new Nt(103,!1);r++,rc(t,1)}}finally{uf(n)}}function tS(t,e,n,r){if(go(e))return;let i=e[mt],o=!1,s=!1;Ou(e);let a=!0,l=null,u=null;o||(f_(t)?(u=Gx(e),l=Yh(u)):j0()===null?(a=!1,u=Kx(e),l=Yh(u)):e[je]&&(Fp(e[je]),e[je]=null));try{Yg(e),n1(t.bindingStartIndex),n!==null&&i_(t,e,n,2,r);let f=(i&3)===3;if(!o)if(f){let y=t.preOrderCheckHooks;y!==null&&ts(e,y,null)}else{let y=t.preOrderHooks;y!==null&&es(e,y,0,null),Xa(e,0)}if(s||eS(e),d_(e),g_(e,0),t.contentQueries!==null&&$m(t,e),!o)if(f){let y=t.contentCheckHooks;y!==null&&ts(e,y)}else{let y=t.contentHooks;y!==null&&es(e,y,1),Xa(e,1)}rS(t,e);let d=t.components;d!==null&&__(e,d,0);let _=t.viewQuery;if(_!==null&&tc(2,_,r),!o)if(f){let y=t.viewCheckHooks;y!==null&&ts(e,y)}else{let y=t.viewHooks;y!==null&&es(e,y,2),Xa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ka]){for(let y of e[Ka])y();e[Ka]=null}o||(u_(e),e[mt]&=-73)}catch(f){throw o||mo(e),f}finally{u!==null&&($0(u,l),a&&Zx(u)),Du()}}function g_(t,e){for(let n=Nm(t);n!==null;n=Pm(n))for(let r=Ce;r<n.length;r++){let i=n[r];m_(i,e)}}function eS(t){for(let e=Nm(t);e!==null;e=Pm(e)){if(!(e[mt]&2))continue;let n=e[li];for(let r=0;r<n.length;r++){let i=n[r];Su(i)}}}function nS(t,e,n){zt(18);let r=Je(e,t);m_(r,n),zt(19,r[ce])}function m_(t,e){xu(t)&&rc(t,e)}function rc(t,e){let n=t[dt],r=t[mt],i=t[je],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&jp(i)),o||=!1,i&&(i.dirty=!1),t[mt]&=-9217,o)tS(n,t,n.template,t[ce]);else if(r&8192){d_(t),g_(t,1);let s=n.components;s!==null&&__(t,s,1),u_(t)}}function __(t,e,n){for(let r=0;r<e.length;r++)nS(t,e[r],n)}function rS(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)Nr(~i);else{let o=i,s=n[++r],a=n[++r];o1(s,o);let l=e[o];zt(24,l),a(2,l),zt(25,l)}}}finally{Nr(-1)}}function th(t,e){let n=nm()?64:1088;for(t[Fn].changeDetectionScheduler?.notify(e);t;){t[mt]|=n;let r=Rr(t);if(bs(t)&&!r)return t;t=r}return null}function v_(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function y_(t,e){let n=Ce+e;if(n<t.length)return t[n]}function ma(t,e,n,r=!0){let i=e[dt];if(iS(i,e,t,n),r){let s=nc(n,t),a=e[ve],l=a.parentNode(t[Dr]);l!==null&&kx(i,t[yn],a,e,l,s)}let o=e[Zi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function b_(t,e){let n=Qi(t,e);return n!==void 0&&da(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[Or];i!==null&&i!==t&&Ju(i,r),e>0&&(t[n-1][fn]=r[fn]);let o=gs(t,Ce+e);Px(r[dt],r);let s=o[Bn];s!==null&&s.detachView(o[dt]),r[Ie]=null,r[fn]=null,r[mt]&=-129}return r}function iS(t,e,n,r){let i=Ce+r,o=n.length;r>0&&(n[i-1][fn]=e),r<o-Ce?(e[fn]=n[i],Tg(n,Ce+r,e)):(n.push(e),e[fn]=null),e[Ie]=n;let s=e[Or];s!==null&&n!==s&&w_(s,e);let a=e[Bn];a!==null&&a.insertView(t),$l(e),e[mt]|=128}function w_(t,e){let n=t[li],r=e[Ie];if(An(r))t[mt]|=2;else{let i=r[Ie][mn];e[mn]!==i&&(t[mt]|=2)}n===null?t[li]=[e]:n.push(e)}var to=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[dt];return Ds(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[ce]}get dirty(){return!!(this._lView[mt]&9280)||!!this._lView[je]?.dirty}set context(t){this._lView[ce]=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(zn(t)){let e=t[ys],n=e?e.indexOf(this):-1;n>-1&&(Qi(t,n),gs(e,n))}this._attachedToViewContainer=!1}da(this._lView[dt],this._lView)}onDestroy(t){Kg(this._lView,t)}markForCheck(){th(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Su(this._cdRefInjectingView||this._lView)}detach(){this._lView[mt]&=-129}reattach(){$l(this._lView),this._lView[mt]|=128}detectChanges(){this._lView[mt]|=1024,p_(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Nt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bs(this._lView),e=this._lView[Or];e!==null&&!t&&Ju(e,this._lView),l_(this._lView[dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Nt(902,!1);this._appRef=t;let e=bs(this._lView),n=this._lView[Or];n!==null&&!e&&w_(n,this._lView),$l(this._lView)}},eo=(()=>{class t{static __NG_ELEMENT_ID__=aS}return t})(),oS=eo,sS=class extends oS{_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=fa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:n});return new to(r)}};function aS(){return _a(He(),xt())}function _a(t,e){return t.type&4?new sS(e,t,yi(t,e)):null}function Eo(t,e,n,r,i){let o=t.data[e];if(o===null)o=lS(t,e,n,r,i),i1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=e1();o.injectorIndex=s===null?-1:s.injectorIndex}return ur(o,!0),o}function lS(t,e,n,r,i){let o=Qg(),s=Iu(),a=s?o:o&&o.parent,l=t.data[e]=uS(t,a,n,e,r,i);return cS(t,l,o,s),l}function cS(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 uS(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return Jw()&&(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+)*(${sE}|${oE})*(.*)`),hS=()=>null;function no(t,e){return hS(t,e)}var fS=class{},E_=class{},dS=class{resolveComponentFactory(t){throw Error(`No component factory found for ${hn(t)}.`)}},xo=class{static NULL=new dS},bn=class{},x_=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>pS()}return t})();function pS(){let t=xt(),e=He(),n=Je(e.index,t);return(An(n)?n:t)[ve]}var gS=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>null})}return t})();function ic(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=nf(i,a);else if(o==2){let l=a,u=e[++s];r=nf(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 Vt(t,e);let r=He();return _m(r,n,Oe(t),e)}function eh(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=_S(s);f===null?a=s:[a,l,u]=f,bS(t,e,n,a,o,l,u)}o!==null&&r!==null&&mS(n,r,o)}function mS(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 Nt(-301,!1);r.push(e[i],o)}}function _S(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 yS(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function bS(t,e,n,r,i,o,s){let a=r.length,l=!1;for(let _=0;_<a;_++){let y=r[_];!l&&Tn(y)&&(l=!0,yS(t,n,_)),Wl(Cs(n,e),t,y.type)}IS(n,t.data.length,a);for(let _=0;_<a;_++){let y=r[_];y.providersResolver&&y.providersResolver(y)}let u=!1,f=!1,d=n_(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let _=0;_<a;_++){let y=r[_];if(n.mergedAttrs=ci(n.mergedAttrs,y.hostAttrs),ES(t,n,e,d,y),CS(d,y,i),s!==null&&s.has(y)){let[I,V]=s.get(y);n.directiveToIndex.set(y.type,[d,I+n.directiveStart,V+n.directiveStart])}else(o===null||!o.has(y))&&n.directiveToIndex.set(y.type,d);y.contentQueries!==null&&(n.flags|=4),(y.hostBindings!==null||y.hostAttrs!==null||y.hostVars!==0)&&(n.flags|=64);let x=y.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++}wS(t,n,o)}function wS(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Rf(0,e,i,r),Rf(1,e,i,r),Pf(e,r,!1);else{let o=n.get(i);Nf(0,e,o,r),Nf(1,e,o,r),Pf(e,r,!0)}}}function Rf(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),S_(e,o)}}function Nf(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),S_(e,s)}}function S_(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function Pf(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||$u(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 ES(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=Cr(i.type,!0)),s=new vo(o,Tn(i),Ee);t.blueprint[r]=s,n[r]=s,xS(t,e,r,n_(t,n,i.hostVars,Gn),i)}function xS(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;SS(s)!=a&&s.push(a),s.push(n,r,o)}}function SS(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function CS(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 IS(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function C_(t,e,n,r,i,o,s,a){let l=e.consts,u=sr(l,s),f=Eo(e,t,2,r,u);return o&&eh(e,n,f,sr(l,a),i),f.mergedAttrs=ci(f.mergedAttrs,f.attrs),f.attrs!==null&&ic(f,f.attrs,!1),f.mergedAttrs!==null&&ic(f,f.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,f),f}function I_(t,e){Nu(t,e),wu(e)&&t.queries.elementEnd(e)}var TS=class extends xo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=Tr(t);return new nh(e,this.ngModule)}};function OS(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&ua.SignalBased)!==0};return i&&(o.transform=i),o})}function DS(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function RS(t,e,n){let r=e instanceof jn?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new b1(n,r):n}function NS(t){let e=t.get(bn,null);if(e===null)throw new Nt(407,!1);let n=t.get(gS,null),r=t.get(_i,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function PS(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Jm(e,n,n==="svg"?Wg:n==="math"?$w:null)}var nh=class extends E_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return OS(this.componentDef.inputs)}get outputs(){return DS(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=sx(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"]:ax(this.componentDef.selectors[0]),a=zu(0,null,null,1,0,null,null,null,null,[s],null),l=RS(o,r||this.ngModule,t),u=NS(l),f=u.rendererFactory.createRenderer(null,o),d=n?_x(f,n,o.encapsulation,l):PS(o,f),_=qu(null,a,null,512|e_(o),null,null,u,f,l,null,Hm(d,l,!0));_[ae]=d,Ou(_);let y=null;try{let x=C_(ae,a,_,"#host",()=>[this.componentDef],!0,0);d&&(t_(f,d,x),In(d,_)),ha(a,_,x),Uu(a,x,_),I_(a,x),e!==void 0&&AS(x,this.ngContentSelectors,e),y=Je(x.index,_),_[ce]=y[ce],Ku(a,_,null)}catch(x){throw y!==null&&Xl(y),Xl(_),x}finally{zt(23),Du()}return new kS(this.componentType,_)}finally{Tt(i)}}},kS=class extends fS{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=Eu(e[dt],ae),this.location=yi(this._tNode,e),this.instance=Je(this._tNode.index,e)[ce],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=Yu(n,r[dt],r,t,e);this.previousInputValues.set(t,e);let o=Je(n.index,r);th(o,1)}get injector(){return new Bi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function AS(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 bi=(()=>{class t{static __NG_ELEMENT_ID__=LS}return t})();function LS(){let t=He();return O_(t,xt())}var MS=bi,T_=class extends MS{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return yi(this._hostTNode,this._hostLView)}get injector(){return new Bi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Pu(this._hostTNode,this._hostLView);if(hm(t)){let e=xs(t,this._hostLView),n=Es(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=kf(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,Ji(this._hostTNode,o)),s}createComponent(t,e,n,r,i){let o=t&&!Vw(t),s;if(o)s=e;else{let y=e||{};s=y.index,n=y.injector,r=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}let a=o?t:new nh(Tr(t)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let y=(o?l:this.parentInjector).get(jn,null);y&&(i=y)}let u=Tr(a.componentType??{}),f=no(this._lContainer,u?.id??null),d=f?.firstChild??null,_=a.create(l,r,d,i);return this.insertImpl(_.hostView,s,Ji(this._hostTNode,f)),_}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){let r=t._lView;if(qw(r)){let s=this.indexOf(t);if(s!==-1)this.detach(s);else{let a=r[Ie],l=new T_(a,a[yn],a[Ie]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(e),o=this._lContainer;return ma(o,r,i,n),t.attachToViewContainerRef(),Tg(nl(o),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=kf(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);n&&(gs(nl(this._lContainer),e),da(n[dt],n))}detach(t){let e=this._adjustIndex(t,-1),n=Qi(this._lContainer,e);return n&&gs(nl(this._lContainer),e)!=null?new to(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function kf(t){return t[ys]}function nl(t){return t[ys]||(t[ys]=[])}function O_(t,e){let n,r=e[t.index];return zn(r)?n=r:(n=v_(r,e,null,t),e[t.index]=n,Gu(e,n)),jS(n,e,t,r),new T_(n,t,e)}function VS(t,e){let n=t[ve],r=n.createComment(""),i=Dn(e,t),o=n.parentNode(i);return Os(n,o,r,n.nextSibling(i),!1),r}var jS=US,FS=()=>!1;function BS(t,e,n){return FS(t,e,n)}function US(t,e,n,r){if(t[Dr])return;let i;n.type&8?i=Be(r):i=VS(e,n),t[Dr]=i}var HS=class D_{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new D_(this.queryList)}setDirty(){this.queryList.setDirty()}},$S=class R_{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 R_(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++)rh(e,n).matches!==null&&this.queries[n].setDirty()}},zS=class{flags;read;predicate;constructor(t,e,n=null){this.flags=e,this.read=n,typeof t=="string"?this.predicate=tC(t):this.predicate=t}},qS=class N_{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 N_(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)}},GS=class P_{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 P_(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,WS(n,o)),this.matchTNodeWithReadOption(e,n,ns(n,e,o,!1,!1))}else r===eo?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,ns(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Le||i===bi||i===eo&&n.type&4)this.addMatch(n.index,-2);else{let o=ns(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 WS(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 ZS(t,e){return t.type&11?yi(t,e):t.type&4?_a(t,e):null}function YS(t,e,n,r){return n===-1?ZS(e,t):n===-2?KS(t,e,r):Xi(t,t[dt],n,e)}function KS(t,e,n){if(n===Le)return yi(e,t);if(n===eo)return _a(e,t);if(n===bi)return O_(e,t)}function k_(t,e,n,r){let i=e[Bn].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(YS(e,f,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function oc(t,e,n,r){let i=t.queries.getByIndex(n),o=i.matches;if(o!==null){let s=k_(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];_[Or]===_[Ie]&&oc(_[dt],_,u,r)}if(f[li]!==null){let d=f[li];for(let _=0;_<d.length;_++){let y=d[_];oc(y[dt],y,u,r)}}}}}return r}function XS(t,e){return t[Bn].queries[e].queryList}function JS(t,e,n){let r=new q1((n&4)===4);return Zw(t,e,r,r.destroy),(e[Bn]??=new $S).queries.push(new HS(r))-1}function QS(t,e,n){let r=pe();return r.firstCreatePass&&(eC(r,new zS(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),JS(r,xt(),e)}function tC(t){return t.split(",").map(e=>e.trim())}function eC(t,e,n){t.queries===null&&(t.queries=new qS),t.queries.track(new GS(e,n))}function rh(t,e){return t.queries.getByIndex(e)}function nC(t,e){let n=t[dt],r=rh(n,e);return r.crossesNgTemplate?oc(n,t,e,[]):k_(n,t,r,e)}var ro=class{},A_=class extends ro{injector;componentFactoryResolver=new TS(this);instance=null;constructor(t){super();let e=new bu([...t.providers,{provide:ro,useValue:this},{provide:xo,useValue:this.componentFactoryResolver}],t.parent||ta(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function rC(t,e,n=null){return new A_({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var iC=(()=>{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=kg(!1,n.type),i=r.length>0?rC([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(Vt(jn))})}return t})();function Re(t){return pu(()=>{let e=L_(t),n=Zt(j({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Om.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(iC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||kn.Emulated,styles:t.styles||Vn,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&Fr("NgStandalone"),M_(n);let r=t.dependencies;return n.directiveDefs=Af(r,!1),n.pipeDefs=Af(r,!0),n.id=cC(n),n})}function oC(t){return Tr(t)||Ng(t)}function sC(t){return t!==null}function aC(t,e){if(t==null)return Ir;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=ua.None,l=null),n[o]=[r,a,l],e[o]=s}return n}function lC(t){if(t==null)return Ir;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function va(t){return pu(()=>{let e=L_(t);return M_(e),e})}function ih(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 L_(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||Ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Vn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:aC(t.inputs,e),outputs:lC(t.outputs),debugInfo:null}}function M_(t){t.features?.forEach(e=>e(t))}function Af(t,e){if(!t)return null;let n=e?Pg:oC;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(sC)}function cC(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 uC(t){return Object.getPrototypeOf(t.prototype).constructor}function wi(t){let e=uC(t.type),n=!0,r=[t];for(;e;){let i;if(Tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Nt(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=rl(t.inputs),s.declaredInputs=rl(t.declaredInputs),s.outputs=rl(t.outputs);let a=i.hostBindings;a&&gC(t,a);let l=i.viewQuery,u=i.contentQueries;if(l&&dC(t,l),u&&pC(t,u),hC(t,i),ew(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===wi&&(n=!1)}}e=Object.getPrototypeOf(e)}fC(r)}function hC(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 fC(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=ci(i.hostAttrs,n=ci(n,i.hostAttrs))}}function rl(t){return t===Ir?{}:t===Vn?[]:t}function dC(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function pC(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function gC(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function V_(t,e,n){return t[e]=n}function Un(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function mC(t,e,n,r){let i=Un(t,e,n);return Un(t,e+1,r)||i}function _C(t,e,n,r,i,o,s,a,l){let u=e.consts,f=Eo(e,t,4,s||null,a||null);Cu()&&eh(e,n,f,sr(u,l),Zu),f.mergedAttrs=ci(f.mergedAttrs,f.attrs),Nu(e,f);let d=f.tView=zu(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 sc(t,e,n,r,i,o,s,a,l,u){let f=n+ae,d=e.firstCreatePass?_C(f,e,t,r,i,o,s,a,l):e.data[f];ur(d,!1);let _=vC(e,t,d,n);oa()&&pa(e,t,_,d),In(_,t);let y=v_(_,t,_,d);return t[f]=y,Gu(t,y),BS(y,d,t),ea(d)&&ha(e,t,d),l!=null&&Wu(t,d,u),d}function se(t,e,n,r,i,o,s,a){let l=xt(),u=pe(),f=sr(u.consts,o);return sc(l,u,t,e,n,r,i,f,s,a),se}var vC=yC;function yC(t,e,n,r){return sa(!0),e[ve].createComment("")}var bC=new St(""),wC=(()=>{class t{static \u0275prov=pt({token:t,providedIn:"root",factory:()=>new EC})}return t})(),EC=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 j_(t){return!!t&&typeof t.then=="function"}function xC(t){return!!t&&typeof t.subscribe=="function"}var SC=new St(""),F_=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(SC,{optional:!0})??[];injector=P(De);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Vg(this.injector,i);if(j_(o))n.push(o);else if(xC(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})(),CC=new St("");function IC(){q0(()=>{throw new Nt(600,!1)})}function TC(t){return t.isBoundToModule}var OC=10,lr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(B1);afterRenderManager=P(Fm);zonelessEnabled=P(Au);rootEffectScheduler=P(wC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new vt;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(aa).hasPendingTasks.pipe(Xs(n=>!n));constructor(){P(yo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(jn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){zt(10);let i=n instanceof E_;if(!this._injector.get(F_).done){let d=!i&&Sw(n),_=!1;throw new Nt(405,_)}let o;i?o=n:o=this._injector.get(xo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=TC(o)?void 0:this._injector.get(ro),a=r||o.selector,l=o.create(De.NULL,[],a,s),u=l.location.nativeElement,f=l.injector.get(bC,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),rs(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(Bu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Nt(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(bn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<OC;)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)DC(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})=>ra(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;rs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(CC,[]).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),()=>rs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Nt(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 rs(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function DC(t,e,n,r){!n&&!ra(t)||p_(t,e,n&&!r?0:1)}function ya(t,e,n,r){let i=xt(),o=_o();if(Un(i,o,e)){let s=pe(),a=Ru();Cx(a,i,t,e,n,r)}return ya}function B_(t,e,n,r){return Un(t,_o(),n)?e+ho(n)+r:Gn}function Vo(t,e){return t<<17|e<<2}function Pr(t){return t>>17&32767}function RC(t){return(t&2)==2}function NC(t,e){return t&131071|e<<17}function ac(t){return t|2}function ui(t){return(t&131068)>>2}function il(t,e){return t&-131069|e<<2}function PC(t){return(t&1)===1}function lc(t){return t|1}function kC(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Pr(s),l=ui(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=Pr(t[a+1]);t[r+1]=Vo(d,a),d!==0&&(t[d+1]=il(t[d+1],r)),t[a+1]=NC(t[a+1],r)}else t[r+1]=Vo(a,0),a!==0&&(t[a+1]=il(t[a+1],r)),a=r;else t[r+1]=Vo(l,0),a===0?a=r:t[l+1]=il(t[l+1],r),l=r;u&&(t[r+1]=ac(t[r+1])),Lf(t,f,r,!0),Lf(t,f,r,!1),AC(e,f,t,r,o),s=Vo(a,l),o?e.classBindings=s:e.styleBindings=s}function AC(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&fo(o,e)>=0&&(n[r+1]=lc(n[r+1]))}function Lf(t,e,n,r){let i=t[n+1],o=e===null,s=r?Pr(i):ui(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];LC(l,e)&&(a=!0,t[s+1]=r?lc(u):ac(u)),s=r?Pr(u):ui(u)}a&&(t[n+1]=r?ac(i):lc(i))}function LC(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 Pt(t,e,n){let r=xt(),i=_o();if(Un(r,i,e)){let o=pe(),s=Ru();o_(o,s,r,t,e,r[ve],n,!1)}return Pt}function Mf(t,e,n,r,i){Yu(e,t,n,i?"class":"style",r)}function ba(t,e,n){return U_(t,e,n,!1),ba}function wa(t,e){return U_(t,e,null,!0),wa}function U_(t,e,n,r){let i=xt(),o=pe(),s=r1(2);if(o.firstUpdatePass&&VC(o,t,s,r),e!==Gn&&Un(i,s,e)){let a=o.data[hr()];HC(o,a,i,i[ve],t,i[s+1]=$C(e,n),r,s)}}function MC(t,e){return e>=t.expandoStartIndex}function VC(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[hr()],s=MC(t,n);zC(o,r)&&e===null&&!s&&(e=!1),e=jC(i,o,e,r),kC(i,o,e,n,s,r)}}function jC(t,e,n,r){let i=a1(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=ol(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=ol(i,t,e,n,r),o===null){let a=FC(t,e,r);a!==void 0&&Array.isArray(a)&&(a=ol(null,t,e,a[1],r),a=io(a,e.attrs,r),BC(t,e,r,a))}else o=UC(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function FC(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ui(r)!==0)return t[Pr(r)]}function BC(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Pr(i)]=r}function UC(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 ol(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]),Ew(t,s,n?!0:e[++o]))}return t===void 0?null:t}function HC(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let l=t.data,u=l[a+1],f=PC(u)?Vf(l,e,n,i,ui(u),s):void 0;if(!Rs(f)){Rs(o)||RC(u)&&(o=Vf(l,null,n,i,a,s));let d=Zg(hr(),n);zx(r,s,d,i,o)}}function Vf(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];_===Gn&&(_=d?Vn:void 0);let y=d?Za(_,r):f===r?_:void 0;if(u&&!Rs(y)&&(y=Za(l,r)),Rs(y)&&(a=y,s))return a;let x=t[i+1];i=s?Pr(x):ui(x)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Za(l,r))}return a}function Rs(t){return t!==void 0}function $C(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=hn(tr(t)))),t}function zC(t,e){return(t.flags&(e?8:16))!==0}var qC=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 sl(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function GC(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=sl(o,u,o,f,n);if(d!==0){d<0&&t.updateValue(o,f),o++;continue}let _=t.at(s),y=e[l],x=sl(s,_,l,y,n);if(x!==0){x<0&&t.updateValue(s,y),s--,l--;continue}let I=n(o,u),V=n(s,_),L=n(o,f);if(Object.is(L,V)){let Z=n(l,y);Object.is(Z,I)?(t.swap(o,s),t.updateValue(s,y),l--,s--):t.move(s,o),t.updateValue(o,f),o++;continue}if(r??=new Bf,i??=Ff(t,o,s,n),cc(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;)jf(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,_=sl(o,f,o,d,n);if(_!==0)_<0&&t.updateValue(o,d),o++,u=l.next();else{r??=new Bf,i??=Ff(t,o,s,n);let y=n(o,d);if(cc(t,r,o,y))t.updateValue(o,d),o++,s++,u=l.next();else if(!i.has(y))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;)jf(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 cc(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function jf(t,e,n,r,i){if(cc(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Ff(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 Bf=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 te(t,e){Fr("NgControlFlow");let n=xt(),r=_o(),i=n[r]!==Gn?n[r]:-1,o=i!==-1?Ns(n,ae+i):void 0,s=0;if(Un(n,r,t)){let a=Tt(null);try{if(o!==void 0&&b_(o,s),t!==-1){let l=ae+t,u=Ns(n,l),f=uc(n[dt],l),d=no(u,f.tView.ssrId),_=fa(n,f,e,{dehydratedView:d});ma(u,_,s,Ji(f,d))}}finally{Tt(a)}}else if(o!==void 0){let a=y_(o,s);a!==void 0&&(a[ce]=e)}}var WC=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 Ei(t,e){return e}var ZC=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function $e(t,e,n,r,i,o,s,a,l,u,f,d,_){Fr("NgControlFlow");let y=xt(),x=pe(),I=l!==void 0,V=xt(),L=a?s.bind(V[mn][ce]):s,Z=new ZC(I,L);V[ae+t]=Z,sc(y,x,t+1,e,n,r,i,sr(x.consts,o)),I&&sc(y,x,t+2,l,u,f,d,sr(x.consts,_))}var YC=class extends qC{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)[ce].$implicit}attach(t,e){let n=e[Zi];this.needsIndexUpdate||=t!==this.length,ma(this.lContainer,e,t,Ji(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,KC(this.lContainer,t)}create(t,e){let n=no(this.lContainer,this.templateTNode.tView.ssrId),r=fa(this.hostLView,this.templateTNode,new WC(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){da(t[dt],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[ce].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ce].$index=t}getLView(t){return XC(this.lContainer,t)}};function ze(t){let e=Tt(null),n=hr();try{let r=xt(),i=r[dt],o=r[n],s=n+1,a=Ns(r,s);if(o.liveCollection===void 0){let u=uc(i,s);o.liveCollection=new YC(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(GC(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=_o(),f=l.length===0;if(Un(r,u,f)){let d=n+2,_=Ns(r,d);if(f){let y=uc(i,d),x=no(_,y.tView.ssrId),I=fa(r,y,void 0,{dehydratedView:x});ma(_,I,0,Ji(y,x))}else b_(_,0)}}}finally{Tt(e)}}function Ns(t,e){return t[e]}function KC(t,e){return Qi(t,e)}function XC(t,e){return y_(t,e)}function uc(t,e){return Eu(t,e)}function Q(t,e,n,r){let i=xt(),o=pe(),s=ae+t,a=i[ve],l=o.firstCreatePass?C_(s,o,i,e,Zu,Cu(),n,r):o.data[s],u=JC(o,i,l,a,e,t);i[s]=u;let f=ea(l);return ur(l,!0),t_(a,u,l),!a_(l)&&oa()&&pa(o,i,u,l),(Yw()===0||f)&&In(u,i),Kw(),f&&(ha(o,i,l),Uu(o,l,i)),r!==null&&Wu(i,l),Q}function tt(){let t=He();Iu()?tm():(t=t.parent,ur(t,!1));let e=t;Qw(e)&&t1(),Xw();let n=pe();return n.firstCreatePass&&I_(n,e),e.classesWithoutHost!=null&&g1(e)&&Mf(n,e,xt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&m1(e)&&Mf(n,e,xt(),e.stylesWithoutHost,!1),tt}function Bt(t,e,n,r){return Q(t,e,n,r),tt(),Bt}var JC=(t,e,n,r,i,o)=>(sa(!0),Jm(r,i,h1()));function QC(t,e,n,r,i){let o=e.consts,s=sr(o,r),a=Eo(e,t,8,"ng-container",s);s!==null&&ic(a,s,!0);let l=sr(o,i);return Cu()&&eh(e,n,a,l,Zu),a.mergedAttrs=ci(a.mergedAttrs,a.attrs),e.queries!==null&&e.queries.elementStart(e,a),a}function H_(t,e,n){let r=xt(),i=pe(),o=t+ae,s=i.firstCreatePass?QC(o,i,r,e,n):i.data[o];ur(s,!0);let a=tI(i,r,s,t);return r[o]=a,oa()&&pa(i,r,a,s),In(a,r),ea(s)&&(ha(i,r,s),Uu(i,s,r)),n!=null&&Wu(r,s),H_}function $_(){let t=He(),e=pe();return Iu()?tm():(t=t.parent,ur(t,!1)),e.firstCreatePass&&(Nu(e,t),wu(t)&&e.queries.elementEnd(t)),$_}function oh(t,e,n){return H_(t,e,n),$_(),oh}var tI=(t,e,n,r)=>(sa(!0),ux(e[ve],""));function qe(){return xt()}var Ps="en-US",eI=Ps;function nI(t){typeof t=="string"&&(eI=t.toLowerCase().replace(/_/g,"-"))}var rI=(t,e,n)=>{};function ee(t,e,n,r){let i=xt(),o=pe(),s=He();return oI(o,i,i[ve],s,t,e,r),ee}function iI(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[_s],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function oI(t,e,n,r,i,o,s){let a=ea(r),l=t.firstCreatePass?Jg(t):null,u=e[ce],f=Xg(e),d=!0;if(r.type&3||s){let _=Dn(r,e),y=s?s(_):_,x=f.length,I=s?L=>s(Be(L[r.index])):r.index,V=null;if(!s&&a&&(V=iI(t,e,i,r.index)),V!==null){let L=V.__ngLastListenerFn__||V;L.__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,d=!1}else{o=$f(r,e,u,o),rI(_,i,o);let L=n.listen(y,i,o);f.push(o,L),l&&l.push(i,I,x,x+1)}}else o=$f(r,e,u,o);if(d){let _=r.outputs?.[i],y=r.hostDirectiveOutputs?.[i];if(y&&y.length)for(let x=0;x<y.length;x+=2){let I=y[x],V=y[x+1];Uf(r,t,e,I,V,i,o,f,l)}if(_&&_.length)for(let x of _)Uf(r,t,e,x,i,i,o,f,l)}}function Uf(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 Hf(t,e,n,r){let i=Tt(null);try{return zt(6,e,n),n(r)!==!1}catch(o){return s_(t,o),!1}finally{zt(7,e,n),Tt(i)}}function $f(t,e,n,r){return function i(o){if(o===Function)return r;let s=mi(t)?Je(t.index,e):e;th(s,5);let a=Hf(e,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Hf(e,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function it(t=1){return c1(t)}function xi(t,e,n){return z_(t,"",e,"",n),xi}function z_(t,e,n,r,i){let o=xt(),s=B_(o,e,n,r);if(s!==Gn){let a=pe(),l=Ru();o_(a,l,o,t,s,o[ve],i,!1)}return z_}function ks(t,e,n){QS(t,e,n)}function As(t){let e=xt(),n=pe(),r=rm();Tu(r+1);let i=rh(n,r);if(t.dirty&&zw(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=nC(e,r);t.reset(o,H1),t.notifyOnChanges()}return!0}return!1}function Ls(){return XS(xt(),rm())}function sh(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function ir(t){let e=em();return na(e,ae+t)}function ne(t,e=""){let n=xt(),r=pe(),i=t+ae,o=r.firstCreatePass?Eo(r,i,1,e,null):r.data[i],s=sI(r,n,o,e,t);n[i]=s,oa()&&pa(r,n,s,o),ur(o,!1)}var sI=(t,e,n,r,i)=>(sa(!0),lx(e[ve],r));function Ea(t){return On("",t,""),Ea}function On(t,e,n){let r=xt(),i=B_(r,t,e,n);return i!==Gn&&aI(r,hr(),i),On}function aI(t,e,n){let r=Zg(e,t);cx(t[ve],r,n)}var q_={};function Si(t){let e=pe(),n=xt(),r=t+ae,i=Eo(e,r,128,null,null);return ur(i,!1),sh(e,n,r,q_),Si}function ii(t){Fr("NgLet");let e=pe(),n=xt(),r=hr();return sh(e,n,r,t),t}function ln(t){let e=em(),n=na(e,ae+t);if(n===q_)throw new Nt(314,!1);return n}function lI(t,e,n){let r=pe();if(r.firstCreatePass){let i=Tn(t);hc(n,r.data,r.blueprint,i,!0),hc(e,r.data,r.blueprint,i,!1)}}function hc(t,e,n,r,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o<t.length;o++)hc(t[o],e,n,r,i);else{let o=pe(),s=xt(),a=He(),l=ai(t)?t:Oe(t.provide),u=Mg(t),f=a.providerIndexes&1048575,d=a.directiveStart,_=a.providerIndexes>>20;if(ai(t)||!t.multi){let y=new vo(u,i,Ee),x=ll(l,e,i?f:f+_,d);x===-1?(Wl(Cs(a,s),o,l),al(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(y),s.push(y)):(n[x]=y,s[x]=y)}else{let y=ll(l,e,f+_,d),x=ll(l,e,f,f+_),I=y>=0&&n[y],V=x>=0&&n[x];if(i&&!V||!i&&!I){Wl(Cs(a,s),o,l);let L=hI(i?uI:cI,n.length,i,r,u);!i&&V&&(n[x].providerFactory=L),al(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=G_(n[i?x:y],u,!i&&r);al(o,t,y>-1?y:x,L)}!i&&r&&V&&n[x].componentProviders++}}}function al(t,e,n,r){let i=ai(e),o=Rw(e);if(i||o){let s=(o?Oe(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 G_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ll(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function cI(t,e,n,r){return fc(this.multi,[])}function uI(t,e,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xi(n,n[dt],this.providerFactory.index,r);o=a.slice(0,s),fc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],fc(i,o);return o}function fc(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function hI(t,e,n,r,i){let o=new vo(t,n,Ee);return o.multi=[],o.index=e,o.componentProviders=0,G_(o,i,r&&!n),o}function fI(t,e=[]){return n=>{n.providersResolver=(r,i)=>lI(r,i?i(t):t,e)}}function W_(t,e,n,r){return Y_(xt(),ia(),t,e,n,r)}function dI(t,e,n,r,i){return K_(xt(),ia(),t,e,n,r,i)}function Z_(t,e){let n=t[e];return n===Gn?void 0:n}function Y_(t,e,n,r,i,o){let s=e+n;return Un(t,s,i)?V_(t,s+1,o?r.call(o,i):r(i)):Z_(t,s+1)}function K_(t,e,n,r,i,o,s){let a=e+n;return mC(t,a,i,o)?V_(t,a+2,s?r.call(s,i,o):r(i,o)):Z_(t,a+2)}function Ue(t,e){let n=pe(),r,i=t+ae;n.firstCreatePass?(r=pI(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=Cr(r.type,!0)),s,a=Pe(Ee);try{let l=Ss(!1),u=o();return Ss(l),sh(n,xt(),i,u),u}finally{Pe(a)}}function pI(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+ae,i=xt(),o=na(i,r);return X_(i,r)?Y_(i,ia(),e,o.transform,n,o):o.transform(n)}function gI(t,e,n,r){let i=t+ae,o=xt(),s=na(o,i);return X_(o,i)?K_(o,ia(),e,s.transform,n,r,s):s.transform(n,r)}function X_(t,e){return t[dt].data[e].pure}function mI(t,e){return _a(t,e)}var _I=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(".")}},zf=new _I("19.2.0"),vI=(()=>{class t{zone=P(Wt);changeDetectionScheduler=P(_i);applicationRef=P(lr);_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 yI({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Wt(Zt(j({},bI()),{scheduleInRootZone:n})),[{provide:Wt,useFactory:t},{provide:ms,multi:!0,useFactory:()=>{let r=P(vI,{optional:!0});return()=>r.initialize()}},{provide:ms,multi:!0,useFactory:()=>{let r=P(wI);return()=>{r.initialize()}}},e===!0?{provide:xm,useValue:!0}:[],{provide:Lu,useValue:n??Em}]}function bI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var wI=(()=>{class t{subscription=new me;initialized=!1;zone=P(Wt);pendingTasks=P(aa);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})(),J_=(()=>{class t{appRef=P(lr);taskService=P(aa);ngZone=P(Wt);zonelessEnabled=P(Au);tracing=P(yo,{optional:!0});disableScheduling=P(xm,{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(Ts):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(Lu,{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 Cm||!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?mf:Sm;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(Ts+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,mf(()=>{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 EI(){return Fr("NgZoneless"),Cw([{provide:_i,useExisting:J_},{provide:Wt,useClass:Cm},{provide:Au,useValue:!0},{provide:Lu,useValue:!1},[]])}function xI(){return typeof $localize<"u"&&$localize.locale||Ps}var Q_=new St("",{providedIn:"root",factory:()=>P(Q_,Ot.Optional|Ot.SkipSelf)||xI()}),dc=new St(""),SI=new St("");function Oi(t){return!t.moduleRef}function CI(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(dc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(dc);s.add(o),t.moduleRef.onDestroy(()=>{rs(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return TI(r,n,()=>{let o=e.get(F_);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Q_,Ps);if(nI(s||Ps),!e.get(SI,!0))return Oi(t)?e.get(lr):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Oi(t)){let a=e.get(lr);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return II(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function II(t,e){let n=t.injector.get(lr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new Nt(-403,!1);e.push(t)}function TI(t,e,n){try{let r=n();return j_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var is=null;function OI(t=[],e){return De.create({name:e,providers:[{provide:yu,useValue:"platform"},{provide:dc,useValue:new Set([()=>is=null])},...t]})}function DI(t=[]){if(is)return is;let e=OI(t);return is=e,IC(),RI(e),e}function RI(t){let e=t.get(Lm,null);Vg(t,()=>{e?.forEach(n=>n())})}var So=(()=>{class t{static __NG_ELEMENT_ID__=NI}return t})();function NI(t){return PI(He(),xt(),(t&16)===16)}function PI(t,e,n){if(mi(t)&&!n){let r=Je(t.index,e);return new to(r,r)}else if(t.type&175){let r=e[mn];return new to(r,e)}return null}function kI(t){zt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=DI(r),o=[yI({}),{provide:_i,useExisting:J_},...n||[]],s=new A_({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return CI({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{zt(9)}}function AI(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function LI(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function MI(t){let e=Tt(null);try{return t()}finally{Tt(e)}}var KA=class{[er];constructor(t){this[er]=t}destroy(){this[er].destroy()}};function tv(t,e){let n=Tr(t),r=e.elementInjector||ta();return new nh(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}var VI={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function jI(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function FI(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var cl;function BI(t,e){if(!cl){let n=Element.prototype;cl=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?cl.call(t,e):!1}function UI(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[jI(r)]=[n,i]}),e}function HI(t,e){return e.get(xo).resolveComponentFactory(t).inputs}function $I(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=zI(a,e,i);l!==-1&&r[l].push(a)}return r}function zI(t,e,n){let r=n;return FI(t)&&e.some((i,o)=>i!=="*"&&BI(t,i)?(r=o,!0):!1),r}var qI=10,GI=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 WI(this.componentFactory,t,this.inputMap)}},WI=class{componentFactory;injector;inputMap;eventEmitters=new hb(1);events=this.eventEmitters.pipe(_g(t=>Js(...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(lr),this.cdScheduler=e.get(_i),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=VI.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},qI))})}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=De.create({providers:[],parent:this.injector}),n=$I(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()}},ZI=class extends HTMLElement{ngElementEventsSubscription=null};function YI(t,e){let n=HI(t,e.injector),r=e.strategyFactory||new GI(t,e.injector),i=UI(n);class o extends ZI{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 ev=null;function Ui(){return ev}function KI(t){ev??=t}var XI=class{},Jt=new St(""),nv=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(JI),providedIn:"platform"})}return t})(),JI=(()=>{class t extends nv{_location;_history;_doc=P(Jt);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 rv(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function qf(t){let e=t.search(/#|\?|$/);return t[e-1]==="/"?t.slice(0,e-1)+t.slice(e):t}function wr(t){return t&&t[0]!=="?"?`?${t}`:t}var ah=(()=>{class t{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:()=>P(tT),providedIn:"root"})}return t})(),QI=new St(""),tT=(()=>{class t extends ah{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(Jt).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 rv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+wr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+wr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+wr(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)(Vt(nv),Vt(QI,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iv=(()=>{class t{_subject=new vt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=rT(qf(Gf(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+wr(r))}normalize(n){return t.stripTrailingSlash(nT(this._basePath,Gf(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+wr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wr(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=wr;static joinWithSlash=rv;static stripTrailingSlash=qf;static \u0275fac=function(n){return new(n||t)(Vt(ah))};static \u0275prov=pt({token:t,factory:()=>eT(),providedIn:"root"})}return t})();function eT(){return new iv(Vt(ah))}function nT(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Gf(t){return t.replace(/\/index.html$/,"")}function rT(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function iT(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 ul=/\s+/,Wf=[],xa=(()=>{class t{_ngEl;_renderer;initialClasses=Wf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ul):Wf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ul):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(ul).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(Le),Ee(x_))};static \u0275dir=va({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),oT=(()=>{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(bi))};static \u0275dir=va({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$g]})}return t})(),ov="browser",sT="server";function aT(t){return t===ov}function sv(t){return t===sT}var lT=class{},cT=class extends XI{supportsDOMEvents=!0},uT=class av extends cT{static makeCurrent(){KI(new av)}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=hT();return n==null?null:fT(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return iT(document.cookie,e)}},Mi=null;function hT(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}function fT(t){return new URL(t,document.baseURI).pathname}var dT=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),pc=new St(""),lv=(()=>{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 Nt(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(Vt(pc),Vt(Wt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),cv=class{_doc;constructor(t){this._doc=t}manager},os="ng-app-id";function Zf(t){for(let e of t)e.remove()}function Yf(t,e){let n=e.createElement("style");return n.textContent=t,n}function pT(t,e,n,r){let i=t.head?.querySelectorAll(`style[${os}="${e}"],link[${os}="${e}"]`);if(i)for(let o of i)o.removeAttribute(os),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 gc(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var uv=(()=>{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=sv(o),pT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Yf);r?.forEach(i=>this.addUsage(i,this.external,gc))}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&&(Zf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Zf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Yf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,gc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(os,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(Vt(Jt),Vt(Fu),Vt(Mm,8),Vt(la))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),hl={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"},lh=/%COMP%/g,hv="%COMP%",gT=`_nghost-${hv}`,mT=`_ngcontent-${hv}`,_T=!0,vT=new St("",{providedIn:"root",factory:()=>_T});function yT(t){return mT.replace(lh,t)}function bT(t){return gT.replace(lh,t)}function fv(t,e){return e.map(n=>n.replace(lh,t))}var Kf=(()=>{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=sv(a),this.defaultRenderer=new ch(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===kn.ShadowDom&&(r=Zt(j({},r),{encapsulation:kn.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Jf?i.applyToHost(n):i instanceof mc&&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 kn.Emulated:o=new Jf(l,u,r,this.appId,f,s,a,d,_);break;case kn.ShadowDom:return new wT(l,u,n,r,s,a,this.nonce,d,_);default:o=new mc(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)(Vt(lv),Vt(uv),Vt(Fu),Vt(vT),Vt(Jt),Vt(la),Vt(Wt),Vt(Mm),Vt(yo,8))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),ch=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(hl[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Xf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Xf(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 Nt(-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=hl[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=hl[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&(br.DashCase|br.Important)?t.style.setProperty(e,n,r&br.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&br.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 Xf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var wT=class extends ch{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=fv(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 _=gc(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)}},mc=class extends ch{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?fv(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)}},Jf=class extends mc{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=yT(u),this.hostAttr=bT(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}},ET=(()=>{class t extends cv{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)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})(),Qf=["alt","control","meta","shift"],xT={"\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"},ST={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},CT=(()=>{class t extends cv{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."),Qf.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=xT[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"),Qf.forEach(s=>{if(s!==i){let a=ST[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)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac})}return t})();function IT(t){return kI(TT(t))}function TT(t){return{appProviders:[...PT,...t?.providers??[]],platformProviders:NT}}function OT(){uT.makeCurrent()}function DT(){return new vi}function RT(){return nE(document),document}var NT=[{provide:la,useValue:ov},{provide:Lm,useValue:OT,multi:!0},{provide:Jt,useFactory:RT,deps:[]}],PT=[{provide:yu,useValue:"root"},{provide:vi,useFactory:DT,deps:[]},{provide:pc,useClass:ET,multi:!0,deps:[Jt]},{provide:pc,useClass:CT,multi:!0,deps:[Jt]},Kf,uv,lv,{provide:bn,useExisting:Kf},{provide:lT,useClass:dT,deps:[]},[]],dv=(()=>{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=Vt(kT),r},providedIn:"root"})}return t})(),kT=(()=>{class t extends dv{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Pn.NONE:return r;case Pn.HTML:return vr(r,"HTML")?tr(r):Ym(this._doc,String(r)).toString();case Pn.STYLE:return vr(r,"Style")?tr(r):r;case Pn.SCRIPT:if(vr(r,"Script"))return tr(r);throw new Nt(5200,!1);case Pn.URL:return vr(r,"URL")?tr(r):Hu(String(r));case Pn.RESOURCE_URL:if(vr(r,"ResourceURL"))return tr(r);throw new Nt(5201,!1);default:throw new Nt(5202,!1)}}bypassSecurityTrustHtml(n){return EE(n)}bypassSecurityTrustStyle(n){return xE(n)}bypassSecurityTrustScript(n){return SE(n)}bypassSecurityTrustUrl(n){return CE(n)}bypassSecurityTrustResourceUrl(n){return IE(n)}static \u0275fac=function(n){return new(n||t)(Vt(Jt))};static \u0275prov=pt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),AT="9.10.7",be=class _c{static SDK_VERSION=AT;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=_c.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");_c.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(O0()),Ve=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 LT(t=be.LOG_PREFIX){Ke.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${be.SDK_VERSION}):`)}});let e=MT();(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 MT(){return new URL(location.href).searchParams?.get("cooee-debug")}var jo=en(Ap()),VT={providers:[EI()]},fl=en(uo()),XA=en(D0()),pv=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}},gv=Object.prototype.toString;function uh(t){switch(gv.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return kr(t,Error)}}function Ci(t,e){return gv.call(t)===`[object ${e}]`}function mv(t){return Ci(t,"ErrorEvent")}function td(t){return Ci(t,"DOMError")}function jT(t){return Ci(t,"DOMException")}function Mn(t){return Ci(t,"String")}function hh(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function fh(t){return t===null||hh(t)||typeof t!="object"&&typeof t!="function"}function hi(t){return Ci(t,"Object")}function Sa(t){return typeof Event<"u"&&kr(t,Event)}function FT(t){return typeof Element<"u"&&kr(t,Element)}function BT(t){return Ci(t,"RegExp")}function Ca(t){return!!(t&&t.then&&typeof t.then=="function")}function UT(t){return hi(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function kr(t,e){try{return t instanceof e}catch{return!1}}function _v(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function oi(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function ed(t,e){if(!Array.isArray(t))return"";let n=[];for(let r=0;r<t.length;r++){let i=t[r];try{_v(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function HT(t,e,n=!1){return Mn(t)?BT(e)?e.test(t):Mn(e)?n?t===e:t.includes(e):!1:!1}function Ia(t,e=[],n=!1){return e.some(r=>HT(t,r,n))}function $T(t,e,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!kr(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=zT(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(kr(r[i],Error)){nd(s,a);let u=t(e,r[i]),f=l.length;rd(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(kr(u,Error)){nd(s,a);let d=t(e,u),_=l.length;rd(d,`errors[${f}]`,_,a),l=vc(t,e,n,u,i,[d,...l],d,_)}}),l}function nd(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 rd(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 zT(t,e){return t.map(n=>(n.value&&(n.value=oi(n.value,e)),n))}var Er="8.18.0",Ft=globalThis;function dh(t,e,n){let r=n||Ft,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Er]=i[Er]||{};return o[t]||(o[t]=e())}var ph=Ft,qT=80;function vv(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||qT;for(;n&&o++<r&&(u=GT(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 GT(t,e){let n=t,r=[];if(!n||!n.tagName)return"";if(ph.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&&Mn(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 WT(){try{return ph.document.location.href}catch{return""}}function ZT(t){if(!ph.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 Co=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,YT="Sentry Logger ",yc=["debug","info","warn","error","log","assert","trace"],Ms={};function gh(t){if(!("console"in Ft))return t();let e=Ft.console,n={},r=Object.keys(Ms);r.forEach(i=>{let o=Ms[i];n[i]=e[i],e[i]=o});try{return t()}finally{r.forEach(i=>{e[i]=n[i]})}}function KT(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Co?yc.forEach(n=>{e[n]=(...r)=>{t&&gh(()=>{Ft.console[n](`${YT}[${n}]:`,...r)})}}):yc.forEach(n=>{e[n]=()=>{}}),e}var wt=KT(),XT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function JT(t){return t==="http"||t==="https"}function Ta(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 QT(t){let e=XT.exec(t);if(!e){gh(()=>{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 yv({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function yv(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function tO(t){if(!Co)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+$/)?JT(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 eO(t){let e=typeof t=="string"?QT(t):yv(t);if(!(!e||!tO(e)))return e}var xn=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"&&bv(i,r),t[e]=i}function Ar(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{Co&&wt.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function bv(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,Ar(t,"__sentry_original__",e)}catch{}}function mh(t){return t.__sentry_original__}function nO(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function wv(t){if(uh(t))return j({message:t.message,name:t.name,stack:t.stack},od(t));if(Sa(t)){let e=j({type:t.type,target:id(t.target),currentTarget:id(t.currentTarget)},od(t));return typeof CustomEvent<"u"&&kr(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function id(t){try{return FT(t)?vv(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function od(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 rO(t,e=40){let n=Object.keys(wv(t));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return oi(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:oi(o,e)}return""}function cn(t){return bc(t,new Map)}function bc(t,e){if(iO(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]=bc(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(bc(i,e))}),r}return t}function iO(t){if(!hi(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}var Lr="?",sd=/\(error: (.*)\)/,ad=/captureMessage|captureException/;function oO(...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=sd.test(l)?l.replace(sd,"$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 sO(o.slice(i))}}function sO(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(Fo(e).function||"")&&e.pop(),e.reverse(),ad.test(Fo(e).function||"")&&(e.pop(),ad.test(Fo(e).function||"")&&e.pop()),e.slice(0,50).map(n=>Zt(j({},n),{filename:n.filename||Fo(e).filename,function:n.function||Lr}))}function Fo(t){return t[t.length-1]||{}}var dl="<anonymous>";function cr(t){try{return!t||typeof t!="function"?dl:t.name||dl}catch{return dl}}function ld(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 ss={},cd={};function Hr(t,e){ss[t]=ss[t]||[],ss[t].push(e)}function $r(t,e){cd[t]||(e(),cd[t]=!0)}function dn(t,e){let n=t&&ss[t];if(n)for(let r of n)try{r(e)}catch(i){Co&&wt.error(`Error while triggering instrumentation handler.
18
18
  Type: ${t}
19
19
  Name: ${cr(r)}
@@ -28,7 +28,7 @@ Event: ${Xn(t)}`),!0):lR(t,e.denyUrls)?(ie&&wt.warn(`Event dropped due to being
28
28
  Event: ${Xn(t)}.
29
29
  Url: ${Fs(t)}`),!0):cR(t,e.allowUrls)?!1:(ie&&wt.warn(`Event dropped due to not being matched by \`allowUrls\` option.
30
30
  Event: ${Xn(t)}.
31
- Url: ${Fs(t)}`),!0)}function sR(t,e){return t.type||!e||!e.length?!1:uR(t).some(n=>Ia(n,e))}function aR(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;let n=t.transaction;return n?Ia(n,e):!1}function lR(t,e){if(!e||!e.length)return!1;let n=Fs(t);return n?Ia(n,e):!1}function cR(t,e){if(!e||!e.length)return!0;let n=Fs(t);return n?Ia(n,e):!0}function uR(t){let e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch{}return n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`)),e}function hR(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function fR(t=[]){for(let e=t.length-1;e>=0;e--){let n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Fs(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?fR(e):null}catch{return ie&&wt.error(`Cannot extract url for event ${Xn(t)}`),null}}function dR(t){return t.type||!t.exception||!t.exception.values||t.exception.values.length===0?!1:!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value)}var pR="Dedupe",gR=()=>{let t;return{name:pR,processEvent(e){if(e.type)return e;try{if(_R(e,t))return ie&&wt.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},mR=gR;function _R(t,e){return e?!!(vR(t,e)||yR(t,e)):!1}function vR(t,e){let n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Lv(t,e)||!Av(t,e))}function yR(t,e){let n=Dd(e),r=Dd(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Lv(t,e)||!Av(t,e))}function Av(t,e){let n=ld(t),r=ld(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){let o=r[i],s=n[i];if(o.filename!==s.filename||o.lineno!==s.lineno||o.colno!==s.colno||o.function!==s.function)return!1}return!0}function Lv(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Dd(t){return t.exception&&t.exception.values&&t.exception.values[0]}var we=Ft,Nc=0;function Mv(){return Nc>0}function bR(){Nc++,setTimeout(()=>{Nc--})}function di(t,e={},n){if(typeof t!="function")return t;try{let i=t.__sentry_wrapped__;if(i)return i;if(mh(t))return t}catch{return t}let r=function(){let i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);let o=i.map(s=>di(s,e));return t.apply(this,o)}catch(o){throw bR(),tD(s=>{s.addEventProcessor(a=>(e.mechanism&&(Sc(a,void 0,void 0),so(a,e.mechanism)),a.extra=Zt(j({},a.extra),{arguments:i}),a)),VD(o)}),o}};try{for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}catch{}bv(r,t),Ar(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}var Jr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function bh(t,e){let n=wh(t,e),r={type:e&&e.name,value:CR(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function wR(t,e,n,r){let i=Ge(),o=i&&i.getOptions().normalizeDepth,s=RR(e),a={__serialized__:Sv(e,o)};if(s)return{exception:{values:[bh(t,s)]},extra:a};let l={exception:{values:[{type:Sa(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:OR(e,{isUnhandledRejection:r})}]},extra:a};if(n){let u=wh(t,n);u.length&&(l.exception.values[0].stacktrace={frames:u})}return l}function gl(t,e){return{exception:{values:[bh(t,e)]}}}function wh(t,e){let n=e.stacktrace||e.stack||"",r=xR(e),i=SR(e);try{return t(n,r,i)}catch{}return[]}var ER=/Minified React error #\d+;/i;function xR(t){return t&&ER.test(t.message)?1:0}function SR(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function CR(t){let e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function IR(t,e,n,r){let i=n&&n.syntheticException||void 0,o=Eh(t,e,i,r);return so(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Mr(o)}function TR(t,e,n="info",r,i){let o=r&&r.syntheticException||void 0,s=Pc(t,e,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Mr(s)}function Eh(t,e,n,r,i){let o;if(mv(e)&&e.error)return gl(t,e.error);if(td(e)||jT(e)){let s=e;if("stack"in e)o=gl(t,e);else{let a=s.name||(td(s)?"DOMError":"DOMException"),l=s.message?`${a}: ${s.message}`:a;o=Pc(t,l,n,r),Sc(o,l)}return"code"in s&&(o.tags=Zt(j({},o.tags),{"DOMException.code":`${s.code}`})),o}return uh(e)?gl(t,e):hi(e)||Sa(e)?(o=wR(t,e,n,i),so(o,{synthetic:!0}),o):(o=Pc(t,e,n,r),Sc(o,`${e}`,void 0),so(o,{synthetic:!0}),o)}function Pc(t,e,n,r){let i={};if(r&&n){let o=wh(t,n);o.length&&(i.exception={values:[{value:e,stacktrace:{frames:o}}]})}if(hh(e)){let{__sentry_template_string__:o,__sentry_template_values__:s}=e;return i.logentry={message:o,params:s},i}return i.message=e,i}function OR(t,{isUnhandledRejection:e}){let n=rO(t),r=e?"promise rejection":"exception";return mv(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:Sa(t)?`Event \`${DR(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function DR(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function RR(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let n=t[e];if(n instanceof Error)return n}}function NR(t,{metadata:e,tunnel:n,dsn:r}){let i=j(j({event_id:t.event_id,sent_at:new Date().toISOString()},e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}}),!!n&&!!r&&{dsn:Ta(r)}),o=PR(t);return Oo(i,[o])}function PR(t){return[{type:"user_report"},t]}var kR=class extends zD{constructor(t){let e=j({parentSpanIsAlwaysRootSpan:!0},t),n=we.SENTRY_SDK_SOURCE||yO();YD(e,"browser",["browser"],n),super(e),e.sendClientReports&&we.document&&we.document.addEventListener("visibilitychange",()=>{we.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,e){return IR(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return TR(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Jr&&wt.warn("SDK not enabled, will not capture user feedback.");return}let e=NR(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){let t=this._clearOutcomes();if(t.length===0){Jr&&wt.log("No outcomes to send");return}if(!this._dsn){Jr&&wt.log("No dsn provided, will not send outcomes");return}Jr&&wt.log("Sending outcomes:",t);let e=FO(t,this._options.tunnel&&Ta(this._dsn));this.sendEnvelope(e)}},AR=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Se=Ft,LR=1e3,Rd,kc,Ac;function MR(t){let e="dom";Hr(e,t),$r(e,VR)}function VR(){if(!Se.document)return;let t=dn.bind(null,"dom"),e=Nd(t,!0);Se.document.addEventListener("click",e,!1),Se.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{let r=Se[n]&&Se[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(xe(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},f=u[o]=u[o]||{refCount:0};if(!f.handler){let d=Nd(t);f.handler=d,i.call(this,o,d,a)}f.refCount++}catch{}return i.call(this,o,s,a)}}),xe(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__||{},f=u[o];f&&(f.refCount--,f.refCount<=0&&(i.call(this,o,f.handler,a),f.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}function jR(t){if(t.type!==kc)return!1;try{if(!t.target||t.target._sentryId!==Ac)return!1}catch{}return!0}function FR(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function Nd(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;let r=BR(n);if(FR(n.type,r))return;Ar(n,"_sentryCaptured",!0),r&&!r._sentryId&&Ar(r,"_sentryId",pn());let i=n.type==="keypress"?"input":n.type;jR(n)||(t({event:n,name:i,global:e}),kc=n.type,Ac=r?r._sentryId:void 0),clearTimeout(Rd),Rd=Se.setTimeout(()=>{Ac=void 0,kc=void 0},LR)}}function BR(t){try{return t.target}catch{return null}}var zo;function UR(t){let e="history";Hr(e,t),$r(e,HR)}function HR(){if(!zO())return;let t=Se.onpopstate;Se.onpopstate=function(...n){let r=Se.location.href,i=zo;if(zo=r,dn("history",{from:i,to:r}),t)try{return t.apply(this,n)}catch{}};function e(n){return function(...r){let i=r.length>2?r[2]:void 0;if(i){let o=zo,s=String(i);zo=s,dn("history",{from:o,to:s})}return n.apply(this,r)}}xe(Se.history,"pushState",e),xe(Se.history,"replaceState",e)}var as={};function $R(t){let e=as[t];if(e)return e;let n=Se[t];if(Ec(n))return as[t]=n.bind(Se);let r=Se.document;if(r&&typeof r.createElement=="function")try{let i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i);let o=i.contentWindow;o&&o[t]&&(n=o[t]),r.head.removeChild(i)}catch(i){AR&&wt.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,i)}return n&&(as[t]=n.bind(Se))}function Pd(t){as[t]=void 0}var Vi="__sentry_xhr_v3__";function zR(t){let e="xhr";Hr(e,t),$r(e,qR)}function qR(){if(!Se.XMLHttpRequest)return;let t=XMLHttpRequest.prototype;xe(t,"open",function(e){return function(...n){let r=or()*1e3,i=Mn(n[0])?n[0].toUpperCase():void 0,o=GR(n[1]);if(!i||!o)return e.apply(this,n);this[Vi]={method:i,url:o,request_headers:{}},i==="POST"&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let s=()=>{let a=this[Vi];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}let l={endTimestamp:or()*1e3,startTimestamp:r,xhr:this};dn("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?xe(this,"onreadystatechange",function(a){return function(...l){return s(),a.apply(this,l)}}):this.addEventListener("readystatechange",s),xe(this,"setRequestHeader",function(a){return function(...l){let[u,f]=l,d=this[Vi];return d&&Mn(u)&&Mn(f)&&(d.request_headers[u.toLowerCase()]=f),a.apply(this,l)}}),e.apply(this,n)}}),xe(t,"send",function(e){return function(...n){let r=this[Vi];if(!r)return e.apply(this,n);n[0]!==void 0&&(r.body=n[0]);let i={startTimestamp:or()*1e3,xhr:this};return dn("xhr",i),e.apply(this,n)}})}function GR(t){if(Mn(t))return t;try{return t.toString()}catch{}}function WR(t,e=$R("fetch")){let n=0,r=0;function i(o){let s=o.body.length;n+=s,r++;let a=j({body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15},t.fetchOptions);if(!e)return Pd("fetch"),Vs("No fetch implementation available");try{return e(t.url,a).then(l=>(n-=s,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return Pd("fetch"),n-=s,r--,Vs(l)}}return ZD(t,i)}var ZR=30,YR=50;function Lc(t,e,n,r){let i={filename:t,function:e==="<anonymous>"?Lr:e,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var KR=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,XR=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,JR=/\((\S*)(?::(\d+))(?::(\d+))\)/,QR=t=>{let e=KR.exec(t);if(e){let[,r,i,o]=e;return Lc(r,Lr,+i,+o)}let n=XR.exec(t);if(n){if(n[2]&&n[2].indexOf("eval")===0){let o=JR.exec(n[2]);o&&(n[2]=o[1],n[3]=o[2],n[4]=o[3])}let[r,i]=Vv(n[1]||Lr,n[2]);return Lc(i,r,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},t2=[ZR,QR],e2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n2=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,r2=t=>{let e=e2.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let i=n2.exec(e[3]);i&&(e[1]=e[1]||"eval",e[3]=i[1],e[4]=i[2],e[5]="")}let n=e[3],r=e[1]||Lr;return[r,n]=Vv(r,n),Lc(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},i2=[YR,r2],o2=[t2,i2],s2=oO(...o2),Vv=(t,e)=>{let n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Lr,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},qo=1024,a2="Breadcrumbs",l2=(t={})=>{let e=j({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:a2,setup(n){e.console&&aO(f2(n)),e.dom&&MR(h2(n,e.dom)),e.xhr&&zR(d2(n)),e.fetch&&fO(p2(n)),e.history&&UR(g2(n)),e.sentry&&n.on("beforeSendEvent",u2(n))}}},c2=l2;function u2(t){return function(e){Ge()===t&&Vr({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:Xn(e)},{event:e})}}function h2(t,e){return function(n){if(Ge()!==t)return;let r,i,o=typeof e=="object"?e.serializeAttribute:void 0,s=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;s&&s>qo&&(Jr&&wt.warn(`\`dom.maxStringLength\` cannot exceed ${qo}, but a value of ${s} was configured. Sentry will use ${qo} instead.`),s=qo),typeof o=="string"&&(o=[o]);try{let l=n.event,u=m2(l)?l.target:l;r=vv(u,{keyAttrs:o,maxStringLength:s}),i=ZT(u)}catch{r="<unknown>"}if(r.length===0)return;let a={category:`ui.${n.name}`,message:r};i&&(a.data={"ui.component_name":i}),Vr(a,{event:n.event,name:n.name,global:n.global})}}function f2(t){return function(e){if(Ge()!==t)return;let n={category:"console",data:{arguments:e.args,logger:"console"},level:OO(e.level),message:ed(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)n.message=`Assertion failed: ${ed(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);else return;Vr(n,{input:e.args,level:e.level})}}function d2(t){return function(e){if(Ge()!==t)return;let{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[Vi];if(!n||!r||!i)return;let{method:o,url:s,status_code:a,body:l}=i,u={method:o,url:s,status_code:a},f={xhr:e.xhr,input:l,startTimestamp:n,endTimestamp:r};Vr({category:"xhr",data:u,type:"http"},f)}}function p2(t){return function(e){if(Ge()!==t)return;let{startTimestamp:n,endTimestamp:r}=e;if(r&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.error){let i=e.fetchData,o={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r};Vr({category:"fetch",data:i,level:"error",type:"http"},o)}else{let i=e.response,o=Zt(j({},e.fetchData),{status_code:i&&i.status}),s={input:e.args,response:i,startTimestamp:n,endTimestamp:r};Vr({category:"fetch",data:o,type:"http"},s)}}}function g2(t){return function(e){if(Ge()!==t)return;let n=e.from,r=e.to,i=pl(we.location.href),o=n?pl(n):void 0,s=pl(r);(!o||!o.path)&&(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Vr({category:"navigation",data:{from:n,to:r}})}}function m2(t){return!!t&&!!t.target}var _2=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],v2="BrowserApiErrors",y2=(t={})=>{let e=j({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t);return{name:v2,setupOnce(){e.setTimeout&&xe(we,"setTimeout",kd),e.setInterval&&xe(we,"setInterval",kd),e.requestAnimationFrame&&xe(we,"requestAnimationFrame",w2),e.XMLHttpRequest&&"XMLHttpRequest"in we&&xe(XMLHttpRequest.prototype,"send",E2);let n=e.eventTarget;n&&(Array.isArray(n)?n:_2).forEach(x2)}}},b2=y2;function kd(t){return function(...e){let n=e[0];return e[0]=di(n,{mechanism:{data:{function:cr(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function w2(t){return function(e){return t.apply(this,[di(e,{mechanism:{data:{function:"requestAnimationFrame",handler:cr(t)},handled:!1,type:"instrument"}})])}}function E2(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&xe(n,r,function(i){let o={mechanism:{data:{function:r,handler:cr(i)},handled:!1,type:"instrument"}},s=mh(i);return s&&(o.mechanism.data.handler=cr(s)),di(i,o)})}),t.apply(this,e)}}function x2(t){let e=we,n=e[t]&&e[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(xe(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=di(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:cr(o),target:t},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[i,di(o,{mechanism:{data:{function:"addEventListener",handler:cr(o),target:t},handled:!1,type:"instrument"}}),s])}}),xe(n,"removeEventListener",function(r){return function(i,o,s){let a=o;try{let l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var S2="GlobalHandlers",C2=(t={})=>{let e=j({onerror:!0,onunhandledrejection:!0},t);return{name:S2,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(T2(n),Ad("onerror")),e.onunhandledrejection&&(O2(n),Ad("onunhandledrejection"))}}},I2=C2;function T2(t){gO(e=>{let{stackParser:n,attachStacktrace:r}=jv();if(Ge()!==t||Mv())return;let{msg:i,url:o,line:s,column:a,error:l}=e,u=N2(Eh(n,l||i,void 0,r,!1),o,s,a);u.level="error",Nv(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function O2(t){_O(e=>{let{stackParser:n,attachStacktrace:r}=jv();if(Ge()!==t||Mv())return;let i=D2(e),o=fh(i)?R2(i):Eh(n,i,void 0,r,!0);o.level="error",Nv(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function D2(t){if(fh(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function R2(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function N2(t,e,n,r){let i=t.exception=t.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,d=Mn(e)&&e.length>0?e:WT();return l.length===0&&l.push({colno:u,filename:d,function:Lr,in_app:!0,lineno:f}),t}function Ad(t){Jr&&wt.log(`Global Handler attached: ${t}`)}function jv(){let t=Ge();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var P2=()=>({name:"HttpContext",preprocessEvent(t){if(!we.navigator&&!we.location&&!we.document)return;let e=t.request&&t.request.url||we.location&&we.location.href,{referrer:n}=we.document||{},{userAgent:r}=we.navigator||{},i=j(j(j({},t.request&&t.request.headers),n&&{Referer:n}),r&&{"User-Agent":r}),o=Zt(j(j({},t.request),e&&{url:e}),{headers:i});t.request=o}}),k2="cause",A2=5,L2="LinkedErrors",M2=(t={})=>{let e=t.limit||A2,n=t.key||k2;return{name:L2,preprocessEvent(r,i,o){let s=o.getOptions();$T(bh,s.stackParser,s.maxValueLength,n,e,r,i)}}},V2=M2;function j2(t){return[rR(),QD(),b2(),c2(),I2(),V2(),mR(),P2()]}var F2=class extends Error{cause;constructor(t,e){super(t),this.cause=e}},Fv=class Bv{static INSTANCE;contexts={};tags;client;user;constructor(){this.init()}static getInstance(){return this.INSTANCE||(this.INSTANCE=new Bv),this.INSTANCE}captureException(e,n,r){Ve.error(e),this.getNewScope(n,r).captureException(e)}captureMessage(e,n,r,i){this.getNewScope(r,i).captureMessage(e,n??"error")}captureError(e,n,r,i){Ve.error(e,n);let o=this.getNewScope(r,i),s=new F2(e,n);o.captureException(s)}setGlobalContext(e,n){this.contexts[e]=j({context:n},this.contexts[e])}setUser(e){this.user=e}setTags(e){this.tags=e}getNewScope(e,n){let r=new Hn;if(r.setClient(this.client),r.setUser(this.user),e?.triggerContext){let i=e.triggerContext;r.setExtras(i.triggerData.sentryContext()),delete e.triggerContext}return e&&r.setExtras(e),this.tags&&r.setTags(this.tags),n&&r.setTags(n),Object.keys(this.contexts).forEach(i=>{r.setContext(i,this.contexts[i])}),r.setTag("language",navigator.language),r.setTag("timezone",z2()),r}init(){let e=j2({}).filter(n=>!["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(n.name));this.client=new kR({dsn:"https://1bc3dda4c861f60cd6be1b67584f4bc6@o559187.ingest.us.sentry.io/4507626484203520",transport:WR,stackParser:s2,integrations:e,environment:oo.mode,release:`web-sdk@${be.SDK_VERSION}`,debug:oo.debug}),this.client.init()}},Ld=class{static ID="id";static SESSION_LANDING_PAGE="landing";static SESSION_LAST_USED_TIME="lastUsedTime";static SESSION_SYNCED="synced";static APP_CONFIG="conf";static DEVICE_ID="did";static SDK_TOKEN="token";static FIRST_SEEN="firstSeen";static SESSION_NUMBER="sessionNumber";static GA_CLIENT_ID="gacid";static CURRENT_CART="cart";static MUTED="muted"},Md=en(R0());function Uv(t){return Md.default.createInstance({name:"lc",storeName:t,driver:Md.default.LOCALSTORAGE})}var Hv=class{static storage;static async get(t,e){return await this.storage?.getItem(t)??e}static set(t,e){return this.storage?.setItem(t,e)}static remove(t){return this.storage?.removeItem(t)}static clear(){return this.storage?.clear()}static getForage(){return this.storage}},QA=class extends Hv{static storeName="ses";static{this.storage=Uv(this.storeName)}},Vd=class extends Hv{static storeName="usr";static{this.storage=Uv(this.storeName)}},B2=class{static format(t,e){let n=/{{\s*(\w+)\s*}}/;return e.replace(n,(r,i)=>{switch(i){case"amount":return this.formatWithDelimiters(t,2);case"amount_no_decimals":return this.formatWithDelimiters(t,0);case"amount_with_comma_separator":return this.formatWithDelimiters(t,2,".",",");case"amount_no_decimals_with_comma_separator":return this.formatWithDelimiters(t,0,".",",");case"amount_with_apostrophe_separator":return this.formatWithDelimiters(t,2,"'",".");case"amount_no_decimals_with_space_separator":return this.formatWithDelimiters(t,0," ");case"amount_with_space_separator":return this.formatWithDelimiters(t,2," ",",");case"amount_with_period_and_space_separator":return this.formatWithDelimiters(t,2," ",".");default:return r}})}static formatWithDelimiters(t,e=2,n=",",r="."){if(isNaN(t)||t==null)return"0";let i=(t/100).toFixed(e).split("."),o=i[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+n),s=i[1]?r+i[1]:"";return o+s}},U2=class{id;mID;vID;vName;imageURL;name;link;quantity;price;constructor(t){this.id=t.id,this.mID=t.mID,this.vID=t.vID,this.vName=t.vName,this.imageURL=t.imageURL,this.name=t.name,this.link=t.link,this.quantity=t.quantity,this.price=t.price}},H2=class{isCartDirty=!0;cartEngagements;isGoKwikPopupOpen;previewIDs;previewVariant;pageName;moneyFormat;jsLoadTime=new Date;shopCurrencyCode;locale;activeExperiment;inInactive=!1;lastEnterActive=new Date;lastEnterInactive=null;currentItem;_currencyCode;get currencyCode(){return this._currencyCode}set currencyCode(t){this._currencyCode=t}static get(){return window.CooeeSDK.runtimeData}isInactive(){return this.inInactive}async setInactive(){return this.inInactive?0:(this.inInactive=!0,this.lastEnterInactive=new Date,Math.max((this.lastEnterInactive.getTime()-this.lastEnterActive.getTime())/1e3,0))}setActive(){return this.inInactive?(this.inInactive=!1,this.lastEnterActive=new Date,Math.max((this.lastEnterActive.getTime()-this.lastEnterInactive.getTime())/1e3,0)):0}isFirstActive(){return this.lastEnterInactive==null}getCurrentItem(){return this.currentItem}setCurrentItem(t){this.currentItem=new U2(t)}};function xh(t,e){if(t==0&&e)return"Free";let n=H2.get(),r=pv.get(),i=n.shopCurrencyCode||r.currency,o=n.currencyCode;o||Ve.warn("Currency code is not set in RuntimeData");let s=r.money?.format??n.moneyFormat,a;if(s&&i===o)a=B2.format(t*100,s);else{let l;try{l=new Intl.NumberFormat($2(),{style:"currency",currency:o||i,minimumFractionDigits:0,maximumFractionDigits:2})}catch(u){return Fv.getInstance().captureException(u,{currentCurrency:o,shopCurrency:i}),""}a=l.format(t),a=a.replace("\u20B9","Rs. "),r.money?.showCurrency&&o!=="INR"&&(a=a.concat(` ${o}`))}return a}function $2(){return navigator.languages!==void 0?navigator.languages[0].split("-")[0]:navigator.language??"en"}var Go;function z2(){if(Go)return Go;try{return Go=Intl.DateTimeFormat().resolvedOptions().timeZone,Go}catch{return""}}var Da=class Mc{transform(e){return e==null?null:xh(e)}static \u0275fac=function(e){return new(e||Mc)};static \u0275pipe=ih({name:"cooeeCurrency",type:Mc,pure:!0})},q2=en(N0()),G2=Object.prototype.toString,Ii=Array.isArray||function(t){return G2.call(t)==="[object Array]"};function Sh(t){return typeof t=="function"}function W2(t){return Ii(t)?"array":typeof t}function ml(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function jd(t,e){return t!=null&&typeof t=="object"&&e in t}function Z2(t,e){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var Y2=RegExp.prototype.test;function K2(t,e){return Y2.call(t,e)}var X2=/\S/;function J2(t){return!K2(X2,t)}var Q2={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function tN(t){return String(t).replace(/[&<>"'`=\/]/g,function(e){return Q2[e]})}var eN=/\s*/,nN=/\s+/,Fd=/\s*=/,rN=/\s*\}/,iN=/#|\^|\/|>|\{|&|=|!/;function oN(t,e){if(!t)return[];var n=!1,r=[],i=[],o=[],s=!1,a=!1,l="",u=0;function f(){if(s&&!a)for(;o.length;)delete i[o.pop()];else o=[];s=!1,a=!1}var d,_,y;function x($){if(typeof $=="string"&&($=$.split(nN,2)),!Ii($)||$.length!==2)throw new Error("Invalid tags: "+$);d=new RegExp(ml($[0])+"\\s*"),_=new RegExp("\\s*"+ml($[1])),y=new RegExp("\\s*"+ml("}"+$[1]))}x(e||tn.tags);for(var I=new Do(t),V,L,Z,W,B,lt;!I.eos();){if(V=I.pos,Z=I.scanUntil(d),Z)for(var Ht=0,At=Z.length;Ht<At;++Ht)W=Z.charAt(Ht),J2(W)?(o.push(i.length),l+=W):(a=!0,n=!0,l+=" "),i.push(["text",W,V,V+1]),V+=1,W===`
31
+ Url: ${Fs(t)}`),!0)}function sR(t,e){return t.type||!e||!e.length?!1:uR(t).some(n=>Ia(n,e))}function aR(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;let n=t.transaction;return n?Ia(n,e):!1}function lR(t,e){if(!e||!e.length)return!1;let n=Fs(t);return n?Ia(n,e):!1}function cR(t,e){if(!e||!e.length)return!0;let n=Fs(t);return n?Ia(n,e):!0}function uR(t){let e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch{}return n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`)),e}function hR(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function fR(t=[]){for(let e=t.length-1;e>=0;e--){let n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Fs(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?fR(e):null}catch{return ie&&wt.error(`Cannot extract url for event ${Xn(t)}`),null}}function dR(t){return t.type||!t.exception||!t.exception.values||t.exception.values.length===0?!1:!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value)}var pR="Dedupe",gR=()=>{let t;return{name:pR,processEvent(e){if(e.type)return e;try{if(_R(e,t))return ie&&wt.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},mR=gR;function _R(t,e){return e?!!(vR(t,e)||yR(t,e)):!1}function vR(t,e){let n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Lv(t,e)||!Av(t,e))}function yR(t,e){let n=Dd(e),r=Dd(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Lv(t,e)||!Av(t,e))}function Av(t,e){let n=ld(t),r=ld(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){let o=r[i],s=n[i];if(o.filename!==s.filename||o.lineno!==s.lineno||o.colno!==s.colno||o.function!==s.function)return!1}return!0}function Lv(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Dd(t){return t.exception&&t.exception.values&&t.exception.values[0]}var we=Ft,Nc=0;function Mv(){return Nc>0}function bR(){Nc++,setTimeout(()=>{Nc--})}function di(t,e={},n){if(typeof t!="function")return t;try{let i=t.__sentry_wrapped__;if(i)return i;if(mh(t))return t}catch{return t}let r=function(){let i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);let o=i.map(s=>di(s,e));return t.apply(this,o)}catch(o){throw bR(),tD(s=>{s.addEventProcessor(a=>(e.mechanism&&(Sc(a,void 0,void 0),so(a,e.mechanism)),a.extra=Zt(j({},a.extra),{arguments:i}),a)),VD(o)}),o}};try{for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}catch{}bv(r,t),Ar(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}var Jr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function bh(t,e){let n=wh(t,e),r={type:e&&e.name,value:CR(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function wR(t,e,n,r){let i=Ge(),o=i&&i.getOptions().normalizeDepth,s=RR(e),a={__serialized__:Sv(e,o)};if(s)return{exception:{values:[bh(t,s)]},extra:a};let l={exception:{values:[{type:Sa(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:OR(e,{isUnhandledRejection:r})}]},extra:a};if(n){let u=wh(t,n);u.length&&(l.exception.values[0].stacktrace={frames:u})}return l}function gl(t,e){return{exception:{values:[bh(t,e)]}}}function wh(t,e){let n=e.stacktrace||e.stack||"",r=xR(e),i=SR(e);try{return t(n,r,i)}catch{}return[]}var ER=/Minified React error #\d+;/i;function xR(t){return t&&ER.test(t.message)?1:0}function SR(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function CR(t){let e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function IR(t,e,n,r){let i=n&&n.syntheticException||void 0,o=Eh(t,e,i,r);return so(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Mr(o)}function TR(t,e,n="info",r,i){let o=r&&r.syntheticException||void 0,s=Pc(t,e,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Mr(s)}function Eh(t,e,n,r,i){let o;if(mv(e)&&e.error)return gl(t,e.error);if(td(e)||jT(e)){let s=e;if("stack"in e)o=gl(t,e);else{let a=s.name||(td(s)?"DOMError":"DOMException"),l=s.message?`${a}: ${s.message}`:a;o=Pc(t,l,n,r),Sc(o,l)}return"code"in s&&(o.tags=Zt(j({},o.tags),{"DOMException.code":`${s.code}`})),o}return uh(e)?gl(t,e):hi(e)||Sa(e)?(o=wR(t,e,n,i),so(o,{synthetic:!0}),o):(o=Pc(t,e,n,r),Sc(o,`${e}`,void 0),so(o,{synthetic:!0}),o)}function Pc(t,e,n,r){let i={};if(r&&n){let o=wh(t,n);o.length&&(i.exception={values:[{value:e,stacktrace:{frames:o}}]})}if(hh(e)){let{__sentry_template_string__:o,__sentry_template_values__:s}=e;return i.logentry={message:o,params:s},i}return i.message=e,i}function OR(t,{isUnhandledRejection:e}){let n=rO(t),r=e?"promise rejection":"exception";return mv(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:Sa(t)?`Event \`${DR(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function DR(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function RR(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let n=t[e];if(n instanceof Error)return n}}function NR(t,{metadata:e,tunnel:n,dsn:r}){let i=j(j({event_id:t.event_id,sent_at:new Date().toISOString()},e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}}),!!n&&!!r&&{dsn:Ta(r)}),o=PR(t);return Oo(i,[o])}function PR(t){return[{type:"user_report"},t]}var kR=class extends zD{constructor(t){let e=j({parentSpanIsAlwaysRootSpan:!0},t),n=we.SENTRY_SDK_SOURCE||yO();YD(e,"browser",["browser"],n),super(e),e.sendClientReports&&we.document&&we.document.addEventListener("visibilitychange",()=>{we.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,e){return IR(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return TR(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Jr&&wt.warn("SDK not enabled, will not capture user feedback.");return}let e=NR(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){let t=this._clearOutcomes();if(t.length===0){Jr&&wt.log("No outcomes to send");return}if(!this._dsn){Jr&&wt.log("No dsn provided, will not send outcomes");return}Jr&&wt.log("Sending outcomes:",t);let e=FO(t,this._options.tunnel&&Ta(this._dsn));this.sendEnvelope(e)}},AR=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Se=Ft,LR=1e3,Rd,kc,Ac;function MR(t){let e="dom";Hr(e,t),$r(e,VR)}function VR(){if(!Se.document)return;let t=dn.bind(null,"dom"),e=Nd(t,!0);Se.document.addEventListener("click",e,!1),Se.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{let r=Se[n]&&Se[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(xe(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},f=u[o]=u[o]||{refCount:0};if(!f.handler){let d=Nd(t);f.handler=d,i.call(this,o,d,a)}f.refCount++}catch{}return i.call(this,o,s,a)}}),xe(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{let l=this,u=l.__sentry_instrumentation_handlers__||{},f=u[o];f&&(f.refCount--,f.refCount<=0&&(i.call(this,o,f.handler,a),f.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}function jR(t){if(t.type!==kc)return!1;try{if(!t.target||t.target._sentryId!==Ac)return!1}catch{}return!0}function FR(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function Nd(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;let r=BR(n);if(FR(n.type,r))return;Ar(n,"_sentryCaptured",!0),r&&!r._sentryId&&Ar(r,"_sentryId",pn());let i=n.type==="keypress"?"input":n.type;jR(n)||(t({event:n,name:i,global:e}),kc=n.type,Ac=r?r._sentryId:void 0),clearTimeout(Rd),Rd=Se.setTimeout(()=>{Ac=void 0,kc=void 0},LR)}}function BR(t){try{return t.target}catch{return null}}var zo;function UR(t){let e="history";Hr(e,t),$r(e,HR)}function HR(){if(!zO())return;let t=Se.onpopstate;Se.onpopstate=function(...n){let r=Se.location.href,i=zo;if(zo=r,dn("history",{from:i,to:r}),t)try{return t.apply(this,n)}catch{}};function e(n){return function(...r){let i=r.length>2?r[2]:void 0;if(i){let o=zo,s=String(i);zo=s,dn("history",{from:o,to:s})}return n.apply(this,r)}}xe(Se.history,"pushState",e),xe(Se.history,"replaceState",e)}var as={};function $R(t){let e=as[t];if(e)return e;let n=Se[t];if(Ec(n))return as[t]=n.bind(Se);let r=Se.document;if(r&&typeof r.createElement=="function")try{let i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i);let o=i.contentWindow;o&&o[t]&&(n=o[t]),r.head.removeChild(i)}catch(i){AR&&wt.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,i)}return n&&(as[t]=n.bind(Se))}function Pd(t){as[t]=void 0}var Vi="__sentry_xhr_v3__";function zR(t){let e="xhr";Hr(e,t),$r(e,qR)}function qR(){if(!Se.XMLHttpRequest)return;let t=XMLHttpRequest.prototype;xe(t,"open",function(e){return function(...n){let r=or()*1e3,i=Mn(n[0])?n[0].toUpperCase():void 0,o=GR(n[1]);if(!i||!o)return e.apply(this,n);this[Vi]={method:i,url:o,request_headers:{}},i==="POST"&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let s=()=>{let a=this[Vi];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}let l={endTimestamp:or()*1e3,startTimestamp:r,xhr:this};dn("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?xe(this,"onreadystatechange",function(a){return function(...l){return s(),a.apply(this,l)}}):this.addEventListener("readystatechange",s),xe(this,"setRequestHeader",function(a){return function(...l){let[u,f]=l,d=this[Vi];return d&&Mn(u)&&Mn(f)&&(d.request_headers[u.toLowerCase()]=f),a.apply(this,l)}}),e.apply(this,n)}}),xe(t,"send",function(e){return function(...n){let r=this[Vi];if(!r)return e.apply(this,n);n[0]!==void 0&&(r.body=n[0]);let i={startTimestamp:or()*1e3,xhr:this};return dn("xhr",i),e.apply(this,n)}})}function GR(t){if(Mn(t))return t;try{return t.toString()}catch{}}function WR(t,e=$R("fetch")){let n=0,r=0;function i(o){let s=o.body.length;n+=s,r++;let a=j({body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15},t.fetchOptions);if(!e)return Pd("fetch"),Vs("No fetch implementation available");try{return e(t.url,a).then(l=>(n-=s,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return Pd("fetch"),n-=s,r--,Vs(l)}}return ZD(t,i)}var ZR=30,YR=50;function Lc(t,e,n,r){let i={filename:t,function:e==="<anonymous>"?Lr:e,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var KR=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,XR=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,JR=/\((\S*)(?::(\d+))(?::(\d+))\)/,QR=t=>{let e=KR.exec(t);if(e){let[,r,i,o]=e;return Lc(r,Lr,+i,+o)}let n=XR.exec(t);if(n){if(n[2]&&n[2].indexOf("eval")===0){let o=JR.exec(n[2]);o&&(n[2]=o[1],n[3]=o[2],n[4]=o[3])}let[r,i]=Vv(n[1]||Lr,n[2]);return Lc(i,r,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},t2=[ZR,QR],e2=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n2=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,r2=t=>{let e=e2.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let i=n2.exec(e[3]);i&&(e[1]=e[1]||"eval",e[3]=i[1],e[4]=i[2],e[5]="")}let n=e[3],r=e[1]||Lr;return[r,n]=Vv(r,n),Lc(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},i2=[YR,r2],o2=[t2,i2],s2=oO(...o2),Vv=(t,e)=>{let n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Lr,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},qo=1024,a2="Breadcrumbs",l2=(t={})=>{let e=j({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:a2,setup(n){e.console&&aO(f2(n)),e.dom&&MR(h2(n,e.dom)),e.xhr&&zR(d2(n)),e.fetch&&fO(p2(n)),e.history&&UR(g2(n)),e.sentry&&n.on("beforeSendEvent",u2(n))}}},c2=l2;function u2(t){return function(e){Ge()===t&&Vr({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:Xn(e)},{event:e})}}function h2(t,e){return function(n){if(Ge()!==t)return;let r,i,o=typeof e=="object"?e.serializeAttribute:void 0,s=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;s&&s>qo&&(Jr&&wt.warn(`\`dom.maxStringLength\` cannot exceed ${qo}, but a value of ${s} was configured. Sentry will use ${qo} instead.`),s=qo),typeof o=="string"&&(o=[o]);try{let l=n.event,u=m2(l)?l.target:l;r=vv(u,{keyAttrs:o,maxStringLength:s}),i=ZT(u)}catch{r="<unknown>"}if(r.length===0)return;let a={category:`ui.${n.name}`,message:r};i&&(a.data={"ui.component_name":i}),Vr(a,{event:n.event,name:n.name,global:n.global})}}function f2(t){return function(e){if(Ge()!==t)return;let n={category:"console",data:{arguments:e.args,logger:"console"},level:OO(e.level),message:ed(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)n.message=`Assertion failed: ${ed(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);else return;Vr(n,{input:e.args,level:e.level})}}function d2(t){return function(e){if(Ge()!==t)return;let{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[Vi];if(!n||!r||!i)return;let{method:o,url:s,status_code:a,body:l}=i,u={method:o,url:s,status_code:a},f={xhr:e.xhr,input:l,startTimestamp:n,endTimestamp:r};Vr({category:"xhr",data:u,type:"http"},f)}}function p2(t){return function(e){if(Ge()!==t)return;let{startTimestamp:n,endTimestamp:r}=e;if(r&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.error){let i=e.fetchData,o={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r};Vr({category:"fetch",data:i,level:"error",type:"http"},o)}else{let i=e.response,o=Zt(j({},e.fetchData),{status_code:i&&i.status}),s={input:e.args,response:i,startTimestamp:n,endTimestamp:r};Vr({category:"fetch",data:o,type:"http"},s)}}}function g2(t){return function(e){if(Ge()!==t)return;let n=e.from,r=e.to,i=pl(we.location.href),o=n?pl(n):void 0,s=pl(r);(!o||!o.path)&&(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Vr({category:"navigation",data:{from:n,to:r}})}}function m2(t){return!!t&&!!t.target}var _2=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],v2="BrowserApiErrors",y2=(t={})=>{let e=j({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t);return{name:v2,setupOnce(){e.setTimeout&&xe(we,"setTimeout",kd),e.setInterval&&xe(we,"setInterval",kd),e.requestAnimationFrame&&xe(we,"requestAnimationFrame",w2),e.XMLHttpRequest&&"XMLHttpRequest"in we&&xe(XMLHttpRequest.prototype,"send",E2);let n=e.eventTarget;n&&(Array.isArray(n)?n:_2).forEach(x2)}}},b2=y2;function kd(t){return function(...e){let n=e[0];return e[0]=di(n,{mechanism:{data:{function:cr(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function w2(t){return function(e){return t.apply(this,[di(e,{mechanism:{data:{function:"requestAnimationFrame",handler:cr(t)},handled:!1,type:"instrument"}})])}}function E2(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&xe(n,r,function(i){let o={mechanism:{data:{function:r,handler:cr(i)},handled:!1,type:"instrument"}},s=mh(i);return s&&(o.mechanism.data.handler=cr(s)),di(i,o)})}),t.apply(this,e)}}function x2(t){let e=we,n=e[t]&&e[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(xe(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=di(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:cr(o),target:t},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[i,di(o,{mechanism:{data:{function:"addEventListener",handler:cr(o),target:t},handled:!1,type:"instrument"}}),s])}}),xe(n,"removeEventListener",function(r){return function(i,o,s){let a=o;try{let l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var S2="GlobalHandlers",C2=(t={})=>{let e=j({onerror:!0,onunhandledrejection:!0},t);return{name:S2,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(T2(n),Ad("onerror")),e.onunhandledrejection&&(O2(n),Ad("onunhandledrejection"))}}},I2=C2;function T2(t){gO(e=>{let{stackParser:n,attachStacktrace:r}=jv();if(Ge()!==t||Mv())return;let{msg:i,url:o,line:s,column:a,error:l}=e,u=N2(Eh(n,l||i,void 0,r,!1),o,s,a);u.level="error",Nv(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function O2(t){_O(e=>{let{stackParser:n,attachStacktrace:r}=jv();if(Ge()!==t||Mv())return;let i=D2(e),o=fh(i)?R2(i):Eh(n,i,void 0,r,!0);o.level="error",Nv(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function D2(t){if(fh(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function R2(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function N2(t,e,n,r){let i=t.exception=t.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,d=Mn(e)&&e.length>0?e:WT();return l.length===0&&l.push({colno:u,filename:d,function:Lr,in_app:!0,lineno:f}),t}function Ad(t){Jr&&wt.log(`Global Handler attached: ${t}`)}function jv(){let t=Ge();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var P2=()=>({name:"HttpContext",preprocessEvent(t){if(!we.navigator&&!we.location&&!we.document)return;let e=t.request&&t.request.url||we.location&&we.location.href,{referrer:n}=we.document||{},{userAgent:r}=we.navigator||{},i=j(j(j({},t.request&&t.request.headers),n&&{Referer:n}),r&&{"User-Agent":r}),o=Zt(j(j({},t.request),e&&{url:e}),{headers:i});t.request=o}}),k2="cause",A2=5,L2="LinkedErrors",M2=(t={})=>{let e=t.limit||A2,n=t.key||k2;return{name:L2,preprocessEvent(r,i,o){let s=o.getOptions();$T(bh,s.stackParser,s.maxValueLength,n,e,r,i)}}},V2=M2;function j2(t){return[rR(),QD(),b2(),c2(),I2(),V2(),mR(),P2()]}var F2=class extends Error{cause;constructor(t,e){super(t),this.cause=e}},Fv=class Bv{static INSTANCE;contexts={};tags;client;user;constructor(){this.init()}static getInstance(){return this.INSTANCE||(this.INSTANCE=new Bv),this.INSTANCE}captureException(e,n,r){Ve.error(e),this.getNewScope(n,r).captureException(e)}captureMessage(e,n,r,i){this.getNewScope(r,i).captureMessage(e,n??"error")}captureError(e,n,r,i){Ve.error(e,n);let o=this.getNewScope(r,i),s=new F2(e,n);o.captureException(s)}setGlobalContext(e,n){this.contexts[e]=j({context:n},this.contexts[e])}setUser(e){this.user=e}setTags(e){this.tags=e}getNewScope(e,n){let r=new Hn;if(r.setClient(this.client),r.setUser(this.user),e?.triggerContext){let i=e.triggerContext;r.setExtras(i.triggerData.sentryContext()),delete e.triggerContext}return e&&r.setExtras(e),this.tags&&r.setTags(this.tags),n&&r.setTags(n),Object.keys(this.contexts).forEach(i=>{r.setContext(i,this.contexts[i])}),r.setTag("language",navigator.language),r.setTag("timezone",z2()),r}init(){let e=j2({}).filter(n=>!["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(n.name));this.client=new kR({dsn:"https://1bc3dda4c861f60cd6be1b67584f4bc6@o559187.ingest.us.sentry.io/4507626484203520",transport:WR,stackParser:s2,integrations:e,environment:oo.mode,release:`web-sdk@${be.SDK_VERSION}`,debug:oo.debug}),this.client.init()}},Ld=class{static ID="id";static SESSION_LANDING_PAGE="landing";static SESSION_LAST_USED_TIME="lastUsedTime";static SESSION_SYNCED="synced";static APP_CONFIG="conf";static DEVICE_ID="did";static SDK_TOKEN="token";static FIRST_SEEN="firstSeen";static SESSION_NUMBER="sessionNumber";static GA_CLIENT_ID="gacid";static CURRENT_CART="cart";static MUTED="muted"},Md=en(R0());function Uv(t){return Md.default.createInstance({name:"lc",storeName:t,driver:Md.default.LOCALSTORAGE})}var Hv=class{static storage;static async get(t,e){return await this.storage?.getItem(t)??e}static set(t,e){return this.storage?.setItem(t,e)}static remove(t){return this.storage?.removeItem(t)}static clear(){return this.storage?.clear()}static getForage(){return this.storage}},QA=class extends Hv{static storeName="ses";static{this.storage=Uv(this.storeName)}},Vd=class extends Hv{static storeName="usr";static{this.storage=Uv(this.storeName)}},B2=class{static format(t,e){let n=/{{\s*(\w+)\s*}}/;return e.replace(n,(r,i)=>{switch(i){case"amount":return this.formatWithDelimiters(t,2);case"amount_no_decimals":return this.formatWithDelimiters(t,0);case"amount_with_comma_separator":return this.formatWithDelimiters(t,2,".",",");case"amount_no_decimals_with_comma_separator":return this.formatWithDelimiters(t,0,".",",");case"amount_with_apostrophe_separator":return this.formatWithDelimiters(t,2,"'",".");case"amount_no_decimals_with_space_separator":return this.formatWithDelimiters(t,0," ");case"amount_with_space_separator":return this.formatWithDelimiters(t,2," ",",");case"amount_with_period_and_space_separator":return this.formatWithDelimiters(t,2," ",".");default:return r}})}static formatWithDelimiters(t,e=2,n=",",r="."){if(isNaN(t)||t==null)return"0";let i=(t/100).toFixed(e).split("."),o=i[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+n),s=i[1]?r+i[1]:"";return o+s}},U2=class{id;mID;vID;vName;imageURL;name;link;quantity;price;finalPrice;constructor(t){this.id=t.id,this.mID=t.mID,this.vID=t.vID,this.vName=t.vName,this.imageURL=t.imageURL,this.name=t.name,this.link=t.link,this.quantity=t.quantity,this.price=t.price,this.finalPrice=t.finalPrice??t.price}},H2=class{isCartDirty=!0;cartEngagements;isGoKwikPopupOpen;previewIDs;previewVariant;pageName;moneyFormat;jsLoadTime=new Date;shopCurrencyCode;locale;activeExperiment;inInactive=!1;lastEnterActive=new Date;lastEnterInactive=null;currentItem;_currencyCode;get currencyCode(){return this._currencyCode}set currencyCode(t){this._currencyCode=t}static get(){return window.CooeeSDK.runtimeData}isInactive(){return this.inInactive}async setInactive(){return this.inInactive?0:(this.inInactive=!0,this.lastEnterInactive=new Date,Math.max((this.lastEnterInactive.getTime()-this.lastEnterActive.getTime())/1e3,0))}setActive(){return this.inInactive?(this.inInactive=!1,this.lastEnterActive=new Date,Math.max((this.lastEnterActive.getTime()-this.lastEnterInactive.getTime())/1e3,0)):0}isFirstActive(){return this.lastEnterInactive==null}getCurrentItem(){return this.currentItem}setCurrentItem(t){this.currentItem=new U2(t)}};function xh(t,e){if(t==0&&e)return"Free";let n=H2.get(),r=pv.get(),i=n.shopCurrencyCode||r.currency,o=n.currencyCode;o||Ve.warn("Currency code is not set in RuntimeData");let s=r.money?.format??n.moneyFormat,a;if(s&&i===o)a=B2.format(t*100,s);else{let l;try{l=new Intl.NumberFormat($2(),{style:"currency",currency:o||i,minimumFractionDigits:0,maximumFractionDigits:2})}catch(u){return Fv.getInstance().captureException(u,{currentCurrency:o,shopCurrency:i}),""}a=l.format(t),a=a.replace("\u20B9","Rs. "),r.money?.showCurrency&&o!=="INR"&&(a=a.concat(` ${o}`))}return a}function $2(){return navigator.languages!==void 0?navigator.languages[0].split("-")[0]:navigator.language??"en"}var Go;function z2(){if(Go)return Go;try{return Go=Intl.DateTimeFormat().resolvedOptions().timeZone,Go}catch{return""}}var Da=class Mc{transform(e){return e==null?null:xh(e)}static \u0275fac=function(e){return new(e||Mc)};static \u0275pipe=ih({name:"cooeeCurrency",type:Mc,pure:!0})},q2=en(N0()),G2=Object.prototype.toString,Ii=Array.isArray||function(t){return G2.call(t)==="[object Array]"};function Sh(t){return typeof t=="function"}function W2(t){return Ii(t)?"array":typeof t}function ml(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function jd(t,e){return t!=null&&typeof t=="object"&&e in t}function Z2(t,e){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var Y2=RegExp.prototype.test;function K2(t,e){return Y2.call(t,e)}var X2=/\S/;function J2(t){return!K2(X2,t)}var Q2={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function tN(t){return String(t).replace(/[&<>"'`=\/]/g,function(e){return Q2[e]})}var eN=/\s*/,nN=/\s+/,Fd=/\s*=/,rN=/\s*\}/,iN=/#|\^|\/|>|\{|&|=|!/;function oN(t,e){if(!t)return[];var n=!1,r=[],i=[],o=[],s=!1,a=!1,l="",u=0;function f(){if(s&&!a)for(;o.length;)delete i[o.pop()];else o=[];s=!1,a=!1}var d,_,y;function x($){if(typeof $=="string"&&($=$.split(nN,2)),!Ii($)||$.length!==2)throw new Error("Invalid tags: "+$);d=new RegExp(ml($[0])+"\\s*"),_=new RegExp("\\s*"+ml($[1])),y=new RegExp("\\s*"+ml("}"+$[1]))}x(e||tn.tags);for(var I=new Do(t),V,L,Z,W,B,lt;!I.eos();){if(V=I.pos,Z=I.scanUntil(d),Z)for(var Ht=0,At=Z.length;Ht<At;++Ht)W=Z.charAt(Ht),J2(W)?(o.push(i.length),l+=W):(a=!0,n=!0,l+=" "),i.push(["text",W,V,V+1]),V+=1,W===`
32
32
  `&&(f(),l="",u=0,n=!1);if(!I.scan(d))break;if(s=!0,L=I.scan(iN)||"name",I.scan(eN),L==="="?(Z=I.scanUntil(Fd),I.scan(Fd),I.scanUntil(_)):L==="{"?(Z=I.scanUntil(y),I.scan(rN),I.scanUntil(_),L="&"):Z=I.scanUntil(_),!I.scan(_))throw new Error("Unclosed tag at "+I.pos);if(L==">"?B=[L,Z,V,I.pos,l,u,n]:B=[L,Z,V,I.pos],u++,i.push(B),L==="#"||L==="^")r.push(B);else if(L==="/"){if(lt=r.pop(),!lt)throw new Error('Unopened section "'+Z+'" at '+V);if(lt[1]!==Z)throw new Error('Unclosed section "'+lt[1]+'" at '+V)}else L==="name"||L==="{"||L==="&"?a=!0:L==="="&&x(Z)}if(f(),lt=r.pop(),lt)throw new Error('Unclosed section "'+lt[1]+'" at '+I.pos);return aN(sN(i))}function sN(t){for(var e=[],n,r,i=0,o=t.length;i<o;++i)n=t[i],n&&(n[0]==="text"&&r&&r[0]==="text"?(r[1]+=n[1],r[3]=n[3]):(e.push(n),r=n));return e}function aN(t){for(var e=[],n=e,r=[],i,o,s=0,a=t.length;s<a;++s)switch(i=t[s],i[0]){case"#":case"^":n.push(i),r.push(i),n=i[4]=[];break;case"/":o=r.pop(),o[5]=i[2],n=r.length>0?r[r.length-1][4]:e;break;default:n.push(i)}return e}function Do(t){this.string=t,this.tail=t,this.pos=0}Do.prototype.eos=function(){return this.tail===""};Do.prototype.scan=function(t){var e=this.tail.match(t);if(!e||e.index!==0)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};Do.prototype.scanUntil=function(t){var e=this.tail.search(t),n;switch(e){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=n.length,n};function pi(t,e){this.view=t,this.cache={".":this.view},this.parent=e}pi.prototype.push=function(t){return new pi(t,this)};pi.prototype.lookup=function(t){var e=this.cache,n;if(e.hasOwnProperty(t))n=e[t];else{for(var r=this,i,o,s,a=!1;r;){if(t.indexOf(".")>0)for(i=r.view,o=t.split("."),s=0;i!=null&&s<o.length;)s===o.length-1&&(a=jd(i,o[s])||Z2(i,o[s])),i=i[o[s++]];else i=r.view[t],a=jd(r.view,t);if(a){n=i;break}r=r.parent}e[t]=n}return Sh(n)&&(n=n.call(this.view)),n};function Ne(){this.templateCache={_cache:{},set:function(t,e){this._cache[t]=e},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}Ne.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};Ne.prototype.parse=function(t,e){var n=this.templateCache,r=t+":"+(e||tn.tags).join(":"),i=typeof n<"u",o=i?n.get(r):void 0;return o==null&&(o=oN(t,e),i&&n.set(r,o)),o};Ne.prototype.render=function(t,e,n,r){var i=this.getConfigTags(r),o=this.parse(t,i),s=e instanceof pi?e:new pi(e,void 0);return this.renderTokens(o,s,n,t,r)};Ne.prototype.renderTokens=function(t,e,n,r,i){for(var o="",s,a,l,u=0,f=t.length;u<f;++u)l=void 0,s=t[u],a=s[0],a==="#"?l=this.renderSection(s,e,n,r,i):a==="^"?l=this.renderInverted(s,e,n,r,i):a===">"?l=this.renderPartial(s,e,n,i):a==="&"?l=this.unescapedValue(s,e):a==="name"?l=this.escapedValue(s,e,i):a==="text"&&(l=this.rawValue(s)),l!==void 0&&(o+=l);return o};Ne.prototype.renderSection=function(t,e,n,r,i){var o=this,s="",a=e.lookup(t[1]);function l(d){return o.render(d,e,n,i)}if(a){if(Ii(a))for(var u=0,f=a.length;u<f;++u)s+=this.renderTokens(t[4],e.push(a[u]),n,r,i);else if(typeof a=="object"||typeof a=="string"||typeof a=="number")s+=this.renderTokens(t[4],e.push(a),n,r,i);else if(Sh(a)){if(typeof r!="string")throw new Error("Cannot use higher-order sections without the original template");a=a.call(e.view,r.slice(t[3],t[5]),l),a!=null&&(s+=a)}else s+=this.renderTokens(t[4],e,n,r,i);return s}};Ne.prototype.renderInverted=function(t,e,n,r,i){var o=e.lookup(t[1]);if(!o||Ii(o)&&o.length===0)return this.renderTokens(t[4],e,n,r,i)};Ne.prototype.indentPartial=function(t,e,n){for(var r=e.replace(/[^ \t]/g,""),i=t.split(`
33
33
  `),o=0;o<i.length;o++)i[o].length&&(o>0||!n)&&(i[o]=r+i[o]);return i.join(`
34
34
  `)};Ne.prototype.renderPartial=function(t,e,n,r){if(n){var i=this.getConfigTags(r),o=Sh(n)?n(t[1]):n[t[1]];if(o!=null){var s=t[6],a=t[5],l=t[4],u=o;a==0&&l&&(u=this.indentPartial(o,l,s));var f=this.parse(u,i);return this.renderTokens(f,e,n,u,r)}}};Ne.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(n!=null)return n};Ne.prototype.escapedValue=function(t,e,n){var r=this.getConfigEscape(n)||tn.escape,i=e.lookup(t[1]);if(i!=null)return typeof i=="number"&&r===tn.escape?String(i):r(i)};Ne.prototype.rawValue=function(t){return t[1]};Ne.prototype.getConfigTags=function(t){return Ii(t)?t:t&&typeof t=="object"?t.tags:void 0};Ne.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!Ii(t))return t.escape};var tn={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){ao.templateCache=t},get templateCache(){return ao.templateCache}},ao=new Ne;tn.clearCache=function(){return ao.clearCache()};tn.parse=function(t,e){return ao.parse(t,e)};tn.render=function(t,e,n,r){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+W2(t)+'" was given as the first argument for mustache#render(template, view, partials)');return ao.render(t,e,n,r)};tn.escape=tN;tn.Scanner=Do;tn.Context=pi;tn.Writer=Ne;var $v=tn;$v.escape=q2.MustacheUtils.escapeHtml;var lN=class Vc{transform(e,n){return e?$v.render(e,j({},n)):null}static \u0275fac=function(e){return new(e||Vc)};static \u0275pipe=ih({name:"cooeeDynamicVariables",type:Vc,pure:!0})},Ra=class jc{constructor(e){this.sanitizer=e}transform(e){return e?this.sanitizer.bypassSecurityTrustHtml(e):""}static \u0275fac=function(e){return new(e||jc)(Ee(dv,16))};static \u0275pipe=ih({name:"safeHtml",type:jc,pure:!0})},Ch={};(function t(e,n,r,i){var o=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),s=typeof Path2D=="function"&&typeof DOMMatrix=="function",a=function(){if(!e.OffscreenCanvas)return!1;var b=new OffscreenCanvas(1,1),v=b.getContext("2d");v.fillRect(0,0,1,1);var k=b.transferToImageBitmap();try{v.createPattern(k,"no-repeat")}catch{return!1}return!0}();function l(){}function u(b){var v=n.exports.Promise,k=v!==void 0?v:e.Promise;return typeof k=="function"?new k(b):(b(l,l),null)}var f=function(b,v){return{transform:function(k){if(b)return k;if(v.has(k))return v.get(k);var U=new OffscreenCanvas(k.width,k.height),G=U.getContext("2d");return G.drawImage(k,0,0),v.set(k,U),U},clear:function(){v.clear()}}}(a,new Map),d=function(){var b=Math.floor(16.666666666666668),v,k,U={},G=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(v=function(nt){var et=Math.random();return U[et]=requestAnimationFrame(function K(ct){G===ct||G+b-1<ct?(G=ct,delete U[et],nt()):U[et]=requestAnimationFrame(K)}),et},k=function(nt){U[nt]&&cancelAnimationFrame(U[nt])}):(v=function(nt){return setTimeout(nt,b)},k=function(nt){return clearTimeout(nt)}),{frame:v,cancel:k}}(),_=function(){var b,v,k={};function U(G){function nt(et,K){G.postMessage({options:et||{},callback:K})}G.init=function(et){var K=et.transferControlToOffscreen();G.postMessage({canvas:K},[K])},G.fire=function(et,K,ct){if(v)return nt(et,null),v;var ft=Math.random().toString(36).slice(2);return v=u(function(Et){function X(ot){ot.data.callback===ft&&(delete k[ft],G.removeEventListener("message",X),v=null,f.clear(),ct(),Et())}G.addEventListener("message",X),nt(et,ft),k[ft]=X.bind(null,{data:{callback:ft}})}),v},G.reset=function(){G.postMessage({reset:!0});for(var et in k)k[et](),delete k[et]}}return function(){if(b)return b;if(!r&&o){var G=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join(`