@qaecy/cue-ui 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/logo/main.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[792],{456(){let ye=null,yn=!1,Ki=1;const he=Symbol("SIGNAL");function M(e){const t=ye;return ye=e,t}const cr={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 ur(e){if(yn)throw new Error("");if(null===ye)return;ye.consumerOnSignalRead(e);const t=ye.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ye.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ye.producers,void 0!==n&&n.producer===e))return ye.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===ye&&(!r||function eb(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,ye)))return;const i=dr(ye),s={producer:e,consumer:ye,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ye.producersTail=s,void 0!==t?t.nextProducer=s:ye.producers=s,i&&Lh(e,s)}function wo(e){if((!dr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Ki)){if(!e.producerMustRecompute(e)&&!Xi(e))return void Ji(e);e.producerRecomputeValue(e),Ji(e)}}function Fh(e){if(void 0===e.consumers)return;const t=yn;yn=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||Kw(r)}}finally{yn=t}}function Ph(){return!1!==ye?.consumerAllowSignalWrites}function Kw(e){e.dirty=!0,Fh(e),e.consumerMarkedDirty?.(e)}function Ji(e){e.dirty=!1,e.lastCleanEpoch=Ki}function lr(e){return e&&function Jw(e){e.producersTail=void 0,e.recomputing=!0}(e),M(e)}function bo(e,t){M(t),e&&function Xw(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(dr(e))do{n=Fc(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Xi(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(wo(n),r!==n.version))return!0}return!1}function Mo(e){if(dr(e)){let t=e.producers;for(;void 0!==t;)t=Fc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Lh(e,t){const n=e.consumersTail,r=dr(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)Lh(o.producer,o)}function Fc(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,!dr(t)){let i=t.producers;for(;void 0!==i;)i=Fc(i)}return n}function dr(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Lc(e,t){return Object.is(e,t)}const vn=Symbol("UNSET"),fr=Symbol("COMPUTING"),bt=Symbol("ERRORED"),nb={...cr,value:vn,dirty:!0,error:null,equal:Lc,kind:"computed",producerMustRecompute:e=>e.value===vn||e.value===fr,producerRecomputeValue(e){if(e.value===fr)throw new Error("");const t=e.value;e.value=fr;const n=lr(e);let r,o=!1;try{r=e.computation(),M(null),o=t!==vn&&t!==bt&&r!==bt&&e.equal(t,r)}catch(i){r=bt,e.error=i}finally{bo(e,n)}o?e.value=t:(e.value=r,e.version++)}};let jh=function rb(){throw new Error};function Bh(e){jh(e)}function ib(e,t){const n=Object.create(jc);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function sb(e){return ur(e),e.value}(n);return r[he]=n,[r,s=>So(n,s),s=>function Vh(e,t){Ph()||Bh(e),So(e,t(e.value))}(n,s)]}function So(e,t){Ph()||Bh(e),e.equal(e.value,t)||(e.value=t,function ab(e){e.version++,function Yw(){Ki++}(),Fh(e)}(e))}const jc={...cr,equal:Lc,value:void 0,kind:"signal"},cb={...cr,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ve(e){return"function"==typeof e}function Hh(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 Bc=Hh(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 Vc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Xe{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(ve(r))try{r()}catch(i){t=i instanceof Bc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{zh(i)}catch(s){t=t??[],s instanceof Bc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)zh(t);else{if(t instanceof Xe){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)&&Vc(n,t)}remove(t){const{_finalizers:n}=this;n&&Vc(n,t),t instanceof Xe&&t._removeParent(this)}}Xe.EMPTY=(()=>{const e=new Xe;return e.closed=!0,e})();const $h=Xe.EMPTY;function Uh(e){return e instanceof Xe||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function zh(e){ve(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ts={setTimeout(e,t,...n){const{delegate:r}=ts;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ts;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gh(e){ts.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function qh(){}const lb=Hc("C",void 0,void 0);function Hc(e,t,n){return{kind:e,value:t,error:n}}let _n=null;function ns(e){if(Dn.useDeprecatedSynchronousErrorHandling){const t=!_n;if(t&&(_n={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=_n;if(_n=null,n)throw r}}else e()}class $c extends Xe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Uh(t)&&t.add(this)):this.destination=yb}static create(t,n,r){return new zc(t,n,r)}next(t){this.isStopped?Gc(function fb(e){return Hc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Gc(function db(e){return Hc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Gc(lb,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 pb=Function.prototype.bind;function Uc(e,t){return pb.call(e,t)}class gb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rs(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rs(r)}else rs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rs(n)}}}class zc extends $c{constructor(t,n,r){let o;if(super(),ve(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Uc(t.next,i),error:t.error&&Uc(t.error,i),complete:t.complete&&Uc(t.complete,i)}):o=t}this.destination=new gb(o)}}function rs(e){Dn.useDeprecatedSynchronousErrorHandling?function hb(e){Dn.useDeprecatedSynchronousErrorHandling&&_n&&(_n.errorThrown=!0,_n.error=e)}(e):Gh(e)}function Gc(e,t){const{onStoppedNotification:n}=Dn;n&&ts.setTimeout(()=>n(e,t))}const yb={closed:!0,next:qh,error:function mb(e){throw e},complete:qh},qc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Wh(e){return e}let Fe=(()=>{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 Db(e){return e&&e instanceof $c||function vb(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(e)&&Uh(e)}(n)?n:new zc(n,r,o);return ns(()=>{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=Qh(r))((o,i)=>{const s=new zc({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)}[qc](){return this}pipe(...n){return function Zh(e){return 0===e.length?Wh:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Qh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qh(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const _b=Hh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Wc,hr=(()=>{class e extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Yh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new _b}next(n){ns(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ns(()=>{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(){ns(()=>{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?$h:(this.currentObservers=null,i.push(n),new Xe(()=>{this.currentObservers=null,Vc(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Fe;return n.source=this,n}}return e.create=(t,n)=>new Yh(t,n),e})();class Yh extends hr{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:$h}}class Eb extends hr{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 Zc(){return Wc}function Ut(e){const t=Wc;return Wc=e,t}const Ib=Symbol("NotFound");function Qc(e){return e===Ib||"\u0275NotFound"===e?.name}Error;class _ extends Error{code;constructor(t,n){super(ut(t,n)),this.code=t}}function ut(e,t){return`${function wb(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}const ie=globalThis;function U(e){for(let t in e)if(e[t]===U)return t;throw Error("")}function zt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(zt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Kc(e,t){return e?t?`${e} ${t}`:e:t||""}const Mb=U({__forward_ref__:U});function Jc(e){return e.__forward_ref__=Jc,e}function F(e){return function os(e){return"function"==typeof e&&e.hasOwnProperty(Mb)&&e.__forward_ref__===Jc}(e)?e():e}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pr(e){return{providers:e.providers||[],imports:e.imports||[]}}function is(e){return function Rb(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,as)}function ss(e){return e&&e.hasOwnProperty(Xc)?e[Xc]:null}const as=U({\u0275prov:U}),Xc=U({\u0275inj:U});class C{_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=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function tu(e){return e&&!!e.\u0275providers}const ep=U({\u0275cmp:U}),jb=U({\u0275dir:U}),Bb=U({\u0275pipe:U}),tp=U({\u0275mod:U}),Cn=U({\u0275fac:U}),To=U({__NG_ELEMENT_ID__:U}),np=U({__NG_ENV_ID__:U});function z(e){return us(e),e[ep]||null}function Re(e){return us(e),e[jb]||null}function lt(e){return us(e),e[Bb]||null}function us(e,t){if(null==e)throw new _(-919,!1)}const ru=U({ngErrorCode:U}),rp=U({ngErrorMessage:U}),Ao=U({ngTokenPath:U});function ou(e,t){return op("",-200,t)}function iu(e,t){throw new _(-201,!1)}function op(e,t,n){const r=new _(t,e);return r[ru]=t,r[rp]=e,n&&(r[Ao]=n),r}let su;function ip(){return su}function Pe(e){const t=su;return su=e,t}function sp(e,t,n){const r=is(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void iu()}const wn={};class Gb{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ko(n)||0;try{return this.injector.get(t,8&r?null:wn,r)}catch(o){if(Qc(o))return o;throw o}}}function qb(e,t=0){const n=Zc();if(void 0===n)throw new _(-203,!1);if(null===n)return sp(e,void 0,t);{const r=function Wb(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(Qc(o)){if(r.optional)return null;throw o}return o}}function V(e,t=0){return(ip()||qb)(F(e),t)}function w(e,t){return V(e,ko(t))}function ko(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cu(e){const t=[];for(let n=0;n<e.length;n++){const r=F(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=Zb(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(V(o,i))}else t.push(V(r))}return t}function Zb(e){return e.__NG_DI_FLAG__}function bn(e,t){return e.hasOwnProperty(Cn)?e[Cn]:null}function yr(e,t){e.forEach(n=>Array.isArray(n)?yr(n,t):t(n))}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Dt={},K=[],vr=new C(""),lu=new C("",-1),du=new C("");class hs{get(t,n=wn){if(n===wn){const o=op("",-201);throw o.name="\u0275NotFound",o}return n}}function Jb(...e){return{\u0275providers:fu(0,e),\u0275fromNgModule:!0}}function fu(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return yr(t,s=>{const a=s;ps(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&fp(o,i),n}function fp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];hu(o,i=>{t(i,r)})}}function ps(e,t,n,r){if(!(e=F(e)))return!1;let o=null,i=ss(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=ss(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 u of c)ps(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o),yr(i.imports,l=>{ps(l,t,n,r)&&(u||=[],u.push(l))}),void 0!==u&&fp(u,t)}if(!a){const u=bn(o)||(()=>new o);t({provide:o,useFactory:u,deps:K},o),t({provide:du,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>V(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const u=e;hu(c,l=>{t(l,u)})}}}return o!==e&&void 0!==e.providers}function hu(e,t){for(let n of e)tu(n)&&(n=n.\u0275providers),Array.isArray(n)?hu(n,t):t(n)}const Xb=U({provide:String,useValue:U});function pu(e){return null!==e&&"object"==typeof e&&Xb in e}function Mt(e){return"function"==typeof e}const gu=new C(""),gs={},mp={};let mu;function yu(){return void 0===mu&&(mu=new hs),mu}class tt{}class Mn extends tt{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,Du(t,s=>this.processProvider(s)),this.records.set(lu,Dr(void 0,this)),o.has("environment")&&this.records.set(tt,Dr(void 0,this));const i=this.records.get(gu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(du,K,{self:!0}))}retrieve(t,n){const r=ko(n)||0;try{return this.get(t,wn,r)}catch(o){if(Qc(o))return o;throw o}}destroy(){Oo(this),this._destroyed=!0;const t=M(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(),M(t)}}onDestroy(t){return Oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Oo(this);const n=Ut(this),r=Pe(void 0);try{return t()}finally{Ut(n),Pe(r)}}get(t,n=wn,r){if(Oo(this),t.hasOwnProperty(np))return t[np](this);const o=ko(r),s=Ut(this),a=Pe(void 0);try{if(!(4&o)){let u=this.records.get(t);if(void 0===u){const l=function oM(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&is(t);u=l&&this.injectableDefInScope(l)?Dr(vu(t),gs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u,o)}return(2&o?yu():this.parent).get(t,n=8&o&&n===wn?null:n)}catch(c){const u=function Ub(e){return e[ru]}(c);throw-200===u||-201===u?new _(u,null):c}finally{Pe(a),Ut(s)}}resolveInjectorInitializers(){const t=M(null),n=Ut(this),r=Pe(void 0);try{const i=this.get(vr,K,{self:!0});for(const s of i)s()}finally{Ut(n),Pe(r),M(t)}}toString(){return"R3Injector[...]"}processProvider(t){let n=Mt(t=F(t))?t:F(t&&t.provide);const r=function tM(e){return pu(e)?Dr(void 0,e.useValue):Dr(function yp(e,t,n){let r;if(Mt(e)){const o=F(e);return bn(o)||vu(o)}if(pu(e))r=()=>F(e.useValue);else if(function pp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...cu(e.deps||[]));else if(function hp(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>V(F(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=F(e&&(e.useClass||e.provide));if(!function nM(e){return!!e.deps}(e))return bn(o)||vu(o);r=()=>new o(...cu(e.deps))}return r}(e),gs)}(t);if(!Mt(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Dr(void 0,gs,!0),o.factory=()=>cu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=M(null);try{if(n.value===mp)throw ou();return n.value===gs&&(n.value=mp,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function rM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(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 vu(e){const t=is(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof C)throw new _(-204,!1);if(e instanceof Function)return function eM(e){if(e.length>0)throw new _(-204,!1);const n=function xb(e){return(e?.[as]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(-204,!1)}function Oo(e){if(e.destroyed)throw new _(-205,!1)}function Dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Du(e,t){for(const n of e)Array.isArray(n)?Du(n,t):n&&tu(n)?Du(n.\u0275providers,t):t(n)}function vp(e,t){let n;e instanceof Mn?(Oo(e),n=e):n=new Gb(e);const o=Ut(n),i=Pe(void 0);try{return t()}finally{Ut(o),Pe(i)}}function _u(){return void 0!==ip()||null!=Zc()}const R=11,S=27,W=10;function oe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Se(e){return Array.isArray(e)&&!0===e[1]}function _p(e){return!!(4&e.flags)}function ft(e){return e.componentOffset>-1}function wr(e){return!(1&~e.flags)}function ht(e){return!!e.template}function Wt(e){return!!(512&e[2])}function Nt(e){return!(256&~e[2])}function Ee(e){for(;Array.isArray(e);)e=e[0];return e}function pe(e,t){return Ee(t[e.index])}function Te(e,t){const n=t[e];return oe(n)?n:n[0]}function wu(e){return!(128&~e[2])}function Ne(e,t){return null==t?null:e[t]}function Mp(e){e[17]=0}function bu(e){1024&e[2]||(e[2]|=1024,wu(e)&&Sr(e))}function Po(e){return!!(9216&e[2]||e[24]?.dirty)}function Mu(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Po(e)&&Sr(e)}function Sr(e){e[10].changeDetectionScheduler?.notify(0);let t=At(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,wu(t));)t=At(t)}function Ds(e,t){if(Nt(e))throw new _(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function At(e){const t=e[3];return Se(t)?t[3]:t}const N={lFrame:zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Nu=!1;function g(){return N.lFrame.lView}function x(){return N.lFrame.tView}function A(){let e=Op();for(;null!==e&&64===e.type;)e=e.parent;return e}function Op(){return N.lFrame.currentTNode}function kt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Fp(){return N.lFrame.isParent}function Bp(){return Nu}function _s(e){const t=Nu;return Nu=e,t}function DM(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,ku(t)}function ku(e){N.lFrame.currentDirectiveIndex=e}function Es(e){N.lFrame.currentQueryIndex=e}function EM(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function $p(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=EM(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=Up();return r.currentTNode=t,r.lView=e,!0}function Ou(e){const t=Up(),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 Up(){const e=N.lFrame,t=null===e?null:e.child;return null===t?zp(e):t}function zp(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 Gp(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qp=Gp;function Fu(){const e=Gp();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 Rn(e){N.lFrame.selectedIndex=e}let Zp=!0;function Qp(e,t=null,n=null,r){const o=Yp(e,t,n);return o.resolveInjectorInitializers(),o}function Yp(e,t=null,n=null,r,o=new Set){const i=[n||K,Jb(e)];return new Mn(i,t||yu(),null,o)}class je{static THROW_IF_NOT_FOUND=wn;static NULL=new hs;static create(t,n){if(Array.isArray(t))return Qp({name:""},n,t);{const r=t.name??"";return Qp({name:r},t.parent,t.providers)}}static \u0275prov=j({token:je,providedIn:"any",factory:()=>V(lu)});static __NG_ELEMENT_ID__=-1}const Ot=new C("");let _t=(()=>class e{static __NG_ELEMENT_ID__=SM;static __NG_ENV_ID__=n=>n})();class Kp extends _t{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Nt(this._lView)}onDestroy(t){const n=this._lView;return Ds(n,t),()=>function Su(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function SM(){return new Kp(g())}const TM=!1,NM=new C("");let xn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Eb(!1);debugTaskTracker=w(NM,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Fe(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=j({token:e,providedIn:"root",factory:()=>new e})}return e})();const Zt=class AM extends hr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,_u()&&(this.destroyRef=w(_t,{optional:!0})??void 0,this.pendingTasks=w(xn,{optional:!0})??void 0)}emit(t){const n=M(null);try{super.next(t)}finally{M(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 Xe&&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 Cs(...e){}function Jp(e){let t,n;function r(){e=Cs;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 kM(e){return queueMicrotask(()=>e()),()=>{e=Cs}}const Pu="isAngularZone",ws=Pu+"_ID";let RM=0;class J{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Zt(!1);onMicrotaskEmpty=new Zt(!1);onStable=new Zt(!1);onError=new Zt(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=TM}=t;if(typeof Zone>"u")throw new _(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 FM(e){const t=()=>{!function OM(e){function t(){Jp(()=>{e.callbackScheduled=!1,ju(e),e.isCheckStableRunning=!0,Lu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ju(e))}(e)},n=RM++;e._inner=e._inner.fork({name:"angular",properties:{[Pu]:!0,[ws]:n,[ws+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function LM(e){return tg(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return Xp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),eg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Xp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function jM(e){return tg(e,"__scheduler_tick__")}(c)&&t(),eg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,ju(e),Lu(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(Pu)}static assertInAngularZone(){if(!J.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new _(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,xM,Cs,Cs);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 xM={};function Lu(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 ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Xp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eg(e){e._nesting--,Lu(e)}class PM{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Zt;onMicrotaskEmpty=new Zt;onStable=new Zt;onError=new Zt;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 tg(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Nr{_console=console;handleError(t){this._console.error("ERROR",t)}}const Qt=new C("",{factory:()=>{const e=w(J),t=w(tt);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Nr),n.handleError(r))})}}}),BM={provide:vr,useValue:()=>{w(Nr,{optional:!0})},multi:!0};function bs(){const e=this[he];if(void 0===e.readonlyFn){const t=()=>this();t[he]=e,e.readonlyFn=t}return e.readonlyFn}let Vu=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=HM})();function HM(){return new Vu(g(),A())}class On{}const Hu=new C("",{factory:()=>!0}),$M=new C("");let rg=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>new UM})}return e})();class UM{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 $u{[he];constructor(t){this[he]=t}destroy(){this[he].destroy()}}function Ms(e,t){const n=t?.injector??w(je);let o,r=!0!==t?.manualCleanup?n.get(_t):null;const i=n.get(Vu,null,{optional:!0}),s=n.get(On);return null!==i?(o=function qM(e,t,n){const r=Object.create(GM);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ig(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(i.view,s,e),r instanceof Kp&&r._lView===i.view&&(r=null)):o=function WM(e,t,n){const r=Object.create(zM);return r.fn=ig(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(rg),s),o.injector=n,null!==r&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new $u(o)}const og={...cb,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const e=_s(!1);try{!function ub(e){if(e.dirty=!1,e.version>0&&!Xi(e))return;e.version++;const t=lr(e);try{e.cleanup(),e.fn()}finally{bo(e,t)}}(this)}finally{_s(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}},zM={...og,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Mo(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},GM={...og,consumerMarkedDirty(){this.view[2]|=8192,Sr(this.view),this.notifier.notify(13)},destroy(){if(Mo(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}};function ig(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}let sg=null;function Uu(){return sg}class QM{}function $o(e){return t=>{if(function RS(e){return ve(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 Ar(e,t,n,r,o){return new xS(e,t,n,r,o)}class xS extends $c{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 Dg(e,t){return $o((n,r)=>{let o=0;n.subscribe(Ar(r,i=>{r.next(e.call(t,i,o++))}))})}function Ft(e){return{toString:e}.toString()}function kg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class fT{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function hT(){const e=Og(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pT(e,t,n,r,o){const i=this.declaredInputs[r],s=Og(e)||function gT(e,t){return e[xg]=t}(e,{previous:Dt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new fT(u&&u.currentValue,n,c===Dt),kg(e,t,o,n)}const xg="__ngSimpleChanges__";function Og(e){return e[xg]||null}const Pn=[],q=function(e,t=null,n){for(let r=0;r<Pn.length;r++)(0,Pn[r])(e,t,n)};var I=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}(I||{});function Ps(e,t,n){Pg(e,t,3,n)}function Ls(e,t,n,r){(3&e[2])===n&&Pg(e,t,n,r)}function nl(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function Pg(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)&&(_T(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function Lg(e,t){q(I.LifecycleHookStart,e,t);const n=M(null);try{t.call(e)}finally{M(n),q(I.LifecycleHookEnd,e,t)}}function _T(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,Lg(a,i)):Lg(a,i)}class qo{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 Bg(e){return 3===e||4===e||6===e}function Vg(e){return 64===e.charCodeAt(0)}function jr(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||Hg(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Hg(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 Wo(e){return 32767&e}function Zo(e,t){let n=function wT(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let il=!0;function js(e){const t=il;return il=e,t}let bT=0;const It={};function Bs(e,t){const n=zg(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,sl(r.data,e),sl(t,null),sl(r.blueprint,null));const o=Vs(e,t),i=e.injectorIndex;if(function ol(e){return-1!==e}(o)){const s=Wo(o),a=Zo(o,t),c=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vs(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=Kg(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function al(e,t,n){!function MT(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(To)&&(r=n[To]),null==r&&(r=n[To]=bT++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Gg(e,t,n){if(8&n||void 0!==e)return e;iu()}function qg(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=Pe(void 0);try{return o?o.get(t,r,8&n):sp(t,r,8&n)}finally{Pe(i)}}return Gg(r,0,n)}function Wg(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function RT(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!Wt(s);){const a=Zg(i,s,n,2|r,It);if(a!==It)return a;let c=i.parent;if(!c){const u=s[20];if(u){const l=u.get(n,It,-5&r);if(l!==It)return l}c=Kg(s),s=s[14]}i=c}return o}(e,t,n,r,It);if(s!==It)return s}const i=Zg(e,t,n,r,It);if(i!==It)return i}return qg(t,n,r,o)}function Zg(e,t,n,r,o){const i=function NT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(To)?e[To]:void 0;return"number"==typeof t?t>=0?255&t:AT:t}(n);if("function"==typeof i){if(!$p(t,e,r))return 1&r?Gg(o,0,r):qg(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;iu()}finally{qp()}}else if("number"==typeof i){let s=null,a=zg(e,t),c=-1,u=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?Vs(e,t):t[a+8],-1!==c&&Yg(r,!1)?(s=t[1],a=Wo(c),t=Zo(c,t)):a=-1);-1!==a;){const l=t[1];if(Qg(i,a,l.data)){const d=TT(a,t,n,s,r,u);if(d!==It)return d}c=t[a+8],-1!==c&&Yg(r,t[1].data[a+8]===u)&&Qg(i,a,t)?(s=l,a=Wo(c),t=Zo(c,t)):a=-1}}return o}function TT(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=function Hs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;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&&ht(h)&&h.type===n)return c}return null}(a,s,n,null==r?ft(a)&&il:r!=s&&!!(3&a.type),1&o&&i===a);return null!==l?Qo(t,s,l,a,o):It}function Qo(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof qo){const a=i;if(a.resolving)throw ou();const c=js(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Pe(a.injectImpl):null;$p(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function DT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=pT),hT}(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&&Pe(d),js(c),a.resolving=!1,qp()}}return i}function Qg(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Yg(e,t){return!(2&e||1&e&&t)}class ce{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wg(this._tNode,this._lView,t,ko(r),n)}}function AT(){return new ce(A(),g())}function Kg(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function VT(){return Br(A(),g())}function Br(e,t){return new jn(pe(e,t))}let jn=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=VT})();Symbol;var Us=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(Us||{});const zs=new Map;let GT=0;function fl(e){zs.delete(e[19])}const pl="__ngContext__";function Ve(e,t){oe(t)?(e[pl]=t[19],function WT(e){zs.set(e[19],e)}(t)):e[pl]=t}function fm(e){return pm(e[12])}function hm(e){return pm(e[4])}function pm(e){for(;null!==e&&!Se(e);)e=e[4];return e}let ml;const Vr=new C("",{factory:()=>pN}),pN="ng",Em=new C(""),Im=new C("",{providedIn:"platform",factory:()=>"unknown"}),Cm=new C("",{factory:()=>w(Ot).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),EN=new C("",{factory:()=>!1});function Ys(e){return!(32&~e.flags)}function Km(e,t){const n=e.contentQueries;if(null!==n){const r=M(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Es(n[o]),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function kl(e,t,n){Es(0);const r=M(null);try{t(e,n)}finally{M(r)}}function Rl(e,t,n){if(_p(t)){const r=M(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{M(r)}}}var ot=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(ot||{});function aa(e,t,n){return e.createElement(t,n)}function Bn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gy(e,t,n){e.appendChild(t,n)}function my(e,t,n,r,o){null!==r?Bn(e,t,n,r,o):gy(e,t,n)}function vy(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function CT(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];Vg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function C0(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function I0(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function z0(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 by="ng-template";function G0(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==z0(t[o+1].toLowerCase(),n,0))return!0}else if($l(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 $l(e){return 4===e.type&&e.value!==by}function q0(e,t,n){return t===(4!==e.type||n?e.value:by)}function W0(e,t,n){let r=4;const o=e.attrs,i=null!==o?function Y0(e){for(let t=0;t<e.length;t++)if(Bg(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&&!q0(e,c,n)||""===c&&1===t.length){if(gt(r))return!1;s=!0}}else if(8&r){if(null===o||!G0(e,o,c,n)){if(gt(r))return!1;s=!0}}else{const u=t[++a],l=Z0(c,o,$l(e),n);if(-1===l){if(gt(r))return!1;s=!0;continue}if(""!==u){let d;if(d=l>i?"":o[l+1].toLowerCase(),2&r&&u!==d){if(gt(r))return!1;s=!0}}}}else{if(!s&&!gt(r)&&!gt(c))return!1;if(s&&gt(c))continue;s=!1,r=c|1&r}}return gt(r)||s}function gt(e){return!(1&e)}function Z0(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 K0(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 My(e,t,n=!1){for(let r=0;r<t.length;r++)if(W0(e,t[r],n))return!0;return!1}function Sy(e,t){return e?":not("+t.trim()+")":t}function X0(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&&!gt(s)&&(t+=Sy(i,o),o=""),r=s,i=i||!gt(r);n++}return""!==o&&(t+=Sy(i,o)),t}const G={};function Ul(e,t,n,r,o,i,s,a,c,u,l){const d=S+r,f=d+o,h=function nA(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}(d,f),p="function"==typeof u?u():u;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:l}}function ua(e,t,n,r,o,i,s,a,c,u,l){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==u||e&&2048&e[2])&&(d[2]|=2048),Mp(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[R]=a||e&&e[R],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function qT(){return GT++}(),d[6]=l,d[20]=u,d[15]=2==t.type?e[15]:d,d}function zl(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function si(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 la=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(la||{});function rn(e,t,n,r){const o=M(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&la.SignalBased)&&(c=t[i][he]),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):kg(t,c,i,r)}finally{M(o)}}var on=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(on||{});function Wl(e,t){return(void 0)(e,t)}typeof document<"u"&&document;const ai=new WeakMap,Ql=new WeakSet;const sn=new Set;var td=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(td||{});const qr=new C(""),Oy=new Set;function ke(e){Oy.has(e)||(Oy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Fy=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();const Py=[0,1,2,3];let DA=(()=>{class e{ngZone=w(J);scheduler=w(On);errorHandler=w(Nr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(qr,{optional:!0})}execute(){const n=this.sequences.size>0;n&&q(I.AfterRenderHooksStart),this.executing=!0;for(const r of Py)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&&q(I.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),Sr(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(td.AFTER_NEXT_RENDER,n):n()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();class Ly{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 nd(e,t){const n=t?.injector??w(je);return ke("NgAfterNextRender"),function jy(e,t,n,r){const o=t.get(Fy);o.impl??=t.get(DA);const i=t.get(qr,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(_t):null,a=t.get(Vu,null,{optional:!0}),c=new Ly(o.impl,function EA(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 ma=new C("",{factory:()=>{const e=w(tt),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function By(e,t,n){const r=e.get(ma);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 Vy(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function rd(e,t){for(const[n,r]of t)By(e,r.animateFns)}(r,o)}function Hy(e,t,n,r){try{n.get(lu)}catch{return r(!1)}const o=e?.[26],i=function wA(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=[];va(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&sn.add(e[19]),By(n,()=>function bA(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:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&va(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 MA(e,t,n){t.then(()=>{e[26]?.running===t&&(e[26].running=void 0,sn.delete(e[19])),n(!0)})}(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&sn.delete(e[19]),o(!0)})}else e&&sn.delete(e[19]),o(!1)}(e,t,o||void 0,i,r),o||void 0)}function va(e,t,n){if(ft(t))$y(Te(t.index,e),n);else if(12&t.type){const o=e[t.index];if(Se(o))for(let i=W;i<o.length;i++)$y(o[i],n)}let r=t.child;for(;r;)va(e,r,n),r=r.next}function $y(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;)va(e,r,t),r=r.next}function Wr(e,t,n,r,o,i,s,a){if(null!=o){let c,u=!1;Se(o)?c=o:oe(o)&&(u=!0,o=o[0]);const l=Ee(o);0===e&&null!==r?(Vy(a,r,i,n),null==s?gy(t,r,l):Bn(t,r,l,s||null,!0)):1===e&&null!==r?(Vy(a,r,i,n),Bn(t,r,l,s||null,!0),function fA(e,t){const n=ai.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),Ql.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,l)):2===e?(a?.[26]?.leave?.has(i.index)&&function Kl(e,t){const n=ai.get(e);n?n.includes(t)||n.push(t):ai.set(e,[t])}(i,l),Hy(a,i,n,d=>{Ql.has(l)?Ql.delete(l):function oi(e,t,n,r){e.removeChild(null,t,n,r)}(t,l,u,d)})):3===e&&Hy(a,i,n,()=>{t.destroyNode(l)}),null!=c&&function RA(e,t,n,r,o,i,s){const a=r[7];a!==Ee(r)&&Wr(t,e,n,i,a,o,s);for(let u=W;u<r.length;u++){const l=r[u];Da(l[1],l,e,t,i,a)}}(t,e,n,c,i,r,s)}}function zy(e,t){t[10].changeDetectionScheduler?.notify(9),Da(e,t,t[R],2,null,null)}function od(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function id(e,t){if(Nt(t))return;const n=M(null);try{t[2]&=-129,t[2]|=256,t[24]&&Mo(t[24]),function AA(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 qo)){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];q(I.LifecycleHookStart,a,c);try{c.call(a)}finally{q(I.LifecycleHookEnd,a,c)}}else{q(I.LifecycleHookStart,o,i);try{i.call(o)}finally{q(I.LifecycleHookEnd,o,i)}}}}}(e,t),function NA(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[R].destroy();const r=t[16];if(null!==r&&Se(t[3])){r!==t[3]&&od(r,t);const o=t[18];null!==o&&o.detachView(e)}fl(t)}finally{M(n)}}function sd(e,t,n){return function Gy(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ft(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ot.None||o===ot.Emulated)return null}return pe(r,n)}(e,t.parent,n)}let Zy=function Wy(e,t,n){return 40&e.type?pe(e,n):null};function cd(e,t,n,r){const o=sd(e,r,t),i=t[R],a=function qy(e,t,n){return Zy(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)my(i,o,n[c],a,!1);else my(i,o,n,a,!1)}function Yy(e,t){return null!==t?e[15][5].projection[t.projection]:null}function ld(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],u=n.type;if(s&&0===t&&(c&&Ve(Ee(c),r),n.flags|=2),!Ys(n))if(8&u)ld(e,t,n.child,r,o,i,!1),Wr(t,e,a,o,c,n,i,r);else if(32&u){const l=Wl(n,r);let d;for(;d=l();)Wr(t,e,a,o,d,n,i,r);Wr(t,e,a,o,c,n,i,r)}else 16&u?Ky(e,t,r,n,o,i):Wr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Da(e,t,n,r,o,i){ld(n,r,e.firstChild,t,o,i,!1)}function Ky(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++)Wr(t,e,n[9],o,c[u],r,i,n);else{let u=c;const l=s[3];(function Yo(e){return!(128&~e.flags)})(r)&&(u.flags|=128),ld(e,t,u,l,o,i,!0)}}function Jy(e,t,n,r,o){const i=function Ie(){return N.lFrame.selectedIndex}(),s=2&r;try{Rn(-1),s&&t.length>S&&function Ny(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&Ls(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&Ps(t,i,n)}Rn(n)}(e,t,S,!1),q(s?I.TemplateUpdateStart:I.TemplateCreateStart,o,n),n(r,o)}finally{Rn(i),q(s?I.TemplateUpdateEnd:I.TemplateCreateEnd,o,n)}}function _a(e,t,n){(function jA(e,t,n){const r=n.directiveStart,o=n.directiveEnd;ft(n)&&function rA(e,t,n){const r=pe(t,e),o=function Ty(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ul(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=function Gl(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}(e,ua(e,o,null,zl(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Bs(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=Qo(t,e,s,n);Ve(c,t),null!==i&&$A(0,s-r,c,a,0,i),ht(a)&&(Te(n.index,t)[8]=Qo(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function BA(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function _M(){return N.lFrame.currentDirectiveIndex}();try{Rn(i);for(let a=r;a<o;a++){const c=e.data[a],u=t[a];ku(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&VA(c,u)}}finally{Rn(-1),ku(s)}}(e,t,n)}let Xy=()=>null;function VA(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function hd(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];My(t,i.selectors,!1)&&(r??=[],ht(i)?r.unshift(i):r.push(i))}return r}function $A(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)rn(r,n,s[a],s[a+1])}function Ia(e,t,n,r,o){const i=S+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,kt(e,!0);const c=2===e.type;return c?(vy(t[R],a,e),(0===function fM(){return N.lFrame.elementDepthCount}()||wr(e))&&Ve(a,t),function hM(){N.lFrame.elementDepthCount++}()):Ve(a,t),function Is(){return Zp}()&&(!c||!Ys(e))&&cd(s,t,a,e),e}function Ca(e){let t=e;return Fp()?function Pp(){N.lFrame.isParent=!1}():(t=t.parent,kt(t,!1)),t}function wa(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 u=s[c];rn(t.data[u],n[u],s[c+1],o),a=!0}if(i)for(const c of i)rn(t.data[c],n[c],r,o),a=!0;return a}function zA(e,t){const n=Te(t,e),r=n[1];!function GA(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),q(I.ComponentStart);try{ba(r,n,n[8])}finally{q(I.ComponentEnd,n[8])}}function ba(e,t,n){Ou(t);try{const r=e.viewQuery;null!==r&&kl(1,r,n);const o=e.template;null!==o&&Jy(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&Km(e,t),e.staticViewQueries&&kl(2,e.viewQuery,n);const i=e.components;null!==i&&function qA(e,t){for(let n=0;n<t.length;n++)zA(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Fu()}}function li(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(Ee(i)),Se(i)&&WA(i,r);const s=n.type;if(8&s)li(e,t,n.child,r);else if(32&s){const a=Wl(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Yy(t,n);if(Array.isArray(a))r.push(...a);else{const c=At(t[15]);li(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function WA(e,t){for(let n=W;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&li(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function rv(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let ov=[];const KA={...cr,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Sr(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},XA={...cr,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=At(e.lView);for(;t&&!iv(t[1]);)t=At(t);t&&bu(t)},consumerOnSignalRead(){this.lView[24]=this}};function iv(e){return 2!==e.type}function sv(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 Ma(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function tk(e,t){const n=Bp();try{_s(!0),gd(e,t);let r=0;for(;Po(e);){if(100===r)throw new _(103,!1);r++,gd(e,1)}}finally{_s(n)}}(e,t)}finally{r.end?.()}}function av(e,t,n,r){if(Nt(t))return;const o=t[2];Ou(t);let a=!0,c=null,u=null;iv(e)?(u=function ZA(e){return e[24]??function QA(e){const t=ov.pop()??Object.create(KA);return t.lView=e,t}(e)}(t),c=lr(u)):null===function Oc(){return ye}()?(a=!1,u=function JA(e){const t=e[24]??Object.create(XA);return t.lView=e,t}(t),c=lr(u)):t[24]&&(Mo(t[24]),t[24]=null);try{Mp(t),function Vp(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Jy(e,t,n,2,r);const l=!(3&~o);if(l){const h=e.preOrderCheckHooks;null!==h&&Ps(t,h,null)}else{const h=e.preOrderHooks;null!==h&&Ls(t,h,0,null),nl(t,0)}if(function nk(e){for(let t=fm(e);null!==t;t=hm(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)bu(n[r])}}(t),sv(t),cv(t,0),null!==e.contentQueries&&Km(e,t),l){const h=e.contentCheckHooks;null!==h&&Ps(t,h)}else{const h=e.contentHooks;null!==h&&Ls(t,h,1),nl(t,1)}!function ok(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)Rn(~o);else{const i=o,s=n[++r],a=n[++r];DM(s,i);const c=t[i];q(I.HostBindingsUpdateStart,c);try{a(2,c)}finally{q(I.HostBindingsUpdateEnd,c)}}}}finally{Rn(-1)}}(e,t);const d=e.components;null!==d&&lv(t,d,0);const f=e.viewQuery;if(null!==f&&kl(2,f,r),l){const h=e.viewCheckHooks;null!==h&&Ps(t,h)}else{const h=e.viewHooks;null!==h&&Ls(t,h,2),nl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}rv(t),t[2]&=-73}catch(l){throw Sr(t),l}finally{null!==u&&(bo(u,c),a&&function YA(e){e.lView[24]!==e&&(e.lView=null,ov.push(e))}(u)),Fu()}}function cv(e,t){for(let n=fm(e);null!==n;n=hm(n))for(let r=W;r<n.length;r++)uv(n[r],t)}function rk(e,t,n){q(I.ComponentStart);const r=Te(t,e);try{uv(r,n)}finally{q(I.ComponentEnd,r[8])}}function uv(e,t){wu(e)&&gd(e,t)}function gd(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||!Xi(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)av(r,e,r.template,e[8]);else if(8192&o){const a=M(null);try{sv(e),cv(e,1);const c=r.components;null!==c&&lv(e,c,1),rv(e)}finally{M(a)}}}function lv(e,t,n){for(let r=0;r<t.length;r++)rk(e,t[r],n)}function Yr(e,t){const n=Bp()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=At(e);if(Wt(e)&&!r)return e;e=r}return null}function di(e,t){if(e.length<=W)return;const n=W+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&od(o,r),t>0&&(e[n-1][4]=r[4]);const i=ls(e,W+t);!function Uy(e,t){zy(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 fi{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return li(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 Nt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Se(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(di(t,r),ls(n,r))}this._attachedToViewContainer=!1}!function ui(e,t){if(Nt(t))return;const n=t[R];n.destroyNode&&Da(e,t,n,3,null,null),function TA(e){let t=e[12];if(!t)return id(e[1],e);for(;t;){let n=null;if(oe(t))n=t[12];else{const r=t[W];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)oe(t)&&id(t[1],t),t=t[3];null===t&&(t=e),oe(t)&&id(t[1],t),n=t&&t[4]}t=n}}(t)}(this._lView[1],this._lView)}onDestroy(t){Ds(this._lView,t)}markForCheck(){Yr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Mu(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Ma(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Wt(this._lView),n=this._lView[16];null!==n&&!t&&od(n,this._lView),zy(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;const n=Wt(this._lView),r=this._lView[16];null!==r&&!n&&function hv(e,t){const n=e[9],r=t[3];(oe(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}(r,this._lView),Mu(this._lView)}}function qn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function _d(e,t,n,r,o){const i=Op(),s=Fp(),c=e.data[t]=function yk(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function kp(){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 mk(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 vM(){return N.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Lo(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return kt(i,!0),i}let Xk=class{},jv=class{};class eR{resolveComponentFactory(t){throw new _(917,!1)}}let Xr=class{static NULL=new eR};class Sd{}let nR=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>null})}return e})();const Nd={};class to{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Nd,r);return o!==Nd||n===Nd?o:this.parentInjector.get(t,n,r)}}function Pa(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=Kc(o,a):2==i&&(r=Kc(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function P(e,t=0){const n=g();return null===n?V(e,t):Wg(A(),n,F(e),t)}function cR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function $v(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),zv(t,i)}}function Uv(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),zv(t,s)}}function zv(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function Gv(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||$l(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 u=o[c];for(const l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function dR(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new qo(i,ht(o),P,null);e.blueprint[r]=s,n[r]=s,function fR(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 hR(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,si(e,n,o.hostVars,G),o)}function pR(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function Ad(e,t,n,r,o,i,s,a){const c=t[1],u=c.consts,d=qn(c,e,n,r,Ne(u,s));return i&&function Hv(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,u=null;for(const l of s)if(null!==l.resolveHostDirectives){[a,c,u]=l.resolveHostDirectives(s);break}!function uR(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&&ht(h)&&(c=h,cR(e,n,f)),al(Bs(n,t),e,h.type)}(function gR(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 u=!1,l=!1,d=si(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=jr(n.mergedAttrs,h.hostAttrs),dR(e,n,t,d,h),pR(d,h,o),null!==s&&s.has(h)){const[m,D]=s.get(h);n.directiveToIndex.set(h.type,[d,m+n.directiveStart,D+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;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}!function lR(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);Uv(0,t,i,r),Uv(1,t,i,r),Gv(t,r,!0)}else $v(0,t,o,r),$v(1,t,o,r),Gv(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,u)}null!==i&&null!==r&&function aR(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 _(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,Ne(u,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),null!==d.attrs&&Pa(d,d.attrs,!1),null!==d.mergedAttrs&&Pa(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function kd(e,t){(function Fg(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),null!=l&&(e.destroyHooks??=[]).push(n,l)}})(e,t),_p(t)&&e.queries.elementEnd(t)}function cn(e,t,n){return function r(o){Yr(ft(e)?Te(e.index,t):t,5);const s=t[8];let a=Wv(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Wv(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Wv(e,t,n,r){const o=M(null);try{return q(I.OutputStart,t,n),!1!==n(r)}catch(i){return function pd(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Qt,null)}catch{r=null}r?.(t)}(e,i),!1}finally{q(I.OutputEnd,t,n),M(o)}}function Zv(e,t,n,r,o,i,s){const a=t.firstCreatePass?function Np(e){return e.cleanup??=[]}(t):null,c=function Tp(e){return e[7]??=[]}(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function ro(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 jt=Symbol("BINDING");function Od(e){return e.debugInfo?.className||e.type.name||null}class nD extends Xr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=z(t);return new Fd(n,this.ngModule)}}class Fd extends jv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function kR(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&la.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function RR(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 eA(e){return e.map(X0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){q(I.DynamicComponentStart);const a=M(null);try{const c=this.componentDef,u=function xR(e,t,n){let r=t instanceof tt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new to(n,r):n}(c,o||this.ngModule,t),l=function OR(e){const t=e.get(Sd,null);if(null===t)throw new _(407,!1);return{rendererFactory:t,sanitizer:e.get(nR,null),changeDetectionScheduler:e.get(On,null),ngReflect:!1,tracingService:e.get(qr,null,{optional:!0})}}(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Od(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{M(a)}}createComponentRef(t,n,r,o,i,s){const a=this.componentDef,c=function LR(e,t,n,r){const o=e?["ng-version","21.2.2"]:function tA(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(!gt(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 l of n)a+=l[jt].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){const d=r[l];if("function"!=typeof d)for(const f of d.bindings){a+=f[jt].requiredVars;const h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const l of r){const f=Re("function"==typeof l?l:l.type);c.push(f)}return Ul(0,null,function jR(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),u=t.rendererFactory.createRenderer(null,a),l=o?function OA(e,t,n,r){const i=r.get(EN,!1)||n===ot.ShadowDom||n===ot.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function FA(e){Xy(e)}(s),s}(u,o,a.encapsulation,n):function FR(e,t){const n=function PR(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return aa(t,n,"svg"===n?"svg":"math"===n?"math":null)}(a,u),d=s?.some(rD)||i?.some(p=>"function"!=typeof p&&p.bindings.some(rD)),f=ua(null,c,null,512|zl(a),null,null,t,u,n,null,null);f[S]=l,Ou(f);let h=null;try{const p=Ad(S,f,2,"#host",()=>c.directiveRegistry,!0,0);vy(u,l,p),Ve(l,f),_a(c,f,p),Rl(c,p,f),kd(c,p),void 0!==r&&function VR(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=Te(p.index,f),f[8]=h[8],ba(c,f,null)}catch(p){throw null!==h&&fl(h),fl(f),p}finally{q(I.DynamicComponentEnd),Fu()}return new BR(this.componentType,f,!!d)}}function rD(e){const t=e[jt].kind;return"input"===t||"twoWay"===t}class BR extends Xk{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=function Mr(e,t){return e.data[t]}(n[1],S),this.location=Br(this._tNode,n),this.instance=Te(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new fi(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;wa(r,o[1],o,t,n),this.previousInputValues.set(t,n),Yr(Te(r.index,o),1)}get injector(){return new ce(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Yn=class{},ox=class{};class Qd extends Yn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new nD(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const i=function vt(e){return us(e),e[tp]||null}(t);this._bootstrapComponents=function Ct(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Yp(t,n,[{provide:Yn,useValue:this},{provide:Xr,useValue:this.componentFactoryResolver},...r],zt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ED extends ox{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Qd(this.moduleType,t,[])}}class ax extends Yn{injector;componentFactoryResolver=new nD(this);instance=null;constructor(t){super();const n=new Mn([...t.providers,{provide:Yn,useValue:this},{provide:Xr,useValue:this.componentFactoryResolver}],t.parent||yu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let cx=(()=>{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=fu(0,n.type),o=r.length>0?function ID(e,t,n=null){return new ax({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=j({token:e,providedIn:"environment",factory:()=>new e(V(tt))})}return e})();function CD(e){return Ft(()=>{const t=bD(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Us.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cx).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ot.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ke("NgStandalone"),MD(n);const r=e.dependencies;return n.directiveDefs=Ba(r,wD),n.pipeDefs=Ba(r,lt),n.id=function fx(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 wD(e){return z(e)||Re(e)}function Ci(e){return Ft(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ux(e,t){if(null==e)return Dt;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=la.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function lx(e){if(null==e)return Dt;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ye(e){return Ft(()=>{const t=bD(e);return MD(t),t})}function bD(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||Dt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:ux(e.inputs,t),outputs:lx(e.outputs),debugInfo:null}}function MD(e){e.features?.forEach(t=>t(e))}function Ba(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 C(""),f_=new C("");let sf,of=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,_u()&&(this._destroyRef=w(_t,{optional:!0})??void 0),sf||(function RO(e){sf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(V(J),V(kO),V(f_))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})(),kO=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sf?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function af(e){return!!e&&"function"==typeof e.then}function h_(e){return!!e&&"function"==typeof e.subscribe}const p_=new C("");let g_=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(p_,{optional:!0})??[];injector=w(je);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=vp(this.injector,o);if(af(i))n.push(i);else if(h_(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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xO=new C("");function m_(e,t){return Array.isArray(t)?t.reduce(m_,e):{...e,...t}}let ln=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(Qt);afterRenderManager=w(Fy);zonelessEnabled=w(Hu);rootEffectScheduler=w(rg);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new hr;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(xn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Dg(n=>!n))}constructor(){w(qr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(tt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=je.NULL){return this._injector.get(J).run(()=>{q(I.BootstrapComponentStart);const s=n instanceof jv;if(!this._injector.get(g_).done)throw new _(405,"");let c;c=s?n:this._injector.get(Xr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const u=function FO(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Yn),d=c.create(o,[],r||c.selector,u),f=d.location.nativeElement,h=d.injector.get(d_,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Za(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),q(I.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){q(I.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(td.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw q(I.ChangeDetectionEnd),new _(101,!1);const n=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),q(I.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sd,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){q(I.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{q(I.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||Po(o))&&(Ma(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})=>Po(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Za(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(xO,[]).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),()=>Za(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Za(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vf(e,t,n,r,o){wa(t,e,n,o?"class":"style",r)}function Ni(e,t,n,r){const o=g(),i=o[1],s=e+S,a=i.firstCreatePass?Ad(s,o,2,t,hd,function Au(){return N.bindingsEnabled}(),n,r):i.data[s];if(ft(a)){const c=o[10].tracingService;if(c&&c.componentCreate)return c.componentCreate(Od(i.data[a.directiveStart+a.componentOffset]),()=>(k_(e,t,o,a,r),Ni))}return k_(e,t,o,a,r),Ni}function k_(e,t,n,r,o){if(Ia(r,n,e,t,If),wr(r)){const i=n[1];_a(i,n,r),Rl(i,r,n)}null!=o&&function Zr(e,t,n=pe){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 Xa(){const e=x(),n=Ca(A());return e.firstCreatePass&&kd(e,n),function Rp(e){return N.skipHydrationRootTNode===e}(n)&&function xp(){N.skipHydrationRootTNode=null}(),function Ap(){N.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function ET(e){return!!(8&e.flags)}(n)&&vf(e,n,g(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function IT(e){return!!(16&e.flags)}(n)&&vf(e,n,g(),n.stylesWithoutHost,!1),Xa}function Df(e,t,n,r){return Ni(e,t,n,r),Xa(),Df}let If=(e,t,n,r,o)=>(function jo(e){Zp=e}(!0),aa(t[R],r,function MM(){return N.lFrame.currentNamespace}()));const tc="en-US";let V_=tc;function Tf(e,t,n){const r=g(),o=x(),i=A();return function Nf(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=cn(r,t,i),function xd(e,t,n,r,o,i,s,a){const c=wr(e);let u=!1,l=null;if(!r&&c&&(l=function _R(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!==l)(l.__ngLastListenerFn__||l).__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0;else{const d=pe(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function DR(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||Zv(r?m=>r(Ee(m[e.index])):e.index,t,n,i,a,h,!1)}return u}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){const f=l[d],h=l[d+1];c??=cn(r,t,i),ro(r,t,f,h,o,c)}if(u&&u.length)for(const d of u)c??=cn(r,t,i),ro(r,t,d,o,o,c)}}(o,r,r[R],i,e,t,n),Tf}let ML=(()=>{class e{applicationErrorHandler=w(Qt);appRef=w(ln);taskService=w(xn);ngZone=w(J);zonelessEnabled=w(Hu);tracing=w(qr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Xe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ws):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w($M,{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?kM:Jp;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(ws+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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hn=new C("",{factory:()=>w(hn,{optional:!0,skipSelf:!0})||function SL(){return typeof $localize<"u"&&$localize.locale||tc}()});class kI{destroyed=!1;listeners=null;errorHandler=w(Nr,{optional:!0});destroyRef=w(_t);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(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(ut(953,!1));if(null===this.listeners)return;const n=M(null);try{for(const r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}}function Vt(e,t){return function tb(e,t){const n=Object.create(nb);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(wo(n),ur(n),n.value===bt)throw n.error;return n.value};return r[he]=n,r}(e,t?.equal)}Error,Error;const mc=Symbol("InputSignalNode#UNSET"),yC={...jc,transformFn:void 0,applyValueToInputSignal(e,t){So(e,t)}};function vC(e,t){const n=Object.create(yC);function r(){if(ur(n),n.value===mc)throw new _(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[he]=n,r}function DC(e,t){return vC(e,t)}const eh=(DC.required=function V2(e){return vC(mc,e)},DC);function _C(e,t){const n=Object.create(yC),r=new kI;function o(){return ur(n),EC(n.value),n.value}return n.value=e,o[he]=n,o.asReadonly=bs.bind(o),o.set=i=>{n.equal(n.value,i)||(So(n,i),r.emit(i))},o.update=i=>{EC(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function EC(e){if(e===mc)throw new _(952,!1)}function IC(e,t){return _C(e)}const $2=(IC.required=function H2(e){return _C(mc)},IC),yc=new C(""),K2=new C("");function Gi(e){return!e.moduleRef}let SC;function TC(){SC=J2}function J2(e,t){const n=e.injector.get(ln);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new _(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let NC=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const o=[[{provide:On,useExisting:ML},{provide:J,useClass:PM},{provide:Hu,useValue:!0}],...r?.applicationProviders??[],BM],i=function sx(e,t,n){return new Qd(e,t,n,!1)}(n.moduleType,this.injector,o);return TC(),function MC(e){const t=Gi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{Gi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Qt);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Gi(e)){const i=()=>t.destroy(),s=e.platformInjector.get(yc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yc);s.add(i),e.moduleRef.onDestroy(()=>{Za(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function X2(e,t,n){try{const r=n();return af(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(xn),s=i.add(),a=t.get(g_);return a.runInitializers(),a.donePromise.then(()=>{if(function ZF(e){"string"==typeof e&&(V_=e.toLowerCase().replace(/_/g,"-"))}(t.get(hn,tc)||tc),!t.get(K2,!0))return Gi(e)?t.get(ln):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Gi(e)){const l=t.get(ln);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return SC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const o=m_({},r);return TC(),function U2(e,t,n){const r=new ED(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(V(je))};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Eo=null;function AC(e,t,n=[]){const r=`Platform: ${t}`,o=new C(r);return(i=[])=>{let s=vc();if(!s){const a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??function eB(e){if(vc())throw new _(400,!1);(function OO(){!function ob(e){jh=e}(()=>{throw new _(600,"")})})(),Eo=e;const t=e.get(NC);return function RC(e){const t=e.get(Em,null);vp(e,()=>{t?.forEach(n=>n())})}(e),t}(function kC(e=[],t){return je.create({name:t,providers:[{provide:gu,useValue:"platform"},{provide:yc,useValue:new Set([()=>Eo=null])},...e]})}(a,r))}return function tB(){const t=vc();if(!t)throw new _(-401,!1);return t}()}}function vc(){return Eo?.get(NC)??null}const SB=AC(null,"core",[]);let TB=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(V(ln))};static \u0275mod=Ci({type:e});static \u0275inj=pr({})}return e})();let sH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ci({type:e});static \u0275inj=pr({})}return e})();class pw{_doc;constructor(t){this._doc=t}manager}let Dh=(()=>{class e extends pw{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)(V(Ot))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const _h=new C("");let gw=(()=>{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 Dh));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof Dh);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 _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(V(_h),V(J))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Eh="ng-app-id";function mw(e){for(const t of e)t.remove()}function yw(e,t){const n=t.createElement("style");return n.textContent=e,n}function Ih(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let vw=(()=>{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 aH(e,t,n,r){const o=e.head?.querySelectorAll(`style[${Eh}="${t}"],link[${Eh}="${t}"]`);if(o)for(const i of o)i.removeAttribute(Eh),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,yw);r?.forEach(o=>this.addUsage(o,this.external,Ih))}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&&(mw(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])mw(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,yw(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Ih(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)(V(Ot),V(Vr),V(Cm,8),V(Im))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Ch={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"},wh=/%COMP%/g,hH=new C("",{factory:()=>!0});function _w(e,t){return t.map(n=>n.replace(wh,e))}let Ew=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new bh(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof ww?o.applyToHost(n):o instanceof Mh&&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,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case ot.Emulated:i=new ww(c,u,r,this.appId,l,s,a,d);break;case ot.ShadowDom:return new Cw(c,n,r,s,a,this.nonce,d,u);case ot.ExperimentalIsolatedShadowDom:return new Cw(c,n,r,s,a,this.nonce,d);default:i=new Mh(c,u,r,l,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)(V(gw),V(vw),V(Vr),V(hH),V(Ot),V(J),V(Cm),V(qr,8))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();class bh{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(Ch[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Iw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Iw(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 _(-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=Ch[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Ch[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&(on.DashCase|on.Important)?t.style.setProperty(n,r,o&on.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&on.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=Uu().getGlobalEventTarget(this.doc,t)))throw new _(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 Iw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Cw extends bh{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 u=r.styles;u=_w(r.id,u);for(const d of u){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const l=r.getExternalStyles?.();if(l)for(const d of l){const f=Ih(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 Mh extends bh{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 u=r.styles;this.styles=c?_w(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===sn.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class ww extends Mh{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=function pH(e){return"_ngcontent-%COMP%".replace(wh,e)}(u),this.hostAttr=function gH(e){return"_nghost-%COMP%".replace(wh,e)}(u)}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 Th extends QM{supportsDOMEvents=!0;static makeCurrent(){!function ZM(e){sg??=e}(new Th)}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 vH(){return Yi=Yi||document.head.querySelector("base"),Yi?Yi.getAttribute("href"):null}();return null==n?null:function DH(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Yi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function YM(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 Yi=null,EH=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Mw=["alt","control","meta","shift"],IH={"\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"},CH={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let wH=(()=>{class e extends pw{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(()=>Uu().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."),Mw.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),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=IH[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"),Mw.forEach(s=>{s!==o&&(0,CH[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)(V(Ot))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const TH=AC(SB,"browser",[{provide:Im,useValue:"browser"},{provide:Em,useValue:function bH(){Th.makeCurrent()},multi:!0},{provide:Ot,useFactory:function SH(){return function hN(e){ml=e}(document),document}}]),Nw=[{provide:f_,useClass:class _H{addToWindow(t){ie.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),ie.getAllAngularRootElements=()=>t.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const o=ie.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Uu().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:d_,useClass:of},{provide:of,useClass:of}],Aw=[{provide:gu,useValue:"root"},{provide:Nr,useFactory:function MH(){return new Nr}},{provide:_h,useClass:Dh,multi:!0},{provide:_h,useClass:wH,multi:!0},Ew,vw,gw,{provide:Sd,useExisting:Ew},{provide:class KM{},useClass:EH},[]];let NH=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ci({type:e});static \u0275inj=pr({providers:[...Aw,...Nw],imports:[sH,TB]})}return e})();const kw={now:()=>(kw.delegate||Date).now(),delegate:void 0};class AH extends hr{constructor(t=1/0,n=1/0,r=kw){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 sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function OH(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 Ow(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(u){i({value:u,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}const Fw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Pw(e){return ve(e?.then)}function Lw(e){return ve(e[qc])}function jw(e){return Symbol.asyncIterator&&ve(e?.[Symbol.asyncIterator])}function Bw(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 Vw=function PH(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Hw(e){return ve(e?.[Vw])}function $w(e){return function xH(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 sr?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function l(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 sr(n.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function Uw(e){return ve(e?.getReader)}function ar(e){if(e instanceof Fe)return e;if(null!=e){if(Lw(e))return function LH(e){return new Fe(t=>{const n=e[qc]();if(ve(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Fw(e))return function jH(e){return new Fe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Pw(e))return function BH(e){return new Fe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Gh)})}(e);if(jw(e))return zw(e);if(Hw(e))return function VH(e){return new Fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Uw(e))return function HH(e){return zw($w(e))}(e)}throw Bw(e)}function zw(e){return new Fe(t=>{(function $H(e,t){var n,r,o,i;return function kH(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=OH(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 gn(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 Gw(e,t,n=1/0){return ve(t)?Gw((r,o)=>Dg((i,s)=>t(r,i,o,s))(ar(e(r,o))),n):("number"==typeof t&&(n=t),$o((r,o)=>function UH(e,t,n,r,o,i,s,a){const c=[];let u=0,l=0,d=!1;const f=()=>{d&&!c.length&&!u&&t.complete()},h=m=>u<r?p(m):c.push(m),p=m=>{i&&t.next(m),u++;let D=!1;ar(n(m,l++)).subscribe(Ar(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){const E=c.shift();s?gn(t,s,()=>p(E)):p(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(Ar(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const qw=new Fe(e=>e.complete());function xh(e){return e[e.length-1]}function Ww(e,t=0){return $o((n,r)=>{n.subscribe(Ar(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function Zw(e,t=0){return $o((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Qw(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function o$(...e){const t=function QH(e){return function WH(e){return e&&ve(e.schedule)}(xh(e))?e.pop():void 0}(e),n=function YH(e,t){return"number"==typeof xh(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?ar(r[0]):function zH(e=1/0){return Gw(Wh,e)}(n)(function r$(e,t){return t?function n$(e,t){if(null!=e){if(Lw(e))return function KH(e,t){return ar(e).pipe(Zw(t),Ww(t))}(e,t);if(Fw(e))return function XH(e,t){return new Fe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Pw(e))return function JH(e,t){return ar(e).pipe(Zw(t),Ww(t))}(e,t);if(jw(e))return Qw(e,t);if(Hw(e))return function e$(e,t){return new Fe(n=>{let r;return gn(n,t,()=>{r=e[Vw](),gn(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)}),()=>ve(r?.return)&&r.return()})}(e,t);if(Uw(e))return function t$(e,t){return Qw($w(e),t)}(e,t)}throw Bw(e)}(e,t):ar(e)}(r,t)):qw}function i$(e,t){return $o((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ar(r,c=>{o?.unsubscribe();let u=0;const l=i++;ar(e(c,l)).subscribe(o=Ar(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const s$={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let Oh;function h$(e,t,n){let r=n;return function c$(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function u$(e,t){if(!Oh){const n=Element.prototype;Oh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Oh.call(e,t)}(e,o)||(r=i,0))),r}class g${componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Xr).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new m$(this.componentFactory,t,this.inputMap)}}class m${componentFactory;injector;inputMap;eventEmitters=new AH(1);events=this.eventEmitters.pipe(i$(t=>o$(...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(J),this.appRef=this.injector.get(ln),this.cdScheduler=n.get(On),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=s$.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 sk(e){return Po(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function ak(e){bu(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=je.create({providers:[],parent:this.injector}),r=function f$(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=h$(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 Fe(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 y$ extends HTMLElement{ngElementEventsSubscription=null}function v$(e,t){const n=function d$(e,t){return t.get(Xr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new g$(e,t.injector),o=function l$(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function a$(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends y${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:u})=>{if(!this.hasOwnProperty(c))return;const l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,u,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 u=this.ngElementStrategy.getInputValue(s);return c&&function qa(e){return"function"==typeof e&&void 0!==e[he]}(u)?u():u},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),i}let D$=(()=>{class e{destroyRef=w(_t);_isDarkMode=function Bu(e,t){const[n,r,o]=ib(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=bs.bind(i),i}(this.hasDarkClass());isDarkMode=Vt(()=>this._isDarkMode());darkModeChange=function B2(){return new kI}();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()),Ms(()=>{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=Ye({type:e,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return e})(),_$=(()=>{class e{size=eh("m");active=eh(!1);continuous=eh(!1);isDarkMode=$2(!1);handleDarkModeChange(n){this.isDarkMode.set(n),-1===this.raf&&this.animate()}colorA=Vt(()=>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(){Ms(()=>{this.active()?this.activate():this.deactivate()}),Ms(()=>{this.isDarkMode(),this.animate()});const n=w(jn);nd({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 u=o.getPointAtLength(i/400*c);a.push({x:parseFloat(u.x.toFixed(2)),y:parseFloat(u.y.toFixed(2))})}a.push(o.getPointAtLength(i)),a.reverse(),a.forEach((c,u)=>{if(0===u||1===u)return;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",`M${a[u-2].x},${a[u-2].y}L${a[u-1].x},${a[u-1].y}L${c.x},${c.y}`),l.setAttribute("fill","none"),l.setAttribute("stroke","transparent"),l.setAttribute("stroke-width",o?.getAttribute("stroke-width")||"1"),l.setAttribute("stroke-miterlimit",o?.getAttribute("stroke-miterlimit")||"1"),r.appendChild(l),this.paths.push(l)})}})}ngOnDestroy(){this.paths=[],cancelAnimationFrame(this.raf),this.raf=-1}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=CD({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 Wp(){N.lFrame.currentNamespace="svg"}(),Ni(0,"svg",0),Tf("darkModeChange",function(s){return o.handleDarkModeChange(s)}),Df(1,"path",1),Xa())},dependencies:[D$],styles:["[_nghost-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:1;display:block;width:100%;height:auto}"]})}return e})(),E$=(()=>{class e{injector;constructor(n){this.injector=n}ngDoBootstrap(){const n=v$(_$,{injector:this.injector});customElements.define("cue-logo",n)}static \u0275fac=function(r){return new(r||e)(V(je))};static \u0275mod=Ci({type:e});static \u0275inj=pr({imports:[NH]})}return e})();TH().bootstrapModule(E$).catch(e=>{throw console.error("[CueLogo] Bootstrap failed:",e),e})}},ye=>{ye(ye.s=456)}]);
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[792],{456(){let ye=null,yn=!1,Ki=1;const he=Symbol("SIGNAL");function M(e){const t=ye;return ye=e,t}const cr={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 ur(e){if(yn)throw new Error("");if(null===ye)return;ye.consumerOnSignalRead(e);const t=ye.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ye.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ye.producers,void 0!==n&&n.producer===e))return ye.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===ye&&(!r||function tb(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,ye)))return;const i=dr(ye),s={producer:e,consumer:ye,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ye.producersTail=s,void 0!==t?t.nextProducer=s:ye.producers=s,i&&Lh(e,s)}function wo(e){if((!dr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Ki)){if(!e.producerMustRecompute(e)&&!Xi(e))return void Ji(e);e.producerRecomputeValue(e),Ji(e)}}function Fh(e){if(void 0===e.consumers)return;const t=yn;yn=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||Jw(r)}}finally{yn=t}}function Ph(){return!1!==ye?.consumerAllowSignalWrites}function Jw(e){e.dirty=!0,Fh(e),e.consumerMarkedDirty?.(e)}function Ji(e){e.dirty=!1,e.lastCleanEpoch=Ki}function lr(e){return e&&function Xw(e){e.producersTail=void 0,e.recomputing=!0}(e),M(e)}function bo(e,t){M(t),e&&function eb(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(dr(e))do{n=Fc(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Xi(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(wo(n),r!==n.version))return!0}return!1}function Mo(e){if(dr(e)){let t=e.producers;for(;void 0!==t;)t=Fc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Lh(e,t){const n=e.consumersTail,r=dr(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)Lh(o.producer,o)}function Fc(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,!dr(t)){let i=t.producers;for(;void 0!==i;)i=Fc(i)}return n}function dr(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Lc(e,t){return Object.is(e,t)}const vn=Symbol("UNSET"),fr=Symbol("COMPUTING"),bt=Symbol("ERRORED"),rb={...cr,value:vn,dirty:!0,error:null,equal:Lc,kind:"computed",producerMustRecompute:e=>e.value===vn||e.value===fr,producerRecomputeValue(e){if(e.value===fr)throw new Error("");const t=e.value;e.value=fr;const n=lr(e);let r,o=!1;try{r=e.computation(),M(null),o=t!==vn&&t!==bt&&r!==bt&&e.equal(t,r)}catch(i){r=bt,e.error=i}finally{bo(e,n)}o?e.value=t:(e.value=r,e.version++)}};let jh=function ob(){throw new Error};function Bh(e){jh(e)}function sb(e,t){const n=Object.create(jc);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function ab(e){return ur(e),e.value}(n);return r[he]=n,[r,s=>So(n,s),s=>function Vh(e,t){Ph()||Bh(e),So(e,t(e.value))}(n,s)]}function So(e,t){Ph()||Bh(e),e.equal(e.value,t)||(e.value=t,function cb(e){e.version++,function Kw(){Ki++}(),Fh(e)}(e))}const jc={...cr,equal:Lc,value:void 0,kind:"signal"},ub={...cr,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ve(e){return"function"==typeof e}function Hh(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 Bc=Hh(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 Vc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Xe{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(ve(r))try{r()}catch(i){t=i instanceof Bc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{zh(i)}catch(s){t=t??[],s instanceof Bc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)zh(t);else{if(t instanceof Xe){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)&&Vc(n,t)}remove(t){const{_finalizers:n}=this;n&&Vc(n,t),t instanceof Xe&&t._removeParent(this)}}Xe.EMPTY=(()=>{const e=new Xe;return e.closed=!0,e})();const $h=Xe.EMPTY;function Uh(e){return e instanceof Xe||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function zh(e){ve(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ts={setTimeout(e,t,...n){const{delegate:r}=ts;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ts;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gh(e){ts.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function qh(){}const db=Hc("C",void 0,void 0);function Hc(e,t,n){return{kind:e,value:t,error:n}}let _n=null;function ns(e){if(Dn.useDeprecatedSynchronousErrorHandling){const t=!_n;if(t&&(_n={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=_n;if(_n=null,n)throw r}}else e()}class $c extends Xe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Uh(t)&&t.add(this)):this.destination=vb}static create(t,n,r){return new zc(t,n,r)}next(t){this.isStopped?Gc(function hb(e){return Hc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Gc(function fb(e){return Hc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Gc(db,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 gb=Function.prototype.bind;function Uc(e,t){return gb.call(e,t)}class mb{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rs(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rs(r)}else rs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rs(n)}}}class zc extends $c{constructor(t,n,r){let o;if(super(),ve(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Uc(t.next,i),error:t.error&&Uc(t.error,i),complete:t.complete&&Uc(t.complete,i)}):o=t}this.destination=new mb(o)}}function rs(e){Dn.useDeprecatedSynchronousErrorHandling?function pb(e){Dn.useDeprecatedSynchronousErrorHandling&&_n&&(_n.errorThrown=!0,_n.error=e)}(e):Gh(e)}function Gc(e,t){const{onStoppedNotification:n}=Dn;n&&ts.setTimeout(()=>n(e,t))}const vb={closed:!0,next:qh,error:function yb(e){throw e},complete:qh},qc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Wh(e){return e}let Fe=(()=>{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 _b(e){return e&&e instanceof $c||function Db(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(e)&&Uh(e)}(n)?n:new zc(n,r,o);return ns(()=>{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=Qh(r))((o,i)=>{const s=new zc({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)}[qc](){return this}pipe(...n){return function Zh(e){return 0===e.length?Wh:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Qh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qh(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const Eb=Hh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Wc,hr=(()=>{class e extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Yh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Eb}next(n){ns(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ns(()=>{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(){ns(()=>{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?$h:(this.currentObservers=null,i.push(n),new Xe(()=>{this.currentObservers=null,Vc(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Fe;return n.source=this,n}}return e.create=(t,n)=>new Yh(t,n),e})();class Yh extends hr{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:$h}}class Ib extends hr{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 Zc(){return Wc}function Ut(e){const t=Wc;return Wc=e,t}const Cb=Symbol("NotFound");function Qc(e){return e===Cb||"\u0275NotFound"===e?.name}Error;class _ extends Error{code;constructor(t,n){super(ut(t,n)),this.code=t}}function ut(e,t){return`${function bb(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}const ie=globalThis;function U(e){for(let t in e)if(e[t]===U)return t;throw Error("")}function zt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(zt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Kc(e,t){return e?t?`${e} ${t}`:e:t||""}const Sb=U({__forward_ref__:U});function Jc(e){return e.__forward_ref__=Jc,e}function F(e){return function os(e){return"function"==typeof e&&e.hasOwnProperty(Sb)&&e.__forward_ref__===Jc}(e)?e():e}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pr(e){return{providers:e.providers||[],imports:e.imports||[]}}function is(e){return function xb(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,as)}function ss(e){return e&&e.hasOwnProperty(Xc)?e[Xc]:null}const as=U({\u0275prov:U}),Xc=U({\u0275inj:U});class C{_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=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function tu(e){return e&&!!e.\u0275providers}const ep=U({\u0275cmp:U}),Bb=U({\u0275dir:U}),Vb=U({\u0275pipe:U}),tp=U({\u0275mod:U}),Cn=U({\u0275fac:U}),To=U({__NG_ELEMENT_ID__:U}),np=U({__NG_ENV_ID__:U});function z(e){return us(e),e[ep]||null}function Re(e){return us(e),e[Bb]||null}function lt(e){return us(e),e[Vb]||null}function us(e,t){if(null==e)throw new _(-919,!1)}const ru=U({ngErrorCode:U}),rp=U({ngErrorMessage:U}),Ao=U({ngTokenPath:U});function ou(e,t){return op("",-200,t)}function iu(e,t){throw new _(-201,!1)}function op(e,t,n){const r=new _(t,e);return r[ru]=t,r[rp]=e,n&&(r[Ao]=n),r}let su;function ip(){return su}function Pe(e){const t=su;return su=e,t}function sp(e,t,n){const r=is(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void iu()}const wn={};class qb{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ko(n)||0;try{return this.injector.get(t,8&r?null:wn,r)}catch(o){if(Qc(o))return o;throw o}}}function Wb(e,t=0){const n=Zc();if(void 0===n)throw new _(-203,!1);if(null===n)return sp(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(Qc(o)){if(r.optional)return null;throw o}return o}}function V(e,t=0){return(ip()||Wb)(F(e),t)}function w(e,t){return V(e,ko(t))}function ko(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cu(e){const t=[];for(let n=0;n<e.length;n++){const r=F(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(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(V(o,i))}else t.push(V(r))}return t}function Qb(e){return e.__NG_DI_FLAG__}function bn(e,t){return e.hasOwnProperty(Cn)?e[Cn]:null}function yr(e,t){e.forEach(n=>Array.isArray(n)?yr(n,t):t(n))}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Dt={},K=[],vr=new C(""),lu=new C("",-1),du=new C("");class hs{get(t,n=wn){if(n===wn){const o=op("",-201);throw o.name="\u0275NotFound",o}return n}}function Xb(...e){return{\u0275providers:fu(0,e),\u0275fromNgModule:!0}}function fu(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return yr(t,s=>{const a=s;ps(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&fp(o,i),n}function fp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];hu(o,i=>{t(i,r)})}}function ps(e,t,n,r){if(!(e=F(e)))return!1;let o=null,i=ss(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=ss(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 u of c)ps(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o),yr(i.imports,l=>{ps(l,t,n,r)&&(u||=[],u.push(l))}),void 0!==u&&fp(u,t)}if(!a){const u=bn(o)||(()=>new o);t({provide:o,useFactory:u,deps:K},o),t({provide:du,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>V(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const u=e;hu(c,l=>{t(l,u)})}}}return o!==e&&void 0!==e.providers}function hu(e,t){for(let n of e)tu(n)&&(n=n.\u0275providers),Array.isArray(n)?hu(n,t):t(n)}const eM=U({provide:String,useValue:U});function pu(e){return null!==e&&"object"==typeof e&&eM in e}function Mt(e){return"function"==typeof e}const gu=new C(""),gs={},mp={};let mu;function yu(){return void 0===mu&&(mu=new hs),mu}class tt{}class Mn extends tt{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,Du(t,s=>this.processProvider(s)),this.records.set(lu,Dr(void 0,this)),o.has("environment")&&this.records.set(tt,Dr(void 0,this));const i=this.records.get(gu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(du,K,{self:!0}))}retrieve(t,n){const r=ko(n)||0;try{return this.get(t,wn,r)}catch(o){if(Qc(o))return o;throw o}}destroy(){Oo(this),this._destroyed=!0;const t=M(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(),M(t)}}onDestroy(t){return Oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Oo(this);const n=Ut(this),r=Pe(void 0);try{return t()}finally{Ut(n),Pe(r)}}get(t,n=wn,r){if(Oo(this),t.hasOwnProperty(np))return t[np](this);const o=ko(r),s=Ut(this),a=Pe(void 0);try{if(!(4&o)){let u=this.records.get(t);if(void 0===u){const l=function iM(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&is(t);u=l&&this.injectableDefInScope(l)?Dr(vu(t),gs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u,o)}return(2&o?yu():this.parent).get(t,n=8&o&&n===wn?null:n)}catch(c){const u=function zb(e){return e[ru]}(c);throw-200===u||-201===u?new _(u,null):c}finally{Pe(a),Ut(s)}}resolveInjectorInitializers(){const t=M(null),n=Ut(this),r=Pe(void 0);try{const i=this.get(vr,K,{self:!0});for(const s of i)s()}finally{Ut(n),Pe(r),M(t)}}toString(){return"R3Injector[...]"}processProvider(t){let n=Mt(t=F(t))?t:F(t&&t.provide);const r=function nM(e){return pu(e)?Dr(void 0,e.useValue):Dr(function yp(e,t,n){let r;if(Mt(e)){const o=F(e);return bn(o)||vu(o)}if(pu(e))r=()=>F(e.useValue);else if(function pp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...cu(e.deps||[]));else if(function hp(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>V(F(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=F(e&&(e.useClass||e.provide));if(!function rM(e){return!!e.deps}(e))return bn(o)||vu(o);r=()=>new o(...cu(e.deps))}return r}(e),gs)}(t);if(!Mt(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Dr(void 0,gs,!0),o.factory=()=>cu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=M(null);try{if(n.value===mp)throw ou();return n.value===gs&&(n.value=mp,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function oM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(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 vu(e){const t=is(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof C)throw new _(-204,!1);if(e instanceof Function)return function tM(e){if(e.length>0)throw new _(-204,!1);const n=function Ob(e){return(e?.[as]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new _(-204,!1)}function Oo(e){if(e.destroyed)throw new _(-205,!1)}function Dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Du(e,t){for(const n of e)Array.isArray(n)?Du(n,t):n&&tu(n)?Du(n.\u0275providers,t):t(n)}function vp(e,t){let n;e instanceof Mn?(Oo(e),n=e):n=new qb(e);const o=Ut(n),i=Pe(void 0);try{return t()}finally{Ut(o),Pe(i)}}function _u(){return void 0!==ip()||null!=Zc()}const R=11,S=27,W=10;function oe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Se(e){return Array.isArray(e)&&!0===e[1]}function _p(e){return!!(4&e.flags)}function ft(e){return e.componentOffset>-1}function wr(e){return!(1&~e.flags)}function ht(e){return!!e.template}function Wt(e){return!!(512&e[2])}function Nt(e){return!(256&~e[2])}function Ee(e){for(;Array.isArray(e);)e=e[0];return e}function pe(e,t){return Ee(t[e.index])}function Te(e,t){const n=t[e];return oe(n)?n:n[0]}function wu(e){return!(128&~e[2])}function Ne(e,t){return null==t?null:e[t]}function Mp(e){e[17]=0}function bu(e){1024&e[2]||(e[2]|=1024,wu(e)&&Sr(e))}function Po(e){return!!(9216&e[2]||e[24]?.dirty)}function Mu(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Po(e)&&Sr(e)}function Sr(e){e[10].changeDetectionScheduler?.notify(0);let t=At(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,wu(t));)t=At(t)}function Ds(e,t){if(Nt(e))throw new _(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function At(e){const t=e[3];return Se(t)?t[3]:t}const N={lFrame:zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Nu=!1;function g(){return N.lFrame.lView}function x(){return N.lFrame.tView}function A(){let e=Op();for(;null!==e&&64===e.type;)e=e.parent;return e}function Op(){return N.lFrame.currentTNode}function kt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Fp(){return N.lFrame.isParent}function Bp(){return Nu}function _s(e){const t=Nu;return Nu=e,t}function _M(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,ku(t)}function ku(e){N.lFrame.currentDirectiveIndex=e}function Es(e){N.lFrame.currentQueryIndex=e}function IM(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function $p(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=IM(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=Up();return r.currentTNode=t,r.lView=e,!0}function Ou(e){const t=Up(),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 Up(){const e=N.lFrame,t=null===e?null:e.child;return null===t?zp(e):t}function zp(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 Gp(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qp=Gp;function Fu(){const e=Gp();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 Rn(e){N.lFrame.selectedIndex=e}let Zp=!0;function Qp(e,t=null,n=null,r){const o=Yp(e,t,n);return o.resolveInjectorInitializers(),o}function Yp(e,t=null,n=null,r,o=new Set){const i=[n||K,Xb(e)];return new Mn(i,t||yu(),null,o)}class je{static THROW_IF_NOT_FOUND=wn;static NULL=new hs;static create(t,n){if(Array.isArray(t))return Qp({name:""},n,t);{const r=t.name??"";return Qp({name:r},t.parent,t.providers)}}static \u0275prov=j({token:je,providedIn:"any",factory:()=>V(lu)});static __NG_ELEMENT_ID__=-1}const Ot=new C("");let _t=(()=>class e{static __NG_ELEMENT_ID__=TM;static __NG_ENV_ID__=n=>n})();class Kp extends _t{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Nt(this._lView)}onDestroy(t){const n=this._lView;return Ds(n,t),()=>function Su(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function TM(){return new Kp(g())}const NM=!1,AM=new C("");let xn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ib(!1);debugTaskTracker=w(AM,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Fe(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=j({token:e,providedIn:"root",factory:()=>new e})}return e})();const Zt=class kM extends hr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,_u()&&(this.destroyRef=w(_t,{optional:!0})??void 0,this.pendingTasks=w(xn,{optional:!0})??void 0)}emit(t){const n=M(null);try{super.next(t)}finally{M(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 Xe&&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 Cs(...e){}function Jp(e){let t,n;function r(){e=Cs;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 RM(e){return queueMicrotask(()=>e()),()=>{e=Cs}}const Pu="isAngularZone",ws=Pu+"_ID";let xM=0;class J{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Zt(!1);onMicrotaskEmpty=new Zt(!1);onStable=new Zt(!1);onError=new Zt(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=NM}=t;if(typeof Zone>"u")throw new _(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 PM(e){const t=()=>{!function FM(e){function t(){Jp(()=>{e.callbackScheduled=!1,ju(e),e.isCheckStableRunning=!0,Lu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ju(e))}(e)},n=xM++;e._inner=e._inner.fork({name:"angular",properties:{[Pu]:!0,[ws]:n,[ws+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function jM(e){return tg(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return Xp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),eg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Xp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function BM(e){return tg(e,"__scheduler_tick__")}(c)&&t(),eg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,ju(e),Lu(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(Pu)}static assertInAngularZone(){if(!J.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new _(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,OM,Cs,Cs);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 OM={};function Lu(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 ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Xp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eg(e){e._nesting--,Lu(e)}class LM{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Zt;onMicrotaskEmpty=new Zt;onStable=new Zt;onError=new Zt;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 tg(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Nr{_console=console;handleError(t){this._console.error("ERROR",t)}}const Qt=new C("",{factory:()=>{const e=w(J),t=w(tt);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Nr),n.handleError(r))})}}}),VM={provide:vr,useValue:()=>{w(Nr,{optional:!0})},multi:!0};function bs(){const e=this[he];if(void 0===e.readonlyFn){const t=()=>this();t[he]=e,e.readonlyFn=t}return e.readonlyFn}let Vu=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=$M})();function $M(){return new Vu(g(),A())}class On{}const Hu=new C("",{factory:()=>!0}),UM=new C("");let rg=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>new zM})}return e})();class zM{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 $u{[he];constructor(t){this[he]=t}destroy(){this[he].destroy()}}function Ms(e,t){const n=t?.injector??w(je);let o,r=!0!==t?.manualCleanup?n.get(_t):null;const i=n.get(Vu,null,{optional:!0}),s=n.get(On);return null!==i?(o=function WM(e,t,n){const r=Object.create(qM);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ig(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(i.view,s,e),r instanceof Kp&&r._lView===i.view&&(r=null)):o=function ZM(e,t,n){const r=Object.create(GM);return r.fn=ig(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(rg),s),o.injector=n,null!==r&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new $u(o)}const og={...ub,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const e=_s(!1);try{!function lb(e){if(e.dirty=!1,e.version>0&&!Xi(e))return;e.version++;const t=lr(e);try{e.cleanup(),e.fn()}finally{bo(e,t)}}(this)}finally{_s(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}},GM={...og,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Mo(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},qM={...og,consumerMarkedDirty(){this.view[2]|=8192,Sr(this.view),this.notifier.notify(13)},destroy(){if(Mo(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}};function ig(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}let sg=null;function Uu(){return sg}class YM{}function $o(e){return t=>{if(function xS(e){return ve(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 Ar(e,t,n,r,o){return new OS(e,t,n,r,o)}class OS extends $c{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 Dg(e,t){return $o((n,r)=>{let o=0;n.subscribe(Ar(r,i=>{r.next(e.call(t,i,o++))}))})}function Ft(e){return{toString:e}.toString()}function kg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class hT{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function pT(){const e=Og(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function gT(e,t,n,r,o){const i=this.declaredInputs[r],s=Og(e)||function mT(e,t){return e[xg]=t}(e,{previous:Dt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new hT(u&&u.currentValue,n,c===Dt),kg(e,t,o,n)}const xg="__ngSimpleChanges__";function Og(e){return e[xg]||null}const Pn=[],q=function(e,t=null,n){for(let r=0;r<Pn.length;r++)(0,Pn[r])(e,t,n)};var I=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}(I||{});function Ps(e,t,n){Pg(e,t,3,n)}function Ls(e,t,n,r){(3&e[2])===n&&Pg(e,t,n,r)}function nl(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function Pg(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)&&(ET(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function Lg(e,t){q(I.LifecycleHookStart,e,t);const n=M(null);try{t.call(e)}finally{M(n),q(I.LifecycleHookEnd,e,t)}}function ET(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,Lg(a,i)):Lg(a,i)}class qo{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 Bg(e){return 3===e||4===e||6===e}function Vg(e){return 64===e.charCodeAt(0)}function jr(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||Hg(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Hg(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 Wo(e){return 32767&e}function Zo(e,t){let n=function bT(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let il=!0;function js(e){const t=il;return il=e,t}let MT=0;const It={};function Bs(e,t){const n=zg(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,sl(r.data,e),sl(t,null),sl(r.blueprint,null));const o=Vs(e,t),i=e.injectorIndex;if(function ol(e){return-1!==e}(o)){const s=Wo(o),a=Zo(o,t),c=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vs(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=Kg(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function al(e,t,n){!function ST(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(To)&&(r=n[To]),null==r&&(r=n[To]=MT++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Gg(e,t,n){if(8&n||void 0!==e)return e;iu()}function qg(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=Pe(void 0);try{return o?o.get(t,r,8&n):sp(t,r,8&n)}finally{Pe(i)}}return Gg(r,0,n)}function Wg(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function xT(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!Wt(s);){const a=Zg(i,s,n,2|r,It);if(a!==It)return a;let c=i.parent;if(!c){const u=s[20];if(u){const l=u.get(n,It,-5&r);if(l!==It)return l}c=Kg(s),s=s[14]}i=c}return o}(e,t,n,r,It);if(s!==It)return s}const i=Zg(e,t,n,r,It);if(i!==It)return i}return qg(t,n,r,o)}function Zg(e,t,n,r,o){const i=function AT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(To)?e[To]:void 0;return"number"==typeof t?t>=0?255&t:kT:t}(n);if("function"==typeof i){if(!$p(t,e,r))return 1&r?Gg(o,0,r):qg(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;iu()}finally{qp()}}else if("number"==typeof i){let s=null,a=zg(e,t),c=-1,u=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?Vs(e,t):t[a+8],-1!==c&&Yg(r,!1)?(s=t[1],a=Wo(c),t=Zo(c,t)):a=-1);-1!==a;){const l=t[1];if(Qg(i,a,l.data)){const d=NT(a,t,n,s,r,u);if(d!==It)return d}c=t[a+8],-1!==c&&Yg(r,t[1].data[a+8]===u)&&Qg(i,a,t)?(s=l,a=Wo(c),t=Zo(c,t)):a=-1}}return o}function NT(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=function Hs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;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&&ht(h)&&h.type===n)return c}return null}(a,s,n,null==r?ft(a)&&il:r!=s&&!!(3&a.type),1&o&&i===a);return null!==l?Qo(t,s,l,a,o):It}function Qo(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof qo){const a=i;if(a.resolving)throw ou();const c=js(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Pe(a.injectImpl):null;$p(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _T(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=gT),pT}(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&&Pe(d),js(c),a.resolving=!1,qp()}}return i}function Qg(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Yg(e,t){return!(2&e||1&e&&t)}class ce{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wg(this._tNode,this._lView,t,ko(r),n)}}function kT(){return new ce(A(),g())}function Kg(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function HT(){return Br(A(),g())}function Br(e,t){return new jn(pe(e,t))}let jn=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=HT})();Symbol;var Us=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(Us||{});const zs=new Map;let qT=0;function fl(e){zs.delete(e[19])}const pl="__ngContext__";function Ve(e,t){oe(t)?(e[pl]=t[19],function ZT(e){zs.set(e[19],e)}(t)):e[pl]=t}function fm(e){return pm(e[12])}function hm(e){return pm(e[4])}function pm(e){for(;null!==e&&!Se(e);)e=e[4];return e}let ml;const Vr=new C("",{factory:()=>gN}),gN="ng",Em=new C(""),Im=new C("",{providedIn:"platform",factory:()=>"unknown"}),Cm=new C("",{factory:()=>w(Ot).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),IN=new C("",{factory:()=>!1});function Ys(e){return!(32&~e.flags)}function Km(e,t){const n=e.contentQueries;if(null!==n){const r=M(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Es(n[o]),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function kl(e,t,n){Es(0);const r=M(null);try{t(e,n)}finally{M(r)}}function Rl(e,t,n){if(_p(t)){const r=M(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{M(r)}}}var ot=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(ot||{});function aa(e,t,n){return e.createElement(t,n)}function Bn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gy(e,t,n){e.appendChild(t,n)}function my(e,t,n,r,o){null!==r?Bn(e,t,n,r,o):gy(e,t,n)}function vy(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function wT(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];Vg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function w0(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function C0(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function G0(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 by="ng-template";function q0(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==G0(t[o+1].toLowerCase(),n,0))return!0}else if($l(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 $l(e){return 4===e.type&&e.value!==by}function W0(e,t,n){return t===(4!==e.type||n?e.value:by)}function Z0(e,t,n){let r=4;const o=e.attrs,i=null!==o?function K0(e){for(let t=0;t<e.length;t++)if(Bg(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&&!W0(e,c,n)||""===c&&1===t.length){if(gt(r))return!1;s=!0}}else if(8&r){if(null===o||!q0(e,o,c,n)){if(gt(r))return!1;s=!0}}else{const u=t[++a],l=Q0(c,o,$l(e),n);if(-1===l){if(gt(r))return!1;s=!0;continue}if(""!==u){let d;if(d=l>i?"":o[l+1].toLowerCase(),2&r&&u!==d){if(gt(r))return!1;s=!0}}}}else{if(!s&&!gt(r)&&!gt(c))return!1;if(s&&gt(c))continue;s=!1,r=c|1&r}}return gt(r)||s}function gt(e){return!(1&e)}function Q0(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 J0(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 My(e,t,n=!1){for(let r=0;r<t.length;r++)if(Z0(e,t[r],n))return!0;return!1}function Sy(e,t){return e?":not("+t.trim()+")":t}function eA(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&&!gt(s)&&(t+=Sy(i,o),o=""),r=s,i=i||!gt(r);n++}return""!==o&&(t+=Sy(i,o)),t}const G={};function Ul(e,t,n,r,o,i,s,a,c,u,l){const d=S+r,f=d+o,h=function rA(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}(d,f),p="function"==typeof u?u():u;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:l}}function ua(e,t,n,r,o,i,s,a,c,u,l){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==u||e&&2048&e[2])&&(d[2]|=2048),Mp(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[R]=a||e&&e[R],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function WT(){return qT++}(),d[6]=l,d[20]=u,d[15]=2==t.type?e[15]:d,d}function zl(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function si(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 la=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(la||{});function rn(e,t,n,r){const o=M(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&la.SignalBased)&&(c=t[i][he]),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):kg(t,c,i,r)}finally{M(o)}}var on=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(on||{});function Wl(e,t){return(void 0)(e,t)}typeof document<"u"&&document;const ai=new WeakMap,Ql=new WeakSet;const sn=new Set;var td=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(td||{});const qr=new C(""),Oy=new Set;function ke(e){Oy.has(e)||(Oy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Fy=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();const Py=[0,1,2,3];let _A=(()=>{class e{ngZone=w(J);scheduler=w(On);errorHandler=w(Nr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(qr,{optional:!0})}execute(){const n=this.sequences.size>0;n&&q(I.AfterRenderHooksStart),this.executing=!0;for(const r of Py)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&&q(I.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),Sr(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(td.AFTER_NEXT_RENDER,n):n()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();class Ly{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 nd(e,t){const n=t?.injector??w(je);return ke("NgAfterNextRender"),function jy(e,t,n,r){const o=t.get(Fy);o.impl??=t.get(_A);const i=t.get(qr,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(_t):null,a=t.get(Vu,null,{optional:!0}),c=new Ly(o.impl,function IA(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 ma=new C("",{factory:()=>{const e=w(tt),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function By(e,t,n){const r=e.get(ma);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 Vy(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function rd(e,t){for(const[n,r]of t)By(e,r.animateFns)}(r,o)}function Hy(e,t,n,r){try{n.get(lu)}catch{return r(!1)}const o=e?.[26],i=function bA(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=[];va(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&sn.add(e[19]),By(n,()=>function MA(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:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&va(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 SA(e,t,n){t.then(()=>{e[26]?.running===t&&(e[26].running=void 0,sn.delete(e[19])),n(!0)})}(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&sn.delete(e[19]),o(!0)})}else e&&sn.delete(e[19]),o(!1)}(e,t,o||void 0,i,r),o||void 0)}function va(e,t,n){if(ft(t))$y(Te(t.index,e),n);else if(12&t.type){const o=e[t.index];if(Se(o))for(let i=W;i<o.length;i++)$y(o[i],n)}let r=t.child;for(;r;)va(e,r,n),r=r.next}function $y(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;)va(e,r,t),r=r.next}function Wr(e,t,n,r,o,i,s,a){if(null!=o){let c,u=!1;Se(o)?c=o:oe(o)&&(u=!0,o=o[0]);const l=Ee(o);0===e&&null!==r?(Vy(a,r,i,n),null==s?gy(t,r,l):Bn(t,r,l,s||null,!0)):1===e&&null!==r?(Vy(a,r,i,n),Bn(t,r,l,s||null,!0),function hA(e,t){const n=ai.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),Ql.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,l)):2===e?(a?.[26]?.leave?.has(i.index)&&function Kl(e,t){const n=ai.get(e);n?n.includes(t)||n.push(t):ai.set(e,[t])}(i,l),Hy(a,i,n,d=>{Ql.has(l)?Ql.delete(l):function oi(e,t,n,r){e.removeChild(null,t,n,r)}(t,l,u,d)})):3===e&&Hy(a,i,n,()=>{t.destroyNode(l)}),null!=c&&function xA(e,t,n,r,o,i,s){const a=r[7];a!==Ee(r)&&Wr(t,e,n,i,a,o,s);for(let u=W;u<r.length;u++){const l=r[u];Da(l[1],l,e,t,i,a)}}(t,e,n,c,i,r,s)}}function zy(e,t){t[10].changeDetectionScheduler?.notify(9),Da(e,t,t[R],2,null,null)}function od(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function id(e,t){if(Nt(t))return;const n=M(null);try{t[2]&=-129,t[2]|=256,t[24]&&Mo(t[24]),function kA(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 qo)){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];q(I.LifecycleHookStart,a,c);try{c.call(a)}finally{q(I.LifecycleHookEnd,a,c)}}else{q(I.LifecycleHookStart,o,i);try{i.call(o)}finally{q(I.LifecycleHookEnd,o,i)}}}}}(e,t),function AA(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[R].destroy();const r=t[16];if(null!==r&&Se(t[3])){r!==t[3]&&od(r,t);const o=t[18];null!==o&&o.detachView(e)}fl(t)}finally{M(n)}}function sd(e,t,n){return function Gy(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ft(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ot.None||o===ot.Emulated)return null}return pe(r,n)}(e,t.parent,n)}let Zy=function Wy(e,t,n){return 40&e.type?pe(e,n):null};function cd(e,t,n,r){const o=sd(e,r,t),i=t[R],a=function qy(e,t,n){return Zy(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)my(i,o,n[c],a,!1);else my(i,o,n,a,!1)}function Yy(e,t){return null!==t?e[15][5].projection[t.projection]:null}function ld(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],u=n.type;if(s&&0===t&&(c&&Ve(Ee(c),r),n.flags|=2),!Ys(n))if(8&u)ld(e,t,n.child,r,o,i,!1),Wr(t,e,a,o,c,n,i,r);else if(32&u){const l=Wl(n,r);let d;for(;d=l();)Wr(t,e,a,o,d,n,i,r);Wr(t,e,a,o,c,n,i,r)}else 16&u?Ky(e,t,r,n,o,i):Wr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Da(e,t,n,r,o,i){ld(n,r,e.firstChild,t,o,i,!1)}function Ky(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++)Wr(t,e,n[9],o,c[u],r,i,n);else{let u=c;const l=s[3];(function Yo(e){return!(128&~e.flags)})(r)&&(u.flags|=128),ld(e,t,u,l,o,i,!0)}}function Jy(e,t,n,r,o){const i=function Ie(){return N.lFrame.selectedIndex}(),s=2&r;try{Rn(-1),s&&t.length>S&&function Ny(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&Ls(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&Ps(t,i,n)}Rn(n)}(e,t,S,!1),q(s?I.TemplateUpdateStart:I.TemplateCreateStart,o,n),n(r,o)}finally{Rn(i),q(s?I.TemplateUpdateEnd:I.TemplateCreateEnd,o,n)}}function _a(e,t,n){(function BA(e,t,n){const r=n.directiveStart,o=n.directiveEnd;ft(n)&&function oA(e,t,n){const r=pe(t,e),o=function Ty(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ul(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=function Gl(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}(e,ua(e,o,null,zl(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Bs(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=Qo(t,e,s,n);Ve(c,t),null!==i&&UA(0,s-r,c,a,0,i),ht(a)&&(Te(n.index,t)[8]=Qo(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function VA(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function EM(){return N.lFrame.currentDirectiveIndex}();try{Rn(i);for(let a=r;a<o;a++){const c=e.data[a],u=t[a];ku(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&HA(c,u)}}finally{Rn(-1),ku(s)}}(e,t,n)}let Xy=()=>null;function HA(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function hd(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];My(t,i.selectors,!1)&&(r??=[],ht(i)?r.unshift(i):r.push(i))}return r}function UA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)rn(r,n,s[a],s[a+1])}function Ia(e,t,n,r,o){const i=S+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,kt(e,!0);const c=2===e.type;return c?(vy(t[R],a,e),(0===function hM(){return N.lFrame.elementDepthCount}()||wr(e))&&Ve(a,t),function pM(){N.lFrame.elementDepthCount++}()):Ve(a,t),function Is(){return Zp}()&&(!c||!Ys(e))&&cd(s,t,a,e),e}function Ca(e){let t=e;return Fp()?function Pp(){N.lFrame.isParent=!1}():(t=t.parent,kt(t,!1)),t}function wa(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 u=s[c];rn(t.data[u],n[u],s[c+1],o),a=!0}if(i)for(const c of i)rn(t.data[c],n[c],r,o),a=!0;return a}function GA(e,t){const n=Te(t,e),r=n[1];!function qA(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),q(I.ComponentStart);try{ba(r,n,n[8])}finally{q(I.ComponentEnd,n[8])}}function ba(e,t,n){Ou(t);try{const r=e.viewQuery;null!==r&&kl(1,r,n);const o=e.template;null!==o&&Jy(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&Km(e,t),e.staticViewQueries&&kl(2,e.viewQuery,n);const i=e.components;null!==i&&function WA(e,t){for(let n=0;n<t.length;n++)GA(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Fu()}}function li(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(Ee(i)),Se(i)&&ZA(i,r);const s=n.type;if(8&s)li(e,t,n.child,r);else if(32&s){const a=Wl(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Yy(t,n);if(Array.isArray(a))r.push(...a);else{const c=At(t[15]);li(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ZA(e,t){for(let n=W;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&li(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function rv(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let ov=[];const JA={...cr,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Sr(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},ek={...cr,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=At(e.lView);for(;t&&!iv(t[1]);)t=At(t);t&&bu(t)},consumerOnSignalRead(){this.lView[24]=this}};function iv(e){return 2!==e.type}function sv(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 Ma(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function nk(e,t){const n=Bp();try{_s(!0),gd(e,t);let r=0;for(;Po(e);){if(100===r)throw new _(103,!1);r++,gd(e,1)}}finally{_s(n)}}(e,t)}finally{r.end?.()}}function av(e,t,n,r){if(Nt(t))return;const o=t[2];Ou(t);let a=!0,c=null,u=null;iv(e)?(u=function QA(e){return e[24]??function YA(e){const t=ov.pop()??Object.create(JA);return t.lView=e,t}(e)}(t),c=lr(u)):null===function Oc(){return ye}()?(a=!1,u=function XA(e){const t=e[24]??Object.create(ek);return t.lView=e,t}(t),c=lr(u)):t[24]&&(Mo(t[24]),t[24]=null);try{Mp(t),function Vp(e){return N.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Jy(e,t,n,2,r);const l=!(3&~o);if(l){const h=e.preOrderCheckHooks;null!==h&&Ps(t,h,null)}else{const h=e.preOrderHooks;null!==h&&Ls(t,h,0,null),nl(t,0)}if(function rk(e){for(let t=fm(e);null!==t;t=hm(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)bu(n[r])}}(t),sv(t),cv(t,0),null!==e.contentQueries&&Km(e,t),l){const h=e.contentCheckHooks;null!==h&&Ps(t,h)}else{const h=e.contentHooks;null!==h&&Ls(t,h,1),nl(t,1)}!function ik(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)Rn(~o);else{const i=o,s=n[++r],a=n[++r];_M(s,i);const c=t[i];q(I.HostBindingsUpdateStart,c);try{a(2,c)}finally{q(I.HostBindingsUpdateEnd,c)}}}}finally{Rn(-1)}}(e,t);const d=e.components;null!==d&&lv(t,d,0);const f=e.viewQuery;if(null!==f&&kl(2,f,r),l){const h=e.viewCheckHooks;null!==h&&Ps(t,h)}else{const h=e.viewHooks;null!==h&&Ls(t,h,2),nl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}rv(t),t[2]&=-73}catch(l){throw Sr(t),l}finally{null!==u&&(bo(u,c),a&&function KA(e){e.lView[24]!==e&&(e.lView=null,ov.push(e))}(u)),Fu()}}function cv(e,t){for(let n=fm(e);null!==n;n=hm(n))for(let r=W;r<n.length;r++)uv(n[r],t)}function ok(e,t,n){q(I.ComponentStart);const r=Te(t,e);try{uv(r,n)}finally{q(I.ComponentEnd,r[8])}}function uv(e,t){wu(e)&&gd(e,t)}function gd(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||!Xi(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)av(r,e,r.template,e[8]);else if(8192&o){const a=M(null);try{sv(e),cv(e,1);const c=r.components;null!==c&&lv(e,c,1),rv(e)}finally{M(a)}}}function lv(e,t,n){for(let r=0;r<t.length;r++)ok(e,t[r],n)}function Yr(e,t){const n=Bp()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=At(e);if(Wt(e)&&!r)return e;e=r}return null}function di(e,t){if(e.length<=W)return;const n=W+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&od(o,r),t>0&&(e[n-1][4]=r[4]);const i=ls(e,W+t);!function Uy(e,t){zy(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 fi{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return li(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 Nt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Se(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(di(t,r),ls(n,r))}this._attachedToViewContainer=!1}!function ui(e,t){if(Nt(t))return;const n=t[R];n.destroyNode&&Da(e,t,n,3,null,null),function NA(e){let t=e[12];if(!t)return id(e[1],e);for(;t;){let n=null;if(oe(t))n=t[12];else{const r=t[W];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)oe(t)&&id(t[1],t),t=t[3];null===t&&(t=e),oe(t)&&id(t[1],t),n=t&&t[4]}t=n}}(t)}(this._lView[1],this._lView)}onDestroy(t){Ds(this._lView,t)}markForCheck(){Yr(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Mu(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Ma(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Wt(this._lView),n=this._lView[16];null!==n&&!t&&od(n,this._lView),zy(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t;const n=Wt(this._lView),r=this._lView[16];null!==r&&!n&&function hv(e,t){const n=e[9],r=t[3];(oe(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}(r,this._lView),Mu(this._lView)}}function qn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function _d(e,t,n,r,o){const i=Op(),s=Fp(),c=e.data[t]=function vk(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function kp(){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 yk(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 DM(){return N.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Lo(){const e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return kt(i,!0),i}let eR=class{},jv=class{};class tR{resolveComponentFactory(t){throw new _(917,!1)}}let Xr=class{static NULL=new tR};class Sd{}let rR=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>null})}return e})();const Nd={};class to{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Nd,r);return o!==Nd||n===Nd?o:this.parentInjector.get(t,n,r)}}function Pa(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=Kc(o,a):2==i&&(r=Kc(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function P(e,t=0){const n=g();return null===n?V(e,t):Wg(A(),n,F(e),t)}function uR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function $v(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),zv(t,i)}}function Uv(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),zv(t,s)}}function zv(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function Gv(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||$l(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 u=o[c];for(const l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function fR(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new qo(i,ht(o),P,null);e.blueprint[r]=s,n[r]=s,function hR(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 pR(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,si(e,n,o.hostVars,G),o)}function gR(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function Ad(e,t,n,r,o,i,s,a){const c=t[1],u=c.consts,d=qn(c,e,n,r,Ne(u,s));return i&&function Hv(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,u=null;for(const l of s)if(null!==l.resolveHostDirectives){[a,c,u]=l.resolveHostDirectives(s);break}!function lR(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&&ht(h)&&(c=h,uR(e,n,f)),al(Bs(n,t),e,h.type)}(function mR(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 u=!1,l=!1,d=si(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=jr(n.mergedAttrs,h.hostAttrs),fR(e,n,t,d,h),gR(d,h,o),null!==s&&s.has(h)){const[m,D]=s.get(h);n.directiveToIndex.set(h.type,[d,m+n.directiveStart,D+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;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}!function dR(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);Uv(0,t,i,r),Uv(1,t,i,r),Gv(t,r,!0)}else $v(0,t,o,r),$v(1,t,o,r),Gv(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,u)}null!==i&&null!==r&&function cR(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 _(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,Ne(u,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),null!==d.attrs&&Pa(d,d.attrs,!1),null!==d.mergedAttrs&&Pa(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function kd(e,t){(function Fg(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),null!=l&&(e.destroyHooks??=[]).push(n,l)}})(e,t),_p(t)&&e.queries.elementEnd(t)}function cn(e,t,n){return function r(o){Yr(ft(e)?Te(e.index,t):t,5);const s=t[8];let a=Wv(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Wv(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Wv(e,t,n,r){const o=M(null);try{return q(I.OutputStart,t,n),!1!==n(r)}catch(i){return function pd(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Qt,null)}catch{r=null}r?.(t)}(e,i),!1}finally{q(I.OutputEnd,t,n),M(o)}}function Zv(e,t,n,r,o,i,s){const a=t.firstCreatePass?function Np(e){return e.cleanup??=[]}(t):null,c=function Tp(e){return e[7]??=[]}(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function ro(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 jt=Symbol("BINDING");function Od(e){return e.debugInfo?.className||e.type.name||null}class nD extends Xr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=z(t);return new Fd(n,this.ngModule)}}class Fd extends jv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function RR(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&la.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function xR(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 tA(e){return e.map(eA).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){q(I.DynamicComponentStart);const a=M(null);try{const c=this.componentDef,u=function OR(e,t,n){let r=t instanceof tt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new to(n,r):n}(c,o||this.ngModule,t),l=function FR(e){const t=e.get(Sd,null);if(null===t)throw new _(407,!1);return{rendererFactory:t,sanitizer:e.get(rR,null),changeDetectionScheduler:e.get(On,null),ngReflect:!1,tracingService:e.get(qr,null,{optional:!0})}}(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Od(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{M(a)}}createComponentRef(t,n,r,o,i,s){const a=this.componentDef,c=function jR(e,t,n,r){const o=e?["ng-version","21.2.2"]:function nA(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(!gt(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 l of n)a+=l[jt].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){const d=r[l];if("function"!=typeof d)for(const f of d.bindings){a+=f[jt].requiredVars;const h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const l of r){const f=Re("function"==typeof l?l:l.type);c.push(f)}return Ul(0,null,function BR(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),u=t.rendererFactory.createRenderer(null,a),l=o?function FA(e,t,n,r){const i=r.get(IN,!1)||n===ot.ShadowDom||n===ot.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function PA(e){Xy(e)}(s),s}(u,o,a.encapsulation,n):function PR(e,t){const n=function LR(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return aa(t,n,"svg"===n?"svg":"math"===n?"math":null)}(a,u),d=s?.some(rD)||i?.some(p=>"function"!=typeof p&&p.bindings.some(rD)),f=ua(null,c,null,512|zl(a),null,null,t,u,n,null,null);f[S]=l,Ou(f);let h=null;try{const p=Ad(S,f,2,"#host",()=>c.directiveRegistry,!0,0);vy(u,l,p),Ve(l,f),_a(c,f,p),Rl(c,p,f),kd(c,p),void 0!==r&&function HR(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=Te(p.index,f),f[8]=h[8],ba(c,f,null)}catch(p){throw null!==h&&fl(h),fl(f),p}finally{q(I.DynamicComponentEnd),Fu()}return new VR(this.componentType,f,!!d)}}function rD(e){const t=e[jt].kind;return"input"===t||"twoWay"===t}class VR extends eR{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=function Mr(e,t){return e.data[t]}(n[1],S),this.location=Br(this._tNode,n),this.instance=Te(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new fi(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;wa(r,o[1],o,t,n),this.previousInputValues.set(t,n),Yr(Te(r.index,o),1)}get injector(){return new ce(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Yn=class{},ix=class{};class Qd extends Yn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new nD(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const i=function vt(e){return us(e),e[tp]||null}(t);this._bootstrapComponents=function Ct(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Yp(t,n,[{provide:Yn,useValue:this},{provide:Xr,useValue:this.componentFactoryResolver},...r],zt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ED extends ix{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Qd(this.moduleType,t,[])}}class cx extends Yn{injector;componentFactoryResolver=new nD(this);instance=null;constructor(t){super();const n=new Mn([...t.providers,{provide:Yn,useValue:this},{provide:Xr,useValue:this.componentFactoryResolver}],t.parent||yu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let ux=(()=>{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=fu(0,n.type),o=r.length>0?function ID(e,t,n=null){return new cx({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=j({token:e,providedIn:"environment",factory:()=>new e(V(tt))})}return e})();function CD(e){return Ft(()=>{const t=bD(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Us.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(ux).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ot.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ke("NgStandalone"),MD(n);const r=e.dependencies;return n.directiveDefs=Ba(r,wD),n.pipeDefs=Ba(r,lt),n.id=function hx(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 wD(e){return z(e)||Re(e)}function Ci(e){return Ft(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function lx(e,t){if(null==e)return Dt;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=la.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function dx(e){if(null==e)return Dt;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ye(e){return Ft(()=>{const t=bD(e);return MD(t),t})}function bD(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||Dt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:lx(e.inputs,t),outputs:dx(e.outputs),debugInfo:null}}function MD(e){e.features?.forEach(t=>t(e))}function Ba(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 C(""),f_=new C("");let sf,of=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,_u()&&(this._destroyRef=w(_t,{optional:!0})??void 0),sf||(function xO(e){sf=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(V(J),V(RO),V(f_))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})(),RO=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return sf?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function af(e){return!!e&&"function"==typeof e.then}function h_(e){return!!e&&"function"==typeof e.subscribe}const p_=new C("");let g_=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(p_,{optional:!0})??[];injector=w(je);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=vp(this.injector,o);if(af(i))n.push(i);else if(h_(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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const OO=new C("");function m_(e,t){return Array.isArray(t)?t.reduce(m_,e):{...e,...t}}let ln=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(Qt);afterRenderManager=w(Fy);zonelessEnabled=w(Hu);rootEffectScheduler=w(rg);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new hr;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(xn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Dg(n=>!n))}constructor(){w(qr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(tt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=je.NULL){return this._injector.get(J).run(()=>{q(I.BootstrapComponentStart);const s=n instanceof jv;if(!this._injector.get(g_).done)throw new _(405,"");let c;c=s?n:this._injector.get(Xr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const u=function PO(e){return e.isBoundToModule}(c)?void 0:this._injector.get(Yn),d=c.create(o,[],r||c.selector,u),f=d.location.nativeElement,h=d.injector.get(d_,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Za(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),q(I.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){q(I.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(td.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw q(I.ChangeDetectionEnd),new _(101,!1);const n=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),q(I.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sd,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){q(I.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{q(I.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||Po(o))&&(Ma(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})=>Po(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Za(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(OO,[]).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),()=>Za(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Za(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vf(e,t,n,r,o){wa(t,e,n,o?"class":"style",r)}function Ni(e,t,n,r){const o=g(),i=o[1],s=e+S,a=i.firstCreatePass?Ad(s,o,2,t,hd,function Au(){return N.bindingsEnabled}(),n,r):i.data[s];if(ft(a)){const c=o[10].tracingService;if(c&&c.componentCreate)return c.componentCreate(Od(i.data[a.directiveStart+a.componentOffset]),()=>(k_(e,t,o,a,r),Ni))}return k_(e,t,o,a,r),Ni}function k_(e,t,n,r,o){if(Ia(r,n,e,t,If),wr(r)){const i=n[1];_a(i,n,r),Rl(i,r,n)}null!=o&&function Zr(e,t,n=pe){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 Xa(){const e=x(),n=Ca(A());return e.firstCreatePass&&kd(e,n),function Rp(e){return N.skipHydrationRootTNode===e}(n)&&function xp(){N.skipHydrationRootTNode=null}(),function Ap(){N.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function IT(e){return!!(8&e.flags)}(n)&&vf(e,n,g(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function CT(e){return!!(16&e.flags)}(n)&&vf(e,n,g(),n.stylesWithoutHost,!1),Xa}function Df(e,t,n,r){return Ni(e,t,n,r),Xa(),Df}let If=(e,t,n,r,o)=>(function jo(e){Zp=e}(!0),aa(t[R],r,function SM(){return N.lFrame.currentNamespace}()));const tc="en-US";let V_=tc;function Tf(e,t,n){const r=g(),o=x(),i=A();return function Nf(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=cn(r,t,i),function xd(e,t,n,r,o,i,s,a){const c=wr(e);let u=!1,l=null;if(!r&&c&&(l=function ER(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!==l)(l.__ngLastListenerFn__||l).__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0;else{const d=pe(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function _R(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||Zv(r?m=>r(Ee(m[e.index])):e.index,t,n,i,a,h,!1)}return u}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){const f=l[d],h=l[d+1];c??=cn(r,t,i),ro(r,t,f,h,o,c)}if(u&&u.length)for(const d of u)c??=cn(r,t,i),ro(r,t,d,o,o,c)}}(o,r,r[R],i,e,t,n),Tf}let SL=(()=>{class e{applicationErrorHandler=w(Qt);appRef=w(ln);taskService=w(xn);ngZone=w(J);zonelessEnabled=w(Hu);tracing=w(qr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Xe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ws):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(UM,{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?RM:Jp;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(ws+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=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hn=new C("",{factory:()=>w(hn,{optional:!0,skipSelf:!0})||function TL(){return typeof $localize<"u"&&$localize.locale||tc}()});class kI{destroyed=!1;listeners=null;errorHandler=w(Nr,{optional:!0});destroyRef=w(_t);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new _(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(ut(953,!1));if(null===this.listeners)return;const n=M(null);try{for(const r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}}function Vt(e,t){return function nb(e,t){const n=Object.create(rb);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(wo(n),ur(n),n.value===bt)throw n.error;return n.value};return r[he]=n,r}(e,t?.equal)}Error,Error;const mc=Symbol("InputSignalNode#UNSET"),yC={...jc,transformFn:void 0,applyValueToInputSignal(e,t){So(e,t)}};function vC(e,t){const n=Object.create(yC);function r(){if(ur(n),n.value===mc)throw new _(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[he]=n,r}function DC(e,t){return vC(e,t)}const eh=(DC.required=function H2(e){return vC(mc,e)},DC);function _C(e,t){const n=Object.create(yC),r=new kI;function o(){return ur(n),EC(n.value),n.value}return n.value=e,o[he]=n,o.asReadonly=bs.bind(o),o.set=i=>{n.equal(n.value,i)||(So(n,i),r.emit(i))},o.update=i=>{EC(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function EC(e){if(e===mc)throw new _(952,!1)}function IC(e,t){return _C(e)}const U2=(IC.required=function $2(e){return _C(mc)},IC),yc=new C(""),J2=new C("");function Gi(e){return!e.moduleRef}let SC;function TC(){SC=X2}function X2(e,t){const n=e.injector.get(ln);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new _(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let NC=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const o=[[{provide:On,useExisting:SL},{provide:J,useClass:LM},{provide:Hu,useValue:!0}],...r?.applicationProviders??[],VM],i=function ax(e,t,n){return new Qd(e,t,n,!1)}(n.moduleType,this.injector,o);return TC(),function MC(e){const t=Gi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{Gi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Qt);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Gi(e)){const i=()=>t.destroy(),s=e.platformInjector.get(yc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yc);s.add(i),e.moduleRef.onDestroy(()=>{Za(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function eB(e,t,n){try{const r=n();return af(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(xn),s=i.add(),a=t.get(g_);return a.runInitializers(),a.donePromise.then(()=>{if(function QF(e){"string"==typeof e&&(V_=e.toLowerCase().replace(/_/g,"-"))}(t.get(hn,tc)||tc),!t.get(J2,!0))return Gi(e)?t.get(ln):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Gi(e)){const l=t.get(ln);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return SC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const o=m_({},r);return TC(),function z2(e,t,n){const r=new ED(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(V(je))};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Eo=null;function AC(e,t,n=[]){const r=`Platform: ${t}`,o=new C(r);return(i=[])=>{let s=vc();if(!s){const a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??function tB(e){if(vc())throw new _(400,!1);(function FO(){!function ib(e){jh=e}(()=>{throw new _(600,"")})})(),Eo=e;const t=e.get(NC);return function RC(e){const t=e.get(Em,null);vp(e,()=>{t?.forEach(n=>n())})}(e),t}(function kC(e=[],t){return je.create({name:t,providers:[{provide:gu,useValue:"platform"},{provide:yc,useValue:new Set([()=>Eo=null])},...e]})}(a,r))}return function nB(){const t=vc();if(!t)throw new _(-401,!1);return t}()}}function vc(){return Eo?.get(NC)??null}const TB=AC(null,"core",[]);let NB=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(V(ln))};static \u0275mod=Ci({type:e});static \u0275inj=pr({})}return e})();function JC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let aH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ci({type:e});static \u0275inj=pr({})}return e})();class gw{_doc;constructor(t){this._doc=t}manager}let Dh=(()=>{class e extends gw{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)(V(Ot))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const _h=new C("");let mw=(()=>{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 Dh));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof Dh);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 _(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(V(_h),V(J))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Eh="ng-app-id";function yw(e){for(const t of e)t.remove()}function vw(e,t){const n=t.createElement("style");return n.textContent=e,n}function Ih(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let Dw=(()=>{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 cH(e,t,n,r){const o=e.head?.querySelectorAll(`style[${Eh}="${t}"],link[${Eh}="${t}"]`);if(o)for(const i of o)i.removeAttribute(Eh),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,vw);r?.forEach(o=>this.addUsage(o,this.external,Ih))}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&&(yw(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])yw(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,vw(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Ih(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)(V(Ot),V(Vr),V(Cm,8),V(Im))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Ch={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"},wh=/%COMP%/g,pH=new C("",{factory:()=>!0});function Ew(e,t){return t.map(n=>n.replace(wh,e))}let Iw=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new bh(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof bw?o.applyToHost(n):o instanceof Mh&&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,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case ot.Emulated:i=new bw(c,u,r,this.appId,l,s,a,d);break;case ot.ShadowDom:return new ww(c,n,r,s,a,this.nonce,d,u);case ot.ExperimentalIsolatedShadowDom:return new ww(c,n,r,s,a,this.nonce,d);default:i=new Mh(c,u,r,l,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)(V(mw),V(Dw),V(Vr),V(pH),V(Ot),V(J),V(Cm),V(qr,8))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();class bh{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(Ch[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Cw(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Cw(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 _(-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=Ch[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Ch[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&(on.DashCase|on.Important)?t.style.setProperty(n,r,o&on.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&on.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=Uu().getGlobalEventTarget(this.doc,t)))throw new _(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 Cw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ww extends bh{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 u=r.styles;u=Ew(r.id,u);for(const d of u){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const l=r.getExternalStyles?.();if(l)for(const d of l){const f=Ih(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 Mh extends bh{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 u=r.styles;this.styles=c?Ew(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===sn.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class bw extends Mh{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=function gH(e){return"_ngcontent-%COMP%".replace(wh,e)}(u),this.hostAttr=function mH(e){return"_nghost-%COMP%".replace(wh,e)}(u)}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 Th extends YM{supportsDOMEvents=!0;static makeCurrent(){!function QM(e){sg??=e}(new Th)}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 DH(){return Yi=Yi||document.head.querySelector("base"),Yi?Yi.getAttribute("href"):null}();return null==n?null:function _H(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Yi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function KM(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 Yi=null,IH=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const Sw=["alt","control","meta","shift"],CH={"\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"},wH={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let bH=(()=>{class e extends gw{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(()=>Uu().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."),Sw.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),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=CH[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"),Sw.forEach(s=>{s!==o&&(0,wH[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)(V(Ot))};static \u0275prov=j({token:e,factory:e.\u0275fac})}return e})();const NH=AC(TB,"browser",[{provide:Im,useValue:"browser"},{provide:Em,useValue:function MH(){Th.makeCurrent()},multi:!0},{provide:Ot,useFactory:function TH(){return function pN(e){ml=e}(document),document}}]),Aw=[{provide:f_,useClass:class EH{addToWindow(t){ie.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new _(5103,!1);return i},ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),ie.getAllAngularRootElements=()=>t.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const o=ie.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Uu().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:d_,useClass:of},{provide:of,useClass:of}],kw=[{provide:gu,useValue:"root"},{provide:Nr,useFactory:function SH(){return new Nr}},{provide:_h,useClass:Dh,multi:!0},{provide:_h,useClass:bH,multi:!0},Iw,Dw,mw,{provide:Sd,useExisting:Iw},{provide:class JM{},useClass:IH},[]];let AH=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ci({type:e});static \u0275inj=pr({providers:[...kw,...Aw],imports:[aH,NB]})}return e})();const Rw={now:()=>(Rw.delegate||Date).now(),delegate:void 0};class kH extends hr{constructor(t=1/0,n=1/0,r=Rw){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 sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function FH(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 Fw(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(u){i({value:u,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}const Pw=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Lw(e){return ve(e?.then)}function jw(e){return ve(e[qc])}function Bw(e){return Symbol.asyncIterator&&ve(e?.[Symbol.asyncIterator])}function Vw(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 Hw=function LH(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $w(e){return ve(e?.[Hw])}function Uw(e){return function OH(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 sr?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function l(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 sr(n.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function zw(e){return ve(e?.getReader)}function ar(e){if(e instanceof Fe)return e;if(null!=e){if(jw(e))return function jH(e){return new Fe(t=>{const n=e[qc]();if(ve(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Pw(e))return function BH(e){return new Fe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Lw(e))return function VH(e){return new Fe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Gh)})}(e);if(Bw(e))return Gw(e);if($w(e))return function HH(e){return new Fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(zw(e))return function $H(e){return Gw(Uw(e))}(e)}throw Vw(e)}function Gw(e){return new Fe(t=>{(function UH(e,t){var n,r,o,i;return function RH(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=FH(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 gn(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 qw(e,t,n=1/0){return ve(t)?qw((r,o)=>Dg((i,s)=>t(r,i,o,s))(ar(e(r,o))),n):("number"==typeof t&&(n=t),$o((r,o)=>function zH(e,t,n,r,o,i,s,a){const c=[];let u=0,l=0,d=!1;const f=()=>{d&&!c.length&&!u&&t.complete()},h=m=>u<r?p(m):c.push(m),p=m=>{i&&t.next(m),u++;let D=!1;ar(n(m,l++)).subscribe(Ar(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){const E=c.shift();s?gn(t,s,()=>p(E)):p(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(Ar(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Ww=new Fe(e=>e.complete());function xh(e){return e[e.length-1]}function Zw(e,t=0){return $o((n,r)=>{n.subscribe(Ar(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function Qw(e,t=0){return $o((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Yw(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function i$(...e){const t=function YH(e){return function ZH(e){return e&&ve(e.schedule)}(xh(e))?e.pop():void 0}(e),n=function KH(e,t){return"number"==typeof xh(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?ar(r[0]):function GH(e=1/0){return qw(Wh,e)}(n)(function o$(e,t){return t?function r$(e,t){if(null!=e){if(jw(e))return function JH(e,t){return ar(e).pipe(Qw(t),Zw(t))}(e,t);if(Pw(e))return function e$(e,t){return new Fe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Lw(e))return function XH(e,t){return ar(e).pipe(Qw(t),Zw(t))}(e,t);if(Bw(e))return Yw(e,t);if($w(e))return function t$(e,t){return new Fe(n=>{let r;return gn(n,t,()=>{r=e[Hw](),gn(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)}),()=>ve(r?.return)&&r.return()})}(e,t);if(zw(e))return function n$(e,t){return Yw(Uw(e),t)}(e,t)}throw Vw(e)}(e,t):ar(e)}(r,t)):Ww}function s$(e,t){return $o((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ar(r,c=>{o?.unsubscribe();let u=0;const l=i++;ar(e(c,l)).subscribe(o=Ar(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const a$={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let Oh;function p$(e,t,n){let r=n;return function u$(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function l$(e,t){if(!Oh){const n=Element.prototype;Oh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Oh.call(e,t)}(e,o)||(r=i,0))),r}class m${componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Xr).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new y$(this.componentFactory,t,this.inputMap)}}class y${componentFactory;injector;inputMap;eventEmitters=new kH(1);events=this.eventEmitters.pipe(s$(t=>i$(...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(J),this.appRef=this.injector.get(ln),this.cdScheduler=n.get(On),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=a$.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 ak(e){return Po(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function ck(e){bu(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=je.create({providers:[],parent:this.injector}),r=function h$(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=p$(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 Fe(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 v$ extends HTMLElement{ngElementEventsSubscription=null}function D$(e,t){const n=function f$(e,t){return t.get(Xr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new m$(e,t.injector),o=function d$(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function c$(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends v${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:u})=>{if(!this.hasOwnProperty(c))return;const l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,u,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 u=this.ngElementStrategy.getInputValue(s);return c&&function qa(e){return"function"==typeof e&&void 0!==e[he]}(u)?u():u},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),i}let _$=(()=>{class e{destroyRef=w(_t);_isDarkMode=function Bu(e,t){const[n,r,o]=sb(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=bs.bind(i),i}(this.hasDarkClass());isDarkMode=Vt(()=>this._isDarkMode());darkModeChange=function V2(){return new kI}();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()),Ms(()=>{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=Ye({type:e,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return e})(),E$=(()=>{class e{size=eh("m");active=eh(!0,{transform:JC});continuous=eh(!1,{transform:JC});isDarkMode=U2(!1);handleDarkModeChange(n){this.isDarkMode.set(n),-1===this.raf&&this.animate()}colorA=Vt(()=>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(){Ms(()=>{this.active()?this.activate():this.deactivate()}),Ms(()=>{this.isDarkMode(),this.animate()});const n=w(jn);nd({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 u=o.getPointAtLength(i/400*c);a.push({x:parseFloat(u.x.toFixed(2)),y:parseFloat(u.y.toFixed(2))})}a.push(o.getPointAtLength(i)),a.reverse(),a.forEach((c,u)=>{if(0===u||1===u)return;const l=document.createElementNS("http://www.w3.org/2000/svg","path");l.setAttribute("d",`M${a[u-2].x},${a[u-2].y}L${a[u-1].x},${a[u-1].y}L${c.x},${c.y}`),l.setAttribute("fill","none"),l.setAttribute("stroke","transparent"),l.setAttribute("stroke-width",o?.getAttribute("stroke-width")||"1"),l.setAttribute("stroke-miterlimit",o?.getAttribute("stroke-miterlimit")||"1"),r.appendChild(l),this.paths.push(l)})}})}ngOnDestroy(){this.paths=[],cancelAnimationFrame(this.raf),this.raf=-1}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=CD({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 Wp(){N.lFrame.currentNamespace="svg"}(),Ni(0,"svg",0),Tf("darkModeChange",function(s){return o.handleDarkModeChange(s)}),Df(1,"path",1),Xa())},dependencies:[_$],styles:["[_nghost-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:1;display:block;width:100%;height:auto}"]})}return e})(),I$=(()=>{class e{injector;constructor(n){this.injector=n}ngDoBootstrap(){const n=D$(E$,{injector:this.injector});customElements.define("cue-logo",n)}static \u0275fac=function(r){return new(r||e)(V(je))};static \u0275mod=Ci({type:e});static \u0275inj=pr({imports:[AH]})}return e})();NH().bootstrapModule(I$).catch(e=>{throw console.error("[CueLogo] Bootstrap failed:",e),e})}},ye=>{ye(ye.s=456)}]);