@qaecy/cue-ui 0.0.13 → 0.0.14

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/logo/index.js CHANGED
@@ -1 +1 @@
1
- (()=>{"use strict";var e,v={},_={};function n(e){var f=_[e];if(void 0!==f)return f.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(f,r,c,u)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,c,u]=e[a],i=!0,l=0;l<r.length;l++)(!1&u||s>=u)&&Object.keys(n.O).every(p=>n.O[p](r[l]))?r.splice(l--,1):(i=!1,u<s&&(s=u));if(i){e.splice(a--,1);var o=c();void 0!==o&&(f=o)}}return f}u=u||0;for(var a=e.length;a>0&&e[a-1][2]>u;a--)e[a]=e[a-1];e[a]=[r,c,u]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={121:0};n.O.j=c=>0===e[c];var f=(c,u)=>{var l,o,[a,s,i]=u,t=0;if(a.some(h=>0!==e[h])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(i)var d=i(n)}for(c&&c(u);t<a.length;t++)n.o(e,o=a[t])&&e[o]&&e[o][0](),e[o]=0;return n.O(d)},r=self.webpackChunkcue_ui=self.webpackChunkcue_ui||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[461],{935(){const te=globalThis;function ee(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const pe=Object.getOwnPropertyDescriptor,Oe=Object.defineProperty,Ne=Object.getPrototypeOf,dt=Object.create,_t=Array.prototype.slice,Ze="addEventListener",Le="removeEventListener",Ie=ee(Ze),Me=ee(Le),ae="true",le="false",me=ee("");function Ae(e,r){return Zone.current.wrap(e,r)}function je(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=ee,Pe=typeof window<"u",ye=Pe?window:void 0,$=Pe&&ye||globalThis;function He(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=Ae(e[c],r+"_"+c));return e}function Ue(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const We=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),xe=!Re&&!We&&!(!Pe||!ye.HTMLElement),qe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!We&&!(!Pe||!ye.HTMLElement),we={},gt=j("enable_beforeunload"),Xe=function(e){if(!(e=e||$.event))return;let r=we[e.type];r||(r=we[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return xe&&c===ye&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[gt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function Ye(e,r,c){let t=pe(e,r);if(!t&&c&&pe(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let p=we[T];p||(p=we[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[p]&&d.removeEventListener(T,Xe),E?.call(d,null),d[p]=D,"function"==typeof D&&d.addEventListener(T,Xe,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[p];if(d)return d;if(u){let R=u.call(this);if(R)return t.set.call(this,R),"function"==typeof D.removeAttribute&&D.removeAttribute(r),R}return null},Oe(e,r,t),e[i]=!0}function $e(e,r,c){if(r)for(let t=0;t<r.length;t++)Ye(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)Ye(e,t[i],c)}}const re=j("originalInstance");function ve(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=He(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Oe($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=Ae(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ne(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],Ue(t&&pe(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function kt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const p=c(E,T);return p.cbIdx>=0&&"function"==typeof T[p.cbIdx]?je(p.name,T[p.cbIdx],p,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Je=!1,Ve=!1;function pt(){if(Je)return Ve;Je=!0;try{const e=ye.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}function Ke(e){return"function"==typeof e}function Qe(e){return"number"==typeof e}const mt={useG:!0},ne={},et={},tt=new RegExp("^"+me+"(\\w+)(true|false)$"),nt=j("propagationStopped");function rt(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=me+c,u=me+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function yt(e,r,c,t){const i=t&&t.add||Ze,u=t&&t.rm||Le,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(i),D="."+i+":",d="prependListener",R="."+d+":",M=function(y,h,H){if(y.isRemoved)return;const V=y.callback;let Y;"object"==typeof V&&V.handleEvent&&(y.callback=g=>V.handleEvent(g),y.originalDelegate=V);try{y.invoke(y,h,[H])}catch(g){Y=g}const F=y.options;return F&&"object"==typeof F&&F.once&&h[u].call(h,H.type,y.originalDelegate?y.originalDelegate:y.callback,F),Y};function x(y,h,H){if(!(h=h||e.event))return;const V=y||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const F=[];if(1===Y.length){const g=M(Y[0],V,h);g&&F.push(g)}else{const g=Y.slice();for(let U=0;U<g.length&&(!h||!0!==h[nt]);U++){const O=M(g[U],V,h);O&&F.push(O)}}if(1===F.length)throw F[0];for(let g=0;g<F.length;g++){const U=F[g];r.nativeScheduleMicroTask(()=>{throw U})}}}const z=function(y){return x(this,y,!1)},J=function(y){return x(this,y,!0)};function K(y,h){if(!y)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let F=!1;h&&void 0!==h.rt&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ne(g);if(!g&&y[i]&&(g=y),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],Q=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?J:z,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let k=0;k<C.length;k++)if(C[k]===s){C.splice(k,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?J:z,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h?.diff||function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,k=!1,Z=!1){return function(){const L=this||e;let I=arguments[0];h&&h.transferEventName&&(I=h.transferEventName(I));let G=arguments[1];if(!G)return s.apply(this,arguments);if(Re&&"uncaughtException"===I)return s.apply(this,arguments);let B=!1;if("function"!=typeof G){if(!G.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,G,L,arguments))return;const Te=!!oe&&-1!==oe.indexOf(I),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Te)),ge=ie?.signal;if(ge?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(I===de[ce])return Te?s.call(L,I,G,ie):s.apply(this,arguments);const Ge=!!ie&&("boolean"==typeof ie||ie.capture),at=!(!ie||"object"!=typeof ie)&&ie.once,It=Zone.current;let Be=ne[I];Be||(rt(I,U),Be=ne[I]);const lt=Be[Ge?ae:le];let De,ke=L[lt],ut=!1;if(ke){if(ut=!0,Y)for(let ce=0;ce<ke.length;ce++)if(he(ke[ce],G))return}else ke=L[lt]=[];const ft=L.constructor.name,ht=et[ft];ht&&(De=ht[I]),De||(De=ft+l+(U?U(I):I)),O.options=ie,at&&(O.options.once=!1),O.target=L,O.capture=Ge,O.eventName=I,O.isExisting=ut;const be=H?mt:void 0;be&&(be.taskData=O),ge&&(O.options.signal=void 0);const se=It.scheduleEventTask(De,G,be,v,C);if(ge){O.options.signal=ge;const ce=()=>se.zone.cancelTask(se);s.call(ge,"abort",ce,{once:!0}),se.removeAbortListener=()=>ge.removeEventListener("abort",ce)}return O.target=null,be&&(be.taskData=null),at&&(O.options.once=!0),"boolean"!=typeof se.options&&(se.options=ie),se.target=L,se.capture=Ge,se.eventName=I,B&&(se.originalDelegate=G),Z?ke.unshift(se):ke.push(se),k?L:void 0}};return g[i]=a(w,D,q,A,F),W&&(g[d]=a(W,R,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,F,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),k=arguments[1];if(!k)return b.apply(this,arguments);if(V&&!V(b,k,s,arguments))return;const Z=ne[l];let L;Z&&(L=Z[C?ae:le]);const I=L&&s[L];if(I)for(let G=0;G<I.length;G++){const B=I[G];if(he(B,k))return I.splice(G,1),B.isRemoved=!0,0!==I.length||(B.allRemoved=!0,s[L]=null,C||"string"!=typeof l)||(s[me+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),F?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=ot(s,U?U(l):l);for(let k=0;k<C.length;k++){const Z=C[k];v.push(Z.originalDelegate?Z.originalDelegate:Z.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const Z=s[v[le]],L=s[v[ae]];if(Z){const I=Z.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(L){const I=L.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const Z=tt.exec(v[C]);let L=Z&&Z[1];L&&"removeListener"!==L&&this[T].call(this,L)}this[T].call(this,"removeListener")}if(F)return this},fe(g[i],w),fe(g[u],b),Q&&fe(g[T],Q),S&&fe(g[E],S),!0}let X=[];for(let y=0;y<c.length;y++)X[y]=K(c[y],t);return X}function ot(e,r){if(!r){const u=[];for(let E in e){const T=tt.exec(E);let p=T&&T[1];if(p&&(!r||p===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(rt(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function vt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[nt]=!0,t&&t.apply(i,u)})}const Ce=j("zoneTask");function Ee(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const R=i.apply(e,d.args);return Qe(R)?d.handleId=R:(d.handle=R,d.isRefreshable=Ke(R.refresh)),D}function p(D){const{handle:d,handleId:R}=D.data;return u.call(e,d??R)}i=ue(e,r+=t,D=>function(d,R){if(Ke(R[0])){const M={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?R[1]||0:void 0,args:R},x=R[0];R[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(V?delete E[V]:H&&(H[Ce]=null))}};const z=je(r,R[0],M,T,p);if(!z)return z;const{handleId:J,handle:K,isRefreshable:X,isPeriodic:y}=z.data;if(J)E[J]=z;else if(K&&(K[Ce]=z,X&&!y)){const h=K.refresh;K.refresh=function(){const{zone:H,state:V}=z;return"notScheduled"===V?(z._state="scheduled",H._updateTaskCount(z,1)):"running"===V&&(z._state="scheduling"),h.call(this)}}return K??J??z}return D.apply(e,R)}),u=ue(e,c,D=>function(d,R){const M=R[0];let x;Qe(M)?(x=E[M],delete E[M]):(x=M?.[Ce],x?M[Ce]=null:x=M),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,R)})}function st(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function it(e,r,c,t){e&&$e(e,st(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Nt(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,p,D){return p&&p.prototype&&i.forEach(function(d){const R=`${c}.${t}::`+d,M=p.prototype;try{if(M.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(M,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,R),e._redefineProperty(p.prototype,d,x)):M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}else M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}catch{}}),E.call(r,T,p,D)},e.attachOriginToPatched(r[t],E)}const ct=function Se(){const e=globalThis,r=!0===e[ee("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ze(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static __symbol__=ee;static assertZonePatched(){if(te.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,m=!1){if(O.hasOwnProperty(n)){const P=!0===te[ee("forceDuplicateZoneCheck")];if(!m&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,w),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const m=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(m,this,arguments,o)}}run(n,o,m,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,m,P)}finally{b=b.parent}}runGuarded(n,o=null,m,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,m,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,m){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,m)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==U||A||_e&&oe===y)he&&P._transitionTo(h,H,y);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let m=this;for(;m;){if(m===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);m=m.parent}}n._transitionTo(y,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(m){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,m),m}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,m,P){return this.scheduleTask(new E(F,n,o,m,P,void 0))}scheduleMacroTask(n,o,m,P,q){return this.scheduleTask(new E(g,n,o,m,P,q))}scheduleEventTask(n,o,m,P,q){return this.scheduleTask(new E(U,n,o,m,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const m=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<m.length;P++)m[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,m,P)=>N.invokeTask(n,o,m,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(_,n,o){this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=o&&o.onHasTask;(m||n&&n._hasTaskZS)&&(this._hasTaskZS=m?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,m,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,m,P):n.apply(o,m)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=F)throw new Error("Task is missing scheduleFn.");z(n)}return o}invokeTask(_,n,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,m):n.callback.apply(o,m)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,m=o[_],P=o[_]=m+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(_,n,o,m,P,q){if(this.type=_,this.source=n,this.data=m,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===U&&m&&m.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==Q&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=ee("setTimeout"),p=ee("Promise"),D=ee("then");let M,d=[],R=!1;function x(N){if(M||te[p]&&(M=te[p].resolve(0)),M){let _=M[D];_||(_=M.then),_.call(M,N)}else te[T](N,0)}function z(N){0===Q&&0===d.length&&x(J),N&&d.push(N)}function J(){if(!R){for(R=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){w.onUnhandledError(o)}}}w.microtaskDrainDone(),R=!1}}const K={name:"NO ZONE"},X="notScheduled",y="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",F="microTask",g="macroTask",U="eventTask",O={},w={symbol:ee,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Lt(e){(function St(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,p=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),R=T("then");t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};const x=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function J(f){return f&&"function"==typeof f.then}function K(f){return f}function X(f){return A.reject(f)}const y=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),g=null,U=!0,O=!1;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(Q);if(f[y]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[y]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===U&&(f[y]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const k=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)o(f,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&a==O){f[y]=0;let k=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(Z){k=Z}D&&(k.throwOriginal=!0),k.rejection=s,k.promise=f,k.zone=c.current,k.task=c.currentTask,p.push(k),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(0===f[y]){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[y]=O;for(let a=0;a<p.length;a++)f===p[a].promise&&p.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[y],k=C?"function"==typeof l?l:K:"function"==typeof v?v:X;a.scheduleMicroTask("Promise.then",()=>{try{const Z=f[h],L=!!s&&H===s[H];L&&(s[V]=Z,s[Y]=C);const I=a.run(k,void 0,L&&k!==X&&k!==K?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((k,Z)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{v||(v=!0,k(I))},I=>{C.push(I),l--,0===l&&(v=!0,Z(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function C(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)J(Z)||(Z=this.resolve(Z)),Z.then(C,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((I,G)=>{l=I,v=G}),k=2,Z=0;const L=[];for(let I of a){J(I)||(I=this.resolve(I));const G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,0===k&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,0===k&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,0===k&&l(L),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{const l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[y]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[R]=l,f.prototype.then=function(v,C){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(e),function Ot(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const R=r[i];if(R)return c.call(R)}if(this===Error){const R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Zt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=$e,t.patchMethod=ue,t.bindArguments=He,t.patchMacroTask=kt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=vt,t.patchEventTarget=yt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Oe,t.ObjectGetOwnPropertyDescriptor=pe,t.ObjectCreate=dt,t.ArraySlice=_t,t.patchClass=ve,t.wrapWithCurrentZone=Ae,t.filterProperties=st,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:ne,eventNames:i,isBrowser:xe,isMix:qe,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Le})})}(e)})(ct),function Dt(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const t="clear";Ee(r,"set",t,"Timeout"),Ee(r,"set",t,"Interval"),Ee(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{Ee(r,"request","cancel","AnimationFrame"),Ee(r,"mozRequest","mozCancel","AnimationFrame"),Ee(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,p)=>function(D,d){return c.current.run(E,r,d,p)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function wt(e,r){r.patchEventPrototype(e,r)})(r,t),function Rt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;p<c.length;p++){const D=c[p],M=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=M,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{ve("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{ve("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function Ct(e,r){if(Re&&!qe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(xe){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=[];it(i,Fe(i),c&&c.concat(u),Ne(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u?.prototype&&it(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Pt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const R=d.XMLHttpRequest;if(!R)return;const M=R.prototype;let z=M[Ie],J=M[Me];if(!z){const w=d.XMLHttpRequestEventTarget;if(w){const b=w.prototype;z=b[Ie],J=b[Me]}}const K="readystatechange",X="scheduled";function y(w){const b=w.data,S=b.target;S[E]=!1,S[p]=!1;const Q=S[u];z||(z=S[Ie],J=S[Me]),Q&&J.call(S,K,Q);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&w.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;m<o.length;m++)o[m]===w&&o.splice(m,1);!b.aborted&&w.state===X&&n.call(w)},_.push(w)}else w.invoke()}else!b.aborted&&!1===S[E]&&(S[p]=!0)};return z.call(S,K,W),S[t]||(S[t]=w),U.apply(S,b.args),S[E]=!0,w}function h(){}function H(w){const b=w.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(M,"open",()=>function(w,b){return w[i]=0==b[2],w[T]=b[1],V.apply(w,b)}),F=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),U=ue(M,"send",()=>function(w,b){if(!0===c.current[g]||w[i])return U.apply(w,b);{const S={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},Q=je("XMLHttpRequest.send",h,S,y,H);w&&!0===w[p]&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=ue(M,"abort",()=>function(w,b){const S=function x(w){return w[t]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[F])return O.apply(w,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!Ue(pe(e,i)))continue;e[i]=(T=>{const p=function(){return T.apply(this,He(arguments,c+"."+i))};return fe(p,T),p})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){ot(r,i).forEach(T=>{const p=r.PromiseRejectionEvent;if(p){const D=new p(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function bt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(ct)}},te=>{te(te.s=935)}]);"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[792],{942(){function Xr(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}let ge=null,Zt=!1,Ka=1;const ce=Symbol("SIGNAL");function T(e){const t=ge;return ge=e,t}const $n={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bn(e){if(Zt)throw new Error("");if(null===ge)return;ge.consumerOnSignalRead(e);const t=ge.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ge.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ge.producers,void 0!==n&&n.producer===e))return ge.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===ge&&(!r||function Kw(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(o,ge)))return;const i=zn(ge),s={producer:e,consumer:ge,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,void 0!==t?t.nextProducer=s:ge.producers=s,i&&Bf(e,s)}function eo(e){if((!zn(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Ka)){if(!e.producerMustRecompute(e)&&!Si(e))return void Mi(e);e.producerRecomputeValue(e),Mi(e)}}function Hf(e){if(void 0===e.consumers)return;const t=Zt;Zt=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||Zw(r)}}finally{Zt=t}}function $f(){return!1!==ge?.consumerAllowSignalWrites}function Zw(e){e.dirty=!0,Hf(e),e.consumerMarkedDirty?.(e)}function Mi(e){e.dirty=!1,e.lastCleanEpoch=Ka}function Un(e){return e&&function Qw(e){e.producersTail=void 0,e.recomputing=!0}(e),T(e)}function to(e,t){T(t),e&&function Yw(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(zn(e))do{n=ec(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Si(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(eo(n),r!==n.version))return!0}return!1}function no(e){if(zn(e)){let t=e.producers;for(;void 0!==t;)t=ec(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Bf(e,t){const n=e.consumersTail,r=zn(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;void 0!==o;o=o.nextProducer)Bf(o.producer,o)}function ec(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:t.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(t.consumers=r,!zn(t)){let i=t.producers;for(;void 0!==i;)i=ec(i)}return n}function zn(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function nc(e,t){return Object.is(e,t)}const Qt=Symbol("UNSET"),qn=Symbol("COMPUTING"),dt=Symbol("ERRORED"),Xw={...$n,value:Qt,dirty:!0,error:null,equal:nc,kind:"computed",producerMustRecompute:e=>e.value===Qt||e.value===qn,producerRecomputeValue(e){if(e.value===qn)throw new Error("");const t=e.value;e.value=qn;const n=Un(e);let r,o=!1;try{r=e.computation(),T(null),o=t!==Qt&&t!==dt&&r!==dt&&e.equal(t,r)}catch(i){r=dt,e.error=i}finally{to(e,n)}o?e.value=t:(e.value=r,e.version++)}};let Uf=function eb(){throw new Error};function zf(e){Uf(e)}function nb(e,t){const n=Object.create(rc);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function rb(e){return Bn(e),e.value}(n);return r[ce]=n,[r,s=>ro(n,s),s=>function qf(e,t){$f()||zf(e),ro(e,t(e.value))}(n,s)]}function ro(e,t){$f()||zf(e),e.equal(e.value,t)||(e.value=t,function ob(e){e.version++,function Gw(){Ka++}(),Hf(e)}(e))}const rc={...$n,equal:nc,value:void 0,kind:"signal"},ib={...$n,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function de(e){return"function"==typeof e}function Wf(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const oc=Wf(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ic(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Be{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(de(r))try{r()}catch(i){t=i instanceof oc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Qf(i)}catch(s){t=t??[],s instanceof oc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new oc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Qf(t);else{if(t instanceof Be){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ic(n,t)}remove(t){const{_finalizers:n}=this;n&&ic(n,t),t instanceof Be&&t._removeParent(this)}}Be.EMPTY=(()=>{const e=new Be;return e.closed=!0,e})();const Gf=Be.EMPTY;function Zf(e){return e instanceof Be||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function Qf(e){de(e)?e():e.unsubscribe()}const Yt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout(e,t,...n){const{delegate:r}=ki;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ki;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yf(e){ki.setTimeout(()=>{const{onUnhandledError:t}=Yt;if(!t)throw e;t(e)})}function Kf(){}const ab=sc("C",void 0,void 0);function sc(e,t,n){return{kind:e,value:t,error:n}}let Kt=null;function Ri(e){if(Yt.useDeprecatedSynchronousErrorHandling){const t=!Kt;if(t&&(Kt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Kt;if(Kt=null,n)throw r}}else e()}class ac extends Be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zf(t)&&t.add(this)):this.destination=pb}static create(t,n,r){return new lc(t,n,r)}next(t){this.isStopped?uc(function lb(e){return sc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?uc(function cb(e){return sc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?uc(ab,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const db=Function.prototype.bind;function cc(e,t){return db.call(e,t)}class fb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){xi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){xi(r)}else xi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){xi(n)}}}class lc extends ac{constructor(t,n,r){let o;if(super(),de(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Yt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&cc(t.next,i),error:t.error&&cc(t.error,i),complete:t.complete&&cc(t.complete,i)}):o=t}this.destination=new fb(o)}}function xi(e){Yt.useDeprecatedSynchronousErrorHandling?function ub(e){Yt.useDeprecatedSynchronousErrorHandling&&Kt&&(Kt.errorThrown=!0,Kt.error=e)}(e):Yf(e)}function uc(e,t){const{onStoppedNotification:n}=Yt;n&&ki.setTimeout(()=>n(e,t))}const pb={closed:!0,next:Kf,error:function hb(e){throw e},complete:Kf},dc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jf(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function mb(e){return e&&e instanceof ac||function gb(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&Zf(e)}(n)?n:new lc(n,r,o);return Ri(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=eh(r))((o,i)=>{const s=new lc({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[dc](){return this}pipe(...n){return function Xf(e){return 0===e.length?Jf:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=eh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function eh(e){var t;return null!==(t=e??Yt.Promise)&&void 0!==t?t:Promise}const vb=Wf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fc,Wn=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new th(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new vb}next(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Gf:(this.currentObservers=null,i.push(n),new Be(()=>{this.currentObservers=null,ic(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new th(t,n),e})();class th extends Wn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Gf}}class yb extends Wn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function hc(){return fc}function Tt(e){const t=fc;return fc=e,t}const _b=Symbol("NotFound");function pc(e){return e===_b||"\u0275NotFound"===e?.name}Error;class I extends Error{code;constructor(t,n){super(nt(t,n)),this.code=t}}function nt(e,t){return`${function Eb(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("")}function mc(e,t){return e?t?`${e} ${t}`:e:t||""}globalThis;const wb=$({__forward_ref__:$});function vc(e){return e.__forward_ref__=vc,e}function O(e){return function Ai(e){return"function"==typeof e&&e.hasOwnProperty(wb)&&e.__forward_ref__===vc}(e)?e():e}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Oi(e){return function Nb(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,Li)}function Pi(e){return e&&e.hasOwnProperty(_c)?e[_c]:null}const Li=$({\u0275prov:$}),_c=$({\u0275inj:$});class w{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ec(e){return e&&!!e.\u0275providers}const ih=$({\u0275cmp:$}),Pb=$({\u0275dir:$}),Lb=$({\u0275pipe:$}),en=$({\u0275fac:$}),oo=$({__NG_ELEMENT_ID__:$}),ah=$({__NG_ENV_ID__:$});function B(e){return ji(e),e[ih]||null}function Ce(e){return ji(e),e[Pb]||null}function Ye(e){return ji(e),e[Lb]||null}function ji(e,t){if(null==e)throw new I(-919,!1)}const wc=$({ngErrorCode:$}),ch=$({ngErrorMessage:$}),so=$({ngTokenPath:$});function bc(e,t){return lh("",-200,t)}function Cc(e,t){throw new I(-201,!1)}function lh(e,t,n){const r=new I(t,e);return r[wc]=t,r[ch]=e,n&&(r[so]=n),r}let Tc;function uh(){return Tc}function Me(e){const t=Tc;return Tc=e,t}function dh(e,t,n){const r=Oi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void Cc()}const tn={};class Bb{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ao(n)||0;try{return this.injector.get(t,8&r?null:tn,r)}catch(o){if(pc(o))return o;throw o}}}function Ub(e,t=0){const n=hc();if(void 0===n)throw new I(-203,!1);if(null===n)return dh(e,void 0,t);{const r=function zb(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(pc(o)){if(r.optional)return null;throw o}return o}}function U(e,t=0){return(uh()||Ub)(O(e),t)}function b(e,t){return U(e,ao(t))}function ao(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sc(e){const t=[];for(let n=0;n<e.length;n++){const r=O(e[n]);if(Array.isArray(r)){if(0===r.length)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=qb(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(U(o,i))}else t.push(U(r))}return t}function qb(e){return e.__NG_DI_FLAG__}function nn(e,t){return e.hasOwnProperty(en)?e[en]:null}function Qn(e,t){e.forEach(n=>Array.isArray(n)?Qn(n,t):t(n))}function Vi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ot={},Q=[],Yn=new w(""),kc=new w("",-1),Rc=new w("");class Bi{get(t,n=tn){if(n===tn){const o=lh("",-201);throw o.name="\u0275NotFound",o}return n}}function Qb(...e){return{\u0275providers:Ac(0,e),\u0275fromNgModule:!0}}function Ac(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Qn(t,s=>{const a=s;Ui(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&mh(o,i),n}function mh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Oc(o,i=>{t(i,r)})}}function Ui(e,t,n,r){if(!(e=O(e)))return!1;let o=null,i=Pi(e);const s=!i&&B(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Pi(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Ui(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o),Qn(i.imports,u=>{Ui(u,t,n,r)&&(l||=[],l.push(u))}),void 0!==l&&mh(l,t)}if(!a){const l=nn(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Rc,useValue:o,multi:!0},o),t({provide:Yn,useValue:()=>U(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Oc(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Oc(e,t){for(let n of e)Ec(n)&&(n=n.\u0275providers),Array.isArray(n)?Oc(n,t):t(n)}const Yb=$({provide:String,useValue:$});function Pc(e){return null!==e&&"object"==typeof e&&Yb in e}function ft(e){return"function"==typeof e}const Lc=new w(""),zi={},Ih={};let Fc;function jc(){return void 0===Fc&&(Fc=new Bi),Fc}class ze{}class rn extends ze{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,Hc(t,s=>this.processProvider(s)),this.records.set(kc,Kn(void 0,this)),o.has("environment")&&this.records.set(ze,Kn(void 0,this));const i=this.records.get(Lc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Rc,Q,{self:!0}))}retrieve(t,n){const r=ao(n)||0;try{return this.get(t,tn,r)}catch(o){if(pc(o))return o;throw o}}destroy(){uo(this),this._destroyed=!0;const t=T(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(t)}}onDestroy(t){return uo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){uo(this);const n=Tt(this),r=Me(void 0);try{return t()}finally{Tt(n),Me(r)}}get(t,n=tn,r){if(uo(this),t.hasOwnProperty(ah))return t[ah](this);const o=ao(r),s=Tt(this),a=Me(void 0);try{if(!(4&o)){let l=this.records.get(t);if(void 0===l){const u=function tC(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&Oi(t);l=u&&this.injectableDefInScope(u)?Kn(Vc(t),zi):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l,o)}return(2&o?jc():this.parent).get(t,n=8&o&&n===tn?null:n)}catch(c){const l=function Hb(e){return e[wc]}(c);throw-200===l||-201===l?new I(l,null):c}finally{Me(a),Tt(s)}}resolveInjectorInitializers(){const t=T(null),n=Tt(this),r=Me(void 0);try{const i=this.get(Yn,Q,{self:!0});for(const s of i)s()}finally{Tt(n),Me(r),T(t)}}toString(){return"R3Injector[...]"}processProvider(t){let n=ft(t=O(t))?t:O(t&&t.provide);const r=function Jb(e){return Pc(e)?Kn(void 0,e.useValue):Kn(function Eh(e,t,n){let r;if(ft(e)){const o=O(e);return nn(o)||Vc(o)}if(Pc(e))r=()=>O(e.useValue);else if(function yh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(function vh(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>U(O(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=O(e&&(e.useClass||e.provide));if(!function Xb(e){return!!e.deps}(e))return nn(o)||Vc(o);r=()=>new o(...Sc(e.deps))}return r}(e),zi)}(t);if(!ft(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Kn(void 0,zi,!0),o.factory=()=>Sc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=T(null);try{if(n.value===Ih)throw bc();return n.value===zi&&(n.value=Ih,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function eC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=O(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Vc(e){const t=Oi(e),n=null!==t?t.factory:nn(e);if(null!==n)return n;if(e instanceof w)throw new I(-204,!1);if(e instanceof Function)return function Kb(e){if(e.length>0)throw new I(-204,!1);const n=function kb(e){return(e?.[Li]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new I(-204,!1)}function uo(e){if(e.destroyed)throw new I(-205,!1)}function Kn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hc(e,t){for(const n of e)Array.isArray(n)?Hc(n,t):n&&Ec(n)?Hc(n.\u0275providers,t):t(n)}function Dh(e,t){let n;e instanceof rn?(uo(e),n=e):n=new Bb(e);const o=Tt(n),i=Me(void 0);try{return t()}finally{Tt(o),Me(i)}}const x=11,M=27,W=10;function te(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ee(e){return Array.isArray(e)&&!0===e[1]}function bh(e){return!!(4&e.flags)}function it(e){return e.componentOffset>-1}function nr(e){return!(1&~e.flags)}function Je(e){return!!e.template}function kt(e){return!!(512&e[2])}function gt(e){return!(256&~e[2])}function pe(e){for(;Array.isArray(e);)e=e[0];return e}function ue(e,t){return pe(t[e.index])}function Se(e,t){const n=t[e];return te(n)?n:n[0]}function qc(e){return!(128&~e[2])}function De(e,t){return null==t?null:e[t]}function kh(e){e[17]=0}function Wc(e){1024&e[2]||(e[2]|=1024,qc(e)&&ir(e))}function ho(e){return!!(9216&e[2]||e[24]?.dirty)}function Gc(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),ho(e)&&ir(e)}function ir(e){e[10].changeDetectionScheduler?.notify(0);let t=mt(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,qc(t));)t=mt(t)}function Zi(e,t){if(gt(e))throw new I(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function mt(e){const t=e[3];return Ee(t)?t[3]:t}const N={lFrame:Zh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Yc=!1;function g(){return N.lFrame.lView}function R(){return N.lFrame.tView}function A(){let e=jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function jh(){return N.lFrame.currentTNode}function vt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Vh(){return N.lFrame.isParent}function Uh(){return Yc}function Qi(e){const t=Yc;return Yc=e,t}function mC(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jc(t)}function Jc(e){N.lFrame.currentDirectiveIndex=e}function Yi(e){N.lFrame.currentQueryIndex=e}function yC(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function Wh(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=yC(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=Gh();return r.currentTNode=t,r.lView=e,!0}function tl(e){const t=Gh(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gh(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Zh(e):t}function Zh(e){const 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 null!==e&&(e.child=t),t}function Qh(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yh=Qh;function nl(){const e=Qh();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 un(e){N.lFrame.selectedIndex=e}let Jh=!0;function Xh(e,t=null,n=null,r){const o=function ep(e,t=null,n=null,r,o=new Set){const i=[n||Q,Qb(e)];return new rn(i,t||jc(),null,o)}(e,t,n);return o.resolveInjectorInitializers(),o}class We{static THROW_IF_NOT_FOUND=tn;static NULL=new Bi;static create(t,n){if(Array.isArray(t))return Xh({name:""},n,t);{const r=t.name??"";return Xh({name:r},t.parent,t.providers)}}static \u0275prov=F({token:We,providedIn:"any",factory:()=>U(kc)});static __NG_ELEMENT_ID__=-1}const It=new w("");let st=(()=>class e{static __NG_ELEMENT_ID__=bC;static __NG_ENV_ID__=n=>n})();class tp extends st{_lView;constructor(t){super(),this._lView=t}get destroyed(){return gt(this._lView)}onDestroy(t){const n=this._lView;return Zi(n,t),()=>function Zc(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function bC(){return new tp(g())}const CC=!1,TC=new w("");let dn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new yb(!1);debugTaskTracker=b(TC,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Te(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();const Rt=class MC extends Wn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,function $c(){return void 0!==uh()||null!=hc()}()&&(this.destroyRef=b(st,{optional:!0})??void 0,this.pendingTasks=b(dn,{optional:!0})??void 0)}emit(t){const n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const 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)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Be&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function Ji(...e){}function np(e){let t,n;function r(){e=Ji;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function SC(e){return queueMicrotask(()=>e()),()=>{e=Ji}}const rl="isAngularZone",Xi=rl+"_ID";let NC=0;class Y{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Rt(!1);onMicrotaskEmpty=new Rt(!1);onStable=new Rt(!1);onError=new Rt(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=CC}=t;if(typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const 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,function xC(e){const t=()=>{!function RC(e){function t(){np(()=>{e.callbackScheduled=!1,il(e),e.isCheckStableRunning=!0,ol(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),il(e))}(e)},n=NC++;e._inner=e._inner.fork({name:"angular",properties:{[rl]:!0,[Xi]:n,[Xi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function OC(e){return ip(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return rp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),op(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return rp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function PC(e){return ip(e,"__scheduler_tick__")}(c)&&t(),op(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,il(e),ol(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(rl)}static assertInAngularZone(){if(!Y.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Y.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,kC,Ji,Ji);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)}}const kC={};function ol(e){if(0==e._nesting&&!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 il(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function rp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function op(e){e._nesting--,ol(e)}class AC{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Rt;onMicrotaskEmpty=new Rt;onStable=new Rt;onError=new Rt;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 ip(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ar{_console=console;handleError(t){this._console.error("ERROR",t)}}const fn=new w("",{factory:()=>{const e=b(Y),t=b(ze);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ar),n.handleError(r))})}}}),sp={provide:Yn,useValue:()=>{b(ar,{optional:!0})},multi:!0};function es(){const e=this[ce];if(void 0===e.readonlyFn){const t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}let al=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=FC})();function FC(){return new al(g(),A())}class hn{}const cl=new w("",{factory:()=>!0}),jC=new w("");let cp=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new VC})}return e})();class VC{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}class ll{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}}function ts(e,t){const n=t?.injector??b(We);let o,r=!0!==t?.manualCleanup?n.get(st):null;const i=n.get(al,null,{optional:!0}),s=n.get(hn);return null!==i?(o=function BC(e,t,n){const r=Object.create($C);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=up(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(i.view,s,e),r instanceof tp&&r._lView===i.view&&(r=null)):o=function UC(e,t,n){const r=Object.create(HC);return r.fn=up(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,n.get(cp),s),o.injector=n,null!==r&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ll(o)}const lp={...ib,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const e=Qi(!1);try{!function sb(e){if(e.dirty=!1,e.version>0&&!Si(e))return;e.version++;const t=Un(e);try{e.cleanup(),e.fn()}finally{to(e,t)}}(this)}finally{Qi(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}},HC={...lp,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(no(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},$C={...lp,consumerMarkedDirty(){this.view[2]|=8192,ir(this.view),this.notifier.notify(13)},destroy(){if(no(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}};function up(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function mo(e){return t=>{if(function zC(e){return de(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function cr(e,t,n,r,o){return new qC(e,t,n,r,o)}class qC extends ac{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function dp(e,t){return mo((n,r)=>{let o=0;n.subscribe(cr(r,i=>{r.next(e.call(t,i,o++))}))})}function Et(e){return{toString:e}.toString()}function Mp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class ET{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function wT(){const e=kp(this),t=e?.current;if(t){const n=e.previous;if(n===ot)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bT(e,t,n,r,o){const i=this.declaredInputs[r],s=kp(e)||function CT(e,t){return e[Np]=t}(e,{previous:ot,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ET(l&&l.currentValue,n,c===ot),Mp(e,t,o,n)}const Np="__ngSimpleChanges__";function kp(e){return e[Np]||null}const mn=[],z=function(e,t=null,n){for(let r=0;r<mn.length;r++)(0,mn[r])(e,t,n)};var D=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(D||{});function as(e,t,n){xp(e,t,3,n)}function cs(e,t,n,r){(3&e[2])===n&&xp(e,t,n,r)}function vl(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function xp(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[17]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[17]+=65536),(a<i||-1==i)&&(kT(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function Ap(e,t){z(D.LifecycleHookStart,e,t);const n=T(null);try{t.call(e)}finally{T(n),z(D.LifecycleHookEnd,e,t)}}function kT(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,Ap(a,i)):Ap(a,i)}class Eo{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function Pp(e){return 3===e||4===e||6===e}function Lp(e){return 64===e.charCodeAt(0)}function gr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Fp(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Fp(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}function Do(e){return 32767&e}function wo(e,t){let n=function OT(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let Il=!0;function ls(e){const t=Il;return Il=e,t}let PT=0;const ct={};function us(e,t){const n=Hp(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,El(r.data,e),El(t,null),El(r.blueprint,null));const o=ds(e,t),i=e.injectorIndex;if(function _l(e){return-1!==e}(o)){const s=Do(o),a=wo(o,t),c=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function El(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ds(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Gp(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Dl(e,t,n){!function LT(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oo)&&(r=n[oo]),null==r&&(r=n[oo]=PT++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function $p(e,t,n){if(8&n||void 0!==e)return e;Cc()}function Bp(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=Me(void 0);try{return o?o.get(t,r,8&n):dh(t,r,8&n)}finally{Me(i)}}return $p(r,0,n)}function Up(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function BT(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!kt(s);){const a=zp(i,s,n,2|r,ct);if(a!==ct)return a;let c=i.parent;if(!c){const l=s[20];if(l){const u=l.get(n,ct,-5&r);if(u!==ct)return u}c=Gp(s),s=s[14]}i=c}return o}(e,t,n,r,ct);if(s!==ct)return s}const i=zp(e,t,n,r,ct);if(i!==ct)return i}return Bp(t,n,r,o)}function zp(e,t,n,r,o){const i=function VT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oo)?e[oo]:void 0;return"number"==typeof t?t>=0?255&t:HT:t}(n);if("function"==typeof i){if(!Wh(t,e,r))return 1&r?$p(o,0,r):Bp(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;Cc()}finally{Yh()}}else if("number"==typeof i){let s=null,a=Hp(e,t),c=-1,l=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?ds(e,t):t[a+8],-1!==c&&Wp(r,!1)?(s=t[1],a=Do(c),t=wo(c,t)):a=-1);-1!==a;){const u=t[1];if(qp(i,a,u.data)){const d=jT(a,t,n,s,r,l);if(d!==ct)return d}c=t[a+8],-1!==c&&Wp(r,t[1].data[a+8]===l)&&qp(i,a,t)?(s=u,a=Do(c),t=wo(c,t)):a=-1}}return o}function jT(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=function fs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){const h=s[c];if(h&&Je(h)&&h.type===n)return c}return null}(a,s,n,null==r?it(a)&&Il:r!=s&&!!(3&a.type),1&o&&i===a);return null!==u?bo(t,s,u,a,o):ct}function bo(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof Eo){const a=i;if(a.resolving)throw bc();const c=ls(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Me(a.injectImpl):null;Wh(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function NT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=function Sp(e){return e.type.prototype.ngOnChanges&&(e.setInput=bT),wT}(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))}(n,s[n],t)}finally{null!==d&&Me(d),ls(c),a.resolving=!1,Yh()}}return i}function qp(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wp(e,t){return!(2&e||1&e&&t)}class ne{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Up(this._tNode,this._lView,t,ao(r),n)}}function HT(){return new ne(A(),g())}function Gp(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function YT(){return mr(A(),g())}function mr(e,t){return new Co(ue(e,t))}let Co=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=YT})();Symbol;var ps=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(ps||{});const gs=new Map;let tM=0;function Tl(e){gs.delete(e[19])}const Sl="__ngContext__";function Re(e,t){te(t)?(e[Sl]=t[19],function rM(e){gs.set(e[19],e)}(t)):e[Sl]=t}function lg(e){return dg(e[12])}function ug(e){return dg(e[4])}function dg(e){for(;null!==e&&!Ee(e);)e=e[4];return e}let kl;const vr=new w("",{factory:()=>bM}),bM="ng",yg=new w(""),_g=new w("",{providedIn:"platform",factory:()=>"unknown"}),Ig=new w("",{factory:()=>b(It).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),RM=new w("",{factory:()=>!1});function Es(e){return!(32&~e.flags)}function Zg(e,t){const n=e.contentQueries;if(null!==n){const r=T(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Yi(n[o]),a.contentQueries(2,t[s],s)}}}finally{T(r)}}}function ql(e,t,n){Yi(0);const r=T(null);try{t(e,n)}finally{T(r)}}function Wl(e,t,n){if(bh(t)){const r=T(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{T(r)}}}var Ze=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Ze||{});function xs(e,t,n){return e.createElement(t,n)}function yn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fm(e,t,n){e.appendChild(t,n)}function hm(e,t,n,r,o){null!==r?yn(e,t,n,r,o):fm(e,t,n)}function gm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function AT(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Lp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function AS(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function xS(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function eN(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Dm="ng-template";function tN(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==eN(t[o+1].toLowerCase(),n,0))return!0}else if(nu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function nu(e){return 4===e.type&&e.value!==Dm}function nN(e,t,n){return t===(4!==e.type||n?e.value:Dm)}function rN(e,t,n){let r=4;const o=e.attrs,i=null!==o?function sN(e){for(let t=0;t<e.length;t++)if(Pp(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!nN(e,c,n)||""===c&&1===t.length){if(et(r))return!1;s=!0}}else if(8&r){if(null===o||!tN(e,o,c,n)){if(et(r))return!1;s=!0}}else{const l=t[++a],u=oN(c,o,nu(e),n);if(-1===u){if(et(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&l!==d){if(et(r))return!1;s=!0}}}}else{if(!s&&!et(r)&&!et(c))return!1;if(s&&et(c))continue;s=!1,r=c|1&r}}return et(r)||s}function et(e){return!(1&e)}function oN(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function aN(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function wm(e,t,n=!1){for(let r=0;r<t.length;r++)if(rN(e,t[r],n))return!0;return!1}function bm(e,t){return e?":not("+t.trim()+")":t}function lN(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!et(s)&&(t+=bm(i,o),o=""),r=s,i=i||!et(r);n++}return""!==o&&(t+=bm(i,o)),t}const q={};function ru(e,t,n,r,o,i,s,a,c,l,u){const d=M+r,f=d+o,h=function fN(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:q);return n}(d,f),p="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}function Os(e,t,n,r,o,i,s,a,c,l,u){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==l||e&&2048&e[2])&&(d[2]|=2048),kh(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[x]=a||e&&e[x],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function nM(){return tM++}(),d[6]=u,d[20]=l,d[15]=2==t.type?e[15]:d,d}function ou(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Lo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}var Ps=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ps||{});function Ft(e,t,n,r){const o=T(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&Ps.SignalBased)&&(c=t[i][ce]),null!==c&&void 0!==c.transformFn?r=c.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):Mp(t,c,i,r)}finally{T(o)}}var _n=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_n||{});function au(e,t){return(void 0)(e,t)}typeof document<"u"&&document;const Fo=new WeakMap,lu=new WeakSet;const jt=new Set;var gu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(gu||{});const wr=new w(""),Rm=new Set;function be(e){Rm.has(e)||(Rm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let xm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();const Am=[0,1,2,3];let NN=(()=>{class e{ngZone=b(Y);scheduler=b(hn);errorHandler=b(ar,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){b(wr,{optional:!0})}execute(){const n=this.sequences.size>0;n&&z(D.AfterRenderHooksStart),this.executing=!0;for(const r of Am)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&z(D.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),ir(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(gu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();class Om{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function mu(e,t){const n=t?.injector??b(We);return be("NgAfterNextRender"),function Pm(e,t,n,r){const o=t.get(xm);o.impl??=t.get(NN);const i=t.get(wr,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(st):null,a=t.get(al,null,{optional:!0}),c=new Om(o.impl,function RN(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}(e,n,t,!0)}const $s=new w("",{factory:()=>{const e=b(ze),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Lm(e,t,n){const r=e.get($s);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Fm(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function vu(e,t){for(const[n,r]of t)Lm(e,r.animateFns)}(r,o)}function jm(e,t,n,r){try{n.get(kc)}catch{return r(!1)}const o=e?.[26],i=function ON(e,t,n){const r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(const[i,s]of o){if(r.has(i))continue;let c=e[1].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}(e,t,o);if(0===i.size){let s=!1;if(e){const a=[];Us(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&jt.add(e[19]),Lm(n,()=>function PN(e,t,n,r,o){const i=[];if(n&&n.leave)for(const[s]of r){if(!n.leave.has(s))continue;const a=n.leave.get(s);for(const c of a.animateFns){const{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Us(e,t,i),i.length>0){const s=n||e?.[26];if(s){const a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),function LN(e,t,n){t.then(()=>{e[26]?.running===t&&(e[26].running=void 0,jt.delete(e[19])),n(!0)})}(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&jt.delete(e[19]),o(!0)})}else e&&jt.delete(e[19]),o(!1)}(e,t,o||void 0,i,r),o||void 0)}function Us(e,t,n){if(it(t))Vm(Se(t.index,e),n);else if(12&t.type){const o=e[t.index];if(Ee(o))for(let i=W;i<o.length;i++)Vm(o[i],n)}let r=t.child;for(;r;)Us(e,r,n),r=r.next}function Vm(e,t){const n=e[26];if(n&&n.leave)for(const o of n.leave.values())for(const i of o.animateFns){const{promise:s}=i();t.push(s)}let r=e[1].firstChild;for(;r;)Us(e,r,t),r=r.next}function br(e,t,n,r,o,i,s,a){if(null!=o){let c,l=!1;Ee(o)?c=o:te(o)&&(l=!0,o=o[0]);const u=pe(o);0===e&&null!==r?(Fm(a,r,i,n),null==s?fm(t,r,u):yn(t,r,u,s||null,!0)):1===e&&null!==r?(Fm(a,r,i,n),yn(t,r,u,s||null,!0),function DN(e,t){const n=Fo.get(e);if(!n||0===n.length)return;const r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){const s=n[i],a=s.parentNode;s===t?(n.splice(i,1),lu.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}(i,u)):2===e?(a?.[26]?.leave?.has(i.index)&&function du(e,t){const n=Fo.get(e);n?n.includes(t)||n.push(t):Fo.set(e,[t])}(i,u),jm(a,i,n,d=>{lu.has(u)?lu.delete(u):function Oo(e,t,n,r){e.removeChild(null,t,n,r)}(t,u,l,d)})):3===e&&jm(a,i,n,()=>{t.destroyNode(u)}),null!=c&&function BN(e,t,n,r,o,i,s){const a=r[7];a!==pe(r)&&br(t,e,n,i,a,o,s);for(let l=W;l<r.length;l++){const u=r[l];zs(u[1],u,e,t,i,a)}}(t,e,n,c,i,r,s)}}function $m(e,t){t[10].changeDetectionScheduler?.notify(9),zs(e,t,t[x],2,null,null)}function yu(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function _u(e,t){if(gt(t))return;const n=T(null);try{t[2]&=-129,t[2]|=256,t[24]&&no(t[24]),function HN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Eo)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],c=i[s+1];z(D.LifecycleHookStart,a,c);try{c.call(a)}finally{z(D.LifecycleHookEnd,a,c)}}else{z(D.LifecycleHookStart,o,i);try{i.call(o)}finally{z(D.LifecycleHookEnd,o,i)}}}}}(e,t),function VN(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[x].destroy();const r=t[16];if(null!==r&&Ee(t[3])){r!==t[3]&&yu(r,t);const o=t[18];null!==o&&o.detachView(e)}Tl(t)}finally{T(n)}}function Iu(e,t,n){return function Bm(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(it(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ze.None||o===Ze.Emulated)return null}return ue(r,n)}(e,t.parent,n)}let qm=function zm(e,t,n){return 40&e.type?ue(e,n):null};function Du(e,t,n,r){const o=Iu(e,r,t),i=t[x],a=function Um(e,t,n){return qm(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)hm(i,o,n[c],a,!1);else hm(i,o,n,a,!1)}function Gm(e,t){return null!==t?e[15][5].projection[t.projection]:null}function bu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const c=r[n.index],l=n.type;if(s&&0===t&&(c&&Re(pe(c),r),n.flags|=2),!Es(n))if(8&l)bu(e,t,n.child,r,o,i,!1),br(t,e,a,o,c,n,i,r);else if(32&l){const u=au(n,r);let d;for(;d=u();)br(t,e,a,o,d,n,i,r);br(t,e,a,o,c,n,i,r)}else 16&l?Zm(e,t,r,n,o,i):br(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function zs(e,t,n,r,o,i){bu(n,r,e.firstChild,t,o,i,!1)}function Zm(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)br(t,e,n[9],o,c[l],r,i,n);else{let l=c;const u=s[3];(function To(e){return!(128&~e.flags)})(r)&&(l.flags|=128),bu(e,t,l,u,o,i,!0)}}function Qm(e,t,n,r,o){const i=function me(){return N.lFrame.selectedIndex}(),s=2&r;try{un(-1),s&&t.length>M&&function Tm(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&cs(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&as(t,i,n)}un(n)}(e,t,M,!1),z(s?D.TemplateUpdateStart:D.TemplateCreateStart,o,n),n(r,o)}finally{un(i),z(s?D.TemplateUpdateEnd:D.TemplateCreateEnd,o,n)}}function qs(e,t,n){(function ZN(e,t,n){const r=n.directiveStart,o=n.directiveEnd;it(n)&&function hN(e,t,n){const r=ue(t,e),o=function Cm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=function iu(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}(e,Os(e,o,null,ou(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||us(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=bo(t,e,s,n);Re(c,t),null!==i&&JN(0,s-r,c,a,0,i),Je(a)&&(Se(n.index,t)[8]=bo(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function QN(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function vC(){return N.lFrame.currentDirectiveIndex}();try{un(i);for(let a=r;a<o;a++){const c=e.data[a],l=t[a];Jc(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&YN(c,l)}}finally{un(-1),Jc(s)}}(e,t,n)}let Ym=()=>null;function YN(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mu(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];wm(t,i.selectors,!1)&&(r??=[],Je(i)?r.unshift(i):r.push(i))}return r}function JN(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Ft(r,n,s[a],s[a+1])}function Gs(e,t,n,r,o){const i=M+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,vt(e,!0);const c=2===e.type;return c?(gm(t[x],a,e),(0===function lC(){return N.lFrame.elementDepthCount}()||nr(e))&&Re(a,t),function uC(){N.lFrame.elementDepthCount++}()):Re(a,t),function Ki(){return Jh}()&&(!c||!Es(e))&&Du(s,t,a,e),e}function Zs(e){let t=e;return Vh()?function Hh(){N.lFrame.isParent=!1}():(t=t.parent,vt(t,!1)),t}function Qs(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let c=0;c<s.length;c+=2){const l=s[c];Ft(t.data[l],n[l],s[c+1],o),a=!0}if(i)for(const c of i)Ft(t.data[c],n[c],r,o),a=!0;return a}function ek(e,t){const n=Se(t,e),r=n[1];!function tk(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=null),z(D.ComponentStart);try{Ys(r,n,n[8])}finally{z(D.ComponentEnd,n[8])}}function Ys(e,t,n){tl(t);try{const r=e.viewQuery;null!==r&&ql(1,r,n);const o=e.template;null!==o&&Qm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&Zg(e,t),e.staticViewQueries&&ql(2,e.viewQuery,n);const i=e.components;null!==i&&function nk(e,t){for(let n=0;n<t.length;n++)ek(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,nl()}}function Ho(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(pe(i)),Ee(i)&&rk(i,r);const s=n.type;if(8&s)Ho(e,t,n.child,r);else if(32&s){const a=au(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Gm(t,n);if(Array.isArray(a))r.push(...a);else{const c=mt(t[15]);Ho(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function rk(e,t){for(let n=W;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Ho(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function ev(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let tv=[];const ak={...$n,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ir(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},lk={...$n,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!nv(t[1]);)t=mt(t);t&&Wc(t)},consumerOnSignalRead(){this.lView[24]=this}};function nv(e){return 2!==e.type}function rv(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function Ks(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function dk(e,t){const n=Uh();try{Qi(!0),Nu(e,t);let r=0;for(;ho(e);){if(100===r)throw new I(103,!1);r++,Nu(e,1)}}finally{Qi(n)}}(e,t)}finally{r.end?.()}}function ov(e,t,n,r){if(gt(t))return;const o=t[2];tl(t);let a=!0,c=null,l=null;nv(e)?(l=function ok(e){return e[24]??function ik(e){const t=tv.pop()??Object.create(ak);return t.lView=e,t}(e)}(t),c=Un(l)):null===function Xa(){return ge}()?(a=!1,l=function ck(e){const t=e[24]??Object.create(lk);return t.lView=e,t}(t),c=Un(l)):t[24]&&(no(t[24]),t[24]=null);try{kh(t),function zh(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Qm(e,t,n,2,r);const u=!(3&~o);if(u){const h=e.preOrderCheckHooks;null!==h&&as(t,h,null)}else{const h=e.preOrderHooks;null!==h&&cs(t,h,0,null),vl(t,0)}if(function fk(e){for(let t=lg(e);null!==t;t=ug(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Wc(n[r])}}(t),rv(t),iv(t,0),null!==e.contentQueries&&Zg(e,t),u){const h=e.contentCheckHooks;null!==h&&as(t,h)}else{const h=e.contentHooks;null!==h&&cs(t,h,1),vl(t,1)}!function pk(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)un(~o);else{const i=o,s=n[++r],a=n[++r];mC(s,i);const c=t[i];z(D.HostBindingsUpdateStart,c);try{a(2,c)}finally{z(D.HostBindingsUpdateEnd,c)}}}}finally{un(-1)}}(e,t);const d=e.components;null!==d&&av(t,d,0);const f=e.viewQuery;if(null!==f&&ql(2,f,r),u){const h=e.viewCheckHooks;null!==h&&as(t,h)}else{const h=e.viewHooks;null!==h&&cs(t,h,2),vl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}ev(t),t[2]&=-73}catch(u){throw ir(t),u}finally{null!==l&&(to(l,c),a&&function sk(e){e.lView[24]!==e&&(e.lView=null,tv.push(e))}(l)),nl()}}function iv(e,t){for(let n=lg(e);null!==n;n=ug(n))for(let r=W;r<n.length;r++)sv(n[r],t)}function hk(e,t,n){z(D.ComponentStart);const r=Se(t,e);try{sv(r,n)}finally{z(D.ComponentEnd,r[8])}}function sv(e,t){qc(e)&&Nu(e,t)}function Nu(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Si(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)ov(r,e,r.template,e[8]);else if(8192&o){const a=T(null);try{rv(e),iv(e,1);const c=r.components;null!==c&&av(e,c,1),ev(e)}finally{T(a)}}}function av(e,t,n){for(let r=0;r<t.length;r++)hk(e,t[r],n)}function Mr(e,t){const n=Uh()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=mt(e);if(kt(e)&&!r)return e;e=r}return null}function $o(e,t){if(e.length<=W)return;const n=W+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&yu(o,r),t>0&&(e[n-1][4]=r[4]);const i=Vi(e,W+t);!function Hm(e,t){$m(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}class Ru{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Ho(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ee(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&($o(t,r),Vi(n,r))}this._attachedToViewContainer=!1}!function Vo(e,t){if(gt(t))return;const n=t[x];n.destroyNode&&zs(e,t,n,3,null,null),function jN(e){let t=e[12];if(!t)return _u(e[1],e);for(;t;){let n=null;if(te(t))n=t[12];else{const r=t[W];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)te(t)&&_u(t[1],t),t=t[3];null===t&&(t=e),te(t)&&_u(t[1],t),n=t&&t[4]}t=n}}(t)}(this._lView[1],this._lView)}onDestroy(t){Zi(this._lView,t)}markForCheck(){Mr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Gc(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Ks(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=kt(this._lView),n=this._lView[16];null!==n&&!t&&yu(n,this._lView),$m(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;const n=kt(this._lView),r=this._lView[16];null!==r&&!n&&function uv(e,t){const n=e[9],r=t[3];(te(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}(r,this._lView),Gc(this._lView)}}function Tn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Pu(e,t,n,r,o){const i=jh(),s=Vh(),c=e.data[t]=function Mk(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ph(){return null!==N.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-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}}(0,s?i:i&&i.parent,n,t,r,o);return function Tk(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,c,i,s),c}(e,t,n,r,o),function gC(){return N.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function po(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return vt(i,!0),i}let lR=class{},Pv=class{};class uR{resolveComponentFactory(t){throw new I(917,!1)}}let kr=class{static NULL=new uR};class Bu{}let dR=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();const zu={};class xr{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,zu,r);return o!==zu||n===zu?o:this.parentInjector.get(t,n,r)}}function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=mc(o,a):2==i&&(r=mc(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ko(e,t=0){const n=g();return null===n?U(e,t):Up(A(),n,O(e),t)}function vR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function jv(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),Hv(t,i)}}function Vv(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Hv(t,s)}}function Hv(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function $v(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||nu(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const c=r[a];if(0!==c)if(5!==c){if("number"==typeof c)break;if(!n&&o.hasOwnProperty(c)){const l=o[c];for(const u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function IR(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=nn(o.type)),s=new Eo(i,Je(o),Ko,null);e.blueprint[r]=s,n[r]=s,function ER(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function DR(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Lo(e,n,o.hostVars,q),o)}function wR(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Je(t)&&(n[""]=e)}}function qu(e,t,n,r,o,i,s,a){const c=t[1],l=c.consts,d=Tn(c,e,n,r,De(l,s));return i&&function Fv(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,l=null;for(const u of s)if(null!==u.resolveHostDirectives){[a,c,l]=u.resolveHostDirectives(s);break}!function yR(e,t,n,r,o,i,s){const a=r.length;let c=null;for(let f=0;f<a;f++){const h=r[f];null===c&&Je(h)&&(c=h,vR(e,n,f)),Dl(us(n,t),e,h.type)}(function bR(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Lo(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=gr(n.mergedAttrs,h.hostAttrs),IR(e,n,t,d,h),wR(d,h,o),null!==s&&s.has(h)){const[m,_]=s.get(h);n.directiveToIndex.set(h.type,[d,m+n.directiveStart,_+n.directiveStart])}else(null===i||!i.has(h))&&n.directiveToIndex.set(h.type,d);null!==h.contentQueries&&(n.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=64);const p=h.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function _R(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);Vv(0,t,i,r),Vv(1,t,i,r),$v(t,r,!0)}else jv(0,t,o,r),jv(1,t,o,r),$v(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,l)}null!==i&&null!==r&&function mR(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new I(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,De(l,a),o),d.mergedAttrs=gr(d.mergedAttrs,d.attrs),null!==d.attrs&&ca(d,d.attrs,!1),null!==d.mergedAttrs&&ca(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function Wu(e,t){(function Rp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=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)),null!=u&&(e.destroyHooks??=[]).push(n,u)}})(e,t),bh(t)&&e.queries.elementEnd(t)}function Ht(e,t,n){return function r(o){Mr(it(e)?Se(e.index,t):t,5);const s=t[8];let a=Uv(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Uv(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Uv(e,t,n,r){const o=T(null);try{return z(D.OutputStart,t,n),!1!==n(r)}catch(i){return function Su(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(fn,null)}catch{r=null}r?.(t)}(e,i),!1}finally{z(D.OutputEnd,t,n),T(o)}}function zv(e,t,n,r,o,i,s){const a=t.firstCreatePass?function Ah(e){return e.cleanup??=[]}(t):null,c=function xh(e){return e[7]??=[]}(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Or(e,t,n,r,o,i){const a=t[1],d=t[n][a.data[n].outputs[r]].subscribe(i);zv(e.index,a,t,o,i,d,!0)}const wt=Symbol("BINDING");function Qu(e){return e.debugInfo?.className||e.type.name||null}class Jv extends kr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=B(t);return new Yu(n,this.ngModule)}}class Yu extends Pv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function HR(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&Ps.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function $R(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uN(e){return e.map(lN).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){z(D.DynamicComponentStart);const a=T(null);try{const c=this.componentDef,l=function BR(e,t,n){let r=t instanceof ze?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new xr(n,r):n}(c,o||this.ngModule,t),u=function UR(e){const t=e.get(Bu,null);if(null===t)throw new I(407,!1);return{rendererFactory:t,sanitizer:e.get(dR,null),changeDetectionScheduler:e.get(hn,null),ngReflect:!1,tracingService:e.get(wr,null,{optional:!0})}}(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Qu(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{T(a)}}createComponentRef(t,n,r,o,i,s){const a=this.componentDef,c=function WR(e,t,n,r){const o=e?["ng-version","21.2.2"]:function dN(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!et(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let i=null,s=null,a=0;if(n)for(const u of n)a+=u[wt].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){const d=r[u];if("function"!=typeof d)for(const f of d.bindings){a+=f[wt].requiredVars;const h=u+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const u of r){const f=Ce("function"==typeof u?u:u.type);c.push(f)}return ru(0,null,function GR(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(i,s),1,a,c,null,null,null,[o],null)}(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?function zN(e,t,n,r){const i=r.get(RM,!1)||n===Ze.ShadowDom||n===Ze.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function qN(e){Ym(e)}(s),s}(l,o,a.encapsulation,n):function zR(e,t){const n=function qR(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return xs(t,n,"svg"===n?"svg":"math"===n?"math":null)}(a,l),d=s?.some(Xv)||i?.some(p=>"function"!=typeof p&&p.bindings.some(Xv)),f=Os(null,c,null,512|ou(a),null,null,t,l,n,null,null);f[M]=u,tl(f);let h=null;try{const p=qu(M,f,2,"#host",()=>c.directiveRegistry,!0,0);gm(l,u,p),Re(u,f),qs(c,f,p),Wl(c,p,f),Wu(c,p),void 0!==r&&function QR(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(p,this.ngContentSelectors,r),h=Se(p.index,f),f[8]=h[8],Ys(c,f,null)}catch(p){throw null!==h&&Tl(h),Tl(f),p}finally{z(D.DynamicComponentEnd),nl()}return new ZR(this.componentType,f,!!d)}}function Xv(e){const t=e[wt].kind;return"input"===t||"twoWay"===t}class ZR extends lR{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=function or(e,t){return e.data[t]}(n[1],M),this.location=mr(this._tNode,n),this.instance=Se(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Ru(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Qs(r,o[1],o,t,n),this.previousInputValues.set(t,n),Mr(Se(r.index,o),1)}get injector(){return new ne(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Pr=class{};class _y extends Pr{injector;componentFactoryResolver=new Jv(this);instance=null;constructor(t){super();const n=new rn([...t.providers,{provide:Pr,useValue:this},{provide:kr,useValue:this.componentFactoryResolver}],t.parent||jc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let px=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ac(0,n.type),o=r.length>0?function Iy(e,t,n=null){return new _y({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(U(ze))})}return e})();function Ey(e){return Et(()=>{const t=Cy(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ps.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(px).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ze.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&be("NgStandalone"),Ty(n);const r=e.dependencies;return n.directiveDefs=da(r,Dy),n.pipeDefs=da(r,Ye),n.id=function _x(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,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(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Dy(e){return B(e)||Ce(e)}function gx(e,t){if(null==e)return ot;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let 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=Ps.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function mx(e){if(null==e)return ot;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function by(e){return Et(()=>{const t=Cy(e);return Ty(t),t})}function Cy(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ot,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:gx(e.inputs,t),outputs:mx(e.outputs),debugInfo:null}}function Ty(e){e.features?.forEach(t=>t(e))}function da(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const i=t(o);null!==i&&r.push(i)}return r}:null}const d_=new w("");function h_(e){return!!e&&"function"==typeof e.then}function HA(e){return!!e&&"function"==typeof e.subscribe}const p_=new w("");let g_=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=b(p_,{optional:!0})??[];injector=b(We);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=Dh(this.injector,o);if(h_(i))n.push(i);else if(HA(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $A=new w("");let Bt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=b(fn);afterRenderManager=b(xm);zonelessEnabled=b(cl);rootEffectScheduler=b(cp);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Wn;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=b(dn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(dp(n=>!n))}constructor(){b(wr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=b(ze);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=We.NULL){return this._injector.get(Y).run(()=>{z(D.BootstrapComponentStart);const s=n instanceof Pv;if(!this._injector.get(g_).done)throw new I(405,"");let c;c=s?n:this._injector.get(kr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const l=function UA(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Pr),d=c.create(o,[],r||c.selector,l),f=d.location.nativeElement,h=d.injector.get(d_,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),_a(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),z(D.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){z(D.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(gu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw z(D.ChangeDetectionEnd),new I(101,!1);const n=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(n),this.afterTick.next(),z(D.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Bu,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){z(D.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{z(D.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||ho(o))&&(Ks(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>ho(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;_a(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get($A,[]).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),()=>_a(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const 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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _a(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ad(e,t,n,r,o){Qs(t,e,n,o?"class":"style",r)}function oi(e,t,n,r){const o=g(),i=o[1],s=e+M,a=i.firstCreatePass?qu(s,o,2,t,Mu,function Kc(){return N.bindingsEnabled}(),n,r):i.data[s];if(it(a)){const c=o[10].tracingService;if(c&&c.componentCreate)return c.componentCreate(Qu(i.data[a.directiveStart+a.componentOffset]),()=>(R_(e,t,o,a,r),oi))}return R_(e,t,o,a,r),oi}function R_(e,t,n,r,o){if(Gs(r,n,e,t,Fd),nr(r)){const i=n[1];qs(i,n,r),Wl(i,r,n)}null!=o&&function Cr(e,t,n=ue){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(n,r)}function ba(){const e=R(),n=Zs(A());return e.firstCreatePass&&Wu(e,n),function Lh(e){return N.skipHydrationRootTNode===e}(n)&&function Fh(){N.skipHydrationRootTNode=null}(),function Oh(){N.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function RT(e){return!!(8&e.flags)}(n)&&Ad(e,n,g(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function xT(e){return!!(16&e.flags)}(n)&&Ad(e,n,g(),n.stylesWithoutHost,!1),ba}function Od(e,t,n,r){return oi(e,t,n,r),ba(),Od}let Fd=(e,t,n,r,o)=>(function go(e){Jh=e}(!0),xs(t[x],r,function wC(){return N.lFrame.currentNamespace}()));const Ta="en-US";let H_=Ta;function Ud(e,t,n){const r=g(),o=R(),i=A();return function zd(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=Ht(r,t,i),function Zu(e,t,n,r,o,i,s,a){const c=nr(e);let l=!1,u=null;if(!r&&c&&(u=function NR(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],c=o[i+2];return a&&a.length>c?a[c]:null}"string"==typeof s&&(i+=2)}return null}(t,n,i,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0;else{const d=ue(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function SR(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||zv(r?m=>r(pe(m[e.index])):e.index,t,n,i,a,h,!1)}return l}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){const f=u[d],h=u[d+1];c??=Ht(r,t,i),Or(r,t,f,h,o,c)}if(l&&l.length)for(const d of l)c??=Ht(r,t,i),Or(r,t,d,o,o,c)}}(o,r,r[x],i,e,t,n),Ud}let P0=(()=>{class e{applicationErrorHandler=b(fn);appRef=b(Bt);taskService=b(dn);ngZone=b(Y);zonelessEnabled=b(cl);tracing=b(wr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Be;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(jC,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?SC:np;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Xi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function of(){return[{provide:hn,useExisting:P0},{provide:Y,useClass:AC},{provide:cl,useValue:!0}]}const CE=new w("",{factory:()=>b(CE,{optional:!0,skipSelf:!0})||function F0(){return typeof $localize<"u"&&$localize.locale||Ta}()}),NE={now:()=>(NE.delegate||Date).now(),delegate:void 0};class B0 extends Wn{constructor(t=1/0,n=1/0,r=NE){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}}function Fn(e){return this instanceof Fn?(this.v=e,this):new Fn(e)}function W0(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function xE(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}const AE=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function OE(e){return de(e?.then)}function PE(e){return de(e[dc])}function LE(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function FE(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const jE=function Z0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function VE(e){return de(e?.[jE])}function HE(e){return function q0(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof Fn?Promise.resolve(f.value.v).then(l,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Fn(n.read());if(o)return yield Fn(void 0);yield yield Fn(r)}}finally{n.releaseLock()}})}function $E(e){return de(e?.getReader)}function jn(e){if(e instanceof Te)return e;if(null!=e){if(PE(e))return function Q0(e){return new Te(t=>{const n=e[dc]();if(de(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(AE(e))return function Y0(e){return new Te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(OE(e))return function K0(e){return new Te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yf)})}(e);if(LE(e))return BE(e);if(VE(e))return function J0(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($E(e))return function X0(e){return BE(HE(e))}(e)}throw FE(e)}function BE(e){return new Te(t=>{(function eF(e,t){var n,r,o,i;return function U0(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=W0(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function qt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function UE(e,t,n=1/0){return de(t)?UE((r,o)=>dp((i,s)=>t(r,i,o,s))(jn(e(r,o))),n):("number"==typeof t&&(n=t),mo((r,o)=>function tF(e,t,n,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=m=>l<r?p(m):c.push(m),p=m=>{i&&t.next(m),l++;let _=!1;jn(n(m,u++)).subscribe(cr(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){const E=c.shift();s?qt(t,s,()=>p(E)):p(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(cr(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const zE=new Te(e=>e.complete());function uf(e){return e[e.length-1]}function qE(e,t=0){return mo((n,r)=>{n.subscribe(cr(r,o=>qt(r,e,()=>r.next(o),t),()=>qt(r,e,()=>r.complete(),t),o=>qt(r,e,()=>r.error(o),t)))})}function WE(e,t=0){return mo((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function GE(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{qt(n,t,()=>{const r=e[Symbol.asyncIterator]();qt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mF(...e){const t=function aF(e){return function iF(e){return e&&de(e.schedule)}(uf(e))?e.pop():void 0}(e),n=function cF(e,t){return"number"==typeof uf(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?jn(r[0]):function nF(e=1/0){return UE(Jf,e)}(n)(function gF(e,t){return t?function pF(e,t){if(null!=e){if(PE(e))return function lF(e,t){return jn(e).pipe(WE(t),qE(t))}(e,t);if(AE(e))return function dF(e,t){return new Te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(OE(e))return function uF(e,t){return jn(e).pipe(WE(t),qE(t))}(e,t);if(LE(e))return GE(e,t);if(VE(e))return function fF(e,t){return new Te(n=>{let r;return qt(n,t,()=>{r=e[jE](),qt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>de(r?.return)&&r.return()})}(e,t);if($E(e))return function hF(e,t){return GE(HE(e),t)}(e,t)}throw FE(e)}(e,t):jn(e)}(r,t)):zE}function vF(e,t){return mo((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(cr(r,c=>{o?.unsubscribe();let l=0;const u=i++;jn(e(c,u)).subscribe(o=cr(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const yF={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let df;function CF(e,t,n){let r=n;return function IF(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function EF(e,t){if(!df){const n=Element.prototype;df=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&df.call(e,t)}(e,o)||(r=i,0))),r}class MF{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(kr).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new SF(this.componentFactory,t,this.inputMap)}}class SF{componentFactory;injector;inputMap;eventEmitters=new B0(1);events=this.eventEmitters.pipe(vF(t=>mF(...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(Y),this.appRef=this.injector.get(Bt),this.cdScheduler=n.get(hn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=yF.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function mk(e){return ho(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function vk(e){Wc(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=We.create({providers:[],parent:this.injector}),r=function bF(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],c=CF(a,t,o);-1!==c&&r[c].push(a)}return r}(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(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{const i=t.instance[r];return new Te(s=>{const 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()}}class NF extends HTMLElement{ngElementEventsSubscription=null}function kF(e,t){const n=function wF(e,t){return t.get(kr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new MF(e,t.injector),o=function DF(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function _F(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends NF{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,l,f)}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=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a,isSignal:c})=>{Object.defineProperty(i.prototype,s,{get(){const l=this.ngElementStrategy.getInputValue(s);return c&&function _d(e){return"function"==typeof e&&void 0!==e[ce]}(l)?l():l},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}let ZE=null;function ff(){return ZE}class xF{}class cD{destroyed=!1;listeners=null;errorHandler=b(ar,{optional:!0});destroyRef=b(st);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const n=this.listeners?.indexOf(t);void 0!==n&&-1!==n&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)return void console.warn(nt(953,!1));if(null===this.listeners)return;const n=T(null);try{for(const r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{T(n)}}}function Ct(e,t){return function Jw(e,t){const n=Object.create(Xw);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(eo(n),Bn(n),n.value===dt)throw n.error;return n.value};return r[ce]=n,r}(e,t?.equal)}Error,Error;const qa=Symbol("InputSignalNode#UNSET"),ZD={...rc,transformFn:void 0,applyValueToInputSignal(e,t){ro(e,t)}};function QD(e,t){const n=Object.create(ZD);function r(){if(Bn(n),n.value===qa)throw new I(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[ce]=n,r}function YD(e,t){return QD(e,t)}const Cf=(YD.required=function DV(e){return QD(qa,e)},YD);function KD(e,t){const n=Object.create(ZD),r=new cD;function o(){return Bn(n),JD(n.value),n.value}return n.value=e,o[ce]=n,o.asReadonly=es.bind(o),o.set=i=>{n.equal(n.value,i)||(ro(n,i),r.emit(i))},o.update=i=>{JD(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function JD(e){if(e===qa)throw new I(952,!1)}function XD(e,t){return KD(e)}const bV=(XD.required=function wV(e){return KD(qa)},XD),Wa=new w(""),AV=new w("");function bi(e){return!e.moduleRef}let Jr=null;function aH(e){const{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;z(D.BootstrapApplicationStart);try{const i=o?.injector??function jV(e=[]){if(Jr)return Jr;const t=function aw(e=[],t){return We.create({name:t,providers:[{provide:Lc,useValue:"platform"},{provide:Wa,useValue:new Set([()=>Jr=null])},...e]})}(e);return Jr=t,function BA(){!function tb(e){Uf=e}(()=>{throw new I(600,"")})}(),function cw(e){const t=e.get(yg,null);Dh(e,()=>{t?.forEach(n=>n())})}(t),t}(r),s=[of(),sp,...n||[]];return function rw(e){const t=bi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{bi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(fn);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),bi(e)){const i=()=>t.destroy(),s=e.platformInjector.get(Wa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Wa);s.add(i),e.moduleRef.onDestroy(()=>{_a(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function PV(e,t,n){try{const r=n();return h_(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const i=t.get(dn),s=i.add(),a=t.get(g_);return a.runInitializers(),a.donePromise.then(()=>{if(function rP(e){"string"==typeof e&&(H_=e.toLowerCase().replace(/_/g,"-"))}(t.get(CE,Ta)||Ta),!t.get(AV,!0))return bi(e)?t.get(Bt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(bi(e)){const u=t.get(Bt);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return e.moduleRef}).finally(()=>{i.remove(s)})})})}({r3Injector:new _y({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{z(D.BootstrapApplicationEnd)}}function kw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}class Ow{_doc;constructor(t){this._doc=t}manager}let Sf=(()=>{class e extends Ow{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)(U(It))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const Nf=new w("");let Pw=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const o=n.filter(s=>!(s instanceof Sf));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof Sf);i&&this._plugins.push(i)}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 I(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(U(Nf),U(Y))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const kf="ng-app-id";function Lw(e){for(const t of e)t.remove()}function Fw(e,t){const n=t.createElement("style");return n.textContent=e,n}function Rf(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let jw=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,function bH(e,t,n,r){const o=e.head?.querySelectorAll(`style[${kf}="${t}"],link[${kf}="${t}"]`);if(o)for(const i of o)i.removeAttribute(kf),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]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,Fw);r?.forEach(o=>this.addUsage(o,this.external,Rf))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const 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){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(Lw(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])Lw(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,Fw(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Rf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(U(It),U(vr),U(Ig,8),U(_g))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const xf={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"},Af=/%COMP%/g,kH=new w("",{factory:()=>!0});function Hw(e,t){return t.map(n=>n.replace(Af,e))}let $w=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Of(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof zw?o.applyToHost(n):o instanceof Pf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ze.Emulated:i=new zw(c,l,r,this.appId,u,s,a,d);break;case Ze.ShadowDom:return new Uw(c,n,r,s,a,this.nonce,d,l);case Ze.ExperimentalIsolatedShadowDom:return new Uw(c,n,r,s,a,this.nonce,d);default:i=new Pf(c,l,r,u,s,a,d)}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)(U(Pw),U(jw),U(vr),U(kH),U(It),U(Y),U(Ig),U(wr,8))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();class Of{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(xf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Bw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Bw(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new I(-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;const i=xf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=xf[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&(_n.DashCase|_n.Important)?t.style.setProperty(n,r,o&_n.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&_n.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=ff().getGlobalEventTarget(this.doc,t)))throw new I(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function Bw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Uw extends Of{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Hw(r.id,l);for(const d of l){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const u=r.getExternalStyles?.();if(u)for(const d of u){const f=Rf(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class Pf extends Of{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Hw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===jt.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class zw extends Pf{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function RH(e){return"_ngcontent-%COMP%".replace(Af,e)}(l),this.hostAttr=function xH(e){return"_nghost-%COMP%".replace(Af,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class Lf extends xF{supportsDOMEvents=!0;static makeCurrent(){!function RF(e){ZE??=e}(new Lf)}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()).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"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function LH(){return Ti=Ti||document.head.querySelector("base"),Ti?Ti.getAttribute("href"):null}();return null==n?null:function FH(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ti=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function AF(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ti=null,VH=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const qw=["alt","control","meta","shift"],HH={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$H={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function jf(){return(jf=function $e(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Xr(i,r,o,s,a,"next",c)}function a(c){Xr(i,r,o,s,a,"throw",c)}s(void 0)})}}(function*(e,t){return aH(function Ww(e,t){return{platformRef:t?.platformRef,appProviders:[...QH,...e?.providers??[]],platformProviders:GH}}(e,t))})).apply(this,arguments)}const GH=[{provide:_g,useValue:"browser"},{provide:yg,useValue:function zH(){Lf.makeCurrent()},multi:!0},{provide:It,useFactory:function WH(){return function wM(e){kl=e}(document),document}}],QH=[{provide:Lc,useValue:"root"},{provide:ar,useFactory:function qH(){return new ar}},{provide:Nf,useClass:Sf,multi:!0},{provide:Nf,useClass:(()=>{class e extends Ow{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ff().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qw.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=HH[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),qw.forEach(s=>{s!==o&&(0,$H[s])(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"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(U(It))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),multi:!0},$w,jw,Pw,{provide:Bu,useExisting:$w},{provide:class OF{},useClass:VH},[]];let YH=(()=>{class e{destroyRef=b(st);_isDarkMode=function sl(e,t){const[n,r,o]=nb(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=es.bind(i),i}(this.hasDarkClass());isDarkMode=Ct(()=>this._isDarkMode());darkModeChange=function EV(){return new cD}();constructor(){const n=new MutationObserver(r=>{r.forEach(o=>{if("attributes"===o.type&&"class"===o.attributeName){const i=this.hasDarkClass();i!==this._isDarkMode()&&this._isDarkMode.set(i)}})});n.observe(document.body,{attributes:!0,attributeFilter:["class"]}),this.destroyRef.onDestroy(()=>n.disconnect()),ts(()=>{this.darkModeChange.emit(this._isDarkMode()),document.documentElement.style.colorScheme=this._isDarkMode()?"dark":"light"})}hasDarkClass(){return document.body.classList.contains("dark")}toggleDarkMode(){document.body.classList.toggle("dark")}static \u0275fac=function(r){return new(r||e)};static \u0275dir=by({type:e,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return e})(),KH=(()=>{class e{size=Cf("m");active=Cf(!0,{transform:kw});continuous=Cf(!1,{transform:kw});isDarkMode=bV(!1);handleDarkModeChange(n){this.isDarkMode.set(n),-1===this.raf&&this.animate()}colorA=Ct(()=>this.isDarkMode()?[221,246,18]:[18,28,43]);colorB=[0,202,204];paths=[];raf=-1;appearTime=0;disappearTime=0;tip=0;toe=0;mix=[0,0,0];norm=0;animate=n=>{if(void 0!==n&&(this.tip=Math.min(1,6e-4*(n-this.appearTime)),this.active()||(this.toe=Math.min(1,6e-4*(n-this.disappearTime)))),this.paths.forEach((r,o)=>{this.norm=1/this.paths.length*o,this.mix=this.mixRgb(this.colorA(),this.colorB,Math.max(0,Math.min(1,15*(this.tip-this.norm)))),r.setAttribute("stroke",this.tip*this.paths.length>o&&(this.active()||this.toe*this.paths.length<o)?this.rgbToSvg(this.mix):"transparent")}),this.tip>=1&&(this.active()||this.toe>=1))return this.continuous()?void setTimeout(()=>{this.appearTime=performance.now(),this.tip=0,this.toe=0,this.raf=requestAnimationFrame(this.animate)},500):void(this.raf=-1);this.raf=requestAnimationFrame(this.animate)};activate(){this.appearTime=performance.now(),this.animate(this.appearTime)}deactivate(){this.disappearTime=performance.now(),-1===this.raf&&this.animate(this.disappearTime)}mixChannel(n,r,o){return parseInt((n*o+r*(1-o)).toFixed())}mixRgb(n,r,o){return[this.mixChannel(n[0],r[0],o),this.mixChannel(n[1],r[1],o),this.mixChannel(n[2],r[2],o)]}rgbToSvg(n){return`rgb(${n[0]},${n[1]},${n[2]})`}constructor(){ts(()=>{this.active()?this.activate():this.deactivate()}),ts(()=>{this.isDarkMode(),this.animate()});const n=b(Co);mu({read:()=>{if(this.paths.length)return;const r=n.nativeElement.querySelector("svg"),o=n.nativeElement.querySelector("#original-path");if(!o)return;const i=o.getTotalLength(),a=[];for(let c=0;c<400;c++){const l=o.getPointAtLength(i/400*c);a.push({x:parseFloat(l.x.toFixed(2)),y:parseFloat(l.y.toFixed(2))})}a.push(o.getPointAtLength(i)),a.reverse(),a.forEach((c,l)=>{if(0===l||1===l)return;const u=document.createElementNS("http://www.w3.org/2000/svg","path");u.setAttribute("d",`M${a[l-2].x},${a[l-2].y}L${a[l-1].x},${a[l-1].y}L${c.x},${c.y}`),u.setAttribute("fill","none"),u.setAttribute("stroke","transparent"),u.setAttribute("stroke-width",o?.getAttribute("stroke-width")||"1"),u.setAttribute("stroke-miterlimit",o?.getAttribute("stroke-miterlimit")||"1"),r.appendChild(u),this.paths.push(u)})}})}ngOnDestroy(){this.paths=[],cancelAnimationFrame(this.raf),this.raf=-1}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ey({type:e,selectors:[["cue-logo"]],inputs:{size:[1,"size"],active:[1,"active"],continuous:[1,"continuous"],isDarkMode:[1,"isDarkMode"]},outputs:{isDarkMode:"isDarkModeChange"},decls:2,vars:0,consts:[["cueDarkMode","","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 221.545 86.191","width","222","height","86","overflow","visible",3,"darkModeChange"],["id","original-path","fill","none","stroke","transparent","stroke-miterlimit","10","stroke-width","12","d","M216.046 56.638s-10.561 24.201-36.192 22.991c-25.631-1.21-22.771-24.751-20.351-37.622 2.42-12.871 10.451-20.351 16.831-18.041 6.283 2.275 8.03 9.68 2.09 21.891-5.94 12.211-21.341 37.567-35.862 33.992-12.413-3.056-13.281-23.162-13.281-23.162V29.762v26.925c0 14.471-12.47 23.212-24.672 23.212s-24.672-8.301-24.672-23.212V29.829l-.006.105v13.031c0 20.416-16.55 36.966-36.966 36.966S6 63.381 6 42.966 22.55 6 42.966 6c6.91 0 13.377 1.896 18.91 5.196"]],template:function(r,o){1&r&&(function Kh(){N.lFrame.currentNamespace="svg"}(),oi(0,"svg",0),Ud("darkModeChange",function(s){return o.handleDarkModeChange(s)}),Od(1,"path",1),ba())},dependencies:[YH],styles:["[_nghost-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:1;display:block;width:100%;height:auto}"]})}return e})();(function UH(e,t){return jf.apply(this,arguments)})({providers:[function L0(){return be("NgZoneless"),function xc(e){return{\u0275providers:e}}([...of(),[]])}()]}).then(({injector:e})=>{customElements.get("cue-logo")||customElements.define("cue-logo",kF(KH,{injector:e}))}).catch(e=>{throw console.error("[CueLogo] Bootstrap failed:",e),e})}},Xr=>{Xr(Xr.s=942)}]);
1
+ (()=>{"use strict";var e,v={},_={};function n(e){var f=_[e];if(void 0!==f)return f.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(f,r,c,u)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,c,u]=e[a],i=!0,l=0;l<r.length;l++)(!1&u||s>=u)&&Object.keys(n.O).every(p=>n.O[p](r[l]))?r.splice(l--,1):(i=!1,u<s&&(s=u));if(i){e.splice(a--,1);var o=c();void 0!==o&&(f=o)}}return f}u=u||0;for(var a=e.length;a>0&&e[a-1][2]>u;a--)e[a]=e[a-1];e[a]=[r,c,u]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={121:0};n.O.j=c=>0===e[c];var f=(c,u)=>{var l,o,[a,s,i]=u,t=0;if(a.some(h=>0!==e[h])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(i)var d=i(n)}for(c&&c(u);t<a.length;t++)n.o(e,o=a[t])&&e[o]&&e[o][0](),e[o]=0;return n.O(d)},r=self.webpackChunkcue_ui=self.webpackChunkcue_ui||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[792],{942(){function Xr(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}let ge=null,Zt=!1,Ka=1;const ce=Symbol("SIGNAL");function T(e){const t=ge;return ge=e,t}const $n={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bn(e){if(Zt)throw new Error("");if(null===ge)return;ge.consumerOnSignalRead(e);const t=ge.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ge.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ge.producers,void 0!==n&&n.producer===e))return ge.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===ge&&(!r||function Kw(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(o,ge)))return;const i=zn(ge),s={producer:e,consumer:ge,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,void 0!==t?t.nextProducer=s:ge.producers=s,i&&Bf(e,s)}function eo(e){if((!zn(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Ka)){if(!e.producerMustRecompute(e)&&!Si(e))return void Mi(e);e.producerRecomputeValue(e),Mi(e)}}function Hf(e){if(void 0===e.consumers)return;const t=Zt;Zt=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||Zw(r)}}finally{Zt=t}}function $f(){return!1!==ge?.consumerAllowSignalWrites}function Zw(e){e.dirty=!0,Hf(e),e.consumerMarkedDirty?.(e)}function Mi(e){e.dirty=!1,e.lastCleanEpoch=Ka}function Un(e){return e&&function Qw(e){e.producersTail=void 0,e.recomputing=!0}(e),T(e)}function to(e,t){T(t),e&&function Yw(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(zn(e))do{n=ec(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Si(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(eo(n),r!==n.version))return!0}return!1}function no(e){if(zn(e)){let t=e.producers;for(;void 0!==t;)t=ec(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Bf(e,t){const n=e.consumersTail,r=zn(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;void 0!==o;o=o.nextProducer)Bf(o.producer,o)}function ec(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:t.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(t.consumers=r,!zn(t)){let i=t.producers;for(;void 0!==i;)i=ec(i)}return n}function zn(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function nc(e,t){return Object.is(e,t)}const Qt=Symbol("UNSET"),qn=Symbol("COMPUTING"),dt=Symbol("ERRORED"),Xw={...$n,value:Qt,dirty:!0,error:null,equal:nc,kind:"computed",producerMustRecompute:e=>e.value===Qt||e.value===qn,producerRecomputeValue(e){if(e.value===qn)throw new Error("");const t=e.value;e.value=qn;const n=Un(e);let r,o=!1;try{r=e.computation(),T(null),o=t!==Qt&&t!==dt&&r!==dt&&e.equal(t,r)}catch(i){r=dt,e.error=i}finally{to(e,n)}o?e.value=t:(e.value=r,e.version++)}};let Uf=function eb(){throw new Error};function zf(e){Uf(e)}function nb(e,t){const n=Object.create(rc);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function rb(e){return Bn(e),e.value}(n);return r[ce]=n,[r,s=>ro(n,s),s=>function qf(e,t){$f()||zf(e),ro(e,t(e.value))}(n,s)]}function ro(e,t){$f()||zf(e),e.equal(e.value,t)||(e.value=t,function ob(e){e.version++,function Gw(){Ka++}(),Hf(e)}(e))}const rc={...$n,equal:nc,value:void 0,kind:"signal"},ib={...$n,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function de(e){return"function"==typeof e}function Wf(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const oc=Wf(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ic(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Be{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(de(r))try{r()}catch(i){t=i instanceof oc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Qf(i)}catch(s){t=t??[],s instanceof oc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new oc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Qf(t);else{if(t instanceof Be){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ic(n,t)}remove(t){const{_finalizers:n}=this;n&&ic(n,t),t instanceof Be&&t._removeParent(this)}}Be.EMPTY=(()=>{const e=new Be;return e.closed=!0,e})();const Gf=Be.EMPTY;function Zf(e){return e instanceof Be||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function Qf(e){de(e)?e():e.unsubscribe()}const Yt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ki={setTimeout(e,t,...n){const{delegate:r}=ki;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ki;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yf(e){ki.setTimeout(()=>{const{onUnhandledError:t}=Yt;if(!t)throw e;t(e)})}function Kf(){}const ab=sc("C",void 0,void 0);function sc(e,t,n){return{kind:e,value:t,error:n}}let Kt=null;function Ri(e){if(Yt.useDeprecatedSynchronousErrorHandling){const t=!Kt;if(t&&(Kt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Kt;if(Kt=null,n)throw r}}else e()}class ac extends Be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zf(t)&&t.add(this)):this.destination=pb}static create(t,n,r){return new lc(t,n,r)}next(t){this.isStopped?uc(function lb(e){return sc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?uc(function cb(e){return sc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?uc(ab,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const db=Function.prototype.bind;function cc(e,t){return db.call(e,t)}class fb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){xi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){xi(r)}else xi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){xi(n)}}}class lc extends ac{constructor(t,n,r){let o;if(super(),de(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Yt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&cc(t.next,i),error:t.error&&cc(t.error,i),complete:t.complete&&cc(t.complete,i)}):o=t}this.destination=new fb(o)}}function xi(e){Yt.useDeprecatedSynchronousErrorHandling?function ub(e){Yt.useDeprecatedSynchronousErrorHandling&&Kt&&(Kt.errorThrown=!0,Kt.error=e)}(e):Yf(e)}function uc(e,t){const{onStoppedNotification:n}=Yt;n&&ki.setTimeout(()=>n(e,t))}const pb={closed:!0,next:Kf,error:function hb(e){throw e},complete:Kf},dc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jf(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function mb(e){return e&&e instanceof ac||function gb(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&Zf(e)}(n)?n:new lc(n,r,o);return Ri(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=eh(r))((o,i)=>{const s=new lc({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[dc](){return this}pipe(...n){return function Xf(e){return 0===e.length?Jf:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=eh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function eh(e){var t;return null!==(t=e??Yt.Promise)&&void 0!==t?t:Promise}const vb=Wf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fc,Wn=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new th(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new vb}next(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Gf:(this.currentObservers=null,i.push(n),new Be(()=>{this.currentObservers=null,ic(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new th(t,n),e})();class th extends Wn{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Gf}}class yb extends Wn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function hc(){return fc}function Tt(e){const t=fc;return fc=e,t}const _b=Symbol("NotFound");function pc(e){return e===_b||"\u0275NotFound"===e?.name}Error;class I extends Error{code;constructor(t,n){super(nt(t,n)),this.code=t}}function nt(e,t){return`${function Eb(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("")}function mc(e,t){return e?t?`${e} ${t}`:e:t||""}globalThis;const wb=$({__forward_ref__:$});function vc(e){return e.__forward_ref__=vc,e}function O(e){return function Ai(e){return"function"==typeof e&&e.hasOwnProperty(wb)&&e.__forward_ref__===vc}(e)?e():e}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Oi(e){return function Nb(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,Li)}function Pi(e){return e&&e.hasOwnProperty(_c)?e[_c]:null}const Li=$({\u0275prov:$}),_c=$({\u0275inj:$});class w{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ec(e){return e&&!!e.\u0275providers}const ih=$({\u0275cmp:$}),Pb=$({\u0275dir:$}),Lb=$({\u0275pipe:$}),en=$({\u0275fac:$}),oo=$({__NG_ELEMENT_ID__:$}),ah=$({__NG_ENV_ID__:$});function B(e){return ji(e),e[ih]||null}function Ce(e){return ji(e),e[Pb]||null}function Ye(e){return ji(e),e[Lb]||null}function ji(e,t){if(null==e)throw new I(-919,!1)}const wc=$({ngErrorCode:$}),ch=$({ngErrorMessage:$}),so=$({ngTokenPath:$});function bc(e,t){return lh("",-200,t)}function Cc(e,t){throw new I(-201,!1)}function lh(e,t,n){const r=new I(t,e);return r[wc]=t,r[ch]=e,n&&(r[so]=n),r}let Tc;function uh(){return Tc}function Me(e){const t=Tc;return Tc=e,t}function dh(e,t,n){const r=Oi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void Cc()}const tn={};class Bb{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ao(n)||0;try{return this.injector.get(t,8&r?null:tn,r)}catch(o){if(pc(o))return o;throw o}}}function Ub(e,t=0){const n=hc();if(void 0===n)throw new I(-203,!1);if(null===n)return dh(e,void 0,t);{const r=function zb(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(pc(o)){if(r.optional)return null;throw o}return o}}function U(e,t=0){return(uh()||Ub)(O(e),t)}function b(e,t){return U(e,ao(t))}function ao(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sc(e){const t=[];for(let n=0;n<e.length;n++){const r=O(e[n]);if(Array.isArray(r)){if(0===r.length)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=qb(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(U(o,i))}else t.push(U(r))}return t}function qb(e){return e.__NG_DI_FLAG__}function nn(e,t){return e.hasOwnProperty(en)?e[en]:null}function Qn(e,t){e.forEach(n=>Array.isArray(n)?Qn(n,t):t(n))}function Vi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ot={},Q=[],Yn=new w(""),kc=new w("",-1),Rc=new w("");class Bi{get(t,n=tn){if(n===tn){const o=lh("",-201);throw o.name="\u0275NotFound",o}return n}}function Qb(...e){return{\u0275providers:Ac(0,e),\u0275fromNgModule:!0}}function Ac(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Qn(t,s=>{const a=s;Ui(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&mh(o,i),n}function mh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Oc(o,i=>{t(i,r)})}}function Ui(e,t,n,r){if(!(e=O(e)))return!1;let o=null,i=Pi(e);const s=!i&&B(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Pi(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Ui(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o),Qn(i.imports,u=>{Ui(u,t,n,r)&&(l||=[],l.push(u))}),void 0!==l&&mh(l,t)}if(!a){const l=nn(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Rc,useValue:o,multi:!0},o),t({provide:Yn,useValue:()=>U(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Oc(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Oc(e,t){for(let n of e)Ec(n)&&(n=n.\u0275providers),Array.isArray(n)?Oc(n,t):t(n)}const Yb=$({provide:String,useValue:$});function Pc(e){return null!==e&&"object"==typeof e&&Yb in e}function ft(e){return"function"==typeof e}const Lc=new w(""),zi={},Ih={};let Fc;function jc(){return void 0===Fc&&(Fc=new Bi),Fc}class ze{}class rn extends ze{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,Hc(t,s=>this.processProvider(s)),this.records.set(kc,Kn(void 0,this)),o.has("environment")&&this.records.set(ze,Kn(void 0,this));const i=this.records.get(Lc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Rc,Q,{self:!0}))}retrieve(t,n){const r=ao(n)||0;try{return this.get(t,tn,r)}catch(o){if(pc(o))return o;throw o}}destroy(){uo(this),this._destroyed=!0;const t=T(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),T(t)}}onDestroy(t){return uo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){uo(this);const n=Tt(this),r=Me(void 0);try{return t()}finally{Tt(n),Me(r)}}get(t,n=tn,r){if(uo(this),t.hasOwnProperty(ah))return t[ah](this);const o=ao(r),s=Tt(this),a=Me(void 0);try{if(!(4&o)){let l=this.records.get(t);if(void 0===l){const u=function tC(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&Oi(t);l=u&&this.injectableDefInScope(u)?Kn(Vc(t),zi):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l,o)}return(2&o?jc():this.parent).get(t,n=8&o&&n===tn?null:n)}catch(c){const l=function Hb(e){return e[wc]}(c);throw-200===l||-201===l?new I(l,null):c}finally{Me(a),Tt(s)}}resolveInjectorInitializers(){const t=T(null),n=Tt(this),r=Me(void 0);try{const i=this.get(Yn,Q,{self:!0});for(const s of i)s()}finally{Tt(n),Me(r),T(t)}}toString(){return"R3Injector[...]"}processProvider(t){let n=ft(t=O(t))?t:O(t&&t.provide);const r=function Jb(e){return Pc(e)?Kn(void 0,e.useValue):Kn(function Eh(e,t,n){let r;if(ft(e)){const o=O(e);return nn(o)||Vc(o)}if(Pc(e))r=()=>O(e.useValue);else if(function yh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(function vh(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>U(O(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=O(e&&(e.useClass||e.provide));if(!function Xb(e){return!!e.deps}(e))return nn(o)||Vc(o);r=()=>new o(...Sc(e.deps))}return r}(e),zi)}(t);if(!ft(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Kn(void 0,zi,!0),o.factory=()=>Sc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=T(null);try{if(n.value===Ih)throw bc();return n.value===zi&&(n.value=Ih,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function eC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=O(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Vc(e){const t=Oi(e),n=null!==t?t.factory:nn(e);if(null!==n)return n;if(e instanceof w)throw new I(-204,!1);if(e instanceof Function)return function Kb(e){if(e.length>0)throw new I(-204,!1);const n=function kb(e){return(e?.[Li]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new I(-204,!1)}function uo(e){if(e.destroyed)throw new I(-205,!1)}function Kn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hc(e,t){for(const n of e)Array.isArray(n)?Hc(n,t):n&&Ec(n)?Hc(n.\u0275providers,t):t(n)}function Dh(e,t){let n;e instanceof rn?(uo(e),n=e):n=new Bb(e);const o=Tt(n),i=Me(void 0);try{return t()}finally{Tt(o),Me(i)}}const x=11,M=27,W=10;function te(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ee(e){return Array.isArray(e)&&!0===e[1]}function bh(e){return!!(4&e.flags)}function it(e){return e.componentOffset>-1}function nr(e){return!(1&~e.flags)}function Je(e){return!!e.template}function kt(e){return!!(512&e[2])}function gt(e){return!(256&~e[2])}function pe(e){for(;Array.isArray(e);)e=e[0];return e}function ue(e,t){return pe(t[e.index])}function Se(e,t){const n=t[e];return te(n)?n:n[0]}function qc(e){return!(128&~e[2])}function De(e,t){return null==t?null:e[t]}function kh(e){e[17]=0}function Wc(e){1024&e[2]||(e[2]|=1024,qc(e)&&ir(e))}function ho(e){return!!(9216&e[2]||e[24]?.dirty)}function Gc(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),ho(e)&&ir(e)}function ir(e){e[10].changeDetectionScheduler?.notify(0);let t=mt(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,qc(t));)t=mt(t)}function Zi(e,t){if(gt(e))throw new I(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function mt(e){const t=e[3];return Ee(t)?t[3]:t}const N={lFrame:Zh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Yc=!1;function g(){return N.lFrame.lView}function R(){return N.lFrame.tView}function A(){let e=jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function jh(){return N.lFrame.currentTNode}function vt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Vh(){return N.lFrame.isParent}function Uh(){return Yc}function Qi(e){const t=Yc;return Yc=e,t}function mC(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jc(t)}function Jc(e){N.lFrame.currentDirectiveIndex=e}function Yi(e){N.lFrame.currentQueryIndex=e}function yC(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function Wh(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=yC(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=Gh();return r.currentTNode=t,r.lView=e,!0}function tl(e){const t=Gh(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gh(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Zh(e):t}function Zh(e){const 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 null!==e&&(e.child=t),t}function Qh(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yh=Qh;function nl(){const e=Qh();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 un(e){N.lFrame.selectedIndex=e}let Jh=!0;function Xh(e,t=null,n=null,r){const o=function ep(e,t=null,n=null,r,o=new Set){const i=[n||Q,Qb(e)];return new rn(i,t||jc(),null,o)}(e,t,n);return o.resolveInjectorInitializers(),o}class We{static THROW_IF_NOT_FOUND=tn;static NULL=new Bi;static create(t,n){if(Array.isArray(t))return Xh({name:""},n,t);{const r=t.name??"";return Xh({name:r},t.parent,t.providers)}}static \u0275prov=F({token:We,providedIn:"any",factory:()=>U(kc)});static __NG_ELEMENT_ID__=-1}const It=new w("");let st=(()=>class e{static __NG_ELEMENT_ID__=bC;static __NG_ENV_ID__=n=>n})();class tp extends st{_lView;constructor(t){super(),this._lView=t}get destroyed(){return gt(this._lView)}onDestroy(t){const n=this._lView;return Zi(n,t),()=>function Zc(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function bC(){return new tp(g())}const CC=!1,TC=new w("");let dn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new yb(!1);debugTaskTracker=b(TC,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Te(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();const Rt=class MC extends Wn{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,function $c(){return void 0!==uh()||null!=hc()}()&&(this.destroyRef=b(st,{optional:!0})??void 0,this.pendingTasks=b(dn,{optional:!0})??void 0)}emit(t){const n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const 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)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Be&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function Ji(...e){}function np(e){let t,n;function r(){e=Ji;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function SC(e){return queueMicrotask(()=>e()),()=>{e=Ji}}const rl="isAngularZone",Xi=rl+"_ID";let NC=0;class Y{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Rt(!1);onMicrotaskEmpty=new Rt(!1);onStable=new Rt(!1);onError=new Rt(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=CC}=t;if(typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const 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,function xC(e){const t=()=>{!function RC(e){function t(){np(()=>{e.callbackScheduled=!1,il(e),e.isCheckStableRunning=!0,ol(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),il(e))}(e)},n=NC++;e._inner=e._inner.fork({name:"angular",properties:{[rl]:!0,[Xi]:n,[Xi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function OC(e){return ip(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return rp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),op(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return rp(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function PC(e){return ip(e,"__scheduler_tick__")}(c)&&t(),op(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,il(e),ol(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(rl)}static assertInAngularZone(){if(!Y.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Y.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,kC,Ji,Ji);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)}}const kC={};function ol(e){if(0==e._nesting&&!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 il(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function rp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function op(e){e._nesting--,ol(e)}class AC{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Rt;onMicrotaskEmpty=new Rt;onStable=new Rt;onError=new Rt;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 ip(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ar{_console=console;handleError(t){this._console.error("ERROR",t)}}const fn=new w("",{factory:()=>{const e=b(Y),t=b(ze);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ar),n.handleError(r))})}}}),sp={provide:Yn,useValue:()=>{b(ar,{optional:!0})},multi:!0};function es(){const e=this[ce];if(void 0===e.readonlyFn){const t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}let al=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=FC})();function FC(){return new al(g(),A())}class hn{}const cl=new w("",{factory:()=>!0}),jC=new w("");let cp=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new VC})}return e})();class VC{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}class ll{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}}function ts(e,t){const n=t?.injector??b(We);let o,r=!0!==t?.manualCleanup?n.get(st):null;const i=n.get(al,null,{optional:!0}),s=n.get(hn);return null!==i?(o=function BC(e,t,n){const r=Object.create($C);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=up(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(i.view,s,e),r instanceof tp&&r._lView===i.view&&(r=null)):o=function UC(e,t,n){const r=Object.create(HC);return r.fn=up(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,n.get(cp),s),o.injector=n,null!==r&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ll(o)}const lp={...ib,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const e=Qi(!1);try{!function sb(e){if(e.dirty=!1,e.version>0&&!Si(e))return;e.version++;const t=Un(e);try{e.cleanup(),e.fn()}finally{to(e,t)}}(this)}finally{Qi(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}},HC={...lp,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(no(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},$C={...lp,consumerMarkedDirty(){this.view[2]|=8192,ir(this.view),this.notifier.notify(13)},destroy(){if(no(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}};function up(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function mo(e){return t=>{if(function zC(e){return de(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function cr(e,t,n,r,o){return new qC(e,t,n,r,o)}class qC extends ac{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function dp(e,t){return mo((n,r)=>{let o=0;n.subscribe(cr(r,i=>{r.next(e.call(t,i,o++))}))})}function Et(e){return{toString:e}.toString()}function Mp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class ET{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function wT(){const e=kp(this),t=e?.current;if(t){const n=e.previous;if(n===ot)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bT(e,t,n,r,o){const i=this.declaredInputs[r],s=kp(e)||function CT(e,t){return e[Np]=t}(e,{previous:ot,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ET(l&&l.currentValue,n,c===ot),Mp(e,t,o,n)}const Np="__ngSimpleChanges__";function kp(e){return e[Np]||null}const mn=[],z=function(e,t=null,n){for(let r=0;r<mn.length;r++)(0,mn[r])(e,t,n)};var D=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(D||{});function as(e,t,n){xp(e,t,3,n)}function cs(e,t,n,r){(3&e[2])===n&&xp(e,t,n,r)}function vl(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function xp(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[17]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[17]+=65536),(a<i||-1==i)&&(kT(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function Ap(e,t){z(D.LifecycleHookStart,e,t);const n=T(null);try{t.call(e)}finally{T(n),z(D.LifecycleHookEnd,e,t)}}function kT(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,Ap(a,i)):Ap(a,i)}class Eo{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function Pp(e){return 3===e||4===e||6===e}function Lp(e){return 64===e.charCodeAt(0)}function gr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Fp(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Fp(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}function Do(e){return 32767&e}function wo(e,t){let n=function OT(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let Il=!0;function ls(e){const t=Il;return Il=e,t}let PT=0;const ct={};function us(e,t){const n=Hp(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,El(r.data,e),El(t,null),El(r.blueprint,null));const o=ds(e,t),i=e.injectorIndex;if(function _l(e){return-1!==e}(o)){const s=Do(o),a=wo(o,t),c=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function El(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ds(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Gp(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Dl(e,t,n){!function LT(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oo)&&(r=n[oo]),null==r&&(r=n[oo]=PT++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function $p(e,t,n){if(8&n||void 0!==e)return e;Cc()}function Bp(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=Me(void 0);try{return o?o.get(t,r,8&n):dh(t,r,8&n)}finally{Me(i)}}return $p(r,0,n)}function Up(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function BT(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!kt(s);){const a=zp(i,s,n,2|r,ct);if(a!==ct)return a;let c=i.parent;if(!c){const l=s[20];if(l){const u=l.get(n,ct,-5&r);if(u!==ct)return u}c=Gp(s),s=s[14]}i=c}return o}(e,t,n,r,ct);if(s!==ct)return s}const i=zp(e,t,n,r,ct);if(i!==ct)return i}return Bp(t,n,r,o)}function zp(e,t,n,r,o){const i=function VT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(oo)?e[oo]:void 0;return"number"==typeof t?t>=0?255&t:HT:t}(n);if("function"==typeof i){if(!Wh(t,e,r))return 1&r?$p(o,0,r):Bp(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;Cc()}finally{Yh()}}else if("number"==typeof i){let s=null,a=Hp(e,t),c=-1,l=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?ds(e,t):t[a+8],-1!==c&&Wp(r,!1)?(s=t[1],a=Do(c),t=wo(c,t)):a=-1);-1!==a;){const u=t[1];if(qp(i,a,u.data)){const d=jT(a,t,n,s,r,l);if(d!==ct)return d}c=t[a+8],-1!==c&&Wp(r,t[1].data[a+8]===l)&&qp(i,a,t)?(s=u,a=Do(c),t=wo(c,t)):a=-1}}return o}function jT(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=function fs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){const h=s[c];if(h&&Je(h)&&h.type===n)return c}return null}(a,s,n,null==r?it(a)&&Il:r!=s&&!!(3&a.type),1&o&&i===a);return null!==u?bo(t,s,u,a,o):ct}function bo(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof Eo){const a=i;if(a.resolving)throw bc();const c=ls(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Me(a.injectImpl):null;Wh(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function NT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=function Sp(e){return e.type.prototype.ngOnChanges&&(e.setInput=bT),wT}(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))}(n,s[n],t)}finally{null!==d&&Me(d),ls(c),a.resolving=!1,Yh()}}return i}function qp(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wp(e,t){return!(2&e||1&e&&t)}class ne{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Up(this._tNode,this._lView,t,ao(r),n)}}function HT(){return new ne(A(),g())}function Gp(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function YT(){return mr(A(),g())}function mr(e,t){return new Co(ue(e,t))}let Co=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=YT})();Symbol;var ps=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(ps||{});const gs=new Map;let tM=0;function Tl(e){gs.delete(e[19])}const Sl="__ngContext__";function Re(e,t){te(t)?(e[Sl]=t[19],function rM(e){gs.set(e[19],e)}(t)):e[Sl]=t}function lg(e){return dg(e[12])}function ug(e){return dg(e[4])}function dg(e){for(;null!==e&&!Ee(e);)e=e[4];return e}let kl;const vr=new w("",{factory:()=>bM}),bM="ng",yg=new w(""),_g=new w("",{providedIn:"platform",factory:()=>"unknown"}),Ig=new w("",{factory:()=>b(It).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),RM=new w("",{factory:()=>!1});function Es(e){return!(32&~e.flags)}function Zg(e,t){const n=e.contentQueries;if(null!==n){const r=T(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Yi(n[o]),a.contentQueries(2,t[s],s)}}}finally{T(r)}}}function ql(e,t,n){Yi(0);const r=T(null);try{t(e,n)}finally{T(r)}}function Wl(e,t,n){if(bh(t)){const r=T(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{T(r)}}}var Ze=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Ze||{});function xs(e,t,n){return e.createElement(t,n)}function yn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fm(e,t,n){e.appendChild(t,n)}function hm(e,t,n,r,o){null!==r?yn(e,t,n,r,o):fm(e,t,n)}function gm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function AT(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Lp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function AS(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function xS(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function eN(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Dm="ng-template";function tN(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==eN(t[o+1].toLowerCase(),n,0))return!0}else if(nu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function nu(e){return 4===e.type&&e.value!==Dm}function nN(e,t,n){return t===(4!==e.type||n?e.value:Dm)}function rN(e,t,n){let r=4;const o=e.attrs,i=null!==o?function sN(e){for(let t=0;t<e.length;t++)if(Pp(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!nN(e,c,n)||""===c&&1===t.length){if(et(r))return!1;s=!0}}else if(8&r){if(null===o||!tN(e,o,c,n)){if(et(r))return!1;s=!0}}else{const l=t[++a],u=oN(c,o,nu(e),n);if(-1===u){if(et(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&l!==d){if(et(r))return!1;s=!0}}}}else{if(!s&&!et(r)&&!et(c))return!1;if(s&&et(c))continue;s=!1,r=c|1&r}}return et(r)||s}function et(e){return!(1&e)}function oN(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function aN(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function wm(e,t,n=!1){for(let r=0;r<t.length;r++)if(rN(e,t[r],n))return!0;return!1}function bm(e,t){return e?":not("+t.trim()+")":t}function lN(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!et(s)&&(t+=bm(i,o),o=""),r=s,i=i||!et(r);n++}return""!==o&&(t+=bm(i,o)),t}const q={};function ru(e,t,n,r,o,i,s,a,c,l,u){const d=M+r,f=d+o,h=function fN(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:q);return n}(d,f),p="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}function Os(e,t,n,r,o,i,s,a,c,l,u){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==l||e&&2048&e[2])&&(d[2]|=2048),kh(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[x]=a||e&&e[x],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function nM(){return tM++}(),d[6]=u,d[20]=l,d[15]=2==t.type?e[15]:d,d}function ou(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Lo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}var Ps=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ps||{});function Ft(e,t,n,r){const o=T(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&Ps.SignalBased)&&(c=t[i][ce]),null!==c&&void 0!==c.transformFn?r=c.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):Mp(t,c,i,r)}finally{T(o)}}var _n=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_n||{});function au(e,t){return(void 0)(e,t)}typeof document<"u"&&document;const Fo=new WeakMap,lu=new WeakSet;const jt=new Set;var gu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(gu||{});const wr=new w(""),Rm=new Set;function be(e){Rm.has(e)||(Rm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let xm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();const Am=[0,1,2,3];let NN=(()=>{class e{ngZone=b(Y);scheduler=b(hn);errorHandler=b(ar,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){b(wr,{optional:!0})}execute(){const n=this.sequences.size>0;n&&z(D.AfterRenderHooksStart),this.executing=!0;for(const r of Am)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&z(D.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),ir(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(gu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();class Om{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function mu(e,t){const n=t?.injector??b(We);return be("NgAfterNextRender"),function Pm(e,t,n,r){const o=t.get(xm);o.impl??=t.get(NN);const i=t.get(wr,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(st):null,a=t.get(al,null,{optional:!0}),c=new Om(o.impl,function RN(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}(e,n,t,!0)}const $s=new w("",{factory:()=>{const e=b(ze),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Lm(e,t,n){const r=e.get($s);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Fm(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function vu(e,t){for(const[n,r]of t)Lm(e,r.animateFns)}(r,o)}function jm(e,t,n,r){try{n.get(kc)}catch{return r(!1)}const o=e?.[26],i=function ON(e,t,n){const r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(const[i,s]of o){if(r.has(i))continue;let c=e[1].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}(e,t,o);if(0===i.size){let s=!1;if(e){const a=[];Us(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&jt.add(e[19]),Lm(n,()=>function PN(e,t,n,r,o){const i=[];if(n&&n.leave)for(const[s]of r){if(!n.leave.has(s))continue;const a=n.leave.get(s);for(const c of a.animateFns){const{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Us(e,t,i),i.length>0){const s=n||e?.[26];if(s){const a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),function LN(e,t,n){t.then(()=>{e[26]?.running===t&&(e[26].running=void 0,jt.delete(e[19])),n(!0)})}(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&jt.delete(e[19]),o(!0)})}else e&&jt.delete(e[19]),o(!1)}(e,t,o||void 0,i,r),o||void 0)}function Us(e,t,n){if(it(t))Vm(Se(t.index,e),n);else if(12&t.type){const o=e[t.index];if(Ee(o))for(let i=W;i<o.length;i++)Vm(o[i],n)}let r=t.child;for(;r;)Us(e,r,n),r=r.next}function Vm(e,t){const n=e[26];if(n&&n.leave)for(const o of n.leave.values())for(const i of o.animateFns){const{promise:s}=i();t.push(s)}let r=e[1].firstChild;for(;r;)Us(e,r,t),r=r.next}function br(e,t,n,r,o,i,s,a){if(null!=o){let c,l=!1;Ee(o)?c=o:te(o)&&(l=!0,o=o[0]);const u=pe(o);0===e&&null!==r?(Fm(a,r,i,n),null==s?fm(t,r,u):yn(t,r,u,s||null,!0)):1===e&&null!==r?(Fm(a,r,i,n),yn(t,r,u,s||null,!0),function DN(e,t){const n=Fo.get(e);if(!n||0===n.length)return;const r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){const s=n[i],a=s.parentNode;s===t?(n.splice(i,1),lu.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}(i,u)):2===e?(a?.[26]?.leave?.has(i.index)&&function du(e,t){const n=Fo.get(e);n?n.includes(t)||n.push(t):Fo.set(e,[t])}(i,u),jm(a,i,n,d=>{lu.has(u)?lu.delete(u):function Oo(e,t,n,r){e.removeChild(null,t,n,r)}(t,u,l,d)})):3===e&&jm(a,i,n,()=>{t.destroyNode(u)}),null!=c&&function BN(e,t,n,r,o,i,s){const a=r[7];a!==pe(r)&&br(t,e,n,i,a,o,s);for(let l=W;l<r.length;l++){const u=r[l];zs(u[1],u,e,t,i,a)}}(t,e,n,c,i,r,s)}}function $m(e,t){t[10].changeDetectionScheduler?.notify(9),zs(e,t,t[x],2,null,null)}function yu(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function _u(e,t){if(gt(t))return;const n=T(null);try{t[2]&=-129,t[2]|=256,t[24]&&no(t[24]),function HN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Eo)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],c=i[s+1];z(D.LifecycleHookStart,a,c);try{c.call(a)}finally{z(D.LifecycleHookEnd,a,c)}}else{z(D.LifecycleHookStart,o,i);try{i.call(o)}finally{z(D.LifecycleHookEnd,o,i)}}}}}(e,t),function VN(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[x].destroy();const r=t[16];if(null!==r&&Ee(t[3])){r!==t[3]&&yu(r,t);const o=t[18];null!==o&&o.detachView(e)}Tl(t)}finally{T(n)}}function Iu(e,t,n){return function Bm(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(it(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ze.None||o===Ze.Emulated)return null}return ue(r,n)}(e,t.parent,n)}let qm=function zm(e,t,n){return 40&e.type?ue(e,n):null};function Du(e,t,n,r){const o=Iu(e,r,t),i=t[x],a=function Um(e,t,n){return qm(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)hm(i,o,n[c],a,!1);else hm(i,o,n,a,!1)}function Gm(e,t){return null!==t?e[15][5].projection[t.projection]:null}function bu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const c=r[n.index],l=n.type;if(s&&0===t&&(c&&Re(pe(c),r),n.flags|=2),!Es(n))if(8&l)bu(e,t,n.child,r,o,i,!1),br(t,e,a,o,c,n,i,r);else if(32&l){const u=au(n,r);let d;for(;d=u();)br(t,e,a,o,d,n,i,r);br(t,e,a,o,c,n,i,r)}else 16&l?Zm(e,t,r,n,o,i):br(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function zs(e,t,n,r,o,i){bu(n,r,e.firstChild,t,o,i,!1)}function Zm(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)br(t,e,n[9],o,c[l],r,i,n);else{let l=c;const u=s[3];(function To(e){return!(128&~e.flags)})(r)&&(l.flags|=128),bu(e,t,l,u,o,i,!0)}}function Qm(e,t,n,r,o){const i=function me(){return N.lFrame.selectedIndex}(),s=2&r;try{un(-1),s&&t.length>M&&function Tm(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&cs(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&as(t,i,n)}un(n)}(e,t,M,!1),z(s?D.TemplateUpdateStart:D.TemplateCreateStart,o,n),n(r,o)}finally{un(i),z(s?D.TemplateUpdateEnd:D.TemplateCreateEnd,o,n)}}function qs(e,t,n){(function ZN(e,t,n){const r=n.directiveStart,o=n.directiveEnd;it(n)&&function hN(e,t,n){const r=ue(t,e),o=function Cm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=function iu(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}(e,Os(e,o,null,ou(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||us(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=bo(t,e,s,n);Re(c,t),null!==i&&JN(0,s-r,c,a,0,i),Je(a)&&(Se(n.index,t)[8]=bo(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function QN(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function vC(){return N.lFrame.currentDirectiveIndex}();try{un(i);for(let a=r;a<o;a++){const c=e.data[a],l=t[a];Jc(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&YN(c,l)}}finally{un(-1),Jc(s)}}(e,t,n)}let Ym=()=>null;function YN(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mu(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];wm(t,i.selectors,!1)&&(r??=[],Je(i)?r.unshift(i):r.push(i))}return r}function JN(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Ft(r,n,s[a],s[a+1])}function Gs(e,t,n,r,o){const i=M+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,vt(e,!0);const c=2===e.type;return c?(gm(t[x],a,e),(0===function lC(){return N.lFrame.elementDepthCount}()||nr(e))&&Re(a,t),function uC(){N.lFrame.elementDepthCount++}()):Re(a,t),function Ki(){return Jh}()&&(!c||!Es(e))&&Du(s,t,a,e),e}function Zs(e){let t=e;return Vh()?function Hh(){N.lFrame.isParent=!1}():(t=t.parent,vt(t,!1)),t}function Qs(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let c=0;c<s.length;c+=2){const l=s[c];Ft(t.data[l],n[l],s[c+1],o),a=!0}if(i)for(const c of i)Ft(t.data[c],n[c],r,o),a=!0;return a}function ek(e,t){const n=Se(t,e),r=n[1];!function tk(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=null),z(D.ComponentStart);try{Ys(r,n,n[8])}finally{z(D.ComponentEnd,n[8])}}function Ys(e,t,n){tl(t);try{const r=e.viewQuery;null!==r&&ql(1,r,n);const o=e.template;null!==o&&Qm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&Zg(e,t),e.staticViewQueries&&ql(2,e.viewQuery,n);const i=e.components;null!==i&&function nk(e,t){for(let n=0;n<t.length;n++)ek(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,nl()}}function Ho(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(pe(i)),Ee(i)&&rk(i,r);const s=n.type;if(8&s)Ho(e,t,n.child,r);else if(32&s){const a=au(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Gm(t,n);if(Array.isArray(a))r.push(...a);else{const c=mt(t[15]);Ho(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function rk(e,t){for(let n=W;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Ho(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function ev(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let tv=[];const ak={...$n,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ir(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},lk={...$n,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!nv(t[1]);)t=mt(t);t&&Wc(t)},consumerOnSignalRead(){this.lView[24]=this}};function nv(e){return 2!==e.type}function rv(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function Ks(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function dk(e,t){const n=Uh();try{Qi(!0),Nu(e,t);let r=0;for(;ho(e);){if(100===r)throw new I(103,!1);r++,Nu(e,1)}}finally{Qi(n)}}(e,t)}finally{r.end?.()}}function ov(e,t,n,r){if(gt(t))return;const o=t[2];tl(t);let a=!0,c=null,l=null;nv(e)?(l=function ok(e){return e[24]??function ik(e){const t=tv.pop()??Object.create(ak);return t.lView=e,t}(e)}(t),c=Un(l)):null===function Xa(){return ge}()?(a=!1,l=function ck(e){const t=e[24]??Object.create(lk);return t.lView=e,t}(t),c=Un(l)):t[24]&&(no(t[24]),t[24]=null);try{kh(t),function zh(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Qm(e,t,n,2,r);const u=!(3&~o);if(u){const h=e.preOrderCheckHooks;null!==h&&as(t,h,null)}else{const h=e.preOrderHooks;null!==h&&cs(t,h,0,null),vl(t,0)}if(function fk(e){for(let t=lg(e);null!==t;t=ug(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Wc(n[r])}}(t),rv(t),iv(t,0),null!==e.contentQueries&&Zg(e,t),u){const h=e.contentCheckHooks;null!==h&&as(t,h)}else{const h=e.contentHooks;null!==h&&cs(t,h,1),vl(t,1)}!function pk(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)un(~o);else{const i=o,s=n[++r],a=n[++r];mC(s,i);const c=t[i];z(D.HostBindingsUpdateStart,c);try{a(2,c)}finally{z(D.HostBindingsUpdateEnd,c)}}}}finally{un(-1)}}(e,t);const d=e.components;null!==d&&av(t,d,0);const f=e.viewQuery;if(null!==f&&ql(2,f,r),u){const h=e.viewCheckHooks;null!==h&&as(t,h)}else{const h=e.viewHooks;null!==h&&cs(t,h,2),vl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}ev(t),t[2]&=-73}catch(u){throw ir(t),u}finally{null!==l&&(to(l,c),a&&function sk(e){e.lView[24]!==e&&(e.lView=null,tv.push(e))}(l)),nl()}}function iv(e,t){for(let n=lg(e);null!==n;n=ug(n))for(let r=W;r<n.length;r++)sv(n[r],t)}function hk(e,t,n){z(D.ComponentStart);const r=Se(t,e);try{sv(r,n)}finally{z(D.ComponentEnd,r[8])}}function sv(e,t){qc(e)&&Nu(e,t)}function Nu(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Si(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)ov(r,e,r.template,e[8]);else if(8192&o){const a=T(null);try{rv(e),iv(e,1);const c=r.components;null!==c&&av(e,c,1),ev(e)}finally{T(a)}}}function av(e,t,n){for(let r=0;r<t.length;r++)hk(e,t[r],n)}function Mr(e,t){const n=Uh()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=mt(e);if(kt(e)&&!r)return e;e=r}return null}function $o(e,t){if(e.length<=W)return;const n=W+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&yu(o,r),t>0&&(e[n-1][4]=r[4]);const i=Vi(e,W+t);!function Hm(e,t){$m(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}class Ru{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Ho(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ee(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&($o(t,r),Vi(n,r))}this._attachedToViewContainer=!1}!function Vo(e,t){if(gt(t))return;const n=t[x];n.destroyNode&&zs(e,t,n,3,null,null),function jN(e){let t=e[12];if(!t)return _u(e[1],e);for(;t;){let n=null;if(te(t))n=t[12];else{const r=t[W];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)te(t)&&_u(t[1],t),t=t[3];null===t&&(t=e),te(t)&&_u(t[1],t),n=t&&t[4]}t=n}}(t)}(this._lView[1],this._lView)}onDestroy(t){Zi(this._lView,t)}markForCheck(){Mr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Gc(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Ks(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=kt(this._lView),n=this._lView[16];null!==n&&!t&&yu(n,this._lView),$m(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;const n=kt(this._lView),r=this._lView[16];null!==r&&!n&&function uv(e,t){const n=e[9],r=t[3];(te(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}(r,this._lView),Gc(this._lView)}}function Tn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Pu(e,t,n,r,o){const i=jh(),s=Vh(),c=e.data[t]=function Mk(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ph(){return null!==N.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-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}}(0,s?i:i&&i.parent,n,t,r,o);return function Tk(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,c,i,s),c}(e,t,n,r,o),function gC(){return N.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function po(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return vt(i,!0),i}let lR=class{},Pv=class{};class uR{resolveComponentFactory(t){throw new I(917,!1)}}let kr=class{static NULL=new uR};class Bu{}let dR=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();const zu={};class xr{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,zu,r);return o!==zu||n===zu?o:this.parentInjector.get(t,n,r)}}function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=mc(o,a):2==i&&(r=mc(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ko(e,t=0){const n=g();return null===n?U(e,t):Up(A(),n,O(e),t)}function vR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function jv(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),Hv(t,i)}}function Vv(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Hv(t,s)}}function Hv(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function $v(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||nu(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const c=r[a];if(0!==c)if(5!==c){if("number"==typeof c)break;if(!n&&o.hasOwnProperty(c)){const l=o[c];for(const u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function IR(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=nn(o.type)),s=new Eo(i,Je(o),Ko,null);e.blueprint[r]=s,n[r]=s,function ER(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function DR(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Lo(e,n,o.hostVars,q),o)}function wR(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Je(t)&&(n[""]=e)}}function qu(e,t,n,r,o,i,s,a){const c=t[1],l=c.consts,d=Tn(c,e,n,r,De(l,s));return i&&function Fv(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,l=null;for(const u of s)if(null!==u.resolveHostDirectives){[a,c,l]=u.resolveHostDirectives(s);break}!function yR(e,t,n,r,o,i,s){const a=r.length;let c=null;for(let f=0;f<a;f++){const h=r[f];null===c&&Je(h)&&(c=h,vR(e,n,f)),Dl(us(n,t),e,h.type)}(function bR(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Lo(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=gr(n.mergedAttrs,h.hostAttrs),IR(e,n,t,d,h),wR(d,h,o),null!==s&&s.has(h)){const[m,_]=s.get(h);n.directiveToIndex.set(h.type,[d,m+n.directiveStart,_+n.directiveStart])}else(null===i||!i.has(h))&&n.directiveToIndex.set(h.type,d);null!==h.contentQueries&&(n.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=64);const p=h.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function _R(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);Vv(0,t,i,r),Vv(1,t,i,r),$v(t,r,!0)}else jv(0,t,o,r),jv(1,t,o,r),$v(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,l)}null!==i&&null!==r&&function mR(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new I(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,De(l,a),o),d.mergedAttrs=gr(d.mergedAttrs,d.attrs),null!==d.attrs&&ca(d,d.attrs,!1),null!==d.mergedAttrs&&ca(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function Wu(e,t){(function Rp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=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)),null!=u&&(e.destroyHooks??=[]).push(n,u)}})(e,t),bh(t)&&e.queries.elementEnd(t)}function Ht(e,t,n){return function r(o){Mr(it(e)?Se(e.index,t):t,5);const s=t[8];let a=Uv(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Uv(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Uv(e,t,n,r){const o=T(null);try{return z(D.OutputStart,t,n),!1!==n(r)}catch(i){return function Su(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(fn,null)}catch{r=null}r?.(t)}(e,i),!1}finally{z(D.OutputEnd,t,n),T(o)}}function zv(e,t,n,r,o,i,s){const a=t.firstCreatePass?function Ah(e){return e.cleanup??=[]}(t):null,c=function xh(e){return e[7]??=[]}(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Or(e,t,n,r,o,i){const a=t[1],d=t[n][a.data[n].outputs[r]].subscribe(i);zv(e.index,a,t,o,i,d,!0)}const wt=Symbol("BINDING");function Qu(e){return e.debugInfo?.className||e.type.name||null}class Jv extends kr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=B(t);return new Yu(n,this.ngModule)}}class Yu extends Pv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function HR(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&Ps.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function $R(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uN(e){return e.map(lN).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){z(D.DynamicComponentStart);const a=T(null);try{const c=this.componentDef,l=function BR(e,t,n){let r=t instanceof ze?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new xr(n,r):n}(c,o||this.ngModule,t),u=function UR(e){const t=e.get(Bu,null);if(null===t)throw new I(407,!1);return{rendererFactory:t,sanitizer:e.get(dR,null),changeDetectionScheduler:e.get(hn,null),ngReflect:!1,tracingService:e.get(wr,null,{optional:!0})}}(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Qu(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{T(a)}}createComponentRef(t,n,r,o,i,s){const a=this.componentDef,c=function WR(e,t,n,r){const o=e?["ng-version","21.2.2"]:function dN(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!et(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let i=null,s=null,a=0;if(n)for(const u of n)a+=u[wt].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){const d=r[u];if("function"!=typeof d)for(const f of d.bindings){a+=f[wt].requiredVars;const h=u+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const u of r){const f=Ce("function"==typeof u?u:u.type);c.push(f)}return ru(0,null,function GR(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(i,s),1,a,c,null,null,null,[o],null)}(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?function zN(e,t,n,r){const i=r.get(RM,!1)||n===Ze.ShadowDom||n===Ze.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function qN(e){Ym(e)}(s),s}(l,o,a.encapsulation,n):function zR(e,t){const n=function qR(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return xs(t,n,"svg"===n?"svg":"math"===n?"math":null)}(a,l),d=s?.some(Xv)||i?.some(p=>"function"!=typeof p&&p.bindings.some(Xv)),f=Os(null,c,null,512|ou(a),null,null,t,l,n,null,null);f[M]=u,tl(f);let h=null;try{const p=qu(M,f,2,"#host",()=>c.directiveRegistry,!0,0);gm(l,u,p),Re(u,f),qs(c,f,p),Wl(c,p,f),Wu(c,p),void 0!==r&&function QR(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(p,this.ngContentSelectors,r),h=Se(p.index,f),f[8]=h[8],Ys(c,f,null)}catch(p){throw null!==h&&Tl(h),Tl(f),p}finally{z(D.DynamicComponentEnd),nl()}return new ZR(this.componentType,f,!!d)}}function Xv(e){const t=e[wt].kind;return"input"===t||"twoWay"===t}class ZR extends lR{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=function or(e,t){return e.data[t]}(n[1],M),this.location=mr(this._tNode,n),this.instance=Se(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Ru(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Qs(r,o[1],o,t,n),this.previousInputValues.set(t,n),Mr(Se(r.index,o),1)}get injector(){return new ne(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Pr=class{};class _y extends Pr{injector;componentFactoryResolver=new Jv(this);instance=null;constructor(t){super();const n=new rn([...t.providers,{provide:Pr,useValue:this},{provide:kr,useValue:this.componentFactoryResolver}],t.parent||jc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let px=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ac(0,n.type),o=r.length>0?function Iy(e,t,n=null){return new _y({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(U(ze))})}return e})();function Ey(e){return Et(()=>{const t=Cy(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ps.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(px).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ze.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&be("NgStandalone"),Ty(n);const r=e.dependencies;return n.directiveDefs=da(r,Dy),n.pipeDefs=da(r,Ye),n.id=function _x(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,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(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Dy(e){return B(e)||Ce(e)}function gx(e,t){if(null==e)return ot;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let 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=Ps.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function mx(e){if(null==e)return ot;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function by(e){return Et(()=>{const t=Cy(e);return Ty(t),t})}function Cy(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ot,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:gx(e.inputs,t),outputs:mx(e.outputs),debugInfo:null}}function Ty(e){e.features?.forEach(t=>t(e))}function da(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const i=t(o);null!==i&&r.push(i)}return r}:null}const d_=new w("");function h_(e){return!!e&&"function"==typeof e.then}function HA(e){return!!e&&"function"==typeof e.subscribe}const p_=new w("");let g_=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=b(p_,{optional:!0})??[];injector=b(We);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=Dh(this.injector,o);if(h_(i))n.push(i);else if(HA(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $A=new w("");let Bt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=b(fn);afterRenderManager=b(xm);zonelessEnabled=b(cl);rootEffectScheduler=b(cp);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Wn;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=b(dn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(dp(n=>!n))}constructor(){b(wr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=b(ze);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=We.NULL){return this._injector.get(Y).run(()=>{z(D.BootstrapComponentStart);const s=n instanceof Pv;if(!this._injector.get(g_).done)throw new I(405,"");let c;c=s?n:this._injector.get(kr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const l=function UA(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Pr),d=c.create(o,[],r||c.selector,l),f=d.location.nativeElement,h=d.injector.get(d_,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),_a(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),z(D.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){z(D.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(gu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw z(D.ChangeDetectionEnd),new I(101,!1);const n=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(n),this.afterTick.next(),z(D.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Bu,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){z(D.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{z(D.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||ho(o))&&(Ks(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>ho(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;_a(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get($A,[]).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),()=>_a(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const 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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _a(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ad(e,t,n,r,o){Qs(t,e,n,o?"class":"style",r)}function oi(e,t,n,r){const o=g(),i=o[1],s=e+M,a=i.firstCreatePass?qu(s,o,2,t,Mu,function Kc(){return N.bindingsEnabled}(),n,r):i.data[s];if(it(a)){const c=o[10].tracingService;if(c&&c.componentCreate)return c.componentCreate(Qu(i.data[a.directiveStart+a.componentOffset]),()=>(R_(e,t,o,a,r),oi))}return R_(e,t,o,a,r),oi}function R_(e,t,n,r,o){if(Gs(r,n,e,t,Fd),nr(r)){const i=n[1];qs(i,n,r),Wl(i,r,n)}null!=o&&function Cr(e,t,n=ue){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(n,r)}function ba(){const e=R(),n=Zs(A());return e.firstCreatePass&&Wu(e,n),function Lh(e){return N.skipHydrationRootTNode===e}(n)&&function Fh(){N.skipHydrationRootTNode=null}(),function Oh(){N.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function RT(e){return!!(8&e.flags)}(n)&&Ad(e,n,g(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function xT(e){return!!(16&e.flags)}(n)&&Ad(e,n,g(),n.stylesWithoutHost,!1),ba}function Od(e,t,n,r){return oi(e,t,n,r),ba(),Od}let Fd=(e,t,n,r,o)=>(function go(e){Jh=e}(!0),xs(t[x],r,function wC(){return N.lFrame.currentNamespace}()));const Ta="en-US";let H_=Ta;function Ud(e,t,n){const r=g(),o=R(),i=A();return function zd(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=Ht(r,t,i),function Zu(e,t,n,r,o,i,s,a){const c=nr(e);let l=!1,u=null;if(!r&&c&&(u=function NR(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],c=o[i+2];return a&&a.length>c?a[c]:null}"string"==typeof s&&(i+=2)}return null}(t,n,i,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0;else{const d=ue(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function SR(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||zv(r?m=>r(pe(m[e.index])):e.index,t,n,i,a,h,!1)}return l}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){const f=u[d],h=u[d+1];c??=Ht(r,t,i),Or(r,t,f,h,o,c)}if(l&&l.length)for(const d of l)c??=Ht(r,t,i),Or(r,t,d,o,o,c)}}(o,r,r[x],i,e,t,n),Ud}let P0=(()=>{class e{applicationErrorHandler=b(fn);appRef=b(Bt);taskService=b(dn);ngZone=b(Y);zonelessEnabled=b(cl);tracing=b(wr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Be;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(jC,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?SC:np;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Xi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function of(){return[{provide:hn,useExisting:P0},{provide:Y,useClass:AC},{provide:cl,useValue:!0}]}const CE=new w("",{factory:()=>b(CE,{optional:!0,skipSelf:!0})||function F0(){return typeof $localize<"u"&&$localize.locale||Ta}()}),NE={now:()=>(NE.delegate||Date).now(),delegate:void 0};class B0 extends Wn{constructor(t=1/0,n=1/0,r=NE){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}}function Fn(e){return this instanceof Fn?(this.v=e,this):new Fn(e)}function W0(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function xE(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}const AE=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function OE(e){return de(e?.then)}function PE(e){return de(e[dc])}function LE(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function FE(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const jE=function Z0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function VE(e){return de(e?.[jE])}function HE(e){return function q0(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function c(f){f.value instanceof Fn?Promise.resolve(f.value.v).then(l,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Fn(n.read());if(o)return yield Fn(void 0);yield yield Fn(r)}}finally{n.releaseLock()}})}function $E(e){return de(e?.getReader)}function jn(e){if(e instanceof Te)return e;if(null!=e){if(PE(e))return function Q0(e){return new Te(t=>{const n=e[dc]();if(de(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(AE(e))return function Y0(e){return new Te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(OE(e))return function K0(e){return new Te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yf)})}(e);if(LE(e))return BE(e);if(VE(e))return function J0(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($E(e))return function X0(e){return BE(HE(e))}(e)}throw FE(e)}function BE(e){return new Te(t=>{(function eF(e,t){var n,r,o,i;return function U0(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=W0(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function qt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function UE(e,t,n=1/0){return de(t)?UE((r,o)=>dp((i,s)=>t(r,i,o,s))(jn(e(r,o))),n):("number"==typeof t&&(n=t),mo((r,o)=>function tF(e,t,n,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&t.complete()},h=m=>l<r?p(m):c.push(m),p=m=>{i&&t.next(m),l++;let _=!1;jn(n(m,u++)).subscribe(cr(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){const E=c.shift();s?qt(t,s,()=>p(E)):p(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(cr(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const zE=new Te(e=>e.complete());function uf(e){return e[e.length-1]}function qE(e,t=0){return mo((n,r)=>{n.subscribe(cr(r,o=>qt(r,e,()=>r.next(o),t),()=>qt(r,e,()=>r.complete(),t),o=>qt(r,e,()=>r.error(o),t)))})}function WE(e,t=0){return mo((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function GE(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{qt(n,t,()=>{const r=e[Symbol.asyncIterator]();qt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mF(...e){const t=function aF(e){return function iF(e){return e&&de(e.schedule)}(uf(e))?e.pop():void 0}(e),n=function cF(e,t){return"number"==typeof uf(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?jn(r[0]):function nF(e=1/0){return UE(Jf,e)}(n)(function gF(e,t){return t?function pF(e,t){if(null!=e){if(PE(e))return function lF(e,t){return jn(e).pipe(WE(t),qE(t))}(e,t);if(AE(e))return function dF(e,t){return new Te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(OE(e))return function uF(e,t){return jn(e).pipe(WE(t),qE(t))}(e,t);if(LE(e))return GE(e,t);if(VE(e))return function fF(e,t){return new Te(n=>{let r;return qt(n,t,()=>{r=e[jE](),qt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>de(r?.return)&&r.return()})}(e,t);if($E(e))return function hF(e,t){return GE(HE(e),t)}(e,t)}throw FE(e)}(e,t):jn(e)}(r,t)):zE}function vF(e,t){return mo((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(cr(r,c=>{o?.unsubscribe();let l=0;const u=i++;jn(e(c,u)).subscribe(o=cr(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const yF={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let df;function CF(e,t,n){let r=n;return function IF(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function EF(e,t){if(!df){const n=Element.prototype;df=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&df.call(e,t)}(e,o)||(r=i,0))),r}class MF{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(kr).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new SF(this.componentFactory,t,this.inputMap)}}class SF{componentFactory;injector;inputMap;eventEmitters=new B0(1);events=this.eventEmitters.pipe(vF(t=>mF(...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(Y),this.appRef=this.injector.get(Bt),this.cdScheduler=n.get(hn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=yF.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function mk(e){return ho(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function vk(e){Wc(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=We.create({providers:[],parent:this.injector}),r=function bF(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],c=CF(a,t,o);-1!==c&&r[c].push(a)}return r}(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(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{const i=t.instance[r];return new Te(s=>{const 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()}}class NF extends HTMLElement{ngElementEventsSubscription=null}function kF(e,t){const n=function wF(e,t){return t.get(kr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new MF(e,t.injector),o=function DF(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function _F(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends NF{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,l,f)}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=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a,isSignal:c})=>{Object.defineProperty(i.prototype,s,{get(){const l=this.ngElementStrategy.getInputValue(s);return c&&function _d(e){return"function"==typeof e&&void 0!==e[ce]}(l)?l():l},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}let ZE=null;function ff(){return ZE}class xF{}class cD{destroyed=!1;listeners=null;errorHandler=b(ar,{optional:!0});destroyRef=b(st);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const n=this.listeners?.indexOf(t);void 0!==n&&-1!==n&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)return void console.warn(nt(953,!1));if(null===this.listeners)return;const n=T(null);try{for(const r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{T(n)}}}function Ct(e,t){return function Jw(e,t){const n=Object.create(Xw);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(eo(n),Bn(n),n.value===dt)throw n.error;return n.value};return r[ce]=n,r}(e,t?.equal)}Error,Error;const qa=Symbol("InputSignalNode#UNSET"),ZD={...rc,transformFn:void 0,applyValueToInputSignal(e,t){ro(e,t)}};function QD(e,t){const n=Object.create(ZD);function r(){if(Bn(n),n.value===qa)throw new I(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[ce]=n,r}function YD(e,t){return QD(e,t)}const Cf=(YD.required=function DV(e){return QD(qa,e)},YD);function KD(e,t){const n=Object.create(ZD),r=new cD;function o(){return Bn(n),JD(n.value),n.value}return n.value=e,o[ce]=n,o.asReadonly=es.bind(o),o.set=i=>{n.equal(n.value,i)||(ro(n,i),r.emit(i))},o.update=i=>{JD(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function JD(e){if(e===qa)throw new I(952,!1)}function XD(e,t){return KD(e)}const bV=(XD.required=function wV(e){return KD(qa)},XD),Wa=new w(""),AV=new w("");function bi(e){return!e.moduleRef}let Jr=null;function aH(e){const{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;z(D.BootstrapApplicationStart);try{const i=o?.injector??function jV(e=[]){if(Jr)return Jr;const t=function aw(e=[],t){return We.create({name:t,providers:[{provide:Lc,useValue:"platform"},{provide:Wa,useValue:new Set([()=>Jr=null])},...e]})}(e);return Jr=t,function BA(){!function tb(e){Uf=e}(()=>{throw new I(600,"")})}(),function cw(e){const t=e.get(yg,null);Dh(e,()=>{t?.forEach(n=>n())})}(t),t}(r),s=[of(),sp,...n||[]];return function rw(e){const t=bi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{bi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(fn);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),bi(e)){const i=()=>t.destroy(),s=e.platformInjector.get(Wa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Wa);s.add(i),e.moduleRef.onDestroy(()=>{_a(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function PV(e,t,n){try{const r=n();return h_(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const i=t.get(dn),s=i.add(),a=t.get(g_);return a.runInitializers(),a.donePromise.then(()=>{if(function rP(e){"string"==typeof e&&(H_=e.toLowerCase().replace(/_/g,"-"))}(t.get(CE,Ta)||Ta),!t.get(AV,!0))return bi(e)?t.get(Bt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(bi(e)){const u=t.get(Bt);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return e.moduleRef}).finally(()=>{i.remove(s)})})})}({r3Injector:new _y({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{z(D.BootstrapApplicationEnd)}}function kw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}class Ow{_doc;constructor(t){this._doc=t}manager}let Sf=(()=>{class e extends Ow{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)(U(It))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const Nf=new w("");let Pw=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const o=n.filter(s=>!(s instanceof Sf));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof Sf);i&&this._plugins.push(i)}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 I(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(U(Nf),U(Y))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const kf="ng-app-id";function Lw(e){for(const t of e)t.remove()}function Fw(e,t){const n=t.createElement("style");return n.textContent=e,n}function Rf(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let jw=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,function bH(e,t,n,r){const o=e.head?.querySelectorAll(`style[${kf}="${t}"],link[${kf}="${t}"]`);if(o)for(const i of o)i.removeAttribute(kf),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]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,Fw);r?.forEach(o=>this.addUsage(o,this.external,Rf))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const 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){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(Lw(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])Lw(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,Fw(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Rf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(U(It),U(vr),U(Ig,8),U(_g))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const xf={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"},Af=/%COMP%/g,kH=new w("",{factory:()=>!0});function Hw(e,t){return t.map(n=>n.replace(Af,e))}let $w=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Of(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof zw?o.applyToHost(n):o instanceof Pf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ze.Emulated:i=new zw(c,l,r,this.appId,u,s,a,d);break;case Ze.ShadowDom:return new Uw(c,n,r,s,a,this.nonce,d,l);case Ze.ExperimentalIsolatedShadowDom:return new Uw(c,n,r,s,a,this.nonce,d);default:i=new Pf(c,l,r,u,s,a,d)}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)(U(Pw),U(jw),U(vr),U(kH),U(It),U(Y),U(Ig),U(wr,8))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();class Of{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(xf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Bw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Bw(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new I(-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;const i=xf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=xf[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&(_n.DashCase|_n.Important)?t.style.setProperty(n,r,o&_n.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&_n.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=ff().getGlobalEventTarget(this.doc,t)))throw new I(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function Bw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Uw extends Of{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Hw(r.id,l);for(const d of l){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const u=r.getExternalStyles?.();if(u)for(const d of u){const f=Rf(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class Pf extends Of{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Hw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===jt.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class zw extends Pf{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function RH(e){return"_ngcontent-%COMP%".replace(Af,e)}(l),this.hostAttr=function xH(e){return"_nghost-%COMP%".replace(Af,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class Lf extends xF{supportsDOMEvents=!0;static makeCurrent(){!function RF(e){ZE??=e}(new Lf)}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()).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"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function LH(){return Ti=Ti||document.head.querySelector("base"),Ti?Ti.getAttribute("href"):null}();return null==n?null:function FH(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ti=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function AF(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Ti=null,VH=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})();const qw=["alt","control","meta","shift"],HH={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$H={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function jf(){return(jf=function $e(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Xr(i,r,o,s,a,"next",c)}function a(c){Xr(i,r,o,s,a,"throw",c)}s(void 0)})}}(function*(e,t){return aH(function Ww(e,t){return{platformRef:t?.platformRef,appProviders:[...QH,...e?.providers??[]],platformProviders:GH}}(e,t))})).apply(this,arguments)}const GH=[{provide:_g,useValue:"browser"},{provide:yg,useValue:function zH(){Lf.makeCurrent()},multi:!0},{provide:It,useFactory:function WH(){return function wM(e){kl=e}(document),document}}],QH=[{provide:Lc,useValue:"root"},{provide:ar,useFactory:function qH(){return new ar}},{provide:Nf,useClass:Sf,multi:!0},{provide:Nf,useClass:(()=>{class e extends Ow{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ff().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qw.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=HH[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),qw.forEach(s=>{s!==o&&(0,$H[s])(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"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(U(It))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),multi:!0},$w,jw,Pw,{provide:Bu,useExisting:$w},{provide:class OF{},useClass:VH},[]];let YH=(()=>{class e{destroyRef=b(st);_isDarkMode=function sl(e,t){const[n,r,o]=nb(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=es.bind(i),i}(this.hasDarkClass());isDarkMode=Ct(()=>this._isDarkMode());darkModeChange=function EV(){return new cD}();constructor(){const n=new MutationObserver(r=>{r.forEach(o=>{if("attributes"===o.type&&"class"===o.attributeName){const i=this.hasDarkClass();i!==this._isDarkMode()&&this._isDarkMode.set(i)}})});n.observe(document.body,{attributes:!0,attributeFilter:["class"]}),this.destroyRef.onDestroy(()=>n.disconnect()),ts(()=>{this.darkModeChange.emit(this._isDarkMode()),document.documentElement.style.colorScheme=this._isDarkMode()?"dark":"light"})}hasDarkClass(){return document.body.classList.contains("dark")}toggleDarkMode(){document.body.classList.toggle("dark")}static \u0275fac=function(r){return new(r||e)};static \u0275dir=by({type:e,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return e})(),KH=(()=>{class e{size=Cf("m");active=Cf(!0,{transform:kw});continuous=Cf(!1,{transform:kw});isDarkMode=bV(!1);handleDarkModeChange(n){this.isDarkMode.set(n),-1===this.raf&&this.animate()}colorA=Ct(()=>this.isDarkMode()?[221,246,18]:[18,28,43]);colorB=[0,202,204];paths=[];raf=-1;appearTime=0;disappearTime=0;tip=0;toe=0;mix=[0,0,0];norm=0;animate=n=>{if(void 0!==n&&(this.tip=Math.min(1,6e-4*(n-this.appearTime)),this.active()||(this.toe=Math.min(1,6e-4*(n-this.disappearTime)))),this.paths.forEach((r,o)=>{this.norm=1/this.paths.length*o,this.mix=this.mixRgb(this.colorA(),this.colorB,Math.max(0,Math.min(1,15*(this.tip-this.norm)))),r.setAttribute("stroke",this.tip*this.paths.length>o&&(this.active()||this.toe*this.paths.length<o)?this.rgbToSvg(this.mix):"transparent")}),this.tip>=1&&(this.active()||this.toe>=1))return this.continuous()?void setTimeout(()=>{this.appearTime=performance.now(),this.tip=0,this.toe=0,this.raf=requestAnimationFrame(this.animate)},500):void(this.raf=-1);this.raf=requestAnimationFrame(this.animate)};activate(){this.appearTime=performance.now(),this.animate(this.appearTime)}deactivate(){this.disappearTime=performance.now(),-1===this.raf&&this.animate(this.disappearTime)}mixChannel(n,r,o){return parseInt((n*o+r*(1-o)).toFixed())}mixRgb(n,r,o){return[this.mixChannel(n[0],r[0],o),this.mixChannel(n[1],r[1],o),this.mixChannel(n[2],r[2],o)]}rgbToSvg(n){return`rgb(${n[0]},${n[1]},${n[2]})`}constructor(){ts(()=>{this.active()?this.activate():this.deactivate()}),ts(()=>{this.isDarkMode(),this.animate()});const n=b(Co);mu({read:()=>{if(this.paths.length)return;const r=n.nativeElement.querySelector("svg"),o=n.nativeElement.querySelector("#original-path");if(!o)return;const i=o.getTotalLength(),a=[];for(let c=0;c<400;c++){const l=o.getPointAtLength(i/400*c);a.push({x:parseFloat(l.x.toFixed(2)),y:parseFloat(l.y.toFixed(2))})}a.push(o.getPointAtLength(i)),a.reverse(),a.forEach((c,l)=>{if(0===l||1===l)return;const u=document.createElementNS("http://www.w3.org/2000/svg","path");u.setAttribute("d",`M${a[l-2].x},${a[l-2].y}L${a[l-1].x},${a[l-1].y}L${c.x},${c.y}`),u.setAttribute("fill","none"),u.setAttribute("stroke","transparent"),u.setAttribute("stroke-width",o?.getAttribute("stroke-width")||"1"),u.setAttribute("stroke-miterlimit",o?.getAttribute("stroke-miterlimit")||"1"),r.appendChild(u),this.paths.push(u)})}})}ngOnDestroy(){this.paths=[],cancelAnimationFrame(this.raf),this.raf=-1}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ey({type:e,selectors:[["cue-logo"]],inputs:{size:[1,"size"],active:[1,"active"],continuous:[1,"continuous"],isDarkMode:[1,"isDarkMode"]},outputs:{isDarkMode:"isDarkModeChange"},decls:2,vars:0,consts:[["cueDarkMode","","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 221.545 86.191","width","222","height","86","overflow","visible",3,"darkModeChange"],["id","original-path","fill","none","stroke","transparent","stroke-miterlimit","10","stroke-width","12","d","M216.046 56.638s-10.561 24.201-36.192 22.991c-25.631-1.21-22.771-24.751-20.351-37.622 2.42-12.871 10.451-20.351 16.831-18.041 6.283 2.275 8.03 9.68 2.09 21.891-5.94 12.211-21.341 37.567-35.862 33.992-12.413-3.056-13.281-23.162-13.281-23.162V29.762v26.925c0 14.471-12.47 23.212-24.672 23.212s-24.672-8.301-24.672-23.212V29.829l-.006.105v13.031c0 20.416-16.55 36.966-36.966 36.966S6 63.381 6 42.966 22.55 6 42.966 6c6.91 0 13.377 1.896 18.91 5.196"]],template:function(r,o){1&r&&(function Kh(){N.lFrame.currentNamespace="svg"}(),oi(0,"svg",0),Ud("darkModeChange",function(s){return o.handleDarkModeChange(s)}),Od(1,"path",1),ba())},dependencies:[YH],styles:["[_nghost-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:1;display:block;width:100%;height:auto}"]})}return e})();(function UH(e,t){return jf.apply(this,arguments)})({providers:[function L0(){return be("NgZoneless"),function xc(e){return{\u0275providers:e}}([...of(),[]])}()]}).then(({injector:e})=>{customElements.get("cue-logo")||customElements.define("cue-logo",kF(KH,{injector:e}))}).catch(e=>{throw console.error("[CueLogo] Bootstrap failed:",e),e})}},Xr=>{Xr(Xr.s=942)}]);