@letscooee/web-sdk 9.4.0 → 9.4.1
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/analytics-sdk.min.js +3 -3
- package/dist/main.min.js +2 -2
- package/dist/widget-sdk.min.js +1 -1
- package/dist/widget.min.js +1 -1
- package/package.json +1 -1
package/dist/widget.min.js
CHANGED
|
@@ -4,7 +4,7 @@ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
|
4
4
|
`);return r>=0?n.slice(0,r):n}function jc(e,t){return e?t?`${e} ${t}`:e:t||""}var Z_=Le({__forward_ref__:Le});function ch(e){return e.__forward_ref__=ch,e.toString=function(){return Ot(this())},e}function Gt(e){return K_(e)?e():e}function K_(e){return typeof e=="function"&&e.hasOwnProperty(Z_)&&e.__forward_ref__===ch}function Ue(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Uu(e){return Ep(e,uh)||Ep(e,lh)}function Ep(e,t){return e.hasOwnProperty(t)?e[t]:null}function J_(e){let t=e&&(e[uh]||e[lh]);return t||null}function _p(e){return e&&(e.hasOwnProperty(Dp)||e.hasOwnProperty(Q_))?e[Dp]:null}var uh=Le({\u0275prov:Le}),Dp=Le({\u0275inj:Le}),lh=Le({ngInjectableDef:Le}),Q_=Le({ngInjectorDef:Le}),be=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=Ue({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fh(e){return e&&!!e.\u0275providers}var X_=Le({\u0275cmp:Le}),eD=Le({\u0275dir:Le}),tD=Le({\u0275pipe:Le});var wp=Le({\u0275fac:Le}),Oo=Le({__NG_ELEMENT_ID__:Le}),Ip=Le({__NG_ENV_ID__:Le});function Ss(e){return typeof e=="string"?e:e==null?"":String(e)}function nD(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ss(e)}function rD(e,t){throw new ge(-200,e)}function ju(e,t){throw new ge(-201,!1)}var le=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}(le||{}),Vc;function dh(){return Vc}function wt(e){let t=Vc;return Vc=e,t}function ph(e,t,n){let r=Uu(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&le.Optional)return null;if(t!==void 0)return t;ju(e,"Injector")}var oD={},Lo=oD,iD="__NG_DI_FLAG__",is="ngTempTokenPath",sD="ngTokenPath",aD=/\n/gm,cD="\u0275",Sp="__source",Fr;function uD(){return Fr}function Bn(e){let t=Fr;return Fr=e,t}function lD(e,t=le.Default){if(Fr===void 0)throw new ge(-203,!1);return Fr===null?ph(e,void 0,t):Fr.get(e,t&le.Optional?null:void 0,t)}function Ce(e,t=le.Default){return(dh()||lD)(Gt(e),t)}function Se(e,t=le.Default){return Ce(e,bs(t))}function bs(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hc(e){let t=[];for(let n=0;n<e.length;n++){let r=Gt(e[n]);if(Array.isArray(r)){if(r.length===0)throw new ge(900,!1);let o,i=le.Default;for(let s=0;s<r.length;s++){let a=r[s],c=fD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ce(o,i))}else t.push(Ce(r))}return t}function fD(e){return e[iD]}function dD(e,t,n,r){let o=e[is];throw t[Sp]&&o.unshift(t[Sp]),e.message=pD(`
|
|
5
5
|
`+e.message,o,n,r),e[sD]=o,e[is]=null,e}function pD(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
6
|
`&&e.charAt(1)==cD?e.slice(2):e;let o=Ot(t);if(Array.isArray(t))o=t.map(Ot).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ot(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(aD,`
|
|
7
|
-
`)}`}function Br(e,t){let n=e.hasOwnProperty(wp);return n?e[wp]:null}function Vu(e,t){e.forEach(n=>Array.isArray(n)?Vu(n,t):t(n))}function hD(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hh(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gD(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function gh(e,t,n){let r=$o(e,t);return r>=0?e[r|1]=n:(r=~r,gD(e,r,t,n)),r}function Mc(e,t){let n=$o(e,t);if(n>=0)return e[n|1]}function $o(e,t){return mD(e,t,1)}function mD(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ur={},wn=[],Po=new be(""),mh=new be("",-1),yh=new be(""),ss=class{get(t,n=Lo){if(n===Lo){let r=new Error(`NullInjectorError: No provider for ${Ot(t)}!`);throw r.name="NullInjectorError",r}return n}};function Ts(e){return e[X_]||null}function vh(e){return e[eD]||null}function Eh(e){return e[tD]||null}function yD(e){let t=Ts(e)||vh(e)||Eh(e);return t!==null&&t.standalone}function _h(e){return{\u0275providers:e}}function vD(...e){return{\u0275providers:Dh(!0,e),\u0275fromNgModule:!0}}function Dh(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vu(t,s=>{let a=s;$c(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wh(o,i),n}function wh(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Hu(o,i=>{t(i,r)})}}function $c(e,t,n,r){if(e=Gt(e),!e)return!1;let o=null,i=_p(e),s=!i&&Ts(e);if(!i&&!s){let c=e.ngModule;if(i=_p(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)$c(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Vu(i.imports,d=>{$c(d,t,n,r)&&(l||=[],l.push(d))})}finally{}l!==void 0&&wh(l,t)}if(!a){let l=Br(o)||(()=>new o);t({provide:o,useFactory:l,deps:wn},o),t({provide:yh,useValue:o,multi:!0},o),t({provide:Po,useValue:()=>Ce(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Hu(c,d=>{t(d,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Hu(e,t){for(let n of e)fh(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,t):t(n)}var ED=Le({provide:String,useValue:Le});function Ih(e){return e!==null&&typeof e=="object"&&ED in e}function _D(e){return!!(e&&e.useExisting)}function DD(e){return!!(e&&e.useFactory)}function Gc(e){return typeof e=="function"}var Cs=new be(""),es={},wD={},xc;function $u(){return xc===void 0&&(xc=new ss),xc}var nr=class{},Fo=class extends nr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,zc(t,s=>this.processProvider(s)),this.records.set(mh,Rr(void 0,this)),o.has("environment")&&this.records.set(nr,Rr(void 0,this));let i=this.records.get(Cs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yh,wn,le.Self))}destroy(){xo(this),this._destroyed=!0;let t=pe(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),pe(t)}}onDestroy(t){return xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xo(this);let n=Bn(this),r=wt(void 0),o;try{return t()}finally{Bn(n),wt(r)}}get(t,n=Lo,r=le.Default){if(xo(this),t.hasOwnProperty(Ip))return t[Ip](this);r=bs(r);let o,i=Bn(this),s=wt(void 0);try{if(!(r&le.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=ND(t)&&Uu(t);l&&this.injectableDefInScope(l)?c=Rr(Wc(t),es):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&le.Self?$u():this.parent;return n=r&le.Optional&&n===Lo?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[is]=a[is]||[]).unshift(Ot(t)),i)throw a;return dD(a,t,"R3InjectorError",this.source)}else throw a}finally{wt(s),Bn(i)}}resolveInjectorInitializers(){let t=pe(null),n=Bn(this),r=wt(void 0),o;try{let i=this.get(Po,wn,le.Self);for(let s of i)s()}finally{Bn(n),wt(r),pe(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Ot(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Gt(t);let n=Gc(t)?t:Gt(t&&t.provide),r=SD(t);if(!Gc(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rr(void 0,es,!0),o.factory=()=>Hc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=pe(null);try{return n.value===es&&(n.value=wD,n.value=n.factory()),typeof n.value=="object"&&n.value&&CD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{pe(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Gt(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Wc(e){let t=Uu(e),n=t!==null?t.factory:Br(e);if(n!==null)return n;if(e instanceof be)throw new ge(204,!1);if(e instanceof Function)return ID(e);throw new ge(204,!1)}function ID(e){if(e.length>0)throw new ge(204,!1);let n=J_(e);return n!==null?()=>n.factory(e):()=>new e}function SD(e){if(Ih(e))return Rr(void 0,e.useValue);{let t=bD(e);return Rr(t,es)}}function bD(e,t,n){let r;if(Gc(e)){let o=Gt(e);return Br(o)||Wc(o)}else if(Ih(e))r=()=>Gt(e.useValue);else if(DD(e))r=()=>e.useFactory(...Hc(e.deps||[]));else if(_D(e))r=()=>Ce(Gt(e.useExisting));else{let o=Gt(e&&(e.useClass||e.provide));if(TD(e))r=()=>new o(...Hc(e.deps));else return Br(o)||Wc(o)}return r}function xo(e){if(e.destroyed)throw new ge(205,!1)}function Rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function TD(e){return!!e.deps}function CD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ND(e){return typeof e=="function"||typeof e=="object"&&e instanceof be}function zc(e,t){for(let n of e)Array.isArray(n)?zc(n,t):n&&fh(n)?zc(n.\u0275providers,t):t(n)}function Sh(e,t){e instanceof Fo&&xo(e);let n,r=Bn(e),o=wt(void 0);try{return t()}finally{Bn(r),wt(o)}}function MD(){return dh()!==void 0||uD()!=null}var Nn=0,he=1,ee=2,Rt=3,zt=4,rn=5,ko=6,as=7,Xe=8,Bo=9,In=10,at=11,Uo=12,bp=13,zr=14,en=15,jr=16,Lr=17,Vr=18,Ns=19,bh=20,Un=21,Ac=22,cs=23,Tt=24,Oc=25,ct=26,Th=1;var jo=7,xD=8,us=9,It=10;function tr(e){return Array.isArray(e)&&typeof e[Th]=="object"}function sr(e){return Array.isArray(e)&&e[Th]===!0}function Ch(e){return(e.flags&4)!==0}function Go(e){return e.componentOffset>-1}function Gu(e){return(e.flags&1)===1}function ar(e){return!!e.template}function ls(e){return(e[ee]&512)!==0}function Wo(e){return(e[ee]&256)===256}var qc=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function AD(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),OD}function OD(){let e=xh(this),t=e?.current;if(t){let n=e.previous;if(n===Ur)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function RD(e,t,n,r,o){let i=this.declaredInputs[r],s=xh(e)||LD(e,{previous:Ur,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qc(l&&l.currentValue,n,c===Ur),Nh(e,t,o,n)}var Mh="__ngSimpleChanges__";function xh(e){return e[Mh]||null}function LD(e,t){return e[Mh]=t}var Tp=null;var Re=function(e,t=null,n){Tp?.(e,t,n)},PD="svg",FD="math";function Sn(e){for(;Array.isArray(e);)e=e[Nn];return e}function Ah(e,t){return Sn(t[e])}function Wn(e,t){return Sn(t[e.index])}function Wu(e,t){return e.data[t]}function Oh(e,t){return e[t]}function jn(e,t){let n=t[e];return tr(n)?n:n[Nn]}function zu(e){return(e[ee]&128)===128}function Hr(e,t){return t==null?null:e[t]}function Rh(e){e[Lr]=0}function qu(e){e[ee]&1024||(e[ee]|=1024,zu(e)&&xs(e))}function kD(e,t){for(;e>0;)t=t[zr],e--;return t}function Ms(e){return!!(e[ee]&9216||e[Tt]?.dirty)}function Yc(e){e[In].changeDetectionScheduler?.notify(8),e[ee]&64&&(e[ee]|=1024),Ms(e)&&xs(e)}function xs(e){e[In].changeDetectionScheduler?.notify(0);let t=rr(e);for(;t!==null&&!(t[ee]&8192||(t[ee]|=8192,!zu(t)));)t=rr(t)}function Lh(e,t){if(Wo(e))throw new ge(911,!1);e[Un]===null&&(e[Un]=[]),e[Un].push(t)}function BD(e,t){if(e[Un]===null)return;let n=e[Un].indexOf(t);n!==-1&&e[Un].splice(n,1)}function rr(e){let t=e[Rt];return sr(t)?t[Rt]:t}function UD(e){return e[as]??=[]}function jD(e){return e.cleanup??=[]}var ce={lFrame:$h(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Zc=!1;function VD(){return ce.lFrame.elementDepthCount}function HD(){ce.lFrame.elementDepthCount++}function $D(){ce.lFrame.elementDepthCount--}function Ph(){return ce.bindingsEnabled}function GD(){return ce.skipHydrationRootTNode!==null}function WD(e){return ce.skipHydrationRootTNode===e}function zD(){ce.skipHydrationRootTNode=null}function Oe(){return ce.lFrame.lView}function Ct(){return ce.lFrame.tView}function zo(e){return ce.lFrame.contextLView=e,e[Xe]}function qo(e){return ce.lFrame.contextLView=null,e}function qr(){let e=Fh();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fh(){return ce.lFrame.currentTNode}function qD(){let e=ce.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yr(e,t){let n=ce.lFrame;n.currentTNode=e,n.isParent=t}function kh(){return ce.lFrame.isParent}function YD(){ce.lFrame.isParent=!1}function Bh(){return Zc}function Cp(e){let t=Zc;return Zc=e,t}function Yu(){let e=ce.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ZD(e){return ce.lFrame.bindingIndex=e}function As(){return ce.lFrame.bindingIndex++}function Uh(e){let t=ce.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function KD(){return ce.lFrame.inI18n}function JD(e,t){let n=ce.lFrame;n.bindingIndex=n.bindingRootIndex=e,Kc(t)}function QD(){return ce.lFrame.currentDirectiveIndex}function Kc(e){ce.lFrame.currentDirectiveIndex=e}function XD(e){let t=ce.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function jh(e){ce.lFrame.currentQueryIndex=e}function e0(e){let t=e[he];return t.type===2?t.declTNode:t.type===1?e[rn]:null}function Vh(e,t,n){if(n&le.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&le.Host);)if(o=e0(i),o===null||(i=i[zr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=ce.lFrame=Hh();return r.currentTNode=t,r.lView=e,!0}function Zu(e){let t=Hh(),n=e[he];ce.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hh(){let e=ce.lFrame,t=e===null?null:e.child;return t===null?$h(e):t}function $h(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 Gh(){let e=ce.lFrame;return ce.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wh=Gh;function Ku(){let e=Gh();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 t0(e){return(ce.lFrame.contextLView=kD(e,ce.lFrame.contextLView))[Xe]}function zn(){return ce.lFrame.selectedIndex}function or(e){ce.lFrame.selectedIndex=e}function zh(){let e=ce.lFrame;return Wu(e.tView,e.selectedIndex)}function n0(){return ce.lFrame.currentNamespace}var qh=!0;function Ju(){return qh}function Qu(e){qh=e}function r0(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=AD(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Yh(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),d!=null&&(e.destroyHooks??=[]).push(n,d)}}function ts(e,t,n){Zh(e,t,3,n)}function ns(e,t,n,r){(e[ee]&3)===n&&Zh(e,t,n,r)}function Rc(e,t){let n=e[ee];(n&3)===t&&(n&=16383,n+=1,e[ee]=n)}function Zh(e,t,n,r){let o=r!==void 0?e[Lr]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Lr]+=65536),(a<i||i==-1)&&(o0(e,n,t,c),e[Lr]=(e[Lr]&4294901760)+c+2),c++}function Np(e,t){Re(4,e,t);let n=pe(null);try{t.call(e)}finally{pe(n),Re(5,e,t)}}function o0(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[ee]>>14<e[Lr]>>16&&(e[ee]&3)===t&&(e[ee]+=16384,Np(a,i)):Np(a,i)}var kr=-1,Vo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function i0(e){return e instanceof Vo}function s0(e){return(e.flags&8)!==0}function a0(e){return(e.flags&16)!==0}function c0(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];l0(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function u0(e){return e===3||e===4||e===6}function l0(e){return e.charCodeAt(0)===64}function Xu(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 o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Mp(e,n,o,null,t[++r]):Mp(e,n,o,null,null))}}return e}function Mp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Lc={},Jc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bs(r);let o=this.injector.get(t,Lc,r);return o!==Lc||n===Lc?o:this.parentInjector.get(t,n,r)}};function f0(e){return e!==kr}function Qc(e){return e&32767}function d0(e){return e>>16}function Xc(e,t){let n=d0(e),r=t;for(;n>0;)r=r[zr],n--;return r}var eu=!0;function fs(e){let t=eu;return eu=e,t}var p0=256,Kh=p0-1,Jh=5,h0=0,Xt={};function g0(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Oo)&&(r=n[Oo]),r==null&&(r=n[Oo]=h0++);let o=r&Kh,i=1<<o;t.data[e+(o>>Jh)]|=i}function Qh(e,t){let n=Xh(e,t);if(n!==-1)return n;let r=t[he];r.firstCreatePass&&(e.injectorIndex=t.length,Pc(r.data,e),Pc(t,null),Pc(r.blueprint,null));let o=eg(e,t),i=e.injectorIndex;if(f0(o)){let s=Qc(o),a=Xc(o,t),c=a[he].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Pc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function eg(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ig(o),r===null)return kr;if(n++,o=o[zr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return kr}function m0(e,t,n){g0(e,t,n)}function tg(e,t,n){if(n&le.Optional||e!==void 0)return e;ju(t,"NodeInjector")}function ng(e,t,n,r){if(n&le.Optional&&r===void 0&&(r=null),(n&(le.Self|le.Host))===0){let o=e[Bo],i=wt(void 0);try{return o?o.get(t,r,n&le.Optional):ph(t,r,n&le.Optional)}finally{wt(i)}}return tg(r,t,n)}function rg(e,t,n,r=le.Default,o){if(e!==null){if(t[ee]&2048&&!(r&le.Self)){let s=D0(e,t,n,r,Xt);if(s!==Xt)return s}let i=og(e,t,n,r,Xt);if(i!==Xt)return i}return ng(t,n,r,o)}function og(e,t,n,r,o){let i=E0(n);if(typeof i=="function"){if(!Vh(t,e,r))return r&le.Host?tg(o,n,r):ng(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&le.Optional))ju(n);else return s}finally{Wh()}}else if(typeof i=="number"){let s=null,a=Xh(e,t),c=kr,l=r&le.Host?t[en][rn]:null;for((a===-1||r&le.SkipSelf)&&(c=a===-1?eg(e,t):t[a+8],c===kr||!Ap(r,!1)?a=-1:(s=t[he],a=Qc(c),t=Xc(c,t)));a!==-1;){let d=t[he];if(xp(i,a,d.data)){let h=y0(a,t,n,s,r,l);if(h!==Xt)return h}c=t[a+8],c!==kr&&Ap(r,t[he].data[a+8]===l)&&xp(i,a,t)?(s=d,a=Qc(c),t=Xc(c,t)):a=-1}}return o}function y0(e,t,n,r,o,i){let s=t[he],a=s.data[e+8],c=r==null?Go(a)&&eu:r!=s&&(a.type&3)!==0,l=o&le.Host&&i===a,d=v0(a,s,n,c,l);return d!==null?tu(t,s,d,a):Xt}function v0(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,d=i>>20,h=r?a:a+d,y=o?a+d:l;for(let v=h;v<y;v++){let b=s[v];if(v<c&&n===b||v>=c&&b.type===n)return v}if(o){let v=s[c];if(v&&ar(v)&&v.type===n)return c}return null}function tu(e,t,n,r){let o=e[n],i=t.data;if(i0(o)){let s=o;s.resolving&&rD(nD(i[n]));let a=fs(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?wt(s.injectImpl):null,d=Vh(e,r,le.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&r0(n,i[n],t)}finally{l!==null&&wt(l),fs(a),s.resolving=!1,Wh()}}return o}function E0(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Oo)?e[Oo]:void 0;return typeof t=="number"?t>=0?t&Kh:_0:t}function xp(e,t,n){let r=1<<e;return!!(n[t+(e>>Jh)]&r)}function Ap(e,t){return!(e&le.Self)&&!(e&le.Host&&t)}var ds=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rg(this._tNode,this._lView,t,bs(r),n)}};function _0(){return new ds(qr(),Oe())}function D0(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[ee]&2048&&!ls(s);){let a=og(i,s,n,r|le.Self,Xt);if(a!==Xt)return a;let c=i.parent;if(!c){let l=s[bh];if(l){let d=l.get(n,Xt,r);if(d!==Xt)return d}c=ig(s),s=s[zr]}i=c}return o}function ig(e){let t=e[he],n=t.type;return n===2?t.declTNode:n===1?e[rn]:null}function Op(e,t=null,n=null,r){let o=w0(e,t,n,r);return o.resolveInjectorInitializers(),o}function w0(e,t=null,n=null,r,o=new Set){let i=[n||wn,vD(e)];return r=r||(typeof e=="object"?void 0:Ot(e)),new Fo(i,t||$u(),r||null,o)}var tn=class e{static THROW_IF_NOT_FOUND=Lo;static NULL=new ss;static create(t,n){if(Array.isArray(t))return Op({name:""},n,t,"");{let r=t.name??"";return Op({name:r},t.parent,t.providers,r)}}static \u0275prov=Ue({token:e,providedIn:"any",factory:()=>Ce(mh)});static __NG_ELEMENT_ID__=-1};var I0=new be("");I0.__NG_ELEMENT_ID__=e=>{let t=qr();if(t===null)throw new ge(204,!1);if(t.type&2)return t.value;if(e&le.Optional)return null;throw new ge(204,!1)};var sg=!1,ag=(()=>{class e{static __NG_ELEMENT_ID__=S0;static __NG_ENV_ID__=n=>n}return e})(),nu=class extends ag{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Lh(this._lView,t),()=>BD(this._lView,t)}};function S0(){return new nu(Oe())}var Vn=class{},Os=new be("",{providedIn:"root",factory:()=>!1});var cg=new be(""),el=new be(""),Rs=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new To(!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=Ue({token:e,providedIn:"root",factory:()=>new e})}return e})();var ru=class extends Dn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,MD()&&(this.destroyRef=Se(ag,{optional:!0})??void 0,this.pendingTasks=Se(Rs,{optional:!0})??void 0)}emit(t){let n=pe(null);try{super.next(t)}finally{pe(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof ft&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Wt=ru;function ps(...e){}function ug(e){let t,n;function r(){e=ps;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 Rp(e){return queueMicrotask(()=>e()),()=>{e=ps}}var tl="isAngularZone",hs=tl+"_ID",b0=0,nt=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Wt(!1);onMicrotaskEmpty=new Wt(!1);onStable=new Wt(!1);onError=new Wt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sg}=t;if(typeof Zone>"u")throw new ge(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=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,N0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(tl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new ge(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,T0,ps,ps);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},T0={};function nl(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 C0(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ug(()=>{e.callbackScheduled=!1,ou(e),e.isCheckStableRunning=!0,nl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ou(e)}function N0(e){let t=()=>{C0(e)},n=b0++;e._inner=e._inner.fork({name:"angular",properties:{[tl]:!0,[hs]:n,[hs+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(M0(c))return r.invokeTask(i,s,a,c);try{return Lp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Pp(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Lp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!x0(c)&&t(),Pp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ou(e),nl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ou(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Lp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pp(e){e._nesting--,nl(e)}var gs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Wt;onMicrotaskEmpty=new Wt;onStable=new Wt;onError=new Wt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function M0(e){return lg(e,"__ignore_ng_zone__")}function x0(e){return lg(e,"__scheduler_tick__")}function lg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Hn=class{_console=console;handleError(t){this._console.error("ERROR",t)}},A0=new be("",{providedIn:"root",factory:()=>{let e=Se(nt),t=Se(Hn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function O0(){return fg(qr(),Oe())}function fg(e,t){return new Ls(Wn(e,t))}var Ls=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=O0}return e})();function Zr(e,t){let n=$d(e),r=n[_n];return t?.equal&&(r.equal=t.equal),n.set=o=>yc(r,o),n.update=o=>Gd(r,o),n.asReadonly=R0.bind(n),n}function R0(){let e=this[_n];if(e.readonlyFn===void 0){let t=()=>this();t[_n]=e,e.readonlyFn=t}return e.readonlyFn}function dg(e){return(e.flags&128)===128}var pg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(pg||{}),hg=new Map,L0=0;function P0(){return L0++}function F0(e){hg.set(e[Ns],e)}function iu(e){hg.delete(e[Ns])}var Fp="__ngContext__";function Yo(e,t){tr(t)?(e[Fp]=t[Ns],F0(t)):e[Fp]=t}function gg(e){return yg(e[Uo])}function mg(e){return yg(e[zt])}function yg(e){for(;e!==null&&!sr(e);)e=e[zt];return e}var su;function vg(e){su=e}function Eg(){if(su!==void 0)return su;if(typeof document<"u")return document;throw new ge(210,!1)}var rl=new be("",{providedIn:"root",factory:()=>k0}),k0="ng",ol=new be(""),Zo=new be("",{providedIn:"platform",factory:()=>"unknown"});var il=new be("",{providedIn:"root",factory:()=>Eg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var B0="h",U0="b";var _g=!1,j0=new be("",{providedIn:"root",factory:()=>_g});var Dg=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Dg||{}),Ps=new be(""),kp=new Set;function Ko(e){kp.has(e)||(kp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var V0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>new e})}return e})();var H0=()=>null;function wg(e,t,n=!1){return H0(e,t,n)}function Ig(e,t){let n=e.contentQueries;if(n!==null){let r=pe(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];jh(i),a.contentQueries(2,t[s],s)}}}finally{pe(r)}}}function au(e,t,n){jh(0);let r=pe(null);try{t(e,n)}finally{pe(r)}}function Sg(e,t,n){if(Ch(t)){let r=pe(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{pe(r)}}}var nn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(nn||{}),Ki;function $0(){if(Ki===void 0&&(Ki=null,Ro.trustedTypes))try{Ki=Ro.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ki}function Fs(e){return $0()?.createHTML(e)||e}var Ji;function G0(){if(Ji===void 0&&(Ji=null,Ro.trustedTypes))try{Ji=Ro.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ji}function Bp(e){return G0()?.createHTML(e)||e}var bn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ah})`}},cu=class extends bn{getTypeName(){return"HTML"}},uu=class extends bn{getTypeName(){return"Style"}},lu=class extends bn{getTypeName(){return"Script"}},fu=class extends bn{getTypeName(){return"URL"}},du=class extends bn{getTypeName(){return"ResourceURL"}};function Lt(e){return e instanceof bn?e.changingThisBreaksApplicationSecurity:e}function qn(e,t){let n=W0(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ah})`)}return n===t}function W0(e){return e instanceof bn&&e.getTypeName()||null}function bg(e){return new cu(e)}function Tg(e){return new uu(e)}function Cg(e){return new lu(e)}function Ng(e){return new fu(e)}function Mg(e){return new du(e)}function z0(e){let t=new hu(e);return q0()?new pu(t):t}var pu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Fs(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},hu=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Fs(t),n}};function q0(){try{return!!new window.DOMParser().parseFromString(Fs(""),"text/html")}catch{return!1}}var Y0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ks(e){return e=String(e),e.match(Y0)?e:"unsafe:"+e}function Mn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Jo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var xg=Mn("area,br,col,hr,img,wbr"),Ag=Mn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Og=Mn("rp,rt"),Z0=Jo(Og,Ag),K0=Jo(Ag,Mn("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")),J0=Jo(Og,Mn("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")),Up=Jo(xg,K0,J0,Z0),Rg=Mn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Q0=Mn("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"),X0=Mn("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"),ew=Jo(Rg,Q0,X0),tw=Mn("script,style,template"),gu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=ow(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=jp(t).toLowerCase();if(!Up.hasOwnProperty(n))return this.sanitizedSomething=!0,!tw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!ew.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Rg[a]&&(c=ks(c)),this.buf.push(" ",s,'="',Vp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=jp(t).toLowerCase();Up.hasOwnProperty(n)&&!xg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vp(t))}};function nw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Lg(t);return t}function ow(e){let t=e.firstChild;if(t&&nw(e,t))throw Lg(t);return t}function jp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Lg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var iw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sw=/([^\#-~ |!])/g;function Vp(e){return e.replace(/&/g,"&").replace(iw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Qi;function sl(e,t){let n=null;try{Qi=Qi||z0(e);let r=t?String(t):"";n=Qi.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qi.getInertBodyElement(r)}while(r!==i);let a=new gu().sanitizeChildren(Hp(n)||n);return Fs(a)}finally{if(n){let r=Hp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Hp(e){return"content"in e&&aw(e)?e.content:null}function aw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var on=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}(on||{});function al(e){let t=Pg();return t?Bp(t.sanitize(on.HTML,e)||""):qn(e,"HTML")?Bp(Lt(e)):sl(Eg(),Ss(e))}function xn(e){let t=Pg();return t?t.sanitize(on.URL,e)||"":qn(e,"URL")?Lt(e):ks(Ss(e))}function Pg(){let e=Oe();return e&&e[In].sanitizer}function cw(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Fg="ng-template";function uw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&cw(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(cl(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function cl(e){return e.type===4&&e.value!==Fg}function lw(e,t,n){let r=e.type===4&&!n?Fg:e.value;return t===r}function fw(e,t,n){let r=4,o=e.attrs,i=o!==null?hw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!$t(r)&&!$t(c))return!1;if(s&&$t(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!lw(e,c,n)||c===""&&t.length===1){if($t(r))return!1;s=!0}}else if(r&8){if(o===null||!uw(e,o,c,n)){if($t(r))return!1;s=!0}}else{let l=t[++a],d=dw(c,o,cl(e),n);if(d===-1){if($t(r))return!1;s=!0;continue}if(l!==""){let h;if(d>i?h="":h=o[d+1].toLowerCase(),r&2&&l!==h){if($t(r))return!1;s=!0}}}}return $t(r)||s}function $t(e){return(e&1)===0}function dw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return gw(t,e)}function pw(e,t,n=!1){for(let r=0;r<t.length;r++)if(fw(e,t[r],n))return!0;return!1}function hw(e){for(let t=0;t<e.length;t++){let n=e[t];if(u0(n))return t}return e.length}function gw(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 $p(e,t){return e?":not("+t.trim()+")":t}function mw(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!$t(s)&&(t+=$p(i,o),o=""),r=s,i=i||!$t(r);n++}return o!==""&&(t+=$p(i,o)),t}function yw(e){return e.map(mw).join(",")}function vw(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!$t(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Pt={};function Ew(e,t){return e.createText(t)}function _w(e,t,n){e.setValue(t,n)}function kg(e,t,n){return e.createElement(t,n)}function mu(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bg(e,t,n){e.appendChild(t,n)}function Gp(e,t,n,r,o){r!==null?mu(e,t,n,r,o):Bg(e,t,n)}function Dw(e,t,n){e.removeChild(null,t,n)}function ww(e,t,n){e.setAttribute(t,"style",n)}function Iw(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ug(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&c0(e,t,r),o!==null&&Iw(e,t,o),i!==null&&ww(e,t,i)}function ul(e,t,n,r,o,i,s,a,c,l,d){let h=ct+r,y=h+o,v=Sw(h,y),b=typeof l=="function"?l():l;return v[he]={type:e,blueprint:v,template:n,queries:null,viewQuery:a,declTNode:t,data:v.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:b,incompleteFirstPass:!1,ssrId:d}}function Sw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Pt);return n}function bw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ul(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ll(e,t,n,r,o,i,s,a,c,l,d){let h=t.blueprint.slice();return h[Nn]=o,h[ee]=r|4|128|8|64|1024,(l!==null||e&&e[ee]&2048)&&(h[ee]|=2048),Rh(h),h[Rt]=h[zr]=e,h[Xe]=n,h[In]=s||e&&e[In],h[at]=a||e&&e[at],h[Bo]=c||e&&e[Bo]||null,h[rn]=i,h[Ns]=P0(),h[ko]=d,h[bh]=l,h[en]=t.type==2?e[en]:h,h}function Tw(e,t,n){let r=Wn(t,e),o=bw(n),i=e[In].rendererFactory,s=Hg(e,ll(e,o,null,jg(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function jg(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Vg(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Hg(e,t){return e[Uo]?e[bp][zt]=t:e[Uo]=t,e[bp]=t,t}function st(e=1){$g(Ct(),Oe(),zn()+e,!1)}function $g(e,t,n,r){if(!r)if((t[ee]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ts(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ns(t,i,0,n)}or(n)}var Bs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Bs||{});function yu(e,t,n,r){let o=pe(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Bs.SignalBased)!==0&&(c=t[i][_n]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Nh(t,c,i,r)}finally{pe(o)}}function Gg(e,t,n,r,o){let i=zn(),s=r&2;try{or(-1),s&&t.length>ct&&$g(e,t,ct,!1),Re(s?2:0,o),n(r,o)}finally{or(i),Re(s?3:1,o)}}function fl(e,t,n){Ow(e,t,n),(n.flags&64)===64&&Rw(e,t,n)}function Wg(e,t,n=Wn){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Cw(e,t,n,r){let i=r.get(j0,_g)||n===nn.ShadowDom,s=e.selectRootElement(t,i);return Nw(s),s}function Nw(e){Mw(e)}var Mw=()=>null;function xw(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function zg(e,t,n,r,o,i,s,a){if(!a&&dl(t,e,n,r,o)){Go(t)&&Aw(n,t.index);return}if(t.type&3){let c=Wn(t,n);r=xw(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Aw(e,t){let n=jn(t,e);n[ee]&16||(n[ee]|=64)}function Ow(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Go(n)&&Tw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Qh(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=tu(t,e,s,n);if(Yo(c,t),i!==null&&Pw(t,s-r,c,a,n,i),ar(a)){let l=jn(n.index,t);l[Xe]=tu(t,e,s,n)}}}function Rw(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=QD();try{or(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Kc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Lw(c,l)}}finally{or(-1),Kc(s)}}function Lw(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function qg(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];pw(t,i.selectors,!1)&&(r??=[],ar(i)?r.unshift(i):r.push(i))}return r}function Pw(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];yu(r,n,c,l)}}function Yg(e,t){let n=e[Bo],r=n?n.get(Hn,null):null;r&&r.handleError(t)}function dl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],d=s[c+1],h=t.data[l];yu(h,n[l],d,o),a=!0}if(i)for(let c of i){let l=n[c],d=t.data[c];yu(d,l,r,o),a=!0}return a}function Fw(e,t){let n=jn(t,e),r=n[he];kw(r,n);let o=n[Nn];o!==null&&n[ko]===null&&(n[ko]=wg(o,n[Bo])),Re(18),pl(r,n,n[Xe]),Re(19,n[Xe])}function kw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pl(e,t,n){Zu(t);try{let r=e.viewQuery;r!==null&&au(1,r,n);let o=e.template;o!==null&&Gg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Vr]?.finishViewCreation(e),e.staticContentQueries&&Ig(e,t),e.staticViewQueries&&au(2,e.viewQuery,n);let i=e.components;i!==null&&Bw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ee]&=-5,Ku()}}function Bw(e,t){for(let n=0;n<t.length;n++)Fw(e,t[n])}function hl(e,t,n,r){let o=pe(null);try{let i=t.tView,a=e[ee]&4096?4096:16,c=ll(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[jr]=l;let d=e[Vr];return d!==null&&(c[Vr]=d.createEmbeddedView(i)),pl(i,c,n),c}finally{pe(o)}}function gl(e,t){return!t||t.firstChild===null||dg(e)}var Uw;function ml(e,t){return Uw(e,t)}var Tn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Tn||{});function Zg(e){return(e.flags&32)===32}function Pr(e,t,n,r,o){if(r!=null){let i,s=!1;sr(r)?i=r:tr(r)&&(s=!0,r=r[Nn]);let a=Sn(r);e===0&&n!==null?o==null?Bg(t,n,a):mu(t,n,a,o||null,!0):e===1&&n!==null?mu(t,n,a,o||null,!0):e===2?Dw(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jw(t,e,i,n,o)}}function jw(e,t){Kg(e,t),t[Nn]=null,t[rn]=null}function Vw(e,t,n,r,o,i){r[Nn]=o,r[rn]=t,Us(e,r,n,1,o,i)}function Kg(e,t){t[In].changeDetectionScheduler?.notify(9),Us(e,t,t[at],2,null,null)}function Hw(e){let t=e[Uo];if(!t)return Fc(e[he],e);for(;t;){let n=null;if(tr(t))n=t[Uo];else{let r=t[It];r&&(n=r)}if(!n){for(;t&&!t[zt]&&t!==e;)tr(t)&&Fc(t[he],t),t=t[Rt];t===null&&(t=e),tr(t)&&Fc(t[he],t),n=t&&t[zt]}t=n}}function yl(e,t){let n=e[us],r=n.indexOf(t);n.splice(r,1)}function vl(e,t){if(Wo(t))return;let n=t[at];n.destroyNode&&Us(e,t,n,3,null,null),Hw(t)}function Fc(e,t){if(Wo(t))return;let n=pe(null);try{t[ee]&=-129,t[ee]|=256,t[Tt]&&mc(t[Tt]),Gw(e,t),$w(e,t),t[he].type===1&&t[at].destroy();let r=t[jr];if(r!==null&&sr(t[Rt])){r!==t[Rt]&&yl(r,t);let o=t[Vr];o!==null&&o.detachView(e)}iu(t)}finally{pe(n)}}function $w(e,t){let n=e.cleanup,r=t[as];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[as]=null);let o=t[Un];if(o!==null){t[Un]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[cs];if(i!==null){t[cs]=null;for(let s of i)s.destroy()}}function Gw(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Vo)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Re(4,a,c);try{c.call(a)}finally{Re(5,a,c)}}else{Re(4,o,i);try{i.call(o)}finally{Re(5,o,i)}}}}}function Ww(e,t,n){return zw(e,t.parent,n)}function zw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Nn];if(Go(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===nn.None||o===nn.Emulated)return null}return Wn(r,n)}function qw(e,t,n){return Zw(e,t,n)}function Yw(e,t,n){return e.type&40?Wn(e,n):null}var Zw=Yw,Wp;function El(e,t,n,r){let o=Ww(e,r,t),i=t[at],s=r.parent||t[rn],a=qw(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Gp(i,o,n[c],a,!1);else Gp(i,o,n,a,!1);Wp!==void 0&&Wp(i,r,t,n,o)}function Ao(e,t){if(t!==null){let n=t.type;if(n&3)return Wn(t,e);if(n&4)return vu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ao(e,r);{let o=e[t.index];return sr(o)?vu(-1,o):Sn(o)}}else{if(n&128)return Ao(e,t.next);if(n&32)return ml(t,e)()||Sn(e[t.index]);{let r=Jg(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rr(e[en]);return Ao(o,r)}else return Ao(e,t.next)}}}return null}function Jg(e,t){if(t!==null){let r=e[en][rn],o=t.projection;return r.projection[o]}return null}function vu(e,t){let n=It+e+1;if(n<t.length){let r=t[n],o=r[he].firstChild;if(o!==null)return Ao(r,o)}return t[jo]}function _l(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Yo(Sn(a),r),n.flags|=2),!Zg(n))if(c&8)_l(e,t,n.child,r,o,i,!1),Pr(t,e,o,a,i);else if(c&32){let l=ml(n,r),d;for(;d=l();)Pr(t,e,o,d,i);Pr(t,e,o,a,i)}else c&16?Kw(e,t,r,n,o,i):Pr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Us(e,t,n,r,o,i){_l(n,r,e.firstChild,t,o,i,!1)}function Kw(e,t,n,r,o,i){let s=n[en],c=s[rn].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let d=c[l];Pr(t,e,o,d,i)}else{let l=c,d=s[Rt];dg(r)&&(l.flags|=128),_l(e,t,l,d,o,i,!0)}}function Jw(e,t,n,r,o){let i=n[jo],s=Sn(n);i!==s&&Pr(t,e,r,i,o);for(let a=It;a<n.length;a++){let c=n[a];Us(c[he],c,e,t,r,i)}}function Qw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Tn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Tn.Important),e.setStyle(n,r,o,i))}}function ms(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Sn(i)),sr(i)&&Xw(i,r);let s=n.type;if(s&8)ms(e,t,n.child,r);else if(s&32){let a=ml(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Jg(t,n);if(Array.isArray(a))r.push(...a);else{let c=rr(t[en]);ms(c[he],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xw(e,t){for(let n=It;n<e.length;n++){let r=e[n],o=r[he].firstChild;o!==null&&ms(r[he],r,o,t)}e[jo]!==e[Nn]&&t.push(e[jo])}function Qg(e){if(e[Oc]!==null){for(let t of e[Oc])t.impl.addSequence(t);e[Oc].length=0}}var Xg=[];function eI(e){return e[Tt]??tI(e)}function tI(e){let t=Xg.pop()??Object.create(rI);return t.lView=e,t}function nI(e){e.lView[Tt]!==e&&(e.lView=null,Xg.push(e))}var rI=ie(N({},Ni),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{xs(e.lView)},consumerOnSignalRead(){this.lView[Tt]=this}});function oI(e){let t=e[Tt]??Object.create(iI);return t.lView=e,t}var iI=ie(N({},Ni),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rr(e.lView);for(;t&&!em(t[he]);)t=rr(t);t&&qu(t)},consumerOnSignalRead(){this.lView[Tt]=this}});function em(e){return e.type!==2}function tm(e){if(e[cs]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[cs])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[ee]&8192)}}var sI=100;function nm(e,t=!0,n=0){let o=e[In].rendererFactory,i=!1;i||o.begin?.();try{aI(e,n)}catch(s){throw t&&Yg(e,s),s}finally{i||o.end?.()}}function aI(e,t){let n=Bh();try{Cp(!0),Eu(e,t);let r=0;for(;Ms(e);){if(r===sI)throw new ge(103,!1);r++,Eu(e,1)}}finally{Cp(n)}}function cI(e,t,n,r){if(Wo(t))return;let o=t[ee],i=!1,s=!1;Zu(t);let a=!0,c=null,l=null;i||(em(e)?(l=eI(t),c=hc(l)):Od()===null?(a=!1,l=oI(t),c=hc(l)):t[Tt]&&(mc(t[Tt]),t[Tt]=null));try{Rh(t),ZD(e.bindingStartIndex),n!==null&&Gg(e,t,n,2,r);let d=(o&3)===3;if(!i)if(d){let v=e.preOrderCheckHooks;v!==null&&ts(t,v,null)}else{let v=e.preOrderHooks;v!==null&&ns(t,v,0,null),Rc(t,0)}if(s||uI(t),tm(t),rm(t,0),e.contentQueries!==null&&Ig(e,t),!i)if(d){let v=e.contentCheckHooks;v!==null&&ts(t,v)}else{let v=e.contentHooks;v!==null&&ns(t,v,1),Rc(t,1)}fI(e,t);let h=e.components;h!==null&&im(t,h,0);let y=e.viewQuery;if(y!==null&&au(2,y,r),!i)if(d){let v=e.viewCheckHooks;v!==null&&ts(t,v)}else{let v=e.viewHooks;v!==null&&ns(t,v,2),Rc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ac]){for(let v of t[Ac])v();t[Ac]=null}i||(Qg(t),t[ee]&=-73)}catch(d){throw i||xs(t),d}finally{l!==null&&(Fd(l,c),a&&nI(l)),Ku()}}function rm(e,t){for(let n=gg(e);n!==null;n=mg(n))for(let r=It;r<n.length;r++){let o=n[r];om(o,t)}}function uI(e){for(let t=gg(e);t!==null;t=mg(t)){if(!(t[ee]&2))continue;let n=t[us];for(let r=0;r<n.length;r++){let o=n[r];qu(o)}}}function lI(e,t,n){Re(18);let r=jn(t,e);om(r,n),Re(19,r[Xe])}function om(e,t){zu(e)&&Eu(e,t)}function Eu(e,t){let r=e[he],o=e[ee],i=e[Tt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&gc(i)),s||=!1,i&&(i.dirty=!1),e[ee]&=-9217,s)cI(r,e,r.template,e[Xe]);else if(o&8192){tm(e),rm(e,1);let a=r.components;a!==null&&im(e,a,1),Qg(e)}}function im(e,t,n){for(let r=0;r<t.length;r++)lI(e,t[r],n)}function fI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)or(~o);else{let i=o,s=n[++r],a=n[++r];JD(s,i);let c=t[i];Re(24,c),a(2,c),Re(25,c)}}}finally{or(-1)}}function Dl(e,t){let n=Bh()?64:1088;for(e[In].changeDetectionScheduler?.notify(t);e;){e[ee]|=n;let r=rr(e);if(ls(e)&&!r)return e;e=r}return null}function dI(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function sm(e,t){let n=It+t;if(n<e.length)return e[n]}function wl(e,t,n,r=!0){let o=t[he];if(pI(o,t,e,n),r){let s=vu(n,e),a=t[at],c=a.parentNode(e[jo]);c!==null&&Vw(o,e[rn],a,t,c,s)}let i=t[ko];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function am(e,t){let n=Il(e,t);return n!==void 0&&vl(n[he],n),n}function Il(e,t){if(e.length<=It)return;let n=It+t,r=e[n];if(r){let o=r[jr];o!==null&&o!==e&&yl(o,r),t>0&&(e[n-1][zt]=r[zt]);let i=hh(e,It+t);jw(r[he],r);let s=i[Vr];s!==null&&s.detachView(i[he]),r[Rt]=null,r[zt]=null,r[ee]&=-129}return r}function pI(e,t,n,r){let o=It+r,i=n.length;r>0&&(n[o-1][zt]=t),r<i-It?(t[zt]=n[o],hD(n,It+r,t)):(n.push(t),t[zt]=null),t[Rt]=n;let s=t[jr];s!==null&&n!==s&&cm(s,t);let a=t[Vr];a!==null&&a.insertView(e),Yc(t),t[ee]|=128}function cm(e,t){let n=e[us],r=t[Rt];if(tr(r))e[ee]|=2;else{let o=r[Rt][en];t[en]!==o&&(e[ee]|=2)}n===null?e[us]=[t]:n.push(t)}var _u=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[he];return ms(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[Xe]}get dirty(){return!!(this._lView[ee]&9280)||!!this._lView[Tt]?.dirty}set context(t){this._lView[Xe]=t}get destroyed(){return Wo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Rt];if(sr(t)){let n=t[xD],r=n?n.indexOf(this):-1;r>-1&&(Il(t,r),hh(n,r))}this._attachedToViewContainer=!1}vl(this._lView[he],this._lView)}onDestroy(t){Lh(this._lView,t)}markForCheck(){Dl(this._cdRefInjectingView||this._lView,4)}markForRefresh(){qu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){Yc(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,nm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ls(this._lView),n=this._lView[jr];n!==null&&!t&&yl(n,this._lView),Kg(this._lView[he],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=t;let n=ls(this._lView),r=this._lView[jr];r!==null&&!n&&cm(r,this._lView),Yc(this._lView)}};function js(e,t,n,r,o){let i=e.data[t];if(i===null)i=hI(e,t,n,r,o),KD()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=qD();i.injectorIndex=s===null?-1:s.injectorIndex}return Yr(i,!0),i}function hI(e,t,n,r,o){let i=Fh(),s=kh(),a=s?i:i&&i.parent,c=e.data[t]=mI(e,a,n,t,r,o);return gI(e,c,i,s),c}function gI(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 mI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return GD()&&(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:o,attrs:i,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 r1=new RegExp(`^(\\d+)*(${U0}|${B0})*(.*)`);var yI=()=>null;function Sl(e,t){return yI(e,t)}var Du=class{},ys=class{},wu=class{resolveComponentFactory(t){throw Error(`No component factory found for ${Ot(t)}.`)}},$n=class{static NULL=new wu},$r=class{};var vI=(()=>{class e{static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>null})}return e})();function zp(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=jc(o,a);else if(i==2){let c=a,l=t[++s];r=jc(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Kr(e,t=le.Default){let n=Oe();if(n===null)return Ce(e,t);let r=qr();return rg(r,n,Gt(e),t)}function um(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,d=_I(s);d===null?a=s:[a,c,l]=d,II(e,t,n,a,i,c,l)}i!==null&&r!==null&&EI(n,r,i)}function EI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new ge(-301,!1);r.push(t[o],i)}}function _I(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&ar(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,DI(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function DI(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function wI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function II(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let y=0;y<a;y++){let v=r[y];!c&&ar(v)&&(c=!0,wI(e,n,y)),m0(Qh(n,t),e,v.type)}MI(n,e.data.length,a);for(let y=0;y<a;y++){let v=r[y];v.providersResolver&&v.providersResolver(v)}let l=!1,d=!1,h=Vg(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let y=0;y<a;y++){let v=r[y];if(n.mergedAttrs=Xu(n.mergedAttrs,v.hostAttrs),bI(e,n,t,h,v),NI(h,v,o),s!==null&&s.has(v)){let[M,R]=s.get(v);n.directiveToIndex.set(v.type,[h,M+n.directiveStart,R+n.directiveStart])}else(i===null||!i.has(v))&&n.directiveToIndex.set(v.type,h);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let b=v.type.prototype;!l&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!d&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}SI(e,n,i)}function SI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))qp(0,t,o,r),qp(1,t,o,r),Zp(t,r,!1);else{let i=n.get(o);Yp(0,t,i,r),Yp(1,t,i,r),Zp(t,r,!0)}}}function qp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),lm(t,i)}}function Yp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),lm(t,s)}}function lm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||cl(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let d of l)if(d===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let d=0;d<l.length;d+=2)if(l[d]===t){s??=[],s.push(l[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function bI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Br(o.type,!0)),s=new Vo(i,ar(o),Kr);e.blueprint[r]=s,n[r]=s,TI(e,t,r,Vg(e,n,o.hostVars,Pt),o)}function TI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;CI(s)!=a&&s.push(a),s.push(n,r,i)}}function CI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function NI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ar(t)&&(n[""]=e)}}function MI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fm(e,t,n,r,o,i,s,a){let c=t.consts,l=Hr(c,s),d=js(t,e,2,r,l);return i&&um(t,n,d,Hr(c,a),o),d.mergedAttrs=Xu(d.mergedAttrs,d.attrs),d.attrs!==null&&zp(d,d.attrs,!1),d.mergedAttrs!==null&&zp(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function dm(e,t){Yh(e,t),Ch(t)&&e.queries.elementEnd(t)}var Iu=class extends $n{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ts(t);return new Su(n,this.ngModule)}};function xI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Bs.SignalBased)!==0};return o&&(i.transform=o),i})}function AI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function OI(e,t,n){let r=t instanceof nr?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Jc(n,r):n}function RI(e){let t=e.get($r,null);if(t===null)throw new ge(407,!1);let n=e.get(vI,null),r=e.get(Vn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function LI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return kg(t,n,n==="svg"?PD:n==="math"?FD:null)}var Su=class extends ys{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return xI(this.componentDef.inputs)}get outputs(){return AI(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=yw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){Re(22);let i=pe(null);try{let s=this.componentDef,a=r?["ng-version","19.2.0"]:vw(this.componentDef.selectors[0]),c=ul(0,null,null,1,0,null,null,null,null,[a],null),l=OI(s,o||this.ngModule,t),d=RI(l),h=d.rendererFactory.createRenderer(null,s),y=r?Cw(h,r,s.encapsulation,l):LI(s,h),v=ll(null,c,null,512|jg(s),null,null,d,h,l,null,wg(y,l,!0));v[ct]=y,Zu(v);let b=null;try{let M=fm(ct,c,v,"#host",()=>[this.componentDef],!0,0);y&&(Ug(h,y,M),Yo(y,v)),fl(c,v,M),Sg(c,M,v),dm(c,M),n!==void 0&&PI(M,this.ngContentSelectors,n),b=jn(M.index,v),v[Xe]=b[Xe],pl(c,v,null)}catch(M){throw b!==null&&iu(b),iu(v),M}finally{Re(23),Ku()}return new bu(this.componentType,v)}finally{pe(i)}}},bu=class extends Du{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Wu(n[he],ct),this.location=fg(this._tNode,n),this.instance=jn(this._tNode.index,n)[Xe],this.hostView=this.changeDetectorRef=new _u(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=dl(r,o[he],o,t,n);this.previousInputValues.set(t,n);let s=jn(r.index,o);Dl(s,1)}get injector(){return new ds(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function PI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var FI=()=>!1;function kI(e,t,n){return FI(e,t,n)}var Gr=class{};var vs=class extends Gr{injector;componentFactoryResolver=new Iu(this);instance=null;constructor(t){super();let n=new Fo([...t.providers,{provide:Gr,useValue:this},{provide:$n,useValue:this.componentFactoryResolver}],t.parent||$u(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function BI(e,t,n=null){return new vs({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var UI=(()=>{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=Dh(!1,n.type),o=r.length>0?BI([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Ue({token:e,providedIn:"environment",factory:()=>new e(Ce(nr))})}return e})();function Vs(e){return Y_(()=>{let t=GI(e),n=ie(N({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(UI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,styles:e.styles||wn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ko("NgStandalone"),WI(n);let r=e.dependencies;return n.directiveDefs=Kp(r,!1),n.pipeDefs=Kp(r,!0),n.id=zI(n),n})}function jI(e){return Ts(e)||vh(e)}function VI(e){return e!==null}function HI(e,t){if(e==null)return Ur;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Bs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $I(e){if(e==null)return Ur;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Jr(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 GI(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||Ur,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||wn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:HI(e.inputs,t),outputs:$I(e.outputs),debugInfo:null}}function WI(e){e.features?.forEach(t=>t(e))}function Kp(e,t){if(!e)return null;let n=t?Eh:jI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(VI)}function zI(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 bl(e,t,n){return e[t]=n}function qI(e,t){return e[t]}function Cn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function YI(e,t,n,r){let o=Cn(e,t,n);return Cn(e,t+1,r)||o}function ZI(e,t,n,r,o,i,s,a,c){let l=t.consts,d=js(t,e,4,s||null,a||null);Ph()&&um(t,n,d,Hr(l,c),qg),d.mergedAttrs=Xu(d.mergedAttrs,d.attrs),Yh(t,d);let h=d.tView=ul(2,d,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function Tu(e,t,n,r,o,i,s,a,c,l){let d=n+ct,h=t.firstCreatePass?ZI(d,t,e,r,o,i,s,a,c):t.data[d];Yr(h,!1);let y=KI(t,e,h,n);Ju()&&El(t,e,y,h),Yo(y,e);let v=dI(y,e,y,h);return e[d]=v,Hg(e,v),kI(v,h,e),Gu(h)&&fl(t,e,h),c!=null&&Wg(e,h,l),h}function Tl(e,t,n,r,o,i,s,a){let c=Oe(),l=Ct(),d=Hr(l.consts,i);return Tu(c,l,e,t,n,r,o,d,s,a),Tl}var KI=JI;function JI(e,t,n,r){return Qu(!0),t[at].createComment("")}var pm=new be("");var QI=(()=>{class e{static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>new Cu})}return e})(),Cu=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Cl(e){return!!e&&typeof e.then=="function"}function hm(e){return!!e&&typeof e.subscribe=="function"}var XI=new be("");var gm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=Se(XI,{optional:!0})??[];injector=Se(tn);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Sh(this.injector,o);if(Cl(i))n.push(i);else if(hm(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eS=new be("");function tS(){Hd(()=>{throw new ge(600,!1)})}function nS(e){return e.isBoundToModule}var rS=10;var Gn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Se(A0);afterRenderManager=Se(V0);zonelessEnabled=Se(Os);rootEffectScheduler=Se(QI);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Dn;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=Se(Rs).hasPendingTasks.pipe(No(n=>!n));constructor(){Se(Ps,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=Se(nr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){Re(10);let o=n instanceof ys;if(!this._injector.get(gm).done){let y=!o&&yD(n),v=!1;throw new ge(405,v)}let s;o?s=n:s=this._injector.get($n).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=nS(s)?void 0:this._injector.get(Gr),c=r||s.selector,l=s.create(tn.NULL,[],c,a),d=l.location.nativeElement,h=l.injector.get(pm,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),rs(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),Re(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Re(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Dg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ge(101,!1);let n=pe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,pe(n),this.afterTick.next(),Re(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($r,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<rS;)Re(14),this.synchronizeOnce(),Re(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:o}of this.allViews)oS(r,o,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})=>Ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;rs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(eS,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>rs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ge(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rs(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function oS(e,t,n,r){if(!n&&!Ms(e))return;nm(e,t,n&&!r?0:1)}function mm(e,t,n,r){return Cn(e,As(),n)?t+Ss(n)+r:Pt}function Xi(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function iS(e){return(e&2)==2}function sS(e,t){return e&131071|t<<17}function Nu(e){return e|2}function Wr(e){return(e&131068)>>2}function kc(e,t){return e&-131069|t<<2}function aS(e){return(e&1)===1}function Mu(e){return e|1}function cS(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ir(s),c=Wr(s);e[r]=n;let l=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||$o(h,d)>0)&&(l=!0)}else d=n;if(o)if(c!==0){let y=ir(e[a+1]);e[r+1]=Xi(y,a),y!==0&&(e[y+1]=kc(e[y+1],r)),e[a+1]=sS(e[a+1],r)}else e[r+1]=Xi(a,0),a!==0&&(e[a+1]=kc(e[a+1],r)),a=r;else e[r+1]=Xi(c,0),a===0?a=r:e[c+1]=kc(e[c+1],r),c=r;l&&(e[r+1]=Nu(e[r+1])),Jp(e,d,r,!0),Jp(e,d,r,!1),uS(t,d,e,r,i),s=Xi(a,c),i?t.classBindings=s:t.styleBindings=s}function uS(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$o(i,t)>=0&&(n[r+1]=Mu(n[r+1]))}function Jp(e,t,n,r){let o=e[n+1],i=t===null,s=r?ir(o):Wr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];lS(c,t)&&(a=!0,e[s+1]=r?Mu(l):Nu(l)),s=r?ir(l):Wr(l)}a&&(e[n+1]=r?Nu(o):Mu(o))}function lS(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$o(e,t)>=0:!1}var dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fS(e){return e.substring(dt.key,dt.keyEnd)}function dS(e){return e.substring(dt.value,dt.valueEnd)}function pS(e){return hS(e),ym(e,Es(e,0,dt.textEnd))}function ym(e,t){let n=dt.textEnd,r=dt.key=Es(e,t,n);return n===r?-1:(r=dt.keyEnd=gS(e,r,n),r=Qp(e,r,n,58),r=dt.value=Es(e,r,n),r=dt.valueEnd=mS(e,r,n),Qp(e,r,n,59))}function hS(e){dt.key=0,dt.keyEnd=0,dt.value=0,dt.valueEnd=0,dt.textEnd=e.length}function Es(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gS(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Qp(e,t,n,r){return t=Es(e,t,n),t<n&&t++,t}function mS(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Xp(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Xp(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Xp(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function sn(e,t,n){let r=Oe(),o=As();if(Cn(r,o,t)){let i=Ct(),s=zh();zg(i,s,r,e,t,r[at],n,!1)}return sn}function xu(e,t,n,r,o){dl(t,e,n,o?"class":"style",r)}function Hs(e,t,n){return vS(e,t,n,!1),Hs}function vm(e){ES(Dm,yS,e,!1)}function yS(e,t){for(let n=pS(t);n>=0;n=ym(t,n))Dm(e,fS(t),dS(t))}function vS(e,t,n,r){let o=Oe(),i=Ct(),s=Uh(2);if(i.firstUpdatePass&&_m(i,e,s,r),t!==Pt&&Cn(o,s,t)){let a=i.data[zn()];wm(i,a,o,o[at],e,o[s+1]=TS(t,n),r,s)}}function ES(e,t,n,r){let o=Ct(),i=Uh(2);o.firstUpdatePass&&_m(o,null,i,r);let s=Oe();if(n!==Pt&&Cn(s,i,n)){let a=o.data[zn()];if(Im(a,r)&&!Em(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=jc(c,n||"")),xu(o,a,s,n,r)}else bS(o,a,s,s[at],s[i+1],s[i+1]=SS(e,t,n),r,i)}}function Em(e,t){return t>=e.expandoStartIndex}function _m(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[zn()],s=Em(e,n);Im(i,r)&&t===null&&!s&&(t=!1),t=_S(o,i,t,r),cS(o,i,t,n,s,r)}}function _S(e,t,n,r){let o=XD(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Bc(null,e,t,n,r),n=Ho(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Bc(o,e,t,n,r),i===null){let c=DS(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Bc(null,e,t,c[1],r),c=Ho(c,t.attrs,r),wS(e,t,r,c))}else i=IS(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function DS(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wr(r)!==0)return e[ir(r)]}function wS(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ir(o)]=r}function IS(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ho(r,s,n)}return Ho(r,t.attrs,n)}function Bc(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Ho(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ho(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),gh(e,s,n?!0:t[++i]))}return e===void 0?null:e}function SS(e,t,n){if(n==null||n==="")return wn;let r=[],o=Lt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Dm(e,t,n){gh(e,t,Lt(n))}function bS(e,t,n,r,o,i,s,a){o===Pt&&(o=wn);let c=0,l=0,d=0<o.length?o[0]:null,h=0<i.length?i[0]:null;for(;d!==null||h!==null;){let y=c<o.length?o[c+1]:void 0,v=l<i.length?i[l+1]:void 0,b=null,M;d===h?(c+=2,l+=2,y!==v&&(b=h,M=v)):h===null||d!==null&&d<h?(c+=2,b=d):(l+=2,b=h,M=v),b!==null&&wm(e,t,n,r,b,M,s,a),d=c<o.length?o[c]:null,h=l<i.length?i[l]:null}}function wm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],d=aS(l)?eh(c,t,n,o,Wr(l),s):void 0;if(!_s(d)){_s(i)||iS(l)&&(i=eh(c,null,n,o,a,s));let h=Ah(zn(),n);Qw(r,s,h,o,i)}}function eh(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),d=l?c[1]:c,h=d===null,y=n[o+1];y===Pt&&(y=h?wn:void 0);let v=h?Mc(y,r):d===r?y:void 0;if(l&&!_s(v)&&(v=Mc(c,r)),_s(v)&&(a=v,s))return a;let b=e[o+1];o=s?ir(b):Wr(b)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Mc(c,r))}return a}function _s(e){return e!==void 0}function TS(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ot(Lt(e)))),e}function Im(e,t){return(e.flags&(t?8:16))!==0}var Au=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Uc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CS(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),d=t[i],h=Uc(i,l,i,d,n);if(h!==0){h<0&&e.updateValue(i,d),i++;continue}let y=e.at(s),v=t[c],b=Uc(s,y,c,v,n);if(b!==0){b<0&&e.updateValue(s,v),s--,c--;continue}let M=n(i,l),R=n(s,y),k=n(i,d);if(Object.is(k,R)){let $=n(c,v);Object.is($,M)?(e.swap(i,s),e.updateValue(s,v),c--,s--):e.move(s,i),e.updateValue(i,d),i++;continue}if(r??=new Ds,o??=nh(e,i,s,n),Ou(e,r,i,k))e.updateValue(i,d),i++,s++;else if(o.has(k))r.set(M,e.detach(i)),s--;else{let $=e.create(i,t[i]);e.attach(i,$),i++,s++}}for(;i<=c;)th(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let d=e.at(i),h=l.value,y=Uc(i,d,i,h,n);if(y!==0)y<0&&e.updateValue(i,h),i++,l=c.next();else{r??=new Ds,o??=nh(e,i,s,n);let v=n(i,h);if(Ou(e,r,i,v))e.updateValue(i,h),i++,s++,l=c.next();else if(!o.has(v))e.attach(i,e.create(i,h)),i++,s++,l=c.next();else{let b=n(i,d);r.set(b,e.detach(i)),s--}}}for(;!l.done;)th(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ou(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function th(e,t,n,r,o){if(Ou(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function nh(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ds=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Sm(e,t){Ko("NgControlFlow");let n=Oe(),r=As(),o=n[r]!==Pt?n[r]:-1,i=o!==-1?ws(n,ct+o):void 0,s=0;if(Cn(n,r,e)){let a=pe(null);try{if(i!==void 0&&am(i,s),e!==-1){let c=ct+e,l=ws(n,c),d=Fu(n[he],c),h=Sl(l,d.tView.ssrId),y=hl(n,d,t,{dehydratedView:h});wl(l,y,s,gl(d,h))}}finally{pe(a)}}else if(i!==void 0){let a=sm(i,s);a!==void 0&&(a[Xe]=t)}}var Ru=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-It}};function bm(e,t){return t}var Lu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function cr(e,t,n,r,o,i,s,a,c,l,d,h,y){Ko("NgControlFlow");let v=Oe(),b=Ct(),M=c!==void 0,R=Oe(),k=a?s.bind(R[en][Xe]):s,$=new Lu(M,k);R[ct+e]=$,Tu(v,b,e+1,t,n,r,o,Hr(b.consts,i)),M&&Tu(v,b,e+2,c,l,d,h,Hr(b.consts,y))}var Pu=class extends Au{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-It}at(t){return this.getLView(t)[Xe].$implicit}attach(t,n){let r=n[ko];this.needsIndexUpdate||=t!==this.length,wl(this.lContainer,n,t,gl(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,NS(this.lContainer,t)}create(t,n){let r=Sl(this.lContainer,this.templateTNode.tView.ssrId),o=hl(this.hostLView,this.templateTNode,new Ru(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){vl(t[he],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Xe].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Xe].$index=t}getLView(t){return MS(this.lContainer,t)}};function ur(e){let t=pe(null),n=zn();try{let r=Oe(),o=r[he],i=r[n],s=n+1,a=ws(r,s);if(i.liveCollection===void 0){let l=Fu(o,s);i.liveCollection=new Pu(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(CS(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=As(),d=c.length===0;if(Cn(r,l,d)){let h=n+2,y=ws(r,h);if(d){let v=Fu(o,h),b=Sl(y,v.tView.ssrId),M=hl(r,v,void 0,{dehydratedView:b});wl(y,M,0,gl(v,b))}else am(y,0)}}}finally{pe(t)}}function ws(e,t){return e[t]}function NS(e,t){return Il(e,t)}function MS(e,t){return sm(e,t)}function Fu(e,t){return Wu(e,t)}function rt(e,t,n,r){let o=Oe(),i=Ct(),s=ct+e,a=o[at],c=i.firstCreatePass?fm(s,i,o,t,qg,Ph(),n,r):i.data[s],l=xS(i,o,c,a,t,e);o[s]=l;let d=Gu(c);return Yr(c,!0),Ug(a,l,c),!Zg(c)&&Ju()&&El(i,o,l,c),(VD()===0||d)&&Yo(l,o),HD(),d&&(fl(i,o,c),Sg(i,c,o)),r!==null&&Wg(o,c),rt}function St(){let e=qr();kh()?YD():(e=e.parent,Yr(e,!1));let t=e;WD(t)&&zD(),$D();let n=Ct();return n.firstCreatePass&&dm(n,t),t.classesWithoutHost!=null&&s0(t)&&xu(n,t,Oe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&a0(t)&&xu(n,t,Oe(),t.stylesWithoutHost,!1),St}function an(e,t,n,r){return rt(e,t,n,r),St(),an}var xS=(e,t,n,r,o,i)=>(Qu(!0),kg(r,o,n0()));function Tm(){return Oe()}var Is="en-US";var AS=Is;function OS(e){typeof e=="string"&&(AS=e.toLowerCase().replace(/_/g,"-"))}var RS=(e,t,n)=>{};function Qr(e,t,n,r){let o=Oe(),i=Ct(),s=qr();return PS(i,o,o[at],s,e,t,r),Qr}function LS(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[as],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function PS(e,t,n,r,o,i,s){let a=Gu(r),l=e.firstCreatePass?jD(e):null,d=t[Xe],h=UD(t),y=!0;if(r.type&3||s){let v=Wn(r,t),b=s?s(v):v,M=h.length,R=s?$=>s(Sn($[r.index])):r.index,k=null;if(!s&&a&&(k=LS(e,t,o,r.index)),k!==null){let $=k.__ngLastListenerFn__||k;$.__ngNextListenerFn__=i,k.__ngLastListenerFn__=i,y=!1}else{i=ih(r,t,d,i),RS(v,o,i);let $=n.listen(b,o,i);h.push(i,$),l&&l.push(o,R,M,M+1)}}else i=ih(r,t,d,i);if(y){let v=r.outputs?.[o],b=r.hostDirectiveOutputs?.[o];if(b&&b.length)for(let M=0;M<b.length;M+=2){let R=b[M],k=b[M+1];rh(r,e,t,R,k,o,i,h,l)}if(v&&v.length)for(let M of v)rh(r,e,t,M,o,o,i,h,l)}}function rh(e,t,n,r,o,i,s,a,c){let l=n[r],h=t.data[r].outputs[o],v=l[h].subscribe(s),b=a.length;a.push(s,v),c&&c.push(i,e.index,b,-(b+1))}function oh(e,t,n,r){let o=pe(null);try{return Re(6,t,n),n(r)!==!1}catch(i){return Yg(e,i),!1}finally{Re(7,t,n),pe(o)}}function ih(e,t,n,r){return function o(i){if(i===Function)return r;let s=Go(e)?jn(e.index,t):t;Dl(s,5);let a=oh(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=oh(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function bt(e=1){return t0(e)}function lr(e,t,n){return $s(e,"",t,"",n),lr}function $s(e,t,n,r,o){let i=Oe(),s=mm(i,t,n,r);if(s!==Pt){let a=Ct(),c=zh();zg(a,c,i,e,s,i[at],o,!1)}return $s}function Cm(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function fr(e,t=""){let n=Oe(),r=Ct(),o=e+ct,i=r.firstCreatePass?js(r,o,1,t,null):r.data[o],s=FS(r,n,i,t,e);n[o]=s,Ju()&&El(r,n,s,i),Yr(i,!1)}var FS=(e,t,n,r,o)=>(Qu(!0),Ew(t[at],r));function Qo(e){return Gs("",e,""),Qo}function Gs(e,t,n){let r=Oe(),o=mm(r,e,t,n);return o!==Pt&&kS(r,zn(),o),Gs}function kS(e,t,n){let r=Ah(t,e);_w(e[at],r,n)}var BS={};function Xo(e){let t=Ct(),n=Oe(),r=e+ct,o=js(t,r,128,null,null);return Yr(o,!1),Cm(t,n,r,BS),Xo}function Nm(e,t,n){let r=Yu()+e,o=Oe();return o[r]===Pt?bl(o,r,n?t.call(n):t()):qI(o,r)}function Mm(e,t){let n=e[t];return n===Pt?void 0:n}function US(e,t,n,r,o,i){let s=t+n;return Cn(e,s,o)?bl(e,s+1,i?r.call(i,o):r(o)):Mm(e,s+1)}function jS(e,t,n,r,o,i,s){let a=t+n;return YI(e,a,o,i)?bl(e,a+2,s?r.call(s,o,i):r(o,i)):Mm(e,a+2)}function dr(e,t){let n=Ct(),r,o=e+ct;n.firstCreatePass?(r=VS(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Br(r.type,!0)),s,a=wt(Kr);try{let c=fs(!1),l=i();return fs(c),Cm(n,Oe(),o,l),l}finally{wt(a)}}function VS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Xr(e,t,n){let r=e+ct,o=Oe(),i=Oh(o,r);return Am(o,r)?US(o,Yu(),t,i.transform,n,i):i.transform(n)}function xm(e,t,n,r){let o=e+ct,i=Oe(),s=Oh(i,o);return Am(i,o)?jS(i,Yu(),t,s.transform,n,r,s):s.transform(n,r)}function Am(e,t){return e[he].data[t].pure}var HS=(()=>{class e{zone=Se(nt);changeDetectionScheduler=Se(Vn);applicationRef=Se(Gn);_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(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $S({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new nt(ie(N({},GS()),{scheduleInRootZone:n})),[{provide:nt,useFactory:e},{provide:Po,multi:!0,useFactory:()=>{let r=Se(HS,{optional:!0});return()=>r.initialize()}},{provide:Po,multi:!0,useFactory:()=>{let r=Se(WS);return()=>{r.initialize()}}},t===!0?{provide:cg,useValue:!0}:[],{provide:el,useValue:n??sg}]}function GS(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var WS=(()=>{class e{subscription=new ft;initialized=!1;zone=Se(nt);pendingTasks=Se(Rs);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(()=>{nt.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{nt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Om=(()=>{class e{appRef=Se(Gn);taskService=Se(Rs);ngZone=Se(nt);zonelessEnabled=Se(Os);tracing=Se(Ps,{optional:!0});disableScheduling=Se(cg,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ft;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Se(el,{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 gs||!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 o=this.useMicrotaskScheduler?Rp:ug;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>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,Rp(()=>{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(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rm(){return Ko("NgZoneless"),_h([{provide:Vn,useExisting:Om},{provide:nt,useClass:gs},{provide:Os,useValue:!0},{provide:el,useValue:!1},[]])}function zS(){return typeof $localize<"u"&&$localize.locale||Is}var Nl=new be("",{providedIn:"root",factory:()=>Se(Nl,le.Optional|le.SkipSelf)||zS()});var ku=new be(""),qS=new be("");function Mo(e){return!e.moduleRef}function YS(e){let t=Mo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(nt);return n.run(()=>{Mo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Hn,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ku);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ku);s.add(i),e.moduleRef.onDestroy(()=>{rs(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return KS(r,n,()=>{let i=t.get(gm);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Nl,Is);if(OS(s||Is),!t.get(qS,!0))return Mo(e)?t.get(Gn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mo(e)){let c=t.get(Gn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return ZS(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ZS(e,t){let n=e.injector.get(Gn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new ge(-403,!1);t.push(e)}function KS(e,t,n){try{let r=n();return Cl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var os=null;function JS(e=[],t){return tn.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:ku,useValue:new Set([()=>os=null])},...e]})}function QS(e=[]){if(os)return os;let t=JS(e);return os=t,tS(),XS(t),t}function XS(e){let t=e.get(ol,null);Sh(e,()=>{t?.forEach(n=>n())})}function Lm(e){Re(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=QS(r),i=[$S({}),{provide:Vn,useExisting:Om},...n||[]],s=new vs({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return YS({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{Re(9)}}var sh=class{[_n];constructor(t){this[_n]=t}destroy(){this[_n].destroy()}};var eb={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function tb(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function nb(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ml;function rb(e,t){if(!Ml){let n=Element.prototype;Ml=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ml.call(e,t):!1}function ob(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[tb(r)]=[n,o]}),t}function ib(e,t){return t.get($n).resolveComponentFactory(e).inputs}function sb(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=ab(a,t,o);c!==-1&&r[c].push(a)}return r}function ab(e,t,n){let r=n;return nb(e)&&t.some((o,i)=>o!=="*"&&rb(e,o)?(r=i,!0):!1),r}var cb=10,xl=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get($n).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Al(this.componentFactory,t,this.inputMap)}},Al=class{componentFactory;injector;inputMap;eventEmitters=new Co(1);events=this.eventEmitters.pipe(Nc(t=>Cc(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(nt),this.appRef=this.injector.get(Gn),this.cdScheduler=n.get(Vn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=eb.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cb))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let n=tn.create({providers:[],parent:this.injector}),r=sb(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new ze(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Ol=class extends HTMLElement{ngElementEventsSubscription=null};function Fm(e,t){let n=ib(e,t.injector),r=t.strategyFactory||new xl(e,t.injector),o=ob(n);class i extends Ol{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;let d=this[c];delete this[c],a.setInputValue(c,d,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,d){let[h,y]=o[a];this.ngElementStrategy.setInputValue(h,l,y)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}var km=null;function Rl(){return km}function Bm(e){km??=e}var Ws=class{};var An=new be("");function Um(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var jm="browser",ub="server";function Ll(e){return e===ub}var zs=class{};var Fl=class extends Ws{supportsDOMEvents=!0},kl=class e extends Fl{static makeCurrent(){Bm(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}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=lb();return n==null?null:fb(n)}resetBaseElement(){ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Um(document.cookie,t)}},ei=null;function lb(){return ei=ei||document.querySelector("base"),ei?ei.getAttribute("href"):null}function fb(e){return new URL(e,document.baseURI).pathname}var db=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Bl=new be(""),zm=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}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 ge(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(Ce(Bl),Ce(nt))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Ys=class{_doc;constructor(t){this._doc=t}manager},qs="ng-app-id";function Vm(e){for(let t of e)t.remove()}function Hm(e,t){let n=t.createElement("style");return n.textContent=e,n}function pb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${qs}="${t}"],link[${qs}="${t}"]`);if(o)for(let i of o)i.removeAttribute(qs),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Ul(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var qm=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Ll(i),pb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Hm);r?.forEach(o=>this.addUsage(o,this.external,Ul))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Vm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Vm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Hm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Ul(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(qs,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(Ce(An),Ce(rl),Ce(il,8),Ce(Zo))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Pl={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"},Vl=/%COMP%/g;var Ym="%COMP%",hb=`_nghost-${Ym}`,gb=`_ngcontent-${Ym}`,mb=!0,yb=new be("",{providedIn:"root",factory:()=>mb});function vb(e){return gb.replace(Vl,e)}function Eb(e){return hb.replace(Vl,e)}function Zm(e,t){return t.map(n=>n.replace(Vl,e))}var $m=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,l=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=d,this.platformIsServer=Ll(a),this.defaultRenderer=new ti(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===nn.ShadowDom&&(r=ie(N({},r),{encapsulation:nn.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Zs?o.applyToHost(n):o instanceof ni&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,y=this.tracingService;switch(r.encapsulation){case nn.Emulated:i=new Zs(c,l,r,this.appId,d,s,a,h,y);break;case nn.ShadowDom:return new jl(c,l,n,r,s,a,this.nonce,h,y);default:i=new ni(c,l,r,d,s,a,h,y);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(Ce(zm),Ce(qm),Ce(rl),Ce(yb),Ce(An),Ce(Zo),Ce(nt),Ce(il),Ce(Ps,8))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),ti=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Gm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Gm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new ge(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Pl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Pl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Tn.DashCase|Tn.Important)?t.style.setProperty(n,r,o&Tn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Tn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Rl().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);let i=this.decoratePreventDefault(r);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Gm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var jl=class extends ti{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=o.styles;d=Zm(o.id,d);for(let y of d){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=y,this.shadowRoot.appendChild(v)}let h=o.getExternalStyles?.();if(h)for(let y of h){let v=Ul(y,i);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ni=class extends ti{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let d=r.styles;this.styles=l?Zm(l,d):d,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Zs=class extends ni{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let d=o+"-"+r.id;super(t,n,r,i,s,a,c,l,d),this.contentAttr=vb(d),this.hostAttr=Eb(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},_b=(()=>{class e extends Ys{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Wm=["alt","control","meta","shift"],Db={"\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"},wb={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ib=(()=>{class e extends Ys{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rl().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Wm.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Db[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Wm.forEach(s=>{if(s!==o){let a=wb[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})();function Km(e){return Lm(Sb(e))}function Sb(e){return{appProviders:[...Mb,...e?.providers??[]],platformProviders:Nb}}function bb(){kl.makeCurrent()}function Tb(){return new Hn}function Cb(){return vg(document),document}var Nb=[{provide:Zo,useValue:jm},{provide:ol,useValue:bb,multi:!0},{provide:An,useFactory:Cb,deps:[]}];var Mb=[{provide:Cs,useValue:"root"},{provide:Hn,useFactory:Tb,deps:[]},{provide:Bl,useClass:_b,multi:!0,deps:[An]},{provide:Bl,useClass:Ib,multi:!0,deps:[An]},$m,qm,zm,{provide:$r,useExisting:$m},{provide:zs,useClass:db,deps:[]},[]];var Hl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=Ce(xb),o},providedIn:"root"})}return e})(),xb=(()=>{class e extends Hl{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case on.NONE:return r;case on.HTML:return qn(r,"HTML")?Lt(r):sl(this._doc,String(r)).toString();case on.STYLE:return qn(r,"Style")?Lt(r):r;case on.SCRIPT:if(qn(r,"Script"))return Lt(r);throw new ge(5200,!1);case on.URL:return qn(r,"URL")?Lt(r):ks(String(r));case on.RESOURCE_URL:if(qn(r,"ResourceURL"))return Lt(r);throw new ge(5201,!1);default:throw new ge(5202,!1)}}bypassSecurityTrustHtml(n){return bg(n)}bypassSecurityTrustStyle(n){return Tg(n)}bypassSecurityTrustScript(n){return Cg(n)}bypassSecurityTrustUrl(n){return Ng(n)}bypassSecurityTrustResourceUrl(n){return Mg(n)}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ri={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css",widgetURL:"http://localhost:8002/main.js"};var Nt=Io(Qm());var Xm="9.4.0";var cn=class e{static SDK_VERSION=Xm;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let t=e.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");e.SDK_VERSION_CODE=parseInt(t,10)}};var ot=class{static log(...t){Nt.default.info(...t)}static debug(...t){Nt.default.debug(...t)}static error(...t){Nt.default.error(...t)}static warn(...t){Nt.default.warn(...t)}static info(...t){Nt.default.info(...t)}static trace(...t){Nt.default.trace(...t)}static configure(t=cn.LOG_PREFIX){Nt.default.useDefaults({formatter:function(r){r.unshift(`${t} (v${cn.SDK_VERSION}):`)}});let n=this.getDebugParam();(n==="1"||n==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Nt.default.setLevel(Nt.default[localStorage.cooeeLogLevel]):Nt.default.setLevel(ri.debug?Nt.default.TRACE:Nt.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
|
|
7
|
+
`)}`}function Br(e,t){let n=e.hasOwnProperty(wp);return n?e[wp]:null}function Vu(e,t){e.forEach(n=>Array.isArray(n)?Vu(n,t):t(n))}function hD(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hh(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gD(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function gh(e,t,n){let r=$o(e,t);return r>=0?e[r|1]=n:(r=~r,gD(e,r,t,n)),r}function Mc(e,t){let n=$o(e,t);if(n>=0)return e[n|1]}function $o(e,t){return mD(e,t,1)}function mD(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ur={},wn=[],Po=new be(""),mh=new be("",-1),yh=new be(""),ss=class{get(t,n=Lo){if(n===Lo){let r=new Error(`NullInjectorError: No provider for ${Ot(t)}!`);throw r.name="NullInjectorError",r}return n}};function Ts(e){return e[X_]||null}function vh(e){return e[eD]||null}function Eh(e){return e[tD]||null}function yD(e){let t=Ts(e)||vh(e)||Eh(e);return t!==null&&t.standalone}function _h(e){return{\u0275providers:e}}function vD(...e){return{\u0275providers:Dh(!0,e),\u0275fromNgModule:!0}}function Dh(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vu(t,s=>{let a=s;$c(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wh(o,i),n}function wh(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Hu(o,i=>{t(i,r)})}}function $c(e,t,n,r){if(e=Gt(e),!e)return!1;let o=null,i=_p(e),s=!i&&Ts(e);if(!i&&!s){let c=e.ngModule;if(i=_p(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)$c(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Vu(i.imports,d=>{$c(d,t,n,r)&&(l||=[],l.push(d))})}finally{}l!==void 0&&wh(l,t)}if(!a){let l=Br(o)||(()=>new o);t({provide:o,useFactory:l,deps:wn},o),t({provide:yh,useValue:o,multi:!0},o),t({provide:Po,useValue:()=>Ce(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Hu(c,d=>{t(d,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Hu(e,t){for(let n of e)fh(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,t):t(n)}var ED=Le({provide:String,useValue:Le});function Ih(e){return e!==null&&typeof e=="object"&&ED in e}function _D(e){return!!(e&&e.useExisting)}function DD(e){return!!(e&&e.useFactory)}function Gc(e){return typeof e=="function"}var Cs=new be(""),es={},wD={},xc;function $u(){return xc===void 0&&(xc=new ss),xc}var nr=class{},Fo=class extends nr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,zc(t,s=>this.processProvider(s)),this.records.set(mh,Rr(void 0,this)),o.has("environment")&&this.records.set(nr,Rr(void 0,this));let i=this.records.get(Cs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yh,wn,le.Self))}destroy(){xo(this),this._destroyed=!0;let t=pe(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),pe(t)}}onDestroy(t){return xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xo(this);let n=Bn(this),r=wt(void 0),o;try{return t()}finally{Bn(n),wt(r)}}get(t,n=Lo,r=le.Default){if(xo(this),t.hasOwnProperty(Ip))return t[Ip](this);r=bs(r);let o,i=Bn(this),s=wt(void 0);try{if(!(r&le.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=ND(t)&&Uu(t);l&&this.injectableDefInScope(l)?c=Rr(Wc(t),es):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&le.Self?$u():this.parent;return n=r&le.Optional&&n===Lo?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[is]=a[is]||[]).unshift(Ot(t)),i)throw a;return dD(a,t,"R3InjectorError",this.source)}else throw a}finally{wt(s),Bn(i)}}resolveInjectorInitializers(){let t=pe(null),n=Bn(this),r=wt(void 0),o;try{let i=this.get(Po,wn,le.Self);for(let s of i)s()}finally{Bn(n),wt(r),pe(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Ot(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Gt(t);let n=Gc(t)?t:Gt(t&&t.provide),r=SD(t);if(!Gc(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rr(void 0,es,!0),o.factory=()=>Hc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=pe(null);try{return n.value===es&&(n.value=wD,n.value=n.factory()),typeof n.value=="object"&&n.value&&CD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{pe(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Gt(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Wc(e){let t=Uu(e),n=t!==null?t.factory:Br(e);if(n!==null)return n;if(e instanceof be)throw new ge(204,!1);if(e instanceof Function)return ID(e);throw new ge(204,!1)}function ID(e){if(e.length>0)throw new ge(204,!1);let n=J_(e);return n!==null?()=>n.factory(e):()=>new e}function SD(e){if(Ih(e))return Rr(void 0,e.useValue);{let t=bD(e);return Rr(t,es)}}function bD(e,t,n){let r;if(Gc(e)){let o=Gt(e);return Br(o)||Wc(o)}else if(Ih(e))r=()=>Gt(e.useValue);else if(DD(e))r=()=>e.useFactory(...Hc(e.deps||[]));else if(_D(e))r=()=>Ce(Gt(e.useExisting));else{let o=Gt(e&&(e.useClass||e.provide));if(TD(e))r=()=>new o(...Hc(e.deps));else return Br(o)||Wc(o)}return r}function xo(e){if(e.destroyed)throw new ge(205,!1)}function Rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function TD(e){return!!e.deps}function CD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ND(e){return typeof e=="function"||typeof e=="object"&&e instanceof be}function zc(e,t){for(let n of e)Array.isArray(n)?zc(n,t):n&&fh(n)?zc(n.\u0275providers,t):t(n)}function Sh(e,t){e instanceof Fo&&xo(e);let n,r=Bn(e),o=wt(void 0);try{return t()}finally{Bn(r),wt(o)}}function MD(){return dh()!==void 0||uD()!=null}var Nn=0,he=1,ee=2,Rt=3,zt=4,rn=5,ko=6,as=7,Xe=8,Bo=9,In=10,at=11,Uo=12,bp=13,zr=14,en=15,jr=16,Lr=17,Vr=18,Ns=19,bh=20,Un=21,Ac=22,cs=23,Tt=24,Oc=25,ct=26,Th=1;var jo=7,xD=8,us=9,It=10;function tr(e){return Array.isArray(e)&&typeof e[Th]=="object"}function sr(e){return Array.isArray(e)&&e[Th]===!0}function Ch(e){return(e.flags&4)!==0}function Go(e){return e.componentOffset>-1}function Gu(e){return(e.flags&1)===1}function ar(e){return!!e.template}function ls(e){return(e[ee]&512)!==0}function Wo(e){return(e[ee]&256)===256}var qc=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function AD(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),OD}function OD(){let e=xh(this),t=e?.current;if(t){let n=e.previous;if(n===Ur)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function RD(e,t,n,r,o){let i=this.declaredInputs[r],s=xh(e)||LD(e,{previous:Ur,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qc(l&&l.currentValue,n,c===Ur),Nh(e,t,o,n)}var Mh="__ngSimpleChanges__";function xh(e){return e[Mh]||null}function LD(e,t){return e[Mh]=t}var Tp=null;var Re=function(e,t=null,n){Tp?.(e,t,n)},PD="svg",FD="math";function Sn(e){for(;Array.isArray(e);)e=e[Nn];return e}function Ah(e,t){return Sn(t[e])}function Wn(e,t){return Sn(t[e.index])}function Wu(e,t){return e.data[t]}function Oh(e,t){return e[t]}function jn(e,t){let n=t[e];return tr(n)?n:n[Nn]}function zu(e){return(e[ee]&128)===128}function Hr(e,t){return t==null?null:e[t]}function Rh(e){e[Lr]=0}function qu(e){e[ee]&1024||(e[ee]|=1024,zu(e)&&xs(e))}function kD(e,t){for(;e>0;)t=t[zr],e--;return t}function Ms(e){return!!(e[ee]&9216||e[Tt]?.dirty)}function Yc(e){e[In].changeDetectionScheduler?.notify(8),e[ee]&64&&(e[ee]|=1024),Ms(e)&&xs(e)}function xs(e){e[In].changeDetectionScheduler?.notify(0);let t=rr(e);for(;t!==null&&!(t[ee]&8192||(t[ee]|=8192,!zu(t)));)t=rr(t)}function Lh(e,t){if(Wo(e))throw new ge(911,!1);e[Un]===null&&(e[Un]=[]),e[Un].push(t)}function BD(e,t){if(e[Un]===null)return;let n=e[Un].indexOf(t);n!==-1&&e[Un].splice(n,1)}function rr(e){let t=e[Rt];return sr(t)?t[Rt]:t}function UD(e){return e[as]??=[]}function jD(e){return e.cleanup??=[]}var ce={lFrame:$h(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Zc=!1;function VD(){return ce.lFrame.elementDepthCount}function HD(){ce.lFrame.elementDepthCount++}function $D(){ce.lFrame.elementDepthCount--}function Ph(){return ce.bindingsEnabled}function GD(){return ce.skipHydrationRootTNode!==null}function WD(e){return ce.skipHydrationRootTNode===e}function zD(){ce.skipHydrationRootTNode=null}function Oe(){return ce.lFrame.lView}function Ct(){return ce.lFrame.tView}function zo(e){return ce.lFrame.contextLView=e,e[Xe]}function qo(e){return ce.lFrame.contextLView=null,e}function qr(){let e=Fh();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fh(){return ce.lFrame.currentTNode}function qD(){let e=ce.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yr(e,t){let n=ce.lFrame;n.currentTNode=e,n.isParent=t}function kh(){return ce.lFrame.isParent}function YD(){ce.lFrame.isParent=!1}function Bh(){return Zc}function Cp(e){let t=Zc;return Zc=e,t}function Yu(){let e=ce.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ZD(e){return ce.lFrame.bindingIndex=e}function As(){return ce.lFrame.bindingIndex++}function Uh(e){let t=ce.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function KD(){return ce.lFrame.inI18n}function JD(e,t){let n=ce.lFrame;n.bindingIndex=n.bindingRootIndex=e,Kc(t)}function QD(){return ce.lFrame.currentDirectiveIndex}function Kc(e){ce.lFrame.currentDirectiveIndex=e}function XD(e){let t=ce.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function jh(e){ce.lFrame.currentQueryIndex=e}function e0(e){let t=e[he];return t.type===2?t.declTNode:t.type===1?e[rn]:null}function Vh(e,t,n){if(n&le.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&le.Host);)if(o=e0(i),o===null||(i=i[zr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=ce.lFrame=Hh();return r.currentTNode=t,r.lView=e,!0}function Zu(e){let t=Hh(),n=e[he];ce.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hh(){let e=ce.lFrame,t=e===null?null:e.child;return t===null?$h(e):t}function $h(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 Gh(){let e=ce.lFrame;return ce.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wh=Gh;function Ku(){let e=Gh();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 t0(e){return(ce.lFrame.contextLView=kD(e,ce.lFrame.contextLView))[Xe]}function zn(){return ce.lFrame.selectedIndex}function or(e){ce.lFrame.selectedIndex=e}function zh(){let e=ce.lFrame;return Wu(e.tView,e.selectedIndex)}function n0(){return ce.lFrame.currentNamespace}var qh=!0;function Ju(){return qh}function Qu(e){qh=e}function r0(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=AD(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Yh(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),d!=null&&(e.destroyHooks??=[]).push(n,d)}}function ts(e,t,n){Zh(e,t,3,n)}function ns(e,t,n,r){(e[ee]&3)===n&&Zh(e,t,n,r)}function Rc(e,t){let n=e[ee];(n&3)===t&&(n&=16383,n+=1,e[ee]=n)}function Zh(e,t,n,r){let o=r!==void 0?e[Lr]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Lr]+=65536),(a<i||i==-1)&&(o0(e,n,t,c),e[Lr]=(e[Lr]&4294901760)+c+2),c++}function Np(e,t){Re(4,e,t);let n=pe(null);try{t.call(e)}finally{pe(n),Re(5,e,t)}}function o0(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[ee]>>14<e[Lr]>>16&&(e[ee]&3)===t&&(e[ee]+=16384,Np(a,i)):Np(a,i)}var kr=-1,Vo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function i0(e){return e instanceof Vo}function s0(e){return(e.flags&8)!==0}function a0(e){return(e.flags&16)!==0}function c0(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];l0(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function u0(e){return e===3||e===4||e===6}function l0(e){return e.charCodeAt(0)===64}function Xu(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 o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Mp(e,n,o,null,t[++r]):Mp(e,n,o,null,null))}}return e}function Mp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Lc={},Jc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bs(r);let o=this.injector.get(t,Lc,r);return o!==Lc||n===Lc?o:this.parentInjector.get(t,n,r)}};function f0(e){return e!==kr}function Qc(e){return e&32767}function d0(e){return e>>16}function Xc(e,t){let n=d0(e),r=t;for(;n>0;)r=r[zr],n--;return r}var eu=!0;function fs(e){let t=eu;return eu=e,t}var p0=256,Kh=p0-1,Jh=5,h0=0,Xt={};function g0(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Oo)&&(r=n[Oo]),r==null&&(r=n[Oo]=h0++);let o=r&Kh,i=1<<o;t.data[e+(o>>Jh)]|=i}function Qh(e,t){let n=Xh(e,t);if(n!==-1)return n;let r=t[he];r.firstCreatePass&&(e.injectorIndex=t.length,Pc(r.data,e),Pc(t,null),Pc(r.blueprint,null));let o=eg(e,t),i=e.injectorIndex;if(f0(o)){let s=Qc(o),a=Xc(o,t),c=a[he].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Pc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function eg(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ig(o),r===null)return kr;if(n++,o=o[zr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return kr}function m0(e,t,n){g0(e,t,n)}function tg(e,t,n){if(n&le.Optional||e!==void 0)return e;ju(t,"NodeInjector")}function ng(e,t,n,r){if(n&le.Optional&&r===void 0&&(r=null),(n&(le.Self|le.Host))===0){let o=e[Bo],i=wt(void 0);try{return o?o.get(t,r,n&le.Optional):ph(t,r,n&le.Optional)}finally{wt(i)}}return tg(r,t,n)}function rg(e,t,n,r=le.Default,o){if(e!==null){if(t[ee]&2048&&!(r&le.Self)){let s=D0(e,t,n,r,Xt);if(s!==Xt)return s}let i=og(e,t,n,r,Xt);if(i!==Xt)return i}return ng(t,n,r,o)}function og(e,t,n,r,o){let i=E0(n);if(typeof i=="function"){if(!Vh(t,e,r))return r&le.Host?tg(o,n,r):ng(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&le.Optional))ju(n);else return s}finally{Wh()}}else if(typeof i=="number"){let s=null,a=Xh(e,t),c=kr,l=r&le.Host?t[en][rn]:null;for((a===-1||r&le.SkipSelf)&&(c=a===-1?eg(e,t):t[a+8],c===kr||!Ap(r,!1)?a=-1:(s=t[he],a=Qc(c),t=Xc(c,t)));a!==-1;){let d=t[he];if(xp(i,a,d.data)){let h=y0(a,t,n,s,r,l);if(h!==Xt)return h}c=t[a+8],c!==kr&&Ap(r,t[he].data[a+8]===l)&&xp(i,a,t)?(s=d,a=Qc(c),t=Xc(c,t)):a=-1}}return o}function y0(e,t,n,r,o,i){let s=t[he],a=s.data[e+8],c=r==null?Go(a)&&eu:r!=s&&(a.type&3)!==0,l=o&le.Host&&i===a,d=v0(a,s,n,c,l);return d!==null?tu(t,s,d,a):Xt}function v0(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,d=i>>20,h=r?a:a+d,y=o?a+d:l;for(let v=h;v<y;v++){let b=s[v];if(v<c&&n===b||v>=c&&b.type===n)return v}if(o){let v=s[c];if(v&&ar(v)&&v.type===n)return c}return null}function tu(e,t,n,r){let o=e[n],i=t.data;if(i0(o)){let s=o;s.resolving&&rD(nD(i[n]));let a=fs(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?wt(s.injectImpl):null,d=Vh(e,r,le.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&r0(n,i[n],t)}finally{l!==null&&wt(l),fs(a),s.resolving=!1,Wh()}}return o}function E0(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Oo)?e[Oo]:void 0;return typeof t=="number"?t>=0?t&Kh:_0:t}function xp(e,t,n){let r=1<<e;return!!(n[t+(e>>Jh)]&r)}function Ap(e,t){return!(e&le.Self)&&!(e&le.Host&&t)}var ds=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rg(this._tNode,this._lView,t,bs(r),n)}};function _0(){return new ds(qr(),Oe())}function D0(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[ee]&2048&&!ls(s);){let a=og(i,s,n,r|le.Self,Xt);if(a!==Xt)return a;let c=i.parent;if(!c){let l=s[bh];if(l){let d=l.get(n,Xt,r);if(d!==Xt)return d}c=ig(s),s=s[zr]}i=c}return o}function ig(e){let t=e[he],n=t.type;return n===2?t.declTNode:n===1?e[rn]:null}function Op(e,t=null,n=null,r){let o=w0(e,t,n,r);return o.resolveInjectorInitializers(),o}function w0(e,t=null,n=null,r,o=new Set){let i=[n||wn,vD(e)];return r=r||(typeof e=="object"?void 0:Ot(e)),new Fo(i,t||$u(),r||null,o)}var tn=class e{static THROW_IF_NOT_FOUND=Lo;static NULL=new ss;static create(t,n){if(Array.isArray(t))return Op({name:""},n,t,"");{let r=t.name??"";return Op({name:r},t.parent,t.providers,r)}}static \u0275prov=Ue({token:e,providedIn:"any",factory:()=>Ce(mh)});static __NG_ELEMENT_ID__=-1};var I0=new be("");I0.__NG_ELEMENT_ID__=e=>{let t=qr();if(t===null)throw new ge(204,!1);if(t.type&2)return t.value;if(e&le.Optional)return null;throw new ge(204,!1)};var sg=!1,ag=(()=>{class e{static __NG_ELEMENT_ID__=S0;static __NG_ENV_ID__=n=>n}return e})(),nu=class extends ag{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Lh(this._lView,t),()=>BD(this._lView,t)}};function S0(){return new nu(Oe())}var Vn=class{},Os=new be("",{providedIn:"root",factory:()=>!1});var cg=new be(""),el=new be(""),Rs=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new To(!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=Ue({token:e,providedIn:"root",factory:()=>new e})}return e})();var ru=class extends Dn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,MD()&&(this.destroyRef=Se(ag,{optional:!0})??void 0,this.pendingTasks=Se(Rs,{optional:!0})??void 0)}emit(t){let n=pe(null);try{super.next(t)}finally{pe(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof ft&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Wt=ru;function ps(...e){}function ug(e){let t,n;function r(){e=ps;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 Rp(e){return queueMicrotask(()=>e()),()=>{e=ps}}var tl="isAngularZone",hs=tl+"_ID",b0=0,nt=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Wt(!1);onMicrotaskEmpty=new Wt(!1);onStable=new Wt(!1);onError=new Wt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sg}=t;if(typeof Zone>"u")throw new ge(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=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,N0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(tl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new ge(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,T0,ps,ps);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},T0={};function nl(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 C0(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ug(()=>{e.callbackScheduled=!1,ou(e),e.isCheckStableRunning=!0,nl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ou(e)}function N0(e){let t=()=>{C0(e)},n=b0++;e._inner=e._inner.fork({name:"angular",properties:{[tl]:!0,[hs]:n,[hs+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(M0(c))return r.invokeTask(i,s,a,c);try{return Lp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Pp(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Lp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!x0(c)&&t(),Pp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ou(e),nl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ou(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Lp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pp(e){e._nesting--,nl(e)}var gs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Wt;onMicrotaskEmpty=new Wt;onStable=new Wt;onError=new Wt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function M0(e){return lg(e,"__ignore_ng_zone__")}function x0(e){return lg(e,"__scheduler_tick__")}function lg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Hn=class{_console=console;handleError(t){this._console.error("ERROR",t)}},A0=new be("",{providedIn:"root",factory:()=>{let e=Se(nt),t=Se(Hn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function O0(){return fg(qr(),Oe())}function fg(e,t){return new Ls(Wn(e,t))}var Ls=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=O0}return e})();function Zr(e,t){let n=$d(e),r=n[_n];return t?.equal&&(r.equal=t.equal),n.set=o=>yc(r,o),n.update=o=>Gd(r,o),n.asReadonly=R0.bind(n),n}function R0(){let e=this[_n];if(e.readonlyFn===void 0){let t=()=>this();t[_n]=e,e.readonlyFn=t}return e.readonlyFn}function dg(e){return(e.flags&128)===128}var pg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(pg||{}),hg=new Map,L0=0;function P0(){return L0++}function F0(e){hg.set(e[Ns],e)}function iu(e){hg.delete(e[Ns])}var Fp="__ngContext__";function Yo(e,t){tr(t)?(e[Fp]=t[Ns],F0(t)):e[Fp]=t}function gg(e){return yg(e[Uo])}function mg(e){return yg(e[zt])}function yg(e){for(;e!==null&&!sr(e);)e=e[zt];return e}var su;function vg(e){su=e}function Eg(){if(su!==void 0)return su;if(typeof document<"u")return document;throw new ge(210,!1)}var rl=new be("",{providedIn:"root",factory:()=>k0}),k0="ng",ol=new be(""),Zo=new be("",{providedIn:"platform",factory:()=>"unknown"});var il=new be("",{providedIn:"root",factory:()=>Eg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var B0="h",U0="b";var _g=!1,j0=new be("",{providedIn:"root",factory:()=>_g});var Dg=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Dg||{}),Ps=new be(""),kp=new Set;function Ko(e){kp.has(e)||(kp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var V0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>new e})}return e})();var H0=()=>null;function wg(e,t,n=!1){return H0(e,t,n)}function Ig(e,t){let n=e.contentQueries;if(n!==null){let r=pe(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];jh(i),a.contentQueries(2,t[s],s)}}}finally{pe(r)}}}function au(e,t,n){jh(0);let r=pe(null);try{t(e,n)}finally{pe(r)}}function Sg(e,t,n){if(Ch(t)){let r=pe(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{pe(r)}}}var nn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(nn||{}),Ki;function $0(){if(Ki===void 0&&(Ki=null,Ro.trustedTypes))try{Ki=Ro.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ki}function Fs(e){return $0()?.createHTML(e)||e}var Ji;function G0(){if(Ji===void 0&&(Ji=null,Ro.trustedTypes))try{Ji=Ro.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ji}function Bp(e){return G0()?.createHTML(e)||e}var bn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ah})`}},cu=class extends bn{getTypeName(){return"HTML"}},uu=class extends bn{getTypeName(){return"Style"}},lu=class extends bn{getTypeName(){return"Script"}},fu=class extends bn{getTypeName(){return"URL"}},du=class extends bn{getTypeName(){return"ResourceURL"}};function Lt(e){return e instanceof bn?e.changingThisBreaksApplicationSecurity:e}function qn(e,t){let n=W0(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ah})`)}return n===t}function W0(e){return e instanceof bn&&e.getTypeName()||null}function bg(e){return new cu(e)}function Tg(e){return new uu(e)}function Cg(e){return new lu(e)}function Ng(e){return new fu(e)}function Mg(e){return new du(e)}function z0(e){let t=new hu(e);return q0()?new pu(t):t}var pu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Fs(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},hu=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Fs(t),n}};function q0(){try{return!!new window.DOMParser().parseFromString(Fs(""),"text/html")}catch{return!1}}var Y0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ks(e){return e=String(e),e.match(Y0)?e:"unsafe:"+e}function Mn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Jo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var xg=Mn("area,br,col,hr,img,wbr"),Ag=Mn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Og=Mn("rp,rt"),Z0=Jo(Og,Ag),K0=Jo(Ag,Mn("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")),J0=Jo(Og,Mn("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")),Up=Jo(xg,K0,J0,Z0),Rg=Mn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Q0=Mn("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"),X0=Mn("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"),ew=Jo(Rg,Q0,X0),tw=Mn("script,style,template"),gu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=ow(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=jp(t).toLowerCase();if(!Up.hasOwnProperty(n))return this.sanitizedSomething=!0,!tw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!ew.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Rg[a]&&(c=ks(c)),this.buf.push(" ",s,'="',Vp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=jp(t).toLowerCase();Up.hasOwnProperty(n)&&!xg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vp(t))}};function nw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function rw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Lg(t);return t}function ow(e){let t=e.firstChild;if(t&&nw(e,t))throw Lg(t);return t}function jp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Lg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var iw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sw=/([^\#-~ |!])/g;function Vp(e){return e.replace(/&/g,"&").replace(iw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Qi;function sl(e,t){let n=null;try{Qi=Qi||z0(e);let r=t?String(t):"";n=Qi.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qi.getInertBodyElement(r)}while(r!==i);let a=new gu().sanitizeChildren(Hp(n)||n);return Fs(a)}finally{if(n){let r=Hp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Hp(e){return"content"in e&&aw(e)?e.content:null}function aw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var on=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}(on||{});function al(e){let t=Pg();return t?Bp(t.sanitize(on.HTML,e)||""):qn(e,"HTML")?Bp(Lt(e)):sl(Eg(),Ss(e))}function xn(e){let t=Pg();return t?t.sanitize(on.URL,e)||"":qn(e,"URL")?Lt(e):ks(Ss(e))}function Pg(){let e=Oe();return e&&e[In].sanitizer}function cw(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Fg="ng-template";function uw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&cw(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(cl(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function cl(e){return e.type===4&&e.value!==Fg}function lw(e,t,n){let r=e.type===4&&!n?Fg:e.value;return t===r}function fw(e,t,n){let r=4,o=e.attrs,i=o!==null?hw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!$t(r)&&!$t(c))return!1;if(s&&$t(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!lw(e,c,n)||c===""&&t.length===1){if($t(r))return!1;s=!0}}else if(r&8){if(o===null||!uw(e,o,c,n)){if($t(r))return!1;s=!0}}else{let l=t[++a],d=dw(c,o,cl(e),n);if(d===-1){if($t(r))return!1;s=!0;continue}if(l!==""){let h;if(d>i?h="":h=o[d+1].toLowerCase(),r&2&&l!==h){if($t(r))return!1;s=!0}}}}return $t(r)||s}function $t(e){return(e&1)===0}function dw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return gw(t,e)}function pw(e,t,n=!1){for(let r=0;r<t.length;r++)if(fw(e,t[r],n))return!0;return!1}function hw(e){for(let t=0;t<e.length;t++){let n=e[t];if(u0(n))return t}return e.length}function gw(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 $p(e,t){return e?":not("+t.trim()+")":t}function mw(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!$t(s)&&(t+=$p(i,o),o=""),r=s,i=i||!$t(r);n++}return o!==""&&(t+=$p(i,o)),t}function yw(e){return e.map(mw).join(",")}function vw(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!$t(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Pt={};function Ew(e,t){return e.createText(t)}function _w(e,t,n){e.setValue(t,n)}function kg(e,t,n){return e.createElement(t,n)}function mu(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bg(e,t,n){e.appendChild(t,n)}function Gp(e,t,n,r,o){r!==null?mu(e,t,n,r,o):Bg(e,t,n)}function Dw(e,t,n){e.removeChild(null,t,n)}function ww(e,t,n){e.setAttribute(t,"style",n)}function Iw(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ug(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&c0(e,t,r),o!==null&&Iw(e,t,o),i!==null&&ww(e,t,i)}function ul(e,t,n,r,o,i,s,a,c,l,d){let h=ct+r,y=h+o,v=Sw(h,y),b=typeof l=="function"?l():l;return v[he]={type:e,blueprint:v,template:n,queries:null,viewQuery:a,declTNode:t,data:v.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:b,incompleteFirstPass:!1,ssrId:d}}function Sw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Pt);return n}function bw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ul(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ll(e,t,n,r,o,i,s,a,c,l,d){let h=t.blueprint.slice();return h[Nn]=o,h[ee]=r|4|128|8|64|1024,(l!==null||e&&e[ee]&2048)&&(h[ee]|=2048),Rh(h),h[Rt]=h[zr]=e,h[Xe]=n,h[In]=s||e&&e[In],h[at]=a||e&&e[at],h[Bo]=c||e&&e[Bo]||null,h[rn]=i,h[Ns]=P0(),h[ko]=d,h[bh]=l,h[en]=t.type==2?e[en]:h,h}function Tw(e,t,n){let r=Wn(t,e),o=bw(n),i=e[In].rendererFactory,s=Hg(e,ll(e,o,null,jg(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function jg(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Vg(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Hg(e,t){return e[Uo]?e[bp][zt]=t:e[Uo]=t,e[bp]=t,t}function st(e=1){$g(Ct(),Oe(),zn()+e,!1)}function $g(e,t,n,r){if(!r)if((t[ee]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ts(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ns(t,i,0,n)}or(n)}var Bs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Bs||{});function yu(e,t,n,r){let o=pe(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Bs.SignalBased)!==0&&(c=t[i][_n]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Nh(t,c,i,r)}finally{pe(o)}}function Gg(e,t,n,r,o){let i=zn(),s=r&2;try{or(-1),s&&t.length>ct&&$g(e,t,ct,!1),Re(s?2:0,o),n(r,o)}finally{or(i),Re(s?3:1,o)}}function fl(e,t,n){Ow(e,t,n),(n.flags&64)===64&&Rw(e,t,n)}function Wg(e,t,n=Wn){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Cw(e,t,n,r){let i=r.get(j0,_g)||n===nn.ShadowDom,s=e.selectRootElement(t,i);return Nw(s),s}function Nw(e){Mw(e)}var Mw=()=>null;function xw(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function zg(e,t,n,r,o,i,s,a){if(!a&&dl(t,e,n,r,o)){Go(t)&&Aw(n,t.index);return}if(t.type&3){let c=Wn(t,n);r=xw(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Aw(e,t){let n=jn(t,e);n[ee]&16||(n[ee]|=64)}function Ow(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Go(n)&&Tw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Qh(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=tu(t,e,s,n);if(Yo(c,t),i!==null&&Pw(t,s-r,c,a,n,i),ar(a)){let l=jn(n.index,t);l[Xe]=tu(t,e,s,n)}}}function Rw(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=QD();try{or(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Kc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Lw(c,l)}}finally{or(-1),Kc(s)}}function Lw(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function qg(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];pw(t,i.selectors,!1)&&(r??=[],ar(i)?r.unshift(i):r.push(i))}return r}function Pw(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];yu(r,n,c,l)}}function Yg(e,t){let n=e[Bo],r=n?n.get(Hn,null):null;r&&r.handleError(t)}function dl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],d=s[c+1],h=t.data[l];yu(h,n[l],d,o),a=!0}if(i)for(let c of i){let l=n[c],d=t.data[c];yu(d,l,r,o),a=!0}return a}function Fw(e,t){let n=jn(t,e),r=n[he];kw(r,n);let o=n[Nn];o!==null&&n[ko]===null&&(n[ko]=wg(o,n[Bo])),Re(18),pl(r,n,n[Xe]),Re(19,n[Xe])}function kw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pl(e,t,n){Zu(t);try{let r=e.viewQuery;r!==null&&au(1,r,n);let o=e.template;o!==null&&Gg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Vr]?.finishViewCreation(e),e.staticContentQueries&&Ig(e,t),e.staticViewQueries&&au(2,e.viewQuery,n);let i=e.components;i!==null&&Bw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ee]&=-5,Ku()}}function Bw(e,t){for(let n=0;n<t.length;n++)Fw(e,t[n])}function hl(e,t,n,r){let o=pe(null);try{let i=t.tView,a=e[ee]&4096?4096:16,c=ll(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[jr]=l;let d=e[Vr];return d!==null&&(c[Vr]=d.createEmbeddedView(i)),pl(i,c,n),c}finally{pe(o)}}function gl(e,t){return!t||t.firstChild===null||dg(e)}var Uw;function ml(e,t){return Uw(e,t)}var Tn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Tn||{});function Zg(e){return(e.flags&32)===32}function Pr(e,t,n,r,o){if(r!=null){let i,s=!1;sr(r)?i=r:tr(r)&&(s=!0,r=r[Nn]);let a=Sn(r);e===0&&n!==null?o==null?Bg(t,n,a):mu(t,n,a,o||null,!0):e===1&&n!==null?mu(t,n,a,o||null,!0):e===2?Dw(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jw(t,e,i,n,o)}}function jw(e,t){Kg(e,t),t[Nn]=null,t[rn]=null}function Vw(e,t,n,r,o,i){r[Nn]=o,r[rn]=t,Us(e,r,n,1,o,i)}function Kg(e,t){t[In].changeDetectionScheduler?.notify(9),Us(e,t,t[at],2,null,null)}function Hw(e){let t=e[Uo];if(!t)return Fc(e[he],e);for(;t;){let n=null;if(tr(t))n=t[Uo];else{let r=t[It];r&&(n=r)}if(!n){for(;t&&!t[zt]&&t!==e;)tr(t)&&Fc(t[he],t),t=t[Rt];t===null&&(t=e),tr(t)&&Fc(t[he],t),n=t&&t[zt]}t=n}}function yl(e,t){let n=e[us],r=n.indexOf(t);n.splice(r,1)}function vl(e,t){if(Wo(t))return;let n=t[at];n.destroyNode&&Us(e,t,n,3,null,null),Hw(t)}function Fc(e,t){if(Wo(t))return;let n=pe(null);try{t[ee]&=-129,t[ee]|=256,t[Tt]&&mc(t[Tt]),Gw(e,t),$w(e,t),t[he].type===1&&t[at].destroy();let r=t[jr];if(r!==null&&sr(t[Rt])){r!==t[Rt]&&yl(r,t);let o=t[Vr];o!==null&&o.detachView(e)}iu(t)}finally{pe(n)}}function $w(e,t){let n=e.cleanup,r=t[as];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[as]=null);let o=t[Un];if(o!==null){t[Un]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[cs];if(i!==null){t[cs]=null;for(let s of i)s.destroy()}}function Gw(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Vo)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Re(4,a,c);try{c.call(a)}finally{Re(5,a,c)}}else{Re(4,o,i);try{i.call(o)}finally{Re(5,o,i)}}}}}function Ww(e,t,n){return zw(e,t.parent,n)}function zw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Nn];if(Go(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===nn.None||o===nn.Emulated)return null}return Wn(r,n)}function qw(e,t,n){return Zw(e,t,n)}function Yw(e,t,n){return e.type&40?Wn(e,n):null}var Zw=Yw,Wp;function El(e,t,n,r){let o=Ww(e,r,t),i=t[at],s=r.parent||t[rn],a=qw(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Gp(i,o,n[c],a,!1);else Gp(i,o,n,a,!1);Wp!==void 0&&Wp(i,r,t,n,o)}function Ao(e,t){if(t!==null){let n=t.type;if(n&3)return Wn(t,e);if(n&4)return vu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ao(e,r);{let o=e[t.index];return sr(o)?vu(-1,o):Sn(o)}}else{if(n&128)return Ao(e,t.next);if(n&32)return ml(t,e)()||Sn(e[t.index]);{let r=Jg(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rr(e[en]);return Ao(o,r)}else return Ao(e,t.next)}}}return null}function Jg(e,t){if(t!==null){let r=e[en][rn],o=t.projection;return r.projection[o]}return null}function vu(e,t){let n=It+e+1;if(n<t.length){let r=t[n],o=r[he].firstChild;if(o!==null)return Ao(r,o)}return t[jo]}function _l(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Yo(Sn(a),r),n.flags|=2),!Zg(n))if(c&8)_l(e,t,n.child,r,o,i,!1),Pr(t,e,o,a,i);else if(c&32){let l=ml(n,r),d;for(;d=l();)Pr(t,e,o,d,i);Pr(t,e,o,a,i)}else c&16?Kw(e,t,r,n,o,i):Pr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Us(e,t,n,r,o,i){_l(n,r,e.firstChild,t,o,i,!1)}function Kw(e,t,n,r,o,i){let s=n[en],c=s[rn].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let d=c[l];Pr(t,e,o,d,i)}else{let l=c,d=s[Rt];dg(r)&&(l.flags|=128),_l(e,t,l,d,o,i,!0)}}function Jw(e,t,n,r,o){let i=n[jo],s=Sn(n);i!==s&&Pr(t,e,r,i,o);for(let a=It;a<n.length;a++){let c=n[a];Us(c[he],c,e,t,r,i)}}function Qw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Tn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Tn.Important),e.setStyle(n,r,o,i))}}function ms(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Sn(i)),sr(i)&&Xw(i,r);let s=n.type;if(s&8)ms(e,t,n.child,r);else if(s&32){let a=ml(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Jg(t,n);if(Array.isArray(a))r.push(...a);else{let c=rr(t[en]);ms(c[he],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xw(e,t){for(let n=It;n<e.length;n++){let r=e[n],o=r[he].firstChild;o!==null&&ms(r[he],r,o,t)}e[jo]!==e[Nn]&&t.push(e[jo])}function Qg(e){if(e[Oc]!==null){for(let t of e[Oc])t.impl.addSequence(t);e[Oc].length=0}}var Xg=[];function eI(e){return e[Tt]??tI(e)}function tI(e){let t=Xg.pop()??Object.create(rI);return t.lView=e,t}function nI(e){e.lView[Tt]!==e&&(e.lView=null,Xg.push(e))}var rI=ie(N({},Ni),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{xs(e.lView)},consumerOnSignalRead(){this.lView[Tt]=this}});function oI(e){let t=e[Tt]??Object.create(iI);return t.lView=e,t}var iI=ie(N({},Ni),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rr(e.lView);for(;t&&!em(t[he]);)t=rr(t);t&&qu(t)},consumerOnSignalRead(){this.lView[Tt]=this}});function em(e){return e.type!==2}function tm(e){if(e[cs]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[cs])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[ee]&8192)}}var sI=100;function nm(e,t=!0,n=0){let o=e[In].rendererFactory,i=!1;i||o.begin?.();try{aI(e,n)}catch(s){throw t&&Yg(e,s),s}finally{i||o.end?.()}}function aI(e,t){let n=Bh();try{Cp(!0),Eu(e,t);let r=0;for(;Ms(e);){if(r===sI)throw new ge(103,!1);r++,Eu(e,1)}}finally{Cp(n)}}function cI(e,t,n,r){if(Wo(t))return;let o=t[ee],i=!1,s=!1;Zu(t);let a=!0,c=null,l=null;i||(em(e)?(l=eI(t),c=hc(l)):Od()===null?(a=!1,l=oI(t),c=hc(l)):t[Tt]&&(mc(t[Tt]),t[Tt]=null));try{Rh(t),ZD(e.bindingStartIndex),n!==null&&Gg(e,t,n,2,r);let d=(o&3)===3;if(!i)if(d){let v=e.preOrderCheckHooks;v!==null&&ts(t,v,null)}else{let v=e.preOrderHooks;v!==null&&ns(t,v,0,null),Rc(t,0)}if(s||uI(t),tm(t),rm(t,0),e.contentQueries!==null&&Ig(e,t),!i)if(d){let v=e.contentCheckHooks;v!==null&&ts(t,v)}else{let v=e.contentHooks;v!==null&&ns(t,v,1),Rc(t,1)}fI(e,t);let h=e.components;h!==null&&im(t,h,0);let y=e.viewQuery;if(y!==null&&au(2,y,r),!i)if(d){let v=e.viewCheckHooks;v!==null&&ts(t,v)}else{let v=e.viewHooks;v!==null&&ns(t,v,2),Rc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ac]){for(let v of t[Ac])v();t[Ac]=null}i||(Qg(t),t[ee]&=-73)}catch(d){throw i||xs(t),d}finally{l!==null&&(Fd(l,c),a&&nI(l)),Ku()}}function rm(e,t){for(let n=gg(e);n!==null;n=mg(n))for(let r=It;r<n.length;r++){let o=n[r];om(o,t)}}function uI(e){for(let t=gg(e);t!==null;t=mg(t)){if(!(t[ee]&2))continue;let n=t[us];for(let r=0;r<n.length;r++){let o=n[r];qu(o)}}}function lI(e,t,n){Re(18);let r=jn(t,e);om(r,n),Re(19,r[Xe])}function om(e,t){zu(e)&&Eu(e,t)}function Eu(e,t){let r=e[he],o=e[ee],i=e[Tt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&gc(i)),s||=!1,i&&(i.dirty=!1),e[ee]&=-9217,s)cI(r,e,r.template,e[Xe]);else if(o&8192){tm(e),rm(e,1);let a=r.components;a!==null&&im(e,a,1),Qg(e)}}function im(e,t,n){for(let r=0;r<t.length;r++)lI(e,t[r],n)}function fI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)or(~o);else{let i=o,s=n[++r],a=n[++r];JD(s,i);let c=t[i];Re(24,c),a(2,c),Re(25,c)}}}finally{or(-1)}}function Dl(e,t){let n=Bh()?64:1088;for(e[In].changeDetectionScheduler?.notify(t);e;){e[ee]|=n;let r=rr(e);if(ls(e)&&!r)return e;e=r}return null}function dI(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function sm(e,t){let n=It+t;if(n<e.length)return e[n]}function wl(e,t,n,r=!0){let o=t[he];if(pI(o,t,e,n),r){let s=vu(n,e),a=t[at],c=a.parentNode(e[jo]);c!==null&&Vw(o,e[rn],a,t,c,s)}let i=t[ko];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function am(e,t){let n=Il(e,t);return n!==void 0&&vl(n[he],n),n}function Il(e,t){if(e.length<=It)return;let n=It+t,r=e[n];if(r){let o=r[jr];o!==null&&o!==e&&yl(o,r),t>0&&(e[n-1][zt]=r[zt]);let i=hh(e,It+t);jw(r[he],r);let s=i[Vr];s!==null&&s.detachView(i[he]),r[Rt]=null,r[zt]=null,r[ee]&=-129}return r}function pI(e,t,n,r){let o=It+r,i=n.length;r>0&&(n[o-1][zt]=t),r<i-It?(t[zt]=n[o],hD(n,It+r,t)):(n.push(t),t[zt]=null),t[Rt]=n;let s=t[jr];s!==null&&n!==s&&cm(s,t);let a=t[Vr];a!==null&&a.insertView(e),Yc(t),t[ee]|=128}function cm(e,t){let n=e[us],r=t[Rt];if(tr(r))e[ee]|=2;else{let o=r[Rt][en];t[en]!==o&&(e[ee]|=2)}n===null?e[us]=[t]:n.push(t)}var _u=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[he];return ms(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[Xe]}get dirty(){return!!(this._lView[ee]&9280)||!!this._lView[Tt]?.dirty}set context(t){this._lView[Xe]=t}get destroyed(){return Wo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Rt];if(sr(t)){let n=t[xD],r=n?n.indexOf(this):-1;r>-1&&(Il(t,r),hh(n,r))}this._attachedToViewContainer=!1}vl(this._lView[he],this._lView)}onDestroy(t){Lh(this._lView,t)}markForCheck(){Dl(this._cdRefInjectingView||this._lView,4)}markForRefresh(){qu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){Yc(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,nm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ls(this._lView),n=this._lView[jr];n!==null&&!t&&yl(n,this._lView),Kg(this._lView[he],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=t;let n=ls(this._lView),r=this._lView[jr];r!==null&&!n&&cm(r,this._lView),Yc(this._lView)}};function js(e,t,n,r,o){let i=e.data[t];if(i===null)i=hI(e,t,n,r,o),KD()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=qD();i.injectorIndex=s===null?-1:s.injectorIndex}return Yr(i,!0),i}function hI(e,t,n,r,o){let i=Fh(),s=kh(),a=s?i:i&&i.parent,c=e.data[t]=mI(e,a,n,t,r,o);return gI(e,c,i,s),c}function gI(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 mI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return GD()&&(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:o,attrs:i,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 r1=new RegExp(`^(\\d+)*(${U0}|${B0})*(.*)`);var yI=()=>null;function Sl(e,t){return yI(e,t)}var Du=class{},ys=class{},wu=class{resolveComponentFactory(t){throw Error(`No component factory found for ${Ot(t)}.`)}},$n=class{static NULL=new wu},$r=class{};var vI=(()=>{class e{static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>null})}return e})();function zp(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=jc(o,a);else if(i==2){let c=a,l=t[++s];r=jc(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Kr(e,t=le.Default){let n=Oe();if(n===null)return Ce(e,t);let r=qr();return rg(r,n,Gt(e),t)}function um(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,d=_I(s);d===null?a=s:[a,c,l]=d,II(e,t,n,a,i,c,l)}i!==null&&r!==null&&EI(n,r,i)}function EI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new ge(-301,!1);r.push(t[o],i)}}function _I(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&ar(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,DI(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function DI(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function wI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function II(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let y=0;y<a;y++){let v=r[y];!c&&ar(v)&&(c=!0,wI(e,n,y)),m0(Qh(n,t),e,v.type)}MI(n,e.data.length,a);for(let y=0;y<a;y++){let v=r[y];v.providersResolver&&v.providersResolver(v)}let l=!1,d=!1,h=Vg(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let y=0;y<a;y++){let v=r[y];if(n.mergedAttrs=Xu(n.mergedAttrs,v.hostAttrs),bI(e,n,t,h,v),NI(h,v,o),s!==null&&s.has(v)){let[M,R]=s.get(v);n.directiveToIndex.set(v.type,[h,M+n.directiveStart,R+n.directiveStart])}else(i===null||!i.has(v))&&n.directiveToIndex.set(v.type,h);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let b=v.type.prototype;!l&&(b.ngOnChanges||b.ngOnInit||b.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!d&&(b.ngOnChanges||b.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),h++}SI(e,n,i)}function SI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))qp(0,t,o,r),qp(1,t,o,r),Zp(t,r,!1);else{let i=n.get(o);Yp(0,t,i,r),Yp(1,t,i,r),Zp(t,r,!0)}}}function qp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),lm(t,i)}}function Yp(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),lm(t,s)}}function lm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||cl(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let d of l)if(d===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let d=0;d<l.length;d+=2)if(l[d]===t){s??=[],s.push(l[d+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function bI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Br(o.type,!0)),s=new Vo(i,ar(o),Kr);e.blueprint[r]=s,n[r]=s,TI(e,t,r,Vg(e,n,o.hostVars,Pt),o)}function TI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;CI(s)!=a&&s.push(a),s.push(n,r,i)}}function CI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function NI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ar(t)&&(n[""]=e)}}function MI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fm(e,t,n,r,o,i,s,a){let c=t.consts,l=Hr(c,s),d=js(t,e,2,r,l);return i&&um(t,n,d,Hr(c,a),o),d.mergedAttrs=Xu(d.mergedAttrs,d.attrs),d.attrs!==null&&zp(d,d.attrs,!1),d.mergedAttrs!==null&&zp(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function dm(e,t){Yh(e,t),Ch(t)&&e.queries.elementEnd(t)}var Iu=class extends $n{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ts(t);return new Su(n,this.ngModule)}};function xI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Bs.SignalBased)!==0};return o&&(i.transform=o),i})}function AI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function OI(e,t,n){let r=t instanceof nr?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Jc(n,r):n}function RI(e){let t=e.get($r,null);if(t===null)throw new ge(407,!1);let n=e.get(vI,null),r=e.get(Vn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function LI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return kg(t,n,n==="svg"?PD:n==="math"?FD:null)}var Su=class extends ys{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return xI(this.componentDef.inputs)}get outputs(){return AI(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=yw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){Re(22);let i=pe(null);try{let s=this.componentDef,a=r?["ng-version","19.2.0"]:vw(this.componentDef.selectors[0]),c=ul(0,null,null,1,0,null,null,null,null,[a],null),l=OI(s,o||this.ngModule,t),d=RI(l),h=d.rendererFactory.createRenderer(null,s),y=r?Cw(h,r,s.encapsulation,l):LI(s,h),v=ll(null,c,null,512|jg(s),null,null,d,h,l,null,wg(y,l,!0));v[ct]=y,Zu(v);let b=null;try{let M=fm(ct,c,v,"#host",()=>[this.componentDef],!0,0);y&&(Ug(h,y,M),Yo(y,v)),fl(c,v,M),Sg(c,M,v),dm(c,M),n!==void 0&&PI(M,this.ngContentSelectors,n),b=jn(M.index,v),v[Xe]=b[Xe],pl(c,v,null)}catch(M){throw b!==null&&iu(b),iu(v),M}finally{Re(23),Ku()}return new bu(this.componentType,v)}finally{pe(i)}}},bu=class extends Du{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Wu(n[he],ct),this.location=fg(this._tNode,n),this.instance=jn(this._tNode.index,n)[Xe],this.hostView=this.changeDetectorRef=new _u(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=dl(r,o[he],o,t,n);this.previousInputValues.set(t,n);let s=jn(r.index,o);Dl(s,1)}get injector(){return new ds(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function PI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var FI=()=>!1;function kI(e,t,n){return FI(e,t,n)}var Gr=class{};var vs=class extends Gr{injector;componentFactoryResolver=new Iu(this);instance=null;constructor(t){super();let n=new Fo([...t.providers,{provide:Gr,useValue:this},{provide:$n,useValue:this.componentFactoryResolver}],t.parent||$u(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function BI(e,t,n=null){return new vs({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var UI=(()=>{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=Dh(!1,n.type),o=r.length>0?BI([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Ue({token:e,providedIn:"environment",factory:()=>new e(Ce(nr))})}return e})();function Vs(e){return Y_(()=>{let t=GI(e),n=ie(N({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(UI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,styles:e.styles||wn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ko("NgStandalone"),WI(n);let r=e.dependencies;return n.directiveDefs=Kp(r,!1),n.pipeDefs=Kp(r,!0),n.id=zI(n),n})}function jI(e){return Ts(e)||vh(e)}function VI(e){return e!==null}function HI(e,t){if(e==null)return Ur;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Bs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $I(e){if(e==null)return Ur;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Jr(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 GI(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||Ur,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||wn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:HI(e.inputs,t),outputs:$I(e.outputs),debugInfo:null}}function WI(e){e.features?.forEach(t=>t(e))}function Kp(e,t){if(!e)return null;let n=t?Eh:jI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(VI)}function zI(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 bl(e,t,n){return e[t]=n}function qI(e,t){return e[t]}function Cn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function YI(e,t,n,r){let o=Cn(e,t,n);return Cn(e,t+1,r)||o}function ZI(e,t,n,r,o,i,s,a,c){let l=t.consts,d=js(t,e,4,s||null,a||null);Ph()&&um(t,n,d,Hr(l,c),qg),d.mergedAttrs=Xu(d.mergedAttrs,d.attrs),Yh(t,d);let h=d.tView=ul(2,d,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}function Tu(e,t,n,r,o,i,s,a,c,l){let d=n+ct,h=t.firstCreatePass?ZI(d,t,e,r,o,i,s,a,c):t.data[d];Yr(h,!1);let y=KI(t,e,h,n);Ju()&&El(t,e,y,h),Yo(y,e);let v=dI(y,e,y,h);return e[d]=v,Hg(e,v),kI(v,h,e),Gu(h)&&fl(t,e,h),c!=null&&Wg(e,h,l),h}function Tl(e,t,n,r,o,i,s,a){let c=Oe(),l=Ct(),d=Hr(l.consts,i);return Tu(c,l,e,t,n,r,o,d,s,a),Tl}var KI=JI;function JI(e,t,n,r){return Qu(!0),t[at].createComment("")}var pm=new be("");var QI=(()=>{class e{static \u0275prov=Ue({token:e,providedIn:"root",factory:()=>new Cu})}return e})(),Cu=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Cl(e){return!!e&&typeof e.then=="function"}function hm(e){return!!e&&typeof e.subscribe=="function"}var XI=new be("");var gm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=Se(XI,{optional:!0})??[];injector=Se(tn);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Sh(this.injector,o);if(Cl(i))n.push(i);else if(hm(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eS=new be("");function tS(){Hd(()=>{throw new ge(600,!1)})}function nS(e){return e.isBoundToModule}var rS=10;var Gn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Se(A0);afterRenderManager=Se(V0);zonelessEnabled=Se(Os);rootEffectScheduler=Se(QI);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Dn;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=Se(Rs).hasPendingTasks.pipe(No(n=>!n));constructor(){Se(Ps,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=Se(nr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){Re(10);let o=n instanceof ys;if(!this._injector.get(gm).done){let y=!o&&yD(n),v=!1;throw new ge(405,v)}let s;o?s=n:s=this._injector.get($n).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=nS(s)?void 0:this._injector.get(Gr),c=r||s.selector,l=s.create(tn.NULL,[],c,a),d=l.location.nativeElement,h=l.injector.get(pm,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),rs(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),Re(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Re(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Dg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ge(101,!1);let n=pe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,pe(n),this.afterTick.next(),Re(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($r,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<rS;)Re(14),this.synchronizeOnce(),Re(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:o}of this.allViews)oS(r,o,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})=>Ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;rs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(eS,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>rs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ge(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rs(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function oS(e,t,n,r){if(!n&&!Ms(e))return;nm(e,t,n&&!r?0:1)}function mm(e,t,n,r){return Cn(e,As(),n)?t+Ss(n)+r:Pt}function Xi(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function iS(e){return(e&2)==2}function sS(e,t){return e&131071|t<<17}function Nu(e){return e|2}function Wr(e){return(e&131068)>>2}function kc(e,t){return e&-131069|t<<2}function aS(e){return(e&1)===1}function Mu(e){return e|1}function cS(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ir(s),c=Wr(s);e[r]=n;let l=!1,d;if(Array.isArray(n)){let h=n;d=h[1],(d===null||$o(h,d)>0)&&(l=!0)}else d=n;if(o)if(c!==0){let y=ir(e[a+1]);e[r+1]=Xi(y,a),y!==0&&(e[y+1]=kc(e[y+1],r)),e[a+1]=sS(e[a+1],r)}else e[r+1]=Xi(a,0),a!==0&&(e[a+1]=kc(e[a+1],r)),a=r;else e[r+1]=Xi(c,0),a===0?a=r:e[c+1]=kc(e[c+1],r),c=r;l&&(e[r+1]=Nu(e[r+1])),Jp(e,d,r,!0),Jp(e,d,r,!1),uS(t,d,e,r,i),s=Xi(a,c),i?t.classBindings=s:t.styleBindings=s}function uS(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$o(i,t)>=0&&(n[r+1]=Mu(n[r+1]))}function Jp(e,t,n,r){let o=e[n+1],i=t===null,s=r?ir(o):Wr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];lS(c,t)&&(a=!0,e[s+1]=r?Mu(l):Nu(l)),s=r?ir(l):Wr(l)}a&&(e[n+1]=r?Nu(o):Mu(o))}function lS(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$o(e,t)>=0:!1}var dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fS(e){return e.substring(dt.key,dt.keyEnd)}function dS(e){return e.substring(dt.value,dt.valueEnd)}function pS(e){return hS(e),ym(e,Es(e,0,dt.textEnd))}function ym(e,t){let n=dt.textEnd,r=dt.key=Es(e,t,n);return n===r?-1:(r=dt.keyEnd=gS(e,r,n),r=Qp(e,r,n,58),r=dt.value=Es(e,r,n),r=dt.valueEnd=mS(e,r,n),Qp(e,r,n,59))}function hS(e){dt.key=0,dt.keyEnd=0,dt.value=0,dt.valueEnd=0,dt.textEnd=e.length}function Es(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function gS(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Qp(e,t,n,r){return t=Es(e,t,n),t<n&&t++,t}function mS(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Xp(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Xp(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Xp(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function sn(e,t,n){let r=Oe(),o=As();if(Cn(r,o,t)){let i=Ct(),s=zh();zg(i,s,r,e,t,r[at],n,!1)}return sn}function xu(e,t,n,r,o){dl(t,e,n,o?"class":"style",r)}function Hs(e,t,n){return vS(e,t,n,!1),Hs}function vm(e){ES(Dm,yS,e,!1)}function yS(e,t){for(let n=pS(t);n>=0;n=ym(t,n))Dm(e,fS(t),dS(t))}function vS(e,t,n,r){let o=Oe(),i=Ct(),s=Uh(2);if(i.firstUpdatePass&&_m(i,e,s,r),t!==Pt&&Cn(o,s,t)){let a=i.data[zn()];wm(i,a,o,o[at],e,o[s+1]=TS(t,n),r,s)}}function ES(e,t,n,r){let o=Ct(),i=Uh(2);o.firstUpdatePass&&_m(o,null,i,r);let s=Oe();if(n!==Pt&&Cn(s,i,n)){let a=o.data[zn()];if(Im(a,r)&&!Em(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=jc(c,n||"")),xu(o,a,s,n,r)}else bS(o,a,s,s[at],s[i+1],s[i+1]=SS(e,t,n),r,i)}}function Em(e,t){return t>=e.expandoStartIndex}function _m(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[zn()],s=Em(e,n);Im(i,r)&&t===null&&!s&&(t=!1),t=_S(o,i,t,r),cS(o,i,t,n,s,r)}}function _S(e,t,n,r){let o=XD(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Bc(null,e,t,n,r),n=Ho(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Bc(o,e,t,n,r),i===null){let c=DS(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Bc(null,e,t,c[1],r),c=Ho(c,t.attrs,r),wS(e,t,r,c))}else i=IS(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function DS(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wr(r)!==0)return e[ir(r)]}function wS(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ir(o)]=r}function IS(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ho(r,s,n)}return Ho(r,t.attrs,n)}function Bc(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Ho(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ho(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),gh(e,s,n?!0:t[++i]))}return e===void 0?null:e}function SS(e,t,n){if(n==null||n==="")return wn;let r=[],o=Lt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Dm(e,t,n){gh(e,t,Lt(n))}function bS(e,t,n,r,o,i,s,a){o===Pt&&(o=wn);let c=0,l=0,d=0<o.length?o[0]:null,h=0<i.length?i[0]:null;for(;d!==null||h!==null;){let y=c<o.length?o[c+1]:void 0,v=l<i.length?i[l+1]:void 0,b=null,M;d===h?(c+=2,l+=2,y!==v&&(b=h,M=v)):h===null||d!==null&&d<h?(c+=2,b=d):(l+=2,b=h,M=v),b!==null&&wm(e,t,n,r,b,M,s,a),d=c<o.length?o[c]:null,h=l<i.length?i[l]:null}}function wm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],d=aS(l)?eh(c,t,n,o,Wr(l),s):void 0;if(!_s(d)){_s(i)||iS(l)&&(i=eh(c,null,n,o,a,s));let h=Ah(zn(),n);Qw(r,s,h,o,i)}}function eh(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),d=l?c[1]:c,h=d===null,y=n[o+1];y===Pt&&(y=h?wn:void 0);let v=h?Mc(y,r):d===r?y:void 0;if(l&&!_s(v)&&(v=Mc(c,r)),_s(v)&&(a=v,s))return a;let b=e[o+1];o=s?ir(b):Wr(b)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Mc(c,r))}return a}function _s(e){return e!==void 0}function TS(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ot(Lt(e)))),e}function Im(e,t){return(e.flags&(t?8:16))!==0}var Au=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Uc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CS(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),d=t[i],h=Uc(i,l,i,d,n);if(h!==0){h<0&&e.updateValue(i,d),i++;continue}let y=e.at(s),v=t[c],b=Uc(s,y,c,v,n);if(b!==0){b<0&&e.updateValue(s,v),s--,c--;continue}let M=n(i,l),R=n(s,y),k=n(i,d);if(Object.is(k,R)){let $=n(c,v);Object.is($,M)?(e.swap(i,s),e.updateValue(s,v),c--,s--):e.move(s,i),e.updateValue(i,d),i++;continue}if(r??=new Ds,o??=nh(e,i,s,n),Ou(e,r,i,k))e.updateValue(i,d),i++,s++;else if(o.has(k))r.set(M,e.detach(i)),s--;else{let $=e.create(i,t[i]);e.attach(i,$),i++,s++}}for(;i<=c;)th(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let d=e.at(i),h=l.value,y=Uc(i,d,i,h,n);if(y!==0)y<0&&e.updateValue(i,h),i++,l=c.next();else{r??=new Ds,o??=nh(e,i,s,n);let v=n(i,h);if(Ou(e,r,i,v))e.updateValue(i,h),i++,s++,l=c.next();else if(!o.has(v))e.attach(i,e.create(i,h)),i++,s++,l=c.next();else{let b=n(i,d);r.set(b,e.detach(i)),s--}}}for(;!l.done;)th(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ou(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function th(e,t,n,r,o){if(Ou(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function nh(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ds=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Sm(e,t){Ko("NgControlFlow");let n=Oe(),r=As(),o=n[r]!==Pt?n[r]:-1,i=o!==-1?ws(n,ct+o):void 0,s=0;if(Cn(n,r,e)){let a=pe(null);try{if(i!==void 0&&am(i,s),e!==-1){let c=ct+e,l=ws(n,c),d=Fu(n[he],c),h=Sl(l,d.tView.ssrId),y=hl(n,d,t,{dehydratedView:h});wl(l,y,s,gl(d,h))}}finally{pe(a)}}else if(i!==void 0){let a=sm(i,s);a!==void 0&&(a[Xe]=t)}}var Ru=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-It}};function bm(e,t){return t}var Lu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function cr(e,t,n,r,o,i,s,a,c,l,d,h,y){Ko("NgControlFlow");let v=Oe(),b=Ct(),M=c!==void 0,R=Oe(),k=a?s.bind(R[en][Xe]):s,$=new Lu(M,k);R[ct+e]=$,Tu(v,b,e+1,t,n,r,o,Hr(b.consts,i)),M&&Tu(v,b,e+2,c,l,d,h,Hr(b.consts,y))}var Pu=class extends Au{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-It}at(t){return this.getLView(t)[Xe].$implicit}attach(t,n){let r=n[ko];this.needsIndexUpdate||=t!==this.length,wl(this.lContainer,n,t,gl(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,NS(this.lContainer,t)}create(t,n){let r=Sl(this.lContainer,this.templateTNode.tView.ssrId),o=hl(this.hostLView,this.templateTNode,new Ru(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){vl(t[he],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Xe].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Xe].$index=t}getLView(t){return MS(this.lContainer,t)}};function ur(e){let t=pe(null),n=zn();try{let r=Oe(),o=r[he],i=r[n],s=n+1,a=ws(r,s);if(i.liveCollection===void 0){let l=Fu(o,s);i.liveCollection=new Pu(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(CS(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=As(),d=c.length===0;if(Cn(r,l,d)){let h=n+2,y=ws(r,h);if(d){let v=Fu(o,h),b=Sl(y,v.tView.ssrId),M=hl(r,v,void 0,{dehydratedView:b});wl(y,M,0,gl(v,b))}else am(y,0)}}}finally{pe(t)}}function ws(e,t){return e[t]}function NS(e,t){return Il(e,t)}function MS(e,t){return sm(e,t)}function Fu(e,t){return Wu(e,t)}function rt(e,t,n,r){let o=Oe(),i=Ct(),s=ct+e,a=o[at],c=i.firstCreatePass?fm(s,i,o,t,qg,Ph(),n,r):i.data[s],l=xS(i,o,c,a,t,e);o[s]=l;let d=Gu(c);return Yr(c,!0),Ug(a,l,c),!Zg(c)&&Ju()&&El(i,o,l,c),(VD()===0||d)&&Yo(l,o),HD(),d&&(fl(i,o,c),Sg(i,c,o)),r!==null&&Wg(o,c),rt}function St(){let e=qr();kh()?YD():(e=e.parent,Yr(e,!1));let t=e;WD(t)&&zD(),$D();let n=Ct();return n.firstCreatePass&&dm(n,t),t.classesWithoutHost!=null&&s0(t)&&xu(n,t,Oe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&a0(t)&&xu(n,t,Oe(),t.stylesWithoutHost,!1),St}function an(e,t,n,r){return rt(e,t,n,r),St(),an}var xS=(e,t,n,r,o,i)=>(Qu(!0),kg(r,o,n0()));function Tm(){return Oe()}var Is="en-US";var AS=Is;function OS(e){typeof e=="string"&&(AS=e.toLowerCase().replace(/_/g,"-"))}var RS=(e,t,n)=>{};function Qr(e,t,n,r){let o=Oe(),i=Ct(),s=qr();return PS(i,o,o[at],s,e,t,r),Qr}function LS(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[as],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function PS(e,t,n,r,o,i,s){let a=Gu(r),l=e.firstCreatePass?jD(e):null,d=t[Xe],h=UD(t),y=!0;if(r.type&3||s){let v=Wn(r,t),b=s?s(v):v,M=h.length,R=s?$=>s(Sn($[r.index])):r.index,k=null;if(!s&&a&&(k=LS(e,t,o,r.index)),k!==null){let $=k.__ngLastListenerFn__||k;$.__ngNextListenerFn__=i,k.__ngLastListenerFn__=i,y=!1}else{i=ih(r,t,d,i),RS(v,o,i);let $=n.listen(b,o,i);h.push(i,$),l&&l.push(o,R,M,M+1)}}else i=ih(r,t,d,i);if(y){let v=r.outputs?.[o],b=r.hostDirectiveOutputs?.[o];if(b&&b.length)for(let M=0;M<b.length;M+=2){let R=b[M],k=b[M+1];rh(r,e,t,R,k,o,i,h,l)}if(v&&v.length)for(let M of v)rh(r,e,t,M,o,o,i,h,l)}}function rh(e,t,n,r,o,i,s,a,c){let l=n[r],h=t.data[r].outputs[o],v=l[h].subscribe(s),b=a.length;a.push(s,v),c&&c.push(i,e.index,b,-(b+1))}function oh(e,t,n,r){let o=pe(null);try{return Re(6,t,n),n(r)!==!1}catch(i){return Yg(e,i),!1}finally{Re(7,t,n),pe(o)}}function ih(e,t,n,r){return function o(i){if(i===Function)return r;let s=Go(e)?jn(e.index,t):t;Dl(s,5);let a=oh(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=oh(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function bt(e=1){return t0(e)}function lr(e,t,n){return $s(e,"",t,"",n),lr}function $s(e,t,n,r,o){let i=Oe(),s=mm(i,t,n,r);if(s!==Pt){let a=Ct(),c=zh();zg(a,c,i,e,s,i[at],o,!1)}return $s}function Cm(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function fr(e,t=""){let n=Oe(),r=Ct(),o=e+ct,i=r.firstCreatePass?js(r,o,1,t,null):r.data[o],s=FS(r,n,i,t,e);n[o]=s,Ju()&&El(r,n,s,i),Yr(i,!1)}var FS=(e,t,n,r,o)=>(Qu(!0),Ew(t[at],r));function Qo(e){return Gs("",e,""),Qo}function Gs(e,t,n){let r=Oe(),o=mm(r,e,t,n);return o!==Pt&&kS(r,zn(),o),Gs}function kS(e,t,n){let r=Ah(t,e);_w(e[at],r,n)}var BS={};function Xo(e){let t=Ct(),n=Oe(),r=e+ct,o=js(t,r,128,null,null);return Yr(o,!1),Cm(t,n,r,BS),Xo}function Nm(e,t,n){let r=Yu()+e,o=Oe();return o[r]===Pt?bl(o,r,n?t.call(n):t()):qI(o,r)}function Mm(e,t){let n=e[t];return n===Pt?void 0:n}function US(e,t,n,r,o,i){let s=t+n;return Cn(e,s,o)?bl(e,s+1,i?r.call(i,o):r(o)):Mm(e,s+1)}function jS(e,t,n,r,o,i,s){let a=t+n;return YI(e,a,o,i)?bl(e,a+2,s?r.call(s,o,i):r(o,i)):Mm(e,a+2)}function dr(e,t){let n=Ct(),r,o=e+ct;n.firstCreatePass?(r=VS(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Br(r.type,!0)),s,a=wt(Kr);try{let c=fs(!1),l=i();return fs(c),Cm(n,Oe(),o,l),l}finally{wt(a)}}function VS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Xr(e,t,n){let r=e+ct,o=Oe(),i=Oh(o,r);return Am(o,r)?US(o,Yu(),t,i.transform,n,i):i.transform(n)}function xm(e,t,n,r){let o=e+ct,i=Oe(),s=Oh(i,o);return Am(i,o)?jS(i,Yu(),t,s.transform,n,r,s):s.transform(n,r)}function Am(e,t){return e[he].data[t].pure}var HS=(()=>{class e{zone=Se(nt);changeDetectionScheduler=Se(Vn);applicationRef=Se(Gn);_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(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $S({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new nt(ie(N({},GS()),{scheduleInRootZone:n})),[{provide:nt,useFactory:e},{provide:Po,multi:!0,useFactory:()=>{let r=Se(HS,{optional:!0});return()=>r.initialize()}},{provide:Po,multi:!0,useFactory:()=>{let r=Se(WS);return()=>{r.initialize()}}},t===!0?{provide:cg,useValue:!0}:[],{provide:el,useValue:n??sg}]}function GS(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var WS=(()=>{class e{subscription=new ft;initialized=!1;zone=Se(nt);pendingTasks=Se(Rs);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(()=>{nt.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{nt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Om=(()=>{class e{appRef=Se(Gn);taskService=Se(Rs);ngZone=Se(nt);zonelessEnabled=Se(Os);tracing=Se(Ps,{optional:!0});disableScheduling=Se(cg,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ft;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Se(el,{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 gs||!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 o=this.useMicrotaskScheduler?Rp:ug;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>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,Rp(()=>{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(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rm(){return Ko("NgZoneless"),_h([{provide:Vn,useExisting:Om},{provide:nt,useClass:gs},{provide:Os,useValue:!0},{provide:el,useValue:!1},[]])}function zS(){return typeof $localize<"u"&&$localize.locale||Is}var Nl=new be("",{providedIn:"root",factory:()=>Se(Nl,le.Optional|le.SkipSelf)||zS()});var ku=new be(""),qS=new be("");function Mo(e){return!e.moduleRef}function YS(e){let t=Mo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(nt);return n.run(()=>{Mo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Hn,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ku);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ku);s.add(i),e.moduleRef.onDestroy(()=>{rs(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return KS(r,n,()=>{let i=t.get(gm);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Nl,Is);if(OS(s||Is),!t.get(qS,!0))return Mo(e)?t.get(Gn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mo(e)){let c=t.get(Gn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return ZS(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ZS(e,t){let n=e.injector.get(Gn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new ge(-403,!1);t.push(e)}function KS(e,t,n){try{let r=n();return Cl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var os=null;function JS(e=[],t){return tn.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:ku,useValue:new Set([()=>os=null])},...e]})}function QS(e=[]){if(os)return os;let t=JS(e);return os=t,tS(),XS(t),t}function XS(e){let t=e.get(ol,null);Sh(e,()=>{t?.forEach(n=>n())})}function Lm(e){Re(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=QS(r),i=[$S({}),{provide:Vn,useExisting:Om},...n||[]],s=new vs({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return YS({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{Re(9)}}var sh=class{[_n];constructor(t){this[_n]=t}destroy(){this[_n].destroy()}};var eb={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function tb(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function nb(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ml;function rb(e,t){if(!Ml){let n=Element.prototype;Ml=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ml.call(e,t):!1}function ob(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[tb(r)]=[n,o]}),t}function ib(e,t){return t.get($n).resolveComponentFactory(e).inputs}function sb(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=ab(a,t,o);c!==-1&&r[c].push(a)}return r}function ab(e,t,n){let r=n;return nb(e)&&t.some((o,i)=>o!=="*"&&rb(e,o)?(r=i,!0):!1),r}var cb=10,xl=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get($n).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Al(this.componentFactory,t,this.inputMap)}},Al=class{componentFactory;injector;inputMap;eventEmitters=new Co(1);events=this.eventEmitters.pipe(Nc(t=>Cc(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(nt),this.appRef=this.injector.get(Gn),this.cdScheduler=n.get(Vn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=eb.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cb))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let n=tn.create({providers:[],parent:this.injector}),r=sb(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new ze(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Ol=class extends HTMLElement{ngElementEventsSubscription=null};function Fm(e,t){let n=ib(e,t.injector),r=t.strategyFactory||new xl(e,t.injector),o=ob(n);class i extends Ol{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;let d=this[c];delete this[c],a.setInputValue(c,d,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,d){let[h,y]=o[a];this.ngElementStrategy.setInputValue(h,l,y)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}var km=null;function Rl(){return km}function Bm(e){km??=e}var Ws=class{};var An=new be("");function Um(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var jm="browser",ub="server";function Ll(e){return e===ub}var zs=class{};var Fl=class extends Ws{supportsDOMEvents=!0},kl=class e extends Fl{static makeCurrent(){Bm(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}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=lb();return n==null?null:fb(n)}resetBaseElement(){ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Um(document.cookie,t)}},ei=null;function lb(){return ei=ei||document.querySelector("base"),ei?ei.getAttribute("href"):null}function fb(e){return new URL(e,document.baseURI).pathname}var db=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Bl=new be(""),zm=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}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 ge(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(Ce(Bl),Ce(nt))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Ys=class{_doc;constructor(t){this._doc=t}manager},qs="ng-app-id";function Vm(e){for(let t of e)t.remove()}function Hm(e,t){let n=t.createElement("style");return n.textContent=e,n}function pb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${qs}="${t}"],link[${qs}="${t}"]`);if(o)for(let i of o)i.removeAttribute(qs),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Ul(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var qm=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Ll(i),pb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Hm);r?.forEach(o=>this.addUsage(o,this.external,Ul))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Vm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Vm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Hm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Ul(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(qs,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(Ce(An),Ce(rl),Ce(il,8),Ce(Zo))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Pl={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"},Vl=/%COMP%/g;var Ym="%COMP%",hb=`_nghost-${Ym}`,gb=`_ngcontent-${Ym}`,mb=!0,yb=new be("",{providedIn:"root",factory:()=>mb});function vb(e){return gb.replace(Vl,e)}function Eb(e){return hb.replace(Vl,e)}function Zm(e,t){return t.map(n=>n.replace(Vl,e))}var $m=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,l=null,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=d,this.platformIsServer=Ll(a),this.defaultRenderer=new ti(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===nn.ShadowDom&&(r=ie(N({},r),{encapsulation:nn.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Zs?o.applyToHost(n):o instanceof ni&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,y=this.tracingService;switch(r.encapsulation){case nn.Emulated:i=new Zs(c,l,r,this.appId,d,s,a,h,y);break;case nn.ShadowDom:return new jl(c,l,n,r,s,a,this.nonce,h,y);default:i=new ni(c,l,r,d,s,a,h,y);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(Ce(zm),Ce(qm),Ce(rl),Ce(yb),Ce(An),Ce(Zo),Ce(nt),Ce(il),Ce(Ps,8))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),ti=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Gm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Gm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new ge(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Pl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Pl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Tn.DashCase|Tn.Important)?t.style.setProperty(n,r,o&Tn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Tn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Rl().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);let i=this.decoratePreventDefault(r);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Gm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var jl=class extends ti{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=o.styles;d=Zm(o.id,d);for(let y of d){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=y,this.shadowRoot.appendChild(v)}let h=o.getExternalStyles?.();if(h)for(let y of h){let v=Ul(y,i);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ni=class extends ti{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let d=r.styles;this.styles=l?Zm(l,d):d,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Zs=class extends ni{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let d=o+"-"+r.id;super(t,n,r,i,s,a,c,l,d),this.contentAttr=vb(d),this.hostAttr=Eb(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},_b=(()=>{class e extends Ys{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})(),Wm=["alt","control","meta","shift"],Db={"\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"},wb={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ib=(()=>{class e extends Ys{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rl().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Wm.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Db[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Wm.forEach(s=>{if(s!==o){let a=wb[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac})}return e})();function Km(e){return Lm(Sb(e))}function Sb(e){return{appProviders:[...Mb,...e?.providers??[]],platformProviders:Nb}}function bb(){kl.makeCurrent()}function Tb(){return new Hn}function Cb(){return vg(document),document}var Nb=[{provide:Zo,useValue:jm},{provide:ol,useValue:bb,multi:!0},{provide:An,useFactory:Cb,deps:[]}];var Mb=[{provide:Cs,useValue:"root"},{provide:Hn,useFactory:Tb,deps:[]},{provide:Bl,useClass:_b,multi:!0,deps:[An]},{provide:Bl,useClass:Ib,multi:!0,deps:[An]},$m,qm,zm,{provide:$r,useExisting:$m},{provide:zs,useClass:db,deps:[]},[]];var Hl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ue({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=Ce(xb),o},providedIn:"root"})}return e})(),xb=(()=>{class e extends Hl{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case on.NONE:return r;case on.HTML:return qn(r,"HTML")?Lt(r):sl(this._doc,String(r)).toString();case on.STYLE:return qn(r,"Style")?Lt(r):r;case on.SCRIPT:if(qn(r,"Script"))return Lt(r);throw new ge(5200,!1);case on.URL:return qn(r,"URL")?Lt(r):ks(String(r));case on.RESOURCE_URL:if(qn(r,"ResourceURL"))return Lt(r);throw new ge(5201,!1);default:throw new ge(5202,!1)}}bypassSecurityTrustHtml(n){return bg(n)}bypassSecurityTrustStyle(n){return Tg(n)}bypassSecurityTrustScript(n){return Cg(n)}bypassSecurityTrustUrl(n){return Ng(n)}bypassSecurityTrustResourceUrl(n){return Mg(n)}static \u0275fac=function(r){return new(r||e)(Ce(An))};static \u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ri={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css",widgetURL:"http://localhost:8002/main.js"};var Nt=Io(Qm());var Xm="9.4.1";var cn=class e{static SDK_VERSION=Xm;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let t=e.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");e.SDK_VERSION_CODE=parseInt(t,10)}};var ot=class{static log(...t){Nt.default.info(...t)}static debug(...t){Nt.default.debug(...t)}static error(...t){Nt.default.error(...t)}static warn(...t){Nt.default.warn(...t)}static info(...t){Nt.default.info(...t)}static trace(...t){Nt.default.trace(...t)}static configure(t=cn.LOG_PREFIX){Nt.default.useDefaults({formatter:function(r){r.unshift(`${t} (v${cn.SDK_VERSION}):`)}});let n=this.getDebugParam();(n==="1"||n==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?Nt.default.setLevel(Nt.default[localStorage.cooeeLogLevel]):Nt.default.setLevel(ri.debug?Nt.default.TRACE:Nt.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
|
|
8
8
|
display: inline-block;
|
|
9
9
|
font-size: 14px;
|
|
10
10
|
background: linear-gradient(90deg, #d52dc8 25%, #2179e2 82%);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letscooee/web-sdk",
|
|
3
3
|
"description": "Engage uniquely and boost conversions with AI-powered customer journeys driven by real-time intent",
|
|
4
|
-
"version": "9.4.
|
|
4
|
+
"version": "9.4.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "ng lint",
|
|
7
7
|
"integrity": "./scripts/validate-integrity.sh",
|