@letscooee/web-sdk 9.10.11 → 9.10.13
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.
- package/dist/main.min.js +20 -20
- package/dist/widget.min.js +2 -2
- package/package.json +1 -1
package/dist/widget.min.js
CHANGED
|
@@ -13,7 +13,7 @@ ${t.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
|
|
|
13
13
|
`);return r>=0?n.slice(0,r):n}function Ud(e,t){return e?t?`${e} ${t}`:e:t||""}var x1=Xe({__forward_ref__:Xe});function __(e){return e.__forward_ref__=__,e.toString=function(){return dn(this())},e}function Pt(e){return m_(e)?e():e}function m_(e){return typeof e=="function"&&e.hasOwnProperty(x1)&&e.__forward_ref__===__}function _e(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zu(e){return Hd(e,v_)||Hd(e,y_)}function Hd(e,t){return e.hasOwnProperty(t)?e[t]:null}function S1(e){return e&&(e[v_]||e[y_])||null}function $d(e){return e&&(e.hasOwnProperty(zd)||e.hasOwnProperty(C1))?e[zd]:null}var v_=Xe({\u0275prov:Xe}),zd=Xe({\u0275inj:Xe}),y_=Xe({ngInjectableDef:Xe}),C1=Xe({ngInjectorDef:Xe}),Ce=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=_e({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function b_(e){return e&&!!e.\u0275providers}var I1=Xe({\u0275cmp:Xe}),T1=Xe({\u0275dir:Xe}),w_=Xe({\u0275pipe:Xe}),Os=Xe({\u0275fac:Xe}),Yi=Xe({__NG_ELEMENT_ID__:Xe}),qd=Xe({__NG_ENV_ID__:Xe});function Co(e){return typeof e=="string"?e:e==null?"":String(e)}function O1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Co(e)}function D1(e,t){throw new Ae(-200,e)}function qu(e,t){throw new Ae(-201,!1)}var De=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(De||{}),sc;function E_(){return sc}function Mt(e){let t=sc;return sc=e,t}function x_(e,t,n){let r=zu(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&De.Optional)return null;if(t!==void 0)return t;qu(e,"Injector")}var R1={},oo=R1,N1="__NG_DI_FLAG__",Ds="ngTempTokenPath",P1="ngTokenPath",k1=/\n/gm,A1="\u0275",Gd="__source",li;function L1(){return li}function nr(e){let t=li;return li=e,t}function M1(e,t=De.Default){if(li===void 0)throw new Ae(-203,!1);return li===null?x_(e,void 0,t):li.get(e,t&De.Optional?null:void 0,t)}function Fe(e,t=De.Default){return(E_()||M1)(Pt(e),t)}function P(e,t=De.Default){return Fe(e,ma(t))}function ma(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ac(e){let t=[];for(let n=0;n<e.length;n++){let r=Pt(e[n]);if(Array.isArray(r)){if(r.length===0)throw new Ae(900,!1);let i,o=De.Default;for(let s=0;s<r.length;s++){let a=r[s],l=j1(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}t.push(Fe(i,o))}else t.push(Fe(r))}return t}function j1(e){return e[N1]}function F1(e,t,n,r){let i=e[Ds];throw t[Gd]&&i.unshift(t[Gd]),e.message=V1(`
|
|
14
14
|
`+e.message,i,n,r),e[P1]=i,e[Ds]=null,e}function V1(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
15
15
|
`&&e.charAt(1)==A1?e.slice(2):e;let i=dn(t);if(Array.isArray(t))i=t.map(dn).join(" -> ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):dn(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(k1,`
|
|
16
|
-
`)}`}function kr(e,t){return e.hasOwnProperty(Os)?e[Os]:null}function B1(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function U1(e){return e.flat(Number.POSITIVE_INFINITY)}function Gu(e,t){e.forEach(n=>Array.isArray(n)?Gu(n,t):t(n))}function S_(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function H1(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function $1(e,t,n){let r=Io(e,t);return r>=0?e[r|1]=n:(r=~r,H1(e,r,t,n)),r}function fl(e,t){let n=Io(e,t);if(n>=0)return e[n|1]}function Io(e,t){return z1(e,t,1)}function z1(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var Ar={},$n=[],Ns=new Ce(""),C_=new Ce("",-1),I_=new Ce(""),T_=class{get(e,t=oo){if(t===oo){let n=new Error(`NullInjectorError: No provider for ${dn(e)}!`);throw n.name="NullInjectorError",n}return t}};function Lr(e){return e[I1]||null}function O_(e){return e[T1]||null}function D_(e){return e[w_]||null}function q1(e){let t=Lr(e)||O_(e)||D_(e);return t!==null&&t.standalone}function G1(e){return{\u0275providers:e}}function W1(...e){return{\u0275providers:R_(!0,e),\u0275fromNgModule:!0}}function R_(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return Gu(t,s=>{let a=s;lc(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&N_(i,o),n}function N_(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function lc(e,t,n,r){if(e=Pt(e),!e)return!1;let i=null,o=$d(e),s=!o&&Lr(e);if(!o&&!s){let l=e.ngModule;if(o=$d(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}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)lc(u,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{Gu(o.imports,d=>{lc(d,t,n,r)&&(u||=[],u.push(d))})}finally{}u!==void 0&&N_(u,t)}if(!a){let u=kr(i)||(()=>new i);t({provide:i,useFactory:u,deps:$n},i),t({provide:I_,useValue:i,multi:!0},i),t({provide:Ns,useValue:()=>Fe(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=e;Wu(l,d=>{t(d,u)})}}else return!1;return i!==e&&e.providers!==void 0}function Wu(e,t){for(let n of e)b_(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}var Z1=Xe({provide:String,useValue:Xe});function P_(e){return e!==null&&typeof e=="object"&&Z1 in e}function Y1(e){return!!(e&&e.useExisting)}function K1(e){return!!(e&&e.useFactory)}function pi(e){return typeof e=="function"}function J1(e){return!!e.useClass}var Zu=new Ce(""),fs={},X1={},pl;function va(){return pl===void 0&&(pl=new T_),pl}var zn=class{},Yu=class extends zn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,uc(e,o=>this.processProvider(o)),this.records.set(C_,ti(void 0,this)),r.has("environment")&&this.records.set(zn,ti(void 0,this));let i=this.records.get(Zu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(I_,$n,De.Self))}destroy(){zi(this),this._destroyed=!0;let e=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(e)}}onDestroy(e){return zi(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){zi(this);let t=nr(this),n=Mt(void 0),r;try{return e()}finally{nr(t),Mt(n)}}get(e,t=oo,n=De.Default){if(zi(this),e.hasOwnProperty(qd))return e[qd](this);n=ma(n);let r,i=nr(this),o=Mt(void 0);try{if(!(n&De.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=rE(e)&&zu(e);l&&this.injectableDefInScope(l)?a=ti(cc(e),fs):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&De.Self?va():this.parent;return t=n&De.Optional&&t===oo?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[Ds]=s[Ds]||[]).unshift(dn(e)),i)throw s;return F1(s,e,"R3InjectorError",this.source)}else throw s}finally{Mt(o),nr(i)}}resolveInjectorInitializers(){let e=Oe(null),t=nr(this),n=Mt(void 0),r;try{let i=this.get(Ns,$n,De.Self);for(let o of i)o()}finally{nr(t),Mt(n),Oe(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(dn(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=Pt(e);let t=pi(e)?e:Pt(e&&e.provide),n=eE(e);if(!pi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=ti(void 0,fs,!0),r.factory=()=>ac(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=Oe(null);try{return t.value===fs&&(t.value=X1,t.value=t.factory()),typeof t.value=="object"&&t.value&&nE(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Oe(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=Pt(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function cc(e){let t=zu(e),n=t!==null?t.factory:kr(e);if(n!==null)return n;if(e instanceof Ce)throw new Ae(204,!1);if(e instanceof Function)return Q1(e);throw new Ae(204,!1)}function Q1(e){if(e.length>0)throw new Ae(204,!1);let t=S1(e);return t!==null?()=>t.factory(e):()=>new e}function eE(e){if(P_(e))return ti(void 0,e.useValue);{let t=k_(e);return ti(t,fs)}}function k_(e,t,n){let r;if(pi(e)){let i=Pt(e);return kr(i)||cc(i)}else if(P_(e))r=()=>Pt(e.useValue);else if(K1(e))r=()=>e.useFactory(...ac(e.deps||[]));else if(Y1(e))r=()=>Fe(Pt(e.useExisting));else{let i=Pt(e&&(e.useClass||e.provide));if(tE(e))r=()=>new i(...ac(e.deps));else return kr(i)||cc(i)}return r}function zi(e){if(e.destroyed)throw new Ae(205,!1)}function ti(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tE(e){return!!e.deps}function nE(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function rE(e){return typeof e=="function"||typeof e=="object"&&e instanceof Ce}function uc(e,t){for(let n of e)Array.isArray(n)?uc(n,t):n&&b_(n)?uc(n.\u0275providers,t):t(n)}function A_(e,t){e instanceof Yu&&zi(e);let n,r=nr(e),i=Mt(void 0);try{return t()}finally{nr(r),Mt(i)}}function L_(){return E_()!==void 0||L1()!=null}function M_(e){if(!L_())throw new Ae(-203,!1)}function iE(e){return typeof e=="function"}var Yn=0,ge=1,ve=2,Rt=3,fn=4,wn=5,so=6,Ps=7,ht=8,ao=9,qn=10,wt=11,lo=12,Wd=13,xi=14,mn=15,Mr=16,ni=17,Gn=18,To=19,j_=20,ur=21,gl=22,ks=23,$t=24,ci=25,ct=26,F_=1,jr=7,As=8,gi=9,Dt=10;function Vn(e){return Array.isArray(e)&&typeof e[F_]=="object"}function Kn(e){return Array.isArray(e)&&e[F_]===!0}function Ku(e){return(e.flags&4)!==0}function Si(e){return e.componentOffset>-1}function ya(e){return(e.flags&1)===1}function Rn(e){return!!e.template}function Ls(e){return(e[ve]&512)!==0}function Oo(e){return(e[ve]&256)===256}var oE=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function V_(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var B_=(()=>{let e=()=>U_;return e.ngInherit=!0,e})();function U_(e){return e.type.prototype.ngOnChanges&&(e.setInput=aE),sE}function sE(){let e=$_(this),t=e?.current;if(t){let n=e.previous;if(n===Ar)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function aE(e,t,n,r,i){let o=this.declaredInputs[r],s=$_(e)||lE(e,{previous:Ar,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new oE(u&&u.currentValue,n,l===Ar),V_(e,t,i,n)}var H_="__ngSimpleChanges__";function $_(e){return e[H_]||null}function lE(e,t){return e[H_]=t}var cE=null,ze=function(e,t=null,n){cE?.(e,t,n)},z_="svg",uE="math";function qt(e){for(;Array.isArray(e);)e=e[Yn];return e}function q_(e,t){return qt(t[e])}function An(e,t){return qt(t[e.index])}function Ju(e,t){return e.data[t]}function ba(e,t){return e[t]}function tn(e,t){let n=t[e];return Vn(n)?n:n[Yn]}function hE(e){return(e[ve]&4)===4}function Xu(e){return(e[ve]&128)===128}function dE(e){return Kn(e[Rt])}function dr(e,t){return t==null?null:e[t]}function G_(e){e[ni]=0}function Qu(e){e[ve]&1024||(e[ve]|=1024,Xu(e)&&Do(e))}function fE(e,t){for(;e>0;)t=t[xi],e--;return t}function wa(e){return!!(e[ve]&9216||e[$t]?.dirty)}function hc(e){e[qn].changeDetectionScheduler?.notify(8),e[ve]&64&&(e[ve]|=1024),wa(e)&&Do(e)}function Do(e){e[qn].changeDetectionScheduler?.notify(0);let t=Fr(e);for(;t!==null&&!(t[ve]&8192||(t[ve]|=8192,!Xu(t)));)t=Fr(t)}function W_(e,t){if(Oo(e))throw new Ae(911,!1);e[ur]===null&&(e[ur]=[]),e[ur].push(t)}function pE(e,t){if(e[ur]===null)return;let n=e[ur].indexOf(t);n!==-1&&e[ur].splice(n,1)}function Fr(e){let t=e[Rt];return Kn(t)?t[Rt]:t}function Z_(e){return e[Ps]??=[]}function Y_(e){return e.cleanup??=[]}function gE(e,t,n,r){let i=Z_(t);i.push(n),e.firstCreatePass&&Y_(e).push(r,i.length-1)}var be={lFrame:rm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},dc=!1;function _E(){return be.lFrame.elementDepthCount}function mE(){be.lFrame.elementDepthCount++}function vE(){be.lFrame.elementDepthCount--}function eh(){return be.bindingsEnabled}function yE(){return be.skipHydrationRootTNode!==null}function bE(e){return be.skipHydrationRootTNode===e}function wE(){be.skipHydrationRootTNode=null}function xe(){return be.lFrame.lView}function _t(){return be.lFrame.tView}function dt(e){return be.lFrame.contextLView=e,e[ht]}function ft(e){return be.lFrame.contextLView=null,e}function Gt(){let e=K_();for(;e!==null&&e.type===64;)e=e.parent;return e}function K_(){return be.lFrame.currentTNode}function EE(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _r(e,t){let n=be.lFrame;n.currentTNode=e,n.isParent=t}function th(){return be.lFrame.isParent}function J_(){be.lFrame.isParent=!1}function X_(){return be.lFrame.contextLView}function Q_(){return dc}function Zd(e){let t=dc;return dc=e,t}function Ea(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xE(e){return be.lFrame.bindingIndex=e}function Ro(){return be.lFrame.bindingIndex++}function SE(e){let t=be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function CE(){return be.lFrame.inI18n}function IE(e,t){let n=be.lFrame;n.bindingIndex=n.bindingRootIndex=e,fc(t)}function TE(){return be.lFrame.currentDirectiveIndex}function fc(e){be.lFrame.currentDirectiveIndex=e}function OE(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function em(){return be.lFrame.currentQueryIndex}function nh(e){be.lFrame.currentQueryIndex=e}function DE(e){let t=e[ge];return t.type===2?t.declTNode:t.type===1?e[wn]:null}function tm(e,t,n){if(n&De.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&De.Host))&&(i=DE(o),!(i===null||(o=o[xi],i.type&10))););if(i===null)return!1;t=i,e=o}let r=be.lFrame=nm();return r.currentTNode=t,r.lView=e,!0}function rh(e){let t=nm(),n=e[ge];be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nm(){let e=be.lFrame,t=e===null?null:e.child;return t===null?rm(e):t}function rm(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function im(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var om=im;function ih(){let e=im();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function RE(e){return(be.lFrame.contextLView=fE(e,be.lFrame.contextLView))[ht]}function mr(){return be.lFrame.selectedIndex}function Vr(e){be.lFrame.selectedIndex=e}function oh(){let e=be.lFrame;return Ju(e.tView,e.selectedIndex)}function fr(){be.lFrame.currentNamespace=z_}function Ms(){NE()}function NE(){be.lFrame.currentNamespace=null}function PE(){return be.lFrame.currentNamespace}var sm=!0;function xa(){return sm}function Sa(e){sm=e}function kE(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=U_(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function sh(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:l,ngOnDestroy:u}=i;o&&(e.contentHooks??=[]).push(-n,o),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),a&&(e.viewHooks??=[]).push(-n,a),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ps(e,t,n){am(e,t,3,n)}function gs(e,t,n,r){(e[ve]&3)===n&&am(e,t,n,r)}function _l(e,t){let n=e[ve];(n&3)===t&&(n&=16383,n+=1,e[ve]=n)}function am(e,t,n,r){let i=r!==void 0?e[ni]&65535:0,o=r??-1,s=t.length-1,a=0;for(let l=i;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],r!=null&&a>=r)break}else t[l]<0&&(e[ni]+=65536),(a<o||o==-1)&&(AE(e,n,t,l),e[ni]=(e[ni]&4294901760)+l+2),l++}function Yd(e,t){ze(4,e,t);let n=Oe(null);try{t.call(e)}finally{Oe(n),ze(5,e,t)}}function AE(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[ve]>>14<e[ni]>>16&&(e[ve]&3)===t&&(e[ve]+=16384,Yd(a,o)):Yd(a,o)}var ui=-1,No=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function LE(e){return e instanceof No}function ME(e){return(e.flags&8)!==0}function jE(e){return(e.flags&16)!==0}function FE(e,t,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++];e.setAttribute(t,s,a,o)}else{let o=i,s=n[++r];BE(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function VE(e){return e===3||e===4||e===6}function BE(e){return e.charCodeAt(0)===64}function _i(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?Kd(e,n,i,null,t[++r]):Kd(e,n,i,null,null))}}return e}function Kd(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(e[o+1]=i);return}else if(r===e[o+1]){e[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r),i!==null&&e.splice(o++,0,i)}var ml={},UE=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=ma(n);let r=this.injector.get(e,ml,n);return r!==ml||t===ml?r:this.parentInjector.get(e,t,n)}};function lm(e){return e!==ui}function js(e){return e&32767}function HE(e){return e>>16}function Fs(e,t){let n=HE(e),r=t;for(;n>0;)r=r[xi],n--;return r}var pc=!0;function Vs(e){let t=pc;return pc=e,t}var $E=256,cm=$E-1,um=5,zE=0,Tn={};function qE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yi)&&(r=n[Yi]),r==null&&(r=n[Yi]=zE++);let i=r&cm,o=1<<i;t.data[e+(i>>um)]|=o}function Bs(e,t){let n=hm(e,t);if(n!==-1)return n;let r=t[ge];r.firstCreatePass&&(e.injectorIndex=t.length,vl(r.data,e),vl(t,null),vl(r.blueprint,null));let i=ah(e,t),o=e.injectorIndex;if(lm(i)){let s=js(i),a=Fs(i,t),l=a[ge].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|l[s+u]}return t[o+8]=i,o}function vl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ah(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=mm(i),r===null)return ui;if(n++,i=i[xi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ui}function gc(e,t,n){qE(e,t,n)}function dm(e,t,n){if(n&De.Optional||e!==void 0)return e;qu(t,"NodeInjector")}function fm(e,t,n,r){if(n&De.Optional&&r===void 0&&(r=null),(n&(De.Self|De.Host))===0){let i=e[ao],o=Mt(void 0);try{return i?i.get(t,r,n&De.Optional):x_(t,r,n&De.Optional)}finally{Mt(o)}}return dm(r,t,n)}function pm(e,t,n,r=De.Default,i){if(e!==null){if(t[ve]&2048&&!(r&De.Self)){let s=YE(e,t,n,r,Tn);if(s!==Tn)return s}let o=gm(e,t,n,r,Tn);if(o!==Tn)return o}return fm(t,n,r,i)}function gm(e,t,n,r,i){let o=WE(n);if(typeof o=="function"){if(!tm(t,e,r))return r&De.Host?dm(i,n,r):fm(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&De.Optional))qu(n);else return s}finally{om()}}else if(typeof o=="number"){let s=null,a=hm(e,t),l=ui,u=r&De.Host?t[mn][wn]:null;for((a===-1||r&De.SkipSelf)&&(l=a===-1?ah(e,t):t[a+8],l===ui||!Xd(r,!1)?a=-1:(s=t[ge],a=js(l),t=Fs(l,t)));a!==-1;){let d=t[ge];if(Jd(o,a,d.data)){let h=GE(a,t,n,s,r,u);if(h!==Tn)return h}l=t[a+8],l!==ui&&Xd(r,t[ge].data[a+8]===u)&&Jd(o,a,t)?(s=d,a=js(l),t=Fs(l,t)):a=-1}}return i}function GE(e,t,n,r,i,o){let s=t[ge],a=s.data[e+8],l=r==null?Si(a)&&pc:r!=s&&(a.type&3)!==0,u=i&De.Host&&o===a,d=_s(a,s,n,l,u);return d!==null?co(t,s,d,a):Tn}function _s(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,u=e.directiveEnd,d=o>>20,h=r?a:a+d,v=i?a+d:u;for(let m=h;m<v;m++){let w=s[m];if(m<l&&n===w||m>=l&&w.type===n)return m}if(i){let m=s[l];if(m&&Rn(m)&&m.type===n)return l}return null}function co(e,t,n,r){let i=e[n],o=t.data;if(LE(i)){let s=i;s.resolving&&D1(O1(o[n]));let a=Vs(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Mt(s.injectImpl):null,d=tm(e,r,De.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&kE(n,o[n],t)}finally{u!==null&&Mt(u),Vs(a),s.resolving=!1,om()}}return i}function WE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Yi)?e[Yi]:void 0;return typeof t=="number"?t>=0?t&cm:ZE:t}function Jd(e,t,n){let r=1<<e;return!!(n[t+(e>>um)]&r)}function Xd(e,t){return!(e&De.Self)&&!(e&De.Host&&t)}var Ki=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return pm(this._tNode,this._lView,e,ma(n),t)}};function ZE(){return new Ki(Gt(),xe())}function _m(e){return $u(()=>{let t=e.prototype.constructor,n=t[Os]||_c(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[Os]||_c(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _c(e){return m_(e)?()=>{let t=_c(Pt(e));return t&&t()}:kr(e)}function YE(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[ve]&2048&&!Ls(s);){let a=gm(o,s,n,r|De.Self,Tn);if(a!==Tn)return a;let l=o.parent;if(!l){let u=s[j_];if(u){let d=u.get(n,Tn,r);if(d!==Tn)return d}l=mm(s),s=s[xi]}o=l}return i}function mm(e){let t=e[ge],n=t.type;return n===2?t.declTNode:n===1?e[wn]:null}function Qd(e,t=null,n=null,r){let i=KE(e,t,n,r);return i.resolveInjectorInitializers(),i}function KE(e,t=null,n=null,r,i=new Set){let o=[n||$n,W1(e)];return r=r||(typeof e=="object"?void 0:dn(e)),new Yu(o,t||va(),r||null,i)}var kt=class vm{static THROW_IF_NOT_FOUND=oo;static NULL=new T_;static create(t,n){if(Array.isArray(t))return Qd({name:""},n,t,"");{let r=t.name??"";return Qd({name:r},t.parent,t.providers,r)}}static \u0275prov=_e({token:vm,providedIn:"any",factory:()=>Fe(C_)});static __NG_ELEMENT_ID__=-1},JE=new Ce("");JE.__NG_ELEMENT_ID__=e=>{let t=Gt();if(t===null)throw new Ae(204,!1);if(t.type&2)return t.value;if(e&De.Optional)return null;throw new Ae(204,!1)};var ym=!1,lh=(()=>{class e{static __NG_ELEMENT_ID__=QE;static __NG_ENV_ID__=n=>n}return e})(),XE=class extends lh{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return W_(this._lView,e),()=>pE(this._lView,e)}};function QE(){return new XE(xe())}var Ci=class{},ch=new Ce("",{providedIn:"root",factory:()=>!1}),bm=new Ce(""),uh=new Ce(""),Ca=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Mu(!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=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),ex=class extends ye{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,L_()&&(this.destroyRef=P(lh,{optional:!0})??void 0,this.pendingTasks=P(Ca,{optional:!0})??void 0)}emit(e){let t=Oe(null);try{super.next(e)}finally{Oe(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),o=n;if(e&&typeof e=="object"){let a=e;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 e instanceof yt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},Qe=ex;function Us(...e){}function wm(e){let t,n;function r(){e=Us;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ef(e){return queueMicrotask(()=>e()),()=>{e=Us}}var hh="isAngularZone",Hs=hh+"_ID",tx=0,Ze=class mc{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Qe(!1);onMicrotaskEmpty=new Qe(!1);onStable=new Qe(!1);onError=new Qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=ym}=t;if(typeof Zone>"u")throw new Ae(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,ix(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(hh)===!0}static assertInAngularZone(){if(!mc.isInAngularZone())throw new Ae(909,!1)}static assertNotInAngularZone(){if(mc.isInAngularZone())throw new Ae(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,nx,Us,Us);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},nx={};function dh(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rx(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){wm(()=>{e.callbackScheduled=!1,vc(e),e.isCheckStableRunning=!0,dh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vc(e)}function ix(e){let t=()=>{rx(e)},n=tx++;e._inner=e._inner.fork({name:"angular",properties:{[hh]:!0,[Hs]:n,[Hs+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(ox(l))return r.invokeTask(o,s,a,l);try{return tf(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),nf(e)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return tf(e),r.invoke(o,s,a,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sx(l)&&t(),nf(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,vc(e),dh(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function vc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function tf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nf(e){e._nesting--,dh(e)}var Em=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Qe;onMicrotaskEmpty=new Qe;onStable=new Qe;onError=new Qe;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}};function ox(e){return xm(e,"__ignore_ng_zone__")}function sx(e){return xm(e,"__scheduler_tick__")}function xm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ii=class{_console=console;handleError(e){this._console.error("ERROR",e)}},ax=new Ce("",{providedIn:"root",factory:()=>{let e=P(Ze),t=P(Ii);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function lx(){return Ti(Gt(),xe())}function Ti(e,t){return new Vt(An(e,t))}var Vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lx}return e})();function cx(e){return e instanceof Vt?e.nativeElement:e}function Bn(e,t){let n=pw(e),r=n[lr];return t?.equal&&(r.equal=t.equal),n.set=i=>Hg(r,i),n.update=i=>gw(r,i),n.asReadonly=ux.bind(n),n}function ux(){let e=this[lr];if(e.readonlyFn===void 0){let t=()=>this();t[lr]=e,e.readonlyFn=t}return e.readonlyFn}function hx(){return this._results[Symbol.iterator]()}var dx=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 ye}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=U1(e);(this._changesDetected=!B1(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hx};function Sm(e){return(e.flags&128)===128}var Cm=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cm||{}),fh=new Map,fx=0;function px(){return fx++}function gx(e){fh.set(e[To],e)}function Im(e){return fh.get(e)||null}function yc(e){fh.delete(e[To])}var _x=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Im(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}};function mx(e){let t=yl(e);if(t){if(Vn(t)){let n=t,r,i,o;if(Tm(e)){if(r=bx(n,e),r==-1)throw new Error("The provided component was not found in the application");i=e}else if(vx(e)){if(r=wx(n,e),r==-1)throw new Error("The provided directive was not found in the application");o=Ex(r,n)}else if(r=of(n,e),r==-1)return null;let s=qt(n[r]),a=yl(s),l=a&&!Array.isArray(a)?a:rf(n,r,s);if(i&&l.component===void 0&&(l.component=i,On(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)On(o[u],l)}On(l.native,l),t=l}}else{let n=e,r=n;for(;r=r.parentNode;){let i=yl(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=of(o,n);if(s>=0){let a=qt(o[s]),l=rf(o,s,a);On(a,l),t=l;break}}}}return t||null}function rf(e,t,n){return new _x(e[To],t,n)}var bc="__ngContext__";function On(e,t){Vn(t)?(e[bc]=t[To],gx(t)):e[bc]=t}function yl(e){let t=e[bc];return typeof t=="number"?Im(t):t||null}function Tm(e){return e&&e.constructor&&e.constructor.\u0275cmp}function vx(e){return e&&e.constructor&&e.constructor.\u0275dir}function of(e,t){let n=e[ge];for(let r=ct;r<n.bindingStartIndex;r++)if(qt(e[r])===t)return r;return-1}function yx(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function bx(e,t){let n=e[ge].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(tn(i,e)[ht]===t)return i}else if(tn(ct,e)[ht]===t)return ct;return-1}function wx(e,t){let n=e[ge].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(e[o]===t)return n.index;n=yx(n)}return-1}function Ex(e,t){let n=t[ge].data[e];if(n.directiveStart===0)return $n;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=t[i];Tm(o)||r.push(o)}return r}function Om(e){return Rm(e[lo])}function Dm(e){return Rm(e[fn])}function Rm(e){for(;e!==null&&!Kn(e);)e=e[fn];return e}var wc;function xx(e){wc=e}function Nm(){if(wc!==void 0)return wc;if(typeof document<"u")return document;throw new Ae(210,!1)}var ph=new Ce("",{providedIn:"root",factory:()=>Sx}),Sx="ng",Pm=new Ce(""),Ia=new Ce("",{providedIn:"platform",factory:()=>"unknown"}),Cx=new Ce(""),km=new Ce("",{providedIn:"root",factory:()=>Nm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ix="h",Tx="b",Am=!1,Ox=new Ce("",{providedIn:"root",factory:()=>Am}),gh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(gh||{}),Po=new Ce(""),sf=new Set;function Wr(e){sf.has(e)||(sf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lm=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Dx}return e})();function Dx(){return new Lm(xe(),Gt())}var ri=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ri||{}),Mm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rx=[ri.EarlyRead,ri.Write,ri.MixedReadWrite,ri.Read],Nx=(()=>{class e{ngZone=P(Ze);scheduler=P(Ci);errorHandler=P(Ii,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(Po,{optional:!0})}execute(){let n=this.sequences.size>0;n&&ze(16),this.executing=!0;for(let r of Rx)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&&ze(17)}register(n){let{view:r}=n;r!==void 0?((r[ci]??=[]).push(n),Do(r),r[ve]|=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(gh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),Px=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,o=null){this.impl=e,this.hooks=t,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 e=this.view?.[ci];e&&(this.view[ci]=e.filter(t=>t!==this))}};function jm(e,t){!t?.injector&&M_(jm);let n=t?.injector??P(kt);return Wr("NgAfterRender"),Fm(e,n,t,!1)}function ko(e,t){!t?.injector&&M_(ko);let n=t?.injector??P(kt);return Wr("NgAfterNextRender"),Fm(e,n,t,!0)}function kx(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Fm(e,t,n,r){let i=t.get(Mm);i.impl??=t.get(Nx);let o=t.get(Po,null,{optional:!0}),s=n?.phase??ri.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(lh):null,l=t.get(Lm,null,{optional:!0}),u=new Px(i.impl,kx(e,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var Ax=()=>null;function Vm(e,t,n=!1){return Ax(e,t,n)}function Bm(e,t){let n=e.contentQueries;if(n!==null){let r=Oe(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];nh(o),a.contentQueries(2,t[s],s)}}}finally{Oe(r)}}}function Ec(e,t,n){nh(0);let r=Oe(null);try{t(e,n)}finally{Oe(r)}}function _h(e,t,n){if(Ku(t)){let r=Oe(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let l=n[s];a.contentQueries(1,l,s)}}}finally{Oe(r)}}}var Fn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fn||{}),Wo;function Lx(){if(Wo===void 0&&(Wo=null,io.trustedTypes))try{Wo=io.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wo}function Ta(e){return Lx()?.createHTML(e)||e}var Zo;function Mx(){if(Zo===void 0&&(Zo=null,io.trustedTypes))try{Zo=io.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zo}function af(e){return Mx()?.createHTML(e)||e}var Zr=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${g_})`}},jx=class extends Zr{getTypeName(){return"HTML"}},Fx=class extends Zr{getTypeName(){return"Style"}},Vx=class extends Zr{getTypeName(){return"Script"}},Bx=class extends Zr{getTypeName(){return"URL"}},Ux=class extends Zr{getTypeName(){return"ResourceURL"}};function sr(e){return e instanceof Zr?e.changingThisBreaksApplicationSecurity:e}function Cr(e,t){let n=Hx(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${g_})`)}return n===t}function Hx(e){return e instanceof Zr&&e.getTypeName()||null}function $x(e){return new jx(e)}function zx(e){return new Fx(e)}function qx(e){return new Vx(e)}function Gx(e){return new Bx(e)}function Wx(e){return new Ux(e)}function Zx(e){let t=new Kx(e);return Jx()?new Yx(t):t}var Yx=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(Ta(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Kx=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ta(e),t}};function Jx(){try{return!!new window.DOMParser().parseFromString(Ta(""),"text/html")}catch{return!1}}var Xx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mh(e){return e=String(e),e.match(Xx)?e:"unsafe:"+e}function Jn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ao(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Um=Jn("area,br,col,hr,img,wbr"),Hm=Jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$m=Jn("rp,rt"),Qx=Ao($m,Hm),eS=Ao(Hm,Jn("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")),tS=Ao($m,Jn("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")),lf=Ao(Um,eS,tS,Qx),zm=Jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nS=Jn("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"),rS=Jn("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"),iS=Ao(zm,nS,rS),oS=Jn("script,style,template"),sS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=cS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=lS(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=cf(e).toLowerCase();if(!lf.hasOwnProperty(t))return this.sanitizedSomething=!0,!oS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!iS.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;zm[s]&&(a=mh(a)),this.buf.push(" ",o,'="',uf(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=cf(e).toLowerCase();lf.hasOwnProperty(t)&&!Um.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(uf(e))}};function aS(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function lS(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw qm(t);return t}function cS(e){let t=e.firstChild;if(t&&aS(e,t))throw qm(t);return t}function cf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function qm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var uS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hS=/([^\#-~ |!])/g;function uf(e){return e.replace(/&/g,"&").replace(uS,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(hS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Yo;function Gm(e,t){let n=null;try{Yo=Yo||Zx(e);let r=t?String(t):"";n=Yo.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=Yo.getInertBodyElement(r)}while(r!==o);let s=new sS().sanitizeChildren(hf(n)||n);return Ta(s)}finally{if(n){let r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hf(e){return"content"in e&&dS(e)?e.content:null}function dS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var jn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(jn||{});function Oi(e){let t=Wm();return t?af(t.sanitize(jn.HTML,e)||""):Cr(e,"HTML")?af(sr(e)):Gm(Nm(),Co(e))}function on(e){let t=Wm();return t?t.sanitize(jn.URL,e)||"":Cr(e,"URL")?sr(e):mh(Co(e))}function Wm(){let e=xe();return e&&e[qn].sanitizer}var fS=/^>|^->|<!--|-->|--!>|<!-$/g,pS=/(<|>)/g,gS="\u200B$1\u200B";function _S(e){return e.replace(fS,t=>t.replace(pS,gS))}function mS(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var Zm="ng-template";function vS(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&mS(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(vh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function vh(e){return e.type===4&&e.value!==Zm}function yS(e,t,n){let r=e.type===4&&!n?Zm:e.value;return t===r}function bS(e,t,n){let r=4,i=e.attrs,o=i!==null?xS(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!ln(r)&&!ln(l))return!1;if(s&&ln(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!yS(e,l,n)||l===""&&t.length===1){if(ln(r))return!1;s=!0}}else if(r&8){if(i===null||!vS(e,i,l,n)){if(ln(r))return!1;s=!0}}else{let u=t[++a],d=wS(l,i,vh(e),n);if(d===-1){if(ln(r))return!1;s=!0;continue}if(u!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&u!==h){if(ln(r))return!1;s=!0}}}}return ln(r)||s}function ln(e){return(e&1)===0}function wS(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return SS(t,e)}function ES(e,t,n=!1){for(let r=0;r<t.length;r++)if(bS(e,t[r],n))return!0;return!1}function xS(e){for(let t=0;t<e.length;t++){let n=e[t];if(VE(n))return t}return e.length}function SS(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function df(e,t){return e?":not("+t.trim()+")":t}function CS(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!ln(s)&&(t+=df(o,i),i=""),r=s,o=o||!ln(r);n++}return i!==""&&(t+=df(o,i)),t}function IS(e){return e.map(CS).join(",")}function TS(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else{if(!ln(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var Xn={};function OS(e,t){return e.createText(t)}function DS(e,t,n){e.setValue(t,n)}function RS(e,t){return e.createComment(_S(t))}function Ym(e,t,n){return e.createElement(t,n)}function $s(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Km(e,t,n){e.appendChild(t,n)}function ff(e,t,n,r,i){r!==null?$s(e,t,n,r,i):Km(e,t,n)}function NS(e,t,n){e.removeChild(null,t,n)}function PS(e,t,n){e.setAttribute(t,"style",n)}function kS(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jm(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&FE(e,t,r),i!==null&&kS(e,t,i),o!==null&&PS(e,t,o)}function yh(e,t,n,r,i,o,s,a,l,u,d){let h=ct+r,v=h+i,m=AS(h,v),w=typeof u=="function"?u():u;return m[ge]={type:e,blueprint:m,template:n,queries:null,viewQuery:a,declTNode:t,data:m.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:w,incompleteFirstPass:!1,ssrId:d}}function AS(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Xn);return n}function LS(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=yh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bh(e,t,n,r,i,o,s,a,l,u,d){let h=t.blueprint.slice();return h[Yn]=i,h[ve]=r|4|128|8|64|1024,(u!==null||e&&e[ve]&2048)&&(h[ve]|=2048),G_(h),h[Rt]=h[xi]=e,h[ht]=n,h[qn]=s||e&&e[qn],h[wt]=a||e&&e[wt],h[ao]=l||e&&e[ao]||null,h[wn]=o,h[To]=px(),h[so]=d,h[j_]=u,h[mn]=t.type==2?e[mn]:h,h}function MS(e,t,n){let r=An(t,e),i=LS(n),o=e[qn].rendererFactory,s=wh(e,bh(e,i,null,Xm(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Xm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Qm(e,t,n,r){if(n===0)return-1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function wh(e,t){return e[lo]?e[Wd][fn]=t:e[lo]=t,e[Wd]=t,t}function K(e=1){ev(_t(),xe(),mr()+e,!1)}function ev(e,t,n,r){if(!r)if((t[ve]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ps(t,i,n)}else{let i=e.preOrderHooks;i!==null&&gs(t,i,0,n)}Vr(n)}var Oa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Oa||{});function xc(e,t,n,r){let i=Oe(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Oa.SignalBased)!==0&&(l=t[o][lr]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,l,r,n,o):V_(t,l,o,r)}finally{Oe(i)}}function tv(e,t,n,r,i){let o=mr(),s=r&2;try{Vr(-1),s&&t.length>ct&&ev(e,t,ct,!1),ze(s?2:0,i),n(r,i)}finally{Vr(o),ze(s?3:1,i)}}function Da(e,t,n){HS(e,t,n),(n.flags&64)===64&&$S(e,t,n)}function Eh(e,t,n=An){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a}}}function jS(e,t,n,r){let i=r.get(Ox,Am)||n===Fn.ShadowDom,o=e.selectRootElement(t,i);return FS(o),o}function FS(e){VS(e)}var VS=()=>null;function BS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nv(e,t,n,r,i,o,s,a){if(!a&&Sh(t,e,n,r,i)){Si(t)&&US(n,t.index);return}if(t.type&3){let l=An(t,n);r=BS(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function US(e,t){let n=tn(t,e);n[ve]&16||(n[ve]|=64)}function HS(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Si(n)&&MS(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Bs(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=co(t,e,s,n);if(On(l,t),o!==null&&WS(t,s-r,l,a,n,o),Rn(a)){let u=tn(n.index,t);u[ht]=co(t,e,s,n)}}}function $S(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=TE();try{Vr(o);for(let a=r;a<i;a++){let l=e.data[a],u=t[a];fc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&zS(l,u)}}finally{Vr(-1),fc(s)}}function zS(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function xh(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];ES(t,o.selectors,!1)&&(r??=[],Rn(o)?r.unshift(o):r.push(o))}return r}function qS(e,t,n,r,i,o){let s=An(e,t);GS(t[wt],s,o,e.value,n,r,i)}function GS(e,t,n,r,i,o,s){if(o==null)e.removeAttribute(t,i,n);else{let a=s==null?Co(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function WS(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];xc(r,n,l,u)}}function rv(e,t){let n=e[ao],r=n?n.get(Ii,null):null;r&&r.handleError(t)}function Sh(e,t,n,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],d=s[l+1],h=t.data[u];xc(h,n[u],d,i),a=!0}if(o)for(let l of o){let u=n[l],d=t.data[l];xc(d,u,r,i),a=!0}return a}function ZS(e,t){let n=tn(t,e),r=n[ge];YS(r,n);let i=n[Yn];i!==null&&n[so]===null&&(n[so]=Vm(i,n[ao])),ze(18),Ch(r,n,n[ht]),ze(19,n[ht])}function YS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ch(e,t,n){rh(t);try{let r=e.viewQuery;r!==null&&Ec(1,r,n);let i=e.template;i!==null&&tv(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Gn]?.finishViewCreation(e),e.staticContentQueries&&Bm(e,t),e.staticViewQueries&&Ec(2,e.viewQuery,n);let o=e.components;o!==null&&KS(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ve]&=-5,ih()}}function KS(e,t){for(let n=0;n<t.length;n++)ZS(e,t[n])}function Ra(e,t,n,r){let i=Oe(null);try{let o=t.tView,s=e[ve]&4096?4096:16,a=bh(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[Mr]=l;let u=e[Gn];return u!==null&&(a[Gn]=u.createEmbeddedView(o)),Ch(o,a,n),a}finally{Oe(i)}}function uo(e,t){return!t||t.firstChild===null||Sm(e)}var JS;function Ih(e,t){return JS(e,t)}var Or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Or||{});function iv(e){return(e.flags&32)===32}function ii(e,t,n,r,i){if(r!=null){let o,s=!1;Kn(r)?o=r:Vn(r)&&(s=!0,r=r[Yn]);let a=qt(r);e===0&&n!==null?i==null?Km(t,n,a):$s(t,n,a,i||null,!0):e===1&&n!==null?$s(t,n,a,i||null,!0):e===2?NS(t,a,s):e===3&&t.destroyNode(a),o!=null&&cC(t,e,o,n,i)}}function XS(e,t){ov(e,t),t[Yn]=null,t[wn]=null}function QS(e,t,n,r,i,o){r[Yn]=i,r[wn]=t,ka(e,r,n,1,i,o)}function ov(e,t){t[qn].changeDetectionScheduler?.notify(9),ka(e,t,t[wt],2,null,null)}function eC(e){let t=e[lo];if(!t)return bl(e[ge],e);for(;t;){let n=null;if(Vn(t))n=t[lo];else{let r=t[Dt];r&&(n=r)}if(!n){for(;t&&!t[fn]&&t!==e;)Vn(t)&&bl(t[ge],t),t=t[Rt];t===null&&(t=e),Vn(t)&&bl(t[ge],t),n=t&&t[fn]}t=n}}function Th(e,t){let n=e[gi],r=n.indexOf(t);n.splice(r,1)}function Na(e,t){if(Oo(t))return;let n=t[wt];n.destroyNode&&ka(e,t,n,3,null,null),eC(t)}function bl(e,t){if(Oo(t))return;let n=Oe(null);try{t[ve]&=-129,t[ve]|=256,t[$t]&&Mg(t[$t]),nC(e,t),tC(e,t),t[ge].type===1&&t[wt].destroy();let r=t[Mr];if(r!==null&&Kn(t[Rt])){r!==t[Rt]&&Th(r,t);let i=t[Gn];i!==null&&i.detachView(e)}yc(t)}finally{Oe(n)}}function tC(e,t){let n=e.cleanup,r=t[Ps];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&&(t[Ps]=null);let i=t[ur];if(i!==null){t[ur]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[ks];if(o!==null){t[ks]=null;for(let s of o)s.destroy()}}function nC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof No)){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];ze(4,a,l);try{l.call(a)}finally{ze(5,a,l)}}else{ze(4,i,o);try{o.call(i)}finally{ze(5,i,o)}}}}}function rC(e,t,n){return iC(e,t.parent,n)}function iC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Yn];if(Si(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Fn.None||i===Fn.Emulated)return null}return An(r,n)}function oC(e,t,n){return aC(e,t,n)}function sC(e,t,n){return e.type&40?An(e,n):null}var aC=sC,pf;function Pa(e,t,n,r){let i=rC(e,r,t),o=t[wt],s=r.parent||t[wn],a=oC(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)ff(o,i,n[l],a,!1);else ff(o,i,n,a,!1);pf!==void 0&&pf(o,r,t,n,i)}function qi(e,t){if(t!==null){let n=t.type;if(n&3)return An(t,e);if(n&4)return Sc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return qi(e,r);{let i=e[t.index];return Kn(i)?Sc(-1,i):qt(i)}}else{if(n&128)return qi(e,t.next);if(n&32)return Ih(t,e)()||qt(e[t.index]);{let r=sv(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Fr(e[mn]);return qi(i,r)}else return qi(e,t.next)}}}return null}function sv(e,t){if(t!==null){let n=e[mn][wn],r=t.projection;return n.projection[r]}return null}function Sc(e,t){let n=Dt+e+1;if(n<t.length){let r=t[n],i=r[ge].firstChild;if(i!==null)return qi(r,i)}return t[jr]}function Oh(e,t,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&&t===0&&(a&&On(qt(a),r),n.flags|=2),!iv(n))if(l&8)Oh(e,t,n.child,r,i,o,!1),ii(t,e,i,a,o);else if(l&32){let u=Ih(n,r),d;for(;d=u();)ii(t,e,i,d,o);ii(t,e,i,a,o)}else l&16?lC(e,t,r,n,i,o):ii(t,e,i,a,o);n=s?n.projectionNext:n.next}}function ka(e,t,n,r,i,o){Oh(n,r,e.firstChild,t,i,o,!1)}function lC(e,t,n,r,i,o){let s=n[mn],a=s[wn].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];ii(t,e,i,u,o)}else{let l=a,u=s[Rt];Sm(r)&&(l.flags|=128),Oh(e,t,l,u,i,o,!0)}}function cC(e,t,n,r,i){let o=n[jr],s=qt(n);o!==s&&ii(t,e,r,o,i);for(let a=Dt;a<n.length;a++){let l=n[a];ka(l[ge],l,e,t,r,o)}}function uC(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:Or.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Or.Important),e.setStyle(n,r,i,o))}}function zs(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(qt(o)),Kn(o)&&hC(o,r);let s=n.type;if(s&8)zs(e,t,n.child,r);else if(s&32){let a=Ih(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=sv(t,n);if(Array.isArray(a))r.push(...a);else{let l=Fr(t[mn]);zs(l[ge],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function hC(e,t){for(let n=Dt;n<e.length;n++){let r=e[n],i=r[ge].firstChild;i!==null&&zs(r[ge],r,i,t)}e[jr]!==e[Yn]&&t.push(e[jr])}function av(e){if(e[ci]!==null){for(let t of e[ci])t.impl.addSequence(t);e[ci].length=0}}var lv=[];function dC(e){return e[$t]??fC(e)}function fC(e){let t=lv.pop()??Object.create(gC);return t.lView=e,t}function pC(e){e.lView[$t]!==e&&(e.lView=null,lv.push(e))}var gC=Ye(F({},Pu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Do(e.lView)},consumerOnSignalRead(){this.lView[$t]=this}});function _C(e){let t=e[$t]??Object.create(mC);return t.lView=e,t}var mC=Ye(F({},Pu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Fr(e.lView);for(;t&&!cv(t[ge]);)t=Fr(t);t&&Qu(t)},consumerOnSignalRead(){this.lView[$t]=this}});function cv(e){return e.type!==2}function uv(e){if(e[ks]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ks])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[ve]&8192)}}var vC=100;function hv(e,t=!0,n=0){let r=e[qn].rendererFactory,i=!1;i||r.begin?.();try{yC(e,n)}catch(o){throw t&&rv(e,o),o}finally{i||r.end?.()}}function yC(e,t){let n=Q_();try{Zd(!0),Cc(e,t);let r=0;for(;wa(e);){if(r===vC)throw new Ae(103,!1);r++,Cc(e,1)}}finally{Zd(n)}}function bC(e,t,n,r){if(Oo(t))return;let i=t[ve],o=!1,s=!1;rh(t);let a=!0,l=null,u=null;o||(cv(e)?(u=dC(t),l=Ad(u)):ow()===null?(a=!1,u=_C(t),l=Ad(u)):t[$t]&&(Mg(t[$t]),t[$t]=null));try{G_(t),xE(e.bindingStartIndex),n!==null&&tv(e,t,n,2,r);let d=(i&3)===3;if(!o)if(d){let m=e.preOrderCheckHooks;m!==null&&ps(t,m,null)}else{let m=e.preOrderHooks;m!==null&&gs(t,m,0,null),_l(t,0)}if(s||wC(t),uv(t),dv(t,0),e.contentQueries!==null&&Bm(e,t),!o)if(d){let m=e.contentCheckHooks;m!==null&&ps(t,m)}else{let m=e.contentHooks;m!==null&&gs(t,m,1),_l(t,1)}xC(e,t);let h=e.components;h!==null&&pv(t,h,0);let v=e.viewQuery;if(v!==null&&Ec(2,v,r),!o)if(d){let m=e.viewCheckHooks;m!==null&&ps(t,m)}else{let m=e.viewHooks;m!==null&&gs(t,m,2),_l(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gl]){for(let m of t[gl])m();t[gl]=null}o||(av(t),t[ve]&=-73)}catch(d){throw o||Do(t),d}finally{u!==null&&(uw(u,l),a&&pC(u)),ih()}}function dv(e,t){for(let n=Om(e);n!==null;n=Dm(n))for(let r=Dt;r<n.length;r++){let i=n[r];fv(i,t)}}function wC(e){for(let t=Om(e);t!==null;t=Dm(t)){if(!(t[ve]&2))continue;let n=t[gi];for(let r=0;r<n.length;r++){let i=n[r];Qu(i)}}}function EC(e,t,n){ze(18);let r=tn(t,e);fv(r,n),ze(19,r[ht])}function fv(e,t){Xu(e)&&Cc(e,t)}function Cc(e,t){let n=e[ge],r=e[ve],i=e[$t],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&Lg(i)),o||=!1,i&&(i.dirty=!1),e[ve]&=-9217,o)bC(n,e,n.template,e[ht]);else if(r&8192){uv(e),dv(e,1);let s=n.components;s!==null&&pv(e,s,1),av(e)}}function pv(e,t,n){for(let r=0;r<t.length;r++)EC(e,t[r],n)}function xC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Vr(~i);else{let o=i,s=n[++r],a=n[++r];IE(s,o);let l=t[o];ze(24,l),a(2,l),ze(25,l)}}}finally{Vr(-1)}}function Dh(e,t){let n=Q_()?64:1088;for(e[qn].changeDetectionScheduler?.notify(t);e;){e[ve]|=n;let r=Fr(e);if(Ls(e)&&!r)return e;e=r}return null}function gv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function _v(e,t){let n=Dt+t;if(n<e.length)return e[n]}function Aa(e,t,n,r=!0){let i=t[ge];if(SC(i,t,e,n),r){let s=Sc(n,e),a=t[wt],l=a.parentNode(e[jr]);l!==null&&QS(i,e[wn],a,t,l,s)}let o=t[so];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function mv(e,t){let n=ho(e,t);return n!==void 0&&Na(n[ge],n),n}function ho(e,t){if(e.length<=Dt)return;let n=Dt+t,r=e[n];if(r){let i=r[Mr];i!==null&&i!==e&&Th(i,r),t>0&&(e[n-1][fn]=r[fn]);let o=Rs(e,Dt+t);XS(r[ge],r);let s=o[Gn];s!==null&&s.detachView(o[ge]),r[Rt]=null,r[fn]=null,r[ve]&=-129}return r}function SC(e,t,n,r){let i=Dt+r,o=n.length;r>0&&(n[i-1][fn]=t),r<o-Dt?(t[fn]=n[i],S_(n,Dt+r,t)):(n.push(t),t[fn]=null),t[Rt]=n;let s=t[Mr];s!==null&&n!==s&&vv(s,t);let a=t[Gn];a!==null&&a.insertView(e),hc(t),t[ve]|=128}function vv(e,t){let n=e[gi],r=t[Rt];if(Vn(r))e[ve]|=2;else{let i=r[Rt][mn];t[mn]!==i&&(e[ve]|=2)}n===null?e[gi]=[t]:n.push(t)}var fo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[ge];return zs(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[ht]}get dirty(){return!!(this._lView[ve]&9280)||!!this._lView[$t]?.dirty}set context(e){this._lView[ht]=e}get destroyed(){return Oo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(Kn(e)){let t=e[As],n=t?t.indexOf(this):-1;n>-1&&(ho(e,n),Rs(t,n))}this._attachedToViewContainer=!1}Na(this._lView[ge],this._lView)}onDestroy(e){W_(this._lView,e)}markForCheck(){Dh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Qu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ve]&=-129}reattach(){hc(this._lView),this._lView[ve]|=128}detectChanges(){this._lView[ve]|=1024,hv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ls(this._lView),t=this._lView[Mr];t!==null&&!e&&Th(t,this._lView),ov(this._lView[ge],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Ae(902,!1);this._appRef=e;let t=Ls(this._lView),n=this._lView[Mr];n!==null&&!t&&vv(n,this._lView),hc(this._lView)}},po=(()=>{class e{static __NG_ELEMENT_ID__=TC}return e})(),CC=po,IC=class extends CC{_declarationLView;_declarationTContainer;elementRef;constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=Ra(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new fo(r)}};function TC(){return La(Gt(),xe())}function La(e,t){return e.type&4?new IC(t,e,Ti(e,t)):null}function Lo(e,t,n,r,i){let o=e.data[t];if(o===null)o=OC(e,t,n,r,i),CE()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=EE();o.injectorIndex=s===null?-1:s.injectorIndex}return _r(o,!0),o}function OC(e,t,n,r,i){let o=K_(),s=th(),a=s?o:o&&o.parent,l=e.data[t]=RC(e,a,n,t,r,i);return DC(e,l,o,s),l}function DC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function RC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return yE()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var DM=new RegExp(`^(\\d+)*(${Tx}|${Ix})*(.*)`),NC=()=>null;function go(e,t){return NC(e,t)}var PC=class{},yv=class{},kC=class{resolveComponentFactory(e){throw Error(`No component factory found for ${dn(e)}.`)}},Mo=class{static NULL=new kC},En=class{},bv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>AC()}return e})();function AC(){let e=xe(),t=Gt(),n=tn(t.index,e);return(Vn(n)?n:e)[wt]}var LC=(()=>{class e{static \u0275prov=_e({token:e,providedIn:"root",factory:()=>null})}return e})();function Ic(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=Ud(i,a);else if(o==2){let l=a,u=t[++s];r=Ud(r,l+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Ot(e,t=De.Default){let n=xe();if(n===null)return Fe(e,t);let r=Gt();return pm(r,n,Pt(e),t)}function Rh(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,u=null,d=jC(s);d===null?a=s:[a,l,u]=d,BC(e,t,n,a,o,l,u)}o!==null&&r!==null&&MC(n,r,o)}function MC(e,t,n){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new Ae(-301,!1);r.push(t[i],o)}}function jC(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Rn(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,FC(s,r,o,i)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,i,o]):null}function FC(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function VC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function BC(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let v=0;v<a;v++){let m=r[v];!l&&Rn(m)&&(l=!0,VC(e,n,v)),gc(Bs(n,t),e,m.type)}GC(n,e.data.length,a);for(let v=0;v<a;v++){let m=r[v];m.providersResolver&&m.providersResolver(m)}let u=!1,d=!1,h=Qm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let v=0;v<a;v++){let m=r[v];if(n.mergedAttrs=_i(n.mergedAttrs,m.hostAttrs),HC(e,n,t,h,m),qC(h,m,i),s!==null&&s.has(m)){let[C,A]=s.get(m);n.directiveToIndex.set(m.type,[h,C+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(m))&&n.directiveToIndex.set(m.type,h);m.contentQueries!==null&&(n.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(n.flags|=64);let w=m.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}UC(e,n,o)}function UC(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))gf(0,t,i,r),gf(1,t,i,r),mf(t,r,!1);else{let o=n.get(i);_f(0,t,o,r),_f(1,t,o,r),mf(t,r,!0)}}}function gf(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(r),wv(t,o)}}function _f(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),wv(t,s)}}function wv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mf(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||vh(e)){e.initialInputs??=[],e.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 d of u)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let d=0;d<u.length;d+=2)if(u[d]===t){s??=[],s.push(u[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function HC(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=kr(i.type,!0)),s=new No(o,Rn(i),Ot);e.blueprint[r]=s,n[r]=s,$C(e,t,r,Qm(e,n,i.hostVars,Xn),i)}function $C(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;zC(s)!=a&&s.push(a),s.push(n,r,o)}}function zC(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Rn(t)&&(n[""]=e)}}function GC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ev(e,t,n,r,i,o,s,a){let l=t.consts,u=dr(l,s),d=Lo(t,e,2,r,u);return o&&Rh(t,n,d,dr(l,a),i),d.mergedAttrs=_i(d.mergedAttrs,d.attrs),d.attrs!==null&&Ic(d,d.attrs,!1),d.mergedAttrs!==null&&Ic(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function xv(e,t){sh(e,t),Ku(t)&&e.queries.elementEnd(t)}var WC=class extends Mo{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Lr(e);return new Nh(t,this.ngModule)}};function ZC(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Oa.SignalBased)!==0};return i&&(o.transform=i),o})}function YC(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function KC(e,t,n){let r=t instanceof zn?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new UE(n,r):n}function JC(e){let t=e.get(En,null);if(t===null)throw new Ae(407,!1);let n=e.get(LC,null),r=e.get(Ci,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function XC(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ym(t,n,n==="svg"?z_:n==="math"?uE:null)}var Nh=class extends yv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return ZC(this.componentDef.inputs)}get outputs(){return YC(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=IS(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){ze(22);let i=Oe(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:TS(this.componentDef.selectors[0]),a=yh(0,null,null,1,0,null,null,null,null,[s],null),l=KC(o,r||this.ngModule,e),u=JC(l),d=u.rendererFactory.createRenderer(null,o),h=n?jS(d,n,o.encapsulation,l):XC(o,d),v=bh(null,a,null,512|Xm(o),null,null,u,d,l,null,Vm(h,l,!0));v[ct]=h,rh(v);let m=null;try{let w=Ev(ct,a,v,"#host",()=>[this.componentDef],!0,0);h&&(Jm(d,h,w),On(h,v)),Da(a,v,w),_h(a,w,v),xv(a,w),t!==void 0&&eI(w,this.ngContentSelectors,t),m=tn(w.index,v),v[ht]=m[ht],Ch(a,v,null)}catch(w){throw m!==null&&yc(m),yc(v),w}finally{ze(23),ih()}return new QC(this.componentType,v)}finally{Oe(i)}}},QC=class extends PC{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=Ju(t[ge],ct),this.location=Ti(this._tNode,t),this.instance=tn(this._tNode.index,t)[ht],this.hostView=this.changeDetectorRef=new fo(t,void 0,!1),this.componentType=e}setInput(e,t){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView,i=Sh(n,r[ge],r,e,t);this.previousInputValues.set(e,t);let o=tn(n.index,r);Dh(o,1)}get injector(){return new Ki(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function eI(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Di=(()=>{class e{static __NG_ELEMENT_ID__=tI}return e})();function tI(){let e=Gt();return Cv(e,xe())}var nI=Di,Sv=class extends nI{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Ti(this._hostTNode,this._hostLView)}get injector(){return new Ki(this._hostTNode,this._hostLView)}get parentInjector(){let e=ah(this._hostTNode,this._hostLView);if(lm(e)){let t=Fs(e,this._hostLView),n=js(e),r=t[ge].data[n+8];return new Ki(r,t)}else return new Ki(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=vf(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-Dt}createEmbeddedView(e,t,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=go(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(t||{},i,o);return this.insertImpl(s,r,uo(this._hostTNode,o)),s}createComponent(e,t,n,r,i){let o=e&&!iE(e),s;if(o)s=t;else{let m=t||{};s=m.index,n=m.injector,r=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let a=o?e:new Nh(Lr(e)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let m=(o?l:this.parentInjector).get(zn,null);m&&(i=m)}let u=Lr(a.componentType??{}),d=go(this._lContainer,u?.id??null),h=d?.firstChild??null,v=a.create(l,r,h,i);return this.insertImpl(v.hostView,s,uo(this._hostTNode,d)),v}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(dE(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let a=r[Rt],l=new Sv(a,a[wn],a[Rt]);l.detach(l.indexOf(e))}}let i=this._adjustIndex(t),o=this._lContainer;return Aa(o,r,i,n),e.attachToViewContainerRef(),S_(wl(o),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=vf(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);n&&(Rs(wl(this._lContainer),t),Na(n[ge],n))}detach(e){let t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);return n&&Rs(wl(this._lContainer),t)!=null?new fo(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function vf(e){return e[As]}function wl(e){return e[As]||(e[As]=[])}function Cv(e,t){let n,r=t[e.index];return Kn(r)?n=r:(n=gv(r,t,null,e),t[e.index]=n,wh(t,n)),iI(n,t,e,r),new Sv(n,e,t)}function rI(e,t){let n=e[wt],r=n.createComment(""),i=An(t,e),o=n.parentNode(i);return $s(n,o,r,n.nextSibling(i),!1),r}var iI=aI,oI=()=>!1;function sI(e,t,n){return oI(e,t,n)}function aI(e,t,n,r){if(e[jr])return;let i;n.type&8?i=qt(r):i=rI(t,n),e[jr]=i}var lI=class Iv{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Iv(this.queryList)}setDirty(){this.queryList.setDirty()}},cI=class Tv{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.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 Tv(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ph(t,n).matches!==null&&this.queries[n].setDirty()}},uI=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=bI(e):this.predicate=e}},hI=class Ov{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new Ov(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},dI=class Dv{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Dv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(t,n,fI(n,o)),this.matchTNodeWithReadOption(t,n,_s(n,t,o,!1,!1))}else r===po?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_s(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Vt||i===Di||i===po&&n.type&4)this.addMatch(n.index,-2);else{let o=_s(n,t,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function fI(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function pI(e,t){return e.type&11?Ti(e,t):e.type&4?La(e,t):null}function gI(e,t,n,r){return n===-1?pI(t,e):n===-2?_I(e,t,r):co(e,e[ge],n,t)}function _I(e,t,n){if(n===Vt)return Ti(t,e);if(n===po)return La(t,e);if(n===Di)return Cv(t,e)}function Rv(e,t,n,r){let i=t[Gn].queries[r];if(i.matches===null){let o=e.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 d=o[u];a.push(gI(t,d,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function Tc(e,t,n,r){let i=e.queries.getByIndex(n),o=i.matches;if(o!==null){let s=Rv(e,t,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],d=t[-l];for(let h=Dt;h<d.length;h++){let v=d[h];v[Mr]===v[Rt]&&Tc(v[ge],v,u,r)}if(d[gi]!==null){let h=d[gi];for(let v=0;v<h.length;v++){let m=h[v];Tc(m[ge],m,u,r)}}}}}return r}function mI(e,t){return e[Gn].queries[t].queryList}function vI(e,t,n){let r=new dx((n&4)===4);return gE(e,t,r,r.destroy),(t[Gn]??=new cI).queries.push(new lI(r))-1}function yI(e,t,n){let r=_t();return r.firstCreatePass&&(wI(r,new uI(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),vI(r,xe(),t)}function bI(e){return e.split(",").map(t=>t.trim())}function wI(e,t,n){e.queries===null&&(e.queries=new hI),e.queries.track(new dI(t,n))}function Ph(e,t){return e.queries.getByIndex(t)}function EI(e,t){let n=e[ge],r=Ph(n,t);return r.crossesNgTemplate?Tc(n,e,t,[]):Rv(n,e,r,t)}var _o=class{},Nv=class extends _o{injector;componentFactoryResolver=new WC(this);instance=null;constructor(e){super();let t=new Yu([...e.providers,{provide:_o,useValue:this},{provide:Mo,useValue:this.componentFactoryResolver}],e.parent||va(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function xI(e,t,n=null){return new Nv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var SI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=R_(!1,n.type),i=r.length>0?xI([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=_e({token:e,providedIn:"environment",factory:()=>new e(Fe(zn))})}return e})();function At(e){return $u(()=>{let t=Pv(e),n=Ye(F({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(SI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fn.Emulated,styles:e.styles||$n,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Wr("NgStandalone"),kv(n);let r=e.dependencies;return n.directiveDefs=yf(r,!1),n.pipeDefs=yf(r,!0),n.id=DI(n),n})}function CI(e){return Lr(e)||O_(e)}function II(e){return e!==null}function TI(e,t){if(e==null)return Ar;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[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=Oa.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function OI(e){if(e==null)return Ar;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ma(e){return $u(()=>{let t=Pv(e);return kv(t),t})}function kh(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Pv(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ar,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||$n,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:TI(e.inputs,t),outputs:OI(e.outputs),debugInfo:null}}function kv(e){e.features?.forEach(t=>t(e))}function yf(e,t){if(!e)return null;let n=t?D_:CI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(II)}function DI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function RI(e){return Object.getPrototypeOf(e.prototype).constructor}function Ri(e){let t=RI(e.type),n=!0,r=[e];for(;t;){let i;if(Rn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ae(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=El(e.inputs),s.declaredInputs=El(e.declaredInputs),s.outputs=El(e.outputs);let a=i.hostBindings;a&&LI(e,a);let l=i.viewQuery,u=i.contentQueries;if(l&&kI(e,l),u&&AI(e,u),NI(e,i),E1(e.outputs,i.outputs),Rn(i)&&i.data.animation){let d=e.data;d.animation=(d.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(e),a===Ri&&(n=!1)}}t=Object.getPrototypeOf(t)}PI(r)}function NI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function PI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=_i(i.hostAttrs,n=_i(n,i.hostAttrs))}}function El(e){return e===Ar?{}:e===$n?[]:e}function kI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function AI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function LI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function Av(e,t,n){return e[t]=n}function Wn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function MI(e,t,n,r){let i=Wn(e,t,n);return Wn(e,t+1,r)||i}function jI(e,t,n,r,i,o,s,a,l){let u=t.consts,d=Lo(t,e,4,s||null,a||null);eh()&&Rh(t,n,d,dr(u,l),xh),d.mergedAttrs=_i(d.mergedAttrs,d.attrs),sh(t,d);let h=d.tView=yh(2,d,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function Oc(e,t,n,r,i,o,s,a,l,u){let d=n+ct,h=t.firstCreatePass?jI(d,t,e,r,i,o,s,a,l):t.data[d];_r(h,!1);let v=FI(t,e,h,n);xa()&&Pa(t,e,v,h),On(v,e);let m=gv(v,e,v,h);return e[d]=m,wh(e,m),sI(m,h,e),ya(h)&&Da(t,e,h),l!=null&&Eh(e,h,u),h}function at(e,t,n,r,i,o,s,a){let l=xe(),u=_t(),d=dr(u.consts,o);return Oc(l,u,e,t,n,r,i,d,s,a),at}var FI=VI;function VI(e,t,n,r){return Sa(!0),t[wt].createComment("")}var BI=new Ce(""),UI=(()=>{class e{static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new HI})}return e})(),HI=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Lv(e){return!!e&&typeof e.then=="function"}function $I(e){return!!e&&typeof e.subscribe=="function"}var zI=new Ce(""),Mv=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(zI,{optional:!0})??[];injector=P(kt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=A_(this.injector,i);if(Lv(o))n.push(o);else if($I(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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qI=new Ce("");function GI(){dw(()=>{throw new Ae(600,!1)})}function WI(e){return e.isBoundToModule}var ZI=10,pr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(ax);afterRenderManager=P(Mm);zonelessEnabled=P(ch);rootEffectScheduler=P(UI);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ye;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(Ca).hasPendingTasks.pipe(ga(n=>!n));constructor(){P(Po,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(zn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){ze(10);let i=n instanceof yv;if(!this._injector.get(Mv).done){let h=!i&&q1(n),v=!1;throw new Ae(405,v)}let o;i?o=n:o=this._injector.get(Mo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=WI(o)?void 0:this._injector.get(_o),a=r||o.selector,l=o.create(kt.NULL,[],a,s),u=l.location.nativeElement,d=l.injector.get(BI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ms(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),ze(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ze(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(gh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Ae(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next(),ze(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(En,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ZI;)ze(14),this.synchronizeOnce(),ze(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)YI(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})=>wa(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;ms(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(qI,[]).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),()=>ms(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ae(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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ms(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function YI(e,t,n,r){!n&&!wa(e)||hv(e,t,n&&!r?0:1)}function ja(e,t,n,r){let i=xe(),o=Ro();if(Wn(i,o,t)){let s=_t(),a=oh();qS(a,i,e,t,n,r)}return ja}function jv(e,t,n,r){return Wn(e,Ro(),n)?t+Co(n)+r:Xn}function Ko(e,t){return e<<17|t<<2}function Br(e){return e>>17&32767}function KI(e){return(e&2)==2}function JI(e,t){return e&131071|t<<17}function Dc(e){return e|2}function mi(e){return(e&131068)>>2}function xl(e,t){return e&-131069|t<<2}function XI(e){return(e&1)===1}function Rc(e){return e|1}function QI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Br(s),l=mi(s);e[r]=n;let u=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||Io(h,d)>0)&&(u=!0)}else d=n;if(i)if(l!==0){let h=Br(e[a+1]);e[r+1]=Ko(h,a),h!==0&&(e[h+1]=xl(e[h+1],r)),e[a+1]=JI(e[a+1],r)}else e[r+1]=Ko(a,0),a!==0&&(e[a+1]=xl(e[a+1],r)),a=r;else e[r+1]=Ko(l,0),a===0?a=r:e[l+1]=xl(e[l+1],r),l=r;u&&(e[r+1]=Dc(e[r+1])),bf(e,d,r,!0),bf(e,d,r,!1),eT(t,d,e,r,o),s=Ko(a,l),o?t.classBindings=s:t.styleBindings=s}function eT(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Io(o,t)>=0&&(n[r+1]=Rc(n[r+1]))}function bf(e,t,n,r){let i=e[n+1],o=t===null,s=r?Br(i):mi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],u=e[s+1];tT(l,t)&&(a=!0,e[s+1]=r?Rc(u):Dc(u)),s=r?Br(u):mi(u)}a&&(e[n+1]=r?Dc(i):Rc(i))}function tT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Io(e,t)>=0:!1}function Le(e,t,n){let r=xe(),i=Ro();if(Wn(r,i,t)){let o=_t(),s=oh();nv(o,s,r,e,t,r[wt],n,!1)}return Le}function wf(e,t,n,r,i){Sh(t,e,n,i?"class":"style",r)}function Fa(e,t,n){return Fv(e,t,n,!1),Fa}function Va(e,t){return Fv(e,t,null,!0),Va}function Fv(e,t,n,r){let i=xe(),o=_t(),s=SE(2);if(o.firstUpdatePass&&rT(o,e,s,r),t!==Xn&&Wn(i,s,t)){let a=o.data[mr()];lT(o,a,i,i[wt],e,i[s+1]=cT(t,n),r,s)}}function nT(e,t){return t>=e.expandoStartIndex}function rT(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[mr()],s=nT(e,n);uT(o,r)&&t===null&&!s&&(t=!1),t=iT(i,o,t,r),QI(i,o,t,n,s,r)}}function iT(e,t,n,r){let i=OE(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Sl(null,e,t,n,r),n=mo(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Sl(i,e,t,n,r),o===null){let a=oT(e,t,r);a!==void 0&&Array.isArray(a)&&(a=Sl(null,e,t,a[1],r),a=mo(a,t.attrs,r),sT(e,t,r,a))}else o=aT(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function oT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(mi(r)!==0)return e[Br(r)]}function sT(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Br(i)]=r}function aT(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=mo(r,s,n)}return mo(r,t.attrs,n)}function Sl(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=mo(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function mo(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),$1(e,s,n?!0:t[++o]))}return e===void 0?null:e}function lT(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,u=l[a+1],d=XI(u)?Ef(l,t,n,i,mi(u),s):void 0;if(!qs(d)){qs(o)||KI(u)&&(o=Ef(l,null,n,i,a,s));let h=q_(mr(),n);uC(r,s,h,i,o)}}function Ef(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],u=Array.isArray(l),d=u?l[1]:l,h=d===null,v=n[i+1];v===Xn&&(v=h?$n:void 0);let m=h?fl(v,r):d===r?v:void 0;if(u&&!qs(m)&&(m=fl(l,r)),qs(m)&&(a=m,s))return a;let w=e[i+1];i=s?Br(w):mi(w)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=fl(l,r))}return a}function qs(e){return e!==void 0}function cT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=dn(sr(e)))),e}function uT(e,t){return(e.flags&(t?8:16))!==0}var hT=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),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(e,t){this.attach(t,this.detach(e))}};function Cl(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function dT(e,t,n){let r,i,o=0,s=e.length-1,a;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let u=e.at(o),d=t[o],h=Cl(o,u,o,d,n);if(h!==0){h<0&&e.updateValue(o,d),o++;continue}let v=e.at(s),m=t[l],w=Cl(s,v,l,m,n);if(w!==0){w<0&&e.updateValue(s,m),s--,l--;continue}let C=n(o,u),A=n(s,v),k=n(o,d);if(Object.is(k,A)){let $=n(l,m);Object.is($,C)?(e.swap(o,s),e.updateValue(s,m),l--,s--):e.move(s,o),e.updateValue(o,d),o++;continue}if(r??=new Cf,i??=Sf(e,o,s,n),Nc(e,r,o,k))e.updateValue(o,d),o++,s++;else if(i.has(k))r.set(C,e.detach(o)),s--;else{let $=e.create(o,t[o]);e.attach(o,$),o++,s++}}for(;o<=l;)xf(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let d=e.at(o),h=u.value,v=Cl(o,d,o,h,n);if(v!==0)v<0&&e.updateValue(o,h),o++,u=l.next();else{r??=new Cf,i??=Sf(e,o,s,n);let m=n(o,h);if(Nc(e,r,o,m))e.updateValue(o,h),o++,s++,u=l.next();else if(!i.has(m))e.attach(o,e.create(o,h)),o++,s++,u=l.next();else{let w=n(o,d);r.set(w,e.detach(o)),s--}}}for(;!u.done;)xf(e,r,n,e.length,u.value),u=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function Nc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function xf(e,t,n,r,i){if(Nc(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Sf(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var Cf=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}};function ot(e,t){Wr("NgControlFlow");let n=xe(),r=Ro(),i=n[r]!==Xn?n[r]:-1,o=i!==-1?Gs(n,ct+i):void 0,s=0;if(Wn(n,r,e)){let a=Oe(null);try{if(o!==void 0&&mv(o,s),e!==-1){let l=ct+e,u=Gs(n,l),d=Pc(n[ge],l),h=go(u,d.tView.ssrId),v=Ra(n,d,t,{dehydratedView:h});Aa(u,v,s,uo(d,h))}}finally{Oe(a)}}else if(o!==void 0){let a=_v(o,s);a!==void 0&&(a[ht]=t)}}var fT=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Dt}};function Ni(e,t){return t}var pT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Wt(e,t,n,r,i,o,s,a,l,u,d,h,v){Wr("NgControlFlow");let m=xe(),w=_t(),C=l!==void 0,A=xe(),k=a?s.bind(A[mn][ht]):s,$=new pT(C,k);A[ct+e]=$,Oc(m,w,e+1,t,n,r,i,dr(w.consts,o)),C&&Oc(m,w,e+2,l,u,d,h,dr(w.consts,v))}var gT=class extends hT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-Dt}at(e){return this.getLView(e)[ht].$implicit}attach(e,t){let n=t[so];this.needsIndexUpdate||=e!==this.length,Aa(this.lContainer,t,e,uo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,_T(this.lContainer,e)}create(e,t){let n=go(this.lContainer,this.templateTNode.tView.ssrId),r=Ra(this.hostLView,this.templateTNode,new fT(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Na(e[ge],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ht].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ht].$index=e}getLView(e){return mT(this.lContainer,e)}};function Zt(e){let t=Oe(null),n=mr();try{let r=xe(),i=r[ge],o=r[n],s=n+1,a=Gs(r,s);if(o.liveCollection===void 0){let u=Pc(i,s);o.liveCollection=new gT(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(dT(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=Ro(),d=l.length===0;if(Wn(r,u,d)){let h=n+2,v=Gs(r,h);if(d){let m=Pc(i,h),w=go(v,m.tView.ssrId),C=Ra(r,m,void 0,{dehydratedView:w});Aa(v,C,0,uo(m,w))}else mv(v,0)}}}finally{Oe(t)}}function Gs(e,t){return e[t]}function _T(e,t){return ho(e,t)}function mT(e,t){return _v(e,t)}function Pc(e,t){return Ju(e,t)}function X(e,t,n,r){let i=xe(),o=_t(),s=ct+e,a=i[wt],l=o.firstCreatePass?Ev(s,o,i,t,xh,eh(),n,r):o.data[s],u=vT(o,i,l,a,t,e);i[s]=u;let d=ya(l);return _r(l,!0),Jm(a,u,l),!iv(l)&&xa()&&Pa(o,i,u,l),(_E()===0||d)&&On(u,i),mE(),d&&(Da(o,i,l),_h(o,l,i)),r!==null&&Eh(i,l),X}function Q(){let e=Gt();th()?J_():(e=e.parent,_r(e,!1));let t=e;bE(t)&&wE(),vE();let n=_t();return n.firstCreatePass&&xv(n,t),t.classesWithoutHost!=null&&ME(t)&&wf(n,t,xe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&jE(t)&&wf(n,t,xe(),t.stylesWithoutHost,!1),Q}function He(e,t,n,r){return X(e,t,n,r),Q(),He}var vT=(e,t,n,r,i,o)=>(Sa(!0),Ym(r,i,PE()));function yT(e,t,n,r,i){let o=t.consts,s=dr(o,r),a=Lo(t,e,8,"ng-container",s);s!==null&&Ic(a,s,!0);let l=dr(o,i);return eh()&&Rh(t,n,a,l,xh),a.mergedAttrs=_i(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function Vv(e,t,n){let r=xe(),i=_t(),o=e+ct,s=i.firstCreatePass?yT(o,i,r,t,n):i.data[o];_r(s,!0);let a=bT(i,r,s,e);return r[o]=a,xa()&&Pa(i,r,a,s),On(a,r),ya(s)&&(Da(i,r,s),_h(i,s,r)),n!=null&&Eh(r,s),Vv}function Bv(){let e=Gt(),t=_t();return th()?J_():(e=e.parent,_r(e,!1)),t.firstCreatePass&&(sh(t,e),Ku(e)&&t.queries.elementEnd(e)),Bv}function Ah(e,t,n){return Vv(e,t,n),Bv(),Ah}var bT=(e,t,n,r)=>(Sa(!0),RS(t[wt],""));function Bt(){return xe()}var Ws="en-US",wT=Ws;function ET(e){typeof e=="string"&&(wT=e.toLowerCase().replace(/_/g,"-"))}var xT=(e,t,n)=>{};function lt(e,t,n,r){let i=xe(),o=_t(),s=Gt();return CT(o,i,i[wt],s,e,t,r),lt}function ST(e,t,n,r){let i=e.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=t[Ps],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function CT(e,t,n,r,i,o,s){let a=ya(r),l=e.firstCreatePass?Y_(e):null,u=t[ht],d=Z_(t),h=!0;if(r.type&3||s){let v=An(r,t),m=s?s(v):v,w=d.length,C=s?k=>s(qt(k[r.index])):r.index,A=null;if(!s&&a&&(A=ST(e,t,i,r.index)),A!==null){let k=A.__ngLastListenerFn__||A;k.__ngNextListenerFn__=o,A.__ngLastListenerFn__=o,h=!1}else{o=Of(r,t,u,o),xT(v,i,o);let k=n.listen(m,i,o);d.push(o,k),l&&l.push(i,C,w,w+1)}}else o=Of(r,t,u,o);if(h){let v=r.outputs?.[i],m=r.hostDirectiveOutputs?.[i];if(m&&m.length)for(let w=0;w<m.length;w+=2){let C=m[w],A=m[w+1];If(r,e,t,C,A,i,o,d,l)}if(v&&v.length)for(let w of v)If(r,e,t,w,i,i,o,d,l)}}function If(e,t,n,r,i,o,s,a,l){let u=n[r],d=t.data[r].outputs[i],h=u[d].subscribe(s),v=a.length;a.push(s,h),l&&l.push(o,e.index,v,-(v+1))}function Tf(e,t,n,r){let i=Oe(null);try{return ze(6,t,n),n(r)!==!1}catch(o){return rv(e,o),!1}finally{ze(7,t,n),Oe(i)}}function Of(e,t,n,r){return function i(o){if(o===Function)return r;let s=Si(e)?tn(e.index,t):t;Dh(s,5);let a=Tf(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Tf(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function le(e=1){return RE(e)}function Pi(e,t,n){return Uv(e,"",t,"",n),Pi}function Uv(e,t,n,r,i){let o=xe(),s=jv(o,t,n,r);if(s!==Xn){let a=_t(),l=oh();nv(a,l,o,e,s,o[wt],i,!1)}return Uv}function Zs(e,t,n){yI(e,t,n)}function Ys(e){let t=xe(),n=_t(),r=em();nh(r+1);let i=Ph(n,r);if(e.dirty&&hE(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let o=EI(t,r);e.reset(o,cx),e.notifyOnChanges()}return!0}return!1}function Ks(){return mI(xe(),em())}function Lh(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Un(e){let t=X_();return ba(t,ct+e)}function nt(e,t=""){let n=xe(),r=_t(),i=e+ct,o=r.firstCreatePass?Lo(r,i,1,t,null):r.data[i],s=IT(r,n,o,t,e);n[i]=s,xa()&&Pa(r,n,s,o),_r(o,!1)}var IT=(e,t,n,r,i)=>(Sa(!0),OS(t[wt],r));function Ba(e){return Nn("",e,""),Ba}function Nn(e,t,n){let r=xe(),i=jv(r,e,t,n);return i!==Xn&&TT(r,mr(),i),Nn}function TT(e,t,n){let r=q_(t,e);DS(e[wt],r,n)}var Hv={};function vr(e){let t=_t(),n=xe(),r=e+ct,i=Lo(t,r,128,null,null);return _r(i,!1),Lh(t,n,r,Hv),vr}function vo(e){Wr("NgLet");let t=_t(),n=xe(),r=mr();return Lh(t,n,r,e),e}function Dn(e){let t=X_(),n=ba(t,ct+e);if(n===Hv)throw new Ae(314,!1);return n}function OT(e,t,n){let r=_t();if(r.firstCreatePass){let i=Rn(e);kc(n,r.data,r.blueprint,i,!0),kc(t,r.data,r.blueprint,i,!1)}}function kc(e,t,n,r,i){if(e=Pt(e),Array.isArray(e))for(let o=0;o<e.length;o++)kc(e[o],t,n,r,i);else{let o=_t(),s=xe(),a=Gt(),l=pi(e)?e:Pt(e.provide),u=k_(e),d=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(pi(e)||!e.multi){let m=new No(u,i,Ot),w=Tl(l,t,i?d:d+v,h);w===-1?(gc(Bs(a,s),o,l),Il(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[w]=m,s[w]=m)}else{let m=Tl(l,t,d+v,h),w=Tl(l,t,d,d+v),C=m>=0&&n[m],A=w>=0&&n[w];if(i&&!A||!i&&!C){gc(Bs(a,s),o,l);let k=NT(i?RT:DT,n.length,i,r,u);!i&&A&&(n[w].providerFactory=k),Il(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(k),s.push(k)}else{let k=$v(n[i?w:m],u,!i&&r);Il(o,e,m>-1?m:w,k)}!i&&r&&A&&n[w].componentProviders++}}}function Il(e,t,n,r){let i=pi(t),o=J1(t);if(i||o){let s=(o?Pt(t.useClass):t).prototype.ngOnDestroy;if(s){let a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.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 $v(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Tl(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function DT(e,t,n,r){return Ac(this.multi,[])}function RT(e,t,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=co(n,n[ge],this.providerFactory.index,r);o=a.slice(0,s),Ac(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Ac(i,o);return o}function Ac(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function NT(e,t,n,r,i){let o=new No(e,n,Ot);return o.multi=[],o.index=t,o.componentProviders=0,$v(o,i,r&&!n),o}function PT(e,t=[]){return n=>{n.providersResolver=(r,i)=>OT(r,i?i(e):e,t)}}function zv(e,t,n,r){return Gv(xe(),Ea(),e,t,n,r)}function kT(e,t,n,r,i){return Wv(xe(),Ea(),e,t,n,r,i)}function qv(e,t){let n=e[t];return n===Xn?void 0:n}function Gv(e,t,n,r,i,o){let s=t+n;return Wn(e,s,i)?Av(e,s+1,o?r.call(o,i):r(i)):qv(e,s+1)}function Wv(e,t,n,r,i,o,s){let a=t+n;return MI(e,a,i,o)?Av(e,a+2,s?r.call(s,i,o):r(i,o)):qv(e,a+2)}function vn(e,t){let n=_t(),r,i=e+ct;n.firstCreatePass?(r=AT(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=kr(r.type,!0)),s,a=Mt(Ot);try{let l=Vs(!1),u=o();return Vs(l),Lh(n,xe(),i,u),u}finally{Mt(a)}}function AT(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Pn(e,t,n){let r=e+ct,i=xe(),o=ba(i,r);return Zv(i,r)?Gv(i,Ea(),t,o.transform,n,o):o.transform(n)}function LT(e,t,n,r){let i=e+ct,o=xe(),s=ba(o,i);return Zv(o,i)?Wv(o,Ea(),t,s.transform,n,r,s):s.transform(n,r)}function Zv(e,t){return e[ge].data[t].pure}function MT(e,t){return La(e,t)}var jT=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Df=new jT("19.2.0"),FT=(()=>{class e{zone=P(Ze);changeDetectionScheduler=P(Ci);applicationRef=P(pr);_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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VT({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Ze(Ye(F({},BT()),{scheduleInRootZone:n})),[{provide:Ze,useFactory:e},{provide:Ns,multi:!0,useFactory:()=>{let r=P(FT,{optional:!0});return()=>r.initialize()}},{provide:Ns,multi:!0,useFactory:()=>{let r=P(UT);return()=>{r.initialize()}}},t===!0?{provide:bm,useValue:!0}:[],{provide:uh,useValue:n??ym}]}function BT(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UT=(()=>{class e{subscription=new yt;initialized=!1;zone=P(Ze);pendingTasks=P(Ca);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ze.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yv=(()=>{class e{appRef=P(pr);taskService=P(Ca);ngZone=P(Ze);zonelessEnabled=P(ch);tracing=P(Po,{optional:!0});disableScheduling=P(bm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new yt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(uh,{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 Em||!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?ef:wm;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(Hs+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,ef(()=>{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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HT(){return Wr("NgZoneless"),G1([{provide:Ci,useExisting:Yv},{provide:Ze,useClass:Em},{provide:ch,useValue:!0},{provide:uh,useValue:!1},[]])}function $T(){return typeof $localize<"u"&&$localize.locale||Ws}var Kv=new Ce("",{providedIn:"root",factory:()=>P(Kv,De.Optional|De.SkipSelf)||$T()}),Lc=new Ce(""),zT=new Ce("");function Fi(e){return!e.moduleRef}function qT(e){let t=Fi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ze);return n.run(()=>{Fi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ii,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Fi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Lc);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Lc);s.add(o),e.moduleRef.onDestroy(()=>{ms(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return WT(r,n,()=>{let o=t.get(Mv);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Kv,Ws);if(ET(s||Ws),!t.get(zT,!0))return Fi(e)?t.get(pr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Fi(e)){let a=t.get(pr);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return GT(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function GT(e,t){let n=e.injector.get(pr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Ae(-403,!1);t.push(e)}function WT(e,t,n){try{let r=n();return Lv(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var vs=null;function ZT(e=[],t){return kt.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:Lc,useValue:new Set([()=>vs=null])},...e]})}function YT(e=[]){if(vs)return vs;let t=ZT(e);return vs=t,GI(),KT(t),t}function KT(e){let t=e.get(Pm,null);A_(e,()=>{t?.forEach(n=>n())})}var Ua=(()=>{class e{static __NG_ELEMENT_ID__=JT}return e})();function JT(e){return XT(Gt(),xe(),(e&16)===16)}function XT(e,t,n){if(Si(e)&&!n){let r=tn(e.index,t);return new fo(r,r)}else if(e.type&175){let r=t[mn];return new fo(r,t)}return null}function QT(e){ze(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=YT(r),o=[VT({}),{provide:Ci,useExisting:Yv},...n||[]],s=new Nv({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return qT({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{ze(9)}}function eO(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tO(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function nO(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var RM=class{[lr];constructor(e){this[lr]=e}destroy(){this[lr].destroy()}};function Jv(e,t){let n=Lr(e),r=t.elementInjector||va();return new Nh(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var rO={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function iO(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function oO(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ol;function sO(e,t){if(!Ol){let n=Element.prototype;Ol=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ol.call(e,t):!1}function aO(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[iO(r)]=[n,i]}),t}function lO(e,t){return t.get(Mo).resolveComponentFactory(e).inputs}function cO(e,t){let n=e.childNodes,r=t.map(()=>[]),i=-1;t.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],l=uO(a,t,i);l!==-1&&r[l].push(a)}return r}function uO(e,t,n){let r=n;return oO(e)&&t.some((i,o)=>i!=="*"&&sO(e,i)?(r=o,!0):!1),r}var hO=10,dO=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Mo).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new fO(this.componentFactory,e,this.inputMap)}},fO=class{componentFactory;injector;inputMap;eventEmitters=new Pw(1);events=this.eventEmitters.pipe(p_(e=>_a(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,n){this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ze),this.appRef=this.injector.get(pr),this.cdScheduler=t.get(Ci),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=rO.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},hO))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(e){let t=kt.create({providers:[],parent:this.injector}),n=cO(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=e.instance[n];return new bt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},pO=class extends HTMLElement{ngElementEventsSubscription=null};function gO(e,t){let n=lO(e,t.injector),r=t.strategyFactory||new dO(e,t.injector),i=aO(n);class o extends pO{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,d){let[h,v]=i[a];this.ngElementStrategy.setInputValue(h,u,v)}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 Xv=null;function Ji(){return Xv}function _O(e){Xv??=e}var mO=class{},et=new Ce(""),Qv=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:()=>P(vO),providedIn:"platform"})}return e})(),vO=(()=>{class e extends Qv{_location;_history;_doc=P(et);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ji().getBaseHref(this._doc)}onPopState(n){let r=Ji().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ji().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||e)};static \u0275prov=_e({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ey(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Rf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Dr(e){return e&&e[0]!=="?"?`?${e}`:e}var Mh=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:()=>P(bO),providedIn:"root"})}return e})(),yO=new Ce(""),bO=(()=>{class e extends Mh{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(et).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 ey(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Dr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Dr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Dr(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||e)(Fe(Qv),Fe(yO,8))};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ty=(()=>{class e{_subject=new ye;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=xO(Rf(Nf(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+Dr(r))}normalize(n){return e.stripTrailingSlash(EO(this._basePath,Nf(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+Dr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dr(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=Dr;static joinWithSlash=ey;static stripTrailingSlash=Rf;static \u0275fac=function(n){return new(n||e)(Fe(Mh))};static \u0275prov=_e({token:e,factory:()=>wO(),providedIn:"root"})}return e})();function wO(){return new ty(Fe(Mh))}function EO(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Nf(e){return e.replace(/\/index.html$/,"")}function xO(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function SO(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var Dl=/\s+/,Pf=[],Ha=(()=>{class e{_ngEl;_renderer;initialClasses=Pf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Dl):Pf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Dl):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(Dl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||e)(Ot(Vt),Ot(bv))};static \u0275dir=Ma({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),CO=(()=>{class e{_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||e)(Ot(Di))};static \u0275dir=Ma({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[B_]})}return e})(),ny="browser",IO="server";function TO(e){return e===ny}function ry(e){return e===IO}var OO=class{},DO=class extends mO{supportsDOMEvents=!0},RO=class iy extends DO{static makeCurrent(){_O(new iy)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=NO();return n==null?null:PO(n)}resetBaseElement(){Gi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return SO(document.cookie,t)}},Gi=null;function NO(){return Gi=Gi||document.querySelector("base"),Gi?Gi.getAttribute("href"):null}function PO(e){return new URL(e,document.baseURI).pathname}var kO=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Mc=new Ce(""),oy=(()=>{class e{_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 Ae(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(Fe(Mc),Fe(Ze))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),sy=class{_doc;constructor(e){this._doc=e}manager},ys="ng-app-id";function kf(e){for(let t of e)t.remove()}function Af(e,t){let n=t.createElement("style");return n.textContent=e,n}function AO(e,t,n,r){let i=e.head?.querySelectorAll(`style[${ys}="${t}"],link[${ys}="${t}"]`);if(i)for(let o of i)o.removeAttribute(ys),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 jc(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ay=(()=>{class e{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=ry(o),AO(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Af);r?.forEach(i=>this.addUsage(i,this.external,jc))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(kf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])kf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Af(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,jc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ys,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(Fe(et),Fe(ph),Fe(km,8),Fe(Ia))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Rl={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"},jh=/%COMP%/g,ly="%COMP%",LO=`_nghost-${ly}`,MO=`_ngcontent-${ly}`,jO=!0,FO=new Ce("",{providedIn:"root",factory:()=>jO});function VO(e){return MO.replace(jh,e)}function BO(e){return LO.replace(jh,e)}function cy(e,t){return t.map(n=>n.replace(jh,e))}var Lf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,d=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=d,this.platformIsServer=ry(a),this.defaultRenderer=new Fh(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Fn.ShadowDom&&(r=Ye(F({},r),{encapsulation:Fn.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof jf?i.applyToHost(n):i instanceof Fc&&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,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,v=this.tracingService;switch(r.encapsulation){case Fn.Emulated:o=new jf(l,u,r,this.appId,d,s,a,h,v);break;case Fn.ShadowDom:return new UO(l,u,n,r,s,a,this.nonce,h,v);default:o=new Fc(l,u,r,d,s,a,h,v);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||e)(Fe(oy),Fe(ay),Fe(ph),Fe(FO),Fe(et),Fe(Ia),Fe(Ze),Fe(km),Fe(Po,8))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Fh=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(Rl[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Mf(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(Mf(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Ae(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;let i=Rl[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=Rl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(Or.DashCase|Or.Important)?e.style.setProperty(t,n,r&Or.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Or.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e=="string"&&(e=Ji().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Mf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var UO=class extends Fh{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,a,l),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=cy(r.id,u);for(let h of u){let v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=h,this.shadowRoot.appendChild(v)}let d=r.getExternalStyles?.();if(d)for(let h of d){let v=jc(h,i);s&&v.setAttribute("nonce",s),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Fc=class extends Fh{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?cy(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 Fc{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(e,t,n,i,o,s,a,l,u),this.contentAttr=VO(u),this.hostAttr=BO(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}},HO=(()=>{class e extends sy{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||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Ff=["alt","control","meta","shift"],$O={"\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"},zO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},qO=(()=>{class e extends sy{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ji().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=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Ff.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,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=$O[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"),Ff.forEach(s=>{if(s!==i){let a=zO[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})();function GO(e){return QT(WO(e))}function WO(e){return{appProviders:[...XO,...e?.providers??[]],platformProviders:JO}}function ZO(){RO.makeCurrent()}function YO(){return new Ii}function KO(){return xx(document),document}var JO=[{provide:Ia,useValue:ny},{provide:Pm,useValue:ZO,multi:!0},{provide:et,useFactory:KO,deps:[]}],XO=[{provide:Zu,useValue:"root"},{provide:Ii,useFactory:YO,deps:[]},{provide:Mc,useClass:HO,multi:!0,deps:[et]},{provide:Mc,useClass:qO,multi:!0,deps:[et]},Lf,ay,oy,{provide:En,useExisting:Lf},{provide:OO,useClass:kO,deps:[]},[]],uy=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=Fe(QO),r},providedIn:"root"})}return e})(),QO=(()=>{class e extends uy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case jn.NONE:return r;case jn.HTML:return Cr(r,"HTML")?sr(r):Gm(this._doc,String(r)).toString();case jn.STYLE:return Cr(r,"Style")?sr(r):r;case jn.SCRIPT:if(Cr(r,"Script"))return sr(r);throw new Ae(5200,!1);case jn.URL:return Cr(r,"URL")?sr(r):mh(String(r));case jn.RESOURCE_URL:if(Cr(r,"ResourceURL"))return sr(r);throw new Ae(5201,!1);default:throw new Ae(5202,!1)}}bypassSecurityTrustHtml(n){return $x(n)}bypassSecurityTrustStyle(n){return zx(n)}bypassSecurityTrustScript(n){return qx(n)}bypassSecurityTrustUrl(n){return Gx(n)}bypassSecurityTrustResourceUrl(n){return Wx(n)}static \u0275fac=function(n){return new(n||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eD="9.10.11",xt=class Vc{static SDK_VERSION=eD;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 t=Vc.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");Vc.SDK_VERSION_CODE=parseInt(t,10)}},yo={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${xt.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${xt.SDK_VERSION}/dist/widget.min.js`},Qt=yn(Kb()),cn=class{static log(...e){Qt.default.info(...e)}static debug(...e){Qt.default.debug(...e)}static error(...e){Qt.default.error(...e)}static warn(...e){Qt.default.warn(...e)}static info(...e){Qt.default.info(...e)}static trace(...e){Qt.default.trace(...e)}};function tD(e=xt.LOG_PREFIX){Qt.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${xt.SDK_VERSION}):`)}});let t=nD();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Qt.default.setLevel(Qt.default[localStorage.cooeeLogLevel]):Qt.default.setLevel(yo.debug?Qt.default.TRACE:Qt.default.OFF)}function nD(){return new URL(location.href).searchParams?.get("cooee-debug")}var Jo=yn(Ng()),rD={providers:[HT()]},Nl=yn(So()),NM=yn(Jb()),hy=class{gaEnabled;gaMeasurementID;pixelPush;website;currencyCount;money;storefrontToken;skipItemAttribute;currency;static get(){return window.CooeeSDK.config}update(e){return e??={},this.gaEnabled=e.gaEnabled,this.gaMeasurementID=e.gaMeasurementID,this.pixelPush=e.pixelPush,this.website=e.website??{},this.currencyCount=e.currencyCount??0,this.money=e.money,this.currency=e.currency,this.storefrontToken=e.storefrontToken,this.skipItemAttribute=e.skipItemAttribute,this}},dy=Object.prototype.toString;function Vh(e){switch(dy.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ur(e,Error)}}function ki(e,t){return dy.call(e)===`[object ${t}]`}function fy(e){return ki(e,"ErrorEvent")}function Vf(e){return ki(e,"DOMError")}function iD(e){return ki(e,"DOMException")}function Hn(e){return ki(e,"String")}function Bh(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Uh(e){return e===null||Bh(e)||typeof e!="object"&&typeof e!="function"}function vi(e){return ki(e,"Object")}function $a(e){return typeof Event<"u"&&Ur(e,Event)}function oD(e){return typeof Element<"u"&&Ur(e,Element)}function sD(e){return ki(e,"RegExp")}function za(e){return!!(e&&e.then&&typeof e.then=="function")}function aD(e){return vi(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Ur(e,t){try{return e instanceof t}catch{return!1}}function py(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function hi(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Bf(e,t){if(!Array.isArray(e))return"";let n=[];for(let r=0;r<e.length;r++){let i=e[r];try{py(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function lD(e,t,n=!1){return Hn(e)?sD(t)?t.test(e):Hn(t)?n?e===t:e.includes(t):!1:!1}function qa(e,t=[],n=!1){return t.some(r=>lD(e,r,n))}function cD(e,t,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!Ur(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=uD(Bc(e,t,i,s.originalException,r,o.exception.values,a,0),n))}function Bc(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let l=[...o];if(Ur(r[i],Error)){Uf(s,a);let u=e(t,r[i]),d=l.length;Hf(u,i,d,a),l=Bc(e,t,n,r[i],i,[u,...l],u,d)}return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(Ur(u,Error)){Uf(s,a);let h=e(t,u),v=l.length;Hf(h,`errors[${d}]`,v,a),l=Bc(e,t,n,u,i,[h,...l],h,v)}}),l}function Uf(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ye(F(F({},e.mechanism),e.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:t})}function Hf(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ye(F({},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}function uD(e,t){return e.map(n=>(n.value&&(n.value=hi(n.value,t)),n))}var Rr="8.18.0",Be=globalThis;function Hh(e,t,n){let r=n||Be,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Rr]=i[Rr]||{};return o[e]||(o[e]=t())}var $h=Be,hD=80;function gy(e,t={}){if(!e)return"<unknown>";try{let n=e,r=5,i=[],o=0,s=0,a=" > ",l=a.length,u,d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||hD;for(;n&&o++<r&&(u=dD(n,d),!(u==="html"||o>1&&s+i.length*l+u.length>=h));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function dD(e,t){let n=e,r=[];if(!n||!n.tagName)return"";if($h.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=t&&t.length?t.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&&Hn(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 fD(){try{return $h.document.location.href}catch{return""}}function pD(e){if(!$h.HTMLElement)return null;let t=e,n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}var jo=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,gD="Sentry Logger ",Uc=["debug","info","warn","error","log","assert","trace"],Js={};function zh(e){if(!("console"in Be))return e();let t=Be.console,n={},r=Object.keys(Js);r.forEach(i=>{let o=Js[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function _D(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return jo?Uc.forEach(n=>{t[n]=(...r)=>{e&&zh(()=>{Be.console[n](`${gD}[${n}]:`,...r)})}}):Uc.forEach(n=>{t[n]=()=>{}}),t}var we=_D(),mD=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function vD(e){return e==="http"||e==="https"}function Ga(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function yD(e){let t=mD.exec(e);if(!t){zh(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",o="",s="",a=""]=t.slice(1),l="",u=a,d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){let h=u.match(/^\d+/);h&&(u=h[0])}return _y({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function _y(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function bD(e){if(!jo)return!0;let{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(we.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?vD(r)?t&&isNaN(parseInt(t,10))?(we.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(we.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(we.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function wD(e){let t=typeof e=="string"?yD(e):_y(e);if(!(!t||!bD(t)))return t}var Cn=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function Ct(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);typeof i=="function"&&my(i,r),e[t]=i}function Hr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{jo&&we.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function my(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,Hr(e,"__sentry_original__",t)}catch{}}function qh(e){return e.__sentry_original__}function ED(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function vy(e){if(Vh(e))return F({message:e.message,name:e.name,stack:e.stack},zf(e));if($a(e)){let t=F({type:e.type,target:$f(e.target),currentTarget:$f(e.currentTarget)},zf(e));return typeof CustomEvent<"u"&&Ur(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function $f(e){try{return oD(e)?gy(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function zf(e){if(typeof e=="object"&&e!==null){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function xD(e,t=40){let n=Object.keys(vy(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return hi(r,t);for(let i=n.length;i>0;i--){let o=n.slice(0,i).join(", ");if(!(o.length>t))return i===n.length?o:hi(o,t)}return""}function un(e){return Hc(e,new Map)}function Hc(e,t){if(SD(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let i of Object.keys(e))typeof e[i]<"u"&&(r[i]=Hc(e[i],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];return t.set(e,r),e.forEach(i=>{r.push(Hc(i,t))}),r}return e}function SD(e){if(!vi(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var $r="?",qf=/\(error: (.*)\)/,Gf=/captureMessage|captureException/;function CD(...e){let t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{let o=[],s=n.split(`
|
|
16
|
+
`)}`}function kr(e,t){return e.hasOwnProperty(Os)?e[Os]:null}function B1(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function U1(e){return e.flat(Number.POSITIVE_INFINITY)}function Gu(e,t){e.forEach(n=>Array.isArray(n)?Gu(n,t):t(n))}function S_(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function H1(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function $1(e,t,n){let r=Io(e,t);return r>=0?e[r|1]=n:(r=~r,H1(e,r,t,n)),r}function fl(e,t){let n=Io(e,t);if(n>=0)return e[n|1]}function Io(e,t){return z1(e,t,1)}function z1(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var Ar={},$n=[],Ns=new Ce(""),C_=new Ce("",-1),I_=new Ce(""),T_=class{get(e,t=oo){if(t===oo){let n=new Error(`NullInjectorError: No provider for ${dn(e)}!`);throw n.name="NullInjectorError",n}return t}};function Lr(e){return e[I1]||null}function O_(e){return e[T1]||null}function D_(e){return e[w_]||null}function q1(e){let t=Lr(e)||O_(e)||D_(e);return t!==null&&t.standalone}function G1(e){return{\u0275providers:e}}function W1(...e){return{\u0275providers:R_(!0,e),\u0275fromNgModule:!0}}function R_(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return Gu(t,s=>{let a=s;lc(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&N_(i,o),n}function N_(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function lc(e,t,n,r){if(e=Pt(e),!e)return!1;let i=null,o=$d(e),s=!o&&Lr(e);if(!o&&!s){let l=e.ngModule;if(o=$d(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=e}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)lc(u,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{Gu(o.imports,d=>{lc(d,t,n,r)&&(u||=[],u.push(d))})}finally{}u!==void 0&&N_(u,t)}if(!a){let u=kr(i)||(()=>new i);t({provide:i,useFactory:u,deps:$n},i),t({provide:I_,useValue:i,multi:!0},i),t({provide:Ns,useValue:()=>Fe(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=e;Wu(l,d=>{t(d,u)})}}else return!1;return i!==e&&e.providers!==void 0}function Wu(e,t){for(let n of e)b_(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}var Z1=Xe({provide:String,useValue:Xe});function P_(e){return e!==null&&typeof e=="object"&&Z1 in e}function Y1(e){return!!(e&&e.useExisting)}function K1(e){return!!(e&&e.useFactory)}function pi(e){return typeof e=="function"}function J1(e){return!!e.useClass}var Zu=new Ce(""),fs={},X1={},pl;function va(){return pl===void 0&&(pl=new T_),pl}var zn=class{},Yu=class extends zn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,uc(e,o=>this.processProvider(o)),this.records.set(C_,ti(void 0,this)),r.has("environment")&&this.records.set(zn,ti(void 0,this));let i=this.records.get(Zu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(I_,$n,De.Self))}destroy(){zi(this),this._destroyed=!0;let e=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(e)}}onDestroy(e){return zi(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){zi(this);let t=nr(this),n=Mt(void 0),r;try{return e()}finally{nr(t),Mt(n)}}get(e,t=oo,n=De.Default){if(zi(this),e.hasOwnProperty(qd))return e[qd](this);n=ma(n);let r,i=nr(this),o=Mt(void 0);try{if(!(n&De.SkipSelf)){let a=this.records.get(e);if(a===void 0){let l=rE(e)&&zu(e);l&&this.injectableDefInScope(l)?a=ti(cc(e),fs):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&De.Self?va():this.parent;return t=n&De.Optional&&t===oo?null:t,s.get(e,t)}catch(s){if(s.name==="NullInjectorError"){if((s[Ds]=s[Ds]||[]).unshift(dn(e)),i)throw s;return F1(s,e,"R3InjectorError",this.source)}else throw s}finally{Mt(o),nr(i)}}resolveInjectorInitializers(){let e=Oe(null),t=nr(this),n=Mt(void 0),r;try{let i=this.get(Ns,$n,De.Self);for(let o of i)o()}finally{nr(t),Mt(n),Oe(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(dn(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=Pt(e);let t=pi(e)?e:Pt(e&&e.provide),n=eE(e);if(!pi(e)&&e.multi===!0){let r=this.records.get(t);r||(r=ti(void 0,fs,!0),r.factory=()=>ac(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t){let n=Oe(null);try{return t.value===fs&&(t.value=X1,t.value=t.factory()),typeof t.value=="object"&&t.value&&nE(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Oe(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=Pt(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function cc(e){let t=zu(e),n=t!==null?t.factory:kr(e);if(n!==null)return n;if(e instanceof Ce)throw new Ae(204,!1);if(e instanceof Function)return Q1(e);throw new Ae(204,!1)}function Q1(e){if(e.length>0)throw new Ae(204,!1);let t=S1(e);return t!==null?()=>t.factory(e):()=>new e}function eE(e){if(P_(e))return ti(void 0,e.useValue);{let t=k_(e);return ti(t,fs)}}function k_(e,t,n){let r;if(pi(e)){let i=Pt(e);return kr(i)||cc(i)}else if(P_(e))r=()=>Pt(e.useValue);else if(K1(e))r=()=>e.useFactory(...ac(e.deps||[]));else if(Y1(e))r=()=>Fe(Pt(e.useExisting));else{let i=Pt(e&&(e.useClass||e.provide));if(tE(e))r=()=>new i(...ac(e.deps));else return kr(i)||cc(i)}return r}function zi(e){if(e.destroyed)throw new Ae(205,!1)}function ti(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tE(e){return!!e.deps}function nE(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function rE(e){return typeof e=="function"||typeof e=="object"&&e instanceof Ce}function uc(e,t){for(let n of e)Array.isArray(n)?uc(n,t):n&&b_(n)?uc(n.\u0275providers,t):t(n)}function A_(e,t){e instanceof Yu&&zi(e);let n,r=nr(e),i=Mt(void 0);try{return t()}finally{nr(r),Mt(i)}}function L_(){return E_()!==void 0||L1()!=null}function M_(e){if(!L_())throw new Ae(-203,!1)}function iE(e){return typeof e=="function"}var Yn=0,ge=1,ve=2,Rt=3,fn=4,wn=5,so=6,Ps=7,ht=8,ao=9,qn=10,wt=11,lo=12,Wd=13,xi=14,mn=15,Mr=16,ni=17,Gn=18,To=19,j_=20,ur=21,gl=22,ks=23,$t=24,ci=25,ct=26,F_=1,jr=7,As=8,gi=9,Dt=10;function Vn(e){return Array.isArray(e)&&typeof e[F_]=="object"}function Kn(e){return Array.isArray(e)&&e[F_]===!0}function Ku(e){return(e.flags&4)!==0}function Si(e){return e.componentOffset>-1}function ya(e){return(e.flags&1)===1}function Rn(e){return!!e.template}function Ls(e){return(e[ve]&512)!==0}function Oo(e){return(e[ve]&256)===256}var oE=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function V_(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var B_=(()=>{let e=()=>U_;return e.ngInherit=!0,e})();function U_(e){return e.type.prototype.ngOnChanges&&(e.setInput=aE),sE}function sE(){let e=$_(this),t=e?.current;if(t){let n=e.previous;if(n===Ar)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function aE(e,t,n,r,i){let o=this.declaredInputs[r],s=$_(e)||lE(e,{previous:Ar,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new oE(u&&u.currentValue,n,l===Ar),V_(e,t,i,n)}var H_="__ngSimpleChanges__";function $_(e){return e[H_]||null}function lE(e,t){return e[H_]=t}var cE=null,ze=function(e,t=null,n){cE?.(e,t,n)},z_="svg",uE="math";function qt(e){for(;Array.isArray(e);)e=e[Yn];return e}function q_(e,t){return qt(t[e])}function An(e,t){return qt(t[e.index])}function Ju(e,t){return e.data[t]}function ba(e,t){return e[t]}function tn(e,t){let n=t[e];return Vn(n)?n:n[Yn]}function hE(e){return(e[ve]&4)===4}function Xu(e){return(e[ve]&128)===128}function dE(e){return Kn(e[Rt])}function dr(e,t){return t==null?null:e[t]}function G_(e){e[ni]=0}function Qu(e){e[ve]&1024||(e[ve]|=1024,Xu(e)&&Do(e))}function fE(e,t){for(;e>0;)t=t[xi],e--;return t}function wa(e){return!!(e[ve]&9216||e[$t]?.dirty)}function hc(e){e[qn].changeDetectionScheduler?.notify(8),e[ve]&64&&(e[ve]|=1024),wa(e)&&Do(e)}function Do(e){e[qn].changeDetectionScheduler?.notify(0);let t=Fr(e);for(;t!==null&&!(t[ve]&8192||(t[ve]|=8192,!Xu(t)));)t=Fr(t)}function W_(e,t){if(Oo(e))throw new Ae(911,!1);e[ur]===null&&(e[ur]=[]),e[ur].push(t)}function pE(e,t){if(e[ur]===null)return;let n=e[ur].indexOf(t);n!==-1&&e[ur].splice(n,1)}function Fr(e){let t=e[Rt];return Kn(t)?t[Rt]:t}function Z_(e){return e[Ps]??=[]}function Y_(e){return e.cleanup??=[]}function gE(e,t,n,r){let i=Z_(t);i.push(n),e.firstCreatePass&&Y_(e).push(r,i.length-1)}var be={lFrame:rm(null),bindingsEnabled:!0,skipHydrationRootTNode:null},dc=!1;function _E(){return be.lFrame.elementDepthCount}function mE(){be.lFrame.elementDepthCount++}function vE(){be.lFrame.elementDepthCount--}function eh(){return be.bindingsEnabled}function yE(){return be.skipHydrationRootTNode!==null}function bE(e){return be.skipHydrationRootTNode===e}function wE(){be.skipHydrationRootTNode=null}function xe(){return be.lFrame.lView}function _t(){return be.lFrame.tView}function dt(e){return be.lFrame.contextLView=e,e[ht]}function ft(e){return be.lFrame.contextLView=null,e}function Gt(){let e=K_();for(;e!==null&&e.type===64;)e=e.parent;return e}function K_(){return be.lFrame.currentTNode}function EE(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _r(e,t){let n=be.lFrame;n.currentTNode=e,n.isParent=t}function th(){return be.lFrame.isParent}function J_(){be.lFrame.isParent=!1}function X_(){return be.lFrame.contextLView}function Q_(){return dc}function Zd(e){let t=dc;return dc=e,t}function Ea(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xE(e){return be.lFrame.bindingIndex=e}function Ro(){return be.lFrame.bindingIndex++}function SE(e){let t=be.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function CE(){return be.lFrame.inI18n}function IE(e,t){let n=be.lFrame;n.bindingIndex=n.bindingRootIndex=e,fc(t)}function TE(){return be.lFrame.currentDirectiveIndex}function fc(e){be.lFrame.currentDirectiveIndex=e}function OE(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function em(){return be.lFrame.currentQueryIndex}function nh(e){be.lFrame.currentQueryIndex=e}function DE(e){let t=e[ge];return t.type===2?t.declTNode:t.type===1?e[wn]:null}function tm(e,t,n){if(n&De.SkipSelf){let i=t,o=e;for(;(i=i.parent,i===null&&!(n&De.Host))&&(i=DE(o),!(i===null||(o=o[xi],i.type&10))););if(i===null)return!1;t=i,e=o}let r=be.lFrame=nm();return r.currentTNode=t,r.lView=e,!0}function rh(e){let t=nm(),n=e[ge];be.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nm(){let e=be.lFrame,t=e===null?null:e.child;return t===null?rm(e):t}function rm(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function im(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var om=im;function ih(){let e=im();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function RE(e){return(be.lFrame.contextLView=fE(e,be.lFrame.contextLView))[ht]}function mr(){return be.lFrame.selectedIndex}function Vr(e){be.lFrame.selectedIndex=e}function oh(){let e=be.lFrame;return Ju(e.tView,e.selectedIndex)}function fr(){be.lFrame.currentNamespace=z_}function Ms(){NE()}function NE(){be.lFrame.currentNamespace=null}function PE(){return be.lFrame.currentNamespace}var sm=!0;function xa(){return sm}function Sa(e){sm=e}function kE(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=U_(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function sh(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:l,ngOnDestroy:u}=i;o&&(e.contentHooks??=[]).push(-n,o),s&&((e.contentHooks??=[]).push(n,s),(e.contentCheckHooks??=[]).push(n,s)),a&&(e.viewHooks??=[]).push(-n,a),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ps(e,t,n){am(e,t,3,n)}function gs(e,t,n,r){(e[ve]&3)===n&&am(e,t,n,r)}function _l(e,t){let n=e[ve];(n&3)===t&&(n&=16383,n+=1,e[ve]=n)}function am(e,t,n,r){let i=r!==void 0?e[ni]&65535:0,o=r??-1,s=t.length-1,a=0;for(let l=i;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],r!=null&&a>=r)break}else t[l]<0&&(e[ni]+=65536),(a<o||o==-1)&&(AE(e,n,t,l),e[ni]=(e[ni]&4294901760)+l+2),l++}function Yd(e,t){ze(4,e,t);let n=Oe(null);try{t.call(e)}finally{Oe(n),ze(5,e,t)}}function AE(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[ve]>>14<e[ni]>>16&&(e[ve]&3)===t&&(e[ve]+=16384,Yd(a,o)):Yd(a,o)}var ui=-1,No=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n){this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function LE(e){return e instanceof No}function ME(e){return(e.flags&8)!==0}function jE(e){return(e.flags&16)!==0}function FE(e,t,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++];e.setAttribute(t,s,a,o)}else{let o=i,s=n[++r];BE(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function VE(e){return e===3||e===4||e===6}function BE(e){return e.charCodeAt(0)===64}function _i(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?Kd(e,n,i,null,t[++r]):Kd(e,n,i,null,null))}}return e}function Kd(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(e[o+1]=i);return}else if(r===e[o+1]){e[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r),i!==null&&e.splice(o++,0,i)}var ml={},UE=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=ma(n);let r=this.injector.get(e,ml,n);return r!==ml||t===ml?r:this.parentInjector.get(e,t,n)}};function lm(e){return e!==ui}function js(e){return e&32767}function HE(e){return e>>16}function Fs(e,t){let n=HE(e),r=t;for(;n>0;)r=r[xi],n--;return r}var pc=!0;function Vs(e){let t=pc;return pc=e,t}var $E=256,cm=$E-1,um=5,zE=0,Tn={};function qE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yi)&&(r=n[Yi]),r==null&&(r=n[Yi]=zE++);let i=r&cm,o=1<<i;t.data[e+(i>>um)]|=o}function Bs(e,t){let n=hm(e,t);if(n!==-1)return n;let r=t[ge];r.firstCreatePass&&(e.injectorIndex=t.length,vl(r.data,e),vl(t,null),vl(r.blueprint,null));let i=ah(e,t),o=e.injectorIndex;if(lm(i)){let s=js(i),a=Fs(i,t),l=a[ge].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|l[s+u]}return t[o+8]=i,o}function vl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ah(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=mm(i),r===null)return ui;if(n++,i=i[xi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ui}function gc(e,t,n){qE(e,t,n)}function dm(e,t,n){if(n&De.Optional||e!==void 0)return e;qu(t,"NodeInjector")}function fm(e,t,n,r){if(n&De.Optional&&r===void 0&&(r=null),(n&(De.Self|De.Host))===0){let i=e[ao],o=Mt(void 0);try{return i?i.get(t,r,n&De.Optional):x_(t,r,n&De.Optional)}finally{Mt(o)}}return dm(r,t,n)}function pm(e,t,n,r=De.Default,i){if(e!==null){if(t[ve]&2048&&!(r&De.Self)){let s=YE(e,t,n,r,Tn);if(s!==Tn)return s}let o=gm(e,t,n,r,Tn);if(o!==Tn)return o}return fm(t,n,r,i)}function gm(e,t,n,r,i){let o=WE(n);if(typeof o=="function"){if(!tm(t,e,r))return r&De.Host?dm(i,n,r):fm(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&De.Optional))qu(n);else return s}finally{om()}}else if(typeof o=="number"){let s=null,a=hm(e,t),l=ui,u=r&De.Host?t[mn][wn]:null;for((a===-1||r&De.SkipSelf)&&(l=a===-1?ah(e,t):t[a+8],l===ui||!Xd(r,!1)?a=-1:(s=t[ge],a=js(l),t=Fs(l,t)));a!==-1;){let d=t[ge];if(Jd(o,a,d.data)){let h=GE(a,t,n,s,r,u);if(h!==Tn)return h}l=t[a+8],l!==ui&&Xd(r,t[ge].data[a+8]===u)&&Jd(o,a,t)?(s=d,a=js(l),t=Fs(l,t)):a=-1}}return i}function GE(e,t,n,r,i,o){let s=t[ge],a=s.data[e+8],l=r==null?Si(a)&&pc:r!=s&&(a.type&3)!==0,u=i&De.Host&&o===a,d=_s(a,s,n,l,u);return d!==null?co(t,s,d,a):Tn}function _s(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,l=e.directiveStart,u=e.directiveEnd,d=o>>20,h=r?a:a+d,v=i?a+d:u;for(let m=h;m<v;m++){let w=s[m];if(m<l&&n===w||m>=l&&w.type===n)return m}if(i){let m=s[l];if(m&&Rn(m)&&m.type===n)return l}return null}function co(e,t,n,r){let i=e[n],o=t.data;if(LE(i)){let s=i;s.resolving&&D1(O1(o[n]));let a=Vs(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Mt(s.injectImpl):null,d=tm(e,r,De.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&kE(n,o[n],t)}finally{u!==null&&Mt(u),Vs(a),s.resolving=!1,om()}}return i}function WE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Yi)?e[Yi]:void 0;return typeof t=="number"?t>=0?t&cm:ZE:t}function Jd(e,t,n){let r=1<<e;return!!(n[t+(e>>um)]&r)}function Xd(e,t){return!(e&De.Self)&&!(e&De.Host&&t)}var Ki=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return pm(this._tNode,this._lView,e,ma(n),t)}};function ZE(){return new Ki(Gt(),xe())}function _m(e){return $u(()=>{let t=e.prototype.constructor,n=t[Os]||_c(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[Os]||_c(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _c(e){return m_(e)?()=>{let t=_c(Pt(e));return t&&t()}:kr(e)}function YE(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[ve]&2048&&!Ls(s);){let a=gm(o,s,n,r|De.Self,Tn);if(a!==Tn)return a;let l=o.parent;if(!l){let u=s[j_];if(u){let d=u.get(n,Tn,r);if(d!==Tn)return d}l=mm(s),s=s[xi]}o=l}return i}function mm(e){let t=e[ge],n=t.type;return n===2?t.declTNode:n===1?e[wn]:null}function Qd(e,t=null,n=null,r){let i=KE(e,t,n,r);return i.resolveInjectorInitializers(),i}function KE(e,t=null,n=null,r,i=new Set){let o=[n||$n,W1(e)];return r=r||(typeof e=="object"?void 0:dn(e)),new Yu(o,t||va(),r||null,i)}var kt=class vm{static THROW_IF_NOT_FOUND=oo;static NULL=new T_;static create(t,n){if(Array.isArray(t))return Qd({name:""},n,t,"");{let r=t.name??"";return Qd({name:r},t.parent,t.providers,r)}}static \u0275prov=_e({token:vm,providedIn:"any",factory:()=>Fe(C_)});static __NG_ELEMENT_ID__=-1},JE=new Ce("");JE.__NG_ELEMENT_ID__=e=>{let t=Gt();if(t===null)throw new Ae(204,!1);if(t.type&2)return t.value;if(e&De.Optional)return null;throw new Ae(204,!1)};var ym=!1,lh=(()=>{class e{static __NG_ELEMENT_ID__=QE;static __NG_ENV_ID__=n=>n}return e})(),XE=class extends lh{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return W_(this._lView,e),()=>pE(this._lView,e)}};function QE(){return new XE(xe())}var Ci=class{},ch=new Ce("",{providedIn:"root",factory:()=>!1}),bm=new Ce(""),uh=new Ce(""),Ca=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Mu(!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=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),ex=class extends ye{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,L_()&&(this.destroyRef=P(lh,{optional:!0})??void 0,this.pendingTasks=P(Ca,{optional:!0})??void 0)}emit(e){let t=Oe(null);try{super.next(e)}finally{Oe(t)}}subscribe(e,t,n){let r=e,i=t||(()=>null),o=n;if(e&&typeof e=="object"){let a=e;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 e instanceof yt&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(t),n!==void 0&&this.pendingTasks?.remove(n)})}}},Qe=ex;function Us(...e){}function wm(e){let t,n;function r(){e=Us;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ef(e){return queueMicrotask(()=>e()),()=>{e=Us}}var hh="isAngularZone",Hs=hh+"_ID",tx=0,Ze=class mc{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Qe(!1);onMicrotaskEmpty=new Qe(!1);onStable=new Qe(!1);onError=new Qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=ym}=t;if(typeof Zone>"u")throw new Ae(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,ix(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(hh)===!0}static assertInAngularZone(){if(!mc.isInAngularZone())throw new Ae(909,!1)}static assertNotInAngularZone(){if(mc.isInAngularZone())throw new Ae(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,nx,Us,Us);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},nx={};function dh(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rx(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){wm(()=>{e.callbackScheduled=!1,vc(e),e.isCheckStableRunning=!0,dh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vc(e)}function ix(e){let t=()=>{rx(e)},n=tx++;e._inner=e._inner.fork({name:"angular",properties:{[hh]:!0,[Hs]:n,[Hs+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(ox(l))return r.invokeTask(o,s,a,l);try{return tf(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),nf(e)}},onInvoke:(r,i,o,s,a,l,u)=>{try{return tf(e),r.invoke(o,s,a,l,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sx(l)&&t(),nf(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,vc(e),dh(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function vc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function tf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nf(e){e._nesting--,dh(e)}var Em=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Qe;onMicrotaskEmpty=new Qe;onStable=new Qe;onError=new Qe;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}};function ox(e){return xm(e,"__ignore_ng_zone__")}function sx(e){return xm(e,"__scheduler_tick__")}function xm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ii=class{_console=console;handleError(e){this._console.error("ERROR",e)}},ax=new Ce("",{providedIn:"root",factory:()=>{let e=P(Ze),t=P(Ii);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function lx(){return Ti(Gt(),xe())}function Ti(e,t){return new Vt(An(e,t))}var Vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lx}return e})();function cx(e){return e instanceof Vt?e.nativeElement:e}function Bn(e,t){let n=pw(e),r=n[lr];return t?.equal&&(r.equal=t.equal),n.set=i=>Hg(r,i),n.update=i=>gw(r,i),n.asReadonly=ux.bind(n),n}function ux(){let e=this[lr];if(e.readonlyFn===void 0){let t=()=>this();t[lr]=e,e.readonlyFn=t}return e.readonlyFn}function hx(){return this._results[Symbol.iterator]()}var dx=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 ye}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=U1(e);(this._changesDetected=!B1(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hx};function Sm(e){return(e.flags&128)===128}var Cm=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cm||{}),fh=new Map,fx=0;function px(){return fx++}function gx(e){fh.set(e[To],e)}function Im(e){return fh.get(e)||null}function yc(e){fh.delete(e[To])}var _x=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return Im(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}};function mx(e){let t=yl(e);if(t){if(Vn(t)){let n=t,r,i,o;if(Tm(e)){if(r=bx(n,e),r==-1)throw new Error("The provided component was not found in the application");i=e}else if(vx(e)){if(r=wx(n,e),r==-1)throw new Error("The provided directive was not found in the application");o=Ex(r,n)}else if(r=of(n,e),r==-1)return null;let s=qt(n[r]),a=yl(s),l=a&&!Array.isArray(a)?a:rf(n,r,s);if(i&&l.component===void 0&&(l.component=i,On(l.component,l)),o&&l.directives===void 0){l.directives=o;for(let u=0;u<o.length;u++)On(o[u],l)}On(l.native,l),t=l}}else{let n=e,r=n;for(;r=r.parentNode;){let i=yl(r);if(i){let o=Array.isArray(i)?i:i.lView;if(!o)return null;let s=of(o,n);if(s>=0){let a=qt(o[s]),l=rf(o,s,a);On(a,l),t=l;break}}}}return t||null}function rf(e,t,n){return new _x(e[To],t,n)}var bc="__ngContext__";function On(e,t){Vn(t)?(e[bc]=t[To],gx(t)):e[bc]=t}function yl(e){let t=e[bc];return typeof t=="number"?Im(t):t||null}function Tm(e){return e&&e.constructor&&e.constructor.\u0275cmp}function vx(e){return e&&e.constructor&&e.constructor.\u0275dir}function of(e,t){let n=e[ge];for(let r=ct;r<n.bindingStartIndex;r++)if(qt(e[r])===t)return r;return-1}function yx(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function bx(e,t){let n=e[ge].components;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(tn(i,e)[ht]===t)return i}else if(tn(ct,e)[ht]===t)return ct;return-1}function wx(e,t){let n=e[ge].firstChild;for(;n;){let r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(e[o]===t)return n.index;n=yx(n)}return-1}function Ex(e,t){let n=t[ge].data[e];if(n.directiveStart===0)return $n;let r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){let o=t[i];Tm(o)||r.push(o)}return r}function Om(e){return Rm(e[lo])}function Dm(e){return Rm(e[fn])}function Rm(e){for(;e!==null&&!Kn(e);)e=e[fn];return e}var wc;function xx(e){wc=e}function Nm(){if(wc!==void 0)return wc;if(typeof document<"u")return document;throw new Ae(210,!1)}var ph=new Ce("",{providedIn:"root",factory:()=>Sx}),Sx="ng",Pm=new Ce(""),Ia=new Ce("",{providedIn:"platform",factory:()=>"unknown"}),Cx=new Ce(""),km=new Ce("",{providedIn:"root",factory:()=>Nm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ix="h",Tx="b",Am=!1,Ox=new Ce("",{providedIn:"root",factory:()=>Am}),gh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(gh||{}),Po=new Ce(""),sf=new Set;function Wr(e){sf.has(e)||(sf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lm=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Dx}return e})();function Dx(){return new Lm(xe(),Gt())}var ri=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ri||{}),Mm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rx=[ri.EarlyRead,ri.Write,ri.MixedReadWrite,ri.Read],Nx=(()=>{class e{ngZone=P(Ze);scheduler=P(Ci);errorHandler=P(Ii,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){P(Po,{optional:!0})}execute(){let n=this.sequences.size>0;n&&ze(16),this.executing=!0;for(let r of Rx)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&&ze(17)}register(n){let{view:r}=n;r!==void 0?((r[ci]??=[]).push(n),Do(r),r[ve]|=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(gh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new e})}return e})(),Px=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,i,o=null){this.impl=e,this.hooks=t,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 e=this.view?.[ci];e&&(this.view[ci]=e.filter(t=>t!==this))}};function jm(e,t){!t?.injector&&M_(jm);let n=t?.injector??P(kt);return Wr("NgAfterRender"),Fm(e,n,t,!1)}function ko(e,t){!t?.injector&&M_(ko);let n=t?.injector??P(kt);return Wr("NgAfterNextRender"),Fm(e,n,t,!0)}function kx(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Fm(e,t,n,r){let i=t.get(Mm);i.impl??=t.get(Nx);let o=t.get(Po,null,{optional:!0}),s=n?.phase??ri.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(lh):null,l=t.get(Lm,null,{optional:!0}),u=new Px(i.impl,kx(e,s),l?.view,r,a,o?.snapshot(null));return i.impl.register(u),u}var Ax=()=>null;function Vm(e,t,n=!1){return Ax(e,t,n)}function Bm(e,t){let n=e.contentQueries;if(n!==null){let r=Oe(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];nh(o),a.contentQueries(2,t[s],s)}}}finally{Oe(r)}}}function Ec(e,t,n){nh(0);let r=Oe(null);try{t(e,n)}finally{Oe(r)}}function _h(e,t,n){if(Ku(t)){let r=Oe(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let l=n[s];a.contentQueries(1,l,s)}}}finally{Oe(r)}}}var Fn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fn||{}),Wo;function Lx(){if(Wo===void 0&&(Wo=null,io.trustedTypes))try{Wo=io.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wo}function Ta(e){return Lx()?.createHTML(e)||e}var Zo;function Mx(){if(Zo===void 0&&(Zo=null,io.trustedTypes))try{Zo=io.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zo}function af(e){return Mx()?.createHTML(e)||e}var Zr=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${g_})`}},jx=class extends Zr{getTypeName(){return"HTML"}},Fx=class extends Zr{getTypeName(){return"Style"}},Vx=class extends Zr{getTypeName(){return"Script"}},Bx=class extends Zr{getTypeName(){return"URL"}},Ux=class extends Zr{getTypeName(){return"ResourceURL"}};function sr(e){return e instanceof Zr?e.changingThisBreaksApplicationSecurity:e}function Cr(e,t){let n=Hx(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${g_})`)}return n===t}function Hx(e){return e instanceof Zr&&e.getTypeName()||null}function $x(e){return new jx(e)}function zx(e){return new Fx(e)}function qx(e){return new Vx(e)}function Gx(e){return new Bx(e)}function Wx(e){return new Ux(e)}function Zx(e){let t=new Kx(e);return Jx()?new Yx(t):t}var Yx=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(Ta(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Kx=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ta(e),t}};function Jx(){try{return!!new window.DOMParser().parseFromString(Ta(""),"text/html")}catch{return!1}}var Xx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mh(e){return e=String(e),e.match(Xx)?e:"unsafe:"+e}function Jn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ao(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Um=Jn("area,br,col,hr,img,wbr"),Hm=Jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$m=Jn("rp,rt"),Qx=Ao($m,Hm),eS=Ao(Hm,Jn("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")),tS=Ao($m,Jn("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")),lf=Ao(Um,eS,tS,Qx),zm=Jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nS=Jn("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"),rS=Jn("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"),iS=Ao(zm,nS,rS),oS=Jn("script,style,template"),sS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=cS(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=lS(t);if(i){t=i;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=cf(e).toLowerCase();if(!lf.hasOwnProperty(t))return this.sanitizedSomething=!0,!oS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!iS.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;zm[s]&&(a=mh(a)),this.buf.push(" ",o,'="',uf(a),'"')}return this.buf.push(">"),!0}endElement(e){let t=cf(e).toLowerCase();lf.hasOwnProperty(t)&&!Um.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(uf(e))}};function aS(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function lS(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw qm(t);return t}function cS(e){let t=e.firstChild;if(t&&aS(e,t))throw qm(t);return t}function cf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function qm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var uS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hS=/([^\#-~ |!])/g;function uf(e){return e.replace(/&/g,"&").replace(uS,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(hS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Yo;function Gm(e,t){let n=null;try{Yo=Yo||Zx(e);let r=t?String(t):"";n=Yo.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=Yo.getInertBodyElement(r)}while(r!==o);let s=new sS().sanitizeChildren(hf(n)||n);return Ta(s)}finally{if(n){let r=hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hf(e){return"content"in e&&dS(e)?e.content:null}function dS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var jn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(jn||{});function Oi(e){let t=Wm();return t?af(t.sanitize(jn.HTML,e)||""):Cr(e,"HTML")?af(sr(e)):Gm(Nm(),Co(e))}function on(e){let t=Wm();return t?t.sanitize(jn.URL,e)||"":Cr(e,"URL")?sr(e):mh(Co(e))}function Wm(){let e=xe();return e&&e[qn].sanitizer}var fS=/^>|^->|<!--|-->|--!>|<!-$/g,pS=/(<|>)/g,gS="\u200B$1\u200B";function _S(e){return e.replace(fS,t=>t.replace(pS,gS))}function mS(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var Zm="ng-template";function vS(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&mS(t[i+1].toLowerCase(),n,0)!==-1)return!0}else if(vh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function vh(e){return e.type===4&&e.value!==Zm}function yS(e,t,n){let r=e.type===4&&!n?Zm:e.value;return t===r}function bS(e,t,n){let r=4,i=e.attrs,o=i!==null?xS(i):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!ln(r)&&!ln(l))return!1;if(s&&ln(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!yS(e,l,n)||l===""&&t.length===1){if(ln(r))return!1;s=!0}}else if(r&8){if(i===null||!vS(e,i,l,n)){if(ln(r))return!1;s=!0}}else{let u=t[++a],d=wS(l,i,vh(e),n);if(d===-1){if(ln(r))return!1;s=!0;continue}if(u!==""){let h;if(d>o?h="":h=i[d+1].toLowerCase(),r&2&&u!==h){if(ln(r))return!1;s=!0}}}}return ln(r)||s}function ln(e){return(e&1)===0}function wS(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return SS(t,e)}function ES(e,t,n=!1){for(let r=0;r<t.length;r++)if(bS(e,t[r],n))return!0;return!1}function xS(e){for(let t=0;t<e.length;t++){let n=e[t];if(VE(n))return t}return e.length}function SS(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function df(e,t){return e?":not("+t.trim()+")":t}function CS(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!ln(s)&&(t+=df(o,i),i=""),r=s,o=o||!ln(r);n++}return i!==""&&(t+=df(o,i)),t}function IS(e){return e.map(CS).join(",")}function TS(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else{if(!ln(i))break;i=o}r++}return n.length&&t.push(1,...n),t}var Xn={};function OS(e,t){return e.createText(t)}function DS(e,t,n){e.setValue(t,n)}function RS(e,t){return e.createComment(_S(t))}function Ym(e,t,n){return e.createElement(t,n)}function $s(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Km(e,t,n){e.appendChild(t,n)}function ff(e,t,n,r,i){r!==null?$s(e,t,n,r,i):Km(e,t,n)}function NS(e,t,n){e.removeChild(null,t,n)}function PS(e,t,n){e.setAttribute(t,"style",n)}function kS(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jm(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&FE(e,t,r),i!==null&&kS(e,t,i),o!==null&&PS(e,t,o)}function yh(e,t,n,r,i,o,s,a,l,u,d){let h=ct+r,v=h+i,m=AS(h,v),w=typeof u=="function"?u():u;return m[ge]={type:e,blueprint:m,template:n,queries:null,viewQuery:a,declTNode:t,data:m.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:w,incompleteFirstPass:!1,ssrId:d}}function AS(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Xn);return n}function LS(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=yh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bh(e,t,n,r,i,o,s,a,l,u,d){let h=t.blueprint.slice();return h[Yn]=i,h[ve]=r|4|128|8|64|1024,(u!==null||e&&e[ve]&2048)&&(h[ve]|=2048),G_(h),h[Rt]=h[xi]=e,h[ht]=n,h[qn]=s||e&&e[qn],h[wt]=a||e&&e[wt],h[ao]=l||e&&e[ao]||null,h[wn]=o,h[To]=px(),h[so]=d,h[j_]=u,h[mn]=t.type==2?e[mn]:h,h}function MS(e,t,n){let r=An(t,e),i=LS(n),o=e[qn].rendererFactory,s=wh(e,bh(e,i,null,Xm(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function Xm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Qm(e,t,n,r){if(n===0)return-1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function wh(e,t){return e[lo]?e[Wd][fn]=t:e[lo]=t,e[Wd]=t,t}function K(e=1){ev(_t(),xe(),mr()+e,!1)}function ev(e,t,n,r){if(!r)if((t[ve]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ps(t,i,n)}else{let i=e.preOrderHooks;i!==null&&gs(t,i,0,n)}Vr(n)}var Oa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Oa||{});function xc(e,t,n,r){let i=Oe(null);try{let[o,s,a]=e.inputs[n],l=null;(s&Oa.SignalBased)!==0&&(l=t[o][lr]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,l,r,n,o):V_(t,l,o,r)}finally{Oe(i)}}function tv(e,t,n,r,i){let o=mr(),s=r&2;try{Vr(-1),s&&t.length>ct&&ev(e,t,ct,!1),ze(s?2:0,i),n(r,i)}finally{Vr(o),ze(s?3:1,i)}}function Da(e,t,n){HS(e,t,n),(n.flags&64)===64&&$S(e,t,n)}function Eh(e,t,n=An){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a}}}function jS(e,t,n,r){let i=r.get(Ox,Am)||n===Fn.ShadowDom,o=e.selectRootElement(t,i);return FS(o),o}function FS(e){VS(e)}var VS=()=>null;function BS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nv(e,t,n,r,i,o,s,a){if(!a&&Sh(t,e,n,r,i)){Si(t)&&US(n,t.index);return}if(t.type&3){let l=An(t,n);r=BS(r),i=s!=null?s(i,t.value||"",r):i,o.setProperty(l,r,i)}else t.type&12}function US(e,t){let n=tn(t,e);n[ve]&16||(n[ve]|=64)}function HS(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Si(n)&&MS(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Bs(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],l=co(t,e,s,n);if(On(l,t),o!==null&&WS(t,s-r,l,a,n,o),Rn(a)){let u=tn(n.index,t);u[ht]=co(t,e,s,n)}}}function $S(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=TE();try{Vr(o);for(let a=r;a<i;a++){let l=e.data[a],u=t[a];fc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&zS(l,u)}}finally{Vr(-1),fc(s)}}function zS(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function xh(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];ES(t,o.selectors,!1)&&(r??=[],Rn(o)?r.unshift(o):r.push(o))}return r}function qS(e,t,n,r,i,o){let s=An(e,t);GS(t[wt],s,o,e.value,n,r,i)}function GS(e,t,n,r,i,o,s){if(o==null)e.removeAttribute(t,i,n);else{let a=s==null?Co(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function WS(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],u=s[a+1];xc(r,n,l,u)}}function rv(e,t){let n=e[ao],r=n?n.get(Ii,null):null;r&&r.handleError(t)}function Sh(e,t,n,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let u=s[l],d=s[l+1],h=t.data[u];xc(h,n[u],d,i),a=!0}if(o)for(let l of o){let u=n[l],d=t.data[l];xc(d,u,r,i),a=!0}return a}function ZS(e,t){let n=tn(t,e),r=n[ge];YS(r,n);let i=n[Yn];i!==null&&n[so]===null&&(n[so]=Vm(i,n[ao])),ze(18),Ch(r,n,n[ht]),ze(19,n[ht])}function YS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ch(e,t,n){rh(t);try{let r=e.viewQuery;r!==null&&Ec(1,r,n);let i=e.template;i!==null&&tv(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Gn]?.finishViewCreation(e),e.staticContentQueries&&Bm(e,t),e.staticViewQueries&&Ec(2,e.viewQuery,n);let o=e.components;o!==null&&KS(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ve]&=-5,ih()}}function KS(e,t){for(let n=0;n<t.length;n++)ZS(e,t[n])}function Ra(e,t,n,r){let i=Oe(null);try{let o=t.tView,s=e[ve]&4096?4096:16,a=bh(e,o,n,s,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];a[Mr]=l;let u=e[Gn];return u!==null&&(a[Gn]=u.createEmbeddedView(o)),Ch(o,a,n),a}finally{Oe(i)}}function uo(e,t){return!t||t.firstChild===null||Sm(e)}var JS;function Ih(e,t){return JS(e,t)}var Or=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Or||{});function iv(e){return(e.flags&32)===32}function ii(e,t,n,r,i){if(r!=null){let o,s=!1;Kn(r)?o=r:Vn(r)&&(s=!0,r=r[Yn]);let a=qt(r);e===0&&n!==null?i==null?Km(t,n,a):$s(t,n,a,i||null,!0):e===1&&n!==null?$s(t,n,a,i||null,!0):e===2?NS(t,a,s):e===3&&t.destroyNode(a),o!=null&&cC(t,e,o,n,i)}}function XS(e,t){ov(e,t),t[Yn]=null,t[wn]=null}function QS(e,t,n,r,i,o){r[Yn]=i,r[wn]=t,ka(e,r,n,1,i,o)}function ov(e,t){t[qn].changeDetectionScheduler?.notify(9),ka(e,t,t[wt],2,null,null)}function eC(e){let t=e[lo];if(!t)return bl(e[ge],e);for(;t;){let n=null;if(Vn(t))n=t[lo];else{let r=t[Dt];r&&(n=r)}if(!n){for(;t&&!t[fn]&&t!==e;)Vn(t)&&bl(t[ge],t),t=t[Rt];t===null&&(t=e),Vn(t)&&bl(t[ge],t),n=t&&t[fn]}t=n}}function Th(e,t){let n=e[gi],r=n.indexOf(t);n.splice(r,1)}function Na(e,t){if(Oo(t))return;let n=t[wt];n.destroyNode&&ka(e,t,n,3,null,null),eC(t)}function bl(e,t){if(Oo(t))return;let n=Oe(null);try{t[ve]&=-129,t[ve]|=256,t[$t]&&Mg(t[$t]),nC(e,t),tC(e,t),t[ge].type===1&&t[wt].destroy();let r=t[Mr];if(r!==null&&Kn(t[Rt])){r!==t[Rt]&&Th(r,t);let i=t[Gn];i!==null&&i.detachView(e)}yc(t)}finally{Oe(n)}}function tC(e,t){let n=e.cleanup,r=t[Ps];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&&(t[Ps]=null);let i=t[ur];if(i!==null){t[ur]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=t[ks];if(o!==null){t[ks]=null;for(let s of o)s.destroy()}}function nC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof No)){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];ze(4,a,l);try{l.call(a)}finally{ze(5,a,l)}}else{ze(4,i,o);try{o.call(i)}finally{ze(5,i,o)}}}}}function rC(e,t,n){return iC(e,t.parent,n)}function iC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Yn];if(Si(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Fn.None||i===Fn.Emulated)return null}return An(r,n)}function oC(e,t,n){return aC(e,t,n)}function sC(e,t,n){return e.type&40?An(e,n):null}var aC=sC,pf;function Pa(e,t,n,r){let i=rC(e,r,t),o=t[wt],s=r.parent||t[wn],a=oC(s,r,t);if(i!=null)if(Array.isArray(n))for(let l=0;l<n.length;l++)ff(o,i,n[l],a,!1);else ff(o,i,n,a,!1);pf!==void 0&&pf(o,r,t,n,i)}function qi(e,t){if(t!==null){let n=t.type;if(n&3)return An(t,e);if(n&4)return Sc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return qi(e,r);{let i=e[t.index];return Kn(i)?Sc(-1,i):qt(i)}}else{if(n&128)return qi(e,t.next);if(n&32)return Ih(t,e)()||qt(e[t.index]);{let r=sv(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Fr(e[mn]);return qi(i,r)}else return qi(e,t.next)}}}return null}function sv(e,t){if(t!==null){let n=e[mn][wn],r=t.projection;return n.projection[r]}return null}function Sc(e,t){let n=Dt+e+1;if(n<t.length){let r=t[n],i=r[ge].firstChild;if(i!==null)return qi(r,i)}return t[jr]}function Oh(e,t,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&&t===0&&(a&&On(qt(a),r),n.flags|=2),!iv(n))if(l&8)Oh(e,t,n.child,r,i,o,!1),ii(t,e,i,a,o);else if(l&32){let u=Ih(n,r),d;for(;d=u();)ii(t,e,i,d,o);ii(t,e,i,a,o)}else l&16?lC(e,t,r,n,i,o):ii(t,e,i,a,o);n=s?n.projectionNext:n.next}}function ka(e,t,n,r,i,o){Oh(n,r,e.firstChild,t,i,o,!1)}function lC(e,t,n,r,i,o){let s=n[mn],a=s[wn].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let u=a[l];ii(t,e,i,u,o)}else{let l=a,u=s[Rt];Sm(r)&&(l.flags|=128),Oh(e,t,l,u,i,o,!0)}}function cC(e,t,n,r,i){let o=n[jr],s=qt(n);o!==s&&ii(t,e,r,o,i);for(let a=Dt;a<n.length;a++){let l=n[a];ka(l[ge],l,e,t,r,o)}}function uC(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:Or.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Or.Important),e.setStyle(n,r,i,o))}}function zs(e,t,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(qt(o)),Kn(o)&&hC(o,r);let s=n.type;if(s&8)zs(e,t,n.child,r);else if(s&32){let a=Ih(n,t),l;for(;l=a();)r.push(l)}else if(s&16){let a=sv(t,n);if(Array.isArray(a))r.push(...a);else{let l=Fr(t[mn]);zs(l[ge],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function hC(e,t){for(let n=Dt;n<e.length;n++){let r=e[n],i=r[ge].firstChild;i!==null&&zs(r[ge],r,i,t)}e[jr]!==e[Yn]&&t.push(e[jr])}function av(e){if(e[ci]!==null){for(let t of e[ci])t.impl.addSequence(t);e[ci].length=0}}var lv=[];function dC(e){return e[$t]??fC(e)}function fC(e){let t=lv.pop()??Object.create(gC);return t.lView=e,t}function pC(e){e.lView[$t]!==e&&(e.lView=null,lv.push(e))}var gC=Ye(F({},Pu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Do(e.lView)},consumerOnSignalRead(){this.lView[$t]=this}});function _C(e){let t=e[$t]??Object.create(mC);return t.lView=e,t}var mC=Ye(F({},Pu),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Fr(e.lView);for(;t&&!cv(t[ge]);)t=Fr(t);t&&Qu(t)},consumerOnSignalRead(){this.lView[$t]=this}});function cv(e){return e.type!==2}function uv(e){if(e[ks]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ks])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[ve]&8192)}}var vC=100;function hv(e,t=!0,n=0){let r=e[qn].rendererFactory,i=!1;i||r.begin?.();try{yC(e,n)}catch(o){throw t&&rv(e,o),o}finally{i||r.end?.()}}function yC(e,t){let n=Q_();try{Zd(!0),Cc(e,t);let r=0;for(;wa(e);){if(r===vC)throw new Ae(103,!1);r++,Cc(e,1)}}finally{Zd(n)}}function bC(e,t,n,r){if(Oo(t))return;let i=t[ve],o=!1,s=!1;rh(t);let a=!0,l=null,u=null;o||(cv(e)?(u=dC(t),l=Ad(u)):ow()===null?(a=!1,u=_C(t),l=Ad(u)):t[$t]&&(Mg(t[$t]),t[$t]=null));try{G_(t),xE(e.bindingStartIndex),n!==null&&tv(e,t,n,2,r);let d=(i&3)===3;if(!o)if(d){let m=e.preOrderCheckHooks;m!==null&&ps(t,m,null)}else{let m=e.preOrderHooks;m!==null&&gs(t,m,0,null),_l(t,0)}if(s||wC(t),uv(t),dv(t,0),e.contentQueries!==null&&Bm(e,t),!o)if(d){let m=e.contentCheckHooks;m!==null&&ps(t,m)}else{let m=e.contentHooks;m!==null&&gs(t,m,1),_l(t,1)}xC(e,t);let h=e.components;h!==null&&pv(t,h,0);let v=e.viewQuery;if(v!==null&&Ec(2,v,r),!o)if(d){let m=e.viewCheckHooks;m!==null&&ps(t,m)}else{let m=e.viewHooks;m!==null&&gs(t,m,2),_l(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gl]){for(let m of t[gl])m();t[gl]=null}o||(av(t),t[ve]&=-73)}catch(d){throw o||Do(t),d}finally{u!==null&&(uw(u,l),a&&pC(u)),ih()}}function dv(e,t){for(let n=Om(e);n!==null;n=Dm(n))for(let r=Dt;r<n.length;r++){let i=n[r];fv(i,t)}}function wC(e){for(let t=Om(e);t!==null;t=Dm(t)){if(!(t[ve]&2))continue;let n=t[gi];for(let r=0;r<n.length;r++){let i=n[r];Qu(i)}}}function EC(e,t,n){ze(18);let r=tn(t,e);fv(r,n),ze(19,r[ht])}function fv(e,t){Xu(e)&&Cc(e,t)}function Cc(e,t){let n=e[ge],r=e[ve],i=e[$t],o=!!(t===0&&r&16);if(o||=!!(r&64&&t===0),o||=!!(r&1024),o||=!!(i?.dirty&&Lg(i)),o||=!1,i&&(i.dirty=!1),e[ve]&=-9217,o)bC(n,e,n.template,e[ht]);else if(r&8192){uv(e),dv(e,1);let s=n.components;s!==null&&pv(e,s,1),av(e)}}function pv(e,t,n){for(let r=0;r<t.length;r++)EC(e,t[r],n)}function xC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Vr(~i);else{let o=i,s=n[++r],a=n[++r];IE(s,o);let l=t[o];ze(24,l),a(2,l),ze(25,l)}}}finally{Vr(-1)}}function Dh(e,t){let n=Q_()?64:1088;for(e[qn].changeDetectionScheduler?.notify(t);e;){e[ve]|=n;let r=Fr(e);if(Ls(e)&&!r)return e;e=r}return null}function gv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function _v(e,t){let n=Dt+t;if(n<e.length)return e[n]}function Aa(e,t,n,r=!0){let i=t[ge];if(SC(i,t,e,n),r){let s=Sc(n,e),a=t[wt],l=a.parentNode(e[jr]);l!==null&&QS(i,e[wn],a,t,l,s)}let o=t[so];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function mv(e,t){let n=ho(e,t);return n!==void 0&&Na(n[ge],n),n}function ho(e,t){if(e.length<=Dt)return;let n=Dt+t,r=e[n];if(r){let i=r[Mr];i!==null&&i!==e&&Th(i,r),t>0&&(e[n-1][fn]=r[fn]);let o=Rs(e,Dt+t);XS(r[ge],r);let s=o[Gn];s!==null&&s.detachView(o[ge]),r[Rt]=null,r[fn]=null,r[ve]&=-129}return r}function SC(e,t,n,r){let i=Dt+r,o=n.length;r>0&&(n[i-1][fn]=t),r<o-Dt?(t[fn]=n[i],S_(n,Dt+r,t)):(n.push(t),t[fn]=null),t[Rt]=n;let s=t[Mr];s!==null&&n!==s&&vv(s,t);let a=t[Gn];a!==null&&a.insertView(e),hc(t),t[ve]|=128}function vv(e,t){let n=e[gi],r=t[Rt];if(Vn(r))e[ve]|=2;else{let i=r[Rt][mn];t[mn]!==i&&(e[ve]|=2)}n===null?e[gi]=[t]:n.push(t)}var fo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let e=this._lView,t=e[ge];return zs(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get context(){return this._lView[ht]}get dirty(){return!!(this._lView[ve]&9280)||!!this._lView[$t]?.dirty}set context(e){this._lView[ht]=e}get destroyed(){return Oo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(Kn(e)){let t=e[As],n=t?t.indexOf(this):-1;n>-1&&(ho(e,n),Rs(t,n))}this._attachedToViewContainer=!1}Na(this._lView[ge],this._lView)}onDestroy(e){W_(this._lView,e)}markForCheck(){Dh(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Qu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ve]&=-129}reattach(){hc(this._lView),this._lView[ve]|=128}detectChanges(){this._lView[ve]|=1024,hv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ls(this._lView),t=this._lView[Mr];t!==null&&!e&&Th(t,this._lView),ov(this._lView[ge],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Ae(902,!1);this._appRef=e;let t=Ls(this._lView),n=this._lView[Mr];n!==null&&!t&&vv(n,this._lView),hc(this._lView)}},po=(()=>{class e{static __NG_ELEMENT_ID__=TC}return e})(),CC=po,IC=class extends CC{_declarationLView;_declarationTContainer;elementRef;constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){let r=Ra(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:n});return new fo(r)}};function TC(){return La(Gt(),xe())}function La(e,t){return e.type&4?new IC(t,e,Ti(e,t)):null}function Lo(e,t,n,r,i){let o=e.data[t];if(o===null)o=OC(e,t,n,r,i),CE()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=EE();o.injectorIndex=s===null?-1:s.injectorIndex}return _r(o,!0),o}function OC(e,t,n,r,i){let o=K_(),s=th(),a=s?o:o&&o.parent,l=e.data[t]=RC(e,a,n,t,r,i);return DC(e,l,o,s),l}function DC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function RC(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return yE()&&(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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var DM=new RegExp(`^(\\d+)*(${Tx}|${Ix})*(.*)`),NC=()=>null;function go(e,t){return NC(e,t)}var PC=class{},yv=class{},kC=class{resolveComponentFactory(e){throw Error(`No component factory found for ${dn(e)}.`)}},Mo=class{static NULL=new kC},En=class{},bv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>AC()}return e})();function AC(){let e=xe(),t=Gt(),n=tn(t.index,e);return(Vn(n)?n:e)[wt]}var LC=(()=>{class e{static \u0275prov=_e({token:e,providedIn:"root",factory:()=>null})}return e})();function Ic(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=Ud(i,a);else if(o==2){let l=a,u=t[++s];r=Ud(r,l+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Ot(e,t=De.Default){let n=xe();if(n===null)return Fe(e,t);let r=Gt();return pm(r,n,Pt(e),t)}function Rh(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a,l=null,u=null,d=jC(s);d===null?a=s:[a,l,u]=d,BC(e,t,n,a,o,l,u)}o!==null&&r!==null&&MC(n,r,o)}function MC(e,t,n){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new Ae(-301,!1);r.push(t[i],o)}}function jC(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Rn(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,FC(s,r,o,i)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,i,o]):null}function FC(e,t,n,r){let i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function VC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function BC(e,t,n,r,i,o,s){let a=r.length,l=!1;for(let v=0;v<a;v++){let m=r[v];!l&&Rn(m)&&(l=!0,VC(e,n,v)),gc(Bs(n,t),e,m.type)}GC(n,e.data.length,a);for(let v=0;v<a;v++){let m=r[v];m.providersResolver&&m.providersResolver(m)}let u=!1,d=!1,h=Qm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let v=0;v<a;v++){let m=r[v];if(n.mergedAttrs=_i(n.mergedAttrs,m.hostAttrs),HC(e,n,t,h,m),qC(h,m,i),s!==null&&s.has(m)){let[C,A]=s.get(m);n.directiveToIndex.set(m.type,[h,C+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(m))&&n.directiveToIndex.set(m.type,h);m.contentQueries!==null&&(n.flags|=4),(m.hostBindings!==null||m.hostAttrs!==null||m.hostVars!==0)&&(n.flags|=64);let w=m.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}UC(e,n,o)}function UC(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))gf(0,t,i,r),gf(1,t,i,r),mf(t,r,!1);else{let o=n.get(i);_f(0,t,o,r),_f(1,t,o,r),mf(t,r,!0)}}}function gf(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(r),wv(t,o)}}function _f(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),wv(t,s)}}function wv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mf(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||vh(e)){e.initialInputs??=[],e.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 d of u)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){let u=o[l];for(let d=0;d<u.length;d+=2)if(u[d]===t){s??=[],s.push(u[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function HC(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=kr(i.type,!0)),s=new No(o,Rn(i),Ot);e.blueprint[r]=s,n[r]=s,$C(e,t,r,Qm(e,n,i.hostVars,Xn),i)}function $C(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;zC(s)!=a&&s.push(a),s.push(n,r,o)}}function zC(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Rn(t)&&(n[""]=e)}}function GC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ev(e,t,n,r,i,o,s,a){let l=t.consts,u=dr(l,s),d=Lo(t,e,2,r,u);return o&&Rh(t,n,d,dr(l,a),i),d.mergedAttrs=_i(d.mergedAttrs,d.attrs),d.attrs!==null&&Ic(d,d.attrs,!1),d.mergedAttrs!==null&&Ic(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function xv(e,t){sh(e,t),Ku(t)&&e.queries.elementEnd(t)}var WC=class extends Mo{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=Lr(e);return new Nh(t,this.ngModule)}};function ZC(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&Oa.SignalBased)!==0};return i&&(o.transform=i),o})}function YC(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function KC(e,t,n){let r=t instanceof zn?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new UE(n,r):n}function JC(e){let t=e.get(En,null);if(t===null)throw new Ae(407,!1);let n=e.get(LC,null),r=e.get(Ci,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function XC(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ym(t,n,n==="svg"?z_:n==="math"?uE:null)}var Nh=class extends yv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return ZC(this.componentDef.inputs)}get outputs(){return YC(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=IS(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r){ze(22);let i=Oe(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:TS(this.componentDef.selectors[0]),a=yh(0,null,null,1,0,null,null,null,null,[s],null),l=KC(o,r||this.ngModule,e),u=JC(l),d=u.rendererFactory.createRenderer(null,o),h=n?jS(d,n,o.encapsulation,l):XC(o,d),v=bh(null,a,null,512|Xm(o),null,null,u,d,l,null,Vm(h,l,!0));v[ct]=h,rh(v);let m=null;try{let w=Ev(ct,a,v,"#host",()=>[this.componentDef],!0,0);h&&(Jm(d,h,w),On(h,v)),Da(a,v,w),_h(a,w,v),xv(a,w),t!==void 0&&eI(w,this.ngContentSelectors,t),m=tn(w.index,v),v[ht]=m[ht],Ch(a,v,null)}catch(w){throw m!==null&&yc(m),yc(v),w}finally{ze(23),ih()}return new QC(this.componentType,v)}finally{Oe(i)}}},QC=class extends PC{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t){super(),this._rootLView=t,this._tNode=Ju(t[ge],ct),this.location=Ti(this._tNode,t),this.instance=tn(this._tNode.index,t)[ht],this.hostView=this.changeDetectorRef=new fo(t,void 0,!1),this.componentType=e}setInput(e,t){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView,i=Sh(n,r[ge],r,e,t);this.previousInputValues.set(e,t);let o=tn(n.index,r);Dh(o,1)}get injector(){return new Ki(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function eI(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Di=(()=>{class e{static __NG_ELEMENT_ID__=tI}return e})();function tI(){let e=Gt();return Cv(e,xe())}var nI=Di,Sv=class extends nI{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Ti(this._hostTNode,this._hostLView)}get injector(){return new Ki(this._hostTNode,this._hostLView)}get parentInjector(){let e=ah(this._hostTNode,this._hostLView);if(lm(e)){let t=Fs(e,this._hostLView),n=js(e),r=t[ge].data[n+8];return new Ki(r,t)}else return new Ki(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=vf(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-Dt}createEmbeddedView(e,t,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=go(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(t||{},i,o);return this.insertImpl(s,r,uo(this._hostTNode,o)),s}createComponent(e,t,n,r,i){let o=e&&!iE(e),s;if(o)s=t;else{let m=t||{};s=m.index,n=m.injector,r=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let a=o?e:new Nh(Lr(e)),l=n||this.parentInjector;if(!i&&a.ngModule==null){let m=(o?l:this.parentInjector).get(zn,null);m&&(i=m)}let u=Lr(a.componentType??{}),d=go(this._lContainer,u?.id??null),h=d?.firstChild??null,v=a.create(l,r,h,i);return this.insertImpl(v.hostView,s,uo(this._hostTNode,d)),v}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(dE(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let a=r[Rt],l=new Sv(a,a[wn],a[Rt]);l.detach(l.indexOf(e))}}let i=this._adjustIndex(t),o=this._lContainer;return Aa(o,r,i,n),e.attachToViewContainerRef(),S_(wl(o),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=vf(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);n&&(Rs(wl(this._lContainer),t),Na(n[ge],n))}detach(e){let t=this._adjustIndex(e,-1),n=ho(this._lContainer,t);return n&&Rs(wl(this._lContainer),t)!=null?new fo(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function vf(e){return e[As]}function wl(e){return e[As]||(e[As]=[])}function Cv(e,t){let n,r=t[e.index];return Kn(r)?n=r:(n=gv(r,t,null,e),t[e.index]=n,wh(t,n)),iI(n,t,e,r),new Sv(n,e,t)}function rI(e,t){let n=e[wt],r=n.createComment(""),i=An(t,e),o=n.parentNode(i);return $s(n,o,r,n.nextSibling(i),!1),r}var iI=aI,oI=()=>!1;function sI(e,t,n){return oI(e,t,n)}function aI(e,t,n,r){if(e[jr])return;let i;n.type&8?i=qt(r):i=rI(t,n),e[jr]=i}var lI=class Iv{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Iv(this.queryList)}setDirty(){this.queryList.setDirty()}},cI=class Tv{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.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 Tv(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ph(t,n).matches!==null&&this.queries[n].setDirty()}},uI=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=bI(e):this.predicate=e}},hI=class Ov{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new Ov(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},dI=class Dv{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Dv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(t,n,fI(n,o)),this.matchTNodeWithReadOption(t,n,_s(n,t,o,!1,!1))}else r===po?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_s(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===Vt||i===Di||i===po&&n.type&4)this.addMatch(n.index,-2);else{let o=_s(n,t,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function fI(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function pI(e,t){return e.type&11?Ti(e,t):e.type&4?La(e,t):null}function gI(e,t,n,r){return n===-1?pI(t,e):n===-2?_I(e,t,r):co(e,e[ge],n,t)}function _I(e,t,n){if(n===Vt)return Ti(t,e);if(n===po)return La(t,e);if(n===Di)return Cv(t,e)}function Rv(e,t,n,r){let i=t[Gn].queries[r];if(i.matches===null){let o=e.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 d=o[u];a.push(gI(t,d,s[l+1],n.metadata.read))}}i.matches=a}return i.matches}function Tc(e,t,n,r){let i=e.queries.getByIndex(n),o=i.matches;if(o!==null){let s=Rv(e,t,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],d=t[-l];for(let h=Dt;h<d.length;h++){let v=d[h];v[Mr]===v[Rt]&&Tc(v[ge],v,u,r)}if(d[gi]!==null){let h=d[gi];for(let v=0;v<h.length;v++){let m=h[v];Tc(m[ge],m,u,r)}}}}}return r}function mI(e,t){return e[Gn].queries[t].queryList}function vI(e,t,n){let r=new dx((n&4)===4);return gE(e,t,r,r.destroy),(t[Gn]??=new cI).queries.push(new lI(r))-1}function yI(e,t,n){let r=_t();return r.firstCreatePass&&(wI(r,new uI(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),vI(r,xe(),t)}function bI(e){return e.split(",").map(t=>t.trim())}function wI(e,t,n){e.queries===null&&(e.queries=new hI),e.queries.track(new dI(t,n))}function Ph(e,t){return e.queries.getByIndex(t)}function EI(e,t){let n=e[ge],r=Ph(n,t);return r.crossesNgTemplate?Tc(n,e,t,[]):Rv(n,e,r,t)}var _o=class{},Nv=class extends _o{injector;componentFactoryResolver=new WC(this);instance=null;constructor(e){super();let t=new Yu([...e.providers,{provide:_o,useValue:this},{provide:Mo,useValue:this.componentFactoryResolver}],e.parent||va(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function xI(e,t,n=null){return new Nv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var SI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=R_(!1,n.type),i=r.length>0?xI([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=_e({token:e,providedIn:"environment",factory:()=>new e(Fe(zn))})}return e})();function At(e){return $u(()=>{let t=Pv(e),n=Ye(F({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(SI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fn.Emulated,styles:e.styles||$n,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Wr("NgStandalone"),kv(n);let r=e.dependencies;return n.directiveDefs=yf(r,!1),n.pipeDefs=yf(r,!0),n.id=DI(n),n})}function CI(e){return Lr(e)||O_(e)}function II(e){return e!==null}function TI(e,t){if(e==null)return Ar;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[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=Oa.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function OI(e){if(e==null)return Ar;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ma(e){return $u(()=>{let t=Pv(e);return kv(t),t})}function kh(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Pv(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ar,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||$n,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:TI(e.inputs,t),outputs:OI(e.outputs),debugInfo:null}}function kv(e){e.features?.forEach(t=>t(e))}function yf(e,t){if(!e)return null;let n=t?D_:CI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(II)}function DI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function RI(e){return Object.getPrototypeOf(e.prototype).constructor}function Ri(e){let t=RI(e.type),n=!0,r=[e];for(;t;){let i;if(Rn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ae(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=El(e.inputs),s.declaredInputs=El(e.declaredInputs),s.outputs=El(e.outputs);let a=i.hostBindings;a&&LI(e,a);let l=i.viewQuery,u=i.contentQueries;if(l&&kI(e,l),u&&AI(e,u),NI(e,i),E1(e.outputs,i.outputs),Rn(i)&&i.data.animation){let d=e.data;d.animation=(d.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(e),a===Ri&&(n=!1)}}t=Object.getPrototypeOf(t)}PI(r)}function NI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function PI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=_i(i.hostAttrs,n=_i(n,i.hostAttrs))}}function El(e){return e===Ar?{}:e===$n?[]:e}function kI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function AI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function LI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function Av(e,t,n){return e[t]=n}function Wn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function MI(e,t,n,r){let i=Wn(e,t,n);return Wn(e,t+1,r)||i}function jI(e,t,n,r,i,o,s,a,l){let u=t.consts,d=Lo(t,e,4,s||null,a||null);eh()&&Rh(t,n,d,dr(u,l),xh),d.mergedAttrs=_i(d.mergedAttrs,d.attrs),sh(t,d);let h=d.tView=yh(2,d,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function Oc(e,t,n,r,i,o,s,a,l,u){let d=n+ct,h=t.firstCreatePass?jI(d,t,e,r,i,o,s,a,l):t.data[d];_r(h,!1);let v=FI(t,e,h,n);xa()&&Pa(t,e,v,h),On(v,e);let m=gv(v,e,v,h);return e[d]=m,wh(e,m),sI(m,h,e),ya(h)&&Da(t,e,h),l!=null&&Eh(e,h,u),h}function at(e,t,n,r,i,o,s,a){let l=xe(),u=_t(),d=dr(u.consts,o);return Oc(l,u,e,t,n,r,i,d,s,a),at}var FI=VI;function VI(e,t,n,r){return Sa(!0),t[wt].createComment("")}var BI=new Ce(""),UI=(()=>{class e{static \u0275prov=_e({token:e,providedIn:"root",factory:()=>new HI})}return e})(),HI=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Lv(e){return!!e&&typeof e.then=="function"}function $I(e){return!!e&&typeof e.subscribe=="function"}var zI=new Ce(""),Mv=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=P(zI,{optional:!0})??[];injector=P(kt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=A_(this.injector,i);if(Lv(o))n.push(o);else if($I(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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qI=new Ce("");function GI(){dw(()=>{throw new Ae(600,!1)})}function WI(e){return e.isBoundToModule}var ZI=10,pr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=P(ax);afterRenderManager=P(Mm);zonelessEnabled=P(ch);rootEffectScheduler=P(UI);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ye;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=P(Ca).hasPendingTasks.pipe(ga(n=>!n));constructor(){P(Po,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=P(zn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){ze(10);let i=n instanceof yv;if(!this._injector.get(Mv).done){let h=!i&&q1(n),v=!1;throw new Ae(405,v)}let o;i?o=n:o=this._injector.get(Mo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=WI(o)?void 0:this._injector.get(_o),a=r||o.selector,l=o.create(kt.NULL,[],a,s),u=l.location.nativeElement,d=l.injector.get(BI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),ms(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),ze(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ze(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(gh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Ae(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next(),ze(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(En,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ZI;)ze(14),this.synchronizeOnce(),ze(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)YI(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})=>wa(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;ms(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(qI,[]).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),()=>ms(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ae(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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ms(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function YI(e,t,n,r){!n&&!wa(e)||hv(e,t,n&&!r?0:1)}function ja(e,t,n,r){let i=xe(),o=Ro();if(Wn(i,o,t)){let s=_t(),a=oh();qS(a,i,e,t,n,r)}return ja}function jv(e,t,n,r){return Wn(e,Ro(),n)?t+Co(n)+r:Xn}function Ko(e,t){return e<<17|t<<2}function Br(e){return e>>17&32767}function KI(e){return(e&2)==2}function JI(e,t){return e&131071|t<<17}function Dc(e){return e|2}function mi(e){return(e&131068)>>2}function xl(e,t){return e&-131069|t<<2}function XI(e){return(e&1)===1}function Rc(e){return e|1}function QI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Br(s),l=mi(s);e[r]=n;let u=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||Io(h,d)>0)&&(u=!0)}else d=n;if(i)if(l!==0){let h=Br(e[a+1]);e[r+1]=Ko(h,a),h!==0&&(e[h+1]=xl(e[h+1],r)),e[a+1]=JI(e[a+1],r)}else e[r+1]=Ko(a,0),a!==0&&(e[a+1]=xl(e[a+1],r)),a=r;else e[r+1]=Ko(l,0),a===0?a=r:e[l+1]=xl(e[l+1],r),l=r;u&&(e[r+1]=Dc(e[r+1])),bf(e,d,r,!0),bf(e,d,r,!1),eT(t,d,e,r,o),s=Ko(a,l),o?t.classBindings=s:t.styleBindings=s}function eT(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Io(o,t)>=0&&(n[r+1]=Rc(n[r+1]))}function bf(e,t,n,r){let i=e[n+1],o=t===null,s=r?Br(i):mi(i),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],u=e[s+1];tT(l,t)&&(a=!0,e[s+1]=r?Rc(u):Dc(u)),s=r?Br(u):mi(u)}a&&(e[n+1]=r?Dc(i):Rc(i))}function tT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Io(e,t)>=0:!1}function Le(e,t,n){let r=xe(),i=Ro();if(Wn(r,i,t)){let o=_t(),s=oh();nv(o,s,r,e,t,r[wt],n,!1)}return Le}function wf(e,t,n,r,i){Sh(t,e,n,i?"class":"style",r)}function Fa(e,t,n){return Fv(e,t,n,!1),Fa}function Va(e,t){return Fv(e,t,null,!0),Va}function Fv(e,t,n,r){let i=xe(),o=_t(),s=SE(2);if(o.firstUpdatePass&&rT(o,e,s,r),t!==Xn&&Wn(i,s,t)){let a=o.data[mr()];lT(o,a,i,i[wt],e,i[s+1]=cT(t,n),r,s)}}function nT(e,t){return t>=e.expandoStartIndex}function rT(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[mr()],s=nT(e,n);uT(o,r)&&t===null&&!s&&(t=!1),t=iT(i,o,t,r),QI(i,o,t,n,s,r)}}function iT(e,t,n,r){let i=OE(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Sl(null,e,t,n,r),n=mo(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Sl(i,e,t,n,r),o===null){let a=oT(e,t,r);a!==void 0&&Array.isArray(a)&&(a=Sl(null,e,t,a[1],r),a=mo(a,t.attrs,r),sT(e,t,r,a))}else o=aT(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function oT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(mi(r)!==0)return e[Br(r)]}function sT(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Br(i)]=r}function aT(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=mo(r,s,n)}return mo(r,t.attrs,n)}function Sl(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=mo(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function mo(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),$1(e,s,n?!0:t[++o]))}return e===void 0?null:e}function lT(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let l=e.data,u=l[a+1],d=XI(u)?Ef(l,t,n,i,mi(u),s):void 0;if(!qs(d)){qs(o)||KI(u)&&(o=Ef(l,null,n,i,a,s));let h=q_(mr(),n);uC(r,s,h,i,o)}}function Ef(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let l=e[i],u=Array.isArray(l),d=u?l[1]:l,h=d===null,v=n[i+1];v===Xn&&(v=h?$n:void 0);let m=h?fl(v,r):d===r?v:void 0;if(u&&!qs(m)&&(m=fl(l,r)),qs(m)&&(a=m,s))return a;let w=e[i+1];i=s?Br(w):mi(w)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=fl(l,r))}return a}function qs(e){return e!==void 0}function cT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=dn(sr(e)))),e}function uT(e,t){return(e.flags&(t?8:16))!==0}var hT=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),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(e,t){this.attach(t,this.detach(e))}};function Cl(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function dT(e,t,n){let r,i,o=0,s=e.length-1,a;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let u=e.at(o),d=t[o],h=Cl(o,u,o,d,n);if(h!==0){h<0&&e.updateValue(o,d),o++;continue}let v=e.at(s),m=t[l],w=Cl(s,v,l,m,n);if(w!==0){w<0&&e.updateValue(s,m),s--,l--;continue}let C=n(o,u),A=n(s,v),k=n(o,d);if(Object.is(k,A)){let $=n(l,m);Object.is($,C)?(e.swap(o,s),e.updateValue(s,m),l--,s--):e.move(s,o),e.updateValue(o,d),o++;continue}if(r??=new Cf,i??=Sf(e,o,s,n),Nc(e,r,o,k))e.updateValue(o,d),o++,s++;else if(i.has(k))r.set(C,e.detach(o)),s--;else{let $=e.create(o,t[o]);e.attach(o,$),o++,s++}}for(;o<=l;)xf(e,r,n,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&o<=s;){let d=e.at(o),h=u.value,v=Cl(o,d,o,h,n);if(v!==0)v<0&&e.updateValue(o,h),o++,u=l.next();else{r??=new Cf,i??=Sf(e,o,s,n);let m=n(o,h);if(Nc(e,r,o,m))e.updateValue(o,h),o++,s++,u=l.next();else if(!i.has(m))e.attach(o,e.create(o,h)),o++,s++,u=l.next();else{let w=n(o,d);r.set(w,e.detach(o)),s--}}}for(;!u.done;)xf(e,r,n,e.length,u.value),u=l.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(l=>{e.destroy(l)})}function Nc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function xf(e,t,n,r,i){if(Nc(e,t,r,n(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Sf(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var Cf=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}};function ot(e,t){Wr("NgControlFlow");let n=xe(),r=Ro(),i=n[r]!==Xn?n[r]:-1,o=i!==-1?Gs(n,ct+i):void 0,s=0;if(Wn(n,r,e)){let a=Oe(null);try{if(o!==void 0&&mv(o,s),e!==-1){let l=ct+e,u=Gs(n,l),d=Pc(n[ge],l),h=go(u,d.tView.ssrId),v=Ra(n,d,t,{dehydratedView:h});Aa(u,v,s,uo(d,h))}}finally{Oe(a)}}else if(o!==void 0){let a=_v(o,s);a!==void 0&&(a[ht]=t)}}var fT=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-Dt}};function Ni(e,t){return t}var pT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Wt(e,t,n,r,i,o,s,a,l,u,d,h,v){Wr("NgControlFlow");let m=xe(),w=_t(),C=l!==void 0,A=xe(),k=a?s.bind(A[mn][ht]):s,$=new pT(C,k);A[ct+e]=$,Oc(m,w,e+1,t,n,r,i,dr(w.consts,o)),C&&Oc(m,w,e+2,l,u,d,h,dr(w.consts,v))}var gT=class extends hT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-Dt}at(e){return this.getLView(e)[ht].$implicit}attach(e,t){let n=t[so];this.needsIndexUpdate||=e!==this.length,Aa(this.lContainer,t,e,uo(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,_T(this.lContainer,e)}create(e,t){let n=go(this.lContainer,this.templateTNode.tView.ssrId),r=Ra(this.hostLView,this.templateTNode,new fT(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){Na(e[ge],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ht].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ht].$index=e}getLView(e){return mT(this.lContainer,e)}};function Zt(e){let t=Oe(null),n=mr();try{let r=xe(),i=r[ge],o=r[n],s=n+1,a=Gs(r,s);if(o.liveCollection===void 0){let u=Pc(i,s);o.liveCollection=new gT(a,r,u)}else o.liveCollection.reset();let l=o.liveCollection;if(dT(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=Ro(),d=l.length===0;if(Wn(r,u,d)){let h=n+2,v=Gs(r,h);if(d){let m=Pc(i,h),w=go(v,m.tView.ssrId),C=Ra(r,m,void 0,{dehydratedView:w});Aa(v,C,0,uo(m,w))}else mv(v,0)}}}finally{Oe(t)}}function Gs(e,t){return e[t]}function _T(e,t){return ho(e,t)}function mT(e,t){return _v(e,t)}function Pc(e,t){return Ju(e,t)}function X(e,t,n,r){let i=xe(),o=_t(),s=ct+e,a=i[wt],l=o.firstCreatePass?Ev(s,o,i,t,xh,eh(),n,r):o.data[s],u=vT(o,i,l,a,t,e);i[s]=u;let d=ya(l);return _r(l,!0),Jm(a,u,l),!iv(l)&&xa()&&Pa(o,i,u,l),(_E()===0||d)&&On(u,i),mE(),d&&(Da(o,i,l),_h(o,l,i)),r!==null&&Eh(i,l),X}function Q(){let e=Gt();th()?J_():(e=e.parent,_r(e,!1));let t=e;bE(t)&&wE(),vE();let n=_t();return n.firstCreatePass&&xv(n,t),t.classesWithoutHost!=null&&ME(t)&&wf(n,t,xe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&jE(t)&&wf(n,t,xe(),t.stylesWithoutHost,!1),Q}function He(e,t,n,r){return X(e,t,n,r),Q(),He}var vT=(e,t,n,r,i,o)=>(Sa(!0),Ym(r,i,PE()));function yT(e,t,n,r,i){let o=t.consts,s=dr(o,r),a=Lo(t,e,8,"ng-container",s);s!==null&&Ic(a,s,!0);let l=dr(o,i);return eh()&&Rh(t,n,a,l,xh),a.mergedAttrs=_i(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function Vv(e,t,n){let r=xe(),i=_t(),o=e+ct,s=i.firstCreatePass?yT(o,i,r,t,n):i.data[o];_r(s,!0);let a=bT(i,r,s,e);return r[o]=a,xa()&&Pa(i,r,a,s),On(a,r),ya(s)&&(Da(i,r,s),_h(i,s,r)),n!=null&&Eh(r,s),Vv}function Bv(){let e=Gt(),t=_t();return th()?J_():(e=e.parent,_r(e,!1)),t.firstCreatePass&&(sh(t,e),Ku(e)&&t.queries.elementEnd(e)),Bv}function Ah(e,t,n){return Vv(e,t,n),Bv(),Ah}var bT=(e,t,n,r)=>(Sa(!0),RS(t[wt],""));function Bt(){return xe()}var Ws="en-US",wT=Ws;function ET(e){typeof e=="string"&&(wT=e.toLowerCase().replace(/_/g,"-"))}var xT=(e,t,n)=>{};function lt(e,t,n,r){let i=xe(),o=_t(),s=Gt();return CT(o,i,i[wt],s,e,t,r),lt}function ST(e,t,n,r){let i=e.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=t[Ps],l=i[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function CT(e,t,n,r,i,o,s){let a=ya(r),l=e.firstCreatePass?Y_(e):null,u=t[ht],d=Z_(t),h=!0;if(r.type&3||s){let v=An(r,t),m=s?s(v):v,w=d.length,C=s?k=>s(qt(k[r.index])):r.index,A=null;if(!s&&a&&(A=ST(e,t,i,r.index)),A!==null){let k=A.__ngLastListenerFn__||A;k.__ngNextListenerFn__=o,A.__ngLastListenerFn__=o,h=!1}else{o=Of(r,t,u,o),xT(v,i,o);let k=n.listen(m,i,o);d.push(o,k),l&&l.push(i,C,w,w+1)}}else o=Of(r,t,u,o);if(h){let v=r.outputs?.[i],m=r.hostDirectiveOutputs?.[i];if(m&&m.length)for(let w=0;w<m.length;w+=2){let C=m[w],A=m[w+1];If(r,e,t,C,A,i,o,d,l)}if(v&&v.length)for(let w of v)If(r,e,t,w,i,i,o,d,l)}}function If(e,t,n,r,i,o,s,a,l){let u=n[r],d=t.data[r].outputs[i],h=u[d].subscribe(s),v=a.length;a.push(s,h),l&&l.push(o,e.index,v,-(v+1))}function Tf(e,t,n,r){let i=Oe(null);try{return ze(6,t,n),n(r)!==!1}catch(o){return rv(e,o),!1}finally{ze(7,t,n),Oe(i)}}function Of(e,t,n,r){return function i(o){if(o===Function)return r;let s=Si(e)?tn(e.index,t):t;Dh(s,5);let a=Tf(t,n,r,o),l=i.__ngNextListenerFn__;for(;l;)a=Tf(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function le(e=1){return RE(e)}function Pi(e,t,n){return Uv(e,"",t,"",n),Pi}function Uv(e,t,n,r,i){let o=xe(),s=jv(o,t,n,r);if(s!==Xn){let a=_t(),l=oh();nv(a,l,o,e,s,o[wt],i,!1)}return Uv}function Zs(e,t,n){yI(e,t,n)}function Ys(e){let t=xe(),n=_t(),r=em();nh(r+1);let i=Ph(n,r);if(e.dirty&&hE(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let o=EI(t,r);e.reset(o,cx),e.notifyOnChanges()}return!0}return!1}function Ks(){return mI(xe(),em())}function Lh(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Un(e){let t=X_();return ba(t,ct+e)}function nt(e,t=""){let n=xe(),r=_t(),i=e+ct,o=r.firstCreatePass?Lo(r,i,1,t,null):r.data[i],s=IT(r,n,o,t,e);n[i]=s,xa()&&Pa(r,n,s,o),_r(o,!1)}var IT=(e,t,n,r,i)=>(Sa(!0),OS(t[wt],r));function Ba(e){return Nn("",e,""),Ba}function Nn(e,t,n){let r=xe(),i=jv(r,e,t,n);return i!==Xn&&TT(r,mr(),i),Nn}function TT(e,t,n){let r=q_(t,e);DS(e[wt],r,n)}var Hv={};function vr(e){let t=_t(),n=xe(),r=e+ct,i=Lo(t,r,128,null,null);return _r(i,!1),Lh(t,n,r,Hv),vr}function vo(e){Wr("NgLet");let t=_t(),n=xe(),r=mr();return Lh(t,n,r,e),e}function Dn(e){let t=X_(),n=ba(t,ct+e);if(n===Hv)throw new Ae(314,!1);return n}function OT(e,t,n){let r=_t();if(r.firstCreatePass){let i=Rn(e);kc(n,r.data,r.blueprint,i,!0),kc(t,r.data,r.blueprint,i,!1)}}function kc(e,t,n,r,i){if(e=Pt(e),Array.isArray(e))for(let o=0;o<e.length;o++)kc(e[o],t,n,r,i);else{let o=_t(),s=xe(),a=Gt(),l=pi(e)?e:Pt(e.provide),u=k_(e),d=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(pi(e)||!e.multi){let m=new No(u,i,Ot),w=Tl(l,t,i?d:d+v,h);w===-1?(gc(Bs(a,s),o,l),Il(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(m),s.push(m)):(n[w]=m,s[w]=m)}else{let m=Tl(l,t,d+v,h),w=Tl(l,t,d,d+v),C=m>=0&&n[m],A=w>=0&&n[w];if(i&&!A||!i&&!C){gc(Bs(a,s),o,l);let k=NT(i?RT:DT,n.length,i,r,u);!i&&A&&(n[w].providerFactory=k),Il(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(k),s.push(k)}else{let k=$v(n[i?w:m],u,!i&&r);Il(o,e,m>-1?m:w,k)}!i&&r&&A&&n[w].componentProviders++}}}function Il(e,t,n,r){let i=pi(t),o=J1(t);if(i||o){let s=(o?Pt(t.useClass):t).prototype.ngOnDestroy;if(s){let a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.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 $v(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Tl(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function DT(e,t,n,r){return Ac(this.multi,[])}function RT(e,t,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=co(n,n[ge],this.providerFactory.index,r);o=a.slice(0,s),Ac(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Ac(i,o);return o}function Ac(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function NT(e,t,n,r,i){let o=new No(e,n,Ot);return o.multi=[],o.index=t,o.componentProviders=0,$v(o,i,r&&!n),o}function PT(e,t=[]){return n=>{n.providersResolver=(r,i)=>OT(r,i?i(e):e,t)}}function zv(e,t,n,r){return Gv(xe(),Ea(),e,t,n,r)}function kT(e,t,n,r,i){return Wv(xe(),Ea(),e,t,n,r,i)}function qv(e,t){let n=e[t];return n===Xn?void 0:n}function Gv(e,t,n,r,i,o){let s=t+n;return Wn(e,s,i)?Av(e,s+1,o?r.call(o,i):r(i)):qv(e,s+1)}function Wv(e,t,n,r,i,o,s){let a=t+n;return MI(e,a,i,o)?Av(e,a+2,s?r.call(s,i,o):r(i,o)):qv(e,a+2)}function vn(e,t){let n=_t(),r,i=e+ct;n.firstCreatePass?(r=AT(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=kr(r.type,!0)),s,a=Mt(Ot);try{let l=Vs(!1),u=o();return Vs(l),Lh(n,xe(),i,u),u}finally{Mt(a)}}function AT(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Pn(e,t,n){let r=e+ct,i=xe(),o=ba(i,r);return Zv(i,r)?Gv(i,Ea(),t,o.transform,n,o):o.transform(n)}function LT(e,t,n,r){let i=e+ct,o=xe(),s=ba(o,i);return Zv(o,i)?Wv(o,Ea(),t,s.transform,n,r,s):s.transform(n,r)}function Zv(e,t){return e[ge].data[t].pure}function MT(e,t){return La(e,t)}var jT=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Df=new jT("19.2.0"),FT=(()=>{class e{zone=P(Ze);changeDetectionScheduler=P(Ci);applicationRef=P(pr);_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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VT({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Ze(Ye(F({},BT()),{scheduleInRootZone:n})),[{provide:Ze,useFactory:e},{provide:Ns,multi:!0,useFactory:()=>{let r=P(FT,{optional:!0});return()=>r.initialize()}},{provide:Ns,multi:!0,useFactory:()=>{let r=P(UT);return()=>{r.initialize()}}},t===!0?{provide:bm,useValue:!0}:[],{provide:uh,useValue:n??ym}]}function BT(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UT=(()=>{class e{subscription=new yt;initialized=!1;zone=P(Ze);pendingTasks=P(Ca);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ze.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yv=(()=>{class e{appRef=P(pr);taskService=P(Ca);ngZone=P(Ze);zonelessEnabled=P(ch);tracing=P(Po,{optional:!0});disableScheduling=P(bm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new yt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(P(uh,{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 Em||!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?ef:wm;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(Hs+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,ef(()=>{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||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HT(){return Wr("NgZoneless"),G1([{provide:Ci,useExisting:Yv},{provide:Ze,useClass:Em},{provide:ch,useValue:!0},{provide:uh,useValue:!1},[]])}function $T(){return typeof $localize<"u"&&$localize.locale||Ws}var Kv=new Ce("",{providedIn:"root",factory:()=>P(Kv,De.Optional|De.SkipSelf)||$T()}),Lc=new Ce(""),zT=new Ce("");function Fi(e){return!e.moduleRef}function qT(e){let t=Fi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ze);return n.run(()=>{Fi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ii,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Fi(e)){let o=()=>t.destroy(),s=e.platformInjector.get(Lc);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Lc);s.add(o),e.moduleRef.onDestroy(()=>{ms(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return WT(r,n,()=>{let o=t.get(Mv);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Kv,Ws);if(ET(s||Ws),!t.get(zT,!0))return Fi(e)?t.get(pr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Fi(e)){let a=t.get(pr);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return GT(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function GT(e,t){let n=e.injector.get(pr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Ae(-403,!1);t.push(e)}function WT(e,t,n){try{let r=n();return Lv(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var vs=null;function ZT(e=[],t){return kt.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:Lc,useValue:new Set([()=>vs=null])},...e]})}function YT(e=[]){if(vs)return vs;let t=ZT(e);return vs=t,GI(),KT(t),t}function KT(e){let t=e.get(Pm,null);A_(e,()=>{t?.forEach(n=>n())})}var Ua=(()=>{class e{static __NG_ELEMENT_ID__=JT}return e})();function JT(e){return XT(Gt(),xe(),(e&16)===16)}function XT(e,t,n){if(Si(e)&&!n){let r=tn(e.index,t);return new fo(r,r)}else if(e.type&175){let r=t[mn];return new fo(r,t)}return null}function QT(e){ze(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=YT(r),o=[VT({}),{provide:Ci,useExisting:Yv},...n||[]],s=new Nv({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return qT({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{ze(9)}}function eO(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tO(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function nO(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var RM=class{[lr];constructor(e){this[lr]=e}destroy(){this[lr].destroy()}};function Jv(e,t){let n=Lr(e),r=t.elementInjector||va();return new Nh(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var rO={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function iO(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function oO(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ol;function sO(e,t){if(!Ol){let n=Element.prototype;Ol=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ol.call(e,t):!1}function aO(e){let t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[iO(r)]=[n,i]}),t}function lO(e,t){return t.get(Mo).resolveComponentFactory(e).inputs}function cO(e,t){let n=e.childNodes,r=t.map(()=>[]),i=-1;t.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],l=uO(a,t,i);l!==-1&&r[l].push(a)}return r}function uO(e,t,n){let r=n;return oO(e)&&t.some((i,o)=>i!=="*"&&sO(e,i)?(r=o,!0):!1),r}var hO=10,dO=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Mo).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new fO(this.componentFactory,e,this.inputMap)}},fO=class{componentFactory;injector;inputMap;eventEmitters=new Pw(1);events=this.eventEmitters.pipe(p_(e=>_a(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,n){this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ze),this.appRef=this.injector.get(pr),this.cdScheduler=t.get(Ci),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=rO.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},hO))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(e){let t=kt.create({providers:[],parent:this.injector}),n=cO(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=e.instance[n];return new bt(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},pO=class extends HTMLElement{ngElementEventsSubscription=null};function gO(e,t){let n=lO(e,t.injector),r=t.strategyFactory||new dO(e,t.injector),i=aO(n);class o extends pO{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,d){let[h,v]=i[a];this.ngElementStrategy.setInputValue(h,u,v)}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 Xv=null;function Ji(){return Xv}function _O(e){Xv??=e}var mO=class{},et=new Ce(""),Qv=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:()=>P(vO),providedIn:"platform"})}return e})(),vO=(()=>{class e extends Qv{_location;_history;_doc=P(et);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ji().getBaseHref(this._doc)}onPopState(n){let r=Ji().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ji().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||e)};static \u0275prov=_e({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ey(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Rf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Dr(e){return e&&e[0]!=="?"?`?${e}`:e}var Mh=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:()=>P(bO),providedIn:"root"})}return e})(),yO=new Ce(""),bO=(()=>{class e extends Mh{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(et).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 ey(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Dr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Dr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Dr(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||e)(Fe(Qv),Fe(yO,8))};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ty=(()=>{class e{_subject=new ye;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=xO(Rf(Nf(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+Dr(r))}normalize(n){return e.stripTrailingSlash(EO(this._basePath,Nf(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+Dr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dr(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=Dr;static joinWithSlash=ey;static stripTrailingSlash=Rf;static \u0275fac=function(n){return new(n||e)(Fe(Mh))};static \u0275prov=_e({token:e,factory:()=>wO(),providedIn:"root"})}return e})();function wO(){return new ty(Fe(Mh))}function EO(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Nf(e){return e.replace(/\/index.html$/,"")}function xO(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function SO(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var Dl=/\s+/,Pf=[],Ha=(()=>{class e{_ngEl;_renderer;initialClasses=Pf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Dl):Pf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Dl):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(Dl).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||e)(Ot(Vt),Ot(bv))};static \u0275dir=Ma({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),CO=(()=>{class e{_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||e)(Ot(Di))};static \u0275dir=Ma({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[B_]})}return e})(),ny="browser",IO="server";function TO(e){return e===ny}function ry(e){return e===IO}var OO=class{},DO=class extends mO{supportsDOMEvents=!0},RO=class iy extends DO{static makeCurrent(){_O(new iy)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=NO();return n==null?null:PO(n)}resetBaseElement(){Gi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return SO(document.cookie,t)}},Gi=null;function NO(){return Gi=Gi||document.querySelector("base"),Gi?Gi.getAttribute("href"):null}function PO(e){return new URL(e,document.baseURI).pathname}var kO=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Mc=new Ce(""),oy=(()=>{class e{_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 Ae(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||e)(Fe(Mc),Fe(Ze))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),sy=class{_doc;constructor(e){this._doc=e}manager},ys="ng-app-id";function kf(e){for(let t of e)t.remove()}function Af(e,t){let n=t.createElement("style");return n.textContent=e,n}function AO(e,t,n,r){let i=e.head?.querySelectorAll(`style[${ys}="${t}"],link[${ys}="${t}"]`);if(i)for(let o of i)o.removeAttribute(ys),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 jc(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var ay=(()=>{class e{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=ry(o),AO(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Af);r?.forEach(i=>this.addUsage(i,this.external,jc))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(kf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])kf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Af(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,jc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(ys,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||e)(Fe(et),Fe(ph),Fe(km,8),Fe(Ia))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Rl={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"},jh=/%COMP%/g,ly="%COMP%",LO=`_nghost-${ly}`,MO=`_ngcontent-${ly}`,jO=!0,FO=new Ce("",{providedIn:"root",factory:()=>jO});function VO(e){return MO.replace(jh,e)}function BO(e){return LO.replace(jh,e)}function cy(e,t){return t.map(n=>n.replace(jh,e))}var Lf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l,u=null,d=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=d,this.platformIsServer=ry(a),this.defaultRenderer=new Fh(n,s,l,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Fn.ShadowDom&&(r=Ye(F({},r),{encapsulation:Fn.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof jf?i.applyToHost(n):i instanceof Fc&&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,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,v=this.tracingService;switch(r.encapsulation){case Fn.Emulated:o=new jf(l,u,r,this.appId,d,s,a,h,v);break;case Fn.ShadowDom:return new UO(l,u,n,r,s,a,this.nonce,h,v);default:o=new Fc(l,u,r,d,s,a,h,v);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||e)(Fe(oy),Fe(ay),Fe(ph),Fe(FO),Fe(et),Fe(Ia),Fe(Ze),Fe(km),Fe(Po,8))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Fh=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(Rl[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Mf(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(Mf(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Ae(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;let i=Rl[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=Rl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(Or.DashCase|Or.Important)?e.style.setProperty(t,n,r&Or.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Or.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e=="string"&&(e=Ji().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Mf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var UO=class extends Fh{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,a,l),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=cy(r.id,u);for(let h of u){let v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=h,this.shadowRoot.appendChild(v)}let d=r.getExternalStyles?.();if(d)for(let h of d){let v=jc(h,i);s&&v.setAttribute("nonce",s),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Fc=class extends Fh{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,i,o,s,a,l){super(e,i,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=l?cy(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 Fc{contentAttr;hostAttr;constructor(e,t,n,r,i,o,s,a,l){let u=r+"-"+n.id;super(e,t,n,i,o,s,a,l,u),this.contentAttr=VO(u),this.hostAttr=BO(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}},HO=(()=>{class e extends sy{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||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})(),Ff=["alt","control","meta","shift"],$O={"\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"},zO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},qO=(()=>{class e extends sy{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ji().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=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Ff.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,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=$O[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"),Ff.forEach(s=>{if(s!==i){let a=zO[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac})}return e})();function GO(e){return QT(WO(e))}function WO(e){return{appProviders:[...XO,...e?.providers??[]],platformProviders:JO}}function ZO(){RO.makeCurrent()}function YO(){return new Ii}function KO(){return xx(document),document}var JO=[{provide:Ia,useValue:ny},{provide:Pm,useValue:ZO,multi:!0},{provide:et,useFactory:KO,deps:[]}],XO=[{provide:Zu,useValue:"root"},{provide:Ii,useFactory:YO,deps:[]},{provide:Mc,useClass:HO,multi:!0,deps:[et]},{provide:Mc,useClass:qO,multi:!0,deps:[et]},Lf,ay,oy,{provide:En,useExisting:Lf},{provide:OO,useClass:kO,deps:[]},[]],uy=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=_e({token:e,factory:function(n){let r=null;return n?r=new(n||e):r=Fe(QO),r},providedIn:"root"})}return e})(),QO=(()=>{class e extends uy{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case jn.NONE:return r;case jn.HTML:return Cr(r,"HTML")?sr(r):Gm(this._doc,String(r)).toString();case jn.STYLE:return Cr(r,"Style")?sr(r):r;case jn.SCRIPT:if(Cr(r,"Script"))return sr(r);throw new Ae(5200,!1);case jn.URL:return Cr(r,"URL")?sr(r):mh(String(r));case jn.RESOURCE_URL:if(Cr(r,"ResourceURL"))return sr(r);throw new Ae(5201,!1);default:throw new Ae(5202,!1)}}bypassSecurityTrustHtml(n){return $x(n)}bypassSecurityTrustStyle(n){return zx(n)}bypassSecurityTrustScript(n){return qx(n)}bypassSecurityTrustUrl(n){return Gx(n)}bypassSecurityTrustResourceUrl(n){return Wx(n)}static \u0275fac=function(n){return new(n||e)(Fe(et))};static \u0275prov=_e({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eD="9.10.13",xt=class Vc{static SDK_VERSION=eD;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 t=Vc.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");Vc.SDK_VERSION_CODE=parseInt(t,10)}},yo={apiURL:"https://api.sdk.letscooee.com",debug:!1,mode:"production",styleURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${xt.SDK_VERSION}/dist/widget.min.css`,widgetURL:`https://cdn.jsdelivr.net/npm/@letscooee/web-sdk@${xt.SDK_VERSION}/dist/widget.min.js`},Qt=yn(Kb()),cn=class{static log(...e){Qt.default.info(...e)}static debug(...e){Qt.default.debug(...e)}static error(...e){Qt.default.error(...e)}static warn(...e){Qt.default.warn(...e)}static info(...e){Qt.default.info(...e)}static trace(...e){Qt.default.trace(...e)}};function tD(e=xt.LOG_PREFIX){Qt.default.useDefaults({formatter:function(n){n.unshift(`${e} (v${xt.SDK_VERSION}):`)}});let t=nD();(t==="1"||t==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Qt.default.setLevel(Qt.default[localStorage.cooeeLogLevel]):Qt.default.setLevel(yo.debug?Qt.default.TRACE:Qt.default.OFF)}function nD(){return new URL(location.href).searchParams?.get("cooee-debug")}var Jo=yn(Ng()),rD={providers:[HT()]},Nl=yn(So()),NM=yn(Jb()),hy=class{gaEnabled;gaMeasurementID;pixelPush;website;currencyCount;money;storefrontToken;skipItemAttribute;currency;static get(){return window.CooeeSDK.config}update(e){return e??={},this.gaEnabled=e.gaEnabled,this.gaMeasurementID=e.gaMeasurementID,this.pixelPush=e.pixelPush,this.website=e.website??{},this.currencyCount=e.currencyCount??0,this.money=e.money,this.currency=e.currency,this.storefrontToken=e.storefrontToken,this.skipItemAttribute=e.skipItemAttribute,this}},dy=Object.prototype.toString;function Vh(e){switch(dy.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ur(e,Error)}}function ki(e,t){return dy.call(e)===`[object ${t}]`}function fy(e){return ki(e,"ErrorEvent")}function Vf(e){return ki(e,"DOMError")}function iD(e){return ki(e,"DOMException")}function Hn(e){return ki(e,"String")}function Bh(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Uh(e){return e===null||Bh(e)||typeof e!="object"&&typeof e!="function"}function vi(e){return ki(e,"Object")}function $a(e){return typeof Event<"u"&&Ur(e,Event)}function oD(e){return typeof Element<"u"&&Ur(e,Element)}function sD(e){return ki(e,"RegExp")}function za(e){return!!(e&&e.then&&typeof e.then=="function")}function aD(e){return vi(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Ur(e,t){try{return e instanceof t}catch{return!1}}function py(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function hi(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Bf(e,t){if(!Array.isArray(e))return"";let n=[];for(let r=0;r<e.length;r++){let i=e[r];try{py(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function lD(e,t,n=!1){return Hn(e)?sD(t)?t.test(e):Hn(t)?n?e===t:e.includes(t):!1:!1}function qa(e,t=[],n=!1){return t.some(r=>lD(e,r,n))}function cD(e,t,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!Ur(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=uD(Bc(e,t,i,s.originalException,r,o.exception.values,a,0),n))}function Bc(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let l=[...o];if(Ur(r[i],Error)){Uf(s,a);let u=e(t,r[i]),d=l.length;Hf(u,i,d,a),l=Bc(e,t,n,r[i],i,[u,...l],u,d)}return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(Ur(u,Error)){Uf(s,a);let h=e(t,u),v=l.length;Hf(h,`errors[${d}]`,v,a),l=Bc(e,t,n,u,i,[h,...l],h,v)}}),l}function Uf(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ye(F(F({},e.mechanism),e.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:t})}function Hf(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=Ye(F({},e.mechanism),{type:"chained",source:t,exception_id:n,parent_id:r})}function uD(e,t){return e.map(n=>(n.value&&(n.value=hi(n.value,t)),n))}var Rr="8.18.0",Be=globalThis;function Hh(e,t,n){let r=n||Be,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Rr]=i[Rr]||{};return o[e]||(o[e]=t())}var $h=Be,hD=80;function gy(e,t={}){if(!e)return"<unknown>";try{let n=e,r=5,i=[],o=0,s=0,a=" > ",l=a.length,u,d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||hD;for(;n&&o++<r&&(u=dD(n,d),!(u==="html"||o>1&&s+i.length*l+u.length>=h));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function dD(e,t){let n=e,r=[];if(!n||!n.tagName)return"";if($h.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=t&&t.length?t.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&&Hn(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 fD(){try{return $h.document.location.href}catch{return""}}function pD(e){if(!$h.HTMLElement)return null;let t=e,n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}var jo=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,gD="Sentry Logger ",Uc=["debug","info","warn","error","log","assert","trace"],Js={};function zh(e){if(!("console"in Be))return e();let t=Be.console,n={},r=Object.keys(Js);r.forEach(i=>{let o=Js[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function _D(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return jo?Uc.forEach(n=>{t[n]=(...r)=>{e&&zh(()=>{Be.console[n](`${gD}[${n}]:`,...r)})}}):Uc.forEach(n=>{t[n]=()=>{}}),t}var we=_D(),mD=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function vD(e){return e==="http"||e==="https"}function Ga(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function yD(e){let t=mD.exec(e);if(!t){zh(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",o="",s="",a=""]=t.slice(1),l="",u=a,d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){let h=u.match(/^\d+/);h&&(u=h[0])}return _y({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function _y(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function bD(e){if(!jo)return!0;let{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(we.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?vD(r)?t&&isNaN(parseInt(t,10))?(we.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(we.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(we.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function wD(e){let t=typeof e=="string"?yD(e):_y(e);if(!(!t||!bD(t)))return t}var Cn=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function Ct(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);typeof i=="function"&&my(i,r),e[t]=i}function Hr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{jo&&we.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function my(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,Hr(e,"__sentry_original__",t)}catch{}}function qh(e){return e.__sentry_original__}function ED(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function vy(e){if(Vh(e))return F({message:e.message,name:e.name,stack:e.stack},zf(e));if($a(e)){let t=F({type:e.type,target:$f(e.target),currentTarget:$f(e.currentTarget)},zf(e));return typeof CustomEvent<"u"&&Ur(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function $f(e){try{return oD(e)?gy(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function zf(e){if(typeof e=="object"&&e!==null){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function xD(e,t=40){let n=Object.keys(vy(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return hi(r,t);for(let i=n.length;i>0;i--){let o=n.slice(0,i).join(", ");if(!(o.length>t))return i===n.length?o:hi(o,t)}return""}function un(e){return Hc(e,new Map)}function Hc(e,t){if(SD(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let i of Object.keys(e))typeof e[i]<"u"&&(r[i]=Hc(e[i],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];return t.set(e,r),e.forEach(i=>{r.push(Hc(i,t))}),r}return e}function SD(e){if(!vi(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var $r="?",qf=/\(error: (.*)\)/,Gf=/captureMessage|captureException/;function CD(...e){let t=e.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=qf.test(l)?l.replace(qf,"$1"):l;if(!u.match(/\S*Error: /)){for(let d of t){let h=d(u);if(h){o.push(h);break}}if(o.length>=50+i)break}}return ID(o.slice(i))}}function ID(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(Xo(t).function||"")&&t.pop(),t.reverse(),Gf.test(Xo(t).function||"")&&(t.pop(),Gf.test(Xo(t).function||"")&&t.pop()),t.slice(0,50).map(n=>Ye(F({},n),{filename:n.filename||Xo(t).filename,function:n.function||$r}))}function Xo(e){return e[e.length-1]||{}}var Pl="<anonymous>";function gr(e){try{return!e||typeof e!="function"?Pl:e.name||Pl}catch{return Pl}}function Wf(e){let t=e.exception;if(t){let n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}var bs={},Zf={};function Yr(e,t){bs[e]=bs[e]||[],bs[e].push(t)}function Kr(e,t){Zf[e]||(t(),Zf[e]=!0)}function pn(e,t){let n=e&&bs[e];if(n)for(let r of n)try{r(t)}catch(i){jo&&we.error(`Error while triggering instrumentation handler.
|
|
18
18
|
Type: ${e}
|
|
19
19
|
Name: ${gr(r)}
|
|
@@ -76,5 +76,5 @@ Url: ${ea(e)}`),!0)}function IR(e,t){return e.type||!t||!t.length?!1:RR(e).some(
|
|
|
76
76
|
super.ngOnDestroy();
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
`}var Cu=!1;function kL(e,t,n){let r=e[t];if(Cu&&typeof r!="function")throw new Error(`${e.constructor.name} is using untilDestroyed but doesn't implement ${t}`);W0(e,n),e[t]=function(){r.apply(this,arguments),Z0(this,n),e[t]=r}}function AL(e,t){return n=>{let r=G0(t);typeof t=="string"?kL(e,t,r):(Cu&&LL(e),W0(e,r));let i=e[r];return Cu&&RL(e,i),n.pipe(fi(i))}}function LL(e){let t=Object.getPrototypeOf(e);if(!(q0 in t))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}var ML=class Iu{engagementTrigger;isMobile=window.CooeeSDK.uaParser.getDevice().type==="mobile";ngOnInit(){this.engagementTrigger=this.triggerContext?.triggerData}static \u0275fac=function(t){return new(t||Iu)};static \u0275cmp=At({type:Iu,selectors:[["cooee-base-video"]],inputs:{triggerContext:"triggerContext"},decls:0,vars:0,template:function(t,n){},encapsulation:2})},Ql=yn(So()),jL=e=>({active:e}),FL=(e,t)=>t.mID;function VL(e,t){if(e&1&&He(0,"img",9),e&2){let n=t.$implicit,r=le(2);Le("src",n.url,on)("alt",r.selectedItem.name)}}function BL(e,t){if(e&1&&Wt(0,VL,1,2,"img",9,Ni),e&2){let n=le();Zt(n.selectedItem.imgs)}}function UL(e,t){if(e&1&&He(0,"img",9),e&2){let n=le();Le("src",n.selectedItem.imageURL,on)("alt",n.selectedItem.name)}}function HL(e,t){if(e&1){let n=Bt();X(0,"a",18),lt("click",function(r){let i=dt(n).$implicit;return le(2).changeItem(i),r.stopPropagation(),ft(r.preventDefault())}),He(1,"img",19),Q()}if(e&2){let n=t.$implicit,r=le(2);K(),Le("src",n.imageURL,on)("alt",n.name)("ngClass",zv(3,jL,n.mID===r.selectedItem.mID+""))}}function $L(e,t){if(e&1&&(X(0,"span",16),nt(1,"Selected Product"),Q(),X(2,"div",8),Wt(3,HL,2,5,"a",17,Ni),Q()),e&2){let n=le();K(3),Zt(n.items)}}function zL(e,t){if(e&1){let n=Bt();X(0,"a",23),lt("click",function(r){let i=dt(n).$implicit,o=le(2);return ft(o.changeVariant(r,i))}),X(1,"span",24),nt(2),Q()()}if(e&2){let n=t.$implicit,r=le(2);Va("lc-selected-variant",(r.selectedVariant==null?null:r.selectedVariant.mID)===n.mID),K(2),Ba(n.name)}}function qL(e,t){if(e&1&&(X(0,"span",20),nt(1,"Select Variant"),Q(),X(2,"div",21),Wt(3,zL,3,3,"a",22,FL),Q()),e&2){let n=le();K(3),Zt(n.selectedItem.vars)}}function GL(e,t){if(e&1&&(X(0,"div",25),nt(1,"Description"),Q(),He(2,"div",26),vn(3,"safeHtml")),e&2){let n=le();K(2),Le("innerHTML",Pn(3,1,n.selectedItem.desc),Oi)}}function WL(e,t){e&1&&nt(0," Open Cart ")}function ZL(e,t){e&1&&nt(0," Add To Cart ")}var YL=class Tu{selectedItem;items;closeModel=new Qe;performCTA=new Qe;atcClicked=!1;selectedVariant=null;ClickActionType=Ql.ClickActionType;ngOnInit(){this.updateSelectedVariant()}closeDialog(){this.closeModel.emit()}clickAddToCart(t){this.performCTA.emit({item:t,cta:this.atcClicked?Ql.ClickActionType.OPEN_CART:Ql.ClickActionType.ADD_TO_CART}),this.atcClicked=!0}async changeItem(t){this.selectedItem=t,this.updateSelectedVariant()}changeVariant(t,n){t.stopPropagation(),t.preventDefault(),this.selectedVariant=n,this.selectedItem.selectedOrFirstVariant.value=this.selectedVariant}updateSelectedVariant(){this.selectedVariant=this.selectedItem.selectedOrFirstVariant.value}static \u0275fac=function(t){return new(t||Tu)};static \u0275cmp=At({type:Tu,selectors:[["cooee-product-modal"]],inputs:{selectedItem:"selectedItem",items:"items"},outputs:{closeModel:"closeModel",performCTA:"performCTA"},decls:27,vars:11,consts:[[1,"lc-card-wrapper"],[1,"lc-card-header"],[1,"lc-header"],[1,"lc-close-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","fill","#000"],["d","M0 0h24v24H0V0z","fill","none"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"],[1,"lc-card-content"],[1,"lc-image-strip"],[1,"w-28","h-28","object-contain",3,"src","alt"],[1,"lc-inner-body"],[1,"lc-item-name"],[1,"lc-item-price",3,"innerHTML"],[1,"lc-card-footer"],[1,"lc-cta-button",3,"click"],[1,"lc-more-info-button",3,"click"],[1,"lc-selected-product-title"],["href","#"],["href","#",3,"click"],[1,"product-selector",3,"src","alt","ngClass"],[1,"lc-selected-variant-title"],[1,"lc-variant-list"],["href","#",1,"lc-variant",3,"lc-selected-variant"],["href","#",1,"lc-variant",3,"click"],[1,"truncate","max-w-[200px]"],[1,"lc-description-title"],[1,"lc-description",3,"innerHTML"]],template:function(t,n){t&1&&(X(0,"div",0)(1,"div",1)(2,"div",2),nt(3,"Shop Now"),Q(),X(4,"button",3),lt("click",function(){return n.closeDialog()}),fr(),X(5,"svg",4),He(6,"path",5)(7,"path",6),Q()()(),Ms(),X(8,"div",7)(9,"div",8),at(10,BL,2,0)(11,UL,1,2,"img",9),Q(),X(12,"div",10)(13,"div",11),nt(14),Q(),He(15,"span",12),vn(16,"cooeeCurrency"),vn(17,"safeHtml"),at(18,$L,5,0)(19,qL,5,0)(20,GL,4,3),Q()(),X(21,"div",13)(22,"button",14),lt("click",function(){return n.clickAddToCart(n.selectedItem)}),at(23,WL,1,0)(24,ZL,1,0),Q(),X(25,"button",15),lt("click",function(){return n.performCTA.emit({item:n.selectedItem,cta:n.ClickActionType.GO_TO_PRODUCT})}),nt(26," More Info "),Q()()()),t&2&&(K(10),ot(n.selectedItem.imgs!=null&&n.selectedItem.imgs.length?10:11),K(4),Ba(n.selectedItem.name),K(),Le("innerHTML",Pn(17,9,Pn(16,7,n.selectedVariant==null||n.selectedVariant.price==null?null:n.selectedVariant.price.d)),Oi),K(3),ot(n.items.length>1?18:-1),K(),ot(n.selectedItem.vars[0]!=null&&n.selectedItem.vars[0].name!=="Default Title"?19:-1),K(),ot(n.selectedItem.desc?20:-1),K(3),ot(n.atcClicked?23:24))},dependencies:[Ya,Za,Ha],styles:["[_nghost-%COMP%]{display:block;background:#fff}.lc-card-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;height:100%;overflow:auto}.lc-card-header[_ngcontent-%COMP%]{display:var(--header-display, flex);flex-direction:row;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid var(--lc-color-gray-300)}.lc-header[_ngcontent-%COMP%]{font-size:24px;font-weight:500;color:#000}.lc-close-button[_ngcontent-%COMP%]{background:transparent;border:none;width:36px;height:36px}.lc-close-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#000000b3}.lc-card-content[_ngcontent-%COMP%]{flex:1;overflow-y:auto}.lc-inner-body[_ngcontent-%COMP%]{padding:16px;display:flex;flex-direction:column;gap:8px}.lc-image-strip[_ngcontent-%COMP%]{width:100%;display:flex;overflow-x:auto;gap:.5rem;flex-wrap:nowrap}.lc-image-strip[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto;height:200px}.lc-image-strip[_ngcontent-%COMP%] .product-selector[_ngcontent-%COMP%]{height:100px;flex-shrink:0;padding:2px}.lc-image-strip[_ngcontent-%COMP%] .product-selector.active[_ngcontent-%COMP%]{border:red solid 1px}.lc-item-name[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:normal;color:#000}.lc-item-price[_ngcontent-%COMP%]{font-size:18px;font-weight:500;color:#000}.lc-variant-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.5rem;width:100%}.lc-variant[_ngcontent-%COMP%]{padding:4px 8px;border-radius:4px;background-color:#f3f4f6;color:#1f2937;font-size:12px;cursor:pointer;border:1px solid #e5e7eb;display:flex;align-items:center;gap:4px;text-decoration:none}.lc-selected-variant[_ngcontent-%COMP%]{border:1px solid black;color:#000}.lc-description-title[_ngcontent-%COMP%], .lc-selected-product-title[_ngcontent-%COMP%], .lc-selected-variant-title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;margin-top:8px;line-height:normal;color:#000}.lc-description[_ngcontent-%COMP%]{line-height:normal;color:#000}.lc-card-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:12px;background-color:#0000004d;box-shadow:0 4px 6px #52525b4d;gap:12px}.lc-cta-button[_ngcontent-%COMP%], .lc-more-info-button[_ngcontent-%COMP%]{width:50%;padding:12px;border:none;border-radius:.5rem;font-weight:600;display:flex;justify-content:center;cursor:pointer;font-size:16px}.lc-cta-button[_ngcontent-%COMP%]{background-color:#000;color:#fff}.lc-more-info-button[_ngcontent-%COMP%]{background-color:#fff;color:#000}"]})},KL=class Ou{width;static \u0275fac=function(t){return new(t||Ou)};static \u0275cmp=At({type:Ou,selectors:[["cooee-video-progress-bar"]],inputs:{width:"width"},decls:5,vars:2,consts:[[1,"lc:absolute","lc:top-1","lc:w-full","lc:z-10"],[1,"lc:px-2"],[1,"lc:h-1","lc:w-full","lc:bg-gray-700","lc:mb-2"],[1,"lc:h-1","lc:bg-pink-500"]],template:function(t,n){t&1&&(X(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),He(4,"div"),Q()()()()),t&2&&(K(3),Fa("width",n.width,"%"))},encapsulation:2})},Og=yn(So());function JL(e,t){e&1&&nt(0," Open Cart ")}function XL(e,t){e&1&&nt(0," Add To Cart ")}var QL=class Du{item;performCTA=new Qe;atcClicked=!1;clickAddToCart(t){t.stopPropagation(),this.performCTA.emit({item:this.item,cta:this.atcClicked?Og.ClickActionType.OPEN_CART:Og.ClickActionType.ADD_TO_CART}),this.atcClicked=!0}static \u0275fac=function(t){return new(t||Du)};static \u0275cmp=At({type:Du,selectors:[["cooee-product-card"]],inputs:{item:"item"},outputs:{performCTA:"performCTA"},decls:13,vars:11,consts:[[1,"lc-item-card"],[1,"lc-card-content"],[1,"lc-item-image",3,"alt","src"],[1,"lc-product-details"],[1,"lc-item-name"],[1,"lc-item-price",3,"innerHTML"],[1,"lc-cta-button",3,"click"]],template:function(t,n){if(t&1){let r=Bt();X(0,"div",0)(1,"div",1),He(2,"img",2),X(3,"div",3)(4,"div",4),nt(5),Q(),vr(6),He(7,"div",5),vn(8,"cooeeCurrency"),vn(9,"safeHtml"),Q()(),X(10,"button",6),lt("click",function(i){return dt(r),ft(n.clickAddToCart(i))}),at(11,JL,1,0)(12,XL,1,0),Q()()}if(t&2){K(2),Pi("alt",n.item.name),Le("src",n.item.imageURL,on),K(3),Nn(" ",n.item.name," ");let r=n.item.selectedOrFirstVariant.value.price.d;K(2),Le("innerHTML",Pn(9,9,Pn(8,7,r)),Oi),K(3),Va("atc-clicked",n.atcClicked),K(),ot(n.atcClicked?11:12)}},dependencies:[Za,Ya],styles:["[_nghost-%COMP%]{display:block;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:#ffffff80;border-radius:7px;cursor:pointer}.lc-item-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;padding:8px}.lc-card-content[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%;align-items:start}.lc-item-image[_ngcontent-%COMP%]{width:70px;height:70px;object-fit:cover;box-sizing:border-box;border-radius:7px}.lc-product-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3.5px;font-size:10.5px}.lc-item-name[_ngcontent-%COMP%]{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:normal;color:#000}.lc-item-price[_ngcontent-%COMP%]{font-size:16px;line-height:normal;color:#000}.lc-cta-button[_ngcontent-%COMP%]{padding:12px 8px;border:none;border-radius:8px;width:100%;background:#000;text-align:center;font-weight:500;cursor:pointer;color:#fff;font-size:16px}.lc-cta-button.atc-clicked[_ngcontent-%COMP%]{background:#000}"]})},eM=["swiperContainer"],tM=["videoEl"],nM=(e,t)=>t.url,rM=(e,t)=>t.mID;function iM(e,t){if(e&1&&He(0,"source",14),e&2){let n=t.$implicit;Pi("type",n.mimeType),Le("src",n.url,on)}}function oM(e,t){e&1&&Ah(0)}function sM(e,t){if(e&1){let n=Bt();He(0,"cooee-video-progress-bar",17),X(1,"div",18)(2,"cooee-mute-toggle",19),lt("toggled",function(){dt(n);let r=le(2);return ft(r.toggleMute())}),Q(),at(3,oM,1,0,"ng-container",10),Q()}if(e&2){let n=le().$index,r=Un(4),i=le(),o=Un(11);Le("width",i.videoProgress[n]||0),K(2),Le("muted",i.muted)("videoEl",r),K(),Le("ngTemplateOutlet",o)}}function aM(e,t){if(e&1){let n=Bt();X(0,"cooee-product-card",22),lt("performCTA",function(r){dt(n);let i=le(2).$implicit,o=le();return ft(o.performClickToAction(r,i))})("click",function(){let r=dt(n).$implicit,i=le(2).$implicit,o=le();return ft(o.productCardClicked(r,i))}),Q()}if(e&2){let n=t.$implicit;Le("item",n)}}function lM(e,t){if(e&1&&(X(0,"div",15)(1,"div",20),Wt(2,aM,1,1,"cooee-product-card",21,rM),Q()()),e&2){let n=le().$implicit;K(2),Zt(n.items)}}function cM(e,t){if(e&1){let n=Bt();X(0,"cooee-product-modal",23),lt("performCTA",function(r){dt(n);let i=le(2);return ft(i.performClickToAction(r,i.selectedVideo))})("closeModel",function(){dt(n);let r=le(2);return ft(r.productModalClosed())}),Q()}if(e&2){let n=le(2);Le("selectedItem",n.selectedItem)("items",n.selectedVideo.items)}}function uM(e,t){if(e&1){let n=Bt();X(0,"div",6)(1,"div",11)(2,"div",12)(3,"video",13,2),lt("timeupdate",function(r){let i=dt(n).$index,o=le();return ft(o.updateProgress(r,i))})("click",function(){let r=dt(n).$index,i=le();return ft(i.currentIndex===r&&i.toggleMute())})("ended",function(){dt(n);let r=Un(4),i=le();return ft(i.onVideoEnded(r))}),Wt(5,iM,1,2,"source",14,nM),Q(),at(7,sM,4,4)(8,lM,4,0,"div",15),Q(),at(9,cM,1,2,"cooee-product-modal",16),Q()()}if(e&2){let n=t.$implicit,r=t.$index,i=le();K(3),Le("ngClass",i.viewTemplateClassName)("autoplay",i.currentIndex===r)("muted",i.muted)("poster",n.thumbnail,on),ja("data-video-id",n.id),K(2),Zt(n.sources),K(2),ot(i.currentIndex===r?7:-1),K(),ot(n.items.length&&i.currentIndex===r?8:-1),K(),ot(i.selectedItem&&i.currentIndex===r?9:-1)}}function hM(e,t){e&1&&Ah(0)}function dM(e,t){if(e&1){let n=Bt();X(0,"button",24),lt("click",function(){dt(n);let r=le();return ft(r.close())}),fr(),X(1,"svg",25),He(2,"path",26)(3,"path",27),Q()()}}var Sr=class extends ML{constructor(e,t,n,r){super(),this.cdr=e,this.elementRef=t,this.dialogRef=n,this.data=r,this.videos=r.videos,this.currentIndex=r.currentIndex,this.triggerContext=r.triggerContext}videos=[];currentIndex=0;swiperContainerRef;videoElements;muted=!1;videoProgress=[];selectedItem=null;selectedVideo;swiperInstance;detailPopupTemplate;viewTemplateClassName="lc-video-only-view";resizeDebouncer=new wL(this.onResize.bind(this));onResize(){this.swiperInstance?.destroy?.(),this.reInitSwiper()}ngOnInit(){super.ngOnInit(),this.detailPopupTemplate=this.engagementTrigger?.content?.videoConfig?.detailPopup.template??"VIDEO_ONLY_VIEW";let e=this.elementRef.nativeElement.shadowRoot,t=hy.get().website.commonCSS;switch(eo.injectRawCSS(t,e),eo.injectStylesheet(yo.styleURL,e),eo.injectSwiperCSS(e),this.detailPopupTemplate){case"PRODUCT_DETAIL_VIEW":this.selectItemForDetailView(),this.viewTemplateClassName="lc-product-detail-view";break;case"VIDEO_ONLY_VIEW":this.viewTemplateClassName="lc-video-only-view";break}}ngAfterViewInit(){oc(this.getCurrentVideoElement(),"loadeddata").pipe(AL(this)).subscribe(()=>{this.initSwiper()})}ngOnDestroy(){this.swiperInstance?.destroy?.(),this.resizeDebouncer.destroy()}close(e=this.videos[this.currentIndex],t=this.currentIndex){let n=this.getCurrentVideoElement();this.dialogRef.close({lastVideo:e,lastVideoIndex:t,lastVideoDuration:n?.currentTime})}performClickToAction(e,t){this.data.onCTAPerformed({cta:e.cta,item:e.item,video:t})}getCurrentVideoElement(){return this.videoElements.get(this.currentIndex)?.nativeElement}moveToNextVideo(){this.swiperInstance.slideTo(this.currentIndex+1)}productModalClosed(){this.selectedItem=null,this.selectedVideo=void 0,this.swiperInstance.enable()}pauseAll(){this.videoElements.forEach(e=>e.nativeElement.pause())}async toggleMute(){this.muted=!this.muted,this.videoElements.forEach(t=>t.nativeElement.muted=this.muted);let e=[this.muted?xt.EVENT_VIDEO_MUTED:xt.EVENT_VIDEO_UNMUTED,{current:this.currentVideoProps()},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(e),await Ep.set(bp.MUTED,this.muted),this.cdr.detectChanges()}playActiveVideo(){this.pauseAll();let e=this.getCurrentVideoElement();e&&(e.currentTime=1,e.play().then(async()=>{this.muted=await Ep.get(bp.MUTED,!1),e.muted=this.muted}))}onVideoEnded(e){if(this.currentIndex<this.videos.length-1)this.selectedItem?(e.currentTime=0,e.play()):this.moveToNextVideo();else{let t=this.getPreviousVideoDataForEvent(),n=[xt.EVENT_LAST_VIDEO_ENDED,{previous:t},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(n),e.currentTime=0,e.play()}}updateProgress(e,t){let n=e.target;this.videoProgress[t]=n.currentTime/n.duration*100,this.cdr.detectChanges()}onSlideChange(e){let t=this.getPreviousVideoDataForEvent();this.currentIndex=e.realIndex,this.playActiveVideo(),this.detailPopupTemplate==="PRODUCT_DETAIL_VIEW"?this.selectItemForDetailView():(this.selectedItem=null,delete this.selectedVideo);let n=this.currentVideoProps(),r={previous:t,current:n},i=[xt.EVENT_VIDEO_CHANGE,r,{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(i)}productCardClicked(e,t){let n={videoID:t.id,videoIndex:this.currentIndex},r=[xt.EVENT_MORE_ITEM_INFO_CLICKED,{current:n},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(r),this.selectedItem=e,this.selectedVideo=t,this.swiperInstance.disable()}reInitSwiper(){this.initSwiper(),this.selectedItem&&this.swiperInstance.disable()}initSwiper(){let e=this.isMobile?1:"auto",t=0;this.detailPopupTemplate==="PRODUCT_DETAIL_VIEW"&&(e="auto",t=10),this.swiperInstance=new window.CooeeSDK.Swiper(this.swiperContainerRef.nativeElement,{direction:this.isMobile?"vertical":"horizontal",effect:this.isMobile?"slide":"coverflow",slidesPerView:e,initialSlide:this.currentIndex,centeredSlides:!0,spaceBetween:t,coverflowEffect:{rotate:0,stretch:0,depth:400,modifier:1,slideShadows:!1},navigation:{nextEl:this.swiperContainerRef.nativeElement.querySelector(".swiper-button-next"),prevEl:this.swiperContainerRef.nativeElement.querySelector(".swiper-button-prev")}}),this.swiperInstance.on("slideChange",n=>{this.onSlideChange(n),this.cdr.detectChanges()}),this.playActiveVideo()}currentVideoProps(){return{videoID:this.videos[this.currentIndex].id,videoIndex:this.currentIndex}}getPreviousVideoDataForEvent(){let e=this.currentVideoProps(),t=this.videoElements.find(r=>r.nativeElement.dataset.videoId===this.videos[this.currentIndex].id)?.nativeElement;e.playedTillMS=Math.ceil(t?.currentTime*1e3);let n=t?.duration*1e3;return e.playedTillPercent=+(e.playedTillMS/n).toFixed(4),e}selectItemForDetailView(){this.selectedVideo=this.videos[this.currentIndex],this.selectedItem=this.isMobile?null:this.selectedVideo?.items?.[0]??null}};Pd(Sr,"\u0275fac",function(e){return new(e||Sr)(Ot(Ua),Ot(Vt),Ot(Ss),Ot(z0))}),Pd(Sr,"\u0275cmp",At({type:Sr,selectors:[["cooee-video-swiper-dialog"]],viewQuery:function(e,t){if(e&1&&(Zs(eM,5),Zs(tM,5)),e&2){let n;Ys(n=Ks())&&(t.swiperContainerRef=n.first),Ys(n=Ks())&&(t.videoElements=n)}},inputs:{videos:"videos",currentIndex:"currentIndex"},features:[Ri],decls:12,vars:2,consts:[["swiperContainer",""],["closeButtonTemplate",""],["videoEl",""],[1,"lc-shadow-inner",3,"ngClass"],[1,"swiper-container"],[1,"swiper-wrapper"],[1,"swiper-slide"],[1,"swiper-button-prev"],[1,"swiper-button-next"],[1,"lc-desktop-controls"],[4,"ngTemplateOutlet"],[1,"lc-video-modal-row"],[1,"lc-video-container"],["playsinline","","preload","metadata",1,"lc-video-el",3,"timeupdate","click","ended","ngClass","autoplay","muted","poster"],[3,"src","type"],[1,"lc-card-container"],[3,"selectedItem","items"],[3,"width"],[1,"lc-video-controls"],[3,"toggled","muted","videoEl"],[1,"lc-card-scroll"],[3,"item"],[3,"performCTA","click","item"],[3,"performCTA","closeModel","selectedItem","items"],[1,"lc-close-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#fff"],["d","M0 0h24v24H0V0z","fill","none"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"]],template:function(e,t){if(e&1&&(X(0,"div",3)(1,"div",4,0)(3,"div",5),Wt(4,uM,10,8,"div",6,Ni),Q(),He(6,"div",7)(7,"div",8),Q(),X(8,"div",9),at(9,hM,1,0,"ng-container",10),Q()(),at(10,dM,4,0,"ng-template",null,1,MT)),e&2){let n=Un(11);Le("ngClass",t.viewTemplateClassName),K(4),Zt(t.videos),K(5),Le("ngTemplateOutlet",n)}},dependencies:[QL,YL,E0,KL,CO,Ha],styles:[`:host{display:flex}.lc-shadow-inner{position:relative;width:100vw;height:100vh;display:flex}@media (min-width: 768px){.lc-shadow-inner{background-color:color-mix(in oklab,#000 70%,transparent);justify-content:center;align-items:center}}.swiper-container{--swiper-navigation-size: 50px;--swiper-navigation-color: white;width:100dvw;height:100dvh}.lc-product-detail-view .swiper-container{align-items:center}@media (min-width: 768px){.swiper-container{width:100%;height:100%;max-width:90vw;max-height:90vh}}.swiper-wrapper{max-height:100%}.lc-product-detail-view .swiper-wrapper{align-items:center}@media (max-width: 768px){.swiper-button-prev,.swiper-button-next{display:none!important}}.swiper-slide{position:relative;display:flex;align-items:center;visibility:hidden}.lc-product-detail-view .swiper-slide{width:40vw!important;height:70vh!important}@media (min-width: 768px){.lc-product-detail-view .swiper-slide{min-width:650px!important}}@media (max-width: 768px){.lc-product-detail-view .swiper-slide{width:100%!important;height:100%!important}}@media (min-width: 768px){.lc-video-only-view .swiper-slide{width:fit-content!important}}@media (min-width: 768px){.swiper-slide{border-radius:12px;overflow:hidden}}.swiper-slide.swiper-slide-active,.swiper-slide.swiper-slide-prev,.swiper-slide.swiper-slide-next{visibility:visible}video{height:100%}.lc-product-detail-view video{width:100%;object-fit:cover;z-index:-1}.lc-desktop-controls{position:absolute;top:2rem;right:4rem;z-index:10;display:flex;gap:.5rem}@media (max-width: 768px){.lc-desktop-controls{display:none}}.lc-video-controls{position:absolute;top:1rem;z-index:10;right:.5rem;display:flex;gap:.25rem}.lc-video-controls .lc-close-button{display:block}@media (min-width: 768px){.lc-video-controls .lc-close-button{display:none}}.lc-close-button{border:none;display:flex;justify-content:center;align-items:center;width:40px;height:40px;background:#00000080;border-radius:100%}.lc-close-button svg{width:100%;height:100%}@media (min-width: 768px){.lc-close-button{width:48px;height:48px}}.lc-product-detail-view .lc-video-container{height:100%;position:relative}@media (min-width: 768px){.lc-product-detail-view .lc-video-container{width:50%}}.lc-video-only-view .lc-video-container{height:100%}.lc-card-container{position:absolute;bottom:12px;z-index:10;width:100%;padding-inline:12px;box-sizing:border-box}.lc-product-detail-view .lc-card-container{display:none}@media (max-width: 768px){.lc-product-detail-view .lc-card-container{display:block}}.lc-card-scroll{display:flex;overflow-x:auto;gap:12px;width:100%;scrollbar-width:none}.lc-card-scroll::-webkit-scrollbar{display:none}.lc-card-scroll cooee-product-card{flex:0 0 auto;width:80%;max-width:300px}.lc-card-scroll:has(>cooee-product-card:only-child) cooee-product-card{width:100%;max-width:none}.lc-product-detail-view .lc-video-modal-row{display:flex;justify-content:center;height:100%;width:100%}.lc-video-only-view .lc-video-modal-row{display:block;height:100%}.lc-product-detail-view cooee-product-modal{--header-display: none;width:50%;flex:1}@media (max-width: 768px){.lc-product-detail-view cooee-product-modal{--header-display: flex;width:100%;height:70dvh;position:absolute;bottom:0;z-index:2147483646}}.lc-video-only-view cooee-product-modal{width:100%;height:70dvh;z-index:2147483646;bottom:0;position:absolute}
|
|
79
|
+
`}var Cu=!1;function kL(e,t,n){let r=e[t];if(Cu&&typeof r!="function")throw new Error(`${e.constructor.name} is using untilDestroyed but doesn't implement ${t}`);W0(e,n),e[t]=function(){r.apply(this,arguments),Z0(this,n),e[t]=r}}function AL(e,t){return n=>{let r=G0(t);typeof t=="string"?kL(e,t,r):(Cu&&LL(e),W0(e,r));let i=e[r];return Cu&&RL(e,i),n.pipe(fi(i))}}function LL(e){let t=Object.getPrototypeOf(e);if(!(q0 in t))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}var ML=class Iu{engagementTrigger;isMobile=window.CooeeSDK.uaParser.getDevice().type==="mobile";ngOnInit(){this.engagementTrigger=this.triggerContext?.triggerData}static \u0275fac=function(t){return new(t||Iu)};static \u0275cmp=At({type:Iu,selectors:[["cooee-base-video"]],inputs:{triggerContext:"triggerContext"},decls:0,vars:0,template:function(t,n){},encapsulation:2})},Ql=yn(So()),jL=e=>({active:e}),FL=(e,t)=>t.mID;function VL(e,t){if(e&1&&He(0,"img",9),e&2){let n=t.$implicit,r=le(2);Le("src",n.url,on)("alt",r.selectedItem.name)}}function BL(e,t){if(e&1&&Wt(0,VL,1,2,"img",9,Ni),e&2){let n=le();Zt(n.selectedItem.imgs)}}function UL(e,t){if(e&1&&He(0,"img",9),e&2){let n=le();Le("src",n.selectedItem.imageURL,on)("alt",n.selectedItem.name)}}function HL(e,t){if(e&1){let n=Bt();X(0,"a",18),lt("click",function(r){let i=dt(n).$implicit;return le(2).changeItem(i),r.stopPropagation(),ft(r.preventDefault())}),He(1,"img",19),Q()}if(e&2){let n=t.$implicit,r=le(2);K(),Le("src",n.imageURL,on)("alt",n.name)("ngClass",zv(3,jL,n.mID===r.selectedItem.mID+""))}}function $L(e,t){if(e&1&&(X(0,"span",16),nt(1,"Selected Product"),Q(),X(2,"div",8),Wt(3,HL,2,5,"a",17,Ni),Q()),e&2){let n=le();K(3),Zt(n.items)}}function zL(e,t){if(e&1){let n=Bt();X(0,"a",23),lt("click",function(r){let i=dt(n).$implicit,o=le(2);return ft(o.changeVariant(r,i))}),X(1,"span",24),nt(2),Q()()}if(e&2){let n=t.$implicit,r=le(2);Va("lc-selected-variant",(r.selectedVariant==null?null:r.selectedVariant.mID)===n.mID),K(2),Ba(n.name)}}function qL(e,t){if(e&1&&(X(0,"span",20),nt(1,"Select Variant"),Q(),X(2,"div",21),Wt(3,zL,3,3,"a",22,FL),Q()),e&2){let n=le();K(3),Zt(n.selectedItem.vars)}}function GL(e,t){if(e&1&&(X(0,"div",25),nt(1,"Description"),Q(),He(2,"div",26),vn(3,"safeHtml")),e&2){let n=le();K(2),Le("innerHTML",Pn(3,1,n.selectedItem.desc),Oi)}}function WL(e,t){e&1&&nt(0," Open Cart ")}function ZL(e,t){e&1&&nt(0," Add To Cart ")}var YL=class Tu{selectedItem;items;closeModel=new Qe;performCTA=new Qe;atcClicked=!1;selectedVariant=null;ClickActionType=Ql.ClickActionType;ngOnInit(){this.updateSelectedVariant()}closeDialog(){this.closeModel.emit()}clickAddToCart(t){this.performCTA.emit({item:t,cta:this.atcClicked?Ql.ClickActionType.OPEN_CART:Ql.ClickActionType.ADD_TO_CART}),this.atcClicked=!0}async changeItem(t){this.selectedItem=t,this.updateSelectedVariant()}changeVariant(t,n){t.stopPropagation(),t.preventDefault(),this.selectedVariant=n,this.selectedItem.selectedOrFirstVariant.value=this.selectedVariant}updateSelectedVariant(){this.selectedVariant=this.selectedItem.selectedOrFirstVariant.value}static \u0275fac=function(t){return new(t||Tu)};static \u0275cmp=At({type:Tu,selectors:[["cooee-product-modal"]],inputs:{selectedItem:"selectedItem",items:"items"},outputs:{closeModel:"closeModel",performCTA:"performCTA"},decls:27,vars:11,consts:[[1,"lc-card-wrapper"],[1,"lc-card-header"],[1,"lc-header"],[1,"lc-close-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","fill","#000"],["d","M0 0h24v24H0V0z","fill","none"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"],[1,"lc-card-content"],[1,"lc-image-strip"],[1,"w-28","h-28","object-contain",3,"src","alt"],[1,"lc-inner-body"],[1,"lc-item-name"],[1,"lc-item-price",3,"innerHTML"],[1,"lc-card-footer"],[1,"lc-cta-button",3,"click"],[1,"lc-more-info-button",3,"click"],[1,"lc-selected-product-title"],["href","#"],["href","#",3,"click"],[1,"product-selector",3,"src","alt","ngClass"],[1,"lc-selected-variant-title"],[1,"lc-variant-list"],["href","#",1,"lc-variant",3,"lc-selected-variant"],["href","#",1,"lc-variant",3,"click"],[1,"truncate","max-w-[200px]"],[1,"lc-description-title"],[1,"lc-description",3,"innerHTML"]],template:function(t,n){t&1&&(X(0,"div",0)(1,"div",1)(2,"div",2),nt(3,"Shop Now"),Q(),X(4,"button",3),lt("click",function(){return n.closeDialog()}),fr(),X(5,"svg",4),He(6,"path",5)(7,"path",6),Q()()(),Ms(),X(8,"div",7)(9,"div",8),at(10,BL,2,0)(11,UL,1,2,"img",9),Q(),X(12,"div",10)(13,"div",11),nt(14),Q(),He(15,"span",12),vn(16,"cooeeCurrency"),vn(17,"safeHtml"),at(18,$L,5,0)(19,qL,5,0)(20,GL,4,3),Q()(),X(21,"div",13)(22,"button",14),lt("click",function(){return n.clickAddToCart(n.selectedItem)}),at(23,WL,1,0)(24,ZL,1,0),Q(),X(25,"button",15),lt("click",function(){return n.performCTA.emit({item:n.selectedItem,cta:n.ClickActionType.GO_TO_PRODUCT})}),nt(26," More Info "),Q()()()),t&2&&(K(10),ot(n.selectedItem.imgs!=null&&n.selectedItem.imgs.length?10:11),K(4),Ba(n.selectedItem.name),K(),Le("innerHTML",Pn(17,9,Pn(16,7,n.selectedVariant==null||n.selectedVariant.price==null?null:n.selectedVariant.price.d)),Oi),K(3),ot(n.items.length>1?18:-1),K(),ot(n.selectedItem.vars[0]!=null&&n.selectedItem.vars[0].name!=="Default Title"?19:-1),K(),ot(n.selectedItem.desc?20:-1),K(3),ot(n.atcClicked?23:24))},dependencies:[Ya,Za,Ha],styles:["[_nghost-%COMP%]{display:block;background:#fff}.lc-card-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;height:100%;overflow:auto}.lc-card-header[_ngcontent-%COMP%]{display:var(--header-display, flex);flex-direction:row;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid var(--lc-color-gray-300)}.lc-header[_ngcontent-%COMP%]{font-size:24px;font-weight:500;color:#000}.lc-close-button[_ngcontent-%COMP%]{background:transparent;border:none;width:36px;height:36px}.lc-close-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#000000b3}.lc-card-content[_ngcontent-%COMP%]{flex:1;overflow-y:auto;overscroll-behavior:contain}.lc-inner-body[_ngcontent-%COMP%]{padding:16px;display:flex;flex-direction:column;gap:8px}.lc-image-strip[_ngcontent-%COMP%]{width:100%;display:flex;overflow-x:auto;gap:.5rem;flex-wrap:nowrap}.lc-image-strip[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto;height:200px}.lc-image-strip[_ngcontent-%COMP%] .product-selector[_ngcontent-%COMP%]{height:100px;flex-shrink:0;padding:2px}.lc-image-strip[_ngcontent-%COMP%] .product-selector.active[_ngcontent-%COMP%]{border:red solid 1px}.lc-item-name[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:normal;color:#000}.lc-item-price[_ngcontent-%COMP%]{font-size:18px;font-weight:500;color:#000}.lc-variant-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.5rem;width:100%}.lc-variant[_ngcontent-%COMP%]{padding:4px 8px;border-radius:4px;background-color:#f3f4f6;color:#1f2937;font-size:12px;cursor:pointer;border:1px solid #e5e7eb;display:flex;align-items:center;gap:4px;text-decoration:none}.lc-selected-variant[_ngcontent-%COMP%]{border:1px solid black;color:#000}.lc-description-title[_ngcontent-%COMP%], .lc-selected-product-title[_ngcontent-%COMP%], .lc-selected-variant-title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;margin-top:8px;line-height:normal;color:#000}.lc-description[_ngcontent-%COMP%]{line-height:normal;color:#000}.lc-card-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:12px;background-color:#0000004d;box-shadow:0 4px 6px #52525b4d;gap:12px}.lc-cta-button[_ngcontent-%COMP%], .lc-more-info-button[_ngcontent-%COMP%]{width:50%;padding:12px;border:none;border-radius:.5rem;font-weight:600;display:flex;justify-content:center;cursor:pointer;font-size:16px}.lc-cta-button[_ngcontent-%COMP%]{background-color:#000;color:#fff}.lc-more-info-button[_ngcontent-%COMP%]{background-color:#fff;color:#000}"]})},KL=class Ou{width;static \u0275fac=function(t){return new(t||Ou)};static \u0275cmp=At({type:Ou,selectors:[["cooee-video-progress-bar"]],inputs:{width:"width"},decls:5,vars:2,consts:[[1,"lc:absolute","lc:top-1","lc:w-full","lc:z-10"],[1,"lc:px-2"],[1,"lc:h-1","lc:w-full","lc:bg-gray-700","lc:mb-2"],[1,"lc:h-1","lc:bg-pink-500"]],template:function(t,n){t&1&&(X(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),He(4,"div"),Q()()()()),t&2&&(K(3),Fa("width",n.width,"%"))},encapsulation:2})},Og=yn(So());function JL(e,t){e&1&&nt(0," Open Cart ")}function XL(e,t){e&1&&nt(0," Add To Cart ")}var QL=class Du{item;performCTA=new Qe;atcClicked=!1;clickAddToCart(t){t.stopPropagation(),this.performCTA.emit({item:this.item,cta:this.atcClicked?Og.ClickActionType.OPEN_CART:Og.ClickActionType.ADD_TO_CART}),this.atcClicked=!0}static \u0275fac=function(t){return new(t||Du)};static \u0275cmp=At({type:Du,selectors:[["cooee-product-card"]],inputs:{item:"item"},outputs:{performCTA:"performCTA"},decls:13,vars:11,consts:[[1,"lc-item-card"],[1,"lc-card-content"],[1,"lc-item-image",3,"alt","src"],[1,"lc-product-details"],[1,"lc-item-name"],[1,"lc-item-price",3,"innerHTML"],[1,"lc-cta-button",3,"click"]],template:function(t,n){if(t&1){let r=Bt();X(0,"div",0)(1,"div",1),He(2,"img",2),X(3,"div",3)(4,"div",4),nt(5),Q(),vr(6),He(7,"div",5),vn(8,"cooeeCurrency"),vn(9,"safeHtml"),Q()(),X(10,"button",6),lt("click",function(i){return dt(r),ft(n.clickAddToCart(i))}),at(11,JL,1,0)(12,XL,1,0),Q()()}if(t&2){K(2),Pi("alt",n.item.name),Le("src",n.item.imageURL,on),K(3),Nn(" ",n.item.name," ");let r=n.item.selectedOrFirstVariant.value.price.d;K(2),Le("innerHTML",Pn(9,9,Pn(8,7,r)),Oi),K(3),Va("atc-clicked",n.atcClicked),K(),ot(n.atcClicked?11:12)}},dependencies:[Za,Ya],styles:["[_nghost-%COMP%]{display:block;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:#ffffff80;border-radius:7px;cursor:pointer}.lc-item-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;padding:8px}.lc-card-content[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%;align-items:start}.lc-item-image[_ngcontent-%COMP%]{width:70px;height:70px;object-fit:cover;box-sizing:border-box;border-radius:7px}.lc-product-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3.5px;font-size:10.5px}.lc-item-name[_ngcontent-%COMP%]{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:normal;color:#000}.lc-item-price[_ngcontent-%COMP%]{font-size:16px;line-height:normal;color:#000}.lc-cta-button[_ngcontent-%COMP%]{padding:12px 8px;border:none;border-radius:8px;width:100%;background:#000;text-align:center;font-weight:500;cursor:pointer;color:#fff;font-size:16px}.lc-cta-button.atc-clicked[_ngcontent-%COMP%]{background:#000}"]})},eM=["swiperContainer"],tM=["videoEl"],nM=(e,t)=>t.url,rM=(e,t)=>t.mID;function iM(e,t){if(e&1&&He(0,"source",14),e&2){let n=t.$implicit;Pi("type",n.mimeType),Le("src",n.url,on)}}function oM(e,t){e&1&&Ah(0)}function sM(e,t){if(e&1){let n=Bt();He(0,"cooee-video-progress-bar",17),X(1,"div",18)(2,"cooee-mute-toggle",19),lt("toggled",function(){dt(n);let r=le(2);return ft(r.toggleMute())}),Q(),at(3,oM,1,0,"ng-container",10),Q()}if(e&2){let n=le().$index,r=Un(4),i=le(),o=Un(11);Le("width",i.videoProgress[n]||0),K(2),Le("muted",i.muted)("videoEl",r),K(),Le("ngTemplateOutlet",o)}}function aM(e,t){if(e&1){let n=Bt();X(0,"cooee-product-card",22),lt("performCTA",function(r){dt(n);let i=le(2).$implicit,o=le();return ft(o.performClickToAction(r,i))})("click",function(){let r=dt(n).$implicit,i=le(2).$implicit,o=le();return ft(o.productCardClicked(r,i))}),Q()}if(e&2){let n=t.$implicit;Le("item",n)}}function lM(e,t){if(e&1&&(X(0,"div",15)(1,"div",20),Wt(2,aM,1,1,"cooee-product-card",21,rM),Q()()),e&2){let n=le().$implicit;K(2),Zt(n.items)}}function cM(e,t){if(e&1){let n=Bt();X(0,"cooee-product-modal",23),lt("performCTA",function(r){dt(n);let i=le(2);return ft(i.performClickToAction(r,i.selectedVideo))})("closeModel",function(){dt(n);let r=le(2);return ft(r.productModalClosed())}),Q()}if(e&2){let n=le(2);Le("selectedItem",n.selectedItem)("items",n.selectedVideo.items)}}function uM(e,t){if(e&1){let n=Bt();X(0,"div",6)(1,"div",11)(2,"div",12)(3,"video",13,2),lt("timeupdate",function(r){let i=dt(n).$index,o=le();return ft(o.updateProgress(r,i))})("click",function(){let r=dt(n).$index,i=le();return ft(i.currentIndex===r&&i.toggleMute())})("ended",function(){dt(n);let r=Un(4),i=le();return ft(i.onVideoEnded(r))}),Wt(5,iM,1,2,"source",14,nM),Q(),at(7,sM,4,4)(8,lM,4,0,"div",15),Q(),at(9,cM,1,2,"cooee-product-modal",16),Q()()}if(e&2){let n=t.$implicit,r=t.$index,i=le();K(3),Le("ngClass",i.viewTemplateClassName)("autoplay",i.currentIndex===r)("muted",i.muted)("poster",n.thumbnail,on),ja("data-video-id",n.id),K(2),Zt(n.sources),K(2),ot(i.currentIndex===r?7:-1),K(),ot(n.items.length&&i.currentIndex===r?8:-1),K(),ot(i.selectedItem&&i.currentIndex===r?9:-1)}}function hM(e,t){e&1&&Ah(0)}function dM(e,t){if(e&1){let n=Bt();X(0,"button",24),lt("click",function(){dt(n);let r=le();return ft(r.close())}),fr(),X(1,"svg",25),He(2,"path",26)(3,"path",27),Q()()}}var Sr=class extends ML{constructor(e,t,n,r){super(),this.cdr=e,this.elementRef=t,this.dialogRef=n,this.data=r,this.videos=r.videos,this.currentIndex=r.currentIndex,this.triggerContext=r.triggerContext}videos=[];currentIndex=0;swiperContainerRef;videoElements;muted=!1;videoProgress=[];selectedItem=null;selectedVideo;swiperInstance;detailPopupTemplate;viewTemplateClassName="lc-video-only-view";resizeDebouncer=new wL(this.onResize.bind(this));onResize(){this.swiperInstance?.destroy?.(),this.reInitSwiper()}ngOnInit(){super.ngOnInit(),this.detailPopupTemplate=this.engagementTrigger?.content?.videoConfig?.detailPopup.template??"VIDEO_ONLY_VIEW";let e=this.elementRef.nativeElement.shadowRoot,t=hy.get().website.commonCSS;switch(eo.injectRawCSS(t,e),eo.injectStylesheet(yo.styleURL,e),eo.injectSwiperCSS(e),this.detailPopupTemplate){case"PRODUCT_DETAIL_VIEW":this.selectItemForDetailView(),this.viewTemplateClassName="lc-product-detail-view";break;case"VIDEO_ONLY_VIEW":this.viewTemplateClassName="lc-video-only-view";break}}ngAfterViewInit(){oc(this.getCurrentVideoElement(),"loadeddata").pipe(AL(this)).subscribe(()=>{this.initSwiper()})}ngOnDestroy(){this.swiperInstance?.destroy?.(),this.resizeDebouncer.destroy()}close(e=this.videos[this.currentIndex],t=this.currentIndex){let n=this.getCurrentVideoElement();this.dialogRef.close({lastVideo:e,lastVideoIndex:t,lastVideoDuration:n?.currentTime})}performClickToAction(e,t){this.data.onCTAPerformed({cta:e.cta,item:e.item,video:t})}getCurrentVideoElement(){return this.videoElements.get(this.currentIndex)?.nativeElement}moveToNextVideo(){this.swiperInstance.slideTo(this.currentIndex+1)}productModalClosed(){this.selectedItem=null,this.selectedVideo=void 0,this.swiperInstance.enable()}pauseAll(){this.videoElements.forEach(e=>e.nativeElement.pause())}async toggleMute(){this.muted=!this.muted,this.videoElements.forEach(t=>t.nativeElement.muted=this.muted);let e=[this.muted?xt.EVENT_VIDEO_MUTED:xt.EVENT_VIDEO_UNMUTED,{current:this.currentVideoProps()},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(e),await Ep.set(bp.MUTED,this.muted),this.cdr.detectChanges()}playActiveVideo(){this.pauseAll();let e=this.getCurrentVideoElement();e&&(e.currentTime=1,e.play().then(async()=>{this.muted=await Ep.get(bp.MUTED,!1),e.muted=this.muted}))}onVideoEnded(e){if(this.currentIndex<this.videos.length-1)this.selectedItem?(e.currentTime=0,e.play()):this.moveToNextVideo();else{let t=this.getPreviousVideoDataForEvent(),n=[xt.EVENT_LAST_VIDEO_ENDED,{previous:t},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(n),e.currentTime=0,e.play()}}updateProgress(e,t){let n=e.target;this.videoProgress[t]=n.currentTime/n.duration*100,this.cdr.detectChanges()}onSlideChange(e){let t=this.getPreviousVideoDataForEvent();this.currentIndex=e.realIndex,this.playActiveVideo(),this.detailPopupTemplate==="PRODUCT_DETAIL_VIEW"?this.selectItemForDetailView():(this.selectedItem=null,delete this.selectedVideo);let n=this.currentVideoProps(),r={previous:t,current:n},i=[xt.EVENT_VIDEO_CHANGE,r,{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(i)}productCardClicked(e,t){let n={videoID:t.id,videoIndex:this.currentIndex},r=[xt.EVENT_MORE_ITEM_INFO_CLICKED,{current:n},{triggerData:this.engagementTrigger}];window.CooeeSDK.events.push(r),this.selectedItem=e,this.selectedVideo=t,this.swiperInstance.disable()}reInitSwiper(){this.initSwiper(),this.selectedItem&&this.swiperInstance.disable()}initSwiper(){let e=this.isMobile?1:"auto",t=0;this.detailPopupTemplate==="PRODUCT_DETAIL_VIEW"&&(e="auto",t=10),this.swiperInstance=new window.CooeeSDK.Swiper(this.swiperContainerRef.nativeElement,{direction:this.isMobile?"vertical":"horizontal",effect:this.isMobile?"slide":"coverflow",slidesPerView:e,initialSlide:this.currentIndex,centeredSlides:!0,spaceBetween:t,coverflowEffect:{rotate:0,stretch:0,depth:400,modifier:1,slideShadows:!1},navigation:{nextEl:this.swiperContainerRef.nativeElement.querySelector(".swiper-button-next"),prevEl:this.swiperContainerRef.nativeElement.querySelector(".swiper-button-prev")}}),this.swiperInstance.on("slideChange",n=>{this.onSlideChange(n),this.cdr.detectChanges()}),this.playActiveVideo()}currentVideoProps(){return{videoID:this.videos[this.currentIndex].id,videoIndex:this.currentIndex}}getPreviousVideoDataForEvent(){let e=this.currentVideoProps(),t=this.videoElements.find(r=>r.nativeElement.dataset.videoId===this.videos[this.currentIndex].id)?.nativeElement;e.playedTillMS=Math.ceil(t?.currentTime*1e3);let n=t?.duration*1e3;return e.playedTillPercent=+(e.playedTillMS/n).toFixed(4),e}selectItemForDetailView(){this.selectedVideo=this.videos[this.currentIndex],this.selectedItem=this.isMobile?null:this.selectedVideo?.items?.[0]??null}};Pd(Sr,"\u0275fac",function(e){return new(e||Sr)(Ot(Ua),Ot(Vt),Ot(Ss),Ot(z0))}),Pd(Sr,"\u0275cmp",At({type:Sr,selectors:[["cooee-video-swiper-dialog"]],viewQuery:function(e,t){if(e&1&&(Zs(eM,5),Zs(tM,5)),e&2){let n;Ys(n=Ks())&&(t.swiperContainerRef=n.first),Ys(n=Ks())&&(t.videoElements=n)}},inputs:{videos:"videos",currentIndex:"currentIndex"},features:[Ri],decls:12,vars:2,consts:[["swiperContainer",""],["closeButtonTemplate",""],["videoEl",""],[1,"lc-shadow-inner",3,"ngClass"],[1,"swiper-container"],[1,"swiper-wrapper"],[1,"swiper-slide"],[1,"swiper-button-prev"],[1,"swiper-button-next"],[1,"lc-desktop-controls"],[4,"ngTemplateOutlet"],[1,"lc-video-modal-row"],[1,"lc-video-container"],["playsinline","","preload","metadata",1,"lc-video-el",3,"timeupdate","click","ended","ngClass","autoplay","muted","poster"],[3,"src","type"],[1,"lc-card-container"],[3,"selectedItem","items"],[3,"width"],[1,"lc-video-controls"],[3,"toggled","muted","videoEl"],[1,"lc-card-scroll"],[3,"item"],[3,"performCTA","click","item"],[3,"performCTA","closeModel","selectedItem","items"],[1,"lc-close-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#fff"],["d","M0 0h24v24H0V0z","fill","none"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"]],template:function(e,t){if(e&1&&(X(0,"div",3)(1,"div",4,0)(3,"div",5),Wt(4,uM,10,8,"div",6,Ni),Q(),He(6,"div",7)(7,"div",8),Q(),X(8,"div",9),at(9,hM,1,0,"ng-container",10),Q()(),at(10,dM,4,0,"ng-template",null,1,MT)),e&2){let n=Un(11);Le("ngClass",t.viewTemplateClassName),K(4),Zt(t.videos),K(5),Le("ngTemplateOutlet",n)}},dependencies:[QL,YL,E0,KL,CO,Ha],styles:[`:host{display:flex}.lc-shadow-inner{position:relative;width:100vw;height:100vh;display:flex}@media (min-width: 768px){.lc-shadow-inner{background-color:color-mix(in oklab,#000 70%,transparent);justify-content:center;align-items:center}}.swiper-container{--swiper-navigation-size: 50px;--swiper-navigation-color: white;width:100dvw;height:100dvh}.lc-product-detail-view .swiper-container{align-items:center}@media (min-width: 768px){.swiper-container{width:100%;height:100%;max-width:90vw;max-height:90vh}}.swiper-wrapper{max-height:100%}.lc-product-detail-view .swiper-wrapper{align-items:center}@media (max-width: 768px){.swiper-button-prev,.swiper-button-next{display:none!important}}.swiper-slide{position:relative;display:flex;align-items:center;visibility:hidden}.lc-product-detail-view .swiper-slide{width:40vw!important;height:70vh!important}@media (min-width: 768px){.lc-product-detail-view .swiper-slide{min-width:650px!important}}@media (max-width: 768px){.lc-product-detail-view .swiper-slide{width:100%!important;height:100%!important}}@media (min-width: 768px){.lc-video-only-view .swiper-slide{width:fit-content!important}}@media (min-width: 768px){.swiper-slide{border-radius:12px;overflow:hidden}}.swiper-slide.swiper-slide-active,.swiper-slide.swiper-slide-prev,.swiper-slide.swiper-slide-next{visibility:visible}video{height:100%}.lc-product-detail-view video{width:100%;object-fit:cover;z-index:-1}.lc-desktop-controls{position:absolute;top:2rem;right:4rem;z-index:10;display:flex;gap:.5rem}@media (max-width: 768px){.lc-desktop-controls{display:none}}.lc-video-controls{position:absolute;top:1rem;z-index:10;right:.5rem;display:flex;gap:.25rem}.lc-video-controls .lc-close-button{display:block}@media (min-width: 768px){.lc-video-controls .lc-close-button{display:none}}.lc-close-button{border:none;display:flex;justify-content:center;align-items:center;width:40px;height:40px;background:#00000080;border-radius:100%}.lc-close-button svg{width:100%;height:100%}@media (min-width: 768px){.lc-close-button{width:48px;height:48px}}.lc-product-detail-view .lc-video-container{height:100%;position:relative}@media (min-width: 768px){.lc-product-detail-view .lc-video-container{width:50%}}.lc-video-only-view .lc-video-container{height:100%}.lc-card-container{position:absolute;bottom:12px;z-index:10;width:100%;padding-inline:12px;box-sizing:border-box}.lc-product-detail-view .lc-card-container{display:none}@media (max-width: 768px){.lc-product-detail-view .lc-card-container{display:block}}.lc-card-scroll{display:flex;overflow-x:auto;gap:12px;width:100%;scrollbar-width:none}.lc-card-scroll::-webkit-scrollbar{display:none}.lc-card-scroll cooee-product-card{flex:0 0 auto;width:80%;max-width:300px}.lc-card-scroll:has(>cooee-product-card:only-child) cooee-product-card{width:100%;max-width:none}.lc-product-detail-view .lc-video-modal-row{display:flex;justify-content:center;height:100%;width:100%}.lc-video-only-view .lc-video-modal-row{display:block;height:100%}.lc-product-detail-view cooee-product-modal{--header-display: none;width:50%;flex:1}@media (max-width: 768px){.lc-product-detail-view cooee-product-modal{--header-display: flex;width:100%;height:70dvh;position:absolute;bottom:0;z-index:2147483646}}.lc-video-only-view cooee-product-modal{width:100%;height:70dvh;z-index:2147483646;bottom:0;position:absolute}
|
|
80
80
|
`],encapsulation:3})),Sr=Yb([DL()],Sr);var fM=["videoEl"],J0=(e,t)=>t.url;function pM(e,t){if(e&1&&(X(0,"div",1),nt(1),Q()),e&2){let n=le();K(),Nn(" ",n.videoConfig.heading," ")}}function gM(e,t){if(e&1&&He(0,"source",7),e&2){let n=t.$implicit;Pi("type",n.mimeType),Le("src",n.url,on)}}function _M(e,t){if(e&1){let n=Bt();X(0,"cooee-mute-toggle",12),lt("toggled",function(r){dt(n),le();let i=Un(5),o=le(2);return ft(o.onMuteToggled(r,i))}),Q()}if(e&2){le();let n=Un(5);Le("muted",n.muted)("videoEl",n)}}function mM(e,t){if(e&1&&He(0,"img",13),e&2){le(2);let n=Dn(0);Le("src",n.imageURL,on)("alt",n.name)}}function vM(e,t){if(e&1&&(X(0,"div",10),at(1,mM,1,2,"img",13),X(2,"div",14)(3,"span",15),nt(4),Q(),vr(5),He(6,"span",16),vn(7,"cooeeCurrency"),vn(8,"safeHtml"),Q()()),e&2){le();let n=Dn(0),r=le(2);K(),ot(r.showImage?1:-1),K(3),Nn(" ",n.name," ");let i=n.selectedOrFirstVariant.value.price.d;K(2),Le("innerHTML",Pn(8,5,Pn(7,3,i)),Oi)}}function yM(e,t){if(e&1){let n=Bt();X(0,"button",17),lt("click",function(){dt(n);let r=le().$implicit,i=Dn(0),o=le(2);return ft(o.addToCartClicked(r,i))}),nt(1," Add to cart "),Q()}}function bM(e,t){if(e&1){let n=Bt();vr(0)(1),X(2,"div",4)(3,"a",5),lt("click",function(r){let i=dt(n),o=i.$implicit,s=i.$index,a=Un(5),l=le(2);return ft(l.onVideoTap(r,o,s,a))}),X(4,"video",6,0),lt("mouseenter",function(){dt(n);let r=Un(5);le(2);let i=Dn(2);return ft(i&&r.play())})("mouseleave",function(){dt(n);let r=Un(5);le(2);let i=Dn(2);return ft(i&&r.pause())}),Wt(6,gM,1,2,"source",7,J0),Q(),X(8,"div",8),at(9,_M,1,2,"cooee-mute-toggle",9),Q(),at(10,vM,9,7,"div",10),Q(),at(11,yM,2,0,"button",11),Q()}if(e&2){let n=t.$implicit,r=le(2),i=Dn(1),o=vo(n.items[0])&&r.videoConfig.footerContent==r.VideoConfigFooterContent.FIRST_ITEM;K(4),Le("poster",n.thumbnail,on)("muted",!0),ja("autoplay",i||null),K(2),Zt(n.sources),K(3),ot(r.videoConfig.showMuteButton?9:-1),K(),ot(o?10:-1),K(),ot(o?11:-1)}}function wM(e,t){if(e&1&&(X(0,"div",2),Wt(1,bM,12,7,"div",4,Ni),Q()),e&2){let n=le();K(),Zt(n.videos)}}function EM(e,t){if(e&1&&He(0,"source",7),e&2){let n=t.$implicit;Pi("type",n.mimeType),Le("src",n.url,on)}}function xM(e,t){if(e&1){let n=Bt();X(0,"div",18),fr(),X(1,"svg",19),He(2,"circle",20)(3,"circle",21),Q(),Ms(),X(4,"div",22)(5,"video",23),lt("click",function(r){let i=dt(n),o=i.$implicit,s=i.$index,a=le(2);return ft(a.onVideoTap(r,o,s))}),Wt(6,EM,1,2,"source",7,J0),Q()()()}if(e&2){let n=t.$implicit;K(5),Le("muted",!0),K(),Zt(n.sources)}}function SM(e,t){if(e&1&&(X(0,"div",3),Wt(1,xM,8,1,"div",18,Ni),Q()),e&2){let n=le();K(),Zt(n.videos)}}function CM(e,t){if(e&1){let n=Bt();X(0,"cooee-draggable-video-popup",25),lt("videoClicked",function(){dt(n),le();let r=Dn(0),i=le();return ft(i.onPopupVideoClicked(r,0))})("closeClicked",function(){dt(n);let r=le(2);return ft(r.onPopupVideoClosed())}),Q()}if(e&2){le();let n=Dn(0);Le("video",n)}}function IM(e,t){if(e&1&&(vr(0),at(1,CM,1,1,"cooee-draggable-video-popup",24)),e&2){let n=le();vo(n.videos[0]),K(),ot(n.hidePopupVideo?-1:1)}}var TM=class Ru extends By{constructor(t,n){super(),this.dialog=t,this.cdr=n}videoElements;videos;VideoConfigTemplate=a0;VideoConfigFooterContent=c0;VideoConfigAutoPlay=l0;isMobile=window.CooeeSDK.uaParser.getDevice().type==="mobile";hidePopupVideo;videoConfig;showImage;dialogRef=null;ngOnInit(){super.ngOnInit(),eo.loadSwiperScript(),this.showImage=this.videoConfig.detailPopup.template==="PRODUCT_DETAIL_VIEW"}ngAfterViewInit(){this.playFirstVideo()}engagementTriggerReceived(t){this.videoConfig=t.content?.videoConfig,this.videos=this.videoConfig.videos}sendTriggerClicked(t,n){let r=new ql(xt.EVENT_TRIGGER_CLICKED,{},this.triggerContext?.triggerData);r.videos=[t.id],n&&(r.items=[n]),this.sendEventToRenderer(r)}onVideoTap(t,n,r,i){t?.stopPropagation(),t?.preventDefault();let o=n.items?.[0];if(this.sendTriggerClicked(n,o?.toEmbed()),this.videoConfig.footerContent!=="FIRST_ITEM"){i&&(i.muted=!1,i.play(),this.onMuteToggled(!1,i));return}eo.loadSwiperScript().then(()=>this.openDialog(n,r))}async performCTA(t){let n,r=this.triggerContext;if(t.cta===ss.ClickActionType.ADD_TO_CART)n=xt.EVENT_ADD_TO_CART_CLICKED;else if(t.cta===ss.ClickActionType.GO_TO_PRODUCT)n=xt.EVENT_VIEW_ITEM_CLICKED;else if(t.cta===ss.ClickActionType.OPEN_CART)n=xt.EVENT_OPEN_CART_CLICKED,r.triggerData.redirectBehaviour=zP.RedirectBehaviour.CART_DRAWER;else{cn.warn(`Unsupported CTA type: ${t.cta}`);return}let i={at:t.cta},o={videoID:t.video.id};this.sendEvent(n,{current:o},t.video,t.item),this.executeCTAViaRenderer({clickAction:i,embeddedItem:t.item.toEmbed()})}addToCartClicked(t,n){this.performCTA({cta:ss.ClickActionType.ADD_TO_CART,item:n,video:t})}onPopupVideoClicked(t,n){this.hidePopupVideo=!0,this.onVideoTap(null,t,n),this.dialogRef?.closed.subscribe(()=>{this.hidePopupVideo=!1,this.cdr.detectChanges()})}onPopupVideoClosed(){this.hidePopupVideo=!0;let t=(new Date().getTime()-this.triggerContext.startTime.getTime())/1e3;this.sendEvent(xt.EVENT_TRIGGER_CLOSED,{duration:t})}update(){}onMuteToggled(t,n){t||this.videoElements.forEach(r=>{r.nativeElement!==n&&(r.nativeElement.muted=!0,r.nativeElement.pause())})}playFirstVideo(){this.videoConfig.autoPlay==="ON_HOVER"&&this.isMobile&&this.videoElements.first?.nativeElement.play()}sendEvent(t,n,r,i){let o=new ql(t,n,this.engagementTrigger);r&&(o.videos=[r.id]),i&&(o.items=[i.toEmbed()]),this.sendEventToRenderer(o)}openDialog(t,n){let r={videos:this.videos,currentIndex:n,triggerContext:this.triggerContext,onCTAPerformed:o=>this.performCTA(o)};this.dialogRef&&this.dialogRef.close(),this.dialogRef=this.dialog.open(Sr,{width:"100vw",height:"100vh",data:r});let i={videoID:t.id,videoIndex:n};this.sendEvent(xt.EVENT_VIDEO_DIALOG_OPENED,{current:i},t),this.dialogRef.closed.subscribe(o=>{if(!o)return;let s=o.lastVideoDuration*1e3,a={videoID:o.lastVideo.id,videoIndex:o.lastVideoIndex,playedTillMS:s,playedTillPercent:s/t.durationMS},l=new ql(xt.EVENT_VIDEO_DIALOG_CLOSED,{current:a},this.triggerContext?.triggerData);l.videos=[o.lastVideo.id],this.sendEventToRenderer(l),this.dialogRef=null})}static \u0275fac=function(t){return new(t||Ru)(Ot(bL),Ot(Ua))};static \u0275cmp=At({type:Ru,selectors:[["cooee-shoppable-videos"]],viewQuery:function(t,n){if(t&1&&Zs(fM,5),t&2){let r;Ys(r=Ks())&&(n.videoElements=r)}},features:[Ri],decls:7,vars:4,consts:[["videoEl",""],["id","lc-heading-text",1,"lc-heading-text","lc:mb-2","lc:text-lg","lc:text-center","lc:font-bold"],[1,"lc-video-list"],[1,"lc-video-stories","lc:flex","lc:overflow-auto","lc:m-3","lc:gap-3","lc:justify-center","lc:items-center"],[1,"lc-video-card"],["href","",1,"lc-video-wrapper","lc:rounded-lg",3,"click"],["width","100%","playsinline","","loop","","preload","metadata",1,"lc:rounded-lg","lc:transition-transform","lc:duration-300",3,"mouseenter","mouseleave","poster","muted"],[3,"src","type"],[1,"lc-video-controls"],[3,"muted","videoEl"],["id","lc-single-product",1,"lc-single-product"],["id","lc-cta-button","type","button",1,"lc-cta-button","lc:rounded","lc:w-full","lc:h-auto","lc:text-center","lc:font-normal","lc:cursor-pointer","lc:bg-black","lc:z-4","lc:p-4","lc:text-xl"],[3,"toggled","muted","videoEl"],[1,"lc-item-image",3,"src","alt"],[1,"lc-item-details"],[1,"lc-item-name","lc:line-clamp-1"],[1,"lc-item-price",3,"innerHTML"],["id","lc-cta-button","type","button",1,"lc-cta-button","lc:rounded","lc:w-full","lc:h-auto","lc:text-center","lc:font-normal","lc:cursor-pointer","lc:bg-black","lc:z-4","lc:p-4","lc:text-xl",3,"click"],[1,"lc-video-story","lc:relative","lc:w-20","lc:h-20","lc:cursor-pointer"],["viewBox","0 0 100 100",1,"lc:absolute","lc:top-0","lc:left-0","lc:w-full","lc:h-full"],["cx","50","cy","50","r","48","fill","none","stroke-width","4",1,"lc:stroke-gray-300"],["id","lc-video-story-circle","cx","50","cy","50","r","48","fill","none","stroke-width","4","stroke-linecap","round","stroke-dasharray","301.6","stroke-dashoffset","301.6",1,"lc:stroke-blue-500"],[1,"lc:w-full","lc:h-full","lc:rounded-full","lc:overflow-hidden"],["autoplay","","loop","",1,"lc:w-full","lc:h-full","lc:object-cover","lc:rounded-full",3,"click","muted"],[3,"video"],[3,"videoClicked","closeClicked","video"]],template:function(t,n){if(t&1&&(vr(0)(1)(2),at(3,pM,2,1,"div",1)(4,wM,3,0,"div",2)(5,SM,3,0,"div",3)(6,IM,2,2)),t&2){let r=n.videoConfig.template;K(),vo(!n.videoConfig.autoPlay||n.videoConfig.autoPlay===n.VideoConfigAutoPlay.ON),K(),vo(n.videoConfig.autoPlay===n.VideoConfigAutoPlay.ON_HOVER),K(),ot(n.videoConfig.heading?3:-1),K(),ot(r===n.VideoConfigTemplate.SIMPLE||r===n.VideoConfigTemplate.SWIPER?4:r===n.VideoConfigTemplate.STORY?5:r===n.VideoConfigTemplate.FLOATING_POPUP?6:-1)}},dependencies:[Za,kA,Ya,E0],styles:["[_nghost-%COMP%]{display:block}.lc-video-list[_ngcontent-%COMP%]{display:flex;overflow-x:auto;gap:24px;margin:8px;align-items:center;scroll-snap-type:x mandatory;scroll-behavior:smooth}@media (min-width: 768px){.lc-video-list[_ngcontent-%COMP%]{justify-content:center}}.lc-video-wrapper[_ngcontent-%COMP%]{position:relative}.lc-video-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2.5px;scroll-snap-align:center;min-width:200px;max-width:300px}.lc-video-card[_ngcontent-%COMP%] video[_ngcontent-%COMP%]:hover{scale:1.1}.lc-cta-button[_ngcontent-%COMP%]{color:#fff}.lc-video-controls[_ngcontent-%COMP%]{position:absolute;bottom:8px;z-index:10;right:8px;display:flex;gap:8px}.lc-single-product[_ngcontent-%COMP%]{display:flex;margin:.25rem 0;gap:.25rem;align-items:center}.lc-single-product[_ngcontent-%COMP%] .lc-item-image[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:.5rem}.lc-single-product[_ngcontent-%COMP%] .lc-item-details[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;gap:.25rem;font-size:14px;line-height:normal}.lc-single-product[_ngcontent-%COMP%] .lc-item-details[_ngcontent-%COMP%] .lc-item-name[_ngcontent-%COMP%]{color:#000;font-weight:600}.lc-single-product[_ngcontent-%COMP%] .lc-item-details[_ngcontent-%COMP%] .lc-item-price[_ngcontent-%COMP%]{color:#000}"]})};tD("CooeeWidgetSDK");(async()=>{let e=await GO(rD),t=(n,r)=>{let i=gO(n,{injector:e.injector});customElements.define(r,i)};t($P,"cooee-sticky-atc"),t(LP,"cooee-progressbar"),t(TM,"cooee-shoppable-videos"),Jo.filters.define("default",function(n){return n??""}),Jo.defaultConfig.defaultFilter="default",Jo.defaultConfig.useWith=!0,Jo.defaultConfig.autoTrim="slurp"})();})();
|