diff --git a/404.html b/404.html index 3da6e02..dcfe7ca 100644 --- a/404.html +++ b/404.html @@ -16,5 +16,5 @@ - + diff --git a/index.html b/index.html index 3da6e02..dcfe7ca 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,5 @@ - + diff --git a/main.e48d012f6fb9c17e.js b/main.e0468748a4c8afb7.js similarity index 98% rename from main.e48d012f6fb9c17e.js rename to main.e0468748a4c8afb7.js index 4dfd071..65e3987 100644 --- a/main.e48d012f6fb9c17e.js +++ b/main.e0468748a4c8afb7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkquantumCookies=self.webpackChunkquantumCookies||[]).push([[179],{608:()=>{function J(e){return"function"==typeof e}function Mo(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 ts=Mo(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 So(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class tt{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(J(r))try{r()}catch(i){t=i instanceof ts?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{uh(i)}catch(s){t=t??[],s instanceof ts?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ts(t)}}add(t){var n;if(t&&t!==this)if(this.closed)uh(t);else{if(t instanceof tt){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)&&So(n,t)}remove(t){const{_finalizers:n}=this;n&&So(n,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const e=new tt;return e.closed=!0,e})();const sh=tt.EMPTY;function ah(e){return e instanceof tt||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function uh(e){J(e)?e():e.unsubscribe()}const Bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ns={setTimeout(e,t,...n){const{delegate:r}=ns;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ns;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ch(e){ns.setTimeout(()=>{const{onUnhandledError:t}=Bn;if(!t)throw e;t(e)})}function Tu(){}const qE=Nu("C",void 0,void 0);function Nu(e,t,n){return{kind:e,value:t,error:n}}let Hn=null;function rs(e){if(Bn.useDeprecatedSynchronousErrorHandling){const t=!Hn;if(t&&(Hn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hn;if(Hn=null,n)throw r}}else e()}class Ru extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ah(t)&&t.add(this)):this.destination=KE}static create(t,n,r){return new Ao(t,n,r)}next(t){this.isStopped?Ou(function ZE(e){return Nu("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ou(function WE(e){return Nu("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ou(qE,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 YE=Function.prototype.bind;function xu(e,t){return YE.call(e,t)}class XE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){os(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){os(r)}else os(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){os(n)}}}class Ao extends Ru{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Bn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&xu(t.next,i),error:t.error&&xu(t.error,i),complete:t.complete&&xu(t.complete,i)}):o=t}this.destination=new XE(o)}}function os(e){Bn.useDeprecatedSynchronousErrorHandling?function QE(e){Bn.useDeprecatedSynchronousErrorHandling&&Hn&&(Hn.errorThrown=!0,Hn.error=e)}(e):ch(e)}function Ou(e,t){const{onStoppedNotification:n}=Bn;n&&ns.setTimeout(()=>n(e,t))}const KE={closed:!0,next:Tu,error:function JE(e){throw e},complete:Tu},Pu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dn(e){return e}function lh(e){return 0===e.length?Dn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}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 nb(e){return e&&e instanceof Ru||function tb(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ah(e)}(n)?n:new Ao(n,r,o);return rs(()=>{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=dh(r))((o,i)=>{const s=new Ao({next:a=>{try{n(a)}catch(u){i(u),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)}[Pu](){return this}pipe(...n){return lh(n)(this)}toPromise(n){return new(n=dh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function dh(e){var t;return null!==(t=e??Bn.Promise)&&void 0!==t?t:Promise}const rb=Mo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Et=(()=>{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 fh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new rb}next(n){rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){rs(()=>{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(){rs(()=>{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?sh:(this.currentObservers=null,i.push(n),new tt(()=>{this.currentObservers=null,So(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 fh(t,n),e})();class fh extends Et{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:sh}}function hh(e){return J(e?.lift)}function ve(e){return t=>{if(hh(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 me(e,t,n,r,o){return new ob(e,t,n,r,o)}class ob extends Ru{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 z(e,t){return ve((n,r)=>{let o=0;n.subscribe(me(r,i=>{r.next(e.call(t,i,o++))}))})}function Cn(e){return this instanceof Cn?(this.v=e,this):new Cn(e)}function yh(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 Vu(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,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const vh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Dh(e){return J(e?.then)}function Ch(e){return J(e[Pu])}function _h(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function wh(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 Eh=function Mb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function bh(e){return J(e?.[Eh])}function Ih(e){return function mh(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,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Cn?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(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 Cn(n.read());if(o)return yield Cn(void 0);yield yield Cn(r)}}finally{n.releaseLock()}})}function Mh(e){return J(e?.getReader)}function nt(e){if(e instanceof fe)return e;if(null!=e){if(Ch(e))return function Sb(e){return new fe(t=>{const n=e[Pu]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vh(e))return function Ab(e){return new fe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ch)})}(e);if(_h(e))return Sh(e);if(bh(e))return function Nb(e){return new fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Mh(e))return function Rb(e){return Sh(Ih(e))}(e)}throw wh(e)}function Sh(e){return new fe(t=>{(function xb(e,t){var n,r,o,i;return function ph(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=yh(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 Kt(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 be(e,t,n=1/0){return J(t)?be((r,o)=>z((i,s)=>t(r,i,o,s))(nt(e(r,o))),n):("number"==typeof t&&(n=t),ve((r,o)=>function Ob(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let y=!1;nt(n(g,l++)).subscribe(me(t,C=>{o?.(C),i?h(C):t.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&cp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(me(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function fr(e=1/0){return be(Dn,e)}const kt=new fe(e=>e.complete());function ju(e){return e[e.length-1]}function Ah(e){return J(ju(e))?e.pop():void 0}function To(e){return function Fb(e){return e&&J(e.schedule)}(ju(e))?e.pop():void 0}function Th(e,t=0){return ve((n,r)=>{n.subscribe(me(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function Nh(e,t=0){return ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Rh(e,t){if(!e)throw new Error("Iterable cannot be null");return new fe(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function De(e,t){return t?function $b(e,t){if(null!=e){if(Ch(e))return function Lb(e,t){return nt(e).pipe(Nh(t),Th(t))}(e,t);if(vh(e))return function jb(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(Dh(e))return function Vb(e,t){return nt(e).pipe(Nh(t),Th(t))}(e,t);if(_h(e))return Rh(e,t);if(bh(e))return function Bb(e,t){return new fe(n=>{let r;return Kt(n,t,()=>{r=e[Eh](),Kt(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)}),()=>J(r?.return)&&r.return()})}(e,t);if(Mh(e))return function Hb(e,t){return Rh(Ih(e),t)}(e,t)}throw wh(e)}(e,t):nt(e)}class ht extends Et{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 T(...e){return De(e,To(e))}function xh(e={}){const{connector:t=(()=>new Et),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return ve((g,y)=>{c++,!d&&!l&&f();const C=u=u??t();y.add(()=>{c--,0===c&&!d&&!l&&(a=Bu(p,o))}),C.subscribe(y),!s&&c>0&&(s=new Ao({next:m=>C.next(m),error:m=>{d=!0,f(),a=Bu(h,n,m),C.error(m)},complete:()=>{l=!0,f(),a=Bu(h,r),C.complete()}}),nt(g).subscribe(s))})(i)}}function Bu(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Ao({next:()=>{r.unsubscribe(),e()}});return nt(t(...n)).subscribe(r)}function bt(e,t){return ve((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(me(r,u=>{o?.unsubscribe();let c=0;const l=i++;nt(e(u,l)).subscribe(o=me(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Gb(e,t){return e===t}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Hu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const qb=Q({__forward_ref__:Q});function ee(e){return e.__forward_ref__=ee,e.toString=function(){return Ce(this())},e}function x(e){return $u(e)?e():e}function $u(e){return"function"==typeof e&&e.hasOwnProperty(qb)&&e.__forward_ref__===ee}function Uu(e){return e&&!!e.\u0275providers}class D extends Error{constructor(t,n){super(function ss(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function zu(e,t){throw new D(-201,!1)}function pt(e,t){null==e&&function N(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function as(e){return Ph(e,cs)||Ph(e,Fh)}function Ph(e,t){return e.hasOwnProperty(t)?e[t]:null}function us(e){return e&&(e.hasOwnProperty(Gu)||e.hasOwnProperty(eI))?e[Gu]:null}const cs=Q({\u0275prov:Q}),Gu=Q({\u0275inj:Q}),Fh=Q({ngInjectableDef:Q}),eI=Q({ngInjectorDef:Q});var B=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(B||{});let qu;function We(e){const t=qu;return qu=e,t}function Lh(e,t,n){const r=as(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void zu(Ce(e))}const te=globalThis,No={},Xu="__NG_DI_FLAG__",ls="ngTempTokenPath",rI=/\n/gm,jh="__source";let hr;function _n(e){const t=hr;return hr=e,t}function sI(e,t=B.Default){if(void 0===hr)throw new D(-203,!1);return null===hr?Lh(e,void 0,t):hr.get(e,t&B.Optional?null:void 0,t)}function M(e,t=B.Default){return(function kh(){return qu}()||sI)(x(e),t)}function E(e,t=B.Default){return M(e,ds(t))}function ds(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ju(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Uh(h,c,0)||2&r&&c!==f){if(Mt(r))return!1;s=!0}}}}else{if(!s&&!Mt(r)&&!Mt(u))return!1;if(s&&Mt(u))continue;s=!1,r=u|1&r}}return Mt(r)||s}function Mt(e){return 0==(1&e)}function hI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Mt(s)&&(t+=Yh(i,o),o=""),r=s,i=i||!Mt(r);n++}return""!==o&&(t+=Yh(i,o)),t}function Un(e){return en(()=>{const t=Jh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};Kh(n);const r=e.dependencies;return n.directiveDefs=ps(r,!1),n.pipeDefs=ps(r,!0),n.id=function MI(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function wI(e){return $(e)||Ie(e)}function EI(e){return null!==e}function St(e){return en(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xh(e,t){if(null==e)return Lt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function O(e){return en(()=>{const t=Jh(e);return Kh(t),t})}function $(e){return e[hs]||null}function Ie(e){return e[Ku]||null}function Le(e){return e[ec]||null}function ot(e,t){const n=e[Hh]||null;if(!n&&!0===t)throw new Error(`Type ${Ce(e)} does not have '\u0275mod' property.`);return n}function Jh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xh(e.inputs,t),outputs:Xh(e.outputs)}}function Kh(e){e.features?.forEach(t=>t(e))}function ps(e,t){if(!e)return null;const n=t?Le:wI;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(EI)}const le=0,w=1,L=2,se=3,At=4,Po=5,xe=6,gr=7,he=8,wn=9,mr=10,F=11,Fo=12,ep=13,yr=14,pe=15,ko=16,vr=17,Vt=18,Lo=19,tp=20,En=21,nn=22,Vo=23,jo=24,H=25,nc=1,np=2,jt=7,Dr=9,Me=11;function Qe(e){return Array.isArray(e)&&"object"==typeof e[nc]}function Ve(e){return Array.isArray(e)&&!0===e[nc]}function rc(e){return 0!=(4&e.flags)}function zn(e){return e.componentOffset>-1}function ms(e){return 1==(1&e.flags)}function Tt(e){return!!e.template}function oc(e){return 0!=(512&e[L])}function Gn(e,t){return e.hasOwnProperty(tn)?e[tn]:null}let Se=null,ys=!1;function mt(e){const t=Se;return Se=e,t}const ip={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function ap(e){if(!Ho(e)||e.dirty){if(!e.producerMustRecompute(e)&&!lp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function cp(e){e.dirty=!0,function up(e){if(void 0===e.liveConsumerNode)return;const t=ys;ys=!0;try{for(const n of e.liveConsumerNode)n.dirty||cp(n)}finally{ys=t}}(e),e.consumerMarkedDirty?.(e)}function sc(e){return e&&(e.nextProducerIndex=0),mt(e)}function ac(e,t){if(mt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ho(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function lp(e){Cr(e);for(let t=0;t0}function Cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let pp=null;const vp=()=>{},jI=(()=>({...ip,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:vp}))();class BI{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yt(){return Dp}function Dp(e){return e.type.prototype.ngOnChanges&&(e.setInput=$I),HI}function HI(){const e=_p(this),t=e?.current;if(t){const n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $I(e,t,n,r){const o=this.declaredInputs[n],i=_p(e)||function UI(e,t){return e[Cp]=t}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new BI(u&&u.currentValue,t,a===Lt),e[r]=t}yt.ngInherit=!0;const Cp="__ngSimpleChanges__";function _p(e){return e[Cp]||null}const Bt=function(e,t,n){};function ne(e){for(;Array.isArray(e);)e=e[le];return e}function Ds(e,t){return ne(t[e])}function Ye(e,t){return ne(t[e.index])}function bp(e,t){return e.data[t]}function it(e,t){const n=t[e];return Qe(n)?n:n[le]}function In(e,t){return null==t?null:e[t]}function Ip(e){e[vr]=0}function QI(e){1024&e[L]||(e[L]|=1024,Sp(e,1))}function Mp(e){1024&e[L]&&(e[L]&=-1025,Sp(e,-1))}function Sp(e,t){let n=e[se];if(null===n)return;n[Po]+=t;let r=n;for(n=n[se];null!==n&&(1===t&&1===r[Po]||-1===t&&0===r[Po]);)n[Po]+=t,r=n,n=n[se]}const R={lFrame:Vp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Np(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function U(){return R.lFrame.tView}function Ae(){let e=Rp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rp(){return R.lFrame.currentTNode}function Ht(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function fc(){return R.lFrame.isParent}function Er(){return R.lFrame.bindingIndex++}function cM(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,pc(t)}function pc(e){R.lFrame.currentDirectiveIndex=e}function mc(e){R.lFrame.currentQueryIndex=e}function dM(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[xe]:null}function kp(e,t,n){if(n&B.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&B.Host||(o=dM(i),null===o||(i=i[yr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=Lp();return r.currentTNode=t,r.lView=e,!0}function yc(e){const t=Lp(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Lp(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Vp(e):t}function Vp(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 jp(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bp=jp;function vc(){const e=jp();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 Be(){return R.lFrame.selectedIndex}function qn(e){R.lFrame.selectedIndex=e}function ue(){const e=R.lFrame;return bp(e.tView,e.selectedIndex)}let $p=!0;function Cs(){return $p}function Mn(e){$p=e}function _s(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[vr]+=65536),(a>13>16&&(3&e[L])===t&&(e[L]+=8192,zp(a,i)):zp(a,i)}const br=-1;class Uo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _c(e){return e!==br}function zo(e){return 32767&e}function Go(e,t){let n=function EM(e){return e>>16}(e),r=t;for(;n>0;)r=r[yr],n--;return r}let wc=!0;function bs(e){const t=wc;return wc=e,t}const Gp=255,qp=5;let bM=0;const $t={};function Is(e,t){const n=Wp(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ec(r.data,e),Ec(t,null),Ec(r.blueprint,null));const o=Ms(e,t),i=e.injectorIndex;if(_c(o)){const s=zo(o),a=Go(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ms(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=eg(o),null===r)return br;if(n++,o=o[yr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return br}function bc(e,t,n){!function IM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(xo)&&(r=n[xo]),null==r&&(r=n[xo]=bM++);const o=r&Gp;t.data[e+(o>>qp)]|=1<=0?t&Gp:NM:t}(n);if("function"==typeof i){if(!kp(t,e,r))return r&B.Host?Zp(o,0,r):Qp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&B.Optional)return s;zu()}finally{Bp()}}else if("number"==typeof i){let s=null,a=Wp(e,t),u=br,c=r&B.Host?t[pe][xe]:null;for((-1===a||r&B.SkipSelf)&&(u=-1===a?Ms(e,t):t[a+8],u!==br&&Kp(r,!1)?(s=t[w],a=zo(u),t=Go(u,t)):a=-1);-1!==a;){const l=t[w];if(Jp(i,a,l.data)){const d=SM(a,t,n,s,r,c);if(d!==$t)return d}u=t[a+8],u!==br&&Kp(r,t[w].data[a+8]===c)&&Jp(i,a,t)?(s=l,a=zo(u),t=Go(u,t)):a=-1}}return o}function SM(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],l=function Ss(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Tt(h)&&h.type===n)return u}return null}(a,s,n,null==r?zn(a)&&wc:r!=s&&0!=(3&a.type),o&B.Host&&i===a);return null!==l?Wn(t,s,l,a):$t}function Wn(e,t,n,r){let o=e[n];const i=t.data;if(function CM(e){return e instanceof Uo}(o)){const s=o;s.resolving&&function Wb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(i[n]));const a=bs(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?We(s.injectImpl):null;kp(e,r,B.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function vM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Dp(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,i[n],t)}finally{null!==c&&We(c),bs(a),s.resolving=!1,Bp()}}return o}function Jp(e,t,n){return!!(n[t+(e>>qp)]&1<{const t=e.prototype.constructor,n=t[tn]||Ic(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[tn]||Ic(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ic(e){return $u(e)?()=>{const t=Ic(x(e));return t&&t()}:Gn(e)}function eg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[xe]:null}const Mr="__parameters__";function Ar(e,t,n){return en(()=>{const r=function Mc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,c,l){const d=u.hasOwnProperty(Mr)?u[Mr]:Object.defineProperty(u,Mr,{value:[]})[Mr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Nr(e,t){e.forEach(n=>Array.isArray(n)?Nr(n,t):t(n))}function ng(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t,n){let r=Rr(e,t);return r>=0?e[1|r]=n:(r=~r,function VM(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Sc(e,t){const n=Rr(e,t);if(n>=0)return e[1|n]}function Rr(e,t){return function rg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<0&&(e[n-1][At]=r[At]);const i=Ts(e,Me+t);!function _S(e,t){Ko(e,t,t[F],2,null,null),t[le]=null,t[xe]=null}(r[w],r);const s=i[Vt];null!==s&&s.detachView(i[w]),r[se]=null,r[At]=null,r[L]&=-129}return r}function Vc(e,t){if(!(256&t[L])){const n=t[F];t[Vo]&&dp(t[Vo]),t[jo]&&dp(t[jo]),n.destroyNode&&Ko(e,t,n,3,null,null),function bS(e){let t=e[Fo];if(!t)return jc(e[w],e);for(;t;){let n=null;if(Qe(t))n=t[Fo];else{const r=t[Me];r&&(n=r)}if(!n){for(;t&&!t[At]&&t!==e;)Qe(t)&&jc(t[w],t),t=t[se];null===t&&(t=e),Qe(t)&&jc(t[w],t),n=t&&t[At]}t=n}}(t)}}function jc(e,t){if(!(256&t[L])){t[L]&=-129,t[L]|=256,function AS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[gr]=null);const o=t[En];if(null!==o){t[En]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===It.None||i===It.Emulated)return null}return Ye(r,n)}}(e,t.parent,n)}function Zn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tg(e,t,n){e.appendChild(t,n)}function Ng(e,t,n,r,o){null!==r?Zn(e,t,n,r,o):Tg(e,t,n)}function $s(e,t){return e.parentNode(t)}let Hc,Gc,Og=function xg(e,t,n){return 40&e.type?Ye(e,n):null};function Us(e,t,n,r){const o=Bc(e,r,t),i=t[F],a=function Rg(e,t,n){return Og(e,t,n)}(r.parent||t[xe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{n.push(s)};return Nr(t,s=>{const a=s;Zs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&nm(o,i),n}function nm(e,t){for(let n=0;n{t(i,r)})}}function Zs(e,t,n,r){if(!(e=x(e)))return!1;let o=null,i=us(e);const s=!i&&$(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=us(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of u)Zs(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Nr(i.imports,l=>{Zs(l,t,n,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&nm(c,t)}if(!a){const c=Gn(o)||(()=>new o);t({provide:o,useFactory:c,deps:G},o),t({provide:em,useValue:o,multi:!0},o),t({provide:ri,useValue:()=>M(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;Kc(u,l=>{t(l,c)})}}}return o!==e&&void 0!==e.providers}function Kc(e,t){for(let n of e)Uu(n)&&(n=n.\u0275providers),Array.isArray(n)?Kc(n,t):t(n)}const c0=Q({provide:String,useValue:Q});function el(e){return null!==e&&"object"==typeof e&&c0 in e}function Qn(e){return"function"==typeof e}const tl=new I("Set Injector scope."),Qs={},d0={};let nl;function Ys(){return void 0===nl&&(nl=new Xc),nl}class at{}class Xs extends at{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ol(t,s=>this.processProvider(s)),this.records.set(Kg,Vr(void 0,this)),o.has("environment")&&this.records.set(at,Vr(void 0,this));const i=this.records.get(tl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(em.multi,G,B.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=_n(this),r=We(void 0);try{return t()}finally{_n(n),We(r)}}get(t,n=No,r=B.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($h))return t[$h](this);r=ds(r);const i=_n(this),s=We(void 0);try{if(!(r&B.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=function m0(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&as(t);u=c&&this.injectableDefInScope(c)?Vr(rl(t),Qs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&B.Self?Ys():this.parent).get(t,n=r&B.Optional&&n===No?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ls]=a[ls]||[]).unshift(Ce(t)),i)throw a;return function uI(e,t,n,r){const o=e[ls];throw t[jh]&&o.unshift(t[jh]),e.message=function cI(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ce(t);if(Array.isArray(t))o=t.map(Ce).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(rI,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ls]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{We(s),_n(i)}}resolveInjectorInitializers(){const t=_n(this),n=We(void 0);try{const o=this.get(ri.multi,G,B.Self);for(const i of o)i()}finally{_n(t),We(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Qn(t=x(t))?t:x(t&&t.provide);const r=function h0(e){return el(e)?Vr(void 0,e.useValue):Vr(im(e),Qs)}(t);if(Qn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Vr(void 0,Qs,!0),o.factory=()=>Ju(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qs&&(n.value=d0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function g0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=x(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 rl(e){const t=as(e),n=null!==t?t.factory:Gn(e);if(null!==n)return n;if(e instanceof I)throw new D(204,!1);if(e instanceof Function)return function f0(e){const t=e.length;if(t>0)throw function Zo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new D(204,!1)}function im(e,t,n){let r;if(Qn(e)){const o=x(e);return Gn(o)||rl(o)}if(el(e))r=()=>x(e.useValue);else if(function om(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ju(e.deps||[]));else if(function rm(e){return!(!e||!e.useExisting)}(e))r=()=>M(x(e.useExisting));else{const o=x(e&&(e.useClass||e.provide));if(!function p0(e){return!!e.deps}(e))return Gn(o)||rl(o);r=()=>new o(...Ju(e.deps))}return r}function Vr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ol(e,t){for(const n of e)Array.isArray(n)?ol(n,t):n&&Uu(n)?ol(n.\u0275providers,t):t(n)}const Js=new I("AppId",{providedIn:"root",factory:()=>y0}),y0="ng",sm=new I("Platform Initializer"),Yn=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),am=new I("CSP nonce",{providedIn:"root",factory:()=>function kr(){if(void 0!==Gc)return Gc;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let um=(e,t,n)=>null;function fl(e,t,n=!1){return um(e,t,n)}class S0{}class dm{}class T0{resolveComponentFactory(t){throw function A0(e){const t=Error(`No component factory found for ${Ce(e)}.`);return t.ngComponent=e,t}(t)}}let oa=(()=>{class e{static#e=this.NULL=new T0}return e})();function N0(){return Hr(Ae(),v())}function Hr(e,t){return new ut(Ye(e,t))}let ut=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=N0}return e})();class hm{}let an=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function x0(){const e=v(),n=it(Ae().index,e);return(Qe(n)?n:e)[F]}()}return e})(),O0=(()=>{class e{static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();class si{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const P0=new si("16.2.8"),gl={};function ym(e,t=null,n=null,r){const o=vm(e,t,n,r);return o.resolveInjectorInitializers(),o}function vm(e,t=null,n=null,r,o=new Set){const i=[n||G,u0(e)];return r=r||("object"==typeof e?void 0:Ce(e)),new Xs(i,t||Ys(),r||null,o)}let ct=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=No;static#t=this.NULL=new Xc;static create(n,r){if(Array.isArray(n))return ym({name:""},r,n,"");{const o=n.name??"";return ym({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=S({token:e,providedIn:"any",factory:()=>M(Kg)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function yl(e){return e.ngOriginalError}class un{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}function Dl(e){return t=>{setTimeout(e,void 0,t)}}const ce=class H0 extends Et{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Dl(i),o&&(o=Dl(o)),s&&(s=Dl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof tt&&t.add(a),a}};function Cm(...e){}class re{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function $0(){const e="function"==typeof te.requestAnimationFrame;let t=te[e?"requestAnimationFrame":"setTimeout"],n=te[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function G0(e){const t=()=>{!function z0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_l(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_l(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function W0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return _m(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),wm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return _m(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),wm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,_l(e),Cl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!re.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(re.isInAngularZone())throw new D(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,U0,Cm,Cm);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 U0={};function Cl(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 _l(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function _m(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wm(e){e._nesting--,Cl(e)}class q0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}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)}}const Em=new I("",{providedIn:"root",factory:bm});function bm(){const e=E(re);let t=!0;return function Ub(...e){const t=To(e),n=function kb(e,t){return"number"==typeof ju(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?nt(r[0]):fr(n)(De(r,t)):kt}(new fe(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new fe(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{re.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(xh()))}function cn(e){return e instanceof Function?e():e}let wl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function ai(e){for(;e;){e[L]|=64;const t=Xo(e);if(oc(e)&&!t)return e;e=t}return null}const Tm=new I("",{providedIn:"root",factory:()=>!1});let sa=null;function Om(e,t){return e[t]??km()}function Pm(e,t){const n=km();n.producerNode?.length&&(e[t]=sa,n.lView=e,sa=Fm())}const rA={...ip,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ai(e.lView)},lView:null};function Fm(){return Object.create(rA)}function km(){return sa??=Fm(),sa}const k={};function Xn(e){Lm(U(),v(),Be()+e,!1)}function Lm(e,t,n,r){if(!r)if(3==(3&t[L])){const i=e.preOrderCheckHooks;null!==i&&ws(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Es(t,i,0,n)}qn(n)}function _(e,t=B.Default){const n=v();return null===n?M(e,t):Yp(Ae(),n,x(e),t)}function aa(e,t,n,r,o,i,s,a,u,c,l){const d=t.blueprint.slice();return d[le]=o,d[L]=140|r,(null!==c||e&&2048&e[L])&&(d[L]|=2048),Ip(d),d[se]=d[yr]=e,d[he]=n,d[mr]=s||e&&e[mr],d[F]=a||e&&e[F],d[wn]=u||e&&e[wn]||null,d[xe]=i,d[Lo]=function cS(){return uS++}(),d[nn]=l,d[tp]=c,d[pe]=2==t.type?e[pe]:d,d}function zr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function El(e,t,n,r,o){const i=Rp(),s=fc(),u=e.data[t]=function dA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function wr(){return null!==R.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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 null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function uM(){return R.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function $o(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ht(i,!0),i}function ui(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iH&&Lm(e,t,H,!1),Bt(a?2:0,o);const c=a?i:null,l=sc(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{ac(c,l)}}finally{a&&null===t[Vo]&&Pm(t,Vo),qn(s),Bt(a?3:1,o)}}function bl(e,t,n){if(rc(t)){const r=mt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function $m(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Um(n,t,o,i):r.hasOwnProperty(o)&&Um(n,t,r[o],i)}return n}function Um(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Al(e,t,n,r){if(Np()){const o=null===r?null:{"":-1},i=function CA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){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,ui(e,n,o.hostVars,k),o)}function Ut(e,t,n,r,o,i){const s=Ye(e,t);!function Nl(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?P(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[F],s,i,e.value,n,r,o)}function MA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function VI(e,t,n){const r=Object.create(jI);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>cp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!lp(r))return;r.hasRun=!0;const s=sc(r);try{r.cleanupFn(),r.cleanupFn=vp,r.fn(o)}finally{ac(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){ny(e,1);const o=n.components;null!==o&&oy(e,o,1)}}function oy(e,t,n){for(let r=0;r-1&&(Hs(t,r),Ts(n,r))}this._attachedToViewContainer=!1}Vc(this._lView[w],this._lView)}onDestroy(t){!function Ap(e,t){if(256==(256&e[L]))throw new D(911,!1);null===e[En]&&(e[En]=[]),e[En].push(t)}(this._lView,t)}markForCheck(){ai(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){this._lView[L]|=128}detectChanges(){la(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ES(e,t){Ko(e,t,t[F],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class FA extends li{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;la(t[w],t,t[he],!1)}checkNoChanges(){}get context(){return null}}class iy extends oa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$(t);return new di(n,this.ngModule)}}function sy(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class LA{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ds(r);const o=this.injector.get(t,gl,r);return o!==gl||n===gl?o:this.parentInjector.get(t,n,r)}}class di extends dm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=sy(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return sy(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function DI(e){return e.map(vI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof at?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new LA(t,i):t,a=s.get(hm,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(O0,null),effectManager:s.get(Km,null),afterRenderEventManager:s.get(wl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function sA(e,t,n,r){const i=r.get(Tm,!1)||n===It.ShadowDom,s=e.selectRootElement(t,i);return function aA(e){Hm(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Bs(f,h,function kA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),C=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=fl(p,s,!0));const b=Sl(0,null,null,1,0,null,null,null,null,null,null),A=aa(null,b,null,C,null,null,d,f,s,null,m);let j,Ee;yc(A);try{const Jt=this.componentDef;let dr,ih=null;Jt.findHostDirectiveDefs?(dr=[],ih=new Map,Jt.findHostDirectiveDefs(Jt,dr,ih),dr.push(Jt)):dr=[Jt];const Lj=function jA(e,t){const n=e[w],r=H;return e[r]=t,zr(n,r,2,"#host",null)}(A,p),Vj=function BA(e,t,n,r,o,i,s){const a=o[w];!function HA(e,t,n,r){for(const o of e)t.mergedAttrs=Oo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ca(t,t.mergedAttrs,!0),null!==n&&jg(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=fl(t,o[wn]));const c=i.rendererFactory.createRenderer(t,n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const d=aa(o,Bm(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Tl(a,e,r.length-1),ua(o,d),o[e.index]=d}(Lj,p,Jt,dr,A,d,f);Ee=bp(b,H),p&&function UA(e,t,n,r){if(r)tc(e,n,["ng-version",P0.full]);else{const{attrs:o,classes:i}=function CI(e){const t=[],n=[];let r=1,o=2;for(;r0&&Vg(e,n,i.join(" "))}}(f,Jt,p,r),void 0!==n&&function zA(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Oo(o.hostAttrs,n=Oo(n,o.hostAttrs))}}(r)}function da(e){return e===Lt?{}:e===G?[]:e}function WA(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function ZA(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function QA(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Pe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gt(e,t,n,r){const o=v();return Pe(o,Er(),t)&&(U(),Ut(ue(),o,e,t,n,r)),Gt}let Iy=function My(e,t,n,r){return Mn(!0),t[F].createComment("")};function eo(e,t,n){const r=v();return Pe(r,Er(),t)&&function lt(e,t,n,r,o,i,s,a){const u=Ye(t,n);let l,c=t.inputs;!a&&null!=c&&(l=c[r])?(xl(e,n,l,r,o),zn(t)&&function pA(e,t){const n=it(t,e);16&n[L]||(n[L]|=64)}(n,t.index)):3&t.type&&(r=function hA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(U(),ue(),r,e,t,r[F],n,!1),eo}function Bl(e,t,n,r,o){const s=o?"class":"style";xl(e,n,t.inputs[s],s,r)}function Ne(e,t,n,r){const o=v(),i=U(),s=H+e,a=o[F],u=i.firstCreatePass?function IT(e,t,n,r,o,i){const s=t.consts,u=zr(t,e,2,r,In(s,o));return Al(t,n,u,In(s,i)),null!==u.attrs&&ca(u,u.attrs,!1),null!==u.mergedAttrs&&ca(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],c=Sy(i,o,u,a,t,e);o[s]=c;const l=ms(u);return Ht(u,!0),jg(a,c,u),32!=(32&u.flags)&&Cs()&&Us(i,o,c,u),0===function XI(){return R.lFrame.elementDepthCount}()&&Oe(c,o),function JI(){R.lFrame.elementDepthCount++}(),l&&(Il(i,o,u),bl(i,u,o)),null!==r&&Ml(o,u),Ne}function Re(){let e=Ae();fc()?function hc(){R.lFrame.isParent=!1}():(e=e.parent,Ht(e,!1));const t=e;(function eM(e){return R.skipHydrationRootTNode===e})(t)&&function oM(){R.skipHydrationRootTNode=null}(),function KI(){R.lFrame.elementDepthCount--}();const n=U();return n.firstCreatePass&&(_s(n,e),rc(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _M(e){return 0!=(8&e.flags)}(t)&&Bl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function wM(e){return 0!=(16&e.flags)}(t)&&Bl(n,t,v(),t.stylesWithoutHost,!1),Re}function to(e,t,n,r){return Ne(e,t,n,r),Re(),to}let Sy=(e,t,n,r,o,i)=>(Mn(!0),Bs(r,o,function Hp(){return R.lFrame.currentNamespace}()));function mi(e){return!!e&&"function"==typeof e.then}function Ny(e){return!!e&&"function"==typeof e.subscribe}function $e(e,t,n,r){const o=v(),i=U(),s=Ae();return function xy(e,t,n,r,o,i,s){const a=ms(r),c=e.firstCreatePass&&function Ym(e){return e.cleanup||(e.cleanup=[])}(e),l=t[he],d=function Qm(e){return e[gr]||(e[gr]=[])}(t);let f=!0;if(3&r.type||s){const g=Ye(r,t),y=s?s(g):g,C=d.length,m=s?A=>s(ne(A[r.index])):r.index;let b=null;if(!s&&a&&(b=function xT(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=i,b.__ngLastListenerFn__=i,f=!1;else{i=Py(r,t,l,i,!1);const A=n.listen(y,o,i);d.push(i,A),c&&c.push(o,m,C,C+1)}}else i=Py(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?it(e.index,t):t);let u=Oy(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Oy(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function ya(e,t){return e<<17|t<<2}function Tn(e){return e>>17&32767}function zl(e){return 2|e}function Kn(e){return(131068&e)>>2}function Gl(e,t){return-131069&e|t<<2}function ql(e){return 1|e}function zy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Tn(i):Kn(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];$T(e[a],t)&&(u=!0,e[a+1]=r?ql(l):zl(l)),a=r?Tn(l):Kn(l)}u&&(e[n+1]=r?zl(i):ql(i))}function $T(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rr(e,t)>=0}function va(e,t){return function Nt(e,t,n,r){const o=v(),i=U(),s=function on(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Ky(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Be()],s=function Jy(e,t){return t>=e.expandoStartIndex}(e,n);(function rv(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function XT(e,t,n,r){const o=function gc(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=yi(n=Wl(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Wl(o,e,t,n,r),null===i){let u=function JT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Kn(r))return e[Tn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Wl(null,e,t,u[1],r),u=yi(u,t.attrs,r),function KT(e,t,n,r){e[Tn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function eN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):l=n,o)if(0!==u){const f=Tn(e[a+1]);e[r+1]=ya(f,a),0!==f&&(e[f+1]=Gl(e[f+1],r)),e[a+1]=function VT(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ya(a,0),0!==a&&(e[a+1]=Gl(e[a+1],r)),a=r;else e[r+1]=ya(u,0),0===a?a=r:e[u+1]=Gl(e[u+1],r),u=r;c&&(e[r+1]=zl(e[r+1])),zy(e,l,r,!0),zy(e,l,r,!1),function HT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Rr(i,t)>=0&&(n[r+1]=ql(n[r+1]))}(t,l,e,r,i),s=ya(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==k&&Pe(o,s,t)&&function tv(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,c=u[a+1],l=function jT(e){return 1==(1&e)}(c)?nv(u,t,n,o,Kn(c),s):void 0;Da(l)||(Da(i)||function LT(e){return 2==(2&e)}(c)&&(i=nv(u,null,n,o,a,s)),function OS(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Sn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Sn.Important),e.setStyle(n,r,o,i))}}(r,s,Ds(Be(),n),o,i))}(i,i.data[Be()],o,o[F],e,o[s+1]=function oN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ce(function An(e){return e instanceof Ug?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),va}function Wl(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=n[o+1];f===k&&(f=d?G:void 0);let h=d?Sc(f,r):l===r?f:void 0;if(c&&!Da(h)&&(h=Sc(u,r)),Da(h)&&(a=h,s))return a;const p=e[o+1];o=s?Tn(p):Kn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Sc(u,r))}return a}function Da(e){return void 0!==e}function Je(e,t=""){const n=v(),r=U(),o=e+H,i=r.firstCreatePass?zr(r,o,1,t,null):r.data[o],s=ov(r,n,i,t,e);n[o]=s,Cs()&&Us(r,n,s,i),Ht(i,!1)}let ov=(e,t,n,r,o)=>(Mn(!0),function js(e,t){return e.createText(t)}(t[F],r));function Ca(e){return Zl("",e,""),Ca}function Zl(e,t,n){const r=v(),o=function qr(e,t,n,r){return Pe(e,Er(),n)?t+P(n)+r:k}(r,e,t,n);return o!==k&&function ln(e,t,n){const r=Ds(t,e);!function Mg(e,t,n){e.setValue(t,n)}(e[F],r,n)}(r,Be(),o),Zl}const oo="en-US";let Mv=oo;function Xl(e,t,n,r,o){if(e=x(e),Array.isArray(e))for(let i=0;i>20;if(Qn(e)||!e.multi){const h=new Uo(c,o,_),p=Kl(u,t,o?l:l+f,d);-1===p?(bc(Is(a,s),i,u),Jl(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Kl(u,t,l+f,d),p=Kl(u,t,l,l+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){bc(Is(a,s),i,u);const C=function IR(e,t,n,r,o){const i=new Uo(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Xv(i,o,r&&!n),i}(o?bR:ER,n.length,o,r,c);!o&&y&&(n[p].providerFactory=C),Jl(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else Jl(i,e,h>-1?h:p,Xv(n[o?p:h],c,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Jl(e,t,n,r){const o=Qn(t),i=function l0(e){return!!e.useClass}(t);if(o||i){const u=(i?x(t.useClass):t).prototype.ngOnDestroy;if(u){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const l=c.indexOf(n);-1===l?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Xv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kl(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function wR(e,t,n){const r=U();if(r.firstCreatePass){const o=Tt(e);Xl(n,r.data,r.blueprint,o,!0),Xl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class tr{}class Jv{}class td extends tr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new iy(this);const o=ot(t);this._bootstrapComponents=cn(o.bootstrap),this._r3Injector=vm(t,n,[{provide:tr,useValue:this},{provide:oa,useValue:this.componentFactoryResolver},...r],Ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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 nd extends Jv{constructor(t){super(),this.moduleType=t}create(t){return new td(this.moduleType,t,[])}}class Kv extends tr{constructor(t){super(),this.componentFactoryResolver=new iy(this),this.instance=null;const n=new Xs([...t.providers,{provide:tr,useValue:this},{provide:oa,useValue:this.componentFactoryResolver}],t.parent||Ys(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function rd(e,t,n=null){return new Kv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let AR=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=tm(0,n.type),o=r.length>0?rd([r],this._injector,`Standalone[${n.type.name}]`):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#e=this.\u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(M(at))})}return e})();function eD(e){e.getStandaloneInjector=t=>t.get(AR).getOrCreateStandaloneInjector(e)}function nx(e,t,n,r=!0){const o=t[w];if(function IS(e,t,n,r){const o=Me+r,i=n.length;r>0&&(n[o-1][At]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=ix}return e})();const rx=dn,ox=class extends rx{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function tx(e,t,n,r){const o=t.tView,a=aa(e,o,n,4096&e[L]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[ko]=e[t.index];const c=e[Vt];return null!==c&&(a[Vt]=c.createEmbeddedView(o)),Ol(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new li(o)}};function ix(){return function Ia(e,t){return 4&e.type?new ox(t,e,Hr(e,t)):null}(Ae(),v())}let xt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dx}return e})();function dx(){return function vD(e,t){let n;const r=t[e.index];return Ve(r)?n=r:(n=Wm(r,t,null,e),t[e.index]=n,ua(t,n)),DD(n,t,e,r),new mD(n,e,t)}(Ae(),v())}const fx=xt,mD=class extends fx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new He(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ms(this._hostTNode,this._hostLView);if(_c(t)){const n=Go(t,this._hostLView),r=zo(t);return new He(n[w].data[r+8],n)}return new He(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=yD(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Wo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new di($(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?c:this.parentInjector).get(at,null);y&&(i=y)}$(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function ZI(e){return Ve(e[se])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const c=o[se],l=new mD(c,c[xe],c[se]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return nx(a,o,s,!r),t.attachToViewContainerRef(),ng(sd(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=yD(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hs(this._lContainer,n);r&&(Ts(sd(this._lContainer),n),Vc(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hs(this._lContainer,n);return r&&null!=Ts(sd(this._lContainer),n)?new li(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yD(e){return e[8]}function sd(e){return e[8]||(e[8]=[])}let DD=function CD(e,t,n,r){if(e[jt])return;let o;o=8&n.type?ne(r):function hx(e,t){const n=e[F],r=n.createComment(""),o=Ye(t,e);return Zn(n,$s(n,o),r,function NS(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[jt]=o};const yd=new I("Application Initializer");let vd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=E(yd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(mi(i))n.push(i);else if(Ny(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});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#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const fn=new I("LocaleId",{providedIn:"root",factory:()=>E(fn,B.Optional|B.SkipSelf)||function zx(){return typeof $localize<"u"&&$localize.locale||oo}()});let Aa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ht(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Wx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qD=(()=>{class e{compileModuleSync(n){return new nd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=cn(ot(n).declarations).reduce((s,a)=>{const u=$(a);return u&&s.push(new di(u)),s},[]);return new Wx(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const YD=new I(""),Na=new I("");let Ed,_d=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ed||(function hO(e){Ed=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}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(this._didWork,this.getPendingTasks())},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()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(M(re),M(wd),M(Na))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),wd=(()=>{class e{constructor(){this._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 Ed?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Nn=null;const XD=new I("AllowMultipleToken"),bd=new I("PlatformDestroyListeners"),Id=new I("appBootstrapListener");class KD{constructor(t,n){this.name=t,this.token=n}}function tC(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=Md();if(!s||s.injector.get(XD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function mO(e){if(Nn&&!Nn.get(XD,!1))throw new D(400,!1);(function JD(){!function OI(e){pp=e}(()=>{throw new D(600,!1)})})(),Nn=e;const t=e.get(rC);(function eC(e){e.get(sm,null)?.forEach(n=>n())})(e)}(function nC(e=[],t){return ct.create({name:t,providers:[{provide:tl,useValue:"platform"},{provide:bd,useValue:new Set([()=>Nn=null])},...e]})}(a,r))}return function vO(e){const t=Md();if(!t)throw new D(401,!1);return t}()}}function Md(){return Nn?.get(rC)??null}let rC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function DO(e="zone.js",t){return"noop"===e?new q0:"zone.js"===e?new re(t):e}(r?.ngZone,function oC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function SR(e,t,n){return new td(e,t,n)}(n.moduleType,this.injector,function cC(e){return[{provide:re,useFactory:e},{provide:ri,multi:!0,useFactory:()=>{const t=E(_O,{optional:!0});return()=>t.initialize()}},{provide:uC,useFactory:CO},{provide:Em,useFactory:bm}]}(()=>o)),s=i.injector.get(un,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Ra(this._modules,i),a.unsubscribe()})}),function iC(e,t,n){try{const r=n();return mi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(vd);return a.runInitializers(),a.donePromise.then(()=>(function Sv(e){pt(e,"Expected localeId to be defined"),"string"==typeof e&&(Mv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,oo)||oo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=sC({},r);return function pO(e,t,n){const r=new nd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ao);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(bd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(M(ct))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sC(e,t){return Array.isArray(t)?t.reduce(sC,e):{...e,...t}}let ao=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(uC),this.zoneIsStable=E(Em),this.componentTypes=[],this.components=[],this.isStable=E(Aa).hasPendingTasks.pipe(bt(n=>n?T(!1):this.zoneIsStable),function zb(e,t=Dn){return e=e??Gb,ve((n,r)=>{let o,i=!0;n.subscribe(me(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),xh()),this._injector=E(at)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof dm;if(!this._injector.get(vd).done)throw!o&&function pr(e){const t=$(e)||Ie(e)||Le(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=o?n:this._injector.get(oa).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function gO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(tr),c=s.create(ct.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(YD,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Ra(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ra(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Id,[]);r.push(...this._bootstrapListeners),r.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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ra(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ra(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const uC=new I("",{providedIn:"root",factory:()=>E(un).handleError.bind(void 0)});function CO(){const e=E(re),t=E(un);return n=>e.runOutsideAngular(()=>t.handleError(n))}let _O=(()=>{class e{constructor(){this.zone=E(re),this.applicationRef=E(ao)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let xa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=EO}return e})();function EO(e){return function bO(e,t,n){if(zn(e)&&!n){const r=it(e.index,t);return new li(r,r)}return 47&e.type?new li(t[pe],t):null}(Ae(),v(),16==(16&e))}const LO=tC(null,"core",[]);let VO=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(M(ao))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();let xd=null;function Rn(){return xd}class JO{}const dt=new I("DocumentToken");let Od=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(eP)},providedIn:"platform"})}return e})();const KO=new I("Location Initialized");let eP=(()=>{class e extends Od{constructor(){super(),this._doc=E(dt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rn().getBaseHref(this._doc)}onPopState(n){const r=Rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Pd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function SC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function hn(e){return e&&"?"!==e[0]?"?"+e:e}let rr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(TC)},providedIn:"root"})}return e})();const AC=new I("appBaseHref");let TC=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??E(dt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Pd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+hn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+hn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+hn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Od),M(AC,8))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tP=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Pd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+hn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+hn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Od),M(AC,8))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Fd=(()=>{class e{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function oP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(SC(NC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+hn(r))}normalize(n){return e.stripTrailingSlash(function rP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,NC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=hn;static#t=this.joinWithSlash=Pd;static#n=this.stripTrailingSlash=SC;static#r=this.\u0275fac=function(r){return new(r||e)(M(rr))};static#o=this.\u0275prov=S({token:e,factory:function(){return function nP(){return new Fd(M(rr))}()},providedIn:"root"})}return e})();function NC(e){return e.replace(/\/index.html$/,"")}function jC(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}let UC=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new qP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){zC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){zC("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(_(xt),_(dn))};static#t=this.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class qP{constructor(){this.$implicit=null,this.ngIf=null}}function zC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ce(t)}'.`)}let yF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();function ZC(e){return"server"===e}let _F=(()=>{class e{static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new wF(M(dt),window)})}return e})();class wF{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function EF(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class QC{}class qF extends JO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Jd extends qF{static makeCurrent(){!function XO(e){xd||(xd=e)}(new Jd)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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 WF(){return Ri=Ri||document.querySelector("base"),Ri?Ri.getAttribute("href"):null}();return null==n?null:function ZF(e){Qa=Qa||document.createElement("a"),Qa.setAttribute("href",e);const t=Qa.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ri=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return jC(document.cookie,t)}}let Qa,Ri=null,YF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Kd=new I("EventManagerPlugins");let e_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kd),M(re))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class t_{constructor(t){this._doc=t}}const ef="ng-app-id";let n_=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ZC(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${ef}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(ef),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(ef,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt),M(Js),M(am,8),M(Yn))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const tf={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/MathML/"},nf=/%COMP%/g,e1=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function o_(e,t){return t.map(n=>n.replace(nf,e))}let i_=(()=>{class e{constructor(n,r,o,i,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=ZC(a),this.defaultRenderer=new rf(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===It.ShadowDom&&(r={...r,encapsulation:It.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof a_?o.applyToHost(n):o instanceof sf&&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,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case It.Emulated:i=new a_(u,c,r,this.appId,l,s,a,d);break;case It.ShadowDom:return new o1(u,c,n,r,s,a,this.nonce,d);default:i=new sf(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(M(e_),M(n_),M(Js),M(e1),M(dt),M(Yn),M(re),M(am))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class rf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(tf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(s_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(s_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new D(-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=tf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=tf[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&(Sn.DashCase|Sn.Important)?t.style.setProperty(n,r,o&Sn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Sn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Rn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function s_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class o1 extends rf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=o_(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class sf extends rf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?o_(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class a_ extends sf{constructor(t,n,r,o,i,s,a,u){const c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=function t1(e){return"_ngcontent-%COMP%".replace(nf,e)}(c),this.hostAttr=function n1(e){return"_nghost-%COMP%".replace(nf,e)}(c)}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}}let i1=(()=>{class e extends t_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const u_=["alt","control","meta","shift"],s1={"\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"},a1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let u1=(()=>{class e extends t_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rn().onAndCancel(n,i.domEventName,s))}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."),u_.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=s1[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"),u_.forEach(s=>{s!==o&&(0,a1[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#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const f1=tC(LO,"browser",[{provide:Yn,useValue:"browser"},{provide:sm,useValue:function c1(){Jd.makeCurrent()},multi:!0},{provide:dt,useFactory:function d1(){return function VS(e){Gc=e}(document),document},deps:[]}]),h1=new I(""),d_=[{provide:Na,useClass:class QF{addToWindow(t){te.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new D(5103,!1);return i},te.getAllAngularTestabilities=()=>t.getAllTestabilities(),te.getAllAngularRootElements=()=>t.getAllRootElements(),te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r=>{const o=te.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:YD,useClass:_d,deps:[re,wd,Na]},{provide:_d,useClass:_d,deps:[re,wd,Na]}],f_=[{provide:tl,useValue:"root"},{provide:un,useFactory:function l1(){return new un},deps:[]},{provide:Kd,useClass:i1,multi:!0,deps:[dt,re,Yn]},{provide:Kd,useClass:u1,multi:!0,deps:[dt]},i_,n_,e_,{provide:hm,useExisting:i_},{provide:QC,useClass:YF,deps:[]},[]];let p1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Js,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(M(h1,12))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({providers:[...f_,...d_],imports:[yF,VO]})}return e})(),h_=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:function(r){let o=null;return o=r?new r:function m1(){return new h_(M(dt))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:_1}=Array,{getPrototypeOf:w1,prototype:E1,keys:b1}=Object;function y_(e){if(1===e.length){const t=e[0];if(_1(t))return{args:t,keys:null};if(function I1(e){return e&&"object"==typeof e&&w1(e)===E1}(t)){const n=b1(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:M1}=Array;function v_(e){return z(t=>function S1(e,t){return M1(t)?e(...t):e(t)}(e,t))}function D_(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let C_=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(an),_(ut))};static#t=this.\u0275dir=O({type:e})}return e})(),or=(()=>{class e extends C_{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275dir=O({type:e,features:[Y]})}return e})();const Zt=new I("NgValueAccessor"),N1={provide:Zt,useExisting:ee(()=>Ya),multi:!0},x1=new I("CompositionEventMode");let Ya=(()=>{class e extends C_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function R1(){const e=Rn()?Rn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(an),_(ut),_(x1,8))};static#t=this.\u0275dir=O({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&$e("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ae([N1]),Y]})}return e})();const Fe=new I("NgValidators"),Pn=new I("NgAsyncValidators");function Xa(e){return null}function R_(e){return null!=e}function x_(e){return mi(e)?De(e):e}function O_(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function P_(e,t){return t.map(n=>n(e))}function F_(e){return e.map(t=>function P1(e){return!e.validate}(t)?t:n=>t.validate(n))}function uf(e){return null!=e?function k_(e){if(!e)return null;const t=e.filter(R_);return 0==t.length?null:function(n){return O_(P_(n,t))}}(F_(e)):null}function cf(e){return null!=e?function L_(e){if(!e)return null;const t=e.filter(R_);return 0==t.length?null:function(n){return function A1(...e){const t=Ah(e),{args:n,keys:r}=y_(e),o=new fe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?D_(r,a):a),i.complete())}))}});return t?o.pipe(v_(t)):o}(P_(n,t).map(x_)).pipe(z(O_))}}(F_(e)):null}function V_(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function lf(e){return e?Array.isArray(e)?e:[e]:[]}function Ja(e,t){return Array.isArray(e)?e.includes(t):e===t}function H_(e,t){const n=lf(t);return lf(e).forEach(o=>{Ja(n,o)||n.push(o)}),n}function $_(e,t){return lf(t).filter(n=>!Ja(e,n))}class U_{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=uf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=cf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class qe extends U_{get formDirective(){return null}get path(){return null}}class Fn extends U_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z_{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let G_=(()=>{class e extends z_{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Fn,2))};static#t=this.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&va("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]})}return e})();const xi="VALID",eu="INVALID",lo="PENDING",Oi="DISABLED";function tu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Q_{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===xi}get invalid(){return this.status===eu}get pending(){return this.status==lo}get disabled(){return this.status===Oi}get enabled(){return this.status!==Oi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(H_(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(H_(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators($_(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators($_(t,this._rawAsyncValidators))}hasValidator(t){return Ja(this._rawValidators,t)}hasAsyncValidator(t){return Ja(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=lo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Oi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=xi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xi||this.status===lo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oi:xi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=lo,this._hasOwnPendingAsyncValidator=!0;const n=x_(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Oi:this.errors?eu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lo)?lo:this._anyControlsHaveStatus(eu)?eu:xi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){tu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function j1(e){return Array.isArray(e)?uf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function B1(e){return Array.isArray(e)?cf(e):e||null}(this._rawAsyncValidators)}}const fo=new I("CallSetDisabledState",{providedIn:"root",factory:()=>nu}),nu="always";function Pi(e,t,n=nu){(function mf(e,t){const n=function j_(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(V_(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function B_(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(V_(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();iu(t._rawValidators,o),iu(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function U1(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Y_(e,t)})}(e,t),function G1(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function z1(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Y_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function $1(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function iu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Y_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function K_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ew(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const tw=class extends Q_{constructor(t=null,n,r){super(function hf(e){return(tu(e)?e.validators:e)||null}(n),function pf(e,t){return(tu(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=ew(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){K_(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){K_(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){ew(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},K1={provide:Fn,useExisting:ee(()=>_f)},ow=(()=>Promise.resolve())();let _f=(()=>{class e extends Fn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new tw,this._registered=!1,this.name="",this.update=new ce,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Df(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ya?n=i:function Z1(e){return Object.getPrototypeOf(e.constructor)===or}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function vf(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){ow.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function uo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);ow.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ru(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(_(qe,9),_(Fe,10),_(Pn,10),_(Zt,10),_(xa,8),_(fo,8))};static#t=this.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ae([K1]),Y,yt]})}return e})(),sw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();let ir=(()=>{class e{constructor(){this._validator=Xa}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Xa,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=O({type:e,features:[yt]})}return e})();const wk={provide:Fe,useExisting:ee(()=>Af),multi:!0};let Af=(()=>{class e extends ir{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function gw(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function T_(e){return t=>function w_(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275dir=O({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Gt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ae([wk]),Y]})}return e})(),bk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[sw]})}return e})(),Mk=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:fo,useValue:n.callSetDisabledState??nu}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[bk]})}return e})();function ho(e,t){return J(t)?be(e,t,1):be(e,1)}function mn(e,t){return ve((n,r)=>{let o=0;n.subscribe(me(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ki(e){return ve((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class au{}class uu{}class Qt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Qt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Qt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Qt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Sk{encodeKey(t){return Ew(t)}encodeValue(t){return Ew(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Tk=/%(\d[a-f0-9])/gi,Nk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ew(e){return encodeURIComponent(e).replace(Tk,(t,n)=>Nk[n]??t)}function cu(e){return`${e}`}class kn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Sk,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ak(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(cu):[cu(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new kn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(cu(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(cu(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Rk{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function bw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Iw(e){return typeof Blob<"u"&&e instanceof Blob}function Mw(e){return typeof FormData<"u"&&e instanceof FormData}class Li{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function xk(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Qt),this.context||(this.context=new Rk),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new Li(n,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}}var po=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(po||{});class Tf{constructor(t,n=200,r="OK"){this.headers=t.headers||new Qt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Nf extends Tf{constructor(t={}){super(t),this.type=po.ResponseHeader}clone(t={}){return new Nf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class go extends Tf{constructor(t={}){super(t),this.type=po.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new go({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Sw extends Tf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Rf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Aw=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Li)i=n;else{let u,c;u=o.headers instanceof Qt?o.headers:new Qt(o.headers),o.params&&(c=o.params instanceof kn?o.params:new kn({fromObject:o.params})),i=new Li(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=T(i).pipe(ho(u=>this.handler.handle(u)));if(n instanceof Li||"events"===o.observe)return s;const a=s.pipe(mn(u=>u instanceof go));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new kn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Rf(o,r))}post(n,r,o={}){return this.request("POST",n,Rf(o,r))}put(n,r,o={}){return this.request("PUT",n,Rf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(M(au))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Rw(e,t){return t(e)}function Fk(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const Lk=new I(""),Vi=new I(""),xw=new I("");function Vk(){let e=null;return(t,n)=>{null===e&&(e=(E(Lk,{optional:!0})??[]).reduceRight(Fk,Rw));const r=E(Aa),o=r.add();return e(t,n).pipe(ki(()=>r.remove(o)))}}let Ow=(()=>{class e extends au{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=E(Aa)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Vi),...this.injector.get(xw,[])]));this.chain=o.reduceRight((i,s)=>function kk(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),Rw)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ki(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(M(uu),M(at))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const $k=/^\)\]\}',?\n/;let Fw=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new D(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?De(r.\u0275loadImpl()):T(null)).pipe(bt(()=>new fe(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const c=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new Qt(s.getAllResponseHeaders()),C=function Uk(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new Nf({headers:y,status:s.status,statusText:g,url:C}),u},l=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),b=null;204!==y&&(b=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=b?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const j=b;b=b.replace($k,"");try{b=""!==b?JSON.parse(b):null}catch(Ee){b=j,A&&(A=!1,b={error:Ee,text:b})}}A?(i.next(new go({body:b,headers:g,status:y,statusText:C,url:m||void 0})),i.complete()):i.error(new Sw({error:b,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new Sw({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(C)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let y={type:po.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:po.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:po.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(M(QC))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const xf=new I("XSRF_ENABLED"),kw=new I("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Lw=new I("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vw{}let qk=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=jC(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt),M(Yn),M(kw))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Wk(e,t){const n=e.url.toLowerCase();if(!E(xf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=E(Vw).getToken(),o=E(Lw);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ln=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Ln||{});function Zk(...e){const t=[Aw,Fw,Ow,{provide:au,useExisting:Ow},{provide:uu,useExisting:Fw},{provide:Vi,useValue:Wk,multi:!0},{provide:xf,useValue:!0},{provide:Vw,useClass:qk}];for(const n of e)t.push(...n.\u0275providers);return function Jc(e){return{\u0275providers:e}}(t)}const jw=new I("LEGACY_INTERCEPTOR_FN");function Qk(){return function sr(e,t){return{\u0275kind:e,\u0275providers:t}}(Ln.LegacyInterceptors,[{provide:jw,useFactory:Vk},{provide:Vi,useExisting:jw,multi:!0}])}let Yk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({providers:[Zk(Qk())]})}return e})();function Of(...e){const t=To(e),n=Ah(e),{args:r,keys:o}=y_(e);if(0===r.length)return De([],t);const i=new fe(function rL(e,t,n=Dn){return r=>{Bw(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const c=De(e[u],t);let l=!1;c.subscribe(me(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>D_(o,s):Dn));return n?i.pipe(v_(n)):i}function Bw(e,t,n){e?Kt(n,e,t):t()}const du=Mo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pf(...e){return function oL(){return fr(1)}()(De(e,To(e)))}function Hw(e){return new fe(t=>{nt(e()).subscribe(t)})}function ji(e,t){const n=J(e)?e:()=>e,r=o=>o.error(n());return new fe(t?o=>t.schedule(r,0,o):r)}function Ff(){return ve((e,t)=>{let n=null;e._refCount++;const r=me(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class $w extends fe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,hh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new tt;const n=this.getSubject();t.add(this.source.subscribe(me(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=tt.EMPTY)}return t}refCount(){return Ff()(this)}}function mo(e){return e<=0?()=>kt:ve((t,n)=>{let r=0;t.subscribe(me(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fu(e){return ve((t,n)=>{let r=!1;t.subscribe(me(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Uw(e=sL){return ve((t,n)=>{let r=!1;t.subscribe(me(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function sL(){return new du}function ar(e,t){const n=arguments.length>=2;return r=>r.pipe(e?mn((o,i)=>e(o,i,r)):Dn,mo(1),n?fu(t):Uw(()=>new du))}function ke(e,t,n){const r=J(e)||t||n?{next:e,error:t,complete:n}:e;return r?ve((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(me(i,u=>{var c;null===(c=r.next)||void 0===c||c.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,u),i.error(u)},()=>{var u,c;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Dn}function ur(e){return ve((t,n)=>{let i,r=null,o=!1;r=t.subscribe(me(n,void 0,void 0,s=>{i=nt(e(s,ur(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function kf(e){return e<=0?()=>kt:ve((t,n)=>{let r=[];t.subscribe(me(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}const V="primary",Bi=Symbol("RouteTitle");class fL{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function yo(e){return new fL(e)}function hL(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function Gw(e){return e.length>0?e[e.length-1]:null}function Vn(e){return function nL(e){return!!e&&(e instanceof fe||J(e.lift)&&J(e.subscribe))}(e)?e:mi(e)?De(Promise.resolve(e)):T(e)}const gL={exact:function Zw(e,t,n){if(!cr(e.segments,t.segments)||!hu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Zw(e.children[r],t.children[r],n))return!1;return!0},subset:Qw},qw={exact:function mL(e,t){return Yt(e,t)},subset:function yL(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zw(e[n],t[n]))},ignored:()=>!0};function Ww(e,t,n){return gL[n.paths](e.root,t.root,n.matrixParams)&&qw[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Qw(e,t,n){return Yw(e,t,t.segments,n)}function Yw(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!cr(o,n)||t.hasChildren()||!hu(o,n,r))}if(e.segments.length===n.length){if(!cr(e.segments,n)||!hu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!Qw(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(cr(e.segments,o)&&hu(e.segments,o,r)&&e.children[V])&&Yw(e.children[V],t,i,r)}}function hu(e,t,n){return t.every((r,o)=>qw[n](e[o].parameters,r.parameters))}class vo{constructor(t=new X([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yo(this.queryParams)),this._queryParamMap}toString(){return CL.serialize(this)}}class X{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pu(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=yo(this.parameters)),this._parameterMap}toString(){return Kw(this)}}function cr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let $i=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return new Lf},providedIn:"root"})}return e})();class Lf{parse(t){const n=new RL(t);return new vo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ui(t.root,!0)}`,r=function EL(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${gu(n)}=${gu(o)}`).join("&"):`${gu(n)}=${gu(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function _L(e){return encodeURI(e)}(t.fragment)}`:""}`}}const CL=new Lf;function pu(e){return e.segments.map(t=>Kw(t)).join("/")}function Ui(e,t){if(!e.hasChildren())return pu(e);if(t){const n=e.children[V]?Ui(e.children[V],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==V&&r.push(`${o}:${Ui(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function DL(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===V&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==V&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===V?[Ui(e.children[V],!1)]:[`${o}:${Ui(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[V]?`${pu(e)}/${n[0]}`:`${pu(e)}/(${n.join("//")})`}}function Xw(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gu(e){return Xw(e).replace(/%3B/gi,";")}function Vf(e){return Xw(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mu(e){return decodeURIComponent(e)}function Jw(e){return mu(e.replace(/\+/g,"%20"))}function Kw(e){return`${Vf(e.path)}${function wL(e){return Object.keys(e).map(t=>`;${Vf(t)}=${Vf(e[t])}`).join("")}(e.parameters)}`}const bL=/^[^\/()?;#]+/;function jf(e){const t=e.match(bL);return t?t[0]:""}const IL=/^[^\/()?;=#]+/,SL=/^[^=?&#]+/,TL=/^[^&#]+/;class RL{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[V]=new X(t,n)),r}parseSegment(){const t=jf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Hi(mu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function ML(e){const t=e.match(IL);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=jf(this.remaining);o&&(r=o,this.capture(r))}t[mu(n)]=mu(r)}parseQueryParam(t){const n=function AL(e){const t=e.match(SL);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function NL(e){const t=e.match(TL);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Jw(n),i=Jw(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=jf(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=V);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[V]:new X([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}}function eE(e){return e.segments.length>0?new X([],{[V]:e}):e}function tE(e){const t={};for(const r of Object.keys(e.children)){const i=tE(e.children[r]);if(r===V&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function xL(e){if(1===e.numberOfChildren&&e.children[V]){const t=e.children[V];return new X(e.segments.concat(t.segments),t.children)}return e}(new X(e.segments,t))}function lr(e){return e instanceof vo}function nE(e){let t;const o=eE(function n(i){const s={};for(const u of i.children){const c=n(u);s[u.outlet]=c}const a=new X(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function rE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Bf(o,o,o,n,r);const i=function PL(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new iE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new iE(n,t,r)}(t);if(i.toRoot())return Bf(o,o,new X([],{}),n,r);const s=function FL(e,t,n){if(e.isAbsolute)return new vu(t,!0,0);if(!n)return new vu(t,!1,NaN);if(null===n.parent)return new vu(n,!0,0);const r=yu(e.commands[0])?0:1;return function kL(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new vu(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Gi(s.segmentGroup,s.index,i.commands):sE(s.segmentGroup,s.index,i.commands);return Bf(o,s.segmentGroup,a,n,r)}function yu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Bf(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`}),s=e===t?n:oE(e,t,n);const a=eE(tE(s));return new vo(a,i,o)}function oE(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:oE(i,t,n)}),new X(e.segments,r)}class iE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&yu(r[0]))throw new D(4003,!1);const o=r.find(zi);if(o&&o!==Gw(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vu{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function sE(e,t,n){if(e||(e=new X([],{})),0===e.segments.length&&e.hasChildren())return Gi(e,t,n);const r=function VL(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(zi(a))break;const u=`${a}`,c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!uE(u,c,s))return i;r+=2}else{if(!uE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==V)&&e.children[V]&&1===e.numberOfChildren&&0===e.children[V].segments.length){const i=Gi(e.children[V],t,n);return new X(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=sE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new X(e.segments,o)}}function Hf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Hf(new X([],{}),0,r))}),t}function aE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function uE(e,t,n){return e==n.path&&Yt(t,n.parameters)}const qi="imperative";class Xt{constructor(t,n){this.id=t,this.url=n}}class Du extends Xt{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jn extends Xt{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wi extends Xt{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Do extends Xt{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Cu extends Xt{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cE extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BL extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class HL extends Xt{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $L extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UL extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zL{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GL{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qL{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class WL{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZL{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class QL{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class $f{}class Uf{constructor(t){this.url=t}}class YL{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zi,this.attachRef=null}}let Zi=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new YL,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class dE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=zf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=zf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Gf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Gf(t,this._root).map(n=>n.value)}}function zf(e,t){if(e===t.value)return t;for(const n of t.children){const r=zf(e,n);if(r)return r}return null}function Gf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Gf(e,n);if(r.length)return r.unshift(t),r}return[]}class yn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Co(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class fE extends dE{constructor(t,n){super(t),this.snapshot=n,qf(this,t)}toString(){return this.snapshot.toString()}}function hE(e,t){const n=function XL(e,t){const s=new _u([],{},{},"",{},V,t,null,{});return new gE("",new yn(s,[]))}(0,t),r=new ht([new Hi("",{})]),o=new ht({}),i=new ht({}),s=new ht({}),a=new ht(""),u=new _o(r,o,s,a,i,V,t,n.root);return u.snapshot=n.root,new fE(new yn(u,[]),n)}class _o{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(z(c=>c[Bi]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(z(t=>yo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(t=>yo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pE(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function JL(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class _u{get title(){return this.data?.[Bi]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=yo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gE extends dE{constructor(t,n){super(n),this.url=t,qf(this,n)}toString(){return mE(this._root)}}function qf(e,t){t.value._routerState=e,t.children.forEach(n=>qf(e,n))}function mE(e){const t=e.children.length>0?` { ${e.children.map(mE).join(", ")} } `:"";return`${e.value}${t}`}function Wf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Yt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Yt(t.params,n.params)||e.paramsSubject.next(n.params),function pL(e,t){if(e.length!==t.length)return!1;for(let n=0;nYt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Zf(e.parent,t.parent))}let Qf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=E(Zi),this.location=E(xt),this.changeDetector=E(xa),this.environmentInjector=E(at),this.inputBinder=E(wu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new KL(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=O({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]})}return e})();class KL{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===_o?this.route:t===Zi?this.childContexts:this.parent.get(t,n)}}const wu=new I("");let yE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Of([r.queryParams,r.params,r.data]).pipe(bt(([i,s,a],u)=>(a={...i,...s,...a},0===u?T(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function YO(e){const t=$(e);if(!t)return null;const n=new di(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Qi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function tV(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Qi(e,r,o);return Qi(e,r)})}(e,t,n);return new yn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Qi(e,a)),s}}const r=function nV(e){return new _o(new ht(e.url),new ht(e.params),new ht(e.queryParams),new ht(e.fragment),new ht(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Qi(e,i));return new yn(r,o)}}const Yf="ngNavigationCancelingError";function vE(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=lr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=DE(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function DE(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Yf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function CE(e){return e&&e[Yf]}let _E=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["ng-component"]],standalone:!0,features:[eD],decls:1,vars:0,template:function(r,o){1&r&&to(0,"router-outlet")},dependencies:[Qf],encapsulation:2})}return e})();function Xf(e){const t=e.children&&e.children.map(Xf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==V&&(n.component=_E),n}function Ft(e){return e.outlet||V}function Yi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class lV{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Wf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Co(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Co(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Co(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=Co(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new QL(i.value.snapshot))}),t.children.length&&this.forwardEvent(new WL(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Wf(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Wf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Yi(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class wE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Eu{constructor(t,n){this.component=t,this.route=n}}function dV(e,t,n){const r=e._root;return Xi(r,t?t._root:null,n,[r.value])}function wo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Jb(e){return null!==as(e)}(e)?t.get(e):e:r}function Xi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Co(t);return e.children.forEach(s=>{(function hV(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function pV(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!cr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(e.url,t.url)||!Yt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zf(e,t)||!Yt(e.queryParams,t.queryParams);default:return!Zf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new wE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Xi(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Eu(a.outlet.component,s))}else s&&Ji(t,a,o),o.canActivateChecks.push(new wE(r)),Xi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ji(a,n.getContext(s),o)),o}function Ji(e,t,n){const r=Co(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ji(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Eu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Ki(e){return"function"==typeof e}function EE(e){return e instanceof du||"EmptyError"===e?.name}const bu=Symbol("INITIAL_VALUE");function Eo(){return bt(e=>Of(e.map(t=>t.pipe(mo(1),function iL(...e){const t=To(e);return ve((n,r)=>{(t?Pf(e,n,t):Pf(e,n)).subscribe(r)})}(bu)))).pipe(z(t=>{for(const n of t)if(!0!==n){if(n===bu)return bu;if(!1===n||n instanceof vo)return n}return!0}),mn(t=>t!==bu),mo(1)))}function bE(e){return function eb(...e){return lh(e)}(ke(t=>{if(lr(t))throw vE(0,t)}),z(t=>!0===t))}class Iu{constructor(t){this.segmentGroup=t||null}}class IE{constructor(t){this.urlTree=t}}function bo(e){return ji(new Iu(e))}function ME(e){return ji(new IE(e))}class PV{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new D(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return T(r);if(o.numberOfChildren>1||!o.children[V])return ji(new D(4e3,!1));o=o.children[V]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new vo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new X(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Jf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function FV(e,t,n,r,o){const i=Kf(e,t,n);return i.matched?(r=function oV(e,t){return e.providers&&!e._injector&&(e._injector=rd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function RV(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?T(o.map(s=>{const a=wo(s,e);return Vn(function CV(e){return e&&Ki(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),bE()):T(!0)}(r,t,n).pipe(z(s=>!0===s?i:{...Jf}))):T(i)}function Kf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Jf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||hL)(n,e,t);if(!o)return{...Jf};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function SE(e,t,n,r){return n.length>0&&function VV(e,t,n){return n.some(r=>Mu(e,t,r)&&Ft(r)!==V)}(e,n,r)?{segmentGroup:new X(t,LV(r,new X(n,e.children))),slicedSegments:[]}:0===n.length&&function jV(e,t,n){return n.some(r=>Mu(e,t,r))}(e,n,r)?{segmentGroup:new X(e.segments,kV(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new X(e.segments,e.children),slicedSegments:n}}function kV(e,t,n,r,o){const i={};for(const s of r)if(Mu(e,n,s)&&!o[Ft(s)]){const a=new X([],{});i[Ft(s)]=a}return{...o,...i}}function LV(e,t){const n={};n[V]=t;for(const r of e)if(""===r.path&&Ft(r)!==V){const o=new X([],{});n[Ft(r)]=o}return n}function Mu(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class UV{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new PV(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,!1)}recognize(){const t=SE(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,V).pipe(ur(n=>{if(n instanceof IE)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof Iu?this.noMatchError(n):n}),z(n=>{const r=new _u([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},V,this.rootComponentType,null,{}),o=new yn(r,n),i=new gE("",o),s=function OL(e,t,n=null,r=null){return rE(nE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,V).pipe(ur(r=>{throw r instanceof Iu?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=pE(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return De(o).pipe(ho(i=>{const s=r.children[i],a=function uV(e,t){const n=e.filter(r=>Ft(r)===t);return n.push(...e.filter(r=>Ft(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function uL(e,t){return ve(function aL(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(me(s,l=>{const d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),fu(null),function cL(e,t){const n=arguments.length>=2;return r=>r.pipe(e?mn((o,i)=>e(o,i,r)):Dn,kf(1),n?fu(t):Uw(()=>new du))}(),be(i=>{if(null===i)return bo(r);const s=AE(i);return function zV(e){e.sort((t,n)=>t.value.outlet===V?-1:n.value.outlet===V?1:t.value.outlet.localeCompare(n.value.outlet))}(s),T(s)}))}processSegment(t,n,r,o,i,s){return De(n).pipe(ho(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(ur(u=>{if(u instanceof Iu)return T(null);throw u}))),ar(a=>!!a),ur(a=>{if(EE(a))return function HV(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?T([]):bo(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function BV(e,t,n,r){return!!(Ft(e)===r||r!==V&&Mu(t,n,e))&&("**"===e.path||Kf(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):bo(o):bo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?ME(i):this.applyRedirects.lineralizeSegments(r,i).pipe(be(s=>{const a=new X(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:c,positionalParamSegments:l}=Kf(n,o,i);if(!a)return bo(n);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return o.redirectTo.startsWith("/")?ME(d):this.applyRedirects.lineralizeSegments(o,d).pipe(be(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const u=o.length>0?Gw(o).parameters:{};a=T({snapshot:new _u(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,TE(r),Ft(r),r.component??r._loadedComponent??null,r,NE(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=FV(n,r,o,t).pipe(z(({matched:u,consumedSegments:c,remainingSegments:l,parameters:d})=>u?{snapshot:new _u(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,TE(r),Ft(r),r.component??r._loadedComponent??null,r,NE(r)),consumedSegments:c,remainingSegments:l}:null));return a.pipe(bt(u=>null===u?bo(n):this.getChildConfig(t=r._injector??t,r,o).pipe(bt(({routes:c})=>{const l=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=SE(n,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(l,c,p).pipe(z(C=>null===C?null:[new yn(d,C)]));if(0===c.length&&0===g.length)return T([new yn(d,[])]);const y=Ft(r)===i;return this.processSegment(l,c,p,g,y?V:i,!0).pipe(z(C=>[new yn(d,C)]))}))))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?T({routes:n._loadedRoutes,injector:n._loadedInjector}):function NV(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?T(!0):T(o.map(s=>{const a=wo(s,e);return Vn(function mV(e){return e&&Ki(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),bE())}(t,n,r).pipe(be(o=>o?this.configLoader.loadChildren(t,n).pipe(ke(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function OV(e){return ji(DE(!1,3))}())):T({routes:[],injector:t})}}function GV(e){const t=e.value.routeConfig;return t&&""===t.path}function AE(e){const t=[],n=new Set;for(const r of e){if(!GV(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=AE(r.children);t.push(new yn(r.value,o))}return t.filter(r=>!n.has(r))}function TE(e){return e.data||{}}function NE(e){return e.resolve||{}}function RE(e){return"string"==typeof e.title||null===e.title}function eh(e){return bt(t=>{const n=e(t);return n?De(n).pipe(z(()=>t)):T(t)})}const Io=new I("ROUTES");let th=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(qD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Vn(n.loadComponent()).pipe(z(xE),ke(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),ki(()=>{this.componentLoaders.delete(n)})),o=new $w(r,()=>new Et).pipe(Ff());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function JV(e,t,n,r){return Vn(e.loadChildren()).pipe(z(xE),be(o=>o instanceof Jv||Array.isArray(o)?T(o):De(t.compileModuleAsync(o))),z(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(Io,[],{optional:!0,self:!0}).flat()),{routes:s.map(Xf),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(ki(()=>{this.childrenLoaders.delete(r)})),s=new $w(i,()=>new Et).pipe(Ff());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xE(e){return function KV(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Su=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Et,this.transitionAbortSubject=new Et,this.configLoader=E(th),this.environmentInjector=E(at),this.urlSerializer=E($i),this.rootContexts=E(Zi),this.inputBindingEnabled=null!==E(wu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new GL(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new zL(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new ht({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:n.urlHandlingStrategy.extract(r),urlAfterRedirects:n.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(mn(i=>0!==i.id),z(i=>({...i,extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),bt(i=>{this.currentTransition=i;let s=!1,a=!1;return T(i).pipe(ke(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),bt(u=>{const c=u.currentBrowserUrl.toString(),l=!n.navigated||u.extractedUrl.toString()!==c||c!==u.currentUrlTree.toString();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const f="";return this.events.next(new Do(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),kt}if(n.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return T(u).pipe(bt(f=>{const h=this.transitions?.getValue();return this.events.next(new Du(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?kt:Promise.resolve(f)}),function qV(e,t,n,r,o,i){return be(s=>function $V(e,t,n,r,o,i,s="emptyOnly"){return new UV(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(z(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ke(f=>{i.targetSnapshot=f.targetSnapshot,i.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const h=new cE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:y}=u,C=new Du(f,this.urlSerializer.serialize(h),p,g);this.events.next(C);const m=hE(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:m,urlAfterRedirects:h,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},T(i)}{const f="";return this.events.next(new Do(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),kt}}),ke(u=>{const c=new BL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),z(u=>(this.currentTransition=i={...u,guards:dV(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function wV(e,t){return be(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?T({...n,guardsResult:!0}):function EV(e,t,n,r){return De(e).pipe(be(o=>function TV(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?T(i.map(a=>{const u=Yi(t)??o,c=wo(a,u);return Vn(function DV(e){return e&&Ki(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):u.runInContext(()=>c(e,t,n,r))).pipe(ar())})).pipe(Eo()):T(!0)}(o.component,o.route,n,t,r)),ar(o=>!0!==o,!0))}(s,r,o,e).pipe(be(a=>a&&function gV(e){return"boolean"==typeof e}(a)?function bV(e,t,n,r){return De(t).pipe(ho(o=>Pf(function MV(e,t){return null!==e&&t&&t(new qL(e)),T(!0)}(o.route.parent,r),function IV(e,t){return null!==e&&t&&t(new ZL(e)),T(!0)}(o.route,r),function AV(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function fV(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Hw(()=>T(s.guards.map(u=>{const c=Yi(s.node)??n,l=wo(u,c);return Vn(function vV(e){return e&&Ki(e.canActivateChild)}(l)?l.canActivateChild(r,e):c.runInContext(()=>l(r,e))).pipe(ar())})).pipe(Eo())));return T(i).pipe(Eo())}(e,o.path,n),function SV(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return T(!0);const o=r.map(i=>Hw(()=>{const s=Yi(t)??n,a=wo(i,s);return Vn(function yV(e){return e&&Ki(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(ar())}));return T(o).pipe(Eo())}(e,o.route,n))),ar(o=>!0!==o,!0))}(r,i,e,t):T(a)),z(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),ke(u=>{if(i.guardsResult=u.guardsResult,lr(u.guardsResult))throw vE(0,u.guardsResult);const c=new HL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),mn(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),eh(u=>{if(u.guards.canActivateChecks.length)return T(u).pipe(ke(c=>{const l=new $L(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),bt(c=>{let l=!1;return T(c).pipe(function WV(e,t){return be(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return T(n);let i=0;return De(o).pipe(ho(s=>function ZV(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!RE(o)&&(i[Bi]=o.title),function QV(e,t,n,r){const o=function YV(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return T({});const i={};return De(o).pipe(be(s=>function XV(e,t,n,r){const o=Yi(t)??r,i=wo(e,o);return Vn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(ar(),ke(a=>{i[s]=a}))),kf(1),function lL(e){return z(()=>e)}(i),ur(s=>EE(s)?kt:ji(s)))}(i,e,t,r).pipe(z(s=>(e._resolvedData=s,e.data=pE(e,n).resolve,o&&RE(o)&&(e.data[Bi]=o.title),null)))}(s.route,r,e,t)),ke(()=>i++),kf(1),be(s=>i===o.length?T(n):kt))})}(n.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",2)}}))}),ke(c=>{const l=new UL(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),eh(u=>{const c=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ke(f=>{l.component=f}),z(()=>{})));for(const f of l.children)d.push(...c(f));return d};return Of(c(u.targetSnapshot.root)).pipe(fu(),mo(1))}),eh(()=>this.afterPreactivation()),z(u=>{const c=function eV(e,t,n){const r=Qi(e,t._root,n?n._root:void 0);return new fE(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:c},i}),ke(()=>{this.events.next(new $f)}),((e,t,n,r)=>z(o=>(new lV(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),mo(1),ke({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),n.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function dL(e){return ve((t,n)=>{nt(e).subscribe(me(n,()=>n.complete(),Tu)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(ke(u=>{throw u}))),ki(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),ur(u=>{if(a=!0,CE(u))this.events.next(new Wi(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function rV(e){return CE(e)&&lr(e.url)}(u)?this.events.next(new Uf(u.url)):i.resolve(!1);else{this.events.next(new Cu(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(c){i.reject(c)}}return kt}))}))}cancelNavigationTransition(n,r,o){const i=new Wi(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OE(e){return e!==qi}let PE=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===V);return r}getResolvedTitleForRoute(n){return n.data[Bi]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(ej)},providedIn:"root"})}return e})(),ej=(()=>{class e extends PE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(M(h_))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(rj)},providedIn:"root"})}return e})();class nj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let rj=(()=>{class e extends nj{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Au=new I("",{providedIn:"root",factory:()=>({})});let oj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(ij)},providedIn:"root"})}return e})(),ij=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var es=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(es||{});function FE(e,t){e.events.pipe(mn(n=>n instanceof jn||n instanceof Wi||n instanceof Cu||n instanceof Do),z(n=>n instanceof jn||n instanceof Do?es.COMPLETE:n instanceof Wi&&(0===n.code||1===n.code)?es.REDIRECTING:es.FAILED),mn(n=>n!==es.REDIRECTING),mo(1)).subscribe(()=>{t()})}function sj(e){throw e}function aj(e,t,n){return t.parse("/")}const uj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=E(GD),this.isNgZoneEnabled=!1,this._events=new Et,this.options=E(Au,{optional:!0})||{},this.pendingTasks=E(Aa),this.errorHandler=this.options.errorHandler||sj,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||aj,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=E(oj),this.routeReuseStrategy=E(tj),this.titleStrategy=E(PE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=E(Io,{optional:!0})?.flat()??[],this.navigationTransitions=E(Su),this.urlSerializer=E($i),this.location=E(Fd),this.componentInputBindingEnabled=!!E(wu,{optional:!0}),this.eventsSubscription=new tt,this.isNgZoneEnabled=E(re)instanceof re&&re.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(kE(r)&&this._events.next(r));if(r instanceof Du)OE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof Do)this.rawUrlTree=o.rawUrl;else if(r instanceof cE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof $f)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof Wi)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof Uf){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||OE(o.source)};this.scheduleNavigation(i,qi,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof Cu&&this.restoreHistory(o,!0),r instanceof jn&&(this.navigated=!0),kE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Xf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s;let d,l=null;switch(a){case"merge":l={...this.currentUrlTree.queryParams,...i};break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}null!==l&&(l=this.removeEmptyProps(l));try{d=nE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return rE(d,n,l,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=lr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,qi,null,r)}navigate(n,r={skipLocationChange:!1}){return function lj(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,u=f});const l=this.pendingTasks.add();return FE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kE(e){return!(e instanceof $f||e instanceof Uf)}class LE{}let hj=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(mn(n=>n instanceof jn),ho(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=rd(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return De(o).pipe(fr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):T(null);const i=o.pipe(be(s=>null===s?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?De([i,this.loader.loadComponent(r)]).pipe(fr()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(M(wt),M(qD),M(at),M(LE),M(th))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rh=new I("");let VE=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Du?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof jn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Do&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof lE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new lE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Vm(){throw new Error("invalid")}()};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function vn(e,t){return{\u0275kind:e,\u0275providers:t}}function BE(){const e=E(ct);return t=>{const n=e.get(ao);if(t!==n.components[0])return;const r=e.get(wt),o=e.get(HE);1===e.get(oh)&&r.initialNavigation(),e.get($E,null,B.Optional)?.setUpPreloading(),e.get(rh,null,B.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const HE=new I("",{factory:()=>new Et}),oh=new I("",{providedIn:"root",factory:()=>1}),$E=new I("");function yj(e){return vn(0,[{provide:$E,useExisting:hj},{provide:LE,useExisting:e}])}const UE=new I("ROUTER_FORROOT_GUARD"),Dj=[Fd,{provide:$i,useClass:Lf},wt,Zi,{provide:_o,useFactory:function jE(e){return e.routerState.root},deps:[wt]},th,[]];function Cj(){return new KD("Router",wt)}let zE=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Dj,[],{provide:Io,multi:!0,useValue:n},{provide:UE,useFactory:bj,deps:[[wt,new Rs,new xs]]},{provide:Au,useValue:r||{}},r?.useHash?{provide:rr,useClass:tP}:{provide:rr,useClass:TC},{provide:rh,useFactory:()=>{const e=E(_F),t=E(re),n=E(Au),r=E(Su),o=E($i);return n.scrollOffset&&e.setOffset(n.scrollOffset),new VE(o,r,e,t,n)}},r?.preloadingStrategy?yj(r.preloadingStrategy).\u0275providers:[],{provide:KD,multi:!0,useFactory:Cj},r?.initialNavigation?Ij(r):[],r?.bindToComponentInputs?vn(8,[yE,{provide:wu,useExisting:yE}]).\u0275providers:[],[{provide:GE,useFactory:BE},{provide:Id,multi:!0,useExisting:GE}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Io,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(M(UE,8))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();function bj(e){return"guarded"}function Ij(e){return["disabled"===e.initialNavigation?vn(3,[{provide:yd,multi:!0,useFactory:()=>{const t=E(wt);return()=>{t.setUpLocationChangeListener()}}},{provide:oh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?vn(2,[{provide:oh,useValue:0},{provide:yd,multi:!0,deps:[ct],useFactory:t=>{const n=t.get(KO,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(wt),i=t.get(HE);FE(o,()=>{r(!0)}),t.get(Su).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const GE=new I(""),Sj=[];let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[zE.forRoot(Sj),zE]})}return e})(),Tj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-header"]],decls:7,vars:0,template:function(r,o){1&r&&(Ne(0,"header")(1,"h1"),Je(2,"quantumCookies"),Re(),Ne(3,"h3"),Je(4,"\u2014 like fortune cookies, but making sense \u2014"),Re(),Ne(5,"h3"),Je(6,"A quick check-in with yourself and Feynman."),Re()())},styles:["header[_ngcontent-%COMP%]{text-align:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3.5em;font-weight:700;letter-spacing:2px;color:#ff26c9;text-shadow:0 0 3px #ffffff,0 0 2px cyan;padding-top:100px}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:.9em;font-weight:400;color:#ff0;text-shadow:0 0 2px #ffffff}@media only screen and (max-width: 600px){header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.7em;padding-top:50px}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:.9em}}"]})}return e})(),Nj=(()=>{class e{constructor(n){this.http=n,this.QUOTES_URL="assets/feynman-says.json"}getRandomQuote(){return this.http.get(this.QUOTES_URL).pipe(z(n=>n[Math.floor(Math.random()*n.length)]))}static#e=this.\u0275fac=function(r){return new(r||e)(M(Aw))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rj(e,t){1&e&&(Ne(0,"p",4),Je(1," Keep it simple, like a Feynman explanation \u2014 under 420 characters will be ok\n"),Re())}let xj=(()=>{class e{constructor(n){this.feynmanSaysService=n,this.userInput="",this.isMaxCharsReached=!1,this.isInputValid=!1,this.quoteGenerated=!1,this.newQuote=new ce}ngOnInit(){this.validateInput()}adjustTextarea(n){const r=n.target;r.style.overflow="hidden",r.style.height="auto",r.style.height=`${r.scrollHeight}px`}checkMaxLength(n){this.userInput=n.target.value,this.validateInput()}generateFeynmanQuote(){this.feynmanSaysService.getRandomQuote().subscribe(n=>{console.log(n),this.newQuote.emit(n),this.quoteGenerated=!0},n=>{console.error("Error fetching quote",n)})}resetQuoteGeneration(){this.quoteGenerated=!1,this.userInput=""}validateInput(){this.isMaxCharsReached=this.userInput.length>=420,this.isInputValid=this.userInput.length>0&&!this.isMaxCharsReached}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nj))};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-user-input"]],outputs:{newQuote:"newQuote"},decls:6,vars:3,consts:[["for","userThoughts"],["id","userThoughts","maxlength","420","placeholder","Write your thoughts here",3,"ngModel","ngModelChange","input"],["class","error-msg",4,"ngIf"],[3,"disabled","click"],[1,"error-msg"]],template:function(r,o){1&r&&(Ne(0,"label",0),Je(1,"What's on your mind today?"),Re(),Ne(2,"textarea",1),$e("ngModelChange",function(s){return o.userInput=s})("input",function(s){return o.checkMaxLength(s),o.adjustTextarea(s)}),Re(),function by(e,t,n,r,o,i,s,a){const u=v(),c=U(),l=e+H,d=c.firstCreatePass?function CT(e,t,n,r,o,i,s,a,u){const c=t.consts,l=zr(t,e,4,s||null,In(c,a));Al(t,n,l,In(c,u)),_s(t,l);const d=l.tView=Sl(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];Ht(d,!1);const f=Iy(c,u,d,e);Cs()&&Us(c,u,f,d),Oe(f,u),ua(u,u[l]=Wm(f,u,f,d)),ms(d)&&Il(c,u,d),null!=s&&Ml(u,d,a)}(3,Rj,2,0,"p",2),Ne(4,"button",3),$e("click",function(){return o.generateFeynmanQuote()}),Je(5," Check with Feynman "),Re()),2&r&&(Xn(2),eo("ngModel",o.userInput),Xn(1),eo("ngIf",o.isMaxCharsReached),Xn(1),eo("disabled",!o.isInputValid||o.quoteGenerated))},dependencies:[UC,Ya,G_,Af,_f],styles:["label[_ngcontent-%COMP%]{display:block;font-size:1rem;font-weight:700;color:#000;background-color:#f5f5f5;border-radius:5px;padding:10px 25px}textarea[_ngcontent-%COMP%]{width:80%;max-width:500px;min-height:100px;border-radius:15px;border:3px solid rgb(255,255,255);padding:.7rem;margin:20px auto;font-size:1rem;resize:vertical;background-color:#ffffffb3}.error-msg[_ngcontent-%COMP%]{color:#ff0;background-color:#2f4f4f;font-size:.7rem;padding:.3rem;margin-top:.7rem}button[_ngcontent-%COMP%]{background-color:#ff0;border:yellow;border-width:5px;border-radius:35px;color:#ff26c9;padding:15px 25px;text-decoration:underline;display:inline-block;font-size:1rem;font-weight:700;margin:20px;transition-duration:.4s;cursor:pointer}button[_ngcontent-%COMP%]:hover{background-color:#ff26c9;color:#ff0;border:5px solid rgb(255,38,201)}button[_ngcontent-%COMP%]:disabled{background-color:#d3d3d3;color:gray;cursor:not-allowed}@media only screen and (max-width: 600px){textarea[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-size:.9rem}.error-msg[_ngcontent-%COMP%]{font-size:.7rem}}"]})}return e})(),Oj=(()=>{class e{constructor(){this.quote=""}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-quantum-cookies-display"]],inputs:{quote:"quote"},decls:3,vars:1,consts:[[1,"quote-container"],[1,"quote-text"]],template:function(r,o){1&r&&(Ne(0,"div",0)(1,"p",1),Je(2),Re()()),2&r&&(Xn(2),Ca(o.quote))},styles:[".quote-container[_ngcontent-%COMP%]{width:80%;max-width:500px;min-height:100px;background-color:#e0b8d5e6;border:3px solid rgb(255,38,201);padding:.7rem;margin:20px auto;border-radius:15px;text-align:center}.quote-text[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:1rem;font-style:italic;font-weight:600;color:#000;line-height:1.5}"]})}return e})(),Pj=(()=>{class e{constructor(){this.currentYear=(new Date).getFullYear()}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-footer"]],decls:12,vars:1,consts:[["id","footer"],["id","currentYear"],["id","rocketIcon"],["href","https://github.com/clasei","target","_blank","rel","noopener noreferrer"],["href","https://bio.link/claraseijo","target","_blank","rel","noopener noreferrer"]],template:function(r,o){1&r&&(Ne(0,"div",0)(1,"footer")(2,"span",1),Je(3),Re(),Ne(4,"span",2),Je(5,"\u{1f680}"),Re(),Je(6," built by "),Ne(7,"a",3),Je(8,"clasei"),Re(),Je(9," // pragmatic front-end developer "),Ne(10,"a",4),Je(11,"\u2192 clara seijo"),Re()()()),2&r&&(Xn(3),Ca(o.currentYear))},styles:["body[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center;justify-content:center;min-height:100vh;overflow-x:hidden}html[_ngcontent-%COMP%]{-webkit-text-size-adjust:100%;font-size:15px}#footer[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace;color:#2f4f4f;font-size:.7em;background-color:#fffc;padding:10px 5px;width:100%;position:fixed;bottom:0;text-align:center;box-shadow:0 4px 6px #00000080;box-sizing:border-box}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#5c61ff;margin:2px 3px;transition:color .5s}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:pink;font-weight:700}footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}#rocketIcon[_ngcontent-%COMP%]{margin-left:1px;margin-right:1px}"]})}return e})(),Fj=(()=>{class e{constructor(){this.title="quantumCookies",this.currentQuote=""}handleNewQuote(n){this.currentQuote=n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-root"]],decls:6,vars:1,consts:[[1,"app-container"],[3,"newQuote"],[3,"quote"]],template:function(r,o){1&r&&(Ne(0,"div",0),to(1,"app-header"),Ne(2,"app-user-input",1),$e("newQuote",function(s){return o.handleNewQuote(s)}),Re(),to(3,"app-quantum-cookies-display",2)(4,"app-footer"),Re(),to(5,"router-outlet")),2&r&&(Xn(3),eo("quote",o.currentQuote))},dependencies:[Qf,Tj,xj,Oj,Pj]})}return e})(),kj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e,bootstrap:[Fj]});static#n=this.\u0275inj=gt({imports:[Yk,p1,Aj,Mk]})}return e})();f1().bootstrapModule(kj).catch(e=>console.error(e))}},J=>{J(J.s=608)}]); \ No newline at end of file +"use strict";(self.webpackChunkquantumCookies=self.webpackChunkquantumCookies||[]).push([[179],{608:()=>{function J(e){return"function"==typeof e}function Mo(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 ts=Mo(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 So(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class tt{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(J(r))try{r()}catch(i){t=i instanceof ts?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{uh(i)}catch(s){t=t??[],s instanceof ts?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ts(t)}}add(t){var n;if(t&&t!==this)if(this.closed)uh(t);else{if(t instanceof tt){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)&&So(n,t)}remove(t){const{_finalizers:n}=this;n&&So(n,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const e=new tt;return e.closed=!0,e})();const sh=tt.EMPTY;function ah(e){return e instanceof tt||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function uh(e){J(e)?e():e.unsubscribe()}const Bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ns={setTimeout(e,t,...n){const{delegate:r}=ns;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ns;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ch(e){ns.setTimeout(()=>{const{onUnhandledError:t}=Bn;if(!t)throw e;t(e)})}function Tu(){}const qE=Nu("C",void 0,void 0);function Nu(e,t,n){return{kind:e,value:t,error:n}}let Hn=null;function rs(e){if(Bn.useDeprecatedSynchronousErrorHandling){const t=!Hn;if(t&&(Hn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hn;if(Hn=null,n)throw r}}else e()}class Ru extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ah(t)&&t.add(this)):this.destination=KE}static create(t,n,r){return new Ao(t,n,r)}next(t){this.isStopped?Ou(function ZE(e){return Nu("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ou(function WE(e){return Nu("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ou(qE,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 YE=Function.prototype.bind;function xu(e,t){return YE.call(e,t)}class XE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){os(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){os(r)}else os(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){os(n)}}}class Ao extends Ru{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Bn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&xu(t.next,i),error:t.error&&xu(t.error,i),complete:t.complete&&xu(t.complete,i)}):o=t}this.destination=new XE(o)}}function os(e){Bn.useDeprecatedSynchronousErrorHandling?function QE(e){Bn.useDeprecatedSynchronousErrorHandling&&Hn&&(Hn.errorThrown=!0,Hn.error=e)}(e):ch(e)}function Ou(e,t){const{onStoppedNotification:n}=Bn;n&&ns.setTimeout(()=>n(e,t))}const KE={closed:!0,next:Tu,error:function JE(e){throw e},complete:Tu},Pu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dn(e){return e}function lh(e){return 0===e.length?Dn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}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 nb(e){return e&&e instanceof Ru||function tb(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ah(e)}(n)?n:new Ao(n,r,o);return rs(()=>{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=dh(r))((o,i)=>{const s=new Ao({next:a=>{try{n(a)}catch(u){i(u),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)}[Pu](){return this}pipe(...n){return lh(n)(this)}toPromise(n){return new(n=dh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function dh(e){var t;return null!==(t=e??Bn.Promise)&&void 0!==t?t:Promise}const rb=Mo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Et=(()=>{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 fh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new rb}next(n){rs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){rs(()=>{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(){rs(()=>{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?sh:(this.currentObservers=null,i.push(n),new tt(()=>{this.currentObservers=null,So(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 fh(t,n),e})();class fh extends Et{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:sh}}function hh(e){return J(e?.lift)}function ve(e){return t=>{if(hh(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 me(e,t,n,r,o){return new ob(e,t,n,r,o)}class ob extends Ru{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 z(e,t){return ve((n,r)=>{let o=0;n.subscribe(me(r,i=>{r.next(e.call(t,i,o++))}))})}function Cn(e){return this instanceof Cn?(this.v=e,this):new Cn(e)}function yh(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 Vu(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,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const vh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Dh(e){return J(e?.then)}function Ch(e){return J(e[Pu])}function _h(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function wh(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 Eh=function Mb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function bh(e){return J(e?.[Eh])}function Ih(e){return function mh(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,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Cn?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(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 Cn(n.read());if(o)return yield Cn(void 0);yield yield Cn(r)}}finally{n.releaseLock()}})}function Mh(e){return J(e?.getReader)}function nt(e){if(e instanceof fe)return e;if(null!=e){if(Ch(e))return function Sb(e){return new fe(t=>{const n=e[Pu]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(vh(e))return function Ab(e){return new fe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ch)})}(e);if(_h(e))return Sh(e);if(bh(e))return function Nb(e){return new fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Mh(e))return function Rb(e){return Sh(Ih(e))}(e)}throw wh(e)}function Sh(e){return new fe(t=>{(function xb(e,t){var n,r,o,i;return function ph(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=yh(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 Kt(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 be(e,t,n=1/0){return J(t)?be((r,o)=>z((i,s)=>t(r,i,o,s))(nt(e(r,o))),n):("number"==typeof t&&(n=t),ve((r,o)=>function Ob(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let y=!1;nt(n(g,l++)).subscribe(me(t,C=>{o?.(C),i?h(C):t.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&cp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(me(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function fr(e=1/0){return be(Dn,e)}const kt=new fe(e=>e.complete());function ju(e){return e[e.length-1]}function Ah(e){return J(ju(e))?e.pop():void 0}function To(e){return function Fb(e){return e&&J(e.schedule)}(ju(e))?e.pop():void 0}function Th(e,t=0){return ve((n,r)=>{n.subscribe(me(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function Nh(e,t=0){return ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Rh(e,t){if(!e)throw new Error("Iterable cannot be null");return new fe(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function De(e,t){return t?function $b(e,t){if(null!=e){if(Ch(e))return function Lb(e,t){return nt(e).pipe(Nh(t),Th(t))}(e,t);if(vh(e))return function jb(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(Dh(e))return function Vb(e,t){return nt(e).pipe(Nh(t),Th(t))}(e,t);if(_h(e))return Rh(e,t);if(bh(e))return function Bb(e,t){return new fe(n=>{let r;return Kt(n,t,()=>{r=e[Eh](),Kt(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)}),()=>J(r?.return)&&r.return()})}(e,t);if(Mh(e))return function Hb(e,t){return Rh(Ih(e),t)}(e,t)}throw wh(e)}(e,t):nt(e)}class ht extends Et{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 T(...e){return De(e,To(e))}function xh(e={}){const{connector:t=(()=>new Et),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return ve((g,y)=>{c++,!d&&!l&&f();const C=u=u??t();y.add(()=>{c--,0===c&&!d&&!l&&(a=Bu(p,o))}),C.subscribe(y),!s&&c>0&&(s=new Ao({next:m=>C.next(m),error:m=>{d=!0,f(),a=Bu(h,n,m),C.error(m)},complete:()=>{l=!0,f(),a=Bu(h,r),C.complete()}}),nt(g).subscribe(s))})(i)}}function Bu(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Ao({next:()=>{r.unsubscribe(),e()}});return nt(t(...n)).subscribe(r)}function bt(e,t){return ve((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(me(r,u=>{o?.unsubscribe();let c=0;const l=i++;nt(e(u,l)).subscribe(o=me(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Gb(e,t){return e===t}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Hu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const qb=Q({__forward_ref__:Q});function ee(e){return e.__forward_ref__=ee,e.toString=function(){return Ce(this())},e}function x(e){return $u(e)?e():e}function $u(e){return"function"==typeof e&&e.hasOwnProperty(qb)&&e.__forward_ref__===ee}function Uu(e){return e&&!!e.\u0275providers}class D extends Error{constructor(t,n){super(function ss(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function zu(e,t){throw new D(-201,!1)}function pt(e,t){null==e&&function N(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function as(e){return Ph(e,cs)||Ph(e,Fh)}function Ph(e,t){return e.hasOwnProperty(t)?e[t]:null}function us(e){return e&&(e.hasOwnProperty(Gu)||e.hasOwnProperty(eI))?e[Gu]:null}const cs=Q({\u0275prov:Q}),Gu=Q({\u0275inj:Q}),Fh=Q({ngInjectableDef:Q}),eI=Q({ngInjectorDef:Q});var B=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(B||{});let qu;function We(e){const t=qu;return qu=e,t}function Lh(e,t,n){const r=as(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void zu(Ce(e))}const te=globalThis,No={},Xu="__NG_DI_FLAG__",ls="ngTempTokenPath",rI=/\n/gm,jh="__source";let hr;function _n(e){const t=hr;return hr=e,t}function sI(e,t=B.Default){if(void 0===hr)throw new D(-203,!1);return null===hr?Lh(e,void 0,t):hr.get(e,t&B.Optional?null:void 0,t)}function M(e,t=B.Default){return(function kh(){return qu}()||sI)(x(e),t)}function E(e,t=B.Default){return M(e,ds(t))}function ds(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ju(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Uh(h,c,0)||2&r&&c!==f){if(Mt(r))return!1;s=!0}}}}else{if(!s&&!Mt(r)&&!Mt(u))return!1;if(s&&Mt(u))continue;s=!1,r=u|1&r}}return Mt(r)||s}function Mt(e){return 0==(1&e)}function hI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Mt(s)&&(t+=Yh(i,o),o=""),r=s,i=i||!Mt(r);n++}return""!==o&&(t+=Yh(i,o)),t}function Un(e){return en(()=>{const t=Jh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};Kh(n);const r=e.dependencies;return n.directiveDefs=ps(r,!1),n.pipeDefs=ps(r,!0),n.id=function MI(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function wI(e){return $(e)||Ie(e)}function EI(e){return null!==e}function St(e){return en(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xh(e,t){if(null==e)return Lt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function O(e){return en(()=>{const t=Jh(e);return Kh(t),t})}function $(e){return e[hs]||null}function Ie(e){return e[Ku]||null}function Le(e){return e[ec]||null}function ot(e,t){const n=e[Hh]||null;if(!n&&!0===t)throw new Error(`Type ${Ce(e)} does not have '\u0275mod' property.`);return n}function Jh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xh(e.inputs,t),outputs:Xh(e.outputs)}}function Kh(e){e.features?.forEach(t=>t(e))}function ps(e,t){if(!e)return null;const n=t?Le:wI;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(EI)}const le=0,w=1,L=2,se=3,At=4,Po=5,xe=6,gr=7,he=8,wn=9,mr=10,F=11,Fo=12,ep=13,yr=14,pe=15,ko=16,vr=17,Vt=18,Lo=19,tp=20,En=21,nn=22,Vo=23,jo=24,H=25,nc=1,np=2,jt=7,Dr=9,Me=11;function Qe(e){return Array.isArray(e)&&"object"==typeof e[nc]}function Ve(e){return Array.isArray(e)&&!0===e[nc]}function rc(e){return 0!=(4&e.flags)}function zn(e){return e.componentOffset>-1}function ms(e){return 1==(1&e.flags)}function Tt(e){return!!e.template}function oc(e){return 0!=(512&e[L])}function Gn(e,t){return e.hasOwnProperty(tn)?e[tn]:null}let Se=null,ys=!1;function mt(e){const t=Se;return Se=e,t}const ip={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function ap(e){if(!Ho(e)||e.dirty){if(!e.producerMustRecompute(e)&&!lp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function cp(e){e.dirty=!0,function up(e){if(void 0===e.liveConsumerNode)return;const t=ys;ys=!0;try{for(const n of e.liveConsumerNode)n.dirty||cp(n)}finally{ys=t}}(e),e.consumerMarkedDirty?.(e)}function sc(e){return e&&(e.nextProducerIndex=0),mt(e)}function ac(e,t){if(mt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ho(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function lp(e){Cr(e);for(let t=0;t0}function Cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let pp=null;const vp=()=>{},jI=(()=>({...ip,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:vp}))();class BI{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function yt(){return Dp}function Dp(e){return e.type.prototype.ngOnChanges&&(e.setInput=$I),HI}function HI(){const e=_p(this),t=e?.current;if(t){const n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $I(e,t,n,r){const o=this.declaredInputs[n],i=_p(e)||function UI(e,t){return e[Cp]=t}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new BI(u&&u.currentValue,t,a===Lt),e[r]=t}yt.ngInherit=!0;const Cp="__ngSimpleChanges__";function _p(e){return e[Cp]||null}const Bt=function(e,t,n){};function ne(e){for(;Array.isArray(e);)e=e[le];return e}function Ds(e,t){return ne(t[e])}function Ye(e,t){return ne(t[e.index])}function bp(e,t){return e.data[t]}function it(e,t){const n=t[e];return Qe(n)?n:n[le]}function In(e,t){return null==t?null:e[t]}function Ip(e){e[vr]=0}function QI(e){1024&e[L]||(e[L]|=1024,Sp(e,1))}function Mp(e){1024&e[L]&&(e[L]&=-1025,Sp(e,-1))}function Sp(e,t){let n=e[se];if(null===n)return;n[Po]+=t;let r=n;for(n=n[se];null!==n&&(1===t&&1===r[Po]||-1===t&&0===r[Po]);)n[Po]+=t,r=n,n=n[se]}const R={lFrame:Vp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Np(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function U(){return R.lFrame.tView}function Ae(){let e=Rp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rp(){return R.lFrame.currentTNode}function Ht(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function fc(){return R.lFrame.isParent}function Er(){return R.lFrame.bindingIndex++}function cM(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,pc(t)}function pc(e){R.lFrame.currentDirectiveIndex=e}function mc(e){R.lFrame.currentQueryIndex=e}function dM(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[xe]:null}function kp(e,t,n){if(n&B.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&B.Host||(o=dM(i),null===o||(i=i[yr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=Lp();return r.currentTNode=t,r.lView=e,!0}function yc(e){const t=Lp(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Lp(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Vp(e):t}function Vp(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 jp(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bp=jp;function vc(){const e=jp();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 Be(){return R.lFrame.selectedIndex}function qn(e){R.lFrame.selectedIndex=e}function ue(){const e=R.lFrame;return bp(e.tView,e.selectedIndex)}let $p=!0;function Cs(){return $p}function Mn(e){$p=e}function _s(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[vr]+=65536),(a>13>16&&(3&e[L])===t&&(e[L]+=8192,zp(a,i)):zp(a,i)}const br=-1;class Uo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _c(e){return e!==br}function zo(e){return 32767&e}function Go(e,t){let n=function EM(e){return e>>16}(e),r=t;for(;n>0;)r=r[yr],n--;return r}let wc=!0;function bs(e){const t=wc;return wc=e,t}const Gp=255,qp=5;let bM=0;const $t={};function Is(e,t){const n=Wp(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ec(r.data,e),Ec(t,null),Ec(r.blueprint,null));const o=Ms(e,t),i=e.injectorIndex;if(_c(o)){const s=zo(o),a=Go(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ms(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=eg(o),null===r)return br;if(n++,o=o[yr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return br}function bc(e,t,n){!function IM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(xo)&&(r=n[xo]),null==r&&(r=n[xo]=bM++);const o=r&Gp;t.data[e+(o>>qp)]|=1<=0?t&Gp:NM:t}(n);if("function"==typeof i){if(!kp(t,e,r))return r&B.Host?Zp(o,0,r):Qp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&B.Optional)return s;zu()}finally{Bp()}}else if("number"==typeof i){let s=null,a=Wp(e,t),u=br,c=r&B.Host?t[pe][xe]:null;for((-1===a||r&B.SkipSelf)&&(u=-1===a?Ms(e,t):t[a+8],u!==br&&Kp(r,!1)?(s=t[w],a=zo(u),t=Go(u,t)):a=-1);-1!==a;){const l=t[w];if(Jp(i,a,l.data)){const d=SM(a,t,n,s,r,c);if(d!==$t)return d}u=t[a+8],u!==br&&Kp(r,t[w].data[a+8]===c)&&Jp(i,a,t)?(s=l,a=zo(u),t=Go(u,t)):a=-1}}return o}function SM(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],l=function Ss(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Tt(h)&&h.type===n)return u}return null}(a,s,n,null==r?zn(a)&&wc:r!=s&&0!=(3&a.type),o&B.Host&&i===a);return null!==l?Wn(t,s,l,a):$t}function Wn(e,t,n,r){let o=e[n];const i=t.data;if(function CM(e){return e instanceof Uo}(o)){const s=o;s.resolving&&function Wb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(i[n]));const a=bs(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?We(s.injectImpl):null;kp(e,r,B.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function vM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Dp(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,i[n],t)}finally{null!==c&&We(c),bs(a),s.resolving=!1,Bp()}}return o}function Jp(e,t,n){return!!(n[t+(e>>qp)]&1<{const t=e.prototype.constructor,n=t[tn]||Ic(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[tn]||Ic(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ic(e){return $u(e)?()=>{const t=Ic(x(e));return t&&t()}:Gn(e)}function eg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[xe]:null}const Mr="__parameters__";function Ar(e,t,n){return en(()=>{const r=function Mc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,c,l){const d=u.hasOwnProperty(Mr)?u[Mr]:Object.defineProperty(u,Mr,{value:[]})[Mr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Nr(e,t){e.forEach(n=>Array.isArray(n)?Nr(n,t):t(n))}function ng(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t,n){let r=Rr(e,t);return r>=0?e[1|r]=n:(r=~r,function VM(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Sc(e,t){const n=Rr(e,t);if(n>=0)return e[1|n]}function Rr(e,t){return function rg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<0&&(e[n-1][At]=r[At]);const i=Ts(e,Me+t);!function _S(e,t){Ko(e,t,t[F],2,null,null),t[le]=null,t[xe]=null}(r[w],r);const s=i[Vt];null!==s&&s.detachView(i[w]),r[se]=null,r[At]=null,r[L]&=-129}return r}function Vc(e,t){if(!(256&t[L])){const n=t[F];t[Vo]&&dp(t[Vo]),t[jo]&&dp(t[jo]),n.destroyNode&&Ko(e,t,n,3,null,null),function bS(e){let t=e[Fo];if(!t)return jc(e[w],e);for(;t;){let n=null;if(Qe(t))n=t[Fo];else{const r=t[Me];r&&(n=r)}if(!n){for(;t&&!t[At]&&t!==e;)Qe(t)&&jc(t[w],t),t=t[se];null===t&&(t=e),Qe(t)&&jc(t[w],t),n=t&&t[At]}t=n}}(t)}}function jc(e,t){if(!(256&t[L])){t[L]&=-129,t[L]|=256,function AS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[gr]=null);const o=t[En];if(null!==o){t[En]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===It.None||i===It.Emulated)return null}return Ye(r,n)}}(e,t.parent,n)}function Zn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tg(e,t,n){e.appendChild(t,n)}function Ng(e,t,n,r,o){null!==r?Zn(e,t,n,r,o):Tg(e,t,n)}function $s(e,t){return e.parentNode(t)}let Hc,Gc,Og=function xg(e,t,n){return 40&e.type?Ye(e,n):null};function Us(e,t,n,r){const o=Bc(e,r,t),i=t[F],a=function Rg(e,t,n){return Og(e,t,n)}(r.parent||t[xe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{n.push(s)};return Nr(t,s=>{const a=s;Zs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&nm(o,i),n}function nm(e,t){for(let n=0;n{t(i,r)})}}function Zs(e,t,n,r){if(!(e=x(e)))return!1;let o=null,i=us(e);const s=!i&&$(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=us(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of u)Zs(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Nr(i.imports,l=>{Zs(l,t,n,r)&&(c||=[],c.push(l))})}finally{}void 0!==c&&nm(c,t)}if(!a){const c=Gn(o)||(()=>new o);t({provide:o,useFactory:c,deps:G},o),t({provide:em,useValue:o,multi:!0},o),t({provide:ri,useValue:()=>M(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const c=e;Kc(u,l=>{t(l,c)})}}}return o!==e&&void 0!==e.providers}function Kc(e,t){for(let n of e)Uu(n)&&(n=n.\u0275providers),Array.isArray(n)?Kc(n,t):t(n)}const c0=Q({provide:String,useValue:Q});function el(e){return null!==e&&"object"==typeof e&&c0 in e}function Qn(e){return"function"==typeof e}const tl=new I("Set Injector scope."),Qs={},d0={};let nl;function Ys(){return void 0===nl&&(nl=new Xc),nl}class at{}class Xs extends at{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ol(t,s=>this.processProvider(s)),this.records.set(Kg,Vr(void 0,this)),o.has("environment")&&this.records.set(at,Vr(void 0,this));const i=this.records.get(tl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(em.multi,G,B.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=_n(this),r=We(void 0);try{return t()}finally{_n(n),We(r)}}get(t,n=No,r=B.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($h))return t[$h](this);r=ds(r);const i=_n(this),s=We(void 0);try{if(!(r&B.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=function m0(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&as(t);u=c&&this.injectableDefInScope(c)?Vr(rl(t),Qs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&B.Self?Ys():this.parent).get(t,n=r&B.Optional&&n===No?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ls]=a[ls]||[]).unshift(Ce(t)),i)throw a;return function uI(e,t,n,r){const o=e[ls];throw t[jh]&&o.unshift(t[jh]),e.message=function cI(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ce(t);if(Array.isArray(t))o=t.map(Ce).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(rI,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ls]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{We(s),_n(i)}}resolveInjectorInitializers(){const t=_n(this),n=We(void 0);try{const o=this.get(ri.multi,G,B.Self);for(const i of o)i()}finally{_n(t),We(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=Qn(t=x(t))?t:x(t&&t.provide);const r=function h0(e){return el(e)?Vr(void 0,e.useValue):Vr(im(e),Qs)}(t);if(Qn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Vr(void 0,Qs,!0),o.factory=()=>Ju(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qs&&(n.value=d0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function g0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=x(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 rl(e){const t=as(e),n=null!==t?t.factory:Gn(e);if(null!==n)return n;if(e instanceof I)throw new D(204,!1);if(e instanceof Function)return function f0(e){const t=e.length;if(t>0)throw function Zo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new D(204,!1)}function im(e,t,n){let r;if(Qn(e)){const o=x(e);return Gn(o)||rl(o)}if(el(e))r=()=>x(e.useValue);else if(function om(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ju(e.deps||[]));else if(function rm(e){return!(!e||!e.useExisting)}(e))r=()=>M(x(e.useExisting));else{const o=x(e&&(e.useClass||e.provide));if(!function p0(e){return!!e.deps}(e))return Gn(o)||rl(o);r=()=>new o(...Ju(e.deps))}return r}function Vr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ol(e,t){for(const n of e)Array.isArray(n)?ol(n,t):n&&Uu(n)?ol(n.\u0275providers,t):t(n)}const Js=new I("AppId",{providedIn:"root",factory:()=>y0}),y0="ng",sm=new I("Platform Initializer"),Yn=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),am=new I("CSP nonce",{providedIn:"root",factory:()=>function kr(){if(void 0!==Gc)return Gc;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let um=(e,t,n)=>null;function fl(e,t,n=!1){return um(e,t,n)}class S0{}class dm{}class T0{resolveComponentFactory(t){throw function A0(e){const t=Error(`No component factory found for ${Ce(e)}.`);return t.ngComponent=e,t}(t)}}let oa=(()=>{class e{static#e=this.NULL=new T0}return e})();function N0(){return Hr(Ae(),v())}function Hr(e,t){return new ut(Ye(e,t))}let ut=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=N0}return e})();class hm{}let an=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function x0(){const e=v(),n=it(Ae().index,e);return(Qe(n)?n:e)[F]}()}return e})(),O0=(()=>{class e{static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();class si{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const P0=new si("16.2.8"),gl={};function ym(e,t=null,n=null,r){const o=vm(e,t,n,r);return o.resolveInjectorInitializers(),o}function vm(e,t=null,n=null,r,o=new Set){const i=[n||G,u0(e)];return r=r||("object"==typeof e?void 0:Ce(e)),new Xs(i,t||Ys(),r||null,o)}let ct=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=No;static#t=this.NULL=new Xc;static create(n,r){if(Array.isArray(n))return ym({name:""},r,n,"");{const o=n.name??"";return ym({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=S({token:e,providedIn:"any",factory:()=>M(Kg)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function yl(e){return e.ngOriginalError}class un{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}function Dl(e){return t=>{setTimeout(e,void 0,t)}}const ce=class H0 extends Et{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Dl(i),o&&(o=Dl(o)),s&&(s=Dl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof tt&&t.add(a),a}};function Cm(...e){}class re{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function $0(){const e="function"==typeof te.requestAnimationFrame;let t=te[e?"requestAnimationFrame":"setTimeout"],n=te[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function G0(e){const t=()=>{!function z0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_l(e),e.isCheckStableRunning=!0,Cl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_l(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function W0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return _m(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),wm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return _m(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),wm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,_l(e),Cl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!re.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(re.isInAngularZone())throw new D(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,U0,Cm,Cm);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 U0={};function Cl(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 _l(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function _m(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wm(e){e._nesting--,Cl(e)}class q0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}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)}}const Em=new I("",{providedIn:"root",factory:bm});function bm(){const e=E(re);let t=!0;return function Ub(...e){const t=To(e),n=function kb(e,t){return"number"==typeof ju(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?nt(r[0]):fr(n)(De(r,t)):kt}(new fe(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new fe(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{re.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(xh()))}function cn(e){return e instanceof Function?e():e}let wl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function ai(e){for(;e;){e[L]|=64;const t=Xo(e);if(oc(e)&&!t)return e;e=t}return null}const Tm=new I("",{providedIn:"root",factory:()=>!1});let sa=null;function Om(e,t){return e[t]??km()}function Pm(e,t){const n=km();n.producerNode?.length&&(e[t]=sa,n.lView=e,sa=Fm())}const rA={...ip,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ai(e.lView)},lView:null};function Fm(){return Object.create(rA)}function km(){return sa??=Fm(),sa}const k={};function Xn(e){Lm(U(),v(),Be()+e,!1)}function Lm(e,t,n,r){if(!r)if(3==(3&t[L])){const i=e.preOrderCheckHooks;null!==i&&ws(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Es(t,i,0,n)}qn(n)}function _(e,t=B.Default){const n=v();return null===n?M(e,t):Yp(Ae(),n,x(e),t)}function aa(e,t,n,r,o,i,s,a,u,c,l){const d=t.blueprint.slice();return d[le]=o,d[L]=140|r,(null!==c||e&&2048&e[L])&&(d[L]|=2048),Ip(d),d[se]=d[yr]=e,d[he]=n,d[mr]=s||e&&e[mr],d[F]=a||e&&e[F],d[wn]=u||e&&e[wn]||null,d[xe]=i,d[Lo]=function cS(){return uS++}(),d[nn]=l,d[tp]=c,d[pe]=2==t.type?e[pe]:d,d}function zr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function El(e,t,n,r,o){const i=Rp(),s=fc(),u=e.data[t]=function dA(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function wr(){return null!==R.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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 null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function uM(){return R.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function $o(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ht(i,!0),i}function ui(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iH&&Lm(e,t,H,!1),Bt(a?2:0,o);const c=a?i:null,l=sc(c);try{null!==c&&(c.dirty=!1),n(r,o)}finally{ac(c,l)}}finally{a&&null===t[Vo]&&Pm(t,Vo),qn(s),Bt(a?3:1,o)}}function bl(e,t,n){if(rc(t)){const r=mt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function $m(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Um(n,t,o,i):r.hasOwnProperty(o)&&Um(n,t,r[o],i)}return n}function Um(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Al(e,t,n,r){if(Np()){const o=null===r?null:{"":-1},i=function CA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){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,ui(e,n,o.hostVars,k),o)}function Ut(e,t,n,r,o,i){const s=Ye(e,t);!function Nl(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?P(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[F],s,i,e.value,n,r,o)}function MA(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function VI(e,t,n){const r=Object.create(jI);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>cp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!lp(r))return;r.hasRun=!0;const s=sc(r);try{r.cleanupFn(),r.cleanupFn=vp,r.fn(o)}finally{ac(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){ny(e,1);const o=n.components;null!==o&&oy(e,o,1)}}function oy(e,t,n){for(let r=0;r-1&&(Hs(t,r),Ts(n,r))}this._attachedToViewContainer=!1}Vc(this._lView[w],this._lView)}onDestroy(t){!function Ap(e,t){if(256==(256&e[L]))throw new D(911,!1);null===e[En]&&(e[En]=[]),e[En].push(t)}(this._lView,t)}markForCheck(){ai(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){this._lView[L]|=128}detectChanges(){la(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ES(e,t){Ko(e,t,t[F],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class FA extends li{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;la(t[w],t,t[he],!1)}checkNoChanges(){}get context(){return null}}class iy extends oa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=$(t);return new di(n,this.ngModule)}}function sy(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class LA{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ds(r);const o=this.injector.get(t,gl,r);return o!==gl||n===gl?o:this.parentInjector.get(t,n,r)}}class di extends dm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=sy(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return sy(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function DI(e){return e.map(vI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof at?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new LA(t,i):t,a=s.get(hm,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(O0,null),effectManager:s.get(Km,null),afterRenderEventManager:s.get(wl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function sA(e,t,n,r){const i=r.get(Tm,!1)||n===It.ShadowDom,s=e.selectRootElement(t,i);return function aA(e){Hm(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Bs(f,h,function kA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),C=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=fl(p,s,!0));const b=Sl(0,null,null,1,0,null,null,null,null,null,null),A=aa(null,b,null,C,null,null,d,f,s,null,m);let j,Ee;yc(A);try{const Jt=this.componentDef;let dr,ih=null;Jt.findHostDirectiveDefs?(dr=[],ih=new Map,Jt.findHostDirectiveDefs(Jt,dr,ih),dr.push(Jt)):dr=[Jt];const Lj=function jA(e,t){const n=e[w],r=H;return e[r]=t,zr(n,r,2,"#host",null)}(A,p),Vj=function BA(e,t,n,r,o,i,s){const a=o[w];!function HA(e,t,n,r){for(const o of e)t.mergedAttrs=Oo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ca(t,t.mergedAttrs,!0),null!==n&&jg(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=fl(t,o[wn]));const c=i.rendererFactory.createRenderer(t,n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const d=aa(o,Bm(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Tl(a,e,r.length-1),ua(o,d),o[e.index]=d}(Lj,p,Jt,dr,A,d,f);Ee=bp(b,H),p&&function UA(e,t,n,r){if(r)tc(e,n,["ng-version",P0.full]);else{const{attrs:o,classes:i}=function CI(e){const t=[],n=[];let r=1,o=2;for(;r0&&Vg(e,n,i.join(" "))}}(f,Jt,p,r),void 0!==n&&function zA(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Oo(o.hostAttrs,n=Oo(n,o.hostAttrs))}}(r)}function da(e){return e===Lt?{}:e===G?[]:e}function WA(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function ZA(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function QA(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Pe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gt(e,t,n,r){const o=v();return Pe(o,Er(),t)&&(U(),Ut(ue(),o,e,t,n,r)),Gt}let Iy=function My(e,t,n,r){return Mn(!0),t[F].createComment("")};function eo(e,t,n){const r=v();return Pe(r,Er(),t)&&function lt(e,t,n,r,o,i,s,a){const u=Ye(t,n);let l,c=t.inputs;!a&&null!=c&&(l=c[r])?(xl(e,n,l,r,o),zn(t)&&function pA(e,t){const n=it(t,e);16&n[L]||(n[L]|=64)}(n,t.index)):3&t.type&&(r=function hA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(U(),ue(),r,e,t,r[F],n,!1),eo}function Bl(e,t,n,r,o){const s=o?"class":"style";xl(e,n,t.inputs[s],s,r)}function Ne(e,t,n,r){const o=v(),i=U(),s=H+e,a=o[F],u=i.firstCreatePass?function IT(e,t,n,r,o,i){const s=t.consts,u=zr(t,e,2,r,In(s,o));return Al(t,n,u,In(s,i)),null!==u.attrs&&ca(u,u.attrs,!1),null!==u.mergedAttrs&&ca(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],c=Sy(i,o,u,a,t,e);o[s]=c;const l=ms(u);return Ht(u,!0),jg(a,c,u),32!=(32&u.flags)&&Cs()&&Us(i,o,c,u),0===function XI(){return R.lFrame.elementDepthCount}()&&Oe(c,o),function JI(){R.lFrame.elementDepthCount++}(),l&&(Il(i,o,u),bl(i,u,o)),null!==r&&Ml(o,u),Ne}function Re(){let e=Ae();fc()?function hc(){R.lFrame.isParent=!1}():(e=e.parent,Ht(e,!1));const t=e;(function eM(e){return R.skipHydrationRootTNode===e})(t)&&function oM(){R.skipHydrationRootTNode=null}(),function KI(){R.lFrame.elementDepthCount--}();const n=U();return n.firstCreatePass&&(_s(n,e),rc(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _M(e){return 0!=(8&e.flags)}(t)&&Bl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function wM(e){return 0!=(16&e.flags)}(t)&&Bl(n,t,v(),t.stylesWithoutHost,!1),Re}function to(e,t,n,r){return Ne(e,t,n,r),Re(),to}let Sy=(e,t,n,r,o,i)=>(Mn(!0),Bs(r,o,function Hp(){return R.lFrame.currentNamespace}()));function mi(e){return!!e&&"function"==typeof e.then}function Ny(e){return!!e&&"function"==typeof e.subscribe}function $e(e,t,n,r){const o=v(),i=U(),s=Ae();return function xy(e,t,n,r,o,i,s){const a=ms(r),c=e.firstCreatePass&&function Ym(e){return e.cleanup||(e.cleanup=[])}(e),l=t[he],d=function Qm(e){return e[gr]||(e[gr]=[])}(t);let f=!0;if(3&r.type||s){const g=Ye(r,t),y=s?s(g):g,C=d.length,m=s?A=>s(ne(A[r.index])):r.index;let b=null;if(!s&&a&&(b=function xT(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=i,b.__ngLastListenerFn__=i,f=!1;else{i=Py(r,t,l,i,!1);const A=n.listen(y,o,i);d.push(i,A),c&&c.push(o,m,C,C+1)}}else i=Py(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?it(e.index,t):t);let u=Oy(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Oy(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function ya(e,t){return e<<17|t<<2}function Tn(e){return e>>17&32767}function zl(e){return 2|e}function Kn(e){return(131068&e)>>2}function Gl(e,t){return-131069&e|t<<2}function ql(e){return 1|e}function zy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Tn(i):Kn(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];$T(e[a],t)&&(u=!0,e[a+1]=r?ql(l):zl(l)),a=r?Tn(l):Kn(l)}u&&(e[n+1]=r?zl(i):ql(i))}function $T(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rr(e,t)>=0}function va(e,t){return function Nt(e,t,n,r){const o=v(),i=U(),s=function on(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Ky(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Be()],s=function Jy(e,t){return t>=e.expandoStartIndex}(e,n);(function rv(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function XT(e,t,n,r){const o=function gc(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=yi(n=Wl(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Wl(o,e,t,n,r),null===i){let u=function JT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Kn(r))return e[Tn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Wl(null,e,t,u[1],r),u=yi(u,t.attrs,r),function KT(e,t,n,r){e[Tn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function eN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):l=n,o)if(0!==u){const f=Tn(e[a+1]);e[r+1]=ya(f,a),0!==f&&(e[f+1]=Gl(e[f+1],r)),e[a+1]=function VT(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ya(a,0),0!==a&&(e[a+1]=Gl(e[a+1],r)),a=r;else e[r+1]=ya(u,0),0===a?a=r:e[u+1]=Gl(e[u+1],r),u=r;c&&(e[r+1]=zl(e[r+1])),zy(e,l,r,!0),zy(e,l,r,!1),function HT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Rr(i,t)>=0&&(n[r+1]=ql(n[r+1]))}(t,l,e,r,i),s=ya(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==k&&Pe(o,s,t)&&function tv(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,c=u[a+1],l=function jT(e){return 1==(1&e)}(c)?nv(u,t,n,o,Kn(c),s):void 0;Da(l)||(Da(i)||function LT(e){return 2==(2&e)}(c)&&(i=nv(u,null,n,o,a,s)),function OS(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Sn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Sn.Important),e.setStyle(n,r,o,i))}}(r,s,Ds(Be(),n),o,i))}(i,i.data[Be()],o,o[F],e,o[s+1]=function oN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ce(function An(e){return e instanceof Ug?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),va}function Wl(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=n[o+1];f===k&&(f=d?G:void 0);let h=d?Sc(f,r):l===r?f:void 0;if(c&&!Da(h)&&(h=Sc(u,r)),Da(h)&&(a=h,s))return a;const p=e[o+1];o=s?Tn(p):Kn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Sc(u,r))}return a}function Da(e){return void 0!==e}function Je(e,t=""){const n=v(),r=U(),o=e+H,i=r.firstCreatePass?zr(r,o,1,t,null):r.data[o],s=ov(r,n,i,t,e);n[o]=s,Cs()&&Us(r,n,s,i),Ht(i,!1)}let ov=(e,t,n,r,o)=>(Mn(!0),function js(e,t){return e.createText(t)}(t[F],r));function Ca(e){return Zl("",e,""),Ca}function Zl(e,t,n){const r=v(),o=function qr(e,t,n,r){return Pe(e,Er(),n)?t+P(n)+r:k}(r,e,t,n);return o!==k&&function ln(e,t,n){const r=Ds(t,e);!function Mg(e,t,n){e.setValue(t,n)}(e[F],r,n)}(r,Be(),o),Zl}const oo="en-US";let Mv=oo;function Xl(e,t,n,r,o){if(e=x(e),Array.isArray(e))for(let i=0;i>20;if(Qn(e)||!e.multi){const h=new Uo(c,o,_),p=Kl(u,t,o?l:l+f,d);-1===p?(bc(Is(a,s),i,u),Jl(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Kl(u,t,l+f,d),p=Kl(u,t,l,l+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){bc(Is(a,s),i,u);const C=function IR(e,t,n,r,o){const i=new Uo(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Xv(i,o,r&&!n),i}(o?bR:ER,n.length,o,r,c);!o&&y&&(n[p].providerFactory=C),Jl(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else Jl(i,e,h>-1?h:p,Xv(n[o?p:h],c,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Jl(e,t,n,r){const o=Qn(t),i=function l0(e){return!!e.useClass}(t);if(o||i){const u=(i?x(t.useClass):t).prototype.ngOnDestroy;if(u){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const l=c.indexOf(n);-1===l?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Xv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kl(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function wR(e,t,n){const r=U();if(r.firstCreatePass){const o=Tt(e);Xl(n,r.data,r.blueprint,o,!0),Xl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class tr{}class Jv{}class td extends tr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new iy(this);const o=ot(t);this._bootstrapComponents=cn(o.bootstrap),this._r3Injector=vm(t,n,[{provide:tr,useValue:this},{provide:oa,useValue:this.componentFactoryResolver},...r],Ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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 nd extends Jv{constructor(t){super(),this.moduleType=t}create(t){return new td(this.moduleType,t,[])}}class Kv extends tr{constructor(t){super(),this.componentFactoryResolver=new iy(this),this.instance=null;const n=new Xs([...t.providers,{provide:tr,useValue:this},{provide:oa,useValue:this.componentFactoryResolver}],t.parent||Ys(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function rd(e,t,n=null){return new Kv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let AR=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=tm(0,n.type),o=r.length>0?rd([r],this._injector,`Standalone[${n.type.name}]`):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#e=this.\u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(M(at))})}return e})();function eD(e){e.getStandaloneInjector=t=>t.get(AR).getOrCreateStandaloneInjector(e)}function nx(e,t,n,r=!0){const o=t[w];if(function IS(e,t,n,r){const o=Me+r,i=n.length;r>0&&(n[o-1][At]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=ix}return e})();const rx=dn,ox=class extends rx{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function tx(e,t,n,r){const o=t.tView,a=aa(e,o,n,4096&e[L]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[ko]=e[t.index];const c=e[Vt];return null!==c&&(a[Vt]=c.createEmbeddedView(o)),Ol(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new li(o)}};function ix(){return function Ia(e,t){return 4&e.type?new ox(t,e,Hr(e,t)):null}(Ae(),v())}let xt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dx}return e})();function dx(){return function vD(e,t){let n;const r=t[e.index];return Ve(r)?n=r:(n=Wm(r,t,null,e),t[e.index]=n,ua(t,n)),DD(n,t,e,r),new mD(n,e,t)}(Ae(),v())}const fx=xt,mD=class extends fx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new He(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ms(this._hostTNode,this._hostLView);if(_c(t)){const n=Go(t,this._hostLView),r=zo(t);return new He(n[w].data[r+8],n)}return new He(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=yD(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Wo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new di($(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?c:this.parentInjector).get(at,null);y&&(i=y)}$(u.componentType??{});const h=u.create(c,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function ZI(e){return Ve(e[se])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const c=o[se],l=new mD(c,c[xe],c[se]);l.detach(l.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return nx(a,o,s,!r),t.attachToViewContainerRef(),ng(sd(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=yD(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hs(this._lContainer,n);r&&(Ts(sd(this._lContainer),n),Vc(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hs(this._lContainer,n);return r&&null!=Ts(sd(this._lContainer),n)?new li(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yD(e){return e[8]}function sd(e){return e[8]||(e[8]=[])}let DD=function CD(e,t,n,r){if(e[jt])return;let o;o=8&n.type?ne(r):function hx(e,t){const n=e[F],r=n.createComment(""),o=Ye(t,e);return Zn(n,$s(n,o),r,function NS(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[jt]=o};const yd=new I("Application Initializer");let vd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=E(yd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(mi(i))n.push(i);else if(Ny(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});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#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const fn=new I("LocaleId",{providedIn:"root",factory:()=>E(fn,B.Optional|B.SkipSelf)||function zx(){return typeof $localize<"u"&&$localize.locale||oo}()});let Aa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ht(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Wx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qD=(()=>{class e{compileModuleSync(n){return new nd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=cn(ot(n).declarations).reduce((s,a)=>{const u=$(a);return u&&s.push(new di(u)),s},[]);return new Wx(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const YD=new I(""),Na=new I("");let Ed,_d=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ed||(function hO(e){Ed=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}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(this._didWork,this.getPendingTasks())},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()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(M(re),M(wd),M(Na))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),wd=(()=>{class e{constructor(){this._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 Ed?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Nn=null;const XD=new I("AllowMultipleToken"),bd=new I("PlatformDestroyListeners"),Id=new I("appBootstrapListener");class KD{constructor(t,n){this.name=t,this.token=n}}function tC(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=Md();if(!s||s.injector.get(XD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function mO(e){if(Nn&&!Nn.get(XD,!1))throw new D(400,!1);(function JD(){!function OI(e){pp=e}(()=>{throw new D(600,!1)})})(),Nn=e;const t=e.get(rC);(function eC(e){e.get(sm,null)?.forEach(n=>n())})(e)}(function nC(e=[],t){return ct.create({name:t,providers:[{provide:tl,useValue:"platform"},{provide:bd,useValue:new Set([()=>Nn=null])},...e]})}(a,r))}return function vO(e){const t=Md();if(!t)throw new D(401,!1);return t}()}}function Md(){return Nn?.get(rC)??null}let rC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function DO(e="zone.js",t){return"noop"===e?new q0:"zone.js"===e?new re(t):e}(r?.ngZone,function oC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function SR(e,t,n){return new td(e,t,n)}(n.moduleType,this.injector,function cC(e){return[{provide:re,useFactory:e},{provide:ri,multi:!0,useFactory:()=>{const t=E(_O,{optional:!0});return()=>t.initialize()}},{provide:uC,useFactory:CO},{provide:Em,useFactory:bm}]}(()=>o)),s=i.injector.get(un,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Ra(this._modules,i),a.unsubscribe()})}),function iC(e,t,n){try{const r=n();return mi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(vd);return a.runInitializers(),a.donePromise.then(()=>(function Sv(e){pt(e,"Expected localeId to be defined"),"string"==typeof e&&(Mv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(fn,oo)||oo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=sC({},r);return function pO(e,t,n){const r=new nd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ao);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(bd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(M(ct))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sC(e,t){return Array.isArray(t)?t.reduce(sC,e):{...e,...t}}let ao=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=E(uC),this.zoneIsStable=E(Em),this.componentTypes=[],this.components=[],this.isStable=E(Aa).hasPendingTasks.pipe(bt(n=>n?T(!1):this.zoneIsStable),function zb(e,t=Dn){return e=e??Gb,ve((n,r)=>{let o,i=!0;n.subscribe(me(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),xh()),this._injector=E(at)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof dm;if(!this._injector.get(vd).done)throw!o&&function pr(e){const t=$(e)||Ie(e)||Le(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=o?n:this._injector.get(oa).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function gO(e){return e.isBoundToModule}(s)?void 0:this._injector.get(tr),c=s.create(ct.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(YD,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Ra(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ra(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Id,[]);r.push(...this._bootstrapListeners),r.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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ra(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ra(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const uC=new I("",{providedIn:"root",factory:()=>E(un).handleError.bind(void 0)});function CO(){const e=E(re),t=E(un);return n=>e.runOutsideAngular(()=>t.handleError(n))}let _O=(()=>{class e{constructor(){this.zone=E(re),this.applicationRef=E(ao)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let xa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=EO}return e})();function EO(e){return function bO(e,t,n){if(zn(e)&&!n){const r=it(e.index,t);return new li(r,r)}return 47&e.type?new li(t[pe],t):null}(Ae(),v(),16==(16&e))}const LO=tC(null,"core",[]);let VO=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(M(ao))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();let xd=null;function Rn(){return xd}class JO{}const dt=new I("DocumentToken");let Od=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(eP)},providedIn:"platform"})}return e})();const KO=new I("Location Initialized");let eP=(()=>{class e extends Od{constructor(){super(),this._doc=E(dt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rn().getBaseHref(this._doc)}onPopState(n){const r=Rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function Pd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function SC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function hn(e){return e&&"?"!==e[0]?"?"+e:e}let rr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(TC)},providedIn:"root"})}return e})();const AC=new I("appBaseHref");let TC=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??E(dt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Pd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+hn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+hn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+hn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Od),M(AC,8))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tP=(()=>{class e extends rr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Pd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+hn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+hn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Od),M(AC,8))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Fd=(()=>{class e{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function oP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(SC(NC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+hn(r))}normalize(n){return e.stripTrailingSlash(function rP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,NC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=hn;static#t=this.joinWithSlash=Pd;static#n=this.stripTrailingSlash=SC;static#r=this.\u0275fac=function(r){return new(r||e)(M(rr))};static#o=this.\u0275prov=S({token:e,factory:function(){return function nP(){return new Fd(M(rr))}()},providedIn:"root"})}return e})();function NC(e){return e.replace(/\/index.html$/,"")}function jC(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}let UC=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new qP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){zC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){zC("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(_(xt),_(dn))};static#t=this.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class qP{constructor(){this.$implicit=null,this.ngIf=null}}function zC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ce(t)}'.`)}let yF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();function ZC(e){return"server"===e}let _F=(()=>{class e{static#e=this.\u0275prov=S({token:e,providedIn:"root",factory:()=>new wF(M(dt),window)})}return e})();class wF{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function EF(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class QC{}class qF extends JO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Jd extends qF{static makeCurrent(){!function XO(e){xd||(xd=e)}(new Jd)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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 WF(){return Ri=Ri||document.querySelector("base"),Ri?Ri.getAttribute("href"):null}();return null==n?null:function ZF(e){Qa=Qa||document.createElement("a"),Qa.setAttribute("href",e);const t=Qa.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ri=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return jC(document.cookie,t)}}let Qa,Ri=null,YF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Kd=new I("EventManagerPlugins");let e_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kd),M(re))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class t_{constructor(t){this._doc=t}}const ef="ng-app-id";let n_=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ZC(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${ef}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(ef),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(ef,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt),M(Js),M(am,8),M(Yn))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const tf={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/MathML/"},nf=/%COMP%/g,e1=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function o_(e,t){return t.map(n=>n.replace(nf,e))}let i_=(()=>{class e{constructor(n,r,o,i,s,a,u,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=ZC(a),this.defaultRenderer=new rf(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===It.ShadowDom&&(r={...r,encapsulation:It.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof a_?o.applyToHost(n):o instanceof sf&&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,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case It.Emulated:i=new a_(u,c,r,this.appId,l,s,a,d);break;case It.ShadowDom:return new o1(u,c,n,r,s,a,this.nonce,d);default:i=new sf(u,c,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(M(e_),M(n_),M(Js),M(e1),M(dt),M(Yn),M(re),M(am))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class rf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(tf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(s_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(s_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new D(-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=tf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=tf[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&(Sn.DashCase|Sn.Important)?t.style.setProperty(n,r,o&Sn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Sn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Rn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function s_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class o1 extends rf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=o_(o.id,o.styles);for(const l of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class sf extends rf{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?o_(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class a_ extends sf{constructor(t,n,r,o,i,s,a,u){const c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=function t1(e){return"_ngcontent-%COMP%".replace(nf,e)}(c),this.hostAttr=function n1(e){return"_nghost-%COMP%".replace(nf,e)}(c)}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}}let i1=(()=>{class e extends t_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const u_=["alt","control","meta","shift"],s1={"\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"},a1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let u1=(()=>{class e extends t_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rn().onAndCancel(n,i.domEventName,s))}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."),u_.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=s1[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"),u_.forEach(s=>{s!==o&&(0,a1[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#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const f1=tC(LO,"browser",[{provide:Yn,useValue:"browser"},{provide:sm,useValue:function c1(){Jd.makeCurrent()},multi:!0},{provide:dt,useFactory:function d1(){return function VS(e){Gc=e}(document),document},deps:[]}]),h1=new I(""),d_=[{provide:Na,useClass:class QF{addToWindow(t){te.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new D(5103,!1);return i},te.getAllAngularTestabilities=()=>t.getAllTestabilities(),te.getAllAngularRootElements=()=>t.getAllRootElements(),te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r=>{const o=te.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:YD,useClass:_d,deps:[re,wd,Na]},{provide:_d,useClass:_d,deps:[re,wd,Na]}],f_=[{provide:tl,useValue:"root"},{provide:un,useFactory:function l1(){return new un},deps:[]},{provide:Kd,useClass:i1,multi:!0,deps:[dt,re,Yn]},{provide:Kd,useClass:u1,multi:!0,deps:[dt]},i_,n_,e_,{provide:hm,useExisting:i_},{provide:QC,useClass:YF,deps:[]},[]];let p1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Js,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(M(h1,12))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({providers:[...f_,...d_],imports:[yF,VO]})}return e})(),h_=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt))};static#t=this.\u0275prov=S({token:e,factory:function(r){let o=null;return o=r?new r:function m1(){return new h_(M(dt))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;const{isArray:_1}=Array,{getPrototypeOf:w1,prototype:E1,keys:b1}=Object;function y_(e){if(1===e.length){const t=e[0];if(_1(t))return{args:t,keys:null};if(function I1(e){return e&&"object"==typeof e&&w1(e)===E1}(t)){const n=b1(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:M1}=Array;function v_(e){return z(t=>function S1(e,t){return M1(t)?e(...t):e(t)}(e,t))}function D_(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let C_=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(an),_(ut))};static#t=this.\u0275dir=O({type:e})}return e})(),or=(()=>{class e extends C_{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275dir=O({type:e,features:[Y]})}return e})();const Zt=new I("NgValueAccessor"),N1={provide:Zt,useExisting:ee(()=>Ya),multi:!0},x1=new I("CompositionEventMode");let Ya=(()=>{class e extends C_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function R1(){const e=Rn()?Rn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(an),_(ut),_(x1,8))};static#t=this.\u0275dir=O({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&$e("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ae([N1]),Y]})}return e})();const Fe=new I("NgValidators"),Pn=new I("NgAsyncValidators");function Xa(e){return null}function R_(e){return null!=e}function x_(e){return mi(e)?De(e):e}function O_(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function P_(e,t){return t.map(n=>n(e))}function F_(e){return e.map(t=>function P1(e){return!e.validate}(t)?t:n=>t.validate(n))}function uf(e){return null!=e?function k_(e){if(!e)return null;const t=e.filter(R_);return 0==t.length?null:function(n){return O_(P_(n,t))}}(F_(e)):null}function cf(e){return null!=e?function L_(e){if(!e)return null;const t=e.filter(R_);return 0==t.length?null:function(n){return function A1(...e){const t=Ah(e),{args:n,keys:r}=y_(e),o=new fe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?D_(r,a):a),i.complete())}))}});return t?o.pipe(v_(t)):o}(P_(n,t).map(x_)).pipe(z(O_))}}(F_(e)):null}function V_(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function lf(e){return e?Array.isArray(e)?e:[e]:[]}function Ja(e,t){return Array.isArray(e)?e.includes(t):e===t}function H_(e,t){const n=lf(t);return lf(e).forEach(o=>{Ja(n,o)||n.push(o)}),n}function $_(e,t){return lf(t).filter(n=>!Ja(e,n))}class U_{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=uf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=cf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class qe extends U_{get formDirective(){return null}get path(){return null}}class Fn extends U_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z_{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let G_=(()=>{class e extends z_{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Fn,2))};static#t=this.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&va("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]})}return e})();const xi="VALID",eu="INVALID",lo="PENDING",Oi="DISABLED";function tu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Q_{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===xi}get invalid(){return this.status===eu}get pending(){return this.status==lo}get disabled(){return this.status===Oi}get enabled(){return this.status!==Oi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(H_(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(H_(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators($_(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators($_(t,this._rawAsyncValidators))}hasValidator(t){return Ja(this._rawValidators,t)}hasAsyncValidator(t){return Ja(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=lo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Oi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=xi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xi||this.status===lo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oi:xi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=lo,this._hasOwnPendingAsyncValidator=!0;const n=x_(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Oi:this.errors?eu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lo)?lo:this._anyControlsHaveStatus(eu)?eu:xi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){tu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function j1(e){return Array.isArray(e)?uf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function B1(e){return Array.isArray(e)?cf(e):e||null}(this._rawAsyncValidators)}}const fo=new I("CallSetDisabledState",{providedIn:"root",factory:()=>nu}),nu="always";function Pi(e,t,n=nu){(function mf(e,t){const n=function j_(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(V_(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function B_(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(V_(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();iu(t._rawValidators,o),iu(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function U1(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Y_(e,t)})}(e,t),function G1(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function z1(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Y_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function $1(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function iu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Y_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function K_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ew(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const tw=class extends Q_{constructor(t=null,n,r){super(function hf(e){return(tu(e)?e.validators:e)||null}(n),function pf(e,t){return(tu(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=ew(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){K_(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){K_(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){ew(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},K1={provide:Fn,useExisting:ee(()=>_f)},ow=(()=>Promise.resolve())();let _f=(()=>{class e extends Fn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new tw,this._registered=!1,this.name="",this.update=new ce,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Df(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ya?n=i:function Z1(e){return Object.getPrototypeOf(e.constructor)===or}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function vf(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){ow.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function uo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);ow.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ru(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(_(qe,9),_(Fe,10),_(Pn,10),_(Zt,10),_(xa,8),_(fo,8))};static#t=this.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ae([K1]),Y,yt]})}return e})(),sw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();let ir=(()=>{class e{constructor(){this._validator=Xa}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Xa,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=O({type:e,features:[yt]})}return e})();const wk={provide:Fe,useExisting:ee(()=>Af),multi:!0};let Af=(()=>{class e extends ir{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function gw(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function T_(e){return t=>function w_(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275dir=O({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Gt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ae([wk]),Y]})}return e})(),bk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[sw]})}return e})(),Mk=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:fo,useValue:n.callSetDisabledState??nu}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[bk]})}return e})();function ho(e,t){return J(t)?be(e,t,1):be(e,1)}function mn(e,t){return ve((n,r)=>{let o=0;n.subscribe(me(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ki(e){return ve((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class au{}class uu{}class Qt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Qt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Qt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Qt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Sk{encodeKey(t){return Ew(t)}encodeValue(t){return Ew(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Tk=/%(\d[a-f0-9])/gi,Nk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ew(e){return encodeURIComponent(e).replace(Tk,(t,n)=>Nk[n]??t)}function cu(e){return`${e}`}class kn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Sk,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ak(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(cu):[cu(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new kn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(cu(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(cu(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Rk{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function bw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Iw(e){return typeof Blob<"u"&&e instanceof Blob}function Mw(e){return typeof FormData<"u"&&e instanceof FormData}class Li{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function xk(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Qt),this.context||(this.context=new Rk),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new Li(n,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}}var po=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(po||{});class Tf{constructor(t,n=200,r="OK"){this.headers=t.headers||new Qt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Nf extends Tf{constructor(t={}){super(t),this.type=po.ResponseHeader}clone(t={}){return new Nf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class go extends Tf{constructor(t={}){super(t),this.type=po.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new go({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Sw extends Tf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Rf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Aw=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Li)i=n;else{let u,c;u=o.headers instanceof Qt?o.headers:new Qt(o.headers),o.params&&(c=o.params instanceof kn?o.params:new kn({fromObject:o.params})),i=new Li(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=T(i).pipe(ho(u=>this.handler.handle(u)));if(n instanceof Li||"events"===o.observe)return s;const a=s.pipe(mn(u=>u instanceof go));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(z(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(z(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(z(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(z(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new kn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Rf(o,r))}post(n,r,o={}){return this.request("POST",n,Rf(o,r))}put(n,r,o={}){return this.request("PUT",n,Rf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(M(au))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Rw(e,t){return t(e)}function Fk(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const Lk=new I(""),Vi=new I(""),xw=new I("");function Vk(){let e=null;return(t,n)=>{null===e&&(e=(E(Lk,{optional:!0})??[]).reduceRight(Fk,Rw));const r=E(Aa),o=r.add();return e(t,n).pipe(ki(()=>r.remove(o)))}}let Ow=(()=>{class e extends au{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=E(Aa)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Vi),...this.injector.get(xw,[])]));this.chain=o.reduceRight((i,s)=>function kk(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),Rw)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ki(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(M(uu),M(at))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const $k=/^\)\]\}',?\n/;let Fw=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new D(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?De(r.\u0275loadImpl()):T(null)).pipe(bt(()=>new fe(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const c=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new Qt(s.getAllResponseHeaders()),C=function Uk(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new Nf({headers:y,status:s.status,statusText:g,url:C}),u},l=()=>{let{headers:g,status:y,statusText:C,url:m}=c(),b=null;204!==y&&(b=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=b?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const j=b;b=b.replace($k,"");try{b=""!==b?JSON.parse(b):null}catch(Ee){b=j,A&&(A=!1,b={error:Ee,text:b})}}A?(i.next(new go({body:b,headers:g,status:y,statusText:C,url:m||void 0})),i.complete()):i.error(new Sw({error:b,headers:g,status:y,statusText:C,url:m||void 0}))},d=g=>{const{url:y}=c(),C=new Sw({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(C)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let y={type:po.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:po.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:po.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(M(QC))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const xf=new I("XSRF_ENABLED"),kw=new I("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Lw=new I("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vw{}let qk=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=jC(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(M(dt),M(Yn),M(kw))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Wk(e,t){const n=e.url.toLowerCase();if(!E(xf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=E(Vw).getToken(),o=E(Lw);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ln=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Ln||{});function Zk(...e){const t=[Aw,Fw,Ow,{provide:au,useExisting:Ow},{provide:uu,useExisting:Fw},{provide:Vi,useValue:Wk,multi:!0},{provide:xf,useValue:!0},{provide:Vw,useClass:qk}];for(const n of e)t.push(...n.\u0275providers);return function Jc(e){return{\u0275providers:e}}(t)}const jw=new I("LEGACY_INTERCEPTOR_FN");function Qk(){return function sr(e,t){return{\u0275kind:e,\u0275providers:t}}(Ln.LegacyInterceptors,[{provide:jw,useFactory:Vk},{provide:Vi,useExisting:jw,multi:!0}])}let Yk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({providers:[Zk(Qk())]})}return e})();function Of(...e){const t=To(e),n=Ah(e),{args:r,keys:o}=y_(e);if(0===r.length)return De([],t);const i=new fe(function rL(e,t,n=Dn){return r=>{Bw(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const c=De(e[u],t);let l=!1;c.subscribe(me(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>D_(o,s):Dn));return n?i.pipe(v_(n)):i}function Bw(e,t,n){e?Kt(n,e,t):t()}const du=Mo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pf(...e){return function oL(){return fr(1)}()(De(e,To(e)))}function Hw(e){return new fe(t=>{nt(e()).subscribe(t)})}function ji(e,t){const n=J(e)?e:()=>e,r=o=>o.error(n());return new fe(t?o=>t.schedule(r,0,o):r)}function Ff(){return ve((e,t)=>{let n=null;e._refCount++;const r=me(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class $w extends fe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,hh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new tt;const n=this.getSubject();t.add(this.source.subscribe(me(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=tt.EMPTY)}return t}refCount(){return Ff()(this)}}function mo(e){return e<=0?()=>kt:ve((t,n)=>{let r=0;t.subscribe(me(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fu(e){return ve((t,n)=>{let r=!1;t.subscribe(me(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Uw(e=sL){return ve((t,n)=>{let r=!1;t.subscribe(me(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function sL(){return new du}function ar(e,t){const n=arguments.length>=2;return r=>r.pipe(e?mn((o,i)=>e(o,i,r)):Dn,mo(1),n?fu(t):Uw(()=>new du))}function ke(e,t,n){const r=J(e)||t||n?{next:e,error:t,complete:n}:e;return r?ve((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(me(i,u=>{var c;null===(c=r.next)||void 0===c||c.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,u),i.error(u)},()=>{var u,c;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Dn}function ur(e){return ve((t,n)=>{let i,r=null,o=!1;r=t.subscribe(me(n,void 0,void 0,s=>{i=nt(e(s,ur(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function kf(e){return e<=0?()=>kt:ve((t,n)=>{let r=[];t.subscribe(me(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}const V="primary",Bi=Symbol("RouteTitle");class fL{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function yo(e){return new fL(e)}function hL(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function Gw(e){return e.length>0?e[e.length-1]:null}function Vn(e){return function nL(e){return!!e&&(e instanceof fe||J(e.lift)&&J(e.subscribe))}(e)?e:mi(e)?De(Promise.resolve(e)):T(e)}const gL={exact:function Zw(e,t,n){if(!cr(e.segments,t.segments)||!hu(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Zw(e.children[r],t.children[r],n))return!1;return!0},subset:Qw},qw={exact:function mL(e,t){return Yt(e,t)},subset:function yL(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zw(e[n],t[n]))},ignored:()=>!0};function Ww(e,t,n){return gL[n.paths](e.root,t.root,n.matrixParams)&&qw[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Qw(e,t,n){return Yw(e,t,t.segments,n)}function Yw(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!cr(o,n)||t.hasChildren()||!hu(o,n,r))}if(e.segments.length===n.length){if(!cr(e.segments,n)||!hu(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!Qw(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(cr(e.segments,o)&&hu(e.segments,o,r)&&e.children[V])&&Yw(e.children[V],t,i,r)}}function hu(e,t,n){return t.every((r,o)=>qw[n](e[o].parameters,r.parameters))}class vo{constructor(t=new X([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yo(this.queryParams)),this._queryParamMap}toString(){return CL.serialize(this)}}class X{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pu(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=yo(this.parameters)),this._parameterMap}toString(){return Kw(this)}}function cr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let $i=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return new Lf},providedIn:"root"})}return e})();class Lf{parse(t){const n=new RL(t);return new vo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ui(t.root,!0)}`,r=function EL(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${gu(n)}=${gu(o)}`).join("&"):`${gu(n)}=${gu(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function _L(e){return encodeURI(e)}(t.fragment)}`:""}`}}const CL=new Lf;function pu(e){return e.segments.map(t=>Kw(t)).join("/")}function Ui(e,t){if(!e.hasChildren())return pu(e);if(t){const n=e.children[V]?Ui(e.children[V],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==V&&r.push(`${o}:${Ui(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function DL(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===V&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==V&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===V?[Ui(e.children[V],!1)]:[`${o}:${Ui(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[V]?`${pu(e)}/${n[0]}`:`${pu(e)}/(${n.join("//")})`}}function Xw(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gu(e){return Xw(e).replace(/%3B/gi,";")}function Vf(e){return Xw(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mu(e){return decodeURIComponent(e)}function Jw(e){return mu(e.replace(/\+/g,"%20"))}function Kw(e){return`${Vf(e.path)}${function wL(e){return Object.keys(e).map(t=>`;${Vf(t)}=${Vf(e[t])}`).join("")}(e.parameters)}`}const bL=/^[^\/()?;#]+/;function jf(e){const t=e.match(bL);return t?t[0]:""}const IL=/^[^\/()?;=#]+/,SL=/^[^=?&#]+/,TL=/^[^&#]+/;class RL{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[V]=new X(t,n)),r}parseSegment(){const t=jf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Hi(mu(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function ML(e){const t=e.match(IL);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=jf(this.remaining);o&&(r=o,this.capture(r))}t[mu(n)]=mu(r)}parseQueryParam(t){const n=function AL(e){const t=e.match(SL);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function NL(e){const t=e.match(TL);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Jw(n),i=Jw(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=jf(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=V);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[V]:new X([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}}function eE(e){return e.segments.length>0?new X([],{[V]:e}):e}function tE(e){const t={};for(const r of Object.keys(e.children)){const i=tE(e.children[r]);if(r===V&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function xL(e){if(1===e.numberOfChildren&&e.children[V]){const t=e.children[V];return new X(e.segments.concat(t.segments),t.children)}return e}(new X(e.segments,t))}function lr(e){return e instanceof vo}function nE(e){let t;const o=eE(function n(i){const s={};for(const u of i.children){const c=n(u);s[u.outlet]=c}const a=new X(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function rE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Bf(o,o,o,n,r);const i=function PL(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new iE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new iE(n,t,r)}(t);if(i.toRoot())return Bf(o,o,new X([],{}),n,r);const s=function FL(e,t,n){if(e.isAbsolute)return new vu(t,!0,0);if(!n)return new vu(t,!1,NaN);if(null===n.parent)return new vu(n,!0,0);const r=yu(e.commands[0])?0:1;return function kL(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new vu(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Gi(s.segmentGroup,s.index,i.commands):sE(s.segmentGroup,s.index,i.commands);return Bf(o,s.segmentGroup,a,n,r)}function yu(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Bf(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`}),s=e===t?n:oE(e,t,n);const a=eE(tE(s));return new vo(a,i,o)}function oE(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:oE(i,t,n)}),new X(e.segments,r)}class iE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&yu(r[0]))throw new D(4003,!1);const o=r.find(zi);if(o&&o!==Gw(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vu{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function sE(e,t,n){if(e||(e=new X([],{})),0===e.segments.length&&e.hasChildren())return Gi(e,t,n);const r=function VL(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(zi(a))break;const u=`${a}`,c=r0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!uE(u,c,s))return i;r+=2}else{if(!uE(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==V)&&e.children[V]&&1===e.numberOfChildren&&0===e.children[V].segments.length){const i=Gi(e.children[V],t,n);return new X(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=sE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new X(e.segments,o)}}function Hf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=Hf(new X([],{}),0,r))}),t}function aE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function uE(e,t,n){return e==n.path&&Yt(t,n.parameters)}const qi="imperative";class Xt{constructor(t,n){this.id=t,this.url=n}}class Du extends Xt{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jn extends Xt{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wi extends Xt{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Do extends Xt{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Cu extends Xt{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cE extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BL extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class HL extends Xt{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $L extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class UL extends Xt{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zL{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GL{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qL{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class WL{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZL{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class QL{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class $f{}class Uf{constructor(t){this.url=t}}class YL{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zi,this.attachRef=null}}let Zi=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new YL,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class dE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=zf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=zf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Gf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Gf(t,this._root).map(n=>n.value)}}function zf(e,t){if(e===t.value)return t;for(const n of t.children){const r=zf(e,n);if(r)return r}return null}function Gf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Gf(e,n);if(r.length)return r.unshift(t),r}return[]}class yn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Co(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class fE extends dE{constructor(t,n){super(t),this.snapshot=n,qf(this,t)}toString(){return this.snapshot.toString()}}function hE(e,t){const n=function XL(e,t){const s=new _u([],{},{},"",{},V,t,null,{});return new gE("",new yn(s,[]))}(0,t),r=new ht([new Hi("",{})]),o=new ht({}),i=new ht({}),s=new ht({}),a=new ht(""),u=new _o(r,o,s,a,i,V,t,n.root);return u.snapshot=n.root,new fE(new yn(u,[]),n)}class _o{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(z(c=>c[Bi]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(z(t=>yo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(t=>yo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pE(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function JL(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class _u{get title(){return this.data?.[Bi]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=yo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gE extends dE{constructor(t,n){super(n),this.url=t,qf(this,n)}toString(){return mE(this._root)}}function qf(e,t){t.value._routerState=e,t.children.forEach(n=>qf(e,n))}function mE(e){const t=e.children.length>0?` { ${e.children.map(mE).join(", ")} } `:"";return`${e.value}${t}`}function Wf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Yt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Yt(t.params,n.params)||e.paramsSubject.next(n.params),function pL(e,t){if(e.length!==t.length)return!1;for(let n=0;nYt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Zf(e.parent,t.parent))}let Qf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=E(Zi),this.location=E(xt),this.changeDetector=E(xa),this.environmentInjector=E(at),this.inputBinder=E(wu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new KL(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=O({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]})}return e})();class KL{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===_o?this.route:t===Zi?this.childContexts:this.parent.get(t,n)}}const wu=new I("");let yE=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Of([r.queryParams,r.params,r.data]).pipe(bt(([i,s,a],u)=>(a={...i,...s,...a},0===u?T(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function YO(e){const t=$(e);if(!t)return null;const n=new di(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function Qi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function tV(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Qi(e,r,o);return Qi(e,r)})}(e,t,n);return new yn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Qi(e,a)),s}}const r=function nV(e){return new _o(new ht(e.url),new ht(e.params),new ht(e.queryParams),new ht(e.fragment),new ht(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Qi(e,i));return new yn(r,o)}}const Yf="ngNavigationCancelingError";function vE(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=lr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=DE(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function DE(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Yf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function CE(e){return e&&e[Yf]}let _E=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["ng-component"]],standalone:!0,features:[eD],decls:1,vars:0,template:function(r,o){1&r&&to(0,"router-outlet")},dependencies:[Qf],encapsulation:2})}return e})();function Xf(e){const t=e.children&&e.children.map(Xf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==V&&(n.component=_E),n}function Ft(e){return e.outlet||V}function Yi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class lV{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Wf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Co(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Co(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Co(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=Co(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new QL(i.value.snapshot))}),t.children.length&&this.forwardEvent(new WL(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Wf(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Wf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Yi(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class wE{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Eu{constructor(t,n){this.component=t,this.route=n}}function dV(e,t,n){const r=e._root;return Xi(r,t?t._root:null,n,[r.value])}function wo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Jb(e){return null!==as(e)}(e)?t.get(e):e:r}function Xi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Co(t);return e.children.forEach(s=>{(function hV(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function pV(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!cr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(e.url,t.url)||!Yt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zf(e,t)||!Yt(e.queryParams,t.queryParams);default:return!Zf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new wE(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Xi(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Eu(a.outlet.component,s))}else s&&Ji(t,a,o),o.canActivateChecks.push(new wE(r)),Xi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ji(a,n.getContext(s),o)),o}function Ji(e,t,n){const r=Co(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ji(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Eu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Ki(e){return"function"==typeof e}function EE(e){return e instanceof du||"EmptyError"===e?.name}const bu=Symbol("INITIAL_VALUE");function Eo(){return bt(e=>Of(e.map(t=>t.pipe(mo(1),function iL(...e){const t=To(e);return ve((n,r)=>{(t?Pf(e,n,t):Pf(e,n)).subscribe(r)})}(bu)))).pipe(z(t=>{for(const n of t)if(!0!==n){if(n===bu)return bu;if(!1===n||n instanceof vo)return n}return!0}),mn(t=>t!==bu),mo(1)))}function bE(e){return function eb(...e){return lh(e)}(ke(t=>{if(lr(t))throw vE(0,t)}),z(t=>!0===t))}class Iu{constructor(t){this.segmentGroup=t||null}}class IE{constructor(t){this.urlTree=t}}function bo(e){return ji(new Iu(e))}function ME(e){return ji(new IE(e))}class PV{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new D(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return T(r);if(o.numberOfChildren>1||!o.children[V])return ji(new D(4e3,!1));o=o.children[V]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new vo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new X(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Jf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function FV(e,t,n,r,o){const i=Kf(e,t,n);return i.matched?(r=function oV(e,t){return e.providers&&!e._injector&&(e._injector=rd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function RV(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?T(o.map(s=>{const a=wo(s,e);return Vn(function CV(e){return e&&Ki(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),bE()):T(!0)}(r,t,n).pipe(z(s=>!0===s?i:{...Jf}))):T(i)}function Kf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Jf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||hL)(n,e,t);if(!o)return{...Jf};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function SE(e,t,n,r){return n.length>0&&function VV(e,t,n){return n.some(r=>Mu(e,t,r)&&Ft(r)!==V)}(e,n,r)?{segmentGroup:new X(t,LV(r,new X(n,e.children))),slicedSegments:[]}:0===n.length&&function jV(e,t,n){return n.some(r=>Mu(e,t,r))}(e,n,r)?{segmentGroup:new X(e.segments,kV(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new X(e.segments,e.children),slicedSegments:n}}function kV(e,t,n,r,o){const i={};for(const s of r)if(Mu(e,n,s)&&!o[Ft(s)]){const a=new X([],{});i[Ft(s)]=a}return{...o,...i}}function LV(e,t){const n={};n[V]=t;for(const r of e)if(""===r.path&&Ft(r)!==V){const o=new X([],{});n[Ft(r)]=o}return n}function Mu(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class UV{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new PV(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,!1)}recognize(){const t=SE(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,V).pipe(ur(n=>{if(n instanceof IE)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof Iu?this.noMatchError(n):n}),z(n=>{const r=new _u([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},V,this.rootComponentType,null,{}),o=new yn(r,n),i=new gE("",o),s=function OL(e,t,n=null,r=null){return rE(nE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,V).pipe(ur(r=>{throw r instanceof Iu?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=pE(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return De(o).pipe(ho(i=>{const s=r.children[i],a=function uV(e,t){const n=e.filter(r=>Ft(r)===t);return n.push(...e.filter(r=>Ft(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function uL(e,t){return ve(function aL(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(me(s,l=>{const d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),fu(null),function cL(e,t){const n=arguments.length>=2;return r=>r.pipe(e?mn((o,i)=>e(o,i,r)):Dn,kf(1),n?fu(t):Uw(()=>new du))}(),be(i=>{if(null===i)return bo(r);const s=AE(i);return function zV(e){e.sort((t,n)=>t.value.outlet===V?-1:n.value.outlet===V?1:t.value.outlet.localeCompare(n.value.outlet))}(s),T(s)}))}processSegment(t,n,r,o,i,s){return De(n).pipe(ho(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(ur(u=>{if(u instanceof Iu)return T(null);throw u}))),ar(a=>!!a),ur(a=>{if(EE(a))return function HV(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?T([]):bo(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function BV(e,t,n,r){return!!(Ft(e)===r||r!==V&&Mu(t,n,e))&&("**"===e.path||Kf(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):bo(o):bo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?ME(i):this.applyRedirects.lineralizeSegments(r,i).pipe(be(s=>{const a=new X(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:c,positionalParamSegments:l}=Kf(n,o,i);if(!a)return bo(n);const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return o.redirectTo.startsWith("/")?ME(d):this.applyRedirects.lineralizeSegments(o,d).pipe(be(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const u=o.length>0?Gw(o).parameters:{};a=T({snapshot:new _u(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,TE(r),Ft(r),r.component??r._loadedComponent??null,r,NE(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=FV(n,r,o,t).pipe(z(({matched:u,consumedSegments:c,remainingSegments:l,parameters:d})=>u?{snapshot:new _u(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,TE(r),Ft(r),r.component??r._loadedComponent??null,r,NE(r)),consumedSegments:c,remainingSegments:l}:null));return a.pipe(bt(u=>null===u?bo(n):this.getChildConfig(t=r._injector??t,r,o).pipe(bt(({routes:c})=>{const l=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=u,{segmentGroup:p,slicedSegments:g}=SE(n,f,h,c);if(0===g.length&&p.hasChildren())return this.processChildren(l,c,p).pipe(z(C=>null===C?null:[new yn(d,C)]));if(0===c.length&&0===g.length)return T([new yn(d,[])]);const y=Ft(r)===i;return this.processSegment(l,c,p,g,y?V:i,!0).pipe(z(C=>[new yn(d,C)]))}))))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?T({routes:n._loadedRoutes,injector:n._loadedInjector}):function NV(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?T(!0):T(o.map(s=>{const a=wo(s,e);return Vn(function mV(e){return e&&Ki(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),bE())}(t,n,r).pipe(be(o=>o?this.configLoader.loadChildren(t,n).pipe(ke(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function OV(e){return ji(DE(!1,3))}())):T({routes:[],injector:t})}}function GV(e){const t=e.value.routeConfig;return t&&""===t.path}function AE(e){const t=[],n=new Set;for(const r of e){if(!GV(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=AE(r.children);t.push(new yn(r.value,o))}return t.filter(r=>!n.has(r))}function TE(e){return e.data||{}}function NE(e){return e.resolve||{}}function RE(e){return"string"==typeof e.title||null===e.title}function eh(e){return bt(t=>{const n=e(t);return n?De(n).pipe(z(()=>t)):T(t)})}const Io=new I("ROUTES");let th=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=E(qD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Vn(n.loadComponent()).pipe(z(xE),ke(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),ki(()=>{this.componentLoaders.delete(n)})),o=new $w(r,()=>new Et).pipe(Ff());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function JV(e,t,n,r){return Vn(e.loadChildren()).pipe(z(xE),be(o=>o instanceof Jv||Array.isArray(o)?T(o):De(t.compileModuleAsync(o))),z(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(Io,[],{optional:!0,self:!0}).flat()),{routes:s.map(Xf),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(ki(()=>{this.childrenLoaders.delete(r)})),s=new $w(i,()=>new Et).pipe(Ff());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xE(e){return function KV(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Su=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Et,this.transitionAbortSubject=new Et,this.configLoader=E(th),this.environmentInjector=E(at),this.urlSerializer=E($i),this.rootContexts=E(Zi),this.inputBindingEnabled=null!==E(wu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new GL(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new zL(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new ht({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:n.urlHandlingStrategy.extract(r),urlAfterRedirects:n.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(mn(i=>0!==i.id),z(i=>({...i,extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),bt(i=>{this.currentTransition=i;let s=!1,a=!1;return T(i).pipe(ke(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),bt(u=>{const c=u.currentBrowserUrl.toString(),l=!n.navigated||u.extractedUrl.toString()!==c||c!==u.currentUrlTree.toString();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const f="";return this.events.next(new Do(u.id,this.urlSerializer.serialize(u.rawUrl),f,0)),u.resolve(null),kt}if(n.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return T(u).pipe(bt(f=>{const h=this.transitions?.getValue();return this.events.next(new Du(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?kt:Promise.resolve(f)}),function qV(e,t,n,r,o,i){return be(s=>function $V(e,t,n,r,o,i,s="emptyOnly"){return new UV(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(z(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ke(f=>{i.targetSnapshot=f.targetSnapshot,i.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const h=new cE(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:y}=u,C=new Du(f,this.urlSerializer.serialize(h),p,g);this.events.next(C);const m=hE(0,this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:m,urlAfterRedirects:h,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},T(i)}{const f="";return this.events.next(new Do(u.id,this.urlSerializer.serialize(u.extractedUrl),f,1)),u.resolve(null),kt}}),ke(u=>{const c=new BL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),z(u=>(this.currentTransition=i={...u,guards:dV(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function wV(e,t){return be(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?T({...n,guardsResult:!0}):function EV(e,t,n,r){return De(e).pipe(be(o=>function TV(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?T(i.map(a=>{const u=Yi(t)??o,c=wo(a,u);return Vn(function DV(e){return e&&Ki(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,r):u.runInContext(()=>c(e,t,n,r))).pipe(ar())})).pipe(Eo()):T(!0)}(o.component,o.route,n,t,r)),ar(o=>!0!==o,!0))}(s,r,o,e).pipe(be(a=>a&&function gV(e){return"boolean"==typeof e}(a)?function bV(e,t,n,r){return De(t).pipe(ho(o=>Pf(function MV(e,t){return null!==e&&t&&t(new qL(e)),T(!0)}(o.route.parent,r),function IV(e,t){return null!==e&&t&&t(new ZL(e)),T(!0)}(o.route,r),function AV(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function fV(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Hw(()=>T(s.guards.map(u=>{const c=Yi(s.node)??n,l=wo(u,c);return Vn(function vV(e){return e&&Ki(e.canActivateChild)}(l)?l.canActivateChild(r,e):c.runInContext(()=>l(r,e))).pipe(ar())})).pipe(Eo())));return T(i).pipe(Eo())}(e,o.path,n),function SV(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return T(!0);const o=r.map(i=>Hw(()=>{const s=Yi(t)??n,a=wo(i,s);return Vn(function yV(e){return e&&Ki(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(ar())}));return T(o).pipe(Eo())}(e,o.route,n))),ar(o=>!0!==o,!0))}(r,i,e,t):T(a)),z(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),ke(u=>{if(i.guardsResult=u.guardsResult,lr(u.guardsResult))throw vE(0,u.guardsResult);const c=new HL(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),mn(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),eh(u=>{if(u.guards.canActivateChecks.length)return T(u).pipe(ke(c=>{const l=new $L(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),bt(c=>{let l=!1;return T(c).pipe(function WV(e,t){return be(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return T(n);let i=0;return De(o).pipe(ho(s=>function ZV(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!RE(o)&&(i[Bi]=o.title),function QV(e,t,n,r){const o=function YV(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return T({});const i={};return De(o).pipe(be(s=>function XV(e,t,n,r){const o=Yi(t)??r,i=wo(e,o);return Vn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(ar(),ke(a=>{i[s]=a}))),kf(1),function lL(e){return z(()=>e)}(i),ur(s=>EE(s)?kt:ji(s)))}(i,e,t,r).pipe(z(s=>(e._resolvedData=s,e.data=pE(e,n).resolve,o&&RE(o)&&(e.data[Bi]=o.title),null)))}(s.route,r,e,t)),ke(()=>i++),kf(1),be(s=>i===o.length?T(n):kt))})}(n.paramsInheritanceStrategy,this.environmentInjector),ke({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(c,"",2)}}))}),ke(c=>{const l=new UL(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),eh(u=>{const c=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ke(f=>{l.component=f}),z(()=>{})));for(const f of l.children)d.push(...c(f));return d};return Of(c(u.targetSnapshot.root)).pipe(fu(),mo(1))}),eh(()=>this.afterPreactivation()),z(u=>{const c=function eV(e,t,n){const r=Qi(e,t._root,n?n._root:void 0);return new fE(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:c},i}),ke(()=>{this.events.next(new $f)}),((e,t,n,r)=>z(o=>(new lV(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),mo(1),ke({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),n.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function dL(e){return ve((t,n)=>{nt(e).subscribe(me(n,()=>n.complete(),Tu)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(ke(u=>{throw u}))),ki(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),ur(u=>{if(a=!0,CE(u))this.events.next(new Wi(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function rV(e){return CE(e)&&lr(e.url)}(u)?this.events.next(new Uf(u.url)):i.resolve(!1);else{this.events.next(new Cu(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(c){i.reject(c)}}return kt}))}))}cancelNavigationTransition(n,r,o){const i=new Wi(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OE(e){return e!==qi}let PE=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===V);return r}getResolvedTitleForRoute(n){return n.data[Bi]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(ej)},providedIn:"root"})}return e})(),ej=(()=>{class e extends PE{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(M(h_))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(rj)},providedIn:"root"})}return e})();class nj{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let rj=(()=>{class e extends nj{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=Te(e)))(o||e)}}();static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Au=new I("",{providedIn:"root",factory:()=>({})});let oj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:function(){return E(ij)},providedIn:"root"})}return e})(),ij=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var es=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(es||{});function FE(e,t){e.events.pipe(mn(n=>n instanceof jn||n instanceof Wi||n instanceof Cu||n instanceof Do),z(n=>n instanceof jn||n instanceof Do?es.COMPLETE:n instanceof Wi&&(0===n.code||1===n.code)?es.REDIRECTING:es.FAILED),mn(n=>n!==es.REDIRECTING),mo(1)).subscribe(()=>{t()})}function sj(e){throw e}function aj(e,t,n){return t.parse("/")}const uj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=E(GD),this.isNgZoneEnabled=!1,this._events=new Et,this.options=E(Au,{optional:!0})||{},this.pendingTasks=E(Aa),this.errorHandler=this.options.errorHandler||sj,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||aj,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=E(oj),this.routeReuseStrategy=E(tj),this.titleStrategy=E(PE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=E(Io,{optional:!0})?.flat()??[],this.navigationTransitions=E(Su),this.urlSerializer=E($i),this.location=E(Fd),this.componentInputBindingEnabled=!!E(wu,{optional:!0}),this.eventsSubscription=new tt,this.isNgZoneEnabled=E(re)instanceof re&&re.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hE(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(kE(r)&&this._events.next(r));if(r instanceof Du)OE(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof Do)this.rawUrlTree=o.rawUrl;else if(r instanceof cE){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof $f)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof Wi)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof Uf){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||OE(o.source)};this.scheduleNavigation(i,qi,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof Cu&&this.restoreHistory(o,!0),r instanceof jn&&(this.navigated=!0),kE(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Xf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s;let d,l=null;switch(a){case"merge":l={...this.currentUrlTree.queryParams,...i};break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}null!==l&&(l=this.removeEmptyProps(l));try{d=nE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return rE(d,n,l,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=lr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,qi,null,r)}navigate(n,r={skipLocationChange:!1}){return function lj(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,u=f});const l=this.pendingTasks.add();return FE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kE(e){return!(e instanceof $f||e instanceof Uf)}class LE{}let hj=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(mn(n=>n instanceof jn),ho(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=rd(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return De(o).pipe(fr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):T(null);const i=o.pipe(be(s=>null===s?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?De([i,this.loader.loadComponent(r)]).pipe(fr()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(M(wt),M(qD),M(at),M(LE),M(th))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rh=new I("");let VE=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Du?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof jn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Do&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof lE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new lE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Vm(){throw new Error("invalid")}()};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function vn(e,t){return{\u0275kind:e,\u0275providers:t}}function BE(){const e=E(ct);return t=>{const n=e.get(ao);if(t!==n.components[0])return;const r=e.get(wt),o=e.get(HE);1===e.get(oh)&&r.initialNavigation(),e.get($E,null,B.Optional)?.setUpPreloading(),e.get(rh,null,B.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const HE=new I("",{factory:()=>new Et}),oh=new I("",{providedIn:"root",factory:()=>1}),$E=new I("");function yj(e){return vn(0,[{provide:$E,useExisting:hj},{provide:LE,useExisting:e}])}const UE=new I("ROUTER_FORROOT_GUARD"),Dj=[Fd,{provide:$i,useClass:Lf},wt,Zi,{provide:_o,useFactory:function jE(e){return e.routerState.root},deps:[wt]},th,[]];function Cj(){return new KD("Router",wt)}let zE=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Dj,[],{provide:Io,multi:!0,useValue:n},{provide:UE,useFactory:bj,deps:[[wt,new Rs,new xs]]},{provide:Au,useValue:r||{}},r?.useHash?{provide:rr,useClass:tP}:{provide:rr,useClass:TC},{provide:rh,useFactory:()=>{const e=E(_F),t=E(re),n=E(Au),r=E(Su),o=E($i);return n.scrollOffset&&e.setOffset(n.scrollOffset),new VE(o,r,e,t,n)}},r?.preloadingStrategy?yj(r.preloadingStrategy).\u0275providers:[],{provide:KD,multi:!0,useFactory:Cj},r?.initialNavigation?Ij(r):[],r?.bindToComponentInputs?vn(8,[yE,{provide:wu,useExisting:yE}]).\u0275providers:[],[{provide:GE,useFactory:BE},{provide:Id,multi:!0,useExisting:GE}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Io,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(M(UE,8))};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({})}return e})();function bj(e){return"guarded"}function Ij(e){return["disabled"===e.initialNavigation?vn(3,[{provide:yd,multi:!0,useFactory:()=>{const t=E(wt);return()=>{t.setUpLocationChangeListener()}}},{provide:oh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?vn(2,[{provide:oh,useValue:0},{provide:yd,multi:!0,deps:[ct],useFactory:t=>{const n=t.get(KO,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(wt),i=t.get(HE);FE(o,()=>{r(!0)}),t.get(Su).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const GE=new I(""),Sj=[];let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e});static#n=this.\u0275inj=gt({imports:[zE.forRoot(Sj),zE]})}return e})(),Tj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-header"]],decls:7,vars:0,template:function(r,o){1&r&&(Ne(0,"header")(1,"h1"),Je(2,"quantumCookies"),Re(),Ne(3,"h3"),Je(4,"\u2014 like fortune cookies, but making sense \u2014"),Re(),Ne(5,"h3"),Je(6,"A quick check-in with yourself and Feynman."),Re()())},styles:["header[_ngcontent-%COMP%]{text-align:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3.5em;font-weight:700;letter-spacing:2px;color:#ff26c9;text-shadow:0 0 3px #ffffff,0 0 2px cyan;padding-top:100px}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:.9em;font-weight:400;color:#ff0;text-shadow:0 0 2px #ffffff}@media only screen and (max-width: 600px){header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.5em;padding-top:50px}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:.9em}}"]})}return e})(),Nj=(()=>{class e{constructor(n){this.http=n,this.QUOTES_URL="assets/feynman-says.json"}getRandomQuote(){return this.http.get(this.QUOTES_URL).pipe(z(n=>n[Math.floor(Math.random()*n.length)]))}static#e=this.\u0275fac=function(r){return new(r||e)(M(Aw))};static#t=this.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rj(e,t){1&e&&(Ne(0,"p",4),Je(1," Keep it simple, like a Feynman explanation \u2014 under 420 characters will be ok\n"),Re())}let xj=(()=>{class e{constructor(n){this.feynmanSaysService=n,this.userInput="",this.isMaxCharsReached=!1,this.isInputValid=!1,this.quoteGenerated=!1,this.newQuote=new ce}ngOnInit(){this.validateInput()}adjustTextarea(n){const r=n.target;r.style.overflow="hidden",r.style.height="auto",r.style.height=`${r.scrollHeight}px`}checkMaxLength(n){this.userInput=n.target.value,this.validateInput()}generateFeynmanQuote(){this.feynmanSaysService.getRandomQuote().subscribe(n=>{console.log(n),this.newQuote.emit(n),this.quoteGenerated=!0},n=>{console.error("Error fetching quote",n)})}resetQuoteGeneration(){this.quoteGenerated=!1,this.userInput=""}validateInput(){this.isMaxCharsReached=this.userInput.length>=420,this.isInputValid=this.userInput.length>0&&!this.isMaxCharsReached}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nj))};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-user-input"]],outputs:{newQuote:"newQuote"},decls:6,vars:3,consts:[["for","userThoughts"],["id","userThoughts","maxlength","420","placeholder","Write your thoughts here",3,"ngModel","ngModelChange","input"],["class","error-msg",4,"ngIf"],[3,"disabled","click"],[1,"error-msg"]],template:function(r,o){1&r&&(Ne(0,"label",0),Je(1,"What's on your mind today?"),Re(),Ne(2,"textarea",1),$e("ngModelChange",function(s){return o.userInput=s})("input",function(s){return o.checkMaxLength(s),o.adjustTextarea(s)}),Re(),function by(e,t,n,r,o,i,s,a){const u=v(),c=U(),l=e+H,d=c.firstCreatePass?function CT(e,t,n,r,o,i,s,a,u){const c=t.consts,l=zr(t,e,4,s||null,In(c,a));Al(t,n,l,In(c,u)),_s(t,l);const d=l.tView=Sl(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];Ht(d,!1);const f=Iy(c,u,d,e);Cs()&&Us(c,u,f,d),Oe(f,u),ua(u,u[l]=Wm(f,u,f,d)),ms(d)&&Il(c,u,d),null!=s&&Ml(u,d,a)}(3,Rj,2,0,"p",2),Ne(4,"button",3),$e("click",function(){return o.generateFeynmanQuote()}),Je(5," Check with Feynman "),Re()),2&r&&(Xn(2),eo("ngModel",o.userInput),Xn(1),eo("ngIf",o.isMaxCharsReached),Xn(1),eo("disabled",!o.isInputValid||o.quoteGenerated))},dependencies:[UC,Ya,G_,Af,_f],styles:["label[_ngcontent-%COMP%]{display:block;font-size:1rem;font-weight:700;color:#000;background-color:#f5f5f5;border-radius:5px;padding:10px 25px}textarea[_ngcontent-%COMP%]{width:80%;max-width:500px;min-height:100px;border-radius:15px;border:3px solid rgb(255,255,255);padding:.7rem;margin:20px auto;font-size:1rem;resize:vertical;background-color:#ffffffb3}[_ngcontent-%COMP%]::placeholder{color:gray;opacity:.9}.error-msg[_ngcontent-%COMP%]{color:#ff0;background-color:#2f4f4f;font-size:.7rem;padding:.3rem;margin-top:.7rem}button[_ngcontent-%COMP%]{background-color:#ff0;border:yellow;border-width:5px;border-radius:35px;color:#ff26c9;padding:15px 25px;text-decoration:underline;display:inline-block;font-size:1rem;font-weight:700;margin:20px;transition-duration:.4s;cursor:pointer}button[_ngcontent-%COMP%]:hover{background-color:#ff26c9;color:#ff0;border:5px solid rgb(255,38,201)}button[_ngcontent-%COMP%]:disabled{background-color:#d3d3d3;color:gray;cursor:not-allowed}@media only screen and (max-width: 600px){textarea[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-size:.9rem}.error-msg[_ngcontent-%COMP%]{font-size:.7rem}}"]})}return e})(),Oj=(()=>{class e{constructor(){this.quote=""}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-quantum-cookies-display"]],inputs:{quote:"quote"},decls:3,vars:1,consts:[[1,"quote-container"],[1,"quote-text"]],template:function(r,o){1&r&&(Ne(0,"div",0)(1,"p",1),Je(2),Re()()),2&r&&(Xn(2),Ca(o.quote))},styles:[".quote-container[_ngcontent-%COMP%]{width:80%;max-width:500px;min-height:100px;background-color:#e0b8d5e6;border:3px solid rgb(255,38,201);padding:.7rem;margin:20px auto;border-radius:15px;text-align:center}.quote-text[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:1rem;font-style:italic;font-weight:600;color:#000;line-height:1.5}"]})}return e})(),Pj=(()=>{class e{constructor(){this.currentYear=(new Date).getFullYear()}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-footer"]],decls:12,vars:1,consts:[["id","footer"],["id","currentYear"],["id","rocketIcon"],["href","https://github.com/clasei","target","_blank","rel","noopener noreferrer"],["href","https://bio.link/claraseijo","target","_blank","rel","noopener noreferrer"]],template:function(r,o){1&r&&(Ne(0,"div",0)(1,"footer")(2,"span",1),Je(3),Re(),Ne(4,"span",2),Je(5,"\u{1f680}"),Re(),Je(6," built by "),Ne(7,"a",3),Je(8,"clasei"),Re(),Je(9," // pragmatic front-end developer "),Ne(10,"a",4),Je(11,"\u2192 clara seijo"),Re()()()),2&r&&(Xn(3),Ca(o.currentYear))},styles:["body[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center;justify-content:center;min-height:100vh;overflow-x:hidden}html[_ngcontent-%COMP%]{-webkit-text-size-adjust:100%;font-size:15px}#footer[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace;color:#2f4f4f;font-size:.7em;background-color:#fffc;padding:10px 5px;width:100%;position:fixed;bottom:0;text-align:center;box-shadow:0 4px 6px #00000080;box-sizing:border-box}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#5c61ff;margin:2px 3px;transition:color .5s}footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:pink;font-weight:700}footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}#rocketIcon[_ngcontent-%COMP%]{margin-left:1px;margin-right:1px}"]})}return e})(),Fj=(()=>{class e{constructor(){this.title="quantumCookies",this.currentQuote=""}handleNewQuote(n){this.currentQuote=n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Un({type:e,selectors:[["app-root"]],decls:6,vars:1,consts:[[1,"app-container"],[3,"newQuote"],[3,"quote"]],template:function(r,o){1&r&&(Ne(0,"div",0),to(1,"app-header"),Ne(2,"app-user-input",1),$e("newQuote",function(s){return o.handleNewQuote(s)}),Re(),to(3,"app-quantum-cookies-display",2)(4,"app-footer"),Re(),to(5,"router-outlet")),2&r&&(Xn(3),eo("quote",o.currentQuote))},dependencies:[Qf,Tj,xj,Oj,Pj]})}return e})(),kj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=St({type:e,bootstrap:[Fj]});static#n=this.\u0275inj=gt({imports:[Yk,p1,Aj,Mk]})}return e})();f1().bootstrapModule(kj).catch(e=>console.error(e))}},J=>{J(J.s=608)}]); \ No newline at end of file