-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.8c13fbc06a5bbbc4.js
1 lines (1 loc) · 173 KB
/
main.8c13fbc06a5bbbc4.js
1
"use strict";(self.webpackChunkuser=self.webpackChunkuser||[]).push([[179],{639:()=>{function X(e){return"function"==typeof e}function Lr(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 Xo=Lr(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 $r(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(X(r))try{r()}catch(i){t=i instanceof Xo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Uc(i)}catch(s){t=t??[],s instanceof Xo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uc(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)&&$r(n,t)}remove(t){const{_finalizers:n}=this;n&&$r(n,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const e=new tt;return e.closed=!0,e})();const jc=tt.EMPTY;function Vc(e){return e instanceof tt||e&&"closed"in e&&X(e.remove)&&X(e.add)&&X(e.unsubscribe)}function Uc(e){X(e)?e():e.unsubscribe()}const gn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Jo={setTimeout(e,t,...n){const{delegate:r}=Jo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Jo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bc(e){Jo.setTimeout(()=>{const{onUnhandledError:t}=gn;if(!t)throw e;t(e)})}function Hc(){}const cD=Js("C",void 0,void 0);function Js(e,t,n){return{kind:e,value:t,error:n}}let mn=null;function ei(e){if(gn.useDeprecatedSynchronousErrorHandling){const t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=mn;if(mn=null,n)throw r}}else e()}class ea extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vc(t)&&t.add(this)):this.destination=yD}static create(t,n,r){return new jr(t,n,r)}next(t){this.isStopped?na(function fD(e){return Js("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?na(function dD(e){return Js("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?na(cD,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 pD=Function.prototype.bind;function ta(e,t){return pD.call(e,t)}class gD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ti(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ti(r)}else ti(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ti(n)}}}class jr extends ea{constructor(t,n,r){let o;if(super(),X(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&gn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ta(t.next,i),error:t.error&&ta(t.error,i),complete:t.complete&&ta(t.complete,i)}):o=t}this.destination=new gD(o)}}function ti(e){gn.useDeprecatedSynchronousErrorHandling?function hD(e){gn.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=e)}(e):Bc(e)}function na(e,t){const{onStoppedNotification:n}=gn;n&&Jo.setTimeout(()=>n(e,t))}const yD={closed:!0,next:Hc,error:function mD(e){throw e},complete:Hc},ra="function"==typeof Symbol&&Symbol.observable||"@@observable";function yn(e){return e}function zc(e){return 0===e.length?yn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let ge=(()=>{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 wD(e){return e&&e instanceof ea||function DD(e){return e&&X(e.next)&&X(e.error)&&X(e.complete)}(e)&&Vc(e)}(n)?n:new jr(n,r,o);return ei(()=>{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=Gc(r))((o,i)=>{const s=new jr({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)}[ra](){return this}pipe(...n){return zc(n)(this)}toPromise(n){return new(n=Gc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Gc(e){var t;return null!==(t=e??gn.Promise)&&void 0!==t?t:Promise}const CD=Lr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Lt=(()=>{class e extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new qc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new CD}next(n){ei(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ei(()=>{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(){ei(()=>{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?jc:(this.currentObservers=null,i.push(n),new tt(()=>{this.currentObservers=null,$r(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ge;return n.source=this,n}}return e.create=(t,n)=>new qc(t,n),e})();class qc extends Lt{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:jc}}function Wc(e){return X(e?.lift)}function we(e){return t=>{if(Wc(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 Ce(e,t,n,r,o){return new _D(e,t,n,r,o)}class _D extends ea{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 H(e,t){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>{r.next(e.call(t,i,o++))}))})}function vn(e){return this instanceof vn?(this.v=e,this):new vn(e)}function ID(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 vn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function bD(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 Yc(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(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const Kc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Xc(e){return X(e?.then)}function Jc(e){return X(e[ra])}function ed(e){return Symbol.asyncIterator&&X(e?.[Symbol.asyncIterator])}function td(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 nd=function TD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rd(e){return X(e?.[nd])}function od(e){return ID(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield vn(n.read());if(o)return yield vn(void 0);yield yield vn(r)}}finally{n.releaseLock()}})}function id(e){return X(e?.getReader)}function dt(e){if(e instanceof ge)return e;if(null!=e){if(Jc(e))return function AD(e){return new ge(t=>{const n=e[ra]();if(X(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Kc(e))return function RD(e){return new ge(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Xc(e))return function xD(e){return new ge(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bc)})}(e);if(ed(e))return sd(e);if(rd(e))return function ND(e){return new ge(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(id(e))return function PD(e){return sd(od(e))}(e)}throw td(e)}function sd(e){return new ge(t=>{(function OD(e,t){var n,r,o,i;return function ED(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=bD(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 $t(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 Se(e,t,n=1/0){return X(t)?Se((r,o)=>H((i,s)=>t(r,i,o,s))(dt(e(r,o))),n):("number"==typeof t&&(n=t),we((r,o)=>function FD(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let m=!1;dt(n(g,c++)).subscribe(Ce(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&l<r;){const D=u.shift();s?$t(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Ce(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Bn(e=1/0){return Se(yn,e)}const St=new ge(e=>e.complete());function ia(e){return e[e.length-1]}function Vr(e){return function LD(e){return e&&X(e.schedule)}(ia(e))?e.pop():void 0}function ad(e,t=0){return we((n,r)=>{n.subscribe(Ce(r,o=>$t(r,e,()=>r.next(o),t),()=>$t(r,e,()=>r.complete(),t),o=>$t(r,e,()=>r.error(o),t)))})}function ud(e,t=0){return we((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ld(e,t){if(!e)throw new Error("Iterable cannot be null");return new ge(n=>{$t(n,t,()=>{const r=e[Symbol.asyncIterator]();$t(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function me(e,t){return t?function GD(e,t){if(null!=e){if(Jc(e))return function VD(e,t){return dt(e).pipe(ud(t),ad(t))}(e,t);if(Kc(e))return function BD(e,t){return new ge(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Xc(e))return function UD(e,t){return dt(e).pipe(ud(t),ad(t))}(e,t);if(ed(e))return ld(e,t);if(rd(e))return function HD(e,t){return new ge(n=>{let r;return $t(n,t,()=>{r=e[nd](),$t(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)}),()=>X(r?.return)&&r.return()})}(e,t);if(id(e))return function zD(e,t){return ld(od(e),t)}(e,t)}throw td(e)}(e,t):dt(e)}function sa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new jr({next:()=>{r.unsubscribe(),e()}});return dt(t(...n)).subscribe(r)}function Y(e){for(let t in e)if(e[t]===Y)return t;throw Error("Could not find renamed property on target object.")}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 ua(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ZD=Y({__forward_ref__:Y});function la(e){return e.__forward_ref__=la,e.toString=function(){return J(this())},e}function M(e){return ca(e)?e():e}function ca(e){return"function"==typeof e&&e.hasOwnProperty(ZD)&&e.__forward_ref__===la}function da(e){return e&&!!e.\u0275providers}class w extends Error{constructor(t,n){super(function ni(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function O(e){return"string"==typeof e?e:null==e?"":String(e)}(e)}function ri(e,t){throw new w(-201,!1)}function nt(e,t){null==e&&function Z(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function oi(e){return dd(e,ii)||dd(e,hd)}function dd(e,t){return e.hasOwnProperty(t)?e[t]:null}function fd(e){return e&&(e.hasOwnProperty(fa)||e.hasOwnProperty(rw))?e[fa]:null}const ii=Y({\u0275prov:Y}),fa=Y({\u0275inj:Y}),hd=Y({ngInjectableDef:Y}),rw=Y({ngInjectorDef:Y});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let ha;function rt(e){const t=ha;return ha=e,t}function pd(e,t,n){const r=oi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void ri(J(e))}const ee=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ur={},pa="__NG_DI_FLAG__",si="ngTempTokenPath",sw=/\n/gm,gd="__source";let Br;function Hn(e){const t=Br;return Br=e,t}function uw(e,t=T.Default){if(void 0===Br)throw new w(-203,!1);return null===Br?pd(e,void 0,t):Br.get(e,t&T.Optional?null:void 0,t)}function S(e,t=T.Default){return(function ow(){return ha}()||uw)(M(e),t)}function z(e,t=T.Default){return S(e,ai(t))}function ai(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ga(e){const t=[];for(let n=0;n<e.length;n++){const r=M(e[n]);if(Array.isArray(r)){if(0===r.length)throw new w(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=lw(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(S(o,i))}else t.push(S(r))}return t}function Hr(e,t){return e[pa]=t,e.prototype[pa]=t,e}function lw(e){return e[pa]}function nn(e){return{toString:e}.toString()}var ft=(()=>((ft=ft||{})[ft.OnPush=0]="OnPush",ft[ft.Default=1]="Default",ft))(),It=(()=>{return(e=It||(It={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",It;var e})();const jt={},q=[],ui=Y({\u0275cmp:Y}),ma=Y({\u0275dir:Y}),ya=Y({\u0275pipe:Y}),yd=Y({\u0275mod:Y}),Vt=Y({\u0275fac:Y}),zr=Y({__NG_ELEMENT_ID__:Y});let fw=0;function li(e){return nn(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ft.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,id:"c"+fw++,styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=wd(e.inputs,r),o.outputs=wd(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(vd).filter(Dd):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Fe).filter(Dd):null,o})}function vd(e){return Q(e)||Te(e)}function Dd(e){return null!==e}function Dn(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wd(e,t){if(null==e)return jt;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}const Oe=li;function Q(e){return e[ui]||null}function Te(e){return e[ma]||null}function Fe(e){return e[ya]||null}function Ze(e,t){const n=e[yd]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}const V=11;function Qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function pt(e){return Array.isArray(e)&&!0===e[1]}function wa(e){return 0!=(4&e.flags)}function Zr(e){return e.componentOffset>-1}function gt(e){return null!==e.template}function gw(e){return 0!=(256&e[2])}function Cn(e,t){return e.hasOwnProperty(Vt)?e[Vt]:null}class vw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function _n(){return bd}function bd(e){return e.type.prototype.ngOnChanges&&(e.setInput=ww),Dw}function Dw(){const e=Td(this),t=e?.current;if(t){const n=e.previous;if(n===jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ww(e,t,n,r){const o=this.declaredInputs[n],i=Td(e)||function Cw(e,t){return e[Md]=t}(e,{previous:jt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new vw(u&&u.currentValue,t,a===jt),e[r]=t}_n.ngInherit=!0;const Md="__ngSimpleChanges__";function Td(e){return e[Md]||null}function Ie(e){for(;Array.isArray(e);)e=e[0];return e}function Ye(e,t){return Ie(t[e.index])}function Ke(e,t){const n=t[e];return Qe(n)?n:n[0]}function mi(e){return 64==(64&e[2])}function rn(e,t){return null==t?null:e[t]}function Nd(e){e[18]=0}function _a(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const F={lFrame:Bd(null),bindingsEnabled:!0};function Od(){return F.bindingsEnabled}function v(){return F.lFrame.lView}function G(){return F.lFrame.tView}function be(){let e=Fd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fd(){return F.lFrame.currentTNode}function Mt(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return F.lFrame.isParent}function kw(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ia(t)}function Ia(e){F.lFrame.currentDirectiveIndex=e}function Ma(e){F.lFrame.currentQueryIndex=e}function $w(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Vd(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=$w(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=Ud();return r.currentTNode=t,r.lView=e,!0}function Ta(e){const t=Ud(),n=e[1];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ud(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Bd(e):t}function Bd(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 Hd(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zd=Hd;function Aa(){const e=Hd();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 En(e){F.lFrame.selectedIndex=e}function Yr(){F.lFrame.currentNamespace="svg"}function Kr(){!function Bw(){F.lFrame.currentNamespace=null}()}function yi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function vi(e,t,n){Gd(e,t,3,n)}function Di(e,t,n,r){(3&e[2])===n&&Gd(e,t,n,r)}function Ra(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Gd(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(Gw(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function Gw(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Na(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Wd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qd(e){return 3===e||4===e||6===e}function Wd(e){return 64===e.charCodeAt(0)}function Jr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Zd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Zd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Qd(e){return-1!==e}function wi(e){return 32767&e}function Ci(e,t){let n=function Qw(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Pa=!0;function _i(e){const t=Pa;return Pa=e,t}let Yw=0;const Tt={};function Ei(e,t){const n=Xd(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));const o=Fa(e,t),i=e.injectorIndex;if(Qd(o)){const s=wi(o),a=Ci(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fa(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=uf(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ka(e,t,n){!function Kw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(zr)&&(r=n[zr]),null==r&&(r=n[zr]=Yw++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Jd(e,t,n){if(n&T.Optional||void 0!==e)return e;ri()}function ef(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),!(n&(T.Self|T.Host))){const o=e[9],i=rt(void 0);try{return o?o.get(t,r,n&T.Optional):pd(t,r,n&T.Optional)}finally{rt(i)}}return Jd(r,0,n)}function tf(e,t,n,r=T.Default,o){if(null!==e){if(1024&t[2]){const s=function nC(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=nf(i,s,n,r|T.Self,Tt);if(a!==Tt)return a;let u=i.parent;if(!u){const l=s[21];if(l){const c=l.get(n,Tt,r);if(c!==Tt)return c}u=uf(s),s=s[15]}i=u}return o}(e,t,n,r,Tt);if(s!==Tt)return s}const i=nf(e,t,n,r,Tt);if(i!==Tt)return i}return ef(t,n,r,o)}function nf(e,t,n,r,o){const i=function eC(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(zr)?e[zr]:void 0;return"number"==typeof t?t>=0?255&t:tC:t}(n);if("function"==typeof i){if(!Vd(t,e,r))return r&T.Host?Jd(o,0,r):ef(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;ri()}finally{zd()}}else if("number"==typeof i){let s=null,a=Xd(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?Fa(e,t):t[a+8],-1!==u&&sf(r,!1)?(s=t[1],a=wi(u),t=Ci(u,t)):a=-1);-1!==a;){const c=t[1];if(rf(i,a,c.data)){const d=Jw(a,t,n,s,r,l);if(d!==Tt)return d}u=t[a+8],-1!==u&&sf(r,t[1].data[a+8]===l)&&rf(i,a,t)?(s=c,a=wi(u),t=Ci(u,t)):a=-1}}return o}function Jw(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function Si(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&>(h)&&h.type===n)return u}return null}(a,s,n,null==r?Zr(a)&&Pa:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?Sn(t,s,c,a):Tt}function Sn(e,t,n,r){let o=e[n];const i=t.data;if(function qw(e){return e instanceof Xr}(o)){const s=o;s.resolving&&function QD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,`Circular dependency in DI detected for ${e}${n}`)}(W(i[n]));const a=_i(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?rt(s.injectImpl):null;Vd(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function zw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=bd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&rt(u),_i(a),s.resolving=!1,zd()}}return o}function rf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sf(e,t){return!(e&T.Self||e&T.Host&&t)}class Xn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return tf(this._tNode,this._lView,t,ai(r),n)}}function tC(){return new Xn(be(),v())}function La(e){return ca(e)?()=>{const t=La(M(e));return t&&t()}:Cn(e)}function uf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const er="__parameters__";function nr(e,t,n){return nn(()=>{const r=function $a(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,l,c){const d=u.hasOwnProperty(er)?u[er]:Object.defineProperty(u,er,{value:[]})[er];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class N{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function In(e,t){e.forEach(n=>Array.isArray(n)?In(n,t):t(n))}function cf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ro=Hr(nr("Optional"),8),oo=Hr(nr("SkipSelf"),4);var He=(()=>((He=He||{})[He.Important=1]="Important",He[He.DashCase=2]="DashCase",He))();const qa=new Map;let TC=0;const Za="__ngContext__";function xe(e,t){Qe(t)?(e[Za]=t[20],function RC(e){qa.set(e[20],e)}(t)):e[Za]=t}function Ya(e,t){return undefined(e,t)}function uo(e){const t=e[3];return pt(t)?t[3]:t}function Ka(e){return xf(e[13])}function Xa(e){return xf(e[4])}function xf(e){for(;null!==e&&!pt(e);)e=e[4];return e}function ir(e,t,n,r,o){if(null!=r){let i,s=!1;pt(r)?i=r:Qe(r)&&(s=!0,r=r[0]);const a=Ie(r);0===e&&null!==n?null==o?Lf(t,n,a):bn(t,n,a,o||null,!0):1===e&&null!==n?bn(t,n,a,o||null,!0):2===e?function iu(e,t,n){const r=Ri(e,t);r&&function YC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function JC(e,t,n,r,o){const i=n[7];i!==Ie(n)&&ir(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];lo(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function eu(e,t,n){return e.createElement(t,n)}function Pf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,_a(o,-1)),n.splice(r,1)}function tu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Pf(o,r),t>0&&(e[n-1][4]=r[4]);const i=bi(e,10+t);!function BC(e,t){lo(e,t,t[V],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Of(e,t){if(!(128&t[2])){const n=t[V];n.destroyNode&&lo(e,t,n,3,null,null),function GC(e){let t=e[13];if(!t)return nu(e[1],e);for(;t;){let n=null;if(Qe(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qe(t)&&nu(t[1],t),t=t[3];null===t&&(t=e),Qe(t)&&nu(t[1],t),n=t&&t[4]}t=n}}(t)}}function nu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function QC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Xr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function ZC(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[V].destroy();const n=t[17];if(null!==n&&pt(t[3])){n!==t[3]&&Pf(n,t);const r=t[19];null!==r&&r.detachView(e)}!function xC(e){qa.delete(e[20])}(t)}}function Ff(e,t,n){return function kf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:o}=r;if(o>-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 bn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Lf(e,t,n){e.appendChild(t,n)}function $f(e,t,n,r,o){null!==r?bn(e,t,n,r,o):Lf(e,t,n)}function Ri(e,t){return e.parentNode(t)}let uu,Uf=function Vf(e,t,n){return 40&e.type?Ye(e,n):null};function xi(e,t,n,r){const o=Ff(e,r,t),i=t[V],a=function jf(e,t,n){return Uf(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)$f(i,o,n[u],a,!1);else $f(i,o,n,a,!1)}function Ni(e,t){if(null!==t){const n=t.type;if(3&n)return Ye(t,e);if(4&n)return ou(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ni(e,r);{const o=e[t.index];return pt(o)?ou(-1,o):Ie(o)}}if(32&n)return Ya(t,e)()||Ie(e[t.index]);{const r=Hf(e,t);return null!==r?Array.isArray(r)?r[0]:Ni(uo(e[16]),r):Ni(e,t.next)}}return null}function Hf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ou(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Ni(r,o)}return t[7]}function su(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&xe(Ie(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)su(e,t,n.child,r,o,i,!1),ir(t,e,o,a,i);else if(32&u){const l=Ya(n,r);let c;for(;c=l();)ir(t,e,o,c,i);ir(t,e,o,a,i)}else 16&u?zf(e,t,r,n,o,i):ir(t,e,o,a,i);n=s?n.projectionNext:n.next}}function lo(e,t,n,r,o,i){su(n,r,e.firstChild,t,o,i,!1)}function zf(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)ir(t,e,o,u[l],i);else su(e,t,u,s[3],o,i,!0)}function Gf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qf(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Na(e,t,r),null!==o&&Gf(e,t,o),null!==i&&function t_(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}const ki=new N("ENVIRONMENT_INITIALIZER"),ah=new N("INJECTOR",-1),uh=new N("INJECTOR_DEF_TYPES");class lh{get(t,n=Ur){if(n===Ur){const r=new Error(`NullInjectorError: No provider for ${J(t)}!`);throw r.name="NullInjectorError",r}return n}}function T_(...e){return{\u0275providers:ch(0,e),\u0275fromNgModule:!0}}function ch(e,...t){const n=[],r=new Set;let o;return In(t,i=>{const s=i;pu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&dh(o,n),n}function dh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];gu(o,i=>{t.push(i)})}}function pu(e,t,n,r){if(!(e=M(e)))return!1;let o=null,i=fd(e);const s=!i&&Q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=fd(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 l of u)pu(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{In(i.imports,c=>{pu(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&dh(l,t)}if(!a){const l=Cn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:q},{provide:uh,useValue:o,multi:!0},{provide:ki,useValue:()=>S(o),multi:!0})}const u=i.providers;null==u||a||gu(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function gu(e,t){for(let n of e)da(n)&&(n=n.\u0275providers),Array.isArray(n)?gu(n,t):t(n)}const A_=Y({provide:String,useValue:Y});function mu(e){return null!==e&&"object"==typeof e&&A_ in e}function Tn(e){return"function"==typeof e}const yu=new N("Set Injector scope."),Li={},x_={};let vu;function $i(){return void 0===vu&&(vu=new lh),vu}class Gt{}class ph extends Gt{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,wu(t,s=>this.processProvider(s)),this.records.set(ah,sr(void 0,this)),o.has("environment")&&this.records.set(Gt,sr(void 0,this));const i=this.records.get(yu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uh.multi,q,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Hn(this),r=rt(void 0);try{return t()}finally{Hn(n),rt(r)}}get(t,n=Ur,r=T.Default){this.assertNotDestroyed(),r=ai(r);const o=Hn(this),i=rt(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function k_(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&oi(t);a=u&&this.injectableDefInScope(u)?sr(Du(t),Li):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?$i():this.parent).get(t,n=r&T.Optional&&n===Ur?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[si]=s[si]||[]).unshift(J(t)),o)throw s;return function cw(e,t,n,r){const o=e[si];throw t[gd]&&o.unshift(t[gd]),e.message=function dw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=J(t);if(Array.isArray(t))o=t.map(J).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):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(sw,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[si]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{rt(i),Hn(o)}}resolveInjectorInitializers(){const t=Hn(this),n=rt(void 0);try{const r=this.get(ki.multi,q,T.Self);for(const o of r)o()}finally{Hn(t),rt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=Tn(t=M(t))?t:M(t&&t.provide);const r=function P_(e){return mu(e)?sr(void 0,e.useValue):sr(function gh(e,t,n){let r;if(Tn(e)){const o=M(e);return Cn(o)||Du(o)}if(mu(e))r=()=>M(e.useValue);else if(function hh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ga(e.deps||[]));else if(function fh(e){return!(!e||!e.useExisting)}(e))r=()=>S(M(e.useExisting));else{const o=M(e&&(e.useClass||e.provide));if(!function O_(e){return!!e.deps}(e))return Cn(o)||Du(o);r=()=>new o(...ga(e.deps))}return r}(e),Li)}(t);if(Tn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=sr(void 0,Li,!0),o.factory=()=>ga(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Li&&(n.value=x_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function F_(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=M(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Du(e){const t=oi(e),n=null!==t?t.factory:Cn(e);if(null!==n)return n;if(e instanceof N)throw new w(204,!1);if(e instanceof Function)return function N_(e){const t=e.length;if(t>0)throw function no(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new w(204,!1);const n=function tw(e){const t=e&&(e[ii]||e[hd]);if(t){const n=function nw(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new w(204,!1)}function sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wu(e,t){for(const n of e)Array.isArray(n)?wu(n,t):n&&da(n)?wu(n.\u0275providers,t):t(n)}class L_{}class mh{}class j_{resolveComponentFactory(t){throw function $_(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let po=(()=>{class e{}return e.NULL=new j_,e})();function V_(){return ar(be(),v())}function ar(e,t){return new sn(Ye(e,t))}let sn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=V_,e})();class vh{}let H_=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null}),e})();class Vi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const z_=new Vi("15.1.4"),Cu={};function Eu(e){return e.ngOriginalError}class ur{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&&Eu(t);for(;n&&Eu(n);)n=Eu(n);return n||null}}function qt(e){return e instanceof Function?e():e}function wh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Ch="ng-template";function tE(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==wh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function _h(e){return 4===e.type&&e.value!==Ch}function nE(e,t,n){return t===(4!==e.type||n?e.value:Ch)}function rE(e,t,n){let r=4;const o=e.attrs||[],i=function sE(e){for(let t=0;t<e.length;t++)if(qd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!nE(e,u,n)||""===u&&1===t.length){if(mt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!tE(e.attrs,l,n)){if(mt(r))return!1;s=!0}continue}const d=oE(8&r?"class":u,o,_h(e),n);if(-1===d){if(mt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==wh(h,l,0)||2&r&&l!==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 oE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function aE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Eh(e,t,n=!1){for(let r=0;r<t.length;r++)if(rE(e,t[r],n))return!0;return!1}function Sh(e,t){return e?":not("+t.trim()+")":t}function lE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!mt(s)&&(t+=Sh(i,o),o=""),r=s,i=i||!mt(r);n++}return""!==o&&(t+=Sh(i,o)),t}const k={};function Ah(e,t=null,n=null,r){const o=Rh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Rh(e,t=null,n=null,r,o=new Set){const i=[n||q,T_(e)];return r=r||("object"==typeof e?void 0:J(e)),new ph(i,t||$i(),r||null,o)}let At=(()=>{class e{static create(n,r){if(Array.isArray(n))return Ah({name:""},r,n,"");{const o=n.name??"";return Ah({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Ur,e.NULL=new lh,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>S(ah)}),e.__NG_ELEMENT_ID__=-1,e})();function A(e,t=T.Default){const n=v();return null===n?S(e,t):tf(be(),n,M(e),t)}function $h(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];Ma(n[r]),s.contentQueries(2,t[i],i)}}}function Bi(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),Nd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[V]=a||e&&e[V],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=i,d[20]=function AC(){return TC++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function dr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Tu(e,t,n,r,o){const i=Fd(),s=Ea(),u=e.data[t]=function kE(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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}(e,t,n,r,o),function Fw(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Qr(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Mt(i,!0),i}function go(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Au(e,t,n){Ta(t);try{const r=e.viewQuery;null!==r&&ju(1,r,n);const o=e.template;null!==o&&jh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$h(e,t),e.staticViewQueries&&ju(2,e.viewQuery,n);const i=e.components;null!==i&&function PE(e,t){for(let n=0;n<t.length;n++)t0(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Aa()}}function Hi(e,t,n,r){const o=t[2];if(128!=(128&o)){Ta(t);try{Nd(t),function Ld(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&jh(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&vi(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Di(t,l,0,null),Ra(t,0)}if(function JE(e){for(let t=Ka(e);null!==t;t=Xa(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r];512&o[2]||_a(o[3],1),o[2]|=512}}}(t),function XE(e){for(let t=Ka(e);null!==t;t=Xa(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];mi(r)&&Hi(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&$h(e,t),s){const l=e.contentCheckHooks;null!==l&&vi(t,l)}else{const l=e.contentHooks;null!==l&&Di(t,l,1),Ra(t,1)}!function xE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)En(~o);else{const i=o,s=n[++r],a=n[++r];kw(s,i),a(2,t[i])}}}finally{En(-1)}}(e,t);const a=e.components;null!==a&&function NE(e,t){for(let n=0;n<t.length;n++)e0(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&ju(2,u,r),s){const l=e.viewCheckHooks;null!==l&&vi(t,l)}else{const l=e.viewHooks;null!==l&&Di(t,l,2),Ra(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,_a(t[3],-1))}finally{Aa()}}}function jh(e,t,n,r,o){const i=function $e(){return F.lFrame.selectedIndex}(),s=2&r;try{En(-1),s&&t.length>22&&function Ih(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&vi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Di(t,i,0,n)}En(n)}(e,t,22,!1),n(r,o)}finally{En(i)}}function Ru(e,t,n){if(wa(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function Vh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Pu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Pu(e,t,n,r,o,i,s,a,u,l){const c=22+r,d=c+o,f=function OE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:k);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function Bh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Hh(n,t,o,i):r.hasOwnProperty(o)&&Hh(n,t,r[o],i)}return n}function Hh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Gh(e,t,n,r,o,i){for(let l=0;l<r.length;l++)ka(Ei(n,t),e,r[l].type);!function WE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=go(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Jr(n.mergedAttrs,c.hostAttrs),ZE(e,n,t,u,c),qE(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function LE(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=Bh(d.inputs,c,u,f?f.inputs:null),l=Bh(d.outputs,c,l,p);const g=null===u||null===s||_h(t)?null:KE(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function qh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Lw(){return F.lFrame.currentDirectiveIndex}();try{En(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];Ia(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&HE(u,l)}}finally{En(-1),Ia(s)}}function HE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Fu(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function qE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;gt(t)&&(n[""]=e)}}function ZE(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=Cn(o.type)),s=new Xr(i,gt(o),A);e.blueprint[r]=s,n[r]=s,function VE(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function UE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,go(e,n,o.hostVars,k),o)}function YE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function KE(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function e0(e,t){const n=Ke(t,e);if(mi(n)){const r=n[1];48&n[2]?Hi(r,n,r.template,n[8]):n[5]>0&&Lu(n)}}function Lu(e){for(let r=Ka(e);null!==r;r=Xa(r))for(let o=10;o<r.length;o++){const i=r[o];if(mi(i))if(512&i[2]){const s=i[1];Hi(s,i,s.template,i[8])}else i[5]>0&&Lu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ke(n[r],e);mi(o)&&o[5]>0&&Lu(o)}}function t0(e,t){const n=Ke(t,e),r=n[1];(function n0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Au(r,n,n[8])}function zi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gi(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{Hi(e,t,e.template,n)}catch(s){throw r&&function Kh(e,t){const n=e[9],r=n?n.get(ur,null):null;r&&r.handleError(t)}(t,s),s}finally{o.end&&o.end()}}function ju(e,t,n){Ma(0),t(e,n)}function Vu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function qi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=ua(o,a):2==i&&(r=ua(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Wi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ie(i)),pt(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&Wi(u[1],u,l,r)}const s=n.type;if(8&s)Wi(e,t,n.child,r);else if(32&s){const a=Ya(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Hf(t,n);if(Array.isArray(a))r.push(...a);else{const u=uo(t[16]);Wi(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class mo{get rootNodes(){const t=this._lView,n=t[1];return Wi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(pt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(tu(t,r),bi(n,r))}this._attachedToViewContainer=!1}Of(this._lView[1],this._lView)}onDestroy(t){!function Uh(e,t,n,r){const o=function Zh(e){return e[7]||(e[7]=[])}(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&function Qh(e){return e.cleanup||(e.cleanup=[])}(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){!function $u(e){for(;e;){e[2]|=32;const t=uo(e);if(gw(e)&&!t)return e;e=t}return null}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Gi(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zC(e,t){lo(e,t,t[V],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t}}class r0 extends mo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Gi(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Xh extends po{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Q(t);return new yo(n,this.ngModule)}}function Jh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class s0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ai(r);const o=this.injector.get(t,Cu,r);return o!==Cu||n===Cu?o:this.parentInjector.get(t,n,r)}}class yo extends mh{get inputs(){return Jh(this.componentDef.inputs)}get outputs(){return Jh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cE(e){return e.map(lE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Gt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new s0(t,i):t,a=s.get(vh,null);if(null===a)throw new w(407,!1);const u=s.get(H_,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function FE(e,t,n){return e.selectRootElement(t,n===It.ShadowDom)}(l,r,this.componentDef.encapsulation):eu(l,c,function o0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Pu(0,null,null,1,0,null,null,null,null,null),p=Bi(null,h,null,f,null,null,a,l,u,s,null);let g,m;Ta(p);try{const D=this.componentDef;let _,y=null;D.findHostDirectiveDefs?(_=[],y=new Map,D.findHostDirectiveDefs(D,_,y),_.push(D)):_=[D];const x=function u0(e,t){const n=e[1];return e[22]=t,dr(n,22,2,"#host",null)}(p,d),K=function l0(e,t,n,r,o,i,s,a){const u=o[1];!function c0(e,t,n,r){for(const o of e)t.mergedAttrs=Jr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(qi(t,t.mergedAttrs,!0),null!==n&&qf(r,n,t))}(r,e,t,s);const l=i.createRenderer(t,n),c=Bi(o,Vh(n),null,n.onPush?32:16,o[e.index],e,i,l,a||null,null,null);return u.firstCreatePass&&Fu(u,e,r.length-1),zi(o,c),o[e.index]=c}(x,d,D,_,p,a,l);m=function xd(e,t){return e.data[t]}(h,22),d&&function f0(e,t,n,r){if(r)Na(e,n,["ng-version",z_.full]);else{const{attrs:o,classes:i}=function dE(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!mt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Na(e,n,o),i&&i.length>0&&Gf(e,n,i.join(" "))}}(l,D,d,r),void 0!==n&&function h0(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(m,this.ngContentSelectors,n),g=function d0(e,t,n,r,o,i){const s=be(),a=o[1],u=Ye(s,o);Gh(a,o,s,n,null,r);for(let c=0;c<n.length;c++)xe(Sn(o,a,s.directiveStart+c,s),o);qh(a,o,s),u&&xe(u,o);const l=Sn(o,a,s.directiveStart+s.componentOffset,s);if(e[8]=o[8]=l,null!==i)for(const c of i)c(l,t);return Ru(a,s,e),l}(K,D,_,y,p,[p0]),Au(h,p,null)}finally{Aa()}return new a0(this.componentType,g,ar(m,p),p,m)}}class a0 extends L_{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new r0(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;Vu(i[1],i,o,t,n),function zh(e,t){const n=Ke(t,e);16&n[2]||(n[2]|=32)}(i,this._tNode.index)}}get injector(){return new Xn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function p0(){const e=be();yi(v()[1],e)}function zu(e,t,n,r,o){const s=o?"class":"style";Vu(e,n,t.inputs[s],s,r)}function _e(e,t,n,r){const o=v(),i=G(),s=22+e,a=o[V],u=o[s]=eu(a,t,function Hw(){return F.lFrame.currentNamespace}()),l=i.firstCreatePass?function N0(e,t,n,r,o,i,s){const a=t.consts,l=dr(t,e,2,o,rn(a,i));return function Ou(e,t,n,r){let o=!1;if(Od()){const i=null===r?null:{"":-1},s=function zE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(Eh(t,s.selectors,!1))if(r||(r=[]),gt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Fu(e,t,a.length)}else r.unshift(s),Fu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let a,u;null===s?a=u=null:[a,u]=s,null!==a&&(o=!0,Gh(e,t,n,a,i,u)),i&&function GE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new w(-301,!1);r.push(t[o],i)}}}(n,r,i)}return n.mergedAttrs=Jr(n.mergedAttrs,n.attrs),o}(t,n,l,rn(a,s)),null!==l.attrs&&qi(l,l.attrs,!1),null!==l.mergedAttrs&&qi(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];return Mt(l,!0),qf(a,u,l),32!=(32&l.flags)&&xi(i,o,u,l),0===function Mw(){return F.lFrame.elementDepthCount}()&&xe(u,o),function Tw(){F.lFrame.elementDepthCount++}(),function pi(e){return 1==(1&e.flags)}(l)&&(function xu(e,t,n){Od()&&(function BE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Zr(n)&&function QE(e,t,n){const r=Ye(t,e),o=Vh(n),i=e[10],s=zi(e,Bi(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ei(n,t),xe(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=Sn(t,e,a,n);xe(l,t),null!==s&&YE(0,a-o,l,u,0,s),gt(u)&&(Ke(n.index,t)[8]=Sn(t,e,a,n))}}(e,t,n,Ye(n,t)),64==(64&n.flags)&&qh(e,t,n))}(i,o,l),Ru(i,l,o)),null!==r&&function Nu(e,t,n=Ye){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(o,l),_e}function Ee(){let e=be();Ea()?function Sa(){F.lFrame.isParent=!1}():(e=e.parent,Mt(e,!1));const t=e;!function Aw(){F.lFrame.elementDepthCount--}();const n=G();return n.firstCreatePass&&(yi(n,e),wa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ww(e){return 0!=(8&e.flags)}(t)&&zu(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Zw(e){return 0!=(16&e.flags)}(t)&&zu(n,t,v(),t.stylesWithoutHost,!1),Ee}function xn(e,t,n,r){return _e(e,t,n,r),Ee(),xn}function Ki(e){return!!e&&"function"==typeof e.then}const yp=function mp(e){return!!e&&"function"==typeof e.subscribe};function at(e,t=""){const n=v(),r=G(),o=e+22,i=r.firstCreatePass?dr(r,o,1,t,null):r.data[o],s=n[o]=function Ja(e,t){return e.createText(t)}(n[V],t);xi(r,n,s,i),Mt(i,!1)}const Er="en-US";let pg=Er;class Sr{}class Vg{}class Ug extends Sr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Xh(this);const r=Ze(t);this._bootstrapComponents=qt(r.bootstrap),this._r3Injector=Rh(t,n,[{provide:Sr,useValue:this},{provide:po,useValue:this.componentFactoryResolver}],J(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 sl extends Vg{constructor(t){super(),this.moduleType=t}create(t){return new Ug(this.moduleType,t)}}class MI extends Sr{constructor(t,n,r){super(),this.componentFactoryResolver=new Xh(this),this.instance=null;const o=new ph([...t,{provide:Sr,useValue:this},{provide:po,useValue:this.componentFactoryResolver}],n||$i(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function os(e,t,n=null){return new MI(e,t,n).injector}let TI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=ch(0,n.type),o=r.length>0?os([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(S(Gt))}),e})();function Bg(e){e.getStandaloneInjector=t=>t.get(TI).getOrCreateStandaloneInjector(e)}function ul(e){return t=>{setTimeout(e,void 0,t)}}const Ve=class eb extends Lt{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=ul(i),o&&(o=ul(o)),s&&(s=ul(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof tt&&t.add(a),a}};let Dt=(()=>{class e{}return e.__NG_ELEMENT_ID__=ib,e})();function ib(){return function nm(e,t){let n;const r=t[e.index];if(pt(r))n=r;else{let o;if(8&e.type)o=Ie(r);else{const i=t[V];o=i.createComment("");const s=Ye(e,t);bn(i,Ri(i,s),o,function KC(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=function Wh(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}(r,t,o,e),zi(t,n)}return new em(n,e,t)}(be(),v())}const sb=Dt,em=class extends sb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ar(this._hostTNode,this._hostLView)}get injector(){return new Xn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fa(this._hostTNode,this._hostLView);if(Qd(t)){const n=Ci(t,this._hostLView),r=wi(t);return new Xn(n[1].data[r+8],n)}return new Xn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function to(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new yo(Q(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(Gt,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function bw(e){return pt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new em(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function qC(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],cf(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function WC(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,r,s,i);const a=ou(i,s),u=r[V],l=Ri(u,s[7]);return null!==l&&function HC(e,t,n,r,o,i){r[0]=o,r[6]=t,lo(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),cf(cl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=tm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=tu(this._lContainer,n);r&&(bi(cl(this._lContainer),n),Of(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=tu(this._lContainer,n);return r&&null!=bi(cl(this._lContainer),n)?new mo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function tm(e){return e[8]}function cl(e){return e[8]||(e[8]=[])}function as(...e){}const us=new N("Application Initializer");let ls=(()=>{class e{constructor(n){this.appInits=n,this.resolve=as,this.reject=as,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Ki(i))n.push(i);else if(yp(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(S(us,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const To=new N("AppId",{providedIn:"root",factory:function Am(){return`${wl()}${wl()}${wl()}`}});function wl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Rm=new N("Platform Initializer"),xm=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Nm=new N("appBootstrapListener");let Ob=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Qt=new N("LocaleId",{providedIn:"root",factory:()=>z(Qt,T.Optional|T.SkipSelf)||function Fb(){return typeof $localize<"u"&&$localize.locale||Er}()});class Lb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Pm=(()=>{class e{compileModuleSync(n){return new sl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=qt(Ze(n).declarations).reduce((s,a)=>{const u=Q(a);return u&&s.push(new yo(u)),s},[]);return new Lb(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vb=(()=>Promise.resolve(0))();function Cl(e){typeof Zone>"u"?Vb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class de{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ve(!1),this.onMicrotaskEmpty=new Ve(!1),this.onStable=new Ve(!1),this.onError=new Ve(!1),typeof Zone>"u")throw new w(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 Ub(){let e=ee.requestAnimationFrame,t=ee.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function zb(e){const t=()=>{!function Hb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,El(e),e.isCheckStableRunning=!0,_l(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),El(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return km(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Lm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return km(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Lm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,El(e),_l(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(!de.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new w(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,Bb,as,as);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 Bb={};function _l(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 El(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function km(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lm(e){e._nesting--,_l(e)}class Gb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ve,this.onMicrotaskEmpty=new Ve,this.onStable=new Ve,this.onError=new Ve}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 $m=new N(""),cs=new N("");let bl,Sl=(()=>{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,bl||(function qb(e){bl=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:()=>{de.assertNotInAngularZone(),Cl(()=>{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())Cl(()=>{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[]}}return e.\u0275fac=function(n){return new(n||e)(S(de),S(Il),S(cs))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Il=(()=>{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 bl?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),un=null;const jm=new N("AllowMultipleToken"),Ml=new N("PlatformDestroyListeners");class Vm{constructor(t,n){this.name=t,this.token=n}}function Bm(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=Tl();if(!s||s.injector.get(jm,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function Qb(e){if(un&&!un.get(jm,!1))throw new w(400,!1);un=e;const t=e.get(zm);(function Um(e){const t=e.get(Rm,null);t&&t.forEach(n=>n())})(e)}(function Hm(e=[],t){return At.create({name:t,providers:[{provide:yu,useValue:"platform"},{provide:Ml,useValue:new Set([()=>un=null])},...e]})}(a,r))}return function Kb(e){const t=Tl();if(!t)throw new w(401,!1);return t}()}}function Tl(){return un?.get(zm)??null}let zm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function qm(e,t){let n;return n="noop"===e?new Gb:("zone.js"===e?void 0:e)||new de(t),n}(r?.ngZone,function Gm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:de,useValue:o}];return o.run(()=>{const s=At.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(ur,null);if(!u)throw new w(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{fs(this._modules,a),l.unsubscribe()})}),function Wm(e,t,n){try{const r=n();return Ki(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(ls);return l.runInitializers(),l.donePromise.then(()=>(function gg(e){nt(e,"Expected localeId to be defined"),"string"==typeof e&&(pg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Qt,Er)||Er),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Zm({},r);return function Wb(e,t,n){const r=new sl(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ds);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new w(-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 w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ml,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(S(At))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Zm(e,t){return Array.isArray(t)?t.reduce(Zm,e):{...e,...t}}let ds=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new ge(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ge(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{de.assertNotInAngularZone(),Cl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function qD(...e){const t=Vr(e),n=function jD(e,t){return"number"==typeof ia(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?dt(r[0]):Bn(n)(me(r,t)):St}(i,s.pipe(function WD(e={}){const{connector:t=(()=>new Lt),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return we((g,m)=>{l++,!d&&!c&&f();const D=u=u??t();m.add(()=>{l--,0===l&&!d&&!c&&(a=sa(p,o))}),D.subscribe(m),!s&&l>0&&(s=new jr({next:_=>D.next(_),error:_=>{d=!0,f(),a=sa(h,n,_),D.error(_)},complete:()=>{c=!0,f(),a=sa(h,r),D.complete()}}),dt(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof mh;if(!this._injector.get(ls).done)throw!o&&function zn(e){const t=Q(e)||Te(e)||Fe(e);return null!==t&&t.standalone}(n),new w(405,false);let s;s=o?n:this._injector.get(po).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function Zb(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Sr),l=s.create(At.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get($m,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),fs(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Nm,[]);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()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(S(de),S(Gt),S(ur))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Al=(()=>{class e{}return e.__NG_ELEMENT_ID__=Jb,e})();function Jb(e){return function eM(e,t,n){if(Zr(e)&&!n){const r=Ke(e.index,t);return new mo(r,r)}return 47&e.type?new mo(t[16],t):null}(be(),v(),16==(16&e))}const hM=Bm(null,"core",[]);let pM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(S(ds))},e.\u0275mod=Dn({type:e}),e.\u0275inj=tn({}),e})(),Fl=null;function ln(){return Fl}class yM{}const Ge=new N("DocumentToken");let kl=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function vM(){return S(iy)}()},providedIn:"platform"}),e})();const DM=new N("Location Initialized");let iy=(()=>{class e extends kl{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ln().getBaseHref(this._doc)}onPopState(n){const r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=ln().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){sy()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){sy()?this._history.replaceState(n,r,o):this._location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(S(Ge))},e.\u0275prov=P({token:e,factory:function(){return function wM(){return new iy(S(Ge))}()},providedIn:"platform"}),e})();function sy(){return!!window.history.pushState}function Ll(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 ay(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 Kt(e){return e&&"?"!==e[0]?"?"+e:e}let Fn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(ly)},providedIn:"root"}),e})();const uy=new N("appBaseHref");let ly=(()=>{class e extends Fn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??z(Ge).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 Ll(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Kt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Kt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Kt(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)}}return e.\u0275fac=function(n){return new(n||e)(S(kl),S(uy,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),CM=(()=>{class e extends Fn{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=Ll(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Kt(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Kt(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)}}return e.\u0275fac=function(n){return new(n||e)(S(kl),S(uy,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),$l=(()=>{class e{constructor(n){this._subject=new Ve,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function SM(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(ay(cy(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+Kt(r))}normalize(n){return e.stripTrailingSlash(function EM(e,t){return e&&new RegExp(`^${e}([/;?#]|$)`).test(t)?t.substring(e.length):t}(this._basePath,cy(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+Kt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Kt(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})}}return e.normalizeQueryParams=Kt,e.joinWithSlash=Ll,e.stripTrailingSlash=ay,e.\u0275fac=function(n){return new(n||e)(S(Fn))},e.\u0275prov=P({token:e,factory:function(){return function _M(){return new $l(S(Fn))}()},providedIn:"root"}),e})();function cy(e){return e.replace(/\/index.html$/,"")}let jT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Dn({type:e}),e.\u0275inj=tn({}),e})();let HT=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new zT(S(Ge),window)}),e})();class zT{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 GT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||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){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.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])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=My(this.window.history)||My(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function My(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class DA extends yM{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class nc extends DA{static makeCurrent(){!function mM(e){Fl||(Fl=e)}(new nc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}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 wA(){return Po=Po||document.querySelector("base"),Po?Po.getAttribute("href"):null}();return null==n?null:function CA(e){bs=bs||document.createElement("a"),bs.setAttribute("href",e);const t=bs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Po=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function aT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let bs,Po=null;const Ny=new N("TRANSITION_ID"),EA=[{provide:us,useFactory:function _A(e,t,n){return()=>{n.get(ls).donePromise.then(()=>{const r=ln(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Ny,Ge,At],multi:!0}];let IA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Ms=new N("EventManagerPlugins");let Ts=(()=>{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)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(S(Ms),S(de))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class Py{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=ln().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Oy=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Oo=(()=>{class e extends Oy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Fy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Fy))}}return e.\u0275fac=function(n){return new(n||e)(S(Ge))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Fy(e){ln().remove(e)}const rc={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/"},oc=/%COMP%/g;function ic(e,t){return t.flat(100).map(n=>n.replace(oc,e))}function $y(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let sc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new ac(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case It.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new xA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case It.ShadowDom:return new NA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=ic(r.id,r.styles);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(S(Ts),S(Oo),S(To))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class ac{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(rc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Vy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Vy(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);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=rc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=rc[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&(He.DashCase|He.Important)?t.style.setProperty(n,r,o&He.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&He.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){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,$y(r)):this.eventManager.addEventListener(t,n,$y(r))}}function Vy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class xA extends ac{constructor(t,n,r,o){super(t),this.component=r;const i=ic(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function TA(e){return"_ngcontent-%COMP%".replace(oc,e)}(o+"-"+r.id),this.hostAttr=function AA(e){return"_nghost-%COMP%".replace(oc,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class NA extends ac{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ic(o.id,o.styles);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}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)))}}let PA=(()=>{class e extends Py{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)}}return e.\u0275fac=function(n){return new(n||e)(S(Ge))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Uy=["alt","control","meta","shift"],OA={"\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"},FA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let kA=(()=>{class e extends Py{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(()=>ln().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."),Uy.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),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=OA[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"),Uy.forEach(s=>{s!==o&&(0,FA[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}}return e.\u0275fac=function(n){return new(n||e)(S(Ge))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const VA=Bm(hM,"browser",[{provide:xm,useValue:"browser"},{provide:Rm,useValue:function LA(){nc.makeCurrent()},multi:!0},{provide:Ge,useFactory:function jA(){return function i_(e){uu=e}(document),document},deps:[]}]),zy=new N(""),Gy=[{provide:cs,useClass:class SA{addToWindow(t){ee.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ee.getAllAngularTestabilities=()=>t.getAllTestabilities(),ee.getAllAngularRootElements=()=>t.getAllRootElements(),ee.frameworkStabilizers||(ee.frameworkStabilizers=[]),ee.frameworkStabilizers.push(r=>{const o=ee.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?ln().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:$m,useClass:Sl,deps:[de,Il,cs]},{provide:Sl,useClass:Sl,deps:[de,Il,cs]}],qy=[{provide:yu,useValue:"root"},{provide:ur,useFactory:function $A(){return new ur},deps:[]},{provide:Ms,useClass:PA,multi:!0,deps:[Ge,de,xm]},{provide:Ms,useClass:kA,multi:!0,deps:[Ge]},{provide:sc,useClass:sc,deps:[Ts,Oo,To]},{provide:vh,useExisting:sc},{provide:Oy,useExisting:Oo},{provide:Oo,useClass:Oo,deps:[Ge]},{provide:Ts,useClass:Ts,deps:[Ms,de]},{provide:class qT{},useClass:IA,deps:[]},[]];let UA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:To,useValue:n.appId},{provide:Ny,useExisting:To},EA]}}}return e.\u0275fac=function(n){return new(n||e)(S(zy,12))},e.\u0275mod=Dn({type:e}),e.\u0275inj=tn({providers:[...qy,...Gy],imports:[jT,pM]}),e})(),Wy=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(S(Ge))},e.\u0275prov=P({token:e,factory:function(n){let r=null;return r=n?new n:function HA(){return new Wy(S(Ge))}(),r},providedIn:"root"}),e})();function b(...e){return me(e,Vr(e))}typeof window<"u"&&window;class Et extends Lt{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)}}const As=Lr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:KA}=Array,{getPrototypeOf:XA,prototype:JA,keys:eR}=Object;const{isArray:rR}=Array;function Yy(...e){const t=Vr(e),n=function $D(e){return X(ia(e))?e.pop():void 0}(e),{args:r,keys:o}=function tR(e){if(1===e.length){const t=e[0];if(KA(t))return{args:t,keys:null};if(function nR(e){return e&&"object"==typeof e&&XA(e)===JA}(t)){const n=eR(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return me([],t);const i=new ge(function aR(e,t,n=yn){return r=>{Ky(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u<o;u++)Ky(t,()=>{const l=me(e[u],t);let c=!1;l.subscribe(Ce(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function sR(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):yn));return n?i.pipe(function iR(e){return H(t=>function oR(e,t){return rR(t)?e(...t):e(t)}(e,t))}(n)):i}function Ky(e,t,n){e?$t(n,e,t):t()}function cc(...e){return function uR(){return Bn(1)}()(me(e,Vr(e)))}function Xy(e){return new ge(t=>{dt(e()).subscribe(t)})}function Fo(e,t){const n=X(e)?e:()=>e,r=o=>o.error(n());return new ge(t?o=>t.schedule(r,0,o):r)}function dc(){return we((e,t)=>{let n=null;e._refCount++;const r=Ce(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 Jy extends ge{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Wc(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(Ce(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 dc()(this)}}function Ot(e,t){return we((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ce(r,u=>{o?.unsubscribe();let l=0;const c=i++;dt(e(u,c)).subscribe(o=Ce(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ko(e){return e<=0?()=>St:we((t,n)=>{let r=0;t.subscribe(Ce(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function dn(e,t){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Rs(e){return we((t,n)=>{let r=!1;t.subscribe(Ce(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ev(e=cR){return we((t,n)=>{let r=!1;t.subscribe(Ce(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function cR(){return new As}function fn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?dn((o,i)=>e(o,i,r)):yn,ko(1),n?Rs(t):ev(()=>new As))}function kn(e,t){return X(t)?Se(e,t,1):Se(e,1)}function Pe(e,t,n){const r=X(e)||t||n?{next:e,error:t,complete:n}:e;return r?we((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ce(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):yn}function hn(e){return we((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ce(n,void 0,void 0,s=>{i=dt(e(s,hn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function dR(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Ce(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function tv(e,t){return we(dR(e,t,arguments.length>=2,!0))}function fc(e){return e<=0?()=>St:we((t,n)=>{let r=[];t.subscribe(Ce(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function nv(e,t){const n=arguments.length>=2;return r=>r.pipe(e?dn((o,i)=>e(o,i,r)):yn,fc(1),n?Rs(t):ev(()=>new As))}function hc(e){return we((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const L="primary",Lo=Symbol("RouteTitle");class pR{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 Mr(e){return new pR(e)}function gR(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Ft(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!rv(e[o],t[o]))return!1;return!0}function rv(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}return e===t}function ov(e){return Array.prototype.concat.apply([],e)}function iv(e){return e.length>0?e[e.length-1]:null}function Me(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function pn(e){return yp(e)?e:Ki(e)?me(Promise.resolve(e)):b(e)}const xs=!1,yR={exact:function uv(e,t,n){if(!$n(e.segments,t.segments)||!Ns(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!uv(e.children[r],t.children[r],n))return!1;return!0},subset:lv},sv={exact:function vR(e,t){return Ft(e,t)},subset:function DR(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>rv(e[n],t[n]))},ignored:()=>!0};function av(e,t,n){return yR[n.paths](e.root,t.root,n.matrixParams)&&sv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function lv(e,t,n){return cv(e,t,t.segments,n)}function cv(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!$n(o,n)||t.hasChildren()||!Ns(o,n,r))}if(e.segments.length===n.length){if(!$n(e.segments,n)||!Ns(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!lv(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!!($n(e.segments,o)&&Ns(e.segments,o,r)&&e.children[L])&&cv(e.children[L],t,i,r)}}function Ns(e,t,n){return t.every((r,o)=>sv[n](e[o].parameters,r.parameters))}class Ln{constructor(t=new U([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mr(this.queryParams)),this._queryParamMap}toString(){return _R.serialize(this)}}class U{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Me(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ps(this)}}class $o{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Mr(this.parameters)),this._parameterMap}toString(){return hv(this)}}function $n(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let jo=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return new pc},providedIn:"root"}),e})();class pc{parse(t){const n=new xR(t);return new Ln(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Vo(t.root,!0)}`,r=function IR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Os(n)}=${Os(o)}`).join("&"):`${Os(n)}=${Os(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function ER(e){return encodeURI(e)}(t.fragment)}`:""}`}}const _R=new pc;function Ps(e){return e.segments.map(t=>hv(t)).join("/")}function Vo(e,t){if(!e.hasChildren())return Ps(e);if(t){const n=e.children[L]?Vo(e.children[L],!1):"",r=[];return Me(e.children,(o,i)=>{i!==L&&r.push(`${i}:${Vo(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function CR(e,t){let n=[];return Me(e.children,(r,o)=>{o===L&&(n=n.concat(t(r,o)))}),Me(e.children,(r,o)=>{o!==L&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===L?[Vo(e.children[L],!1)]:[`${o}:${Vo(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[L]?`${Ps(e)}/${n[0]}`:`${Ps(e)}/(${n.join("//")})`}}function dv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Os(e){return dv(e).replace(/%3B/gi,";")}function gc(e){return dv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fs(e){return decodeURIComponent(e)}function fv(e){return Fs(e.replace(/\+/g,"%20"))}function hv(e){return`${gc(e.path)}${function SR(e){return Object.keys(e).map(t=>`;${gc(t)}=${gc(e[t])}`).join("")}(e.parameters)}`}const bR=/^[^\/()?;=#]+/;function ks(e){const t=e.match(bR);return t?t[0]:""}const MR=/^[^=?&#]+/,AR=/^[^&#]+/;class xR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],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[L]=new U(t,n)),r}parseSegment(){const t=ks(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new w(4009,xs);return this.capture(t),new $o(Fs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ks(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ks(this.remaining);o&&(r=o,this.capture(r))}t[Fs(n)]=Fs(r)}parseQueryParam(t){const n=function TR(e){const t=e.match(MR);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function RR(e){const t=e.match(AR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=fv(n),i=fv(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=ks(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new w(4010,xs);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=L);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[L]:new U([],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 w(4011,xs)}}function mc(e){return e.segments.length>0?new U([],{[L]:e}):e}function Ls(e){const t={};for(const r of Object.keys(e.children)){const i=Ls(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function NR(e){if(1===e.numberOfChildren&&e.children[L]){const t=e.children[L];return new U(e.segments.concat(t.segments),t.children)}return e}(new U(e.segments,t))}function jn(e){return e instanceof Ln}function FR(e,t,n,r,o){if(0===n.length)return Tr(t.root,t.root,t.root,r,o);const i=function mv(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new gv(!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 Me(i.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...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 gv(n,t,r)}(n);return i.toRoot()?Tr(t.root,t.root,new U([],{}),r,o):function s(u){const l=function LR(e,t,n,r){if(e.isAbsolute)return new Ar(t.root,!0,0);if(-1===r)return new Ar(n,n===t.root,0);return function yv(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new w(4005,!1);o=r.segments.length}return new Ar(r,!1,o-i)}(n,r+(Uo(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,u),c=l.processChildren?Rr(l.segmentGroup,l.index,i.commands):vc(l.segmentGroup,l.index,i.commands);return Tr(t.root,l.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function Uo(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Bo(e){return"object"==typeof e&&null!=e&&e.outlets}function Tr(e,t,n,r,o){let s,i={};r&&Me(r,(u,l)=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:pv(e,t,n);const a=mc(Ls(s));return new Ln(a,i,o)}function pv(e,t,n){const r={};return Me(e.children,(o,i)=>{r[i]=o===t?n:pv(o,t,n)}),new U(e.segments,r)}class gv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Uo(r[0]))throw new w(4003,!1);const o=r.find(Bo);if(o&&o!==iv(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ar{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function vc(e,t,n){if(e||(e=new U([],{})),0===e.segments.length&&e.hasChildren())return Rr(e,t,n);const r=function jR(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(Bo(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Dv(u,l,s))return i;r+=2}else{if(!Dv(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.pathIndex<e.segments.length){const i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[L]=new U(e.segments.slice(r.pathIndex),e.children),Rr(i,0,o)}return r.match&&0===o.length?new U(e.segments,{}):r.match&&!e.hasChildren()?Dc(e,t,n):r.match?Rr(e,0,o):Dc(e,t,n)}function Rr(e,t,n){if(0===n.length)return new U(e.segments,{});{const r=function $R(e){return Bo(e[0])?e[0].outlets:{[L]:e}}(n),o={};return!r[L]&&e.children[L]&&1===e.numberOfChildren&&0===e.children[L].segments.length?Rr(e.children[L],t,n):(Me(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=vc(e.children[s],t,i))}),Me(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new U(e.segments,o))}}function Dc(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(Bo(i)){const u=VR(i.outlets);return new U(r,u)}if(0===o&&Uo(n[0])){r.push(new $o(e.segments[t].path,vv(n[0]))),o++;continue}const s=Bo(i)?i.outlets[L]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Uo(a)?(r.push(new $o(s,vv(a))),o+=2):(r.push(new $o(s,{})),o++)}return new U(r,{})}function VR(e){const t={};return Me(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Dc(new U([],{}),0,n))}),t}function vv(e){const t={};return Me(e,(n,r)=>t[r]=`${n}`),t}function Dv(e,t,n){return e==n.path&&Ft(t,n.parameters)}const Ho="imperative";class kt{constructor(t,n){this.id=t,this.url=n}}class wc extends kt{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 Vn extends kt{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 $s extends kt{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 wv extends kt{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class Cv extends kt{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 UR extends kt{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 BR extends kt{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 HR extends kt{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 zR extends kt{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 GR extends kt{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 qR{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class WR{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ZR{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class QR{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YR{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class KR{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _v{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}')`}}let JR=(()=>{class e{createUrlTree(n,r,o,i,s,a){return FR(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),ex=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(t){return JR.\u0275fac(t)},providedIn:"root"}),e})();class Ev{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=Cc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Cc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=_c(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return _c(t,this._root).map(n=>n.value)}}function Cc(e,t){if(e===t.value)return t;for(const n of t.children){const r=Cc(e,n);if(r)return r}return null}function _c(e,t){if(e===t.value)return[t];for(const n of t.children){const r=_c(e,n);if(r.length)return r.unshift(t),r}return[]}class Jt{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function xr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class Sv extends Ev{constructor(t,n){super(t),this.snapshot=n,Ec(this,t)}toString(){return this.snapshot.toString()}}function Iv(e,t){const n=function tx(e,t){const s=new js([],{},{},"",{},L,t,null,e.root,-1,{});return new Mv("",new Jt(s,[]))}(e,t),r=new Et([new $o("",{})]),o=new Et({}),i=new Et({}),s=new Et({}),a=new Et(""),u=new Nr(r,o,s,a,i,L,t,n.root);return u.snapshot=n.root,new Sv(new Jt(u,[]),n)}class Nr{constructor(t,n,r,o,i,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe(H(l=>l[Lo]))??b(void 0),this._futureSnapshot=u}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(H(t=>Mr(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(t=>Mr(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function bv(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 nx(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 js{get title(){return this.data?.[Lo]}constructor(t,n,r,o,i,s,a,u,l,c,d){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._urlSegment=l,this._lastPathIndex=c,this._resolve=d}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=Mr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Mv extends Ev{constructor(t,n){super(n),this.url=t,Ec(this,n)}toString(){return Tv(this._root)}}function Ec(e,t){t.value._routerState=e,t.children.forEach(n=>Ec(e,n))}function Tv(e){const t=e.children.length>0?` { ${e.children.map(Tv).join(", ")} } `:"";return`${e.value}${t}`}function Sc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ft(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ft(t.params,n.params)||e.params.next(n.params),function mR(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ft(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ft(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Ic(e,t){const n=Ft(e.params,t.params)&&function wR(e,t){return $n(e,t)&&e.every((n,r)=>Ft(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Ic(e.parent,t.parent))}function zo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function ox(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return zo(e,r,o);return zo(e,r)})}(e,t,n);return new Jt(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=>zo(e,a)),s}}const r=function ix(e){return new Nr(new Et(e.url),new Et(e.params),new Et(e.queryParams),new Et(e.fragment),new Et(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>zo(e,i));return new Jt(r,o)}}const bc="ngNavigationCancelingError";function Av(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=jn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Rv(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function Rv(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[bc]=!0,r.cancellationCode=t,n&&(r.url=n),r}function xv(e){return Nv(e)&&jn(e.url)}function Nv(e){return e&&e[bc]}class sx{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Go,this.attachRef=null}}let Go=(()=>{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 sx,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vs=!1;let Pv=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=L,this.activateEvents=new Ve,this.deactivateEvents=new Ve,this.attachEvents=new Ve,this.detachEvents=new Ve,this.parentContexts=z(Go),this.location=z(Dt),this.changeDetector=z(Al),this.environmentInjector=z(Gt)}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)}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 w(4012,Vs);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,Vs);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,Vs);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.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 w(4013,Vs);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new ax(n,a,o.injector);if(r&&function ux(e){return!!e.resolveComponentFactory}(r)){const l=r.resolveComponentFactory(s);this.activated=o.createComponent(l,o.length,u)}else this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[_n]}),e})();class ax{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Nr?this.route:t===Go?this.childContexts:this.parent.get(t,n)}}let Mc=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=li({type:e,selectors:[["ng-component"]],standalone:!0,features:[Bg],decls:1,vars:0,template:function(n,r){1&n&&xn(0,"router-outlet")},dependencies:[Pv],encapsulation:2}),e})();function Ov(e,t){return e.providers&&!e._injector&&(e._injector=os(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ac(e){const t=e.children&&e.children.map(Ac),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==L&&(n.component=Mc),n}function ct(e){return e.outlet||L}function Fv(e,t){const n=e.filter(r=>ct(r)===t);return n.push(...e.filter(r=>ct(r)!==t)),n}function qo(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 hx{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Sc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=xr(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Me(o,(i,s)=>{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=xr(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=xr(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.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=xr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new KR(i.value.snapshot))}),t.children.length&&this.forwardEvent(new QR(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Sc(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),Sc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=qo(o.snapshot),u=a?.get(po)??null;s.attachRef=null,s.route=o,s.resolver=u,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class kv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Us{constructor(t,n){this.component=t,this.route=n}}function px(e,t,n){const r=e._root;return Wo(r,t?t._root:null,n,[r.value])}function Pr(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function ew(e){return null!==oi(e)}(e)?t.get(e):e:r}function Wo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=xr(t);return e.children.forEach(s=>{(function mx(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 yx(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!$n(e.url,t.url);case"pathParamsOrQueryParamsChange":return!$n(e.url,t.url)||!Ft(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ic(e,t)||!Ft(e.queryParams,t.queryParams);default:return!Ic(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new kv(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Wo(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Us(a.outlet.component,s))}else s&&Zo(t,a,o),o.canActivateChecks.push(new kv(r)),Wo(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]}),Me(i,(s,a)=>Zo(s,n.getContext(a),o)),o}function Zo(e,t,n){const r=xr(e),o=e.value;Me(r,(i,s)=>{Zo(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Us(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Qo(e){return"function"==typeof e}function Rc(e){return e instanceof As||"EmptyError"===e?.name}const Bs=Symbol("INITIAL_VALUE");function Or(){return Ot(e=>Yy(e.map(t=>t.pipe(ko(1),function lR(...e){const t=Vr(e);return we((n,r)=>{(t?cc(e,n,t):cc(e,n)).subscribe(r)})}(Bs)))).pipe(H(t=>{for(const n of t)if(!0!==n){if(n===Bs)return Bs;if(!1===n||n instanceof Ln)return n}return!0}),dn(t=>t!==Bs),ko(1)))}function Lv(e){return function vD(...e){return zc(e)}(Pe(t=>{if(jn(t))throw Av(0,t)}),H(t=>!0===t))}const xc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $v(e,t,n,r,o){const i=Nc(e,t,n);return i.matched?function Ox(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?b(o.map(s=>{const a=Pr(s,e);return pn(function Ex(e){return e&&Qo(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Or(),Lv()):b(!0)}(r=Ov(t,r),t,n).pipe(H(s=>!0===s?i:{...xc})):b(i)}function Nc(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...xc}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||gR)(n,e,t);if(!o)return{...xc};const i={};Me(o.posParams,(a,u)=>{i[u]=a.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 Hs(e,t,n,r){if(n.length>0&&function Lx(e,t,n){return n.some(r=>zs(e,t,r)&&ct(r)!==L)}(e,n,r)){const i=new U(t,function kx(e,t,n,r){const o={};o[L]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&ct(i)!==L){const s=new U([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[ct(i)]=s}return o}(e,t,r,new U(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function $x(e,t,n){return n.some(r=>zs(e,t,r))}(e,n,r)){const i=new U(e.segments,function Fx(e,t,n,r,o){const i={};for(const s of r)if(zs(e,n,s)&&!o[ct(s)]){const a=new U([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[ct(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new U(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function zs(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function jv(e,t,n,r){return!!(ct(e)===r||r!==L&&zs(t,n,e))&&("**"===e.path||Nc(t,e,n).matched)}function Vv(e,t,n){return 0===t.length&&!e.children[n]}const Gs=!1;class qs{constructor(t){this.segmentGroup=t||null}}class Uv{constructor(t){this.urlTree=t}}function Yo(e){return Fo(new qs(e))}function Bv(e){return Fo(new Uv(e))}class Bx{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=Hs(this.urlTree.root,[],[],this.config).segmentGroup,n=new U(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,L).pipe(H(i=>this.createUrlTree(Ls(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(hn(i=>{if(i instanceof Uv)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof qs?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,L).pipe(H(o=>this.createUrlTree(Ls(o),t.queryParams,t.fragment))).pipe(hn(o=>{throw o instanceof qs?this.noMatchError(o):o}))}noMatchError(t){return new w(4002,Gs)}createUrlTree(t,n,r){const o=mc(t);return new Ln(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(H(i=>new U([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return me(o).pipe(kn(i=>{const s=r.children[i],a=Fv(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(H(u=>({segment:u,outlet:i})))}),tv((i,s)=>(i[s.outlet]=s.segment,i),{}),nv())}expandSegment(t,n,r,o,i,s){return me(r).pipe(kn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(hn(l=>{if(l instanceof qs)return b(null);throw l}))),fn(a=>!!a),hn((a,u)=>{if(Rc(a))return Vv(n,o,i)?b(new U([],{})):Yo(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return jv(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Yo(n):Yo(n)}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.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Bv(i):this.lineralizeSegments(r,i).pipe(Se(s=>{const a=new U(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=Nc(n,o,i);if(!a)return Yo(n);const d=this.applyRedirectCommands(u,o.redirectTo,c);return o.redirectTo.startsWith("/")?Bv(d):this.lineralizeSegments(o,d).pipe(Se(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=Ov(r,t),r.loadChildren?(r._loadedRoutes?b({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(H(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new U(o,{})))):b(new U(o,{}))):$v(n,r,o,t).pipe(Ot(({matched:s,consumedSegments:a,remainingSegments:u})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Se(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=Hs(n,a,u,f),g=new U(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(H(y=>new U(a,y)));if(0===f.length&&0===p.length)return b(new U(a,{}));const m=ct(r)===i;return this.expandSegment(d,g,f,p,m?L:i,!0).pipe(H(_=>new U(a.concat(_.segments),_.children)))})):Yo(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?b({routes:n._loadedRoutes,injector:n._loadedInjector}):function Px(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?b(!0):b(o.map(s=>{const a=Pr(s,e);return pn(function Dx(e){return e&&Qo(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Or(),Lv())}(t,n,r).pipe(Se(o=>o?this.configLoader.loadChildren(t,n).pipe(Pe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function Vx(e){return Fo(Rv(Gs,3))}())):b({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return b(r);if(o.numberOfChildren>1||!o.children[L])return Fo(new w(4e3,Gs));o=o.children[L]}}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 Ln(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Me(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Me(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,o)}),new U(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 w(4001,Gs);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}}class zx{}class Wx{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=Hs(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,L).pipe(H(n=>{if(null===n)return null;const r=new js([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},L,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Jt(r,n),i=new Mv(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=bv(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)}processChildren(t,n,r){return me(Object.keys(r.children)).pipe(kn(o=>{const i=r.children[o],s=Fv(n,o);return this.processSegmentGroup(t,s,i,o)}),tv((o,i)=>o&&i?(o.push(...i),o):null),function fR(e,t=!1){return we((n,r)=>{let o=0;n.subscribe(Ce(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),Rs(null),nv(),H(o=>{if(null===o)return null;const i=zv(o);return function Zx(e){e.sort((t,n)=>t.value.outlet===L?-1:n.value.outlet===L?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return me(n).pipe(kn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),fn(s=>!!s),hn(s=>{if(Rc(s))return Vv(r,o,i)?b([]):b(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!jv(n,r,o,i))return b(null);let s;if("**"===n.path){const a=o.length>0?iv(o).parameters:{},u=qv(r)+o.length;s=b({snapshot:new js(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wv(n),ct(n),n.component??n._loadedComponent??null,n,Gv(r),u,Zv(n)),consumedSegments:[],remainingSegments:[]})}else s=$v(r,n,o,t).pipe(H(({matched:a,consumedSegments:u,remainingSegments:l,parameters:c})=>{if(!a)return null;const d=qv(r)+u.length;return{snapshot:new js(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Wv(n),ct(n),n.component??n._loadedComponent??null,n,Gv(r),d,Zv(n)),consumedSegments:u,remainingSegments:l}}));return s.pipe(Ot(a=>{if(null===a)return b(null);const{snapshot:u,consumedSegments:l,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function Qx(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=Hs(r,l,c,f.filter(m=>void 0===m.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(H(m=>null===m?null:[new Jt(u,m)]));if(0===f.length&&0===p.length)return b([new Jt(u,[])]);const g=ct(n)===i;return this.processSegment(d,f,h,p,g?L:i).pipe(H(m=>null===m?null:[new Jt(u,m)]))}))}}function Yx(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function zv(e){const t=[],n=new Set;for(const r of e){if(!Yx(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=zv(r.children);t.push(new Jt(r.value,o))}return t.filter(r=>!n.has(r))}function Gv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function qv(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function Wv(e){return e.data||{}}function Zv(e){return e.resolve||{}}function Qv(e){return"string"==typeof e.title||null===e.title}function Pc(e){return Ot(t=>{const n=e(t);return n?me(n).pipe(H(()=>t)):b(t)})}const Fr=new N("ROUTES");let Oc=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return b(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=pn(n.loadComponent()).pipe(H(Kv),Pe(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),hc(()=>{this.componentLoaders.delete(n)})),o=new Jy(r,()=>new Lt).pipe(dc());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(H(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l,c=!1;Array.isArray(a)?l=a:(u=a.create(n).injector,l=ov(u.get(Fr,[],T.Self|T.Optional)));return{routes:l.map(Ac),injector:u}}),hc(()=>{this.childrenLoaders.delete(r)})),s=new Jy(i,()=>new Lt).pipe(dc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return pn(n()).pipe(H(Kv),Se(o=>o instanceof Vg||Array.isArray(o)?b(o):me(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(S(At),S(Pm))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Kv(e){return function iN(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Zs=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Lt,this.configLoader=z(Oc),this.environmentInjector=z(Gt),this.urlSerializer=z(jo),this.rootContexts=z(Go),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new WR(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new qR(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Et({id:0,targetPageId:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ho,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(dn(r=>0!==r.id),H(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),Ot(r=>{let o=!1,i=!1;return b(r).pipe(Pe(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ot(s=>{const a=n.browserUrlTree.toString(),u=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!u&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new wv(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),St}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Xv(s.source)&&(n.browserUrlTree=s.extractedUrl),b(s).pipe(Ot(c=>{const d=this.transitions?.getValue();return this.events.next(new wc(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?St:Promise.resolve(c)}),function Hx(e,t,n,r){return Ot(o=>function Ux(e,t,n,r,o){return new Bx(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(H(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),Pe(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function Xx(e,t,n,r,o){return Se(i=>function qx(e,t,n,r,o,i,s="emptyOnly"){return new Wx(e,t,n,r,o,s,i).recognize().pipe(Ot(a=>null===a?function Gx(e){return new ge(t=>t.error(e))}(new zx):b(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(H(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Pe(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new UR(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(u&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,g=new wc(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const m=Iv(d,this.rootComponentType).snapshot;return b(r={...s,targetSnapshot:m,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new wv(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),St}}),Pe(s=>{const a=new BR(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),H(s=>r={...s,guards:px(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function Ix(e,t){return Se(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?b({...n,guardsResult:!0}):function bx(e,t,n,r){return me(e).pipe(Se(o=>function Nx(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?b(i.map(a=>{const u=qo(t)??o,l=Pr(a,u);return pn(function _x(e){return e&&Qo(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(fn())})).pipe(Or()):b(!0)}(o.component,o.route,n,t,r)),fn(o=>!0!==o,!0))}(s,r,o,e).pipe(Se(a=>a&&function vx(e){return"boolean"==typeof e}(a)?function Mx(e,t,n,r){return me(t).pipe(kn(o=>cc(function Ax(e,t){return null!==e&&t&&t(new ZR(e)),b(!0)}(o.route.parent,r),function Tx(e,t){return null!==e&&t&&t(new YR(e)),b(!0)}(o.route,r),function xx(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function gx(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=>Xy(()=>b(s.guards.map(u=>{const l=qo(s.node)??n,c=Pr(u,l);return pn(function Cx(e){return e&&Qo(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(fn())})).pipe(Or())));return b(i).pipe(Or())}(e,o.path,n),function Rx(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return b(!0);const o=r.map(i=>Xy(()=>{const s=qo(t)??n,a=Pr(i,s);return pn(function wx(e){return e&&Qo(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(fn())}));return b(o).pipe(Or())}(e,o.route,n))),fn(o=>!0!==o,!0))}(r,i,e,t):b(a)),H(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Pe(s=>{if(r.guardsResult=s.guardsResult,jn(s.guardsResult))throw Av(0,s.guardsResult);const a=new HR(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),dn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Pc(s=>{if(s.guards.canActivateChecks.length)return b(s).pipe(Pe(a=>{const u=new zR(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),Ot(a=>{let u=!1;return b(a).pipe(function Jx(e,t){return Se(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=0;return me(o).pipe(kn(s=>function eN(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Qv(o)&&(i[Lo]=o.title),function tN(e,t,n,r){const o=function nN(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return b({});const i={};return me(o).pipe(Se(s=>function rN(e,t,n,r){const o=qo(t)??r,i=Pr(e,o);return pn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(fn(),Pe(a=>{i[s]=a}))),fc(1),function hR(e){return H(()=>e)}(i),hn(s=>Rc(s)?St:Fo(s)))}(i,e,t,r).pipe(H(s=>(e._resolvedData=s,e.data=bv(e,n).resolve,o&&Qv(o)&&(e.data[Lo]=o.title),null)))}(s.route,r,e,t)),Pe(()=>i++),fc(1),Se(s=>i===o.length?b(n):St))})}(n.paramsInheritanceStrategy,this.environmentInjector),Pe({next:()=>u=!0,complete:()=>{u||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Pe(a=>{const u=new GR(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),Pc(s=>{const a=u=>{const l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(u.routeConfig).pipe(Pe(c=>{u.component=c}),H(()=>{})));for(const c of u.children)l.push(...a(c));return l};return Yy(a(s.targetSnapshot.root)).pipe(Rs(),ko(1))}),Pc(()=>this.afterPreactivation()),H(s=>{const a=function rx(e,t,n){const r=zo(e,t._root,n?n._root:void 0);return new Sv(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Pe(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>H(r=>(new hx(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),Pe({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Vn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),hc(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),hn(s=>{if(i=!0,Nv(s)){xv(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new $s(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),xv(s)){const u=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),l={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||Xv(r.source)};n.scheduleNavigation(u,Ho,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new Cv(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(u){r.reject(u)}}return St}))}))}cancelNavigationTransition(n,r,o){const i=new $s(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Xv(e){return e!==Ho}let Jv=(()=>{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===L);return r}getResolvedTitleForRoute(n){return n.data[Lo]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(sN)},providedIn:"root"}),e})(),sN=(()=>{class e extends Jv{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(S(Wy))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),aN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(lN)},providedIn:"root"}),e})();class uN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let lN=(()=>{class e extends uN{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function af(e){return nn(()=>{const t=e.prototype.constructor,n=t[Vt]||La(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Vt]||La(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Qs=new N("",{providedIn:"root",factory:()=>({})});let dN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return z(fN)},providedIn:"root"}),e})(),fN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function hN(e){throw e}function pN(e,t,n){return t.parse("/")}const gN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let et=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=z(Ob),this.isNgZoneEnabled=!1,this.options=z(Qs,{optional:!0})||{},this.errorHandler=this.options.errorHandler||hN,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||pN,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=z(dN),this.routeReuseStrategy=z(aN),this.urlCreationStrategy=z(ex),this.titleStrategy=z(Jv),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=ov(z(Fr,{optional:!0})??[]),this.navigationTransitions=z(Zs),this.urlSerializer=z(jo),this.location=z($l),this.isNgZoneEnabled=z(de)instanceof de&&de.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ln,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Iv(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${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),Ho,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}resetConfig(n){this.config=n.map(Ac),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}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=jn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ho,null,r)}navigate(n,r={skipLocationChange:!1}){return function yN(e){for(let t=0;t<e.length;t++){if(null==e[t])throw new w(4008,!1)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?{...gN}:!1===r?{...mN}:r,jn(n))return av(this.currentUrlTree,n,o);const i=this.parseUrl(n);return av(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{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,l,c;return s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,u=f}),c="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}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}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class tD{}let wN=(()=>{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(dn(n=>n instanceof Vn),kn(()=>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=os(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 me(o).pipe(Bn())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):b(null);const i=o.pipe(Se(s=>null===s?b(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?me([i,this.loader.loadComponent(r)]).pipe(Bn()):i})}}return e.\u0275fac=function(n){return new(n||e)(S(et),S(Pm),S(Gt),S(tD),S(Oc))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kc=new N("");let nD=(()=>{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 wc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Vn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof _v&&(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 _v(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Lh(){throw new Error("invalid")}()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Un(e,t){return{\u0275kind:e,\u0275providers:t}}function oD(){const e=z(At);return t=>{const n=e.get(ds);if(t!==n.components[0])return;const r=e.get(et),o=e.get(iD);1===e.get($c)&&r.initialNavigation(),e.get(sD,null,T.Optional)?.setUpPreloading(),e.get(kc,null,T.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const iD=new N("",{factory:()=>new Lt}),$c=new N("",{providedIn:"root",factory:()=>1});const sD=new N("");function IN(e){return Un(0,[{provide:sD,useExisting:wN},{provide:tD,useExisting:e}])}const aD=new N("ROUTER_FORROOT_GUARD"),bN=[$l,{provide:jo,useClass:pc},et,Go,{provide:Nr,useFactory:function rD(e){return e.routerState.root},deps:[et]},Oc,[]];function MN(){return new Vm("Router",et)}let uD=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[bN,[],{provide:Fr,multi:!0,useValue:n},{provide:aD,useFactory:xN,deps:[[et,new ro,new oo]]},{provide:Qs,useValue:r||{}},r?.useHash?{provide:Fn,useClass:CM}:{provide:Fn,useClass:ly},{provide:kc,useFactory:()=>{const e=z(HT),t=z(de),n=z(Qs),r=z(Zs),o=z(jo);return n.scrollOffset&&e.setOffset(n.scrollOffset),new nD(o,r,e,t,n)}},r?.preloadingStrategy?IN(r.preloadingStrategy).\u0275providers:[],{provide:Vm,multi:!0,useFactory:MN},r?.initialNavigation?NN(r):[],[{provide:lD,useFactory:oD},{provide:Nm,multi:!0,useExisting:lD}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Fr,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(S(aD,8))},e.\u0275mod=Dn({type:e}),e.\u0275inj=tn({imports:[Mc]}),e})();function xN(e){return"guarded"}function NN(e){return["disabled"===e.initialNavigation?Un(3,[{provide:us,multi:!0,useFactory:()=>{const t=z(et);return()=>{t.setUpLocationChangeListener()}}},{provide:$c,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Un(2,[{provide:$c,useValue:0},{provide:us,multi:!0,deps:[At],useFactory:t=>{const n=t.get(DM,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(et),s=t.get(iD);(function r(o){t.get(et).events.pipe(dn(s=>s instanceof Vn||s instanceof $s||s instanceof Cv),H(s=>s instanceof Vn||s instanceof $s&&(0===s.code||1===s.code)&&null),dn(s=>null!==s),ko(1)).subscribe(()=>{o()})})(()=>{o(!0)}),t.get(Zs).afterPreactivation=()=>(o(!0),s.closed?b(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const lD=new N(""),ON=[];class Ys{static#e=this.\u0275fac=function(n){return new(n||Ys)};static#t=this.\u0275mod=Dn({type:Ys});static#n=this.\u0275inj=tn({imports:[uD.forRoot(ON),uD]})}class Ks{constructor(){this.title="user"}static#e=this.\u0275fac=function(n){return new(n||Ks)};static#t=this.\u0275cmp=li({type:Ks,selectors:[["app-root"]],decls:43,vars:0,consts:[[1,"bg-white","py-24","sm:py-32"],[1,"mx-auto","max-w-7xl","px-6","lg:px-8"],[1,"mx-auto","max-w-2xl","lg:text-center"],[1,"text-base","font-semibold","leading-7","text-indigo-600"],[1,"mt-2","text-3xl","font-bold","tracking-tight","text-gray-900","sm:text-4xl"],[1,"mt-6","text-lg","leading-8","text-gray-600"],[1,"mx-auto","mt-16","max-w-2xl","sm:mt-20","lg:mt-24","lg:max-w-4xl"],[1,"grid","max-w-xl","grid-cols-1","gap-x-8","gap-y-10","lg:max-w-none","lg:grid-cols-2","lg:gap-y-16"],[1,"relative","pl-16"],[1,"text-base","font-semibold","leading-7","text-gray-900"],[1,"absolute","left-0","top-0","flex","h-10","w-10","items-center","justify-center","rounded-lg","bg-indigo-600"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z"],[1,"mt-2","text-base","leading-7","text-gray-600"],["stroke-linecap","round","stroke-linejoin","round","d","M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"],["stroke-linecap","round","stroke-linejoin","round","d","M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"],["stroke-linecap","round","stroke-linejoin","round","d","M7.864 4.243A7.5 7.5 0 0119.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 004.5 10.5a7.464 7.464 0 01-1.15 3.993m1.989 3.559A11.209 11.209 0 008.25 10.5a3.75 3.75 0 117.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 01-3.6 9.75m6.633-4.596a18.666 18.666 0 01-2.485 5.33"]],template:function(n,r){1&n&&(_e(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),at(4,"Deploy faster 1"),Ee(),_e(5,"p",4),at(6,"Everything you need to deploy your app"),Ee(),_e(7,"p",5),at(8,"Quis tellus eget adipiscing convallis sit sit eget aliquet quis. Suspendisse eget egestas a elementum pulvinar et feugiat blandit at. In mi viverra elit nunc."),Ee()(),_e(9,"div",6)(10,"dl",7)(11,"div",8)(12,"dt",9)(13,"div",10),Yr(),_e(14,"svg",11),xn(15,"path",12),Ee()(),at(16," Push to deploy "),Ee(),Kr(),_e(17,"dd",13),at(18,"Morbi viverra dui mi arcu sed. Tellus semper adipiscing suspendisse semper morbi. Odio urna massa nunc massa."),Ee()(),_e(19,"div",8)(20,"dt",9)(21,"div",10),Yr(),_e(22,"svg",11),xn(23,"path",14),Ee()(),at(24," SSL certificates "),Ee(),Kr(),_e(25,"dd",13),at(26,"Sit quis amet rutrum tellus ullamcorper ultricies libero dolor eget. Sem sodales gravida quam turpis enim lacus amet."),Ee()(),_e(27,"div",8)(28,"dt",9)(29,"div",10),Yr(),_e(30,"svg",11),xn(31,"path",15),Ee()(),at(32," Simple queues "),Ee(),Kr(),_e(33,"dd",13),at(34,"Quisque est vel vulputate cursus. Risus proin diam nunc commodo. Lobortis auctor congue commodo diam neque."),Ee()(),_e(35,"div",8)(36,"dt",9)(37,"div",10),Yr(),_e(38,"svg",11),xn(39,"path",16),Ee()(),at(40," Advanced security "),Ee(),Kr(),_e(41,"dd",13),at(42,"Arcu egestas dolor vel iaculis in ipsum mauris. Tincidunt mattis aliquet hac quis. Id hac maecenas ac donec pharetra eget."),Ee()()()()()())}})}class Xs{static#e=this.\u0275fac=function(n){return new(n||Xs)};static#t=this.\u0275mod=Dn({type:Xs,bootstrap:[Ks]});static#n=this.\u0275inj=tn({imports:[UA,Ys]})}VA().bootstrapModule(Xs).catch(e=>console.error(e))}},X=>{X(X.s=639)}]);