-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.eb3cf64961e42359.js
1 lines (1 loc) · 205 KB
/
main.eb3cf64961e42359.js
1
"use strict";(self.webpackChunkAngular15=self.webpackChunkAngular15||[]).push([[179],{352:()=>{function W(e){return"function"==typeof e}function ti(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 yo=ti(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ir(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 o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(W(r))try{r()}catch(o){t=o instanceof yo?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Nd(o)}catch(s){t=t??[],s instanceof yo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new yo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Nd(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)&&ir(n,t)}remove(t){const{_finalizers:n}=this;n&&ir(n,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const e=new tt;return e.closed=!0,e})();const Rd=tt.EMPTY;function Pd(e){return e instanceof tt||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Nd(e){W(e)?e():e.unsubscribe()}const An={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vo={setTimeout(e,t,...n){const{delegate:r}=vo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=vo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Od(e){vo.setTimeout(()=>{const{onUnhandledError:t}=An;if(!t)throw e;t(e)})}function Do(){}const m0=Ia("C",void 0,void 0);function Ia(e,t,n){return{kind:e,value:t,error:n}}let xn=null;function wo(e){if(An.useDeprecatedSynchronousErrorHandling){const t=!xn;if(t&&(xn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=xn;if(xn=null,n)throw r}}else e()}class Sa extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Pd(t)&&t.add(this)):this.destination=E0}static create(t,n,r){return new ni(t,n,r)}next(t){this.isStopped?Ta(function v0(e){return Ia("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ta(function y0(e){return Ia("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ta(m0,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 w0=Function.prototype.bind;function Ma(e,t){return w0.call(e,t)}class _0{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){_o(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){_o(r)}else _o(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){_o(n)}}}class ni extends Sa{constructor(t,n,r){let i;if(super(),W(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&An.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Ma(t.next,o),error:t.error&&Ma(t.error,o),complete:t.complete&&Ma(t.complete,o)}):i=t}this.destination=new _0(i)}}function _o(e){An.useDeprecatedSynchronousErrorHandling?function D0(e){An.useDeprecatedSynchronousErrorHandling&&xn&&(xn.errorThrown=!0,xn.error=e)}(e):Od(e)}function Ta(e,t){const{onStoppedNotification:n}=An;n&&vo.setTimeout(()=>n(e,t))}const E0={closed:!0,next:Do,error:function C0(e){throw e},complete:Do},Aa="function"==typeof Symbol&&Symbol.observable||"@@observable";function Rn(e){return e}function Fd(e){return 0===e.length?Rn:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}let de=(()=>{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,i){const o=function S0(e){return e&&e instanceof Sa||function I0(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&Pd(e)}(n)?n:new ni(n,r,i);return wo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=kd(r))((i,o)=>{const s=new ni({next:a=>{try{n(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Aa](){return this}pipe(...n){return Fd(n)(this)}toPromise(n){return new(n=kd(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function kd(e){var t;return null!==(t=e??An.Promise)&&void 0!==t?t:Promise}const M0=ti(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ft=(()=>{class e extends de{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ld(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new M0}next(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){wo(()=>{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(){wo(()=>{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:i,observers:o}=this;return r||i?Rd:(this.currentObservers=null,o.push(n),new tt(()=>{this.currentObservers=null,ir(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new de;return n.source=this,n}}return e.create=(t,n)=>new Ld(t,n),e})();class Ld extends ft{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:Rd}}function jd(e){return W(e?.lift)}function ve(e){return t=>{if(jd(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,i){return new T0(e,t,n,r,i)}class T0 extends Sa{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(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 V(e,t){return ve((n,r)=>{let i=0;n.subscribe(Ce(r,o=>{r.next(e.call(t,o,i++))}))})}function Pn(e){return this instanceof Pn?(this.v=e,this):new Pn(e)}function R0(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Pn?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function P0(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 Bd(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(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function i(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}const Ra=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ud(e){return W(e?.then)}function Hd(e){return W(e[Aa])}function zd(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function Gd(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 Wd=function O0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qd(e){return W(e?.[Wd])}function Zd(e){return R0(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield Pn(n.read());if(i)return yield Pn(void 0);yield yield Pn(r)}}finally{n.releaseLock()}})}function Qd(e){return W(e?.getReader)}function ht(e){if(e instanceof de)return e;if(null!=e){if(Hd(e))return function F0(e){return new de(t=>{const n=e[Aa]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ra(e))return function k0(e){return new de(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Ud(e))return function L0(e){return new de(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Od)})}(e);if(zd(e))return Yd(e);if(qd(e))return function j0(e){return new de(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Qd(e))return function V0(e){return Yd(Zd(e))}(e)}throw Gd(e)}function Yd(e){return new de(t=>{(function $0(e,t){var n,r,i,o;return function A0(e,t,n,r){return new(n||(n=Promise))(function(o,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?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=P0(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Ht(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Ee(e,t,n=1/0){return W(t)?Ee((r,i)=>V((o,s)=>t(r,o,i,s))(ht(e(r,i))),n):("number"==typeof t&&(n=t),ve((r,i)=>function B0(e,t,n,r,i,o,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=>{o&&t.next(g),l++;let y=!1;ht(n(g,c++)).subscribe(Ce(t,D=>{i?.(D),o?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const D=u.shift();s?Ht(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Ce(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,n)))}function or(e=1/0){return Ee(Rn,e)}const zt=new de(e=>e.complete());function Kd(e){return e&&W(e.schedule)}function Pa(e){return e[e.length-1]}function ri(e){return Kd(Pa(e))?e.pop():void 0}function Jd(e,t=0){return ve((n,r)=>{n.subscribe(Ce(r,i=>Ht(r,e,()=>r.next(i),t),()=>Ht(r,e,()=>r.complete(),t),i=>Ht(r,e,()=>r.error(i),t)))})}function Xd(e,t=0){return ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ef(e,t){if(!e)throw new Error("Iterable cannot be null");return new de(n=>{Ht(n,t,()=>{const r=e[Symbol.asyncIterator]();Ht(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function be(e,t){return t?function Y0(e,t){if(null!=e){if(Hd(e))return function G0(e,t){return ht(e).pipe(Xd(t),Jd(t))}(e,t);if(Ra(e))return function q0(e,t){return new de(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Ud(e))return function W0(e,t){return ht(e).pipe(Xd(t),Jd(t))}(e,t);if(zd(e))return ef(e,t);if(qd(e))return function Z0(e,t){return new de(n=>{let r;return Ht(n,t,()=>{r=e[Wd](),Ht(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>W(r?.return)&&r.return()})}(e,t);if(Qd(e))return function Q0(e,t){return ef(Zd(e),t)}(e,t)}throw Gd(e)}(e,t):ht(e)}function Na(...e){const t=ri(e),n=function z0(e,t){return"number"==typeof Pa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?ht(r[0]):or(n)(be(r,t)):zt}function Oa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ni({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).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 ka(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const J0=ne({__forward_ref__:ne});function La(e){return e.__forward_ref__=La,e.toString=function(){return re(this())},e}function x(e){return ja(e)?e():e}function ja(e){return"function"==typeof e&&e.hasOwnProperty(J0)&&e.__forward_ref__===La}function Va(e){return e&&!!e.\u0275providers}class _ extends Error{constructor(t,n){super(function Co(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Eo(e,t){throw new _(-201,!1)}function rt(e,t){null==e&&function X(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function bo(e){return nf(e,Io)||nf(e,sf)}function nf(e,t){return e.hasOwnProperty(t)?e[t]:null}function rf(e){return e&&(e.hasOwnProperty($a)||e.hasOwnProperty(aw))?e[$a]:null}const Io=ne({\u0275prov:ne}),$a=ne({\u0275inj:ne}),sf=ne({ngInjectableDef:ne}),aw=ne({ngInjectorDef:ne});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let Ba;function pt(e){const t=Ba;return Ba=e,t}function af(e,t,n){const r=bo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&R.Optional?null:void 0!==t?t:void Eo(re(e))}const ie=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ii={},Ua="__NG_DI_FLAG__",So="ngTempTokenPath",cw=/\n/gm,uf="__source";let oi;function sr(e){const t=oi;return oi=e,t}function fw(e,t=R.Default){if(void 0===oi)throw new _(-203,!1);return null===oi?af(e,void 0,t):oi.get(e,t&R.Optional?null:void 0,t)}function M(e,t=R.Default){return(function uw(){return Ba}()||fw)(x(e),t)}function te(e,t=R.Default){return M(e,Mo(t))}function Mo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ha(e){const t=[];for(let n=0;n<e.length;n++){const r=x(e[n]);if(Array.isArray(r)){if(0===r.length)throw new _(900,!1);let i,o=R.Default;for(let s=0;s<r.length;s++){const a=r[s],u=hw(a);"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(M(i,o))}else t.push(M(r))}return t}function si(e,t){return e[Ua]=t,e.prototype[Ua]=t,e}function hw(e){return e[Ua]}function cn(e){return{toString:e}.toString()}var Ct=(()=>((Ct=Ct||{})[Ct.OnPush=0]="OnPush",Ct[Ct.Default=1]="Default",Ct))(),Ft=(()=>{return(e=Ft||(Ft={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ft;var e})();const qt={},Y=[],To=ne({\u0275cmp:ne}),za=ne({\u0275dir:ne}),Ga=ne({\u0275pipe:ne}),cf=ne({\u0275mod:ne}),Zt=ne({\u0275fac:ne}),ai=ne({__NG_ELEMENT_ID__:ne});let mw=0;function Ao(e){return cn(()=>{const n=!0===e.standalone,r={},i={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===Ct.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,id:"c"+mw++,styles:e.styles||Y,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=e.dependencies,s=e.features;return i.inputs=hf(e.inputs,r),i.outputs=hf(e.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(df).filter(ff):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Be).filter(ff):null,i})}function df(e){return ee(e)||Oe(e)}function ff(e){return null!==e}function dn(e){return cn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hf(e,t){if(null==e)return qt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const $e=Ao;function ee(e){return e[To]||null}function Oe(e){return e[za]||null}function Be(e){return e[Ga]||null}function it(e,t){const n=e[cf]||null;if(!n&&!0===t)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}const B=11;function Qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function Za(e){return 0!=(4&e.flags)}function No(e){return e.componentOffset>-1}function Oo(e){return 1==(1&e.flags)}function It(e){return null!==e.template}function Cw(e){return 0!=(256&e[2])}function Ln(e,t){return e.hasOwnProperty(Zt)?e[Zt]:null}class Iw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function jn(){return mf}function mf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mw),Sw}function Sw(){const e=vf(this),t=e?.current;if(t){const n=e.previous;if(n===qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mw(e,t,n,r){const i=this.declaredInputs[n],o=vf(e)||function Tw(e,t){return e[yf]=t}(e,{previous:qt,current:null}),s=o.current||(o.current={}),a=o.previous,u=a[i];s[i]=new Iw(u&&u.currentValue,t,a===qt),e[r]=t}jn.ngInherit=!0;const yf="__ngSimpleChanges__";function vf(e){return e[yf]||null}function Ie(e){for(;Array.isArray(e);)e=e[0];return e}function st(e,t){return Ie(t[e.index])}function Xa(e,t){return e.data[t]}function at(e,t){const n=t[e];return Qe(n)?n:n[0]}function ko(e){return 64==(64&e[2])}function fn(e,t){return null==t?null:e[t]}function Df(e){e[18]=0}function eu(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 k={lFrame:Af(null),bindingsEnabled:!0};function _f(){return k.bindingsEnabled}function v(){return k.lFrame.lView}function q(){return k.lFrame.tView}function Vn(e){return k.lFrame.contextLView=e,e[8]}function $n(e){return k.lFrame.contextLView=null,e}function Re(){let e=Cf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cf(){return k.lFrame.currentTNode}function kt(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function tu(){return k.lFrame.isParent}function fr(){return k.lFrame.bindingIndex++}function Hw(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,ru(t)}function ru(e){k.lFrame.currentDirectiveIndex=e}function ou(e){k.lFrame.currentQueryIndex=e}function Gw(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Mf(e,t,n){if(n&R.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&R.Host||(i=Gw(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=k.lFrame=Tf();return r.currentTNode=t,r.lView=e,!0}function su(e){const t=Tf(),n=e[1];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tf(){const e=k.lFrame,t=null===e?null:e.child;return null===t?Af(e):t}function Af(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 xf(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Rf=xf;function au(){const e=xf();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 He(){return k.lFrame.selectedIndex}function Bn(e){k.lFrame.selectedIndex=e}function ae(){k.lFrame.currentNamespace="svg"}function ue(){!function Qw(){k.lFrame.currentNamespace=null}()}function Lo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=o;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 jo(e,t,n){Pf(e,t,3,n)}function Vo(e,t,n,r){(3&e[2])===n&&Pf(e,t,n,r)}function uu(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Pf(e,t,n,r){const o=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<o||-1==o)&&(Jw(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function Jw(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class hi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function cu(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];Of(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Nf(e){return 3===e||4===e||6===e}function Of(e){return 64===e.charCodeAt(0)}function gi(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 i=t[r];"number"==typeof i?n=i:0===n||Ff(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Ff(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function kf(e){return-1!==e}function hr(e){return 32767&e}function pr(e,t){let n=function r_(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let du=!0;function $o(e){const t=du;return du=e,t}let i_=0;const Lt={};function Bo(e,t){const n=hu(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,fu(r.data,e),fu(t,null),fu(r.blueprint,null));const i=Uo(e,t),o=e.injectorIndex;if(kf(i)){const s=hr(i),a=pr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function fu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Uo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Wf(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function pu(e,t,n){!function o_(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ai)&&(r=n[ai]),null==r&&(r=n[ai]=i_++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Vf(e,t,n){if(n&R.Optional||void 0!==e)return e;Eo()}function $f(e,t,n,r){if(n&R.Optional&&void 0===r&&(r=null),0==(n&(R.Self|R.Host))){const i=e[9],o=pt(void 0);try{return i?i.get(t,r,n&R.Optional):af(t,r,n&R.Optional)}finally{pt(o)}}return Vf(r,0,n)}function Bf(e,t,n,r=R.Default,i){if(null!==e){if(1024&t[2]){const s=function c_(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=Uf(o,s,n,r|R.Self,Lt);if(a!==Lt)return a;let u=o.parent;if(!u){const l=s[21];if(l){const c=l.get(n,Lt,r);if(c!==Lt)return c}u=Wf(s),s=s[15]}o=u}return i}(e,t,n,r,Lt);if(s!==Lt)return s}const o=Uf(e,t,n,r,Lt);if(o!==Lt)return o}return $f(t,n,r,i)}function Uf(e,t,n,r,i){const o=function u_(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ai)?e[ai]:void 0;return"number"==typeof t?t>=0?255&t:l_:t}(n);if("function"==typeof o){if(!Mf(t,e,r))return r&R.Host?Vf(i,0,r):$f(t,n,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;Eo()}finally{Rf()}}else if("number"==typeof o){let s=null,a=hu(e,t),u=-1,l=r&R.Host?t[16][6]:null;for((-1===a||r&R.SkipSelf)&&(u=-1===a?Uo(e,t):t[a+8],-1!==u&&zf(r,!1)?(s=t[1],a=hr(u),t=pr(u,t)):a=-1);-1!==a;){const c=t[1];if(Hf(o,a,c.data)){const d=a_(a,t,n,s,r,l);if(d!==Lt)return d}u=t[a+8],-1!==u&&zf(r,t[1].data[a+8]===l)&&Hf(o,a,t)?(s=c,a=hr(u),t=pr(u,t)):a=-1}}return i}function a_(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function Ho(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?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(i){const h=s[u];if(h&&It(h)&&h.type===n)return u}return null}(a,s,n,null==r?No(a)&&du:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==c?gr(t,s,c,a):Lt}function gr(e,t,n,r){let i=e[n];const o=t.data;if(function Xw(e){return e instanceof hi}(i)){const s=i;s.resolving&&function X0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,`Circular dependency in DI detected for ${e}${n}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(o[n]));const a=$o(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?pt(s.injectImpl):null;Mf(e,r,R.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Kw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=mf(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&pt(u),$o(a),s.resolving=!1,Rf()}}return i}function Hf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function zf(e,t){return!(e&R.Self||e&R.Host&&t)}class mr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bf(this._tNode,this._lView,t,Mo(r),n)}}function l_(){return new mr(Re(),v())}function gu(e){return ja(e)?()=>{const t=gu(x(e));return t&&t()}:Ln(e)}function Wf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const vr="__parameters__";function wr(e,t,n){return cn(()=>{const r=function mu(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(vr)?u[vr]:Object.defineProperty(u,vr,{value:[]})[vr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class P{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=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Un(e,t){e.forEach(n=>Array.isArray(n)?Un(n,t):t(n))}function Zf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Go(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Di=si(wr("Optional"),8),wi=si(wr("SkipSelf"),4);var Ye=(()=>((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const bu=new Map;let k_=0;const Su="__ngContext__";function Le(e,t){Qe(t)?(e[Su]=t[20],function j_(e){bu.set(e[20],e)}(t)):e[Su]=t}function Tu(e,t){return undefined(e,t)}function bi(e){const t=e[3];return bt(t)?t[3]:t}function Au(e){return vh(e[13])}function xu(e){return vh(e[4])}function vh(e){for(;null!==e&&!bt(e);)e=e[4];return e}function Er(e,t,n,r,i){if(null!=r){let o,s=!1;bt(r)?o=r:Qe(r)&&(s=!0,r=r[0]);const a=Ie(r);0===e&&null!==n?null==i?bh(t,n,a):Hn(t,n,a,i||null,!0):1===e&&null!==n?Hn(t,n,a,i||null,!0):2===e?function Lu(e,t,n){const r=Qo(e,t);r&&function oC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function uC(e,t,n,r,i){const o=n[7];o!==Ie(n)&&Er(t,e,r,o,i);for(let a=10;a<n.length;a++){const u=n[a];Ii(u[1],u,e,t,r,o)}}(t,e,o,n,i)}}function Pu(e,t,n){return e.createElement(t,n)}function wh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,eu(i,-1)),n.splice(r,1)}function Nu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&wh(i,r),t>0&&(e[n-1][4]=r[4]);const o=Go(e,10+t);!function K_(e,t){Ii(e,t,t[B],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function _h(e,t){if(!(128&t[2])){const n=t[B];n.destroyNode&&Ii(e,t,n,3,null,null),function eC(e){let t=e[13];if(!t)return Ou(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)&&Ou(t[1],t),t=t[3];null===t&&(t=e),Qe(t)&&Ou(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ou(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function iC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof hi)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function rC(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?r[i=s]():r[i=-s].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[B].destroy();const n=t[17];if(null!==n&&bt(t[3])){n!==t[3]&&wh(n,t);const r=t[19];null!==r&&r.detachView(e)}!function V_(e){bu.delete(e[20])}(t)}}function Ch(e,t,n){return function Eh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Ft.None||o===Ft.Emulated)return null}return st(r,n)}}(e,t.parent,n)}function Hn(e,t,n,r,i){e.insertBefore(t,n,r,i)}function bh(e,t,n){e.appendChild(t,n)}function Ih(e,t,n,r,i){null!==r?Hn(e,t,n,r,i):bh(e,t,n)}function Qo(e,t){return e.parentNode(t)}let $u,Th=function Mh(e,t,n){return 40&e.type?st(e,n):null};function Yo(e,t,n,r){const i=Ch(e,r,t),o=t[B],a=function Sh(e,t,n){return Th(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ih(o,i,n[u],a,!1);else Ih(o,i,n,a,!1)}function Ko(e,t){if(null!==t){const n=t.type;if(3&n)return st(t,e);if(4&n)return ku(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ko(e,r);{const i=e[t.index];return bt(i)?ku(-1,i):Ie(i)}}if(32&n)return Tu(t,e)()||Ie(e[t.index]);{const r=xh(e,t);return null!==r?Array.isArray(r)?r[0]:Ko(bi(e[16]),r):Ko(e,t.next)}}return null}function xh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ku(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Ko(r,i)}return t[7]}function ju(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Le(Ie(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)ju(e,t,n.child,r,i,o,!1),Er(t,e,i,a,o);else if(32&u){const l=Tu(n,r);let c;for(;c=l();)Er(t,e,i,c,o);Er(t,e,i,a,o)}else 16&u?Rh(e,t,r,n,i,o):Er(t,e,i,a,o);n=s?n.projectionNext:n.next}}function Ii(e,t,n,r,i,o){ju(n,r,e.firstChild,t,i,o,!1)}function Rh(e,t,n,r,i,o){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Er(t,e,i,u[l],o);else ju(e,t,u,s[3],i,o,!0)}function Ph(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Nh(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&cu(e,t,r),null!==i&&Ph(e,t,i),null!==o&&function cC(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const ts=new P("ENVIRONMENT_INITIALIZER"),Zh=new P("INJECTOR",-1),Qh=new P("INJECTOR_DEF_TYPES");class Yh{get(t,n=ii){if(n===ii){const r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}}function LC(...e){return{\u0275providers:Kh(0,e),\u0275fromNgModule:!0}}function Kh(e,...t){const n=[],r=new Set;let i;return Un(t,o=>{const s=o;Wu(s,n,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&Jh(i,n),n}function Jh(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];qu(i,o=>{t.push(o)})}}function Wu(e,t,n,r){if(!(e=x(e)))return!1;let i=null,o=rf(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const u=e.ngModule;if(o=rf(u),!o)return!1;i=u}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Wu(l,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;r.add(i);try{Un(o.imports,c=>{Wu(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&Jh(l,t)}if(!a){const l=Ln(i)||(()=>new i);t.push({provide:i,useFactory:l,deps:Y},{provide:Qh,useValue:i,multi:!0},{provide:ts,useValue:()=>M(i),multi:!0})}const u=o.providers;null==u||a||qu(u,c=>{t.push(c)})}}return i!==e&&void 0!==e.providers}function qu(e,t){for(let n of e)Va(n)&&(n=n.\u0275providers),Array.isArray(n)?qu(n,t):t(n)}const jC=ne({provide:String,useValue:ne});function Zu(e){return null!==e&&"object"==typeof e&&jC in e}function Gn(e){return"function"==typeof e}const Qu=new P("Set Injector scope."),ns={},$C={};let Yu;function rs(){return void 0===Yu&&(Yu=new Yh),Yu}class gn{}class tp extends gn{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ju(t,s=>this.processProvider(s)),this.records.set(Zh,br(void 0,this)),i.has("environment")&&this.records.set(gn,br(void 0,this));const o=this.records.get(Qu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Qh.multi,Y,R.Self))}get destroyed(){return this._destroyed}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=sr(this),r=pt(void 0);try{return t()}finally{sr(n),pt(r)}}get(t,n=ii,r=R.Default){this.assertNotDestroyed(),r=Mo(r);const i=sr(this),o=pt(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function GC(e){return"function"==typeof e||"object"==typeof e&&e instanceof P}(t)&&bo(t);a=u&&this.injectableDefInScope(u)?br(Ku(t),ns):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&R.Self?rs():this.parent).get(t,n=r&R.Optional&&n===ii?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[So]=s[So]||[]).unshift(re(t)),i)throw s;return function pw(e,t,n,r){const i=e[So];throw t[uf]&&i.unshift(t[uf]),e.message=function gw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=re(t);if(Array.isArray(t))i=t.map(re).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):re(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(cw,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[So]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{pt(o),sr(i)}}resolveInjectorInitializers(){const t=sr(this),n=pt(void 0);try{const r=this.get(ts.multi,Y,R.Self);for(const i of r)i()}finally{sr(t),pt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){let n=Gn(t=x(t))?t:x(t&&t.provide);const r=function UC(e){return Zu(e)?br(void 0,e.useValue):br(function np(e,t,n){let r;if(Gn(e)){const i=x(e);return Ln(i)||Ku(i)}if(Zu(e))r=()=>x(e.useValue);else if(function ep(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ha(e.deps||[]));else if(function Xh(e){return!(!e||!e.useExisting)}(e))r=()=>M(x(e.useExisting));else{const i=x(e&&(e.useClass||e.provide));if(!function HC(e){return!!e.deps}(e))return Ln(i)||Ku(i);r=()=>new i(...Ha(e.deps))}return r}(e),ns)}(t);if(Gn(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=br(void 0,ns,!0),i.factory=()=>Ha(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ns&&(n.value=$C,n.value=n.factory()),"object"==typeof n.value&&n.value&&function zC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=x(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ku(e){const t=bo(e),n=null!==t?t.factory:Ln(e);if(null!==n)return n;if(e instanceof P)throw new _(204,!1);if(e instanceof Function)return function BC(e){const t=e.length;if(t>0)throw function vi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new _(204,!1);const n=function ow(e){const t=e&&(e[Io]||e[sf]);if(t){const n=function sw(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 _(204,!1)}function br(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&Va(n)?Ju(n.\u0275providers,t):t(n)}class WC{}class rp{}class ZC{resolveComponentFactory(t){throw function qC(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ai=(()=>{class e{}return e.NULL=new ZC,e})();function QC(){return Ir(Re(),v())}function Ir(e,t){return new mn(st(e,t))}let mn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=QC,e})();class op{}let JC=(()=>{class e{}return e.\u0275prov=F({token:e,providedIn:"root",factory:()=>null}),e})();class os{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const XC=new os("15.0.1"),Xu={};function tl(e){return e.ngOriginalError}class Sr{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&&tl(t);for(;n&&tl(n);)n=tl(n);return n||null}}function Jt(e){return e instanceof Function?e():e}function ap(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const up="ng-template";function cE(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==ap(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function lp(e){return 4===e.type&&e.value!==up}function dE(e,t,n){return t===(4!==e.type||n?e.value:up)}function fE(e,t,n){let r=4;const i=e.attrs||[],o=function gE(e){for(let t=0;t<e.length;t++)if(Nf(e[t]))return t;return e.length}(i);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&&!dE(e,u,n)||""===u&&1===t.length){if(St(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!cE(e.attrs,l,n)){if(St(r))return!1;s=!0}continue}const d=hE(8&r?"class":u,i,lp(e),n);if(-1===d){if(St(r))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ap(h,l,0)||2&r&&l!==f){if(St(r))return!1;s=!0}}}}else{if(!s&&!St(r)&&!St(u))return!1;if(s&&St(u))continue;s=!1,r=u|1&r}}return St(r)||s}function St(e){return 0==(1&e)}function hE(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function mE(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 cp(e,t,n=!1){for(let r=0;r<t.length;r++)if(fE(e,t[r],n))return!0;return!1}function dp(e,t){return e?":not("+t.trim()+")":t}function vE(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!St(s)&&(t+=dp(o,i),i=""),r=s,o=o||!St(r);n++}return""!==i&&(t+=dp(o,i)),t}const j={};function yn(e){fp(q(),v(),He()+e,!1)}function fp(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&jo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Vo(t,o,0,n)}Bn(n)}function mp(e,t=null,n=null,r){const i=yp(e,t,n,r);return i.resolveInjectorInitializers(),i}function yp(e,t=null,n=null,r,i=new Set){const o=[n||Y,LC(e)];return r=r||("object"==typeof e?void 0:re(e)),new tp(o,t||rs(),r||null,i)}let yt=(()=>{class e{static create(n,r){if(Array.isArray(n))return mp({name:""},r,n,"");{const i=n.name??"";return mp({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ii,e.NULL=new Yh,e.\u0275prov=F({token:e,providedIn:"any",factory:()=>M(Zh)}),e.__NG_ELEMENT_ID__=-1,e})();function N(e,t=R.Default){const n=v();return null===n?M(e,t):Bf(Re(),n,x(e),t)}function sl(){throw new Error("invalid")}function Op(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=e.data[o];ou(i),s.contentQueries(2,t[o],o)}}}function cs(e,t,n,r,i,o,s,a,u,l,c){const d=t.blueprint.slice();return d[0]=i,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),Df(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[B]=a||e&&e[B],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=o,d[20]=function L_(){return k_++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function Ar(e,t,n,r,i){let o=e.data[t];if(null===o)o=function yl(e,t,n,r,i){const o=Cf(),s=tu(),u=e.data[t]=function e1(e,t,n,r,i,o){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:i,attrs:o,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?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u)),u}(e,t,n,r,i),function Uw(){return k.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function fi(){const e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return kt(o,!0),o}function xi(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function vl(e,t,n){su(t);try{const r=e.viewQuery;null!==r&&Tl(1,r,n);const i=e.template;null!==i&&Fp(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Op(e,t),e.staticViewQueries&&Tl(2,e.viewQuery,n);const o=e.components;null!==o&&function KE(e,t){for(let n=0;n<t.length;n++)D1(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,au()}}function ds(e,t,n,r){const i=t[2];if(128!=(128&i)){su(t);try{Df(t),function bf(e){return k.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Fp(e,t,n,2,r);const s=3==(3&i);if(s){const l=e.preOrderCheckHooks;null!==l&&jo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Vo(t,l,0,null),uu(t,0)}if(function y1(e){for(let t=Au(e);null!==t;t=xu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(512&i[2])&&eu(o,1),i[2]|=512}}}(t),function m1(e){for(let t=Au(e);null!==t;t=xu(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];ko(r)&&ds(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Op(e,t),s){const l=e.contentCheckHooks;null!==l&&jo(t,l)}else{const l=e.contentHooks;null!==l&&Vo(t,l,1),uu(t,1)}!function QE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Bn(~i);else{const o=i,s=n[++r],a=n[++r];Hw(s,o),a(2,t[o])}}}finally{Bn(-1)}}(e,t);const a=e.components;null!==a&&function YE(e,t){for(let n=0;n<t.length;n++)v1(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Tl(2,u,r),s){const l=e.viewCheckHooks;null!==l&&jo(t,l)}else{const l=e.viewHooks;null!==l&&Vo(t,l,2),uu(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,eu(t[3],-1))}finally{au()}}}function Fp(e,t,n,r,i){const o=He(),s=2&r;try{Bn(-1),s&&t.length>22&&fp(e,t,22,!1),n(r,i)}finally{Bn(o)}}function Dl(e,t,n){if(Za(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}function wl(e,t,n){!_f()||(function s1(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Bo(n,t),Le(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const u=e.data[a],l=It(u);l&&h1(t,n,u);const c=gr(t,e,a,n);Le(c,t),null!==s&&p1(0,a-i,c,u,0,s),l&&(at(n.index,t)[8]=c)}}(e,t,n,st(n,t)),64==(64&n.flags)&&Up(e,t,n))}function _l(e,t,n=st){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function kp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Cl(e,t,n,r,i,o,s,a,u,l){const c=22+r,d=c+i,f=function JE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:j);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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function jp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Vp(n,t,i,o):r.hasOwnProperty(i)&&Vp(n,t,r[i],o)}return n}function Vp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function $p(e,t){const n=at(t,e);16&n[2]||(n[2]|=32)}function El(e,t,n,r){let i=!1;if(_f()){const o=null===r?null:{"":-1},s=function u1(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(cp(t,s.selectors,!1))if(r||(r=[]),It(s))if(null!==s.findHostDirectiveDefs){const a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),r.unshift(...a,s),bl(e,t,a.length)}else r.unshift(s),bl(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,n);let a,u;null===s?a=u=null:[a,u]=s,null!==a&&(i=!0,Bp(e,t,n,a,o,u)),o&&function l1(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new _(-301,!1);r.push(t[i],o)}}}(n,r,o)}return n.mergedAttrs=gi(n.mergedAttrs,n.attrs),i}function Bp(e,t,n,r,i,o){for(let l=0;l<r.length;l++)pu(Bo(n,t),e,r[l].type);!function d1(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=xi(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=gi(n.mergedAttrs,c.hostAttrs),f1(e,n,t,u,c),c1(u,c,i),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 t1(e,t,n){const i=t.directiveEnd,o=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<i;c++){const d=o[c],f=n?n.get(d):null,p=f?f.outputs:null;u=jp(d.inputs,c,u,f?f.inputs:null),l=jp(d.outputs,c,l,p);const g=null===u||null===s||lp(t)?null:g1(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,o)}function Up(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function zw(){return k.lFrame.currentDirectiveIndex}();try{Bn(o);for(let a=r;a<i;a++){const u=e.data[a],l=t[a];ru(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&a1(u,l)}}finally{Bn(-1),ru(s)}}function a1(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function bl(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function c1(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;It(t)&&(n[""]=e)}}function f1(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Ln(i.type)),s=new hi(o,It(i),N);e.blueprint[r]=s,n[r]=s,function i1(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function o1(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,o)}}(e,t,r,xi(e,n,i.hostVars,j),i)}function h1(e,t,n){const r=st(t,e),i=kp(n),o=e[10],s=fs(e,cs(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=s}function p1(e,t,n,r,i,o){const s=o[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 g1(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(o,s[a+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Hp(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function v1(e,t){const n=at(t,e);if(ko(n)){const r=n[1];48&n[2]?ds(r,n,r.template,n[8]):n[5]>0&&Sl(n)}}function Sl(e){for(let r=Au(e);null!==r;r=xu(r))for(let i=10;i<r.length;i++){const o=r[i];if(ko(o))if(512&o[2]){const s=o[1];ds(s,o,s.template,o[8])}else o[5]>0&&Sl(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=at(n[r],e);ko(i)&&i[5]>0&&Sl(i)}}function D1(e,t){const n=at(t,e),r=n[1];(function w1(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),vl(r,n,n[8])}function fs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ml(e){for(;e;){e[2]|=32;const t=bi(e);if(Cw(e)&&!t)return e;e=t}return null}function hs(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{ds(e,t,e.template,n)}catch(s){throw r&&qp(t,s),s}finally{i.end&&i.end()}}function Tl(e,t,n){ou(0),t(e,n)}function zp(e){return e[7]||(e[7]=[])}function Gp(e){return e.cleanup||(e.cleanup=[])}function qp(e,t){const n=e[9],r=n?n.get(Sr,null):null;r&&r.handleError(t)}function Al(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function en(e,t,n){const r=function Fo(e,t){return Ie(t[e])}(t,e);!function Dh(e,t,n){e.setValue(t,n)}(e[B],r,n)}function ps(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=ka(i,a):2==o&&(r=ka(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function gs(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(Ie(o)),bt(o))for(let a=10;a<o.length;a++){const u=o[a],l=u[1].firstChild;null!==l&&gs(u[1],u,l,r)}const s=n.type;if(8&s)gs(e,t,n.child,r);else if(32&s){const a=Tu(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=xh(t,n);if(Array.isArray(a))r.push(...a);else{const u=bi(t[16]);gs(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class Ri{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return gs(n,t,n.firstChild,[])}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(bt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Nu(t,r),Go(n,r))}this._attachedToViewContainer=!1}_h(this._lView[1],this._lView)}onDestroy(t){!function Lp(e,t,n,r){const i=zp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Gp(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Ml(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){hs(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function X_(e,t){Ii(e,t,t[B],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t}}class _1 extends Ri{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;hs(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class xl extends Ai{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ee(t);return new Pi(n,this.ngModule)}}function Zp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class E1{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Mo(r);const i=this.injector.get(t,Xu,r);return i!==Xu||n===Xu?i:this.parentInjector.get(t,n,r)}}class Pi extends rp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function DE(e){return e.map(vE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Zp(this.componentDef.inputs)}get outputs(){return Zp(this.componentDef.outputs)}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof gn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new E1(t,o):t,a=s.get(op,null);if(null===a)throw new _(407,!1);const u=s.get(JC,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function XE(e,t,n){return e.selectRootElement(t,n===Ft.ShadowDom)}(l,r,this.componentDef.encapsulation):Pu(l,c,function C1(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Cl(0,null,null,1,0,null,null,null,null,null),p=cs(null,h,null,f,null,null,a,l,u,s,null);let g,y;su(p);try{const D=this.componentDef;let E,m=null;D.findHostDirectiveDefs?(E=[],m=new Map,D.findHostDirectiveDefs(D,E,m),E.push(D)):E=[D];const T=function S1(e,t){const n=e[1];return e[22]=t,Ar(n,22,2,"#host",null)}(p,d),K=function M1(e,t,n,r,i,o,s,a){const u=i[1];!function T1(e,t,n,r){for(const i of e)t.mergedAttrs=gi(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(ps(t,t.mergedAttrs,!0),null!==n&&Nh(r,n,t))}(r,e,t,s);const l=o.createRenderer(t,n),c=cs(i,kp(n),null,n.onPush?32:16,i[e.index],e,o,l,a||null,null,null);return u.firstCreatePass&&bl(u,e,r.length-1),fs(i,c),i[e.index]=c}(T,d,D,E,p,a,l);y=Xa(h,22),d&&function x1(e,t,n,r){if(r)cu(e,n,["ng-version",XC.full]);else{const{attrs:i,classes:o}=function wE(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!St(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&cu(e,n,i),o&&o.length>0&&Ph(e,n,o.join(" "))}}(l,D,d,r),void 0!==n&&function R1(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(y,this.ngContentSelectors,n),g=function A1(e,t,n,r,i,o){const s=Re(),a=i[1],u=st(s,i);Bp(a,i,s,n,null,r);for(let c=0;c<n.length;c++)Le(gr(i,a,s.directiveStart+c,s),i);Up(a,i,s),u&&Le(u,i);const l=gr(i,a,s.directiveStart+s.componentOffset,s);if(e[8]=i[8]=l,null!==o)for(const c of o)c(l,t);return Dl(a,s,e),l}(K,D,E,m,p,[P1]),vl(h,p,null)}finally{au()}return new I1(this.componentType,g,Ir(y,p),p,y)}}class I1 extends WC{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new _1(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;Al(o[1],o,i,t,n),$p(o,this._tNode.index)}}get injector(){return new mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function P1(){const e=Re();Lo(v()[1],e)}function je(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Zn(e,t,n,r,i,o,s,a){const u=v(),l=q(),c=e+22,d=l.firstCreatePass?function W1(e,t,n,r,i,o,s,a,u){const l=t.consts,c=Ar(t,e,4,s||null,fn(l,a));El(t,n,c,fn(l,u)),Lo(t,c);const d=c.tViews=Cl(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];kt(d,!1);const f=u[B].createComment("");Yo(l,u,f,d),Le(f,u),fs(u,u[c]=Hp(f,u,f,d)),Oo(d)&&wl(l,u,d),null!=s&&_l(u,d,a)}function wn(e){return function dr(e,t){return e[t]}(function Bw(){return k.lFrame.contextLView}(),22+e)}function _n(e,t,n){const r=v();return je(r,fr(),t)&&function ct(e,t,n,r,i,o,s,a){const u=st(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Al(e,n,c,r,i),No(t)&&$p(n,t.index)):3&t.type&&(r=function n1(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(u,r,i))}(q(),function fe(){const e=k.lFrame;return Xa(e.tView,e.selectedIndex)}(),r,e,t,r[B],n,!1),_n}function Ol(e,t,n,r,i){const s=i?"class":"style";Al(e,n,t.inputs[s],s,r)}function w(e,t,n,r){const i=v(),o=q(),s=22+e,a=i[B],u=i[s]=Pu(a,t,function Yw(){return k.lFrame.currentNamespace}()),l=o.firstCreatePass?function Z1(e,t,n,r,i,o,s){const a=t.consts,l=Ar(t,e,2,i,fn(a,o));return El(t,n,l,fn(a,s)),null!==l.attrs&&ps(l,l.attrs,!1),null!==l.mergedAttrs&&ps(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];return kt(l,!0),Nh(a,u,l),32!=(32&l.flags)&&Yo(o,i,u,l),0===function kw(){return k.lFrame.elementDepthCount}()&&Le(u,i),function Lw(){k.lFrame.elementDepthCount++}(),Oo(l)&&(wl(o,i,l),Dl(o,l,i)),null!==r&&_l(i,l),w}function I(){let e=Re();tu()?function nu(){k.lFrame.isParent=!1}():(e=e.parent,kt(e,!1));const t=e;!function jw(){k.lFrame.elementDepthCount--}();const n=q();return n.firstCreatePass&&(Lo(n,e),Za(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function t_(e){return 0!=(8&e.flags)}(t)&&Ol(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function n_(e){return 0!=(16&e.flags)}(t)&&Ol(n,t,v(),t.stylesWithoutHost,!1),I}function Z(e,t,n,r){return w(e,t,n,r),I(),Z}function vs(e){return!!e&&"function"==typeof e.then}const fg=function dg(e){return!!e&&"function"==typeof e.subscribe};function tn(e,t,n,r){const i=v(),o=q(),s=Re();return function pg(e,t,n,r,i,o,s){const a=Oo(r),l=e.firstCreatePass&&Gp(e),c=t[8],d=zp(t);let f=!0;if(3&r.type||s){const g=st(r,t),y=s?s(g):g,D=d.length,E=s?T=>s(Ie(T[r.index])):r.index;let m=null;if(!s&&a&&(m=function Y1(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=mg(r,t,c,o,!1);const T=n.listen(y,i,o);d.push(o,T),l&&l.push(i,E,D,D+1)}}else o=mg(r,t,c,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const K=t[p[y]][p[y+1]].subscribe(o),le=d.length;d.push(o,K),l&&l.push(i,r.index,le,-(le+1))}}}(o,i,i[B],s,e,t,r),tn}function gg(e,t,n,r){try{return!1!==n(r)}catch(i){return qp(e,i),!1}}function mg(e,t,n,r,i){return function o(s){if(s===Function)return r;Ml(e.componentOffset>-1?at(e.index,t):t);let u=gg(t,0,r,s),l=o.__ngNextListenerFn__;for(;l;)u=gg(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Q(e,t=""){const n=v(),r=q(),i=e+22,o=r.firstCreatePass?Ar(r,i,1,t,null):r.data[i],s=n[i]=function Ru(e,t){return e.createText(t)}(n[B],t);Yo(r,n,s,o),kt(o,!1)}function ws(e,t,n){const r=v(),i=function Rr(e,t,n,r){return je(e,fr(),n)?t+L(n)+r:j}(r,e,t,n);return i!==j&&en(r,He(),i),ws}const Br="en-US";let lm=Br;class Yn{}class Fm{}class km extends Yn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xl(this);const r=it(t);this._bootstrapComponents=Jt(r.bootstrap),this._r3Injector=yp(t,n,[{provide:Yn,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],re(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 Gl extends Fm{constructor(t){super(),this.moduleType=t}create(t){return new km(this.moduleType,t)}}class VI extends Yn{constructor(t,n,r){super(),this.componentFactoryResolver=new xl(this),this.instance=null;const i=new tp([...t,{provide:Yn,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],n||rs(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Is(e,t,n=null){return new VI(e,t,n).injector}let $I=(()=>{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=Kh(0,n.type),i=r.length>0?Is([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}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=F({token:e,providedIn:"environment",factory:()=>new e(M(gn))}),e})();function Lm(e){e.getStandaloneInjector=t=>t.get($I).getOrCreateStandaloneInjector(e)}function ql(e){return t=>{setTimeout(e,void 0,t)}}const We=class fS extends ft{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=ql(o),i&&(i=ql(i)),s&&(s=ql(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof tt&&t.add(a),a}};let nn=(()=>{class e{}return e.__NG_ELEMENT_ID__=mS,e})();const pS=nn,gS=class extends pS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=cs(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),vl(r,i,t),new Ri(i)}};function mS(){return function Ss(e,t){return 4&e.type?new gS(t,e,Ir(e,t)):null}(Re(),v())}let xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=yS,e})();function yS(){return function Km(e,t){let n;const r=t[e.index];if(bt(r))n=r;else{let i;if(8&e.type)i=Ie(r);else{const o=t[B];i=o.createComment("");const s=st(e,t);Hn(o,Qo(o,s),i,function sC(e,t){return e.nextSibling(t)}(o,s),!1)}t[e.index]=n=Hp(r,t,i,e),fs(t,n)}return new Qm(n,e,t)}(Re(),v())}const vS=xt,Qm=class extends vS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Uo(this._hostTNode,this._hostLView);if(kf(t)){const n=pr(t,this._hostLView),r=hr(t);return new mr(n[1].data[r+8],n)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ym(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=t.createEmbeddedView(n||{},o);return this.insert(s,i),s}createComponent(t,n,r,i,o){const s=t&&!function yi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const u=s?t:new Pi(ee(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule){const f=(s?l:this.parentInjector).get(gn,null);f&&(o=f)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(function Fw(e){return bt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Qm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function tC(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Zf(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function nC(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}(i,r,s,o);const a=ku(o,s),u=r[B],l=Qo(u,s[7]);return null!==l&&function J_(e,t,n,r,i,o){r[0]=i,r[6]=t,Ii(e,r,n,1,i,o)}(i,s[6],u,r,l,a),t.attachToViewContainerRef(),Zf(Ql(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ym(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Nu(this._lContainer,n);r&&(Go(Ql(this._lContainer),n),_h(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Nu(this._lContainer,n);return r&&null!=Go(Ql(this._lContainer),n)?new Ri(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ym(e){return e[8]}function Ql(e){return e[8]||(e[8]=[])}function Ts(...e){}const zi=new P("Application Initializer");let As=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ts,this.reject=Ts,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(vs(o))n.push(o);else if(fg(o)){const s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(M(zi,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Gi=new P("AppId",{providedIn:"root",factory:function by(){return`${oc()}${oc()}${oc()}`}});function oc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Iy=new P("Platform Initializer"),xs=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Sy=new P("appBootstrapListener");let ZS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const rn=new P("LocaleId",{providedIn:"root",factory:()=>te(rn,R.Optional|R.SkipSelf)||function QS(){return typeof $localize<"u"&&$localize.locale||Br}()});class KS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let sc=(()=>{class e{compileModuleSync(n){return new Gl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Jt(it(n).declarations).reduce((s,a)=>{const u=ee(a);return u&&s.push(new Pi(u)),s},[]);return new KS(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eM=(()=>Promise.resolve(0))();function ac(e){typeof Zone>"u"?eM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class me{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new We(!1),this.onMicrotaskEmpty=new We(!1),this.onStable=new We(!1),this.onError=new We(!1),typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function tM(){let e=ie.requestAnimationFrame,t=ie.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 iM(e){const t=()=>{!function rM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,lc(e),e.isCheckStableRunning=!0,uc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),lc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Ay(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),xy(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return Ay(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),xy(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,lc(e),uc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!me.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(me.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,nM,Ts,Ts);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nM={};function uc(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 lc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ay(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xy(e){e._nesting--,uc(e)}class oM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new We,this.onMicrotaskEmpty=new We,this.onStable=new We,this.onError=new We}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,i){return t.apply(n,r)}}const Ry=new P(""),Rs=new P("");let fc,cc=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fc||(function sM(e){fc=e}(i),i.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:()=>{me.assertNotInAngularZone(),ac(()=>{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())ac(()=>{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,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(M(me),M(dc),M(Rs))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})(),dc=(()=>{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 fc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Cn=null;const Py=new P("AllowMultipleToken"),hc=new P("PlatformDestroyListeners");class Ny{constructor(t,n){this.name=t,this.token=n}}function Fy(e,t,n=[]){const r=`Platform: ${t}`,i=new P(r);return(o=[])=>{let s=pc();if(!s||s.injector.get(Py,!1)){const a=[...n,...o,{provide:i,useValue:!0}];e?e(a):function lM(e){if(Cn&&!Cn.get(Py,!1))throw new _(400,!1);Cn=e;const t=e.get(Ly);(function Oy(e){const t=e.get(Iy,null);t&&t.forEach(n=>n())})(e)}(function ky(e=[],t){return yt.create({name:t,providers:[{provide:Qu,useValue:"platform"},{provide:hc,useValue:new Set([()=>Cn=null])},...e]})}(a,r))}return function dM(e){const t=pc();if(!t)throw new _(401,!1);return t}()}}function pc(){return Cn?.get(Ly)??null}let Ly=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Vy(e,t){let n;return n="noop"===e?new oM:("zone.js"===e?void 0:e)||new me(t),n}(r?.ngZone,function jy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:me,useValue:i}];return i.run(()=>{const s=yt.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Sr,null);if(!u)throw new _(402,!1);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Ps(this._modules,a),l.unsubscribe()})}),function $y(e,t,n){try{const r=n();return vs(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,i,()=>{const l=a.injector.get(As);return l.runInitializers(),l.donePromise.then(()=>(function cm(e){rt(e,"Expected localeId to be defined"),"string"==typeof e&&(lm=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(rn,Br)||Br),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=By({},r);return function aM(e,t,n){const r=new Gl(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Wi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new _(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 _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(hc,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)(M(yt))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function By(e,t){return Array.isArray(t)?t.reduce(By,e):{...e,...t}}let Wi=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,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 o=new de(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new de(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{me.assertNotInAngularZone(),ac(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=Na(o,s.pipe(function K0(e={}){const{connector:t=(()=>new ft),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{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 ve((g,y)=>{l++,!d&&!c&&f();const D=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Oa(p,i))}),D.subscribe(y),!s&&l>0&&(s=new ni({next:E=>D.next(E),error:E=>{d=!0,f(),a=Oa(h,n,E),D.error(E)},complete:()=>{c=!0,f(),a=Oa(h,r),D.complete()}}),ht(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof rp;if(!this._injector.get(As).done)throw!i&&function ar(e){const t=ee(e)||Oe(e)||Be(e);return null!==t&&t.standalone}(n),new _(405,false);let s;s=i?n:this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function uM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Yn),l=s.create(yt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Ry,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Ps(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new _(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;Ps(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sy,[]).concat(this._bootstrapListeners).forEach(i=>i(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),()=>Ps(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(M(me),M(gn),M(Sr))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ps(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let gc=(()=>{class e{}return e.__NG_ELEMENT_ID__=pM,e})();function pM(e){return function gM(e,t,n){if(No(e)&&!n){const r=at(e.index,t);return new Ri(r,r)}return 47&e.type?new Ri(t[16],t):null}(Re(),v(),16==(16&e))}const TM=Fy(null,"core",[]);let AM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(M(Wi))},e.\u0275mod=dn({type:e}),e.\u0275inj=Wt({}),e})(),ks=null;function En(){return ks}class PM{}const Ke=new P("DocumentToken");let _c=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return function NM(){return M(Jy)}()},providedIn:"platform"}),e})();const OM=new P("Location Initialized");let Jy=(()=>{class e extends _c{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return En().getBaseHref(this._doc)}onPopState(n){const r=En().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=En().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,i){Xy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){Xy()?this._history.replaceState(n,r,i):this.location.hash=i}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)(M(Ke))},e.\u0275prov=F({token:e,factory:function(){return function FM(){return new Jy(M(Ke))}()},providedIn:"platform"}),e})();function Xy(){return!!window.history.pushState}function Cc(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 ev(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 sn(e){return e&&"?"!==e[0]?"?"+e:e}let Jn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return te(nv)},providedIn:"root"}),e})();const tv=new P("appBaseHref");let nv=(()=>{class e extends Jn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??te(Ke).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 Cc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+sn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+sn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+sn(o));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)(M(_c),M(tv,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kM=(()=>{class e extends Jn{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=Cc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+sn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+sn(o));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)(M(_c),M(tv,8))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})(),Ec=(()=>{class e{constructor(n){this._subject=new We,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=ev(rv(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.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+sn(r))}normalize(n){return e.stripTrailingSlash(function jM(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,rv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+sn(r)),i)}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(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=sn,e.joinWithSlash=Cc,e.stripTrailingSlash=ev,e.\u0275fac=function(n){return new(n||e)(M(Jn))},e.\u0275prov=F({token:e,factory:function(){return function LM(){return new Ec(M(Jn))}()},providedIn:"root"}),e})();function rv(e){return e.replace(/\/index.html$/,"")}class Nc{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Ws=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)}_matchCase(n){const r=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(let r=0;r<this._defaultViews.length;r++)this._defaultViews[r].enforceState(n)}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$e({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),mv=(()=>{class e{constructor(n,r,i){this.ngSwitch=i,i._addCase(),this._view=new Nc(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(n){return new(n||e)(N(xt),N(nn),N(Ws,9))},e.\u0275dir=$e({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),yv=(()=>{class e{constructor(n,r,i){i._addDefault(new Nc(n,r))}}return e.\u0275fac=function(n){return new(n||e)(N(xt),N(nn),N(Ws,9))},e.\u0275dir=$e({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})(),tA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=dn({type:e}),e.\u0275inj=Wt({}),e})();const wv="browser";function _v(e){return e===wv}let oA=(()=>{class e{}return e.\u0275prov=F({token:e,providedIn:"root",factory:()=>new sA(M(Ke),window)}),e})();class sA{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 aA(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 i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=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,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Cv(this.window.history)||Cv(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 Cv(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class FA extends PM{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class jc extends FA{static makeCurrent(){!function RM(e){ks||(ks=e)}(new jc)}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 kA(){return Ki=Ki||document.querySelector("base"),Ki?Ki.getAttribute("href"):null}();return null==n?null:function LA(e){Zs=Zs||document.createElement("a"),Zs.setAttribute("href",e);const t=Zs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ki=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function _T(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let Zs,Ki=null;const Tv=new P("TRANSITION_ID"),VA=[{provide:zi,useFactory:function jA(e,t,n){return()=>{n.get(As).donePromise.then(()=>{const r=En(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[Tv,Ke,yt],multi:!0}];let BA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();const Qs=new P("EventManagerPlugins");let Ys=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];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)(M(Qs),M(me))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();class Av{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=En().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let xv=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})(),Ji=(()=>{class e extends xv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.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(Rv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Rv))}}return e.\u0275fac=function(n){return new(n||e)(M(Ke))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();function Rv(e){En().remove(e)}const Vc={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/"},$c=/%COMP%/g;function Ks(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ks(e,i,n):(i=i.replace($c,e),n.push(i))}return n}function Ov(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Bc=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Uc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Ft.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new qA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Ft.ShadowDom:return new ZA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ks(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(M(Ys),M(Ji),M(Gi))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();class Uc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Vc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(kv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(kv(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,i){if(i){n=i+":"+n;const o=Vc[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Vc[r];i?t.removeAttributeNS(i,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,i){i&(Ye.DashCase|Ye.Important)?t.style.setProperty(n,r,i&Ye.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ye.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,Ov(r)):this.eventManager.addEventListener(t,n,Ov(r))}}function kv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class qA extends Uc{constructor(t,n,r,i){super(t),this.component=r;const o=Ks(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function zA(e){return"_ngcontent-%COMP%".replace($c,e)}(i+"-"+r.id),this.hostAttr=function GA(e){return"_nghost-%COMP%".replace($c,e)}(i+"-"+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 ZA extends Uc{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ks(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[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 QA=(()=>{class e extends Av{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(M(Ke))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();const Lv=["alt","control","meta","shift"],YA={"\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"},KA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let JA=(()=>{class e extends Av{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>En().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Lv.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=YA[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Lv.forEach(s=>{s!==i&&(0,KA[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(M(Ke))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();const nx=Fy(TM,"browser",[{provide:xs,useValue:wv},{provide:Iy,useValue:function XA(){jc.makeCurrent()},multi:!0},{provide:Ke,useFactory:function tx(){return function pC(e){$u=e}(document),document},deps:[]}]),$v=new P(""),Bv=[{provide:Rs,useClass:class $A{addToWindow(t){ie.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},ie.getAllAngularTestabilities=()=>t.getAllTestabilities(),ie.getAllAngularRootElements=()=>t.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const i=ie.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?En().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ry,useClass:cc,deps:[me,dc,Rs]},{provide:cc,useClass:cc,deps:[me,dc,Rs]}],Uv=[{provide:Qu,useValue:"root"},{provide:Sr,useFactory:function ex(){return new Sr},deps:[]},{provide:Qs,useClass:QA,multi:!0,deps:[Ke,me,xs]},{provide:Qs,useClass:JA,multi:!0,deps:[Ke]},{provide:Bc,useClass:Bc,deps:[Ys,Ji,Gi]},{provide:op,useExisting:Bc},{provide:xv,useExisting:Ji},{provide:Ji,useClass:Ji,deps:[Ke]},{provide:Ys,useClass:Ys,deps:[Qs,me]},{provide:class uA{},useClass:BA,deps:[]},[]];let rx=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Gi,useValue:n.appId},{provide:Tv,useExisting:Gi},VA]}}}return e.\u0275fac=function(n){return new(n||e)(M($v,12))},e.\u0275mod=dn({type:e}),e.\u0275inj=Wt({providers:[...Uv,...Bv],imports:[tA,AM]}),e})(),Hv=(()=>{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)(M(Ke))},e.\u0275prov=F({token:e,factory:function(n){let r=null;return r=n?new n:function ox(){return new Hv(M(Ke))}(),r},providedIn:"root"}),e})();function S(...e){return be(e,ri(e))}typeof window<"u"&&window;class Ot extends ft{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 Js=ti(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:hx}=Array,{getPrototypeOf:px,prototype:gx,keys:mx}=Object;const{isArray:Dx}=Array;function Wv(e){return V(t=>function wx(e,t){return Dx(t)?e(...t):e(t)}(e,t))}function qv(...e){const t=ri(e),n=function H0(e){return W(Pa(e))?e.pop():void 0}(e),{args:r,keys:i}=function yx(e){if(1===e.length){const t=e[0];if(hx(t))return{args:t,keys:null};if(function vx(e){return e&&"object"==typeof e&&px(e)===gx}(t)){const n=mx(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return be([],t);const o=new de(function Cx(e,t,n=Rn){return r=>{Zv(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u<i;u++)Zv(t,()=>{const l=be(e[u],t);let c=!1;l.subscribe(Ce(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function _x(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):Rn));return n?o.pipe(Wv(n)):o}function Zv(e,t,n){e?Ht(n,e,t):t()}function Xi(...e){return function Ex(){return or(1)}()(be(e,ri(e)))}function Xs(e){return new de(t=>{ht(e()).subscribe(t)})}function zr(e,t){const n=W(e)?e:()=>e,r=i=>i.error(n());return new de(t?i=>t.schedule(r,0,i):r)}function Gc(){return ve((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 i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class Wc extends de{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,jd(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 Gc()(this)}}function Xe(e,t){return ve((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(Ce(r,u=>{i?.unsubscribe();let l=0;const c=o++;ht(e(u,c)).subscribe(i=Ce(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function dt(e){return e<=0?()=>zt:ve((t,n)=>{let r=0;t.subscribe(Ce(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function et(e,t){return ve((n,r)=>{let i=0;n.subscribe(Ce(r,o=>e.call(t,o,i++)&&r.next(o)))})}function ea(e){return ve((t,n)=>{let r=!1;t.subscribe(Ce(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function Qv(e=Ix){return ve((t,n)=>{let r=!1;t.subscribe(Ce(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function Ix(){return new Js}function In(e,t){const n=arguments.length>=2;return r=>r.pipe(e?et((i,o)=>e(i,o,r)):Rn,dt(1),n?ea(t):Qv(()=>new Js))}function Xn(e,t){return W(t)?Ee(e,t,1):Ee(e,1)}function Pe(e,t,n){const r=W(e)||t||n?{next:e,error:t,complete:n}:e;return r?ve((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Ce(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.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)}))}):Rn}function Sn(e){return ve((t,n)=>{let o,r=null,i=!1;r=t.subscribe(Ce(n,void 0,void 0,s=>{o=ht(e(s,Sn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Sx(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(Ce(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Yv(e,t){return ve(Sx(e,t,arguments.length>=2,!0))}function qc(e){return e<=0?()=>zt:ve((t,n)=>{let r=[];t.subscribe(Ce(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Kv(e,t){const n=arguments.length>=2;return r=>r.pipe(e?et((i,o)=>e(i,o,r)):Rn,qc(1),n?ea(t):Qv(()=>new Js))}function Jv(e){return V(()=>e)}function Zc(e){return ve((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const H="primary",eo=Symbol("RouteTitle");class Tx{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 Gr(e){return new Tx(e)}function Ax(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 i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Ut(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 i;for(let o=0;o<n.length;o++)if(i=n[o],!Xv(e[i],t[i]))return!1;return!0}function Xv(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((i,o)=>r[o]===i)}return e===t}function eD(e){return Array.prototype.concat.apply([],e)}function tD(e){return e.length>0?e[e.length-1]:null}function Ne(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Mn(e){return fg(e)?e:vs(e)?be(Promise.resolve(e)):S(e)}const ta=!1,Rx={exact:function iD(e,t,n){if(!tr(e.segments,t.segments)||!na(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!iD(e.children[r],t.children[r],n))return!1;return!0},subset:oD},nD={exact:function Px(e,t){return Ut(e,t)},subset:function Nx(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Xv(e[n],t[n]))},ignored:()=>!0};function rD(e,t,n){return Rx[n.paths](e.root,t.root,n.matrixParams)&&nD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function oD(e,t,n){return sD(e,t,t.segments,n)}function sD(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!tr(i,n)||t.hasChildren()||!na(i,n,r))}if(e.segments.length===n.length){if(!tr(e.segments,n)||!na(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!oD(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(tr(e.segments,i)&&na(e.segments,i,r)&&e.children[H])&&sD(e.children[H],t,o,r)}}function na(e,t,n){return t.every((r,i)=>nD[n](e[i].parameters,r.parameters))}class er{constructor(t=new z([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gr(this.queryParams)),this._queryParamMap}toString(){return kx.serialize(this)}}class z{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ne(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ra(this)}}class to{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Gr(this.parameters)),this._parameterMap}toString(){return cD(this)}}function tr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let aD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return new Qc},providedIn:"root"}),e})();class Qc{parse(t){const n=new Gx(t);return new er(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${no(t.root,!0)}`,r=function Vx(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${ia(n)}=${ia(i)}`).join("&"):`${ia(n)}=${ia(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function Lx(e){return encodeURI(e)}(t.fragment)}`:""}`}}const kx=new Qc;function ra(e){return e.segments.map(t=>cD(t)).join("/")}function no(e,t){if(!e.hasChildren())return ra(e);if(t){const n=e.children[H]?no(e.children[H],!1):"",r=[];return Ne(e.children,(i,o)=>{o!==H&&r.push(`${o}:${no(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function Fx(e,t){let n=[];return Ne(e.children,(r,i)=>{i===H&&(n=n.concat(t(r,i)))}),Ne(e.children,(r,i)=>{i!==H&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===H?[no(e.children[H],!1)]:[`${i}:${no(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${ra(e)}/${n[0]}`:`${ra(e)}/(${n.join("//")})`}}function uD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ia(e){return uD(e).replace(/%3B/gi,";")}function Yc(e){return uD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oa(e){return decodeURIComponent(e)}function lD(e){return oa(e.replace(/\+/g,"%20"))}function cD(e){return`${Yc(e.path)}${function jx(e){return Object.keys(e).map(t=>`;${Yc(t)}=${Yc(e[t])}`).join("")}(e.parameters)}`}const $x=/^[^\/()?;=#]+/;function sa(e){const t=e.match($x);return t?t[0]:""}const Bx=/^[^=?&#]+/,Hx=/^[^&#]+/;class Gx{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],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[H]=new z(t,n)),r}parseSegment(){const t=sa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new _(4009,ta);return this.capture(t),new to(oa(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=sa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=sa(this.remaining);i&&(r=i,this.capture(r))}t[oa(n)]=oa(r)}parseQueryParam(t){const n=function Ux(e){const t=e.match(Bx);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function zx(e){const t=e.match(Hx);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=lD(n),o=lD(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=sa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new _(4010,ta);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=H);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[H]:new z([],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 _(4011,ta)}}function Kc(e){return e.segments.length>0?new z([],{[H]:e}):e}function aa(e){const t={};for(const r of Object.keys(e.children)){const o=aa(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function Wx(e){if(1===e.numberOfChildren&&e.children[H]){const t=e.children[H];return new z(e.segments.concat(t.segments),t.children)}return e}(new z(e.segments,t))}function nr(e){return e instanceof er}function Qx(e,t,n,r,i){if(0===n.length)return Wr(t.root,t.root,t.root,r,i);const o=function hD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new fD(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Ne(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new fD(n,t,r)}(n);return o.toRoot()?Wr(t.root,t.root,new z([],{}),r,i):function s(u){const l=function Kx(e,t,n,r){if(e.isAbsolute)return new qr(t.root,!0,0);if(-1===r)return new qr(n,n===t.root,0);return function pD(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _(4005,!1);i=r.segments.length}return new qr(r,!1,i-o)}(n,r+(ro(e.commands[0])?0:1),e.numberOfDoubleDots)}(o,t,e.snapshot?._urlSegment,u),c=l.processChildren?oo(l.segmentGroup,l.index,o.commands):Xc(l.segmentGroup,l.index,o.commands);return Wr(t.root,l.segmentGroup,c,r,i)}(e.snapshot?._lastPathIndex)}function ro(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function io(e){return"object"==typeof e&&null!=e&&e.outlets}function Wr(e,t,n,r,i){let s,o={};r&&Ne(r,(u,l)=>{o[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:dD(e,t,n);const a=Kc(aa(s));return new er(a,o,i)}function dD(e,t,n){const r={};return Ne(e.children,(i,o)=>{r[o]=i===t?n:dD(i,t,n)}),new z(e.segments,r)}class fD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ro(r[0]))throw new _(4003,!1);const i=r.find(io);if(i&&i!==tD(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qr{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Xc(e,t,n){if(e||(e=new z([],{})),0===e.segments.length&&e.hasChildren())return oo(e,t,n);const r=function Xx(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(io(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!mD(u,l,s))return o;r+=2}else{if(!mD(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new z(e.segments.slice(0,r.pathIndex),{});return o.children[H]=new z(e.segments.slice(r.pathIndex),e.children),oo(o,0,i)}return r.match&&0===i.length?new z(e.segments,{}):r.match&&!e.hasChildren()?ed(e,t,n):r.match?oo(e,0,i):ed(e,t,n)}function oo(e,t,n){if(0===n.length)return new z(e.segments,{});{const r=function Jx(e){return io(e[0])?e[0].outlets:{[H]:e}}(n),i={};return Ne(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=Xc(e.children[s],t,o))}),Ne(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new z(e.segments,i)}}function ed(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(io(o)){const u=eR(o.outlets);return new z(r,u)}if(0===i&&ro(n[0])){r.push(new to(e.segments[t].path,gD(n[0]))),i++;continue}const s=io(o)?o.outlets[H]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&ro(a)?(r.push(new to(s,gD(a))),i+=2):(r.push(new to(s,{})),i++)}return new z(r,{})}function eR(e){const t={};return Ne(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=ed(new z([],{}),0,n))}),t}function gD(e){const t={};return Ne(e,(n,r)=>t[r]=`${n}`),t}function mD(e,t,n){return e==n.path&&Ut(t,n.parameters)}class un{constructor(t,n){this.id=t,this.url=n}}class td extends un{constructor(t,n,r="imperative",i=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rr extends un{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 ua extends un{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yD extends un{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tR extends un{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nR extends un{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rR extends un{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class iR extends un{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oR extends un{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sR{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class aR{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class uR{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lR{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cR{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dR{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class DD{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=nd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=nd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=rd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return rd(t,this._root).map(n=>n.value)}}function nd(e,t){if(e===t.value)return t;for(const n of t.children){const r=nd(e,n);if(r)return r}return null}function rd(e,t){if(e===t.value)return[t];for(const n of t.children){const r=rd(e,n);if(r.length)return r.unshift(t),r}return[]}class ln{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Zr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class wD extends DD{constructor(t,n){super(t),this.snapshot=n,id(this,t)}toString(){return this.snapshot.toString()}}function _D(e,t){const n=function hR(e,t){const s=new la([],{},{},"",{},H,t,null,e.root,-1,{});return new ED("",new ln(s,[]))}(e,t),r=new Ot([new to("",{})]),i=new Ot({}),o=new Ot({}),s=new Ot({}),a=new Ot(""),u=new Qr(r,i,s,a,o,H,t,n.root);return u.snapshot=n.root,new wD(new ln(u,[]),n)}class Qr{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(V(l=>l[eo]))??S(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(V(t=>Gr(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(V(t=>Gr(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function CD(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function pR(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 la{constructor(t,n,r,i,o,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get title(){return this.data?.[eo]}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=Gr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ED extends DD{constructor(t,n){super(n),this.url=t,id(this,n)}toString(){return bD(this._root)}}function id(e,t){t.value._routerState=e,t.children.forEach(n=>id(e,n))}function bD(e){const t=e.children.length>0?` { ${e.children.map(bD).join(", ")} } `:"";return`${e.value}${t}`}function od(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ut(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ut(t.params,n.params)||e.params.next(n.params),function xx(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ut(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ut(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function sd(e,t){const n=Ut(e.params,t.params)&&function Ox(e,t){return tr(e,t)&&e.every((n,r)=>Ut(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||sd(e.parent,t.parent))}function so(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function mR(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return so(e,r,i);return so(e,r)})}(e,t,n);return new ln(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>so(e,a)),s}}const r=function yR(e){return new Qr(new Ot(e.url),new Ot(e.params),new Ot(e.queryParams),new Ot(e.fragment),new Ot(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>so(e,o));return new ln(r,i)}}const ad="ngNavigationCancelingError";function ID(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=nr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=SD(!1,0,t);return i.url=n,i.navigationBehaviorOptions=r,i}function SD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[ad]=!0,r.cancellationCode=t,n&&(r.url=n),r}function MD(e){return TD(e)&&nr(e.url)}function TD(e){return e&&e[ad]}class vR{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ao,this.attachRef=null}}let ao=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}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 vR,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=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ca=!1;let ud=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new We,this.deactivateEvents=new We,this.attachEvents=new We,this.detachEvents=new We,this.parentContexts=te(ao),this.location=te(xt),this.changeDetector=te(gc),this.environmentInjector=te(gn)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 _(4012,ca);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,ca);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,ca);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 _(4013,ca);this._activatedRoute=n;const i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new DR(n,a,i.injector);if(r&&function wR(e){return!!e.resolveComponentFactory}(r)){const l=r.resolveComponentFactory(s);this.activated=i.createComponent(l,i.length,u)}else this.activated=i.createComponent(s,{index:i.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=$e({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jn]}),e})();class DR{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Qr?this.route:t===ao?this.childContexts:this.parent.get(t,n)}}let ld=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ao({type:e,selectors:[["ng-component"]],standalone:!0,features:[Lm],decls:1,vars:0,template:function(n,r){1&n&&Z(0,"router-outlet")},dependencies:[ud],encapsulation:2}),e})();function AD(e,t){return e.providers&&!e._injector&&(e._injector=Is(e.providers,t,`Route: ${e.path}`)),e._injector??t}function dd(e){const t=e.children&&e.children.map(dd),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==H&&(n.component=ld),n}function _t(e){return e.outlet||H}function xD(e,t){const n=e.filter(r=>_t(r)===t);return n.push(...e.filter(r=>_t(r)!==t)),n}function uo(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 IR{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),od(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=Zr(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Ne(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&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),i=r&&t.value.component?r.children:n,o=Zr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);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),i=r&&t.value.component?r.children:n,o=Zr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=Zr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new dR(o.value.snapshot))}),t.children.length&&this.forwardEvent(new lR(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(od(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),od(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=uo(i.snapshot),u=a?.get(Ai)??null;s.attachRef=null,s.route=i,s.resolver=u,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class RD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class da{constructor(t,n){this.component=t,this.route=n}}function SR(e,t,n){const r=e._root;return lo(r,t?t._root:null,n,[r.value])}function Yr(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function iw(e){return null!==bo(e)}(e)?t.get(e):e:r}function lo(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Zr(t);return e.children.forEach(s=>{(function TR(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function AR(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!tr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!tr(e.url,t.url)||!Ut(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sd(e,t)||!Ut(e.queryParams,t.queryParams);default:return!sd(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new RD(r)):(o.data=s.data,o._resolvedData=s._resolvedData),lo(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new da(a.outlet.component,s))}else s&&co(t,a,i),i.canActivateChecks.push(new RD(r)),lo(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Ne(o,(s,a)=>co(s,n.getContext(a),i)),i}function co(e,t,n){const r=Zr(e),i=e.value;Ne(r,(o,s)=>{co(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new da(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function fo(e){return"function"==typeof e}function fd(e){return e instanceof Js||"EmptyError"===e?.name}const fa=Symbol("INITIAL_VALUE");function Kr(){return Xe(e=>qv(e.map(t=>t.pipe(dt(1),function bx(...e){const t=ri(e);return ve((n,r)=>{(t?Xi(e,n,t):Xi(e,n)).subscribe(r)})}(fa)))).pipe(V(t=>{for(const n of t)if(!0!==n){if(n===fa)return fa;if(!1===n||n instanceof er)return n}return!0}),et(t=>t!==fa),dt(1)))}function PD(e){return function b0(...e){return Fd(e)}(Pe(t=>{if(nr(t))throw ID(0,t)}),V(t=>!0===t))}const hd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ND(e,t,n,r,i){const o=pd(e,t,n);return o.matched?function WR(e,t,n,r){const i=t.canMatch;return i&&0!==i.length?S(i.map(s=>{const a=Yr(s,e);return Mn(function FR(e){return e&&fo(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Kr(),PD()):S(!0)}(r=AD(t,r),t,n).pipe(V(s=>!0===s?o:{...hd})):S(o)}function pd(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...hd}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||Ax)(n,e,t);if(!i)return{...hd};const o={};Ne(i.posParams,(a,u)=>{o[u]=a.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ha(e,t,n,r){if(n.length>0&&function QR(e,t,n){return n.some(r=>pa(e,t,r)&&_t(r)!==H)}(e,n,r)){const o=new z(t,function ZR(e,t,n,r){const i={};i[H]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&_t(o)!==H){const s=new z([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[_t(o)]=s}return i}(e,t,r,new z(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function YR(e,t,n){return n.some(r=>pa(e,t,r))}(e,n,r)){const o=new z(e.segments,function qR(e,t,n,r,i){const o={};for(const s of r)if(pa(e,n,s)&&!i[_t(s)]){const a=new z([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,o[_t(s)]=a}return{...i,...o}}(e,t,n,r,e.children));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const i=new z(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function pa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function OD(e,t,n,r){return!!(_t(e)===r||r!==H&&pa(t,n,e))&&("**"===e.path||pd(t,e,n).matched)}function FD(e,t,n){return 0===t.length&&!e.children[n]}const ga=!1;class ma{constructor(t){this.segmentGroup=t||null}}class kD{constructor(t){this.urlTree=t}}function ho(e){return zr(new ma(e))}function LD(e){return zr(new kD(e))}class eP{constructor(t,n,r,i,o){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0}apply(){const t=ha(this.urlTree.root,[],[],this.config).segmentGroup,n=new z(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,H).pipe(V(o=>this.createUrlTree(aa(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Sn(o=>{if(o instanceof kD)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ma?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,H).pipe(V(i=>this.createUrlTree(aa(i),t.queryParams,t.fragment))).pipe(Sn(i=>{throw i instanceof ma?this.noMatchError(i):i}))}noMatchError(t){return new _(4002,ga)}createUrlTree(t,n,r){const i=Kc(t);return new er(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(V(o=>new z([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return be(i).pipe(Xn(o=>{const s=r.children[o],a=xD(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(V(u=>({segment:u,outlet:o})))}),Yv((o,s)=>(o[s.outlet]=s.segment,o),{}),Kv())}expandSegment(t,n,r,i,o,s){return be(r).pipe(Xn(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(Sn(l=>{if(l instanceof ma)return S(null);throw l}))),In(a=>!!a),Sn((a,u)=>{if(fd(a))return FD(n,i,o)?S(new z([],{})):ho(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return OD(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):ho(n):ho(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?LD(o):this.lineralizeSegments(r,o).pipe(Ee(s=>{const a=new z(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=pd(n,i,o);if(!a)return ho(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?LD(d):this.lineralizeSegments(i,d).pipe(Ee(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){return"**"===r.path?(t=AD(r,t),r.loadChildren?(r._loadedRoutes?S({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(V(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new z(i,{})))):S(new z(i,{}))):ND(n,r,i,t).pipe(Xe(({matched:s,consumedSegments:a,remainingSegments:u})=>s?this.getChildConfig(t=r._injector??t,r,i).pipe(Ee(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=ha(n,a,u,f),g=new z(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(V(m=>new z(a,m)));if(0===f.length&&0===p.length)return S(new z(a,{}));const y=_t(r)===o;return this.expandSegment(d,g,f,p,y?H:o,!0).pipe(V(E=>new z(a.concat(E.segments),E.children)))})):ho(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?S({routes:n._loadedRoutes,injector:n._loadedInjector}):function GR(e,t,n,r){const i=t.canLoad;return void 0===i||0===i.length?S(!0):S(i.map(s=>{const a=Yr(s,e);return Mn(function RR(e){return e&&fo(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Kr(),PD())}(t,n,r).pipe(Ee(i=>i?this.configLoader.loadChildren(t,n).pipe(Pe(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):function JR(e){return zr(SD(ga,3))}())):S({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return S(r);if(i.numberOfChildren>1||!i.children[H])return zr(new _(4e3,ga));i=i.children[H]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new er(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ne(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Ne(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new z(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new _(4001,ga);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}class nP{}class oP{constructor(t,n,r,i,o,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=ha(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,H).pipe(V(n=>{if(null===n)return null;const r=new la([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ln(r,n),o=new ED(this.url,i);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const n=t.value,r=CD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,i)}processChildren(t,n,r){return be(Object.keys(r.children)).pipe(Xn(i=>{const o=r.children[i],s=xD(n,i);return this.processSegmentGroup(t,s,o,i)}),Yv((i,o)=>i&&o?(i.push(...o),i):null),function Mx(e,t=!1){return ve((n,r)=>{let i=0;n.subscribe(Ce(r,o=>{const s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}(i=>null!==i),ea(null),Kv(),V(i=>{if(null===i)return null;const o=VD(i);return function sP(e){e.sort((t,n)=>t.value.outlet===H?-1:n.value.outlet===H?1:t.value.outlet.localeCompare(n.value.outlet))}(o),o}))}processSegment(t,n,r,i,o){return be(n).pipe(Xn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,i,o)),In(s=>!!s),Sn(s=>{if(fd(s))return FD(r,i,o)?S([]):S(null);throw s}))}processSegmentAgainstRoute(t,n,r,i,o){if(n.redirectTo||!OD(n,r,i,o))return S(null);let s;if("**"===n.path){const a=i.length>0?tD(i).parameters:{},u=BD(r)+i.length;s=S({snapshot:new la(i,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,UD(n),_t(n),n.component??n._loadedComponent??null,n,$D(r),u,HD(n)),consumedSegments:[],remainingSegments:[]})}else s=ND(r,n,i,t).pipe(V(({matched:a,consumedSegments:u,remainingSegments:l,parameters:c})=>{if(!a)return null;const d=BD(r)+u.length;return{snapshot:new la(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,UD(n),_t(n),n.component??n._loadedComponent??null,n,$D(r),d,HD(n)),consumedSegments:u,remainingSegments:l}}));return s.pipe(Xe(a=>{if(null===a)return S(null);const{snapshot:u,consumedSegments:l,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function aP(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=ha(r,l,c,f.filter(y=>void 0===y.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(V(y=>null===y?null:[new ln(u,y)]));if(0===f.length&&0===p.length)return S([new ln(u,[])]);const g=_t(n)===o;return this.processSegment(d,f,h,p,g?H:o).pipe(V(y=>null===y?null:[new ln(u,y)]))}))}}function uP(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function VD(e){const t=[],n=new Set;for(const r of e){if(!uP(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=VD(r.children);t.push(new ln(r.value,i))}return t.filter(r=>!n.has(r))}function $D(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function BD(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function UD(e){return e.data||{}}function HD(e){return e.resolve||{}}function zD(e){return"string"==typeof e.title||null===e.title}function gd(e){return Xe(t=>{const n=e(t);return n?be(n).pipe(V(()=>t)):S(t)})}class mP{constructor(t){this.router=t,this.currentNavigation=null}setupNavigations(t){const n=this.router.events;return t.pipe(et(r=>0!==r.id),V(r=>({...r,extractedUrl:this.router.urlHandlingStrategy.extract(r.rawUrl)})),Xe(r=>{let i=!1,o=!1;return S(r).pipe(Pe(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.router.lastSuccessfulNavigation?{...this.router.lastSuccessfulNavigation,previousNavigation:null}:null}}),Xe(s=>{const a=this.router.browserUrlTree.toString(),u=!this.router.navigated||s.extractedUrl.toString()!==a||a!==this.router.currentUrlTree.toString();if(("reload"===this.router.onSameUrlNavigation||u)&&this.router.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return WD(s.source)&&(this.router.browserUrlTree=s.extractedUrl),S(s).pipe(Xe(c=>{const d=this.router.transitions.getValue();return n.next(new td(c.id,this.router.serializeUrl(c.extractedUrl),c.source,c.restoredState)),d!==this.router.transitions.getValue()?zt:Promise.resolve(c)}),function tP(e,t,n,r){return Xe(i=>function XR(e,t,n,r,i){return new eP(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(V(o=>({...i,urlAfterRedirects:o}))))}(this.router.ngModule.injector,this.router.configLoader,this.router.urlSerializer,this.router.config),Pe(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function cP(e,t,n,r,i){return Ee(o=>function iP(e,t,n,r,i,o,s="emptyOnly"){return new oP(e,t,n,r,i,s,o).recognize().pipe(Xe(a=>null===a?function rP(e){return new de(t=>t.error(e))}(new nP):S(a)))}(e,t,n,o.urlAfterRedirects,r.serialize(o.urlAfterRedirects),r,i).pipe(V(s=>({...o,targetSnapshot:s}))))}(this.router.ngModule.injector,this.router.rootComponentType,this.router.config,this.router.urlSerializer,this.router.paramsInheritanceStrategy),Pe(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===this.router.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=this.router.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);this.router.setBrowserUrl(f,c)}this.router.browserUrlTree=c.urlAfterRedirects}const d=new tR(c.id,this.router.serializeUrl(c.extractedUrl),this.router.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);n.next(d)}));if(u&&this.router.rawUrlTree&&this.router.urlHandlingStrategy.shouldProcessUrl(this.router.rawUrlTree)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=s,y=new td(d,this.router.serializeUrl(f),h,p);n.next(y);const D=_D(f,this.router.rootComponentType).snapshot;return S(r={...s,targetSnapshot:D,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}})}return this.router.rawUrlTree=s.rawUrl,s.resolve(null),zt}),Pe(s=>{const a=new nR(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.router.triggerEvent(a)}),V(s=>r={...s,guards:SR(s.targetSnapshot,s.currentSnapshot,this.router.rootContexts)}),function LR(e,t){return Ee(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?S({...n,guardsResult:!0}):function jR(e,t,n,r){return be(e).pipe(Ee(i=>function zR(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?S(o.map(a=>{const u=uo(t)??i,l=Yr(a,u);return Mn(function OR(e){return e&&fo(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(In())})).pipe(Kr()):S(!0)}(i.component,i.route,n,t,r)),In(i=>!0!==i,!0))}(s,r,i,e).pipe(Ee(a=>a&&function xR(e){return"boolean"==typeof e}(a)?function VR(e,t,n,r){return be(t).pipe(Xn(i=>Xi(function BR(e,t){return null!==e&&t&&t(new uR(e)),S(!0)}(i.route.parent,r),function $R(e,t){return null!==e&&t&&t(new cR(e)),S(!0)}(i.route,r),function HR(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function MR(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=>Xs(()=>S(s.guards.map(u=>{const l=uo(s.node)??n,c=Yr(u,l);return Mn(function NR(e){return e&&fo(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(In())})).pipe(Kr())));return S(o).pipe(Kr())}(e,i.path,n),function UR(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return S(!0);const i=r.map(o=>Xs(()=>{const s=uo(t)??n,a=Yr(o,s);return Mn(function PR(e){return e&&fo(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(In())}));return S(i).pipe(Kr())}(e,i.route,n))),In(i=>!0!==i,!0))}(r,o,e,t):S(a)),V(a=>({...n,guardsResult:a})))})}(this.router.ngModule.injector,s=>this.router.triggerEvent(s)),Pe(s=>{if(r.guardsResult=s.guardsResult,nr(s.guardsResult))throw ID(0,s.guardsResult);const a=new rR(s.id,this.router.serializeUrl(s.extractedUrl),this.router.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.router.triggerEvent(a)}),et(s=>!!s.guardsResult||(this.router.restoreHistory(s),this.router.cancelNavigationTransition(s,"",3),!1)),gd(s=>{if(s.guards.canActivateChecks.length)return S(s).pipe(Pe(a=>{const u=new iR(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(u)}),Xe(a=>{let u=!1;return S(a).pipe(function dP(e,t){return Ee(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return S(n);let o=0;return be(i).pipe(Xn(s=>function fP(e,t,n,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!zD(i)&&(o[eo]=i.title),function hP(e,t,n,r){const i=function pP(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return S({});const o={};return be(i).pipe(Ee(s=>function gP(e,t,n,r){const i=uo(t)??r,o=Yr(e,i);return Mn(o.resolve?o.resolve(t,n):i.runInContext(()=>o(t,n)))}(e[s],t,n,r).pipe(In(),Pe(a=>{o[s]=a}))),qc(1),Jv(o),Sn(s=>fd(s)?zt:zr(s)))}(o,e,t,r).pipe(V(s=>(e._resolvedData=s,e.data=CD(e,n).resolve,i&&zD(i)&&(e.data[eo]=i.title),null)))}(s.route,r,e,t)),Pe(()=>o++),qc(1),Ee(s=>o===i.length?S(n):zt))})}(this.router.paramsInheritanceStrategy,this.router.ngModule.injector),Pe({next:()=>u=!0,complete:()=>{u||(this.router.restoreHistory(a),this.router.cancelNavigationTransition(a,"",2))}}))}),Pe(a=>{const u=new oR(a.id,this.router.serializeUrl(a.extractedUrl),this.router.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.router.triggerEvent(u)}))}),gd(s=>{const a=u=>{const l=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&l.push(this.router.configLoader.loadComponent(u.routeConfig).pipe(Pe(c=>{u.component=c}),V(()=>{})));for(const c of u.children)l.push(...a(c));return l};return qv(a(s.targetSnapshot.root)).pipe(ea(),dt(1))}),gd(()=>this.router.afterPreactivation()),V(s=>{const a=function gR(e,t,n){const r=so(e,t._root,n?n._root:void 0);return new wD(r,t)}(this.router.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Pe(s=>{this.router.currentUrlTree=s.urlAfterRedirects,this.router.rawUrlTree=this.router.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.router.routerState=s.targetRouterState,"deferred"===this.router.urlUpdateStrategy&&(s.extras.skipLocationChange||this.router.setBrowserUrl(this.router.rawUrlTree,s),this.router.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>V(r=>(new IR(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.router.rootContexts,this.router.routeReuseStrategy,s=>this.router.triggerEvent(s)),Pe({next(){i=!0},complete(){i=!0}}),Zc(()=>{i||o||this.router.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Sn(s=>{if(o=!0,TD(s)){MD(s)||(this.router.navigated=!0,this.router.restoreHistory(r,!0));const a=new ua(r.id,this.router.serializeUrl(r.extractedUrl),s.message,s.cancellationCode);if(n.next(a),MD(s)){const u=this.router.urlHandlingStrategy.merge(s.url,this.router.rawUrlTree),l={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.router.urlUpdateStrategy||WD(r.source)};this.router.scheduleNavigation(u,"imperative",null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.router.restoreHistory(r,!0);const a=new yD(r.id,this.router.serializeUrl(r.extractedUrl),s,r.targetSnapshot??void 0);n.next(a);try{r.resolve(this.router.errorHandler(s))}catch(u){r.reject(u)}}return zt}))}))}}function WD(e){return"imperative"!==e}let qD=(()=>{class e{buildTitle(n){let r,i=n.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===H);return r}getResolvedTitleForRoute(n){return n.data[eo]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return te(yP)},providedIn:"root"}),e})(),yP=(()=>{class e extends qD{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)(M(Hv))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return te(wP)},providedIn:"root"}),e})();class DP{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let wP=(()=>{class e extends DP{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Gf(e){return cn(()=>{const t=e.prototype.constructor,n=t[Zt]||gu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Zt]||gu(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(e)))(r||e)}}(),e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ya=new P("",{providedIn:"root",factory:()=>({})}),Jr=new P("ROUTES");let md=(()=>{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 S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Mn(n.loadComponent()).pipe(V(QD),Pe(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Zc(()=>{this.componentLoaders.delete(n)})),i=new Wc(r,()=>new ft).pipe(Gc());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(V(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l,c=!1;Array.isArray(a)?l=a:(u=a.create(n).injector,l=eD(u.get(Jr,[],R.Self|R.Optional)));return{routes:l.map(dd),injector:u}}),Zc(()=>{this.childrenLoaders.delete(r)})),s=new Wc(o,()=>new ft).pipe(Gc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Mn(n()).pipe(V(QD),Ee(i=>i instanceof Fm||Array.isArray(i)?S(i):be(this.compiler.compileModuleAsync(i))))}}return e.\u0275fac=function(n){return new(n||e)(M(yt),M(sc))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function QD(e){return function EP(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let bP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=F({token:e,factory:function(){return te(IP)},providedIn:"root"}),e})(),IP=(()=>{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=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function SP(e){throw e}function MP(e,t,n){return t.parse("/")}const TP={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},AP={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function KD(){const e=te(aD),t=te(ao),n=te(Ec),r=te(yt),i=te(sc),o=te(Jr,{optional:!0})??[],s=te(ya,{optional:!0})??{},a=new Ve(null,e,t,n,r,i,eD(o));return function xP(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,a),a}let Ve=(()=>{class e{constructor(n,r,i,o,s,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ft,this.errorHandler=SP,this.malformedUriErrorHandler=MP,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>S(void 0),this.urlHandlingStrategy=te(bP),this.routeReuseStrategy=te(vP),this.titleStrategy=te(qD),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=new mP(this),this.configLoader=s.get(md),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new aR(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new sR(f)),this.ngModule=s.get(Yn),this.console=s.get(ZS);const d=s.get(me);this.isNgZoneEnabled=d instanceof me&&me.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new er,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=_D(this.currentUrlTree,this.rootComponentType),this.transitions=new Ot({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.navigationTransitions.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next({...this.transitions.value,...n})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const i={replaceUrl:!0},o=n.state?.navigationId?n.state:null;if(n.state){const a={...n.state};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(i.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,o,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(dd),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,c=u?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),Qx(l,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=nr(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function RP(e){for(let t=0;t<e.length;t++){if(null==e[t])throw new _(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(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?{...TP}:!1===r?{...AP}:r,nr(n))return rD(this.currentUrlTree,n,i);const o=this.parseUrl(n);return rD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new rr(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.getCurrentNavigation(),this.titleStrategy?.updateTitle(this.routerState.snapshot),n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((f,h)=>{a=f,u=h});const c=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),d=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:c,targetPageId:d,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===i?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}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))}cancelNavigationTransition(n,r,i){const o=new ua(n.id,this.serializeUrl(n.extractedUrl),r,i);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){sl()},e.\u0275prov=F({token:e,factory:function(){return KD()},providedIn:"root"}),e})();class JD{}let OP=(()=>{class e{constructor(n,r,i,o,s){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(et(n=>n instanceof rr),Xn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=Is(o.providers,n,`Route: ${o.path}`));const s=o._injector??n,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?i.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return be(i).pipe(or())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):S(null);const o=i.pipe(Ee(s=>null===s?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?be([o,this.loader.loadComponent(r)]).pipe(or()):o})}}return e.\u0275fac=function(n){return new(n||e)(M(Ve),M(sc),M(gn),M(JD),M(md))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vd=new P("");let XD=(()=>{class e{constructor(n,r,i,o={}){this.router=n,this.viewportScroller=r,this.zone=i,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof td?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof rr&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof vD&&(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.router.triggerEvent(new vD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){sl()},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();function ei(e,t){return{\u0275kind:e,\u0275providers:t}}function t0(){const e=te(yt);return t=>{const n=e.get(Wi);if(t!==n.components[0])return;const r=e.get(Ve),i=e.get(n0);1===e.get(wd)&&r.initialNavigation(),e.get(r0,null,R.Optional)?.setUpPreloading(),e.get(vd,null,R.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.unsubscribe())}}const n0=new P("",{factory:()=>new ft}),wd=new P("",{providedIn:"root",factory:()=>1});const r0=new P("");function VP(e){return ei(0,[{provide:r0,useExisting:OP},{provide:JD,useExisting:e}])}const o0=new P("ROUTER_FORROOT_GUARD"),$P=[Ec,{provide:aD,useClass:Qc},{provide:Ve,useFactory:KD},ao,{provide:Qr,useFactory:function e0(e){return e.routerState.root},deps:[Ve]},md,[]];function BP(){return new Ny("Router",Ve)}let s0=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[$P,[],{provide:Jr,multi:!0,useValue:n},{provide:o0,useFactory:GP,deps:[[Ve,new Di,new wi]]},{provide:ya,useValue:r||{}},r?.useHash?{provide:Jn,useClass:kM}:{provide:Jn,useClass:nv},{provide:vd,useFactory:()=>{const e=te(Ve),t=te(oA),n=te(me),r=te(ya);return r.scrollOffset&&t.setOffset(r.scrollOffset),new XD(e,t,n,r)}},r?.preloadingStrategy?VP(r.preloadingStrategy).\u0275providers:[],{provide:Ny,multi:!0,useFactory:BP},r?.initialNavigation?WP(r):[],[{provide:a0,useFactory:t0},{provide:Sy,multi:!0,useExisting:a0}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Jr,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(M(o0,8))},e.\u0275mod=dn({type:e}),e.\u0275inj=Wt({imports:[ld]}),e})();function GP(e){return"guarded"}function WP(e){return["disabled"===e.initialNavigation?ei(3,[{provide:zi,multi:!0,useFactory:()=>{const t=te(Ve);return()=>{t.setUpLocationChangeListener()}}},{provide:wd,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?ei(2,[{provide:wd,useValue:0},{provide:zi,multi:!0,deps:[yt],useFactory:t=>{const n=t.get(OM,Promise.resolve());return()=>n.then(()=>new Promise(i=>{const o=t.get(Ve),s=t.get(n0);(function r(i){t.get(Ve).events.pipe(et(s=>s instanceof rr||s instanceof ua||s instanceof yD),V(s=>s instanceof rr||s instanceof ua&&(0===s.code||1===s.code)&&null),et(s=>null!==s),dt(1)).subscribe(()=>{i()})})(()=>{i(!0)}),o.afterPreactivation=()=>(i(!0),s.closed?S(void 0):s),o.initialNavigation()}))}}]).\u0275providers:[]]}const a0=new P(""),ZP=[];class va{static#e=this.\u0275fac=function(n){return new(n||va)};static#t=this.\u0275mod=dn({type:va});static#n=this.\u0275inj=Wt({imports:[s0.forRoot(ZP),s0]})}function QP(e,t){1&e&&(w(0,"pre"),Q(1,"ng generate component xyz"),I())}function YP(e,t){1&e&&(w(0,"pre"),Q(1,"ng add @angular/material"),I())}function KP(e,t){1&e&&(w(0,"pre"),Q(1,"ng add @angular/pwa"),I())}function JP(e,t){1&e&&(w(0,"pre"),Q(1,"ng add _____"),I())}function XP(e,t){1&e&&(w(0,"pre"),Q(1,"ng test"),I())}function eN(e,t){1&e&&(w(0,"pre"),Q(1,"ng build"),I())}class Da{constructor(){this.title="Angular15"}static#e=this.\u0275fac=function(n){return new(n||Da)};static#t=this.\u0275cmp=Ao({type:Da,selectors:[["app-root"]],decls:152,vars:7,consts:[["role","banner",1,"toolbar"],["width","40","alt","Angular Logo","src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="],[1,"spacer"],["aria-label","Angular on twitter","target","_blank","rel","noopener","href","https://twitter.com/angular","title","Twitter"],["id","twitter-logo","height","24","data-name","Logo","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 400 400"],["width","400","height","400","fill","none"],["d","M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23","fill","#fff"],["aria-label","Angular on YouTube","target","_blank","rel","noopener","href","https://youtube.com/angular","title","YouTube"],["id","youtube-logo","height","24","width","24","data-name","Logo","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","#fff"],["d","M0 0h24v24H0V0z","fill","none"],["d","M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"],["role","main",1,"content"],[1,"card","highlight-card","card-small"],["id","rocket","xmlns","http://www.w3.org/2000/svg","width","101.678","height","101.678","viewBox","0 0 101.678 101.678"],["id","Group_83","data-name","Group 83","transform","translate(-141 -696)"],["id","Ellipse_8","data-name","Ellipse 8","cx","50.839","cy","50.839","r","50.839","transform","translate(141 696)","fill","#dd0031"],["id","Group_47","data-name","Group 47","transform","translate(165.185 720.185)"],["id","Path_33","data-name","Path 33","d","M3.4,42.615a3.084,3.084,0,0,0,3.553,3.553,21.419,21.419,0,0,0,12.215-6.107L9.511,30.4A21.419,21.419,0,0,0,3.4,42.615Z","transform","translate(0.371 3.363)","fill","#fff"],["id","Path_34","data-name","Path 34","d","M53.3,3.221A3.09,3.09,0,0,0,50.081,0,48.227,48.227,0,0,0,18.322,13.437c-6-1.666-14.991-1.221-18.322,7.218A33.892,33.892,0,0,1,9.439,25.1l-.333.666a3.013,3.013,0,0,0,.555,3.553L23.985,43.641a2.9,2.9,0,0,0,3.553.555l.666-.333A33.892,33.892,0,0,1,32.647,53.3c8.55-3.664,8.884-12.326,7.218-18.322A48.227,48.227,0,0,0,53.3,3.221ZM34.424,9.772a6.439,6.439,0,1,1,9.106,9.106,6.368,6.368,0,0,1-9.106,0A6.467,6.467,0,0,1,34.424,9.772Z","transform","translate(0 0.005)","fill","#fff"],["id","rocket-smoke","xmlns","http://www.w3.org/2000/svg","width","516.119","height","1083.632","viewBox","0 0 516.119 1083.632"],["id","Path_40","data-name","Path 40","d","M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z","transform","translate(-147.025 -140.939)","fill","#f5f5f5"],[1,"card-container"],["target","_blank","rel","noopener","href","https://angular.io/tutorial",1,"card"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"material-icons"],["d","M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["target","_blank","rel","noopener","href","https://angular.io/cli",1,"card"],["d","M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"],["target","_blank","rel","noopener","href","https://material.angular.io",1,"card"],["xmlns","http://www.w3.org/2000/svg","width","21.813","height","23.453","viewBox","0 0 179.2 192.7",2,"margin-right","8px"],["fill","#ffa726","d","M89.4 0 0 32l13.5 118.4 75.9 42.3 76-42.3L179.2 32 89.4 0z"],["fill","#fb8c00","d","M89.4 0v192.7l76-42.3L179.2 32 89.4 0z"],["fill","#ffe0b2","d","m102.9 146.3-63.3-30.5 36.3-22.4 63.7 30.6-36.7 22.3z"],["fill","#fff3e0","d","M102.9 122.8 39.6 92.2l36.3-22.3 63.7 30.6-36.7 22.3z"],["fill","#fff","d","M102.9 99.3 39.6 68.7l36.3-22.4 63.7 30.6-36.7 22.4z"],["target","_blank","rel","noopener","href","https://blog.angular.io/",1,"card"],["d","M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"],["target","_blank","rel","noopener","href","https://angular.io/devtools/",1,"card"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",1,"material-icons"],["fill","none","height","24","width","24"],["d","M14.73,13.31C15.52,12.24,16,10.93,16,9.5C16,5.91,13.09,3,9.5,3S3,5.91,3,9.5C3,13.09,5.91,16,9.5,16 c1.43,0,2.74-0.48,3.81-1.27L19.59,21L21,19.59L14.73,13.31z M9.5,14C7.01,14,5,11.99,5,9.5S7.01,5,9.5,5S14,7.01,14,9.5 S11.99,14,9.5,14z"],["points","10.29,8.44 9.5,6 8.71,8.44 6.25,8.44 8.26,10.03 7.49,12.5 9.5,10.97 11.51,12.5 10.74,10.03 12.75,8.44"],["type","hidden"],["selection",""],["tabindex","0",1,"card","card-small",3,"click"],["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"],[1,"terminal",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["title","Find a Local Meetup","href","https://www.meetup.com/find/?keywords=angular","target","_blank","rel","noopener",1,"circle-link"],["xmlns","http://www.w3.org/2000/svg","width","24.607","height","23.447","viewBox","0 0 24.607 23.447"],["id","logo--mSwarm","d","M21.221,14.95A4.393,4.393,0,0,1,17.6,19.281a4.452,4.452,0,0,1-.8.069c-.09,0-.125.035-.154.117a2.939,2.939,0,0,1-2.506,2.091,2.868,2.868,0,0,1-2.248-.624.168.168,0,0,0-.245-.005,3.926,3.926,0,0,1-2.589.741,4.015,4.015,0,0,1-3.7-3.347,2.7,2.7,0,0,1-.043-.38c0-.106-.042-.146-.143-.166a3.524,3.524,0,0,1-1.516-.69A3.623,3.623,0,0,1,2.23,14.557a3.66,3.66,0,0,1,1.077-3.085.138.138,0,0,0,.026-.2,3.348,3.348,0,0,1-.451-1.821,3.46,3.46,0,0,1,2.749-3.28.44.44,0,0,0,.355-.281,5.072,5.072,0,0,1,3.863-3,5.028,5.028,0,0,1,3.555.666.31.31,0,0,0,.271.03A4.5,4.5,0,0,1,18.3,4.7a4.4,4.4,0,0,1,1.334,2.751,3.658,3.658,0,0,1,.022.706.131.131,0,0,0,.1.157,2.432,2.432,0,0,1,1.574,1.645,2.464,2.464,0,0,1-.7,2.616c-.065.064-.051.1-.014.166A4.321,4.321,0,0,1,21.221,14.95ZM13.4,14.607a2.09,2.09,0,0,0,1.409,1.982,4.7,4.7,0,0,0,1.275.221,1.807,1.807,0,0,0,.9-.151.542.542,0,0,0,.321-.545.558.558,0,0,0-.359-.534,1.2,1.2,0,0,0-.254-.078c-.262-.047-.526-.086-.787-.138a.674.674,0,0,1-.617-.75,3.394,3.394,0,0,1,.218-1.109c.217-.658.509-1.286.79-1.918a15.609,15.609,0,0,0,.745-1.86,1.95,1.95,0,0,0,.06-1.073,1.286,1.286,0,0,0-1.051-1.033,1.977,1.977,0,0,0-1.521.2.339.339,0,0,1-.446-.042c-.1-.092-.2-.189-.307-.284a1.214,1.214,0,0,0-1.643-.061,7.563,7.563,0,0,1-.614.512A.588.588,0,0,1,10.883,8c-.215-.115-.437-.215-.659-.316a2.153,2.153,0,0,0-.695-.248A2.091,2.091,0,0,0,7.541,8.562a9.915,9.915,0,0,0-.405.986c-.559,1.545-1.015,3.123-1.487,4.7a1.528,1.528,0,0,0,.634,1.777,1.755,1.755,0,0,0,1.5.211,1.35,1.35,0,0,0,.824-.858c.543-1.281,1.032-2.584,1.55-3.875.142-.355.28-.712.432-1.064a.548.548,0,0,1,.851-.24.622.622,0,0,1,.185.539,2.161,2.161,0,0,1-.181.621c-.337.852-.68,1.7-1.018,2.552a2.564,2.564,0,0,0-.173.528.624.624,0,0,0,.333.71,1.073,1.073,0,0,0,.814.034,1.22,1.22,0,0,0,.657-.655q.758-1.488,1.511-2.978.35-.687.709-1.37a1.073,1.073,0,0,1,.357-.434.43.43,0,0,1,.463-.016.373.373,0,0,1,.153.387.7.7,0,0,1-.057.236c-.065.157-.127.316-.2.469-.42.883-.846,1.763-1.262,2.648A2.463,2.463,0,0,0,13.4,14.607Zm5.888,6.508a1.09,1.09,0,0,0-2.179.006,1.09,1.09,0,0,0,2.179-.006ZM1.028,12.139a1.038,1.038,0,1,0,.01-2.075,1.038,1.038,0,0,0-.01,2.075ZM13.782.528a1.027,1.027,0,1,0-.011,2.055A1.027,1.027,0,0,0,13.782.528ZM22.21,6.95a.882.882,0,0,0-1.763.011A.882.882,0,0,0,22.21,6.95ZM4.153,4.439a.785.785,0,1,0,.787-.78A.766.766,0,0,0,4.153,4.439Zm8.221,18.22a.676.676,0,1,0-.677.666A.671.671,0,0,0,12.374,22.658ZM22.872,12.2a.674.674,0,0,0-.665.665.656.656,0,0,0,.655.643.634.634,0,0,0,.655-.644A.654.654,0,0,0,22.872,12.2ZM7.171-.123A.546.546,0,0,0,6.613.43a.553.553,0,1,0,1.106,0A.539.539,0,0,0,7.171-.123ZM24.119,9.234a.507.507,0,0,0-.493.488.494.494,0,0,0,.494.494.48.48,0,0,0,.487-.483A.491.491,0,0,0,24.119,9.234Zm-19.454,9.7a.5.5,0,0,0-.488-.488.491.491,0,0,0-.487.5.483.483,0,0,0,.491.479A.49.49,0,0,0,4.665,18.936Z","transform","translate(0 0.123)","fill","#f64060"],["title","Join the Conversation on Discord","href","https://discord.gg/angular","target","_blank","rel","noopener",1,"circle-link"],["xmlns","http://www.w3.org/2000/svg","width","26","height","26","viewBox","0 0 245 240"],["d","M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1.1-6.1-4.5-11.1-10.2-11.1zM140.9 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1s-4.5-11.1-10.2-11.1z"],["d","M189.5 20h-134C44.2 20 35 29.2 35 40.6v135.2c0 11.4 9.2 20.6 20.5 20.6h113.4l-5.3-18.5 12.8 11.9 12.1 11.2 21.5 19V40.6c0-11.4-9.2-20.6-20.5-20.6zm-38.6 130.6s-3.6-4.3-6.6-8.1c13.1-3.7 18.1-11.9 18.1-11.9-4.1 2.7-8 4.6-11.5 5.9-5 2.1-9.8 3.5-14.5 4.3-9.6 1.8-18.4 1.3-25.9-.1-5.7-1.1-10.6-2.7-14.7-4.3-2.3-.9-4.8-2-7.3-3.4-.3-.2-.6-.3-.9-.5-.2-.1-.3-.2-.4-.3-1.8-1-2.8-1.7-2.8-1.7s4.8 8 17.5 11.8c-3 3.8-6.7 8.3-6.7 8.3-22.1-.7-30.5-15.2-30.5-15.2 0-32.2 14.4-58.3 14.4-58.3 14.4-10.8 28.1-10.5 28.1-10.5l1 1.2c-18 5.2-26.3 13.1-26.3 13.1s2.2-1.2 5.9-2.9c10.7-4.7 19.2-6 22.7-6.3.6-.1 1.1-.2 1.7-.2 6.1-.8 13-1 20.2-.2 9.5 1.1 19.7 3.9 30.1 9.6 0 0-7.9-7.5-24.9-12.7l1.4-1.6s13.7-.3 28.1 10.5c0 0 14.4 26.1 14.4 58.3 0 0-8.5 14.5-30.6 15.2z"],["href","https://github.com/angular/angular","target","_blank","rel","noopener"],[1,"github-star-badge"],["d","M0 0h24v24H0z","fill","none"],["d","M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z","fill","#1976d2"],["id","clouds","xmlns","http://www.w3.org/2000/svg","width","2611.084","height","485.677","viewBox","0 0 2611.084 485.677"],["id","Path_39","data-name","Path 39","d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z","transform","translate(142.69 -634.312)","fill","#eee"]],template:function(n,r){if(1&n){const i=function cg(){return v()}();w(0,"div",0),Z(1,"img",1),w(2,"span"),Q(3,"Welcome"),I(),Z(4,"div",2),w(5,"a",3),ae(),w(6,"svg",4),Z(7,"rect",5)(8,"path",6),I()(),ue(),w(9,"a",7),ae(),w(10,"svg",8),Z(11,"path",9)(12,"path",10),I()()(),ue(),w(13,"div",11)(14,"div",12),ae(),w(15,"svg",13)(16,"title"),Q(17,"Rocket Ship"),I(),w(18,"g",14),Z(19,"circle",15),w(20,"g",16),Z(21,"path",17)(22,"path",18),I()()(),ue(),w(23,"span"),Q(24),I(),ae(),w(25,"svg",19)(26,"title"),Q(27,"Rocket Ship Smoke"),I(),Z(28,"path",20),I()(),ue(),w(29,"h2"),Q(30,"Resources"),I(),w(31,"p"),Q(32,"Here are some links to help you get started:"),I(),w(33,"div",21)(34,"a",22),ae(),w(35,"svg",23),Z(36,"path",24),I(),ue(),w(37,"span"),Q(38,"Learn Angular"),I(),ae(),w(39,"svg",23),Z(40,"path",25),I()(),ue(),w(41,"a",26),ae(),w(42,"svg",23),Z(43,"path",27),I(),ue(),w(44,"span"),Q(45,"CLI Documentation"),I(),ae(),w(46,"svg",23),Z(47,"path",25),I()(),ue(),w(48,"a",28),ae(),w(49,"svg",29),Z(50,"path",30)(51,"path",31)(52,"path",32)(53,"path",33)(54,"path",34),I(),ue(),w(55,"span"),Q(56,"Angular Material"),I(),ae(),w(57,"svg",23),Z(58,"path",25),I()(),ue(),w(59,"a",35),ae(),w(60,"svg",23),Z(61,"path",36),I(),ue(),w(62,"span"),Q(63,"Angular Blog"),I(),ae(),w(64,"svg",23),Z(65,"path",25),I()(),ue(),w(66,"a",37),ae(),w(67,"svg",38)(68,"g"),Z(69,"rect",39),I(),w(70,"g")(71,"g"),Z(72,"path",40)(73,"polygon",41),I()()(),ue(),w(74,"span"),Q(75,"Angular DevTools"),I(),ae(),w(76,"svg",23),Z(77,"path",25),I()()(),ue(),w(78,"h2"),Q(79,"Next Steps"),I(),w(80,"p"),Q(81,"What do you want to do next with your app?"),I(),Z(82,"input",42,43),w(84,"div",21)(85,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="component")}),ae(),w(86,"svg",23),Z(87,"path",45),I(),ue(),w(88,"span"),Q(89,"New Component"),I()(),w(90,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="material")}),ae(),w(91,"svg",23),Z(92,"path",45),I(),ue(),w(93,"span"),Q(94,"Angular Material"),I()(),w(95,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="pwa")}),ae(),w(96,"svg",23),Z(97,"path",45),I(),ue(),w(98,"span"),Q(99,"Add PWA Support"),I()(),w(100,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="dependency")}),ae(),w(101,"svg",23),Z(102,"path",45),I(),ue(),w(103,"span"),Q(104,"Add Dependency"),I()(),w(105,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="test")}),ae(),w(106,"svg",23),Z(107,"path",45),I(),ue(),w(108,"span"),Q(109,"Run and Watch Tests"),I()(),w(110,"button",44),tn("click",function(){return Vn(i),$n(wn(83).value="build")}),ae(),w(111,"svg",23),Z(112,"path",45),I(),ue(),w(113,"span"),Q(114,"Build for Production"),I()()(),w(115,"div",46),Zn(116,QP,2,0,"pre",47),Zn(117,YP,2,0,"pre",48),Zn(118,KP,2,0,"pre",48),Zn(119,JP,2,0,"pre",48),Zn(120,XP,2,0,"pre",48),Zn(121,eN,2,0,"pre",48),I(),w(122,"div",21)(123,"a",49),ae(),w(124,"svg",50)(125,"title"),Q(126,"Meetup Logo"),I(),Z(127,"path",51),I()(),ue(),w(128,"a",52),ae(),w(129,"svg",53)(130,"title"),Q(131,"Discord Logo"),I(),Z(132,"path",54)(133,"path",55),I()()(),ue(),w(134,"footer"),Q(135," Love Angular?\xa0 "),w(136,"a",56),Q(137," Give our repo a star. "),w(138,"div",57),ae(),w(139,"svg",23),Z(140,"path",58)(141,"path",59),I(),Q(142," Star "),I()(),ue(),w(143,"a",56),ae(),w(144,"svg",23),Z(145,"path",60)(146,"path",58),I()()(),w(147,"svg",61)(148,"title"),Q(149,"Gray Clouds Background"),I(),Z(150,"path",62),I()(),ue(),Z(151,"router-outlet")}if(2&n){const i=wn(83);yn(24),ws("",r.title," app is running!"),yn(91),_n("ngSwitch",i.value),yn(2),_n("ngSwitchCase","material"),yn(1),_n("ngSwitchCase","pwa"),yn(1),_n("ngSwitchCase","dependency"),yn(1),_n("ngSwitchCase","test"),yn(1),_n("ngSwitchCase","build")}},dependencies:[Ws,mv,yv,ud],styles:['[_nghost-%COMP%] {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n color: #333;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%] {\n margin: 8px 0;\n }\n\n p[_ngcontent-%COMP%] {\n margin: 0;\n }\n\n .spacer[_ngcontent-%COMP%] {\n flex: 1;\n }\n\n .toolbar[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 60px;\n display: flex;\n align-items: center;\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n }\n\n .toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 8px;\n }\n\n .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover, .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n }\n\n .content[_ngcontent-%COMP%] {\n display: flex;\n margin: 82px auto 32px;\n padding: 0 16px;\n max-width: 960px;\n flex-direction: column;\n align-items: center;\n }\n\n svg.material-icons[_ngcontent-%COMP%] {\n height: 24px;\n width: auto;\n }\n\n svg.material-icons[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 8px;\n }\n\n .card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: #888;\n }\n\n .card-container[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: 16px;\n }\n\n .card[_ngcontent-%COMP%] {\n all: unset;\n border-radius: 4px;\n border: 1px solid #eee;\n background-color: #fafafa;\n height: 40px;\n width: 200px;\n margin: 0 8px 16px;\n padding: 16px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n line-height: 24px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 0;\n }\n\n .card.card-small[_ngcontent-%COMP%] {\n height: 16px;\n width: 168px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card) {\n cursor: pointer;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover {\n transform: translateY(-3px);\n box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: rgb(105, 103, 103);\n }\n\n .card.highlight-card[_ngcontent-%COMP%] {\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n border: none;\n width: auto;\n min-width: 30%;\n position: relative;\n }\n\n .card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 60px;\n }\n\n svg#rocket[_ngcontent-%COMP%] {\n width: 80px;\n position: absolute;\n left: -10px;\n top: -24px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n height: calc(100vh - 95px);\n position: absolute;\n top: 10px;\n right: 180px;\n z-index: -10;\n }\n\n a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover {\n color: #1976d2;\n text-decoration: none;\n }\n\n a[_ngcontent-%COMP%]:hover {\n color: #125699;\n }\n\n .terminal[_ngcontent-%COMP%] {\n position: relative;\n width: 80%;\n max-width: 600px;\n border-radius: 6px;\n padding-top: 45px;\n margin-top: 8px;\n overflow: hidden;\n background-color: rgb(15, 15, 16);\n }\n\n .terminal[_ngcontent-%COMP%]::before {\n content: "\\2022 \\2022 \\2022";\n position: absolute;\n top: 0;\n left: 0;\n height: 4px;\n background: rgb(58, 58, 58);\n color: #c2c3c4;\n width: 100%;\n font-size: 2rem;\n line-height: 0;\n padding: 14px 0;\n text-indent: 4px;\n }\n\n .terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n color: white;\n padding: 0 1rem 1rem;\n margin: 0;\n }\n\n .circle-link[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n border-radius: 40px;\n margin: 8px;\n background-color: white;\n border: 1px solid #eeeeee;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n transition: 1s ease-out;\n }\n\n .circle-link[_ngcontent-%COMP%]:hover {\n transform: translateY(-0.25rem);\n box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\n }\n\n footer[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n align-items: center;\n line-height: 20px;\n }\n\n footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n }\n\n .github-star-badge[_ngcontent-%COMP%] {\n color: #24292e;\n display: flex;\n align-items: center;\n font-size: 12px;\n padding: 3px 10px;\n border: 1px solid rgba(27,31,35,.2);\n border-radius: 3px;\n background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\n margin-left: 4px;\n font-weight: 600;\n }\n\n .github-star-badge[_ngcontent-%COMP%]:hover {\n background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\n border-color: rgba(27,31,35,.35);\n background-position: -.5em;\n }\n\n .github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%] {\n height: 16px;\n width: 16px;\n margin-right: 4px;\n }\n\n svg#clouds[_ngcontent-%COMP%] {\n position: fixed;\n bottom: -160px;\n left: -230px;\n z-index: -10;\n width: 1920px;\n }\n\n \n @media screen and (max-width: 767px) {\n .card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%] {\n width: 100%;\n }\n\n .card[_ngcontent-%COMP%]:not(.highlight-card) {\n height: 16px;\n margin: 8px 0;\n }\n\n .card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 72px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n right: 120px;\n transform: rotate(-5deg);\n }\n }\n\n @media screen and (max-width: 575px) {\n svg#rocket-smoke[_ngcontent-%COMP%] {\n display: none;\n visibility: hidden;\n }\n }']})}const tN=["addListener","removeListener"],nN=["addEventListener","removeEventListener"],rN=["on","off"];function wa(e,t,n,r){if(W(n)&&(r=n,n=void 0),r)return wa(e,t,n).pipe(Wv(r));const[i,o]=function sN(e){return W(e.addEventListener)&&W(e.removeEventListener)}(e)?nN.map(s=>a=>e[s](t,a,n)):function iN(e){return W(e.addListener)&&W(e.removeListener)}(e)?tN.map(u0(e,t)):function oN(e){return W(e.on)&&W(e.off)}(e)?rN.map(u0(e,t)):[];if(!i&&Ra(e))return Ee(s=>wa(s,t,n))(ht(e));if(!i)throw new TypeError("Invalid event target");return new de(s=>{const a=(...u)=>s.next(1<u.length?u:u[0]);return i(a),()=>o(a)})}function u0(e,t){return n=>r=>e[n](t,r)}const Tn=new de(Do),uN={connector:()=>new ft};function l0(e,t=uN){const{connector:n}=t;return ve((r,i)=>{const o=n();ht(e(function aN(e){return new de(t=>e.subscribe(t))}(o))).subscribe(i),i.add(r.subscribe(o))})}class dN extends tt{constructor(t,n){super()}schedule(t,n=0){return this}}const _a={setInterval(e,t,...n){const{delegate:r}=_a;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=_a;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},c0={now:()=>(c0.delegate||Date).now(),delegate:void 0};class go{constructor(t,n=go.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}go.now=c0.now;const d0=new class hN extends go{constructor(t,n=go.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class fN extends dN{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return _a.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&_a.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let i,r=!1;try{this.work(t)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ir(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}),pN=d0;function f0(e,t){return t?n=>Xi(t.pipe(dt(1),function gN(){return ve((e,t)=>{e.subscribe(Ce(t,Do))})}()),n.pipe(f0(e))):Ee((n,r)=>e(n,r).pipe(dt(1),Jv(n)))}const mo="Service workers are disabled or not supported by this browser";class Ca{constructor(t){if(this.serviceWorker=t,t){const r=wa(t,"controllerchange").pipe(V(()=>t.controller)),o=Xi(Xs(()=>S(t.controller)),r);this.worker=o.pipe(et(c=>!!c)),this.registration=this.worker.pipe(Xe(()=>t.getRegistration()));const l=wa(t,"message").pipe(V(c=>c.data)).pipe(et(c=>c&&c.type)).pipe(function cN(e){return e?t=>l0(e)(t):t=>function lN(e,t){const n=W(e)?e:()=>e;return W(t)?l0(t,{connector:n}):r=>new Wc(r,n)}(new ft)(t)}());l.connect(),this.events=l}else this.worker=this.events=this.registration=function DN(e){return Xs(()=>zr(new Error(e)))}(mo)}postMessage(t,n){return this.worker.pipe(dt(1),Pe(r=>{r.postMessage({action:t,...n})})).toPromise().then(()=>{})}postMessageWithOperation(t,n,r){const i=this.waitForOperationCompleted(r),o=this.postMessage(t,n);return Promise.all([o,i]).then(([,s])=>s)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let n;return n="string"==typeof t?r=>r.type===t:r=>t.includes(r.type),this.events.pipe(et(n))}nextEventOfType(t){return this.eventsOfType(t).pipe(dt(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(et(n=>n.nonce===t),dt(1),V(n=>{if(void 0!==n.result)return n.result;throw new Error(n.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let wN=(()=>{class e{constructor(n){if(this.sw=n,this.subscriptionChanges=new ft,!n.isEnabled)return this.messages=Tn,this.notificationClicks=Tn,void(this.subscription=Tn);this.messages=this.sw.eventsOfType("PUSH").pipe(V(i=>i.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(V(i=>i.data)),this.pushManager=this.sw.registration.pipe(V(i=>i.pushManager));const r=this.pushManager.pipe(Xe(i=>i.getSubscription()));this.subscription=Na(r,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(n){if(!this.sw.isEnabled)return Promise.reject(new Error(mo));const r={userVisibleOnly:!0};let i=this.decodeBase64(n.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(i.length));for(let s=0;s<i.length;s++)o[s]=i.charCodeAt(s);return r.applicationServerKey=o,this.pushManager.pipe(Xe(s=>s.subscribe(r)),dt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(dt(1),Xe(r=>{if(null===r)throw new Error("Not subscribed to push notifications.");return r.unsubscribe().then(i=>{if(!i)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(mo))}decodeBase64(n){return atob(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Ca))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})(),_N=(()=>{class e{constructor(n){if(this.sw=n,!n.isEnabled)return this.versionUpdates=Tn,this.available=Tn,this.activated=Tn,void(this.unrecoverable=Tn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(et(r=>"VERSION_READY"===r.type),V(r=>({type:"UPDATE_AVAILABLE",current:r.currentVersion,available:r.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(mo));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:n},n)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(mo));const n=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:n},n)}}return e.\u0275fac=function(n){return new(n||e)(M(Ca))},e.\u0275prov=F({token:e,factory:e.\u0275fac}),e})();class _d{}const h0=new P("NGSW_REGISTER_SCRIPT");function CN(e,t,n,r){return()=>{if(!_v(r)||!("serviceWorker"in navigator)||!1===n.enabled)return;let i;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)i=n.registrationStrategy();else{const[s,...a]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":i=S(null);break;case"registerWithDelay":i=p0(+a[0]||0);break;case"registerWhenStable":i=a[0]?Na(g0(e),p0(+a[0])):g0(e);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}e.get(me).runOutsideAngular(()=>i.pipe(dt(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function p0(e){return S(null).pipe(function vN(e,t=d0){const n=function yN(e=0,t,n=pN){let r=-1;return null!=t&&(Kd(t)?n=t:r=t),new de(i=>{let o=function mN(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(e,t);return f0(()=>n)}(e))}function g0(e){return e.get(Wi).isStable.pipe(et(n=>n))}function EN(e,t){return new Ca(_v(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}let bN=(()=>{class e{static register(n,r={}){return{ngModule:e,providers:[{provide:h0,useValue:n},{provide:_d,useValue:r},{provide:Ca,useFactory:EN,deps:[_d,xs]},{provide:zi,useFactory:CN,deps:[yt,h0,_d,xs],multi:!0}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=dn({type:e}),e.\u0275inj=Wt({providers:[wN,_N]}),e})();class Ea{static#e=this.\u0275fac=function(n){return new(n||Ea)};static#t=this.\u0275mod=dn({type:Ea,bootstrap:[Da]});static#n=this.\u0275inj=Wt({imports:[rx,va,bN.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]})}nx().bootstrapModule(Ea).catch(e=>console.error(e))}},W=>{W(W.s=352)}]);