From 3686ce0fa82627721edce9c86362c63d9fc087b0 Mon Sep 17 00:00:00 2001 From: christofer holm Date: Wed, 25 Dec 2024 13:14:50 +0100 Subject: [PATCH] Fixed issue with contact us form --- docs/djongocs/contact-us/index.html | 2 +- docs/djongocs/create-account/create-access/index.html | 2 +- docs/djongocs/create-account/index.html | 2 +- docs/djongocs/dashboard/index.html | 2 +- docs/djongocs/index.html | 2 +- docs/djongocs/login/index.html | 2 +- docs/djongocs/main.a0700c0dba00a294.js | 1 - docs/djongocs/main.ef5e4e71a6bb32fe.js | 1 + docs/index.html | 10 +++++----- 9 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 docs/djongocs/main.a0700c0dba00a294.js create mode 100644 docs/djongocs/main.ef5e4e71a6bb32fe.js diff --git a/docs/djongocs/contact-us/index.html b/docs/djongocs/contact-us/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/contact-us/index.html +++ b/docs/djongocs/contact-us/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/create-account/create-access/index.html b/docs/djongocs/create-account/create-access/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/create-account/create-access/index.html +++ b/docs/djongocs/create-account/create-access/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/create-account/index.html b/docs/djongocs/create-account/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/create-account/index.html +++ b/docs/djongocs/create-account/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/dashboard/index.html b/docs/djongocs/dashboard/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/dashboard/index.html +++ b/docs/djongocs/dashboard/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/index.html b/docs/djongocs/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/index.html +++ b/docs/djongocs/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/login/index.html b/docs/djongocs/login/index.html index d469a616..a3ca9e62 100644 --- a/docs/djongocs/login/index.html +++ b/docs/djongocs/login/index.html @@ -158,5 +158,5 @@ - + diff --git a/docs/djongocs/main.a0700c0dba00a294.js b/docs/djongocs/main.a0700c0dba00a294.js deleted file mode 100644 index 8069cc8a..00000000 --- a/docs/djongocs/main.a0700c0dba00a294.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdjongo_FE=self.webpackChunkdjongo_FE||[]).push([[792],{970:()=>{let Me=null,wa=1;const yr=Symbol("SIGNAL");function G(e){const t=Me;return Me=e,t}function kg(e){if((!Ii(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==wa)){if(!e.producerMustRecompute(e)&&!mc(e))return e.dirty=!1,void(e.lastCleanEpoch=wa);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=wa}}function mc(e){Yr(e);for(let t=0;t0}function Yr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let zg=null;function ye(e){return"function"==typeof e}function yc(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 Dc=yc(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Cc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ht{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ye(r))try{r()}catch(i){t=i instanceof Dc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Yg(i)}catch(s){t=t??[],s instanceof Dc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Yg(t);else{if(t instanceof ht){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)&&Cc(n,t)}remove(t){const{_finalizers:n}=this;n&&Cc(n,t),t instanceof ht&&t._removeParent(this)}}ht.EMPTY=(()=>{const e=new ht;return e.closed=!0,e})();const Zg=ht.EMPTY;function Qg(e){return e instanceof ht||e&&"closed"in e&&ye(e.remove)&&ye(e.add)&&ye(e.unsubscribe)}function Yg(e){ye(e)?e():e.unsubscribe()}const Dr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ba={setTimeout(e,t,...n){const{delegate:r}=ba;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ba;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Kg(e){ba.setTimeout(()=>{const{onUnhandledError:t}=Dr;if(!t)throw e;t(e)})}function _c(){}const GS=wc("C",void 0,void 0);function wc(e,t,n){return{kind:e,value:t,error:n}}let Cr=null;function Ia(e){if(Dr.useDeprecatedSynchronousErrorHandling){const t=!Cr;if(t&&(Cr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Cr;if(Cr=null,n)throw r}}else e()}class Ec extends ht{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qg(t)&&t.add(this)):this.destination=KS}static create(t,n,r){return new Ic(t,n,r)}next(t){this.isStopped?Mc(function qS(e){return wc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Mc(function zS(e){return wc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mc(GS,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 ZS=Function.prototype.bind;function bc(e,t){return ZS.call(e,t)}class QS{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ma(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ma(r)}else Ma(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ma(n)}}}class Ic extends Ec{constructor(t,n,r){let o;if(super(),ye(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bc(t.next,i),error:t.error&&bc(t.error,i),complete:t.complete&&bc(t.complete,i)}):o=t}this.destination=new QS(o)}}function Ma(e){Dr.useDeprecatedSynchronousErrorHandling?function WS(e){Dr.useDeprecatedSynchronousErrorHandling&&Cr&&(Cr.errorThrown=!0,Cr.error=e)}(e):Kg(e)}function Mc(e,t){const{onStoppedNotification:n}=Dr;n&&ba.setTimeout(()=>n(e,t))}const KS={closed:!0,next:_c,error:function YS(e){throw e},complete:_c},Sc="function"==typeof Symbol&&Symbol.observable||"@@observable";function _r(e){return e}function Xg(e){return 0===e.length?_r:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Oe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function e0(e){return e&&e instanceof Ec||function JS(e){return e&&ye(e.next)&&ye(e.error)&&ye(e.complete)}(e)&&Qg(e)}(n)?n:new Ic(n,r,o);return Ia(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Jg(r))((o,i)=>{const s=new Ic({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Sc](){return this}pipe(...n){return Xg(n)(this)}toPromise(n){return new(n=Jg(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Jg(e){var t;return null!==(t=e??Dr.Promise)&&void 0!==t?t:Promise}const t0=yc(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ft=(()=>{class e extends Oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new em(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new t0}next(n){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ia(()=>{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(){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Zg:(this.currentObservers=null,i.push(n),new ht(()=>{this.currentObservers=null,Cc(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Oe;return n.source=this,n}}return e.create=(t,n)=>new em(t,n),e})();class em 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:Zg}}class kt 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)}}function tm(e){return ye(e?.lift)}function Qe(e){return t=>{if(tm(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 Ve(e,t,n,r,o){return new n0(e,t,n,r,o)}class n0 extends Ec{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Y(e,t){return Qe((n,r)=>{let o=0;n.subscribe(Ve(r,i=>{r.next(e.call(t,i,o++))}))})}const nm="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Kr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Pn(e){return{toString:e}.toString()}const Jr="__parameters__";function to(e,t,n){return Pn(()=>{const r=function Tc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Jr)?u[Jr]:Object.defineProperty(u,Jr,{value:[]})[Jr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const re=globalThis;function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function r0(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).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 Ac(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const o0=oe({__forward_ref__:oe});function fe(e){return e.__forward_ref__=fe,e.toString=function(){return je(this())},e}function P(e){return Ta(e)?e():e}function Ta(e){return"function"==typeof e&&e.hasOwnProperty(o0)&&e.__forward_ref__===fe}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Aa(e){return sm(e,Ra)||sm(e,am)}function sm(e,t){return e.hasOwnProperty(t)?e[t]:null}function Na(e){return e&&(e.hasOwnProperty(Nc)||e.hasOwnProperty(d0))?e[Nc]:null}const Ra=oe({\u0275prov:oe}),Nc=oe({\u0275inj:oe}),am=oe({ngInjectableDef:oe}),d0=oe({ngInjectorDef:oe});class M{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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fc(e){return e&&!!e.\u0275providers}const Si=oe({\u0275cmp:oe}),kc=oe({\u0275dir:oe}),Lc=oe({\u0275pipe:oe}),lm=oe({\u0275mod:oe}),Fn=oe({\u0275fac:oe}),Ti=oe({__NG_ELEMENT_ID__:oe}),cm=oe({__NG_ENV_ID__:oe});function j(e){return"string"==typeof e?e:null==e?"":String(e)}function Vc(e,t){throw new C(-201,!1)}var W=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(W||{});let jc;function dm(){return jc}function pt(e){const t=jc;return jc=e,t}function fm(e,t,n){const r=Aa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&W.Optional?null:void 0!==t?t:void Vc()}const Ai={},Uc="__NG_DI_FLAG__",Oa="ngTempTokenPath",v0=/\n/gm,hm="__source";let no;function Yn(e){const t=no;return no=e,t}function C0(e,t=W.Default){if(void 0===no)throw new C(-203,!1);return null===no?fm(e,void 0,t):no.get(e,t&W.Optional?null:void 0,t)}function L(e,t=W.Default){return(dm()||C0)(P(e),t)}function w(e,t=W.Default){return L(e,xa(t))}function xa(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bc(e){const t=[];for(let n=0;nArray.isArray(n)?ro(n,t):t(n))}function gm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bt(e,t,n){let r=oo(e,t);return r>=0?e[1|r]=n:(r=~r,function mm(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function zc(e,t){const n=oo(e,t);if(n>=0)return e[1|n]}function oo(e,t){return function vm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[c+1].toLowerCase(),2&r&&l!==d){if(qt(r))return!1;s=!0}}}}else{if(!s&&!qt(r)&&!qt(u))return!1;if(s&&qt(u))continue;s=!1,r=u|1&r}}return qt(r)||s}function qt(e){return!(1&e)}function O0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!qt(s)&&(t+=bm(i,o),o=""),r=s,i=i||!qt(r);n++}return""!==o&&(t+=bm(i,o)),t}function Lt(e){return Pn(()=>{const t=Mm(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===La.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""};Sm(n);const r=e.dependencies;return n.directiveDefs=ja(r,!1),n.pipeDefs=ja(r,!0),n.id=function H0(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function U0(e){return z(e)||Ue(e)}function B0(e){return null!==e}function Va(e){return Pn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Im(e,t){if(null==e)return cn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=De.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==De.None?[r,a]:r,t[i]=s):n[i]=r}return n}function V(e){return Pn(()=>{const t=Mm(e);return Sm(t),t})}function mt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function z(e){return e[Si]||null}function Ue(e){return e[kc]||null}function Ye(e){return e[Lc]||null}function Xe(e,t){const n=e[lm]||null;if(!n&&!0===t)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return n}function Mm(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Im(e.inputs,t),outputs:Im(e.outputs),debugInfo:null}}function Sm(e){e.features?.forEach(t=>t(e))}function ja(e,t){if(!e)return null;const n=t?Ye:U0;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(B0)}function io(e){return{\u0275providers:e}}function G0(...e){return{\u0275providers:Qc(0,e),\u0275fromNgModule:!0}}function Qc(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ro(t,s=>{const a=s;Ua(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Tm(o,i),n}function Tm(e,t){for(let n=0;n{t(i,r)})}}function Ua(e,t,n,r){if(!(e=P(e)))return!1;let o=null,i=Na(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Na(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Ua(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{ro(i.imports,c=>{Ua(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Tm(l,t)}if(!a){const l=wr(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:qc,useValue:o,multi:!0},o),t({provide:Er,useValue:()=>L(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Yc(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Yc(e,t){for(let n of e)Fc(n)&&(n=n.\u0275providers),Array.isArray(n)?Yc(n,t):t(n)}const z0=oe({provide:String,useValue:oe});function Kc(e){return null!==e&&"object"==typeof e&&z0 in e}function br(e){return"function"==typeof e}const Xc=new M(""),Ba={},W0={};let Jc;function $a(){return void 0===Jc&&(Jc=new ka),Jc}class It{}class so extends It{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,td(t,s=>this.processProvider(s)),this.records.set(ym,ao(void 0,this)),o.has("environment")&&this.records.set(It,ao(void 0,this));const i=this.records.get(Xc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qc,K,W.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=G(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),G(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Yn(this),r=pt(void 0);try{return t()}finally{Yn(n),pt(r)}}get(t,n=Ai,r=W.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(cm))return t[cm](this);r=xa(r);const i=Yn(this),s=pt(void 0);try{if(!(r&W.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function X0(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Aa(t);u=l&&this.injectableDefInScope(l)?ao(ed(t),Ba):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&W.Self?$a():this.parent).get(t,n=r&W.Optional&&n===Ai?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Oa]=a[Oa]||[]).unshift(je(t)),i)throw a;return function w0(e,t,n,r){const o=e[Oa];throw t[hm]&&o.unshift(t[hm]),e.message=function E0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=je(t);if(Array.isArray(t))o=t.map(je).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(v0,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Oa]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{pt(s),Yn(i)}}resolveInjectorInitializers(){const t=G(null),n=Yn(this),r=pt(void 0);try{const i=this.get(Er,K,W.Self);for(const s of i)s()}finally{Yn(n),pt(r),G(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(je(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=br(t=P(t))?t:P(t&&t.provide);const r=function Q0(e){return Kc(e)?ao(void 0,e.useValue):ao(Rm(e),Ba)}(t);if(!br(t)&&!0===t.multi){let o=this.records.get(n);o||(o=ao(void 0,Ba,!0),o.factory=()=>Bc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=G(null);try{return n.value===Ba&&(n.value=W0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function K0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{G(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=P(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ed(e){const t=Aa(e),n=null!==t?t.factory:wr(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function Z0(e){if(e.length>0)throw new C(204,!1);const n=function c0(e){return e&&(e[Ra]||e[am])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Rm(e,t,n){let r;if(br(e)){const o=P(e);return wr(o)||ed(o)}if(Kc(e))r=()=>P(e.useValue);else if(function Nm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Bc(e.deps||[]));else if(function Am(e){return!(!e||!e.useExisting)}(e))r=()=>L(P(e.useExisting));else{const o=P(e&&(e.useClass||e.provide));if(!function Y0(e){return!!e.deps}(e))return wr(o)||ed(o);r=()=>new o(...Bc(e.deps))}return r}function ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function td(e,t){for(const n of e)Array.isArray(n)?td(n,t):n&&Fc(n)?td(n.\u0275providers,t):t(n)}function kn(e,t){e instanceof so&&e.assertNotDestroyed();const r=Yn(e),o=pt(void 0);try{return t()}finally{Yn(r),pt(o)}}const Ce=0,E=1,N=2,Se=3,Wt=4,Je=5,Mt=6,lo=7,he=8,xe=9,Zt=10,F=11,xi=12,Pm=13,co=14,we=15,Pi=16,fo=17,Ln=18,Fi=19,Fm=20,Xn=21,za=22,Ir=23,U=25,rd=1,dn=7,ho=9,Te=10;var od=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(od||{});function et(e){return Array.isArray(e)&&"object"==typeof e[rd]}function tt(e){return Array.isArray(e)&&!0===e[rd]}function id(e){return!!(4&e.flags)}function Mr(e){return e.componentOffset>-1}function Wa(e){return!(1&~e.flags)}function Qt(e){return!!e.template}function sd(e){return!!(512&e[N])}class dT{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function jm(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function St(){return Um}function Um(e){return e.type.prototype.ngOnChanges&&(e.setInput=hT),fT}function fT(){const e=$m(this),t=e?.current;if(t){const n=e.previous;if(n===cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hT(e,t,n,r,o){const i=this.declaredInputs[r],s=$m(e)||function pT(e,t){return e[Bm]=t}(e,{previous:cn,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new dT(l&&l.currentValue,n,u===cn),jm(e,t,o,n)}St.ngInherit=!0;const Bm="__ngSimpleChanges__";function $m(e){return e[Bm]||null}const fn=function(e,t,n){},Hm="svg";let zm=!1;function ae(e){for(;Array.isArray(e);)e=e[Ce];return e}function Li(e,t){return ae(t[e])}function it(e,t){return ae(t[e.index])}function Vi(e,t){return e.data[t]}function po(e,t){return e[t]}function Tt(e,t){const n=t[e];return et(n)?n:n[Ce]}function dd(e){return!(128&~e[N])}function hn(e,t){return null==t?null:e[t]}function qm(e){e[fo]=0}function CT(e){1024&e[N]||(e[N]|=1024,dd(e)&&ji(e))}function fd(e){return!!(9216&e[N]||e[Ir]?.dirty)}function hd(e){e[Zt].changeDetectionScheduler?.notify(1),fd(e)?ji(e):64&e[N]&&(function mT(){return zm}()?(e[N]|=1024,ji(e)):e[Zt].changeDetectionScheduler?.notify())}function ji(e){e[Zt].changeDetectionScheduler?.notify();let t=Sr(e);for(;null!==t&&!(8192&t[N])&&(t[N]|=8192,dd(t));)t=Sr(t)}function Za(e,t){if(!(256&~e[N]))throw new C(911,!1);null===e[Xn]&&(e[Xn]=[]),e[Xn].push(t)}function Sr(e){const t=e[Se];return tt(t)?t[Se]:t}const k={lFrame:nv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Qm(){return k.bindingsEnabled}function D(){return k.lFrame.lView}function Z(){return k.lFrame.tView}function Pe(e){return k.lFrame.contextLView=e,e[he]}function Fe(e){return k.lFrame.contextLView=null,e}function ie(){let e=Ym();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ym(){return k.lFrame.currentTNode}function pn(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function gd(){return k.lFrame.isParent}function md(){k.lFrame.isParent=!1}function st(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yt(){return k.lFrame.bindingIndex++}function jn(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function RT(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,vd(t)}function vd(e){k.lFrame.currentDirectiveIndex=e}function Dd(){return k.lFrame.currentQueryIndex}function Qa(e){k.lFrame.currentQueryIndex=e}function xT(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[Je]:null}function ev(e,t,n){if(n&W.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&W.Host||(o=xT(i),null===o||(i=i[co],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=tv();return r.currentTNode=t,r.lView=e,!0}function Cd(e){const t=tv(),n=e[E];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tv(){const e=k.lFrame,t=null===e?null:e.child;return null===t?nv(e):t}function nv(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 rv(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ov=rv;function _d(){const e=rv();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 nt(){return k.lFrame.selectedIndex}function Tr(e){k.lFrame.selectedIndex=e}function pe(){const e=k.lFrame;return Vi(e.tView,e.selectedIndex)}function wd(){k.lFrame.currentNamespace=Hm}function Ed(){!function kT(){k.lFrame.currentNamespace=null}()}let sv=!0;function Bi(){return sv}function gn(e){sv=e}function Ya(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[fo]+=65536),(a>14>16&&(3&e[N])===t&&(e[N]+=16384,uv(a,i)):uv(a,i)}const mo=-1;class $i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Md(e){return e!==mo}function Hi(e){return 32767&e}function Gi(e,t){let n=function HT(e){return e>>16}(e),r=t;for(;n>0;)r=r[co],n--;return r}let Sd=!0;function Ja(e){const t=Sd;return Sd=e,t}const lv=255,cv=5;let GT=0;const mn={};function eu(e,t){const n=dv(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Td(r.data,e),Td(t,null),Td(r.blueprint,null));const o=tu(e,t),i=e.injectorIndex;if(Md(o)){const s=Hi(o),a=Gi(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Td(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dv(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function tu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=yv(o),null===r)return mo;if(n++,o=o[co],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return mo}function Ad(e,t,n){!function zT(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(r=n[Ti]),null==r&&(r=n[Ti]=GT++);const o=r&lv;t.data[e+(o>>cv)]|=1<=0?t&lv:QT:t}(n);if("function"==typeof i){if(!ev(t,e,r))return r&W.Host?fv(o,0,r):hv(t,n,r,o);try{let s;if(s=i(r),null!=s||r&W.Optional)return s;Vc()}finally{ov()}}else if("number"==typeof i){let s=null,a=dv(e,t),u=mo,l=r&W.Host?t[we][Je]:null;for((-1===a||r&W.SkipSelf)&&(u=-1===a?tu(e,t):t[a+8],u!==mo&&vv(r,!1)?(s=t[E],a=Hi(u),t=Gi(u,t)):a=-1);-1!==a;){const c=t[E];if(mv(i,a,c.data)){const d=WT(a,t,n,s,r,l);if(d!==mn)return d}u=t[a+8],u!==mo&&vv(r,t[E].data[a+8]===l)&&mv(i,a,t)?(s=c,a=Hi(u),t=Gi(u,t)):a=-1}}return o}function WT(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=nu(a,s,n,null==r?Mr(a)&&Sd:r!=s&&!!(3&a.type),o&W.Host&&i===a);return null!==c?Ar(t,s,c,a):mn}function nu(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Qt(h)&&h.type===n)return u}return null}function Ar(e,t,n,r){let o=e[n];const i=t.data;if(function jT(e){return e instanceof $i}(o)){const s=o;s.resolving&&function p0(e,t){throw t&&t.join(" > "),new C(-200,e)}(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():j(e)}(i[n]));const a=Ja(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pt(s.injectImpl):null;ev(e,r,W.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function LT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Um(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&pt(l),Ja(a),s.resolving=!1,ov()}}return o}function mv(e,t,n){return!!(n[t+(e>>cv)]&1<{const t=e.prototype.constructor,n=t[Fn]||Nd(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Fn]||Nd(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Nd(e){return Ta(e)?()=>{const t=Nd(P(e));return t&&t()}:wr(e)}function yv(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[Je]:null}function Ev(e,t=null,n=null,r){const o=bv(e,t,n,r);return o.resolveInjectorInitializers(),o}function bv(e,t=null,n=null,r,o=new Set){const i=[n||K,G0(e)];return r=r||("object"==typeof e?void 0:je(e)),new so(i,t||$a(),r||null,o)}let vt=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Ai}static{this.NULL=new ka}static create(n,r){if(Array.isArray(n))return Ev({name:""},r,n,"");{const o=n.name??"";return Ev({name:o},n.parent,n.providers,o)}}static{this.\u0275prov=T({token:e,providedIn:"any",factory:()=>L(ym)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Od(e){return e.ngOriginalError}class vn{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&&Od(t);for(;n&&Od(n);)n=Od(n);return n||null}}const Mv=new M("",{providedIn:"root",factory:()=>w(vn).handleError.bind(void 0)});let Do=(()=>{class e{static{this.__NG_ELEMENT_ID__=iA}static{this.__NG_ENV_ID__=n=>n}}return e})();class oA extends Do{constructor(t){super(),this._lView=t}onDestroy(t){return Za(this._lView,t),()=>function pd(e,t){if(null===e[Xn])return;const n=e[Xn].indexOf(t);-1!==n&&e[Xn].splice(n,1)}(this._lView,t)}}function iA(){return new oA(D())}function sA(){return Co(ie(),D())}function Co(e,t){return new At(it(e,t))}let At=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=sA}}return e})();function Tv(e){return e instanceof At?e.nativeElement:e}function xd(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class aA extends Ft{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function Om(){return void 0!==dm()||null!=function D0(){return no}()}()&&(this.destroyRef=w(Do,{optional:!0})??void 0)}emit(t){const n=G(null);try{super.next(t)}finally{G(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=xd(i),o&&(o=xd(o)),s&&(s=xd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ht&&t.add(a),a}};function uA(){return this._results[Symbol.iterator]()}class Pd{get changes(){return this._changes??=new Ee}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Pd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=uA)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function gt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function S0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rNA}),NA="ng",Zv=new M(""),Nr=new M("",{providedIn:"platform",factory:()=>"unknown"}),Qv=new M("",{providedIn:"root",factory:()=>Jn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Yv=()=>null;function Wd(e,t,n=!1){return Yv(e,t,n)}const ty=new M("",{providedIn:"root",factory:()=>!1});let hu,pu;function Eo(e){return function Kd(){if(void 0===hu&&(hu=null,re.trustedTypes))try{hu=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hu}()?.createHTML(e)||e}function Xd(){if(void 0===pu&&(pu=null,re.trustedTypes))try{pu=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pu}function ry(e){return Xd()?.createHTML(e)||e}function iy(e){return Xd()?.createScriptURL(e)||e}class sy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nm})`}}function er(e){return e instanceof sy?e.changingThisBreaksApplicationSecurity:e}function Xi(e,t){const n=function QA(e){return e instanceof sy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${nm})`)}return n===t}class YA{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Eo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class KA{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Eo(t),n}}const JA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jd(e){return(e=String(e)).match(JA)?e:"unsafe:"+e}function Un(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ji(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const uy=Un("area,br,col,hr,img,wbr"),ly=Un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cy=Un("rp,rt"),ef=Ji(uy,Ji(ly,Un("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ji(cy,Un("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ji(cy,ly)),tf=Un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dy=Ji(tf,Un("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Un("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),eN=Un("script,style,template");class tN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=oN(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rN(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=fy(t).toLowerCase();if(!ef.hasOwnProperty(n))return this.sanitizedSomething=!0,!eN.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=fy(t).toLowerCase();ef.hasOwnProperty(n)&&!uy.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(py(t))}}function rN(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw hy(t);return t}function oN(e){const t=e.firstChild;if(t&&function nN(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw hy(t);return t}function fy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function hy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const iN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sN=/([^\#-~ |!])/g;function py(e){return e.replace(/&/g,"&").replace(iN,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sN,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let gu;function nf(e){return"content"in e&&function uN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(bo||{});function gy(e){const t=es();return t?ry(t.sanitize(bo.HTML,e)||""):Xi(e,"HTML")?ry(er(e)):function aN(e,t){let n=null;try{gu=gu||function ay(e){const t=new KA(e);return function XA(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"text/html")}catch{return!1}}()?new YA(t):t}(e);let r=t?String(t):"";n=gu.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=gu.getInertBodyElement(r)}while(r!==i);return Eo((new tN).sanitizeChildren(nf(n)||n))}finally{if(n){const r=nf(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Jn(),j(e))}function my(e){const t=es();return t?t.sanitize(bo.URL,e)||"":Xi(e,"URL")?er(e):Jd(j(e))}function vy(e){const t=es();if(t)return iy(t.sanitize(bo.RESOURCE_URL,e)||"");if(Xi(e,"ResourceURL"))return iy(er(e));throw new C(904,!1)}function es(){const e=D();return e&&e[Zt].sanitizer}const pN=/^>|^->||--!>|)/g,mN="\u200b$1\u200b";function Nt(e){return e instanceof Function?e():e}var tr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(tr||{});let uf;function lf(e,t){return uf(e,t)}function Mo(e,t,n,r,o){if(null!=r){let i,s=!1;tt(r)?i=r:et(r)&&(s=!0,r=r[Ce]);const a=ae(r);0===e&&null!==n?null==o?Ny(t,n,a):Rr(t,n,a,o||null,!0):1===e&&null!==n?Rr(t,n,a,o||null,!0):2===e?function rs(e,t,n){const r=Cu(e,t);r&&function FN(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function VN(e,t,n,r,o){const i=n[dn];i!==ae(n)&&Mo(t,e,r,i,o);for(let a=Te;at.replace(gN,mN))}(t))}function yu(e,t,n){return e.createElement(t,n)}function Sy(e,t){t[Zt].changeDetectionScheduler?.notify(1),wu(e,t,t[F],2,null,null)}function Ty(e,t){const n=e[ho],r=n.indexOf(t);n.splice(r,1)}function ts(e,t){if(e.length<=Te)return;const n=Te+t,r=e[n];if(r){const o=r[Pi];null!==o&&o!==e&&Ty(o,r),t>0&&(e[n-1][Wt]=r[Wt]);const i=Pa(e,Te+t);!function TN(e,t){Sy(e,t),t[Ce]=null,t[Je]=null}(r[E],r);const s=i[Ln];null!==s&&s.detachView(i[E]),r[Se]=null,r[Wt]=null,r[N]&=-129}return r}function Du(e,t){if(!(256&t[N])){const n=t[F];n.destroyNode&&wu(e,t,n,3,null,null),function NN(e){let t=e[xi];if(!t)return ff(e[E],e);for(;t;){let n=null;if(et(t))n=t[xi];else{const r=t[Te];r&&(n=r)}if(!n){for(;t&&!t[Wt]&&t!==e;)et(t)&&ff(t[E],t),t=t[Se];null===t&&(t=e),et(t)&&ff(t[E],t),n=t&&t[Wt]}t=n}}(t)}}function ff(e,t){if(256&t[N])return;const n=G(null);try{t[N]&=-129,t[N]|=256,t[Ir]&&function $g(e){if(Yr(e),Ii(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[lo]=null);const o=t[Xn];if(null!==o){t[Xn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===zt.None||i===zt.Emulated)return null}return it(r,n)}}(e,t.parent,n)}function Rr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ny(e,t,n){e.appendChild(t,n)}function Ry(e,t,n,r,o){null!==r?Rr(e,t,n,r,o):Ny(e,t,n)}function Cu(e,t){return e.parentNode(t)}let pf,Py=function xy(e,t,n){return 40&e.type?it(e,n):null};function _u(e,t,n,r){const o=hf(e,r,t),i=t[F],a=function Oy(e,t,n){return Py(e,t,n)}(r.parent||t[Je],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;uU&&By(e,t,U,!1),fn(s?2:0,o),n(r,o)}finally{Tr(i),fn(s?3:1,o)}}function yf(e,t,n){if(id(t)){const r=G(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function qy(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=De.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Wy(r,n,l,a,u):Wy(r,n,l,a)}return r}function Wy(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Dt(e,t,n,r,o,i,s,a){const u=it(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Mf(e,n,c,r,o),Mr(t)&&function XN(e,t){const n=Tt(t,e);16&n[N]||(n[N]|=64)}(n,t.index)):3&t.type&&(r=function KN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function wf(e,t,n,r){if(Qm()){const o=null===r?null:{"":-1},i=function oR(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,os(e,n,o.hostVars,B),o)}function yn(e,t,n,r,o,i){const s=it(e,t);!function bf(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?j(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[F],s,i,e.value,n,r,o)}function cR(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][Wt]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ji(e.lView)},consumerOnSignalRead(){this.lView[Ir]=this}},oD=100;function Mu(e,t=!0,n=0){const r=e[Zt],o=r.rendererFactory;o.begin?.();try{!function DR(e,t){Af(e,t);let n=0;for(;fd(e);){if(n===oD)throw new C(103,!1);n++,Af(e,1)}}(e,n)}catch(s){throw t&&Iu(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function CR(e,t,n,r){const o=t[N];if(!(256&~o))return;t[Zt].inlineEffectRunner?.flush(),Cd(t);let s=null,a=null;(function _R(e){return 2!==e.type})(e)&&(a=function gR(e){return e[Ir]??function mR(e){const t=rD.pop()??Object.create(yR);return t.lView=e,t}(e)}(t),s=function Ug(e){return e&&(e.nextProducerIndex=0),G(e)}(a));try{qm(t),function Xm(e){return k.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hy(e,t,n,2,r);const u=!(3&~o);if(u){const d=e.preOrderCheckHooks;null!==d&&Ka(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Xa(t,d,0,null),bd(t,0)}if(function wR(e){for(let t=Vv(e);null!==t;t=jv(t)){if(!(t[N]&od.HasTransplantedViews))continue;const n=t[ho];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function vR(e){e.lView[Ir]!==e&&(e.lView=null,rD.push(e))}(a)),_d()}}function iD(e,t){for(let n=Vv(e);null!==n;n=jv(n))for(let r=Te;r-1&&(ts(t,r),Pa(n,r))}this._attachedToViewContainer=!1}Du(this._lView[E],this._lView)}onDestroy(t){Za(this._lView,t)}markForCheck(){us(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){hd(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Mu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Sy(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t,hd(this._lView)}}let $n=(()=>{class e{static{this.__NG_ELEMENT_ID__=MR}}return e})();const bR=$n,IR=class extends bR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=is(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ls(o)}};function MR(){return Su(ie(),D())}function Su(e,t){return 4&e.type?new IR(t,e,Co(e,t)):null}let hD=()=>null;function Ao(e,t){return hD(e,t)}class Ff{}class YR{}class pD{}class XR{resolveComponentFactory(t){throw function KR(e){const t=Error(`No component factory found for ${je(e)}.`);return t.ngComponent=e,t}(t)}}let Ou=(()=>{class e{static{this.NULL=new XR}}return e})();class mD{}let Hn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function JR(){const e=D(),n=Tt(ie().index,e);return(et(n)?n:e)[F]}()}}return e})(),eO=(()=>{class e{static{this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}}return e})();const kf={},vD=new Set;function Dn(e){vD.has(e)||(vD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function yD(...e){}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function tO(){const e="function"==typeof re.requestAnimationFrame;let t=re[e?"requestAnimationFrame":"setTimeout"],n=re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function oO(e){const t=()=>{!function rO(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vf(e),e.isCheckStableRunning=!0,Lf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function iO(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return DD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),CD(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return DD(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),CD(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Vf(e),Lf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,nO,yD,yD);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nO={};function Lf(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 Vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function DD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function CD(e){e._nesting--,Lf(e)}let ps=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Pu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&jy(e,n,i.join(" "))}}(h,ne,g,r),void 0!==n&&function yO(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static{this.__NG_ELEMENT_ID__=CO}}return e})();function CO(){return RD(ie(),D())}const _O=Xt,AD=class extends _O{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Co(this._hostTNode,this._hostLView)}get injector(){return new $e(this._hostTNode,this._hostLView)}get parentInjector(){const t=tu(this._hostTNode,this._hostLView);if(Md(t)){const n=Gi(t,this._hostLView),r=Hi(t);return new $e(n[E].data[r+8],n)}return new $e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ND(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=Ao(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,To(this._hostTNode,s)),a}createComponent(t,n,r,o,i){const s=t&&!function Oi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new vs(z(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(It,null);g&&(i=g)}const c=z(u.componentType??{}),d=Ao(this._lContainer,c?.id??null),h=u.create(l,o,d?.firstChild??null,i);return this.insertImpl(h.hostView,a,To(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function DT(e){return tt(e[Se])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[Se],l=new AD(u,u[Je],u[Se]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return ss(s,o,i,r),t.attachToViewContainerRef(),gm($f(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ND(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ts(this._lContainer,n);r&&(Pa($f(this._lContainer),n),Du(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=ts(this._lContainer,n);return r&&null!=Pa($f(this._lContainer),n)?new ls(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ND(e){return e[8]}function $f(e){return e[8]||(e[8]=[])}function RD(e,t){let n;const r=t[e.index];return tt(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,bu(t,n)),OD(n,t,e,r),new AD(n,e,t)}let OD=function PD(e,t,n,r){if(e[dn])return;let o;o=8&n.type?ae(r):function wO(e,t){const n=e[F],r=n.createComment(""),o=it(t,e);return Rr(n,Cu(n,o),r,function kN(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[dn]=o},Hf=()=>!1;class Gf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Gf(this.queryList)}setDirty(){this.queryList.setDirty()}}class zf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class qf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=Te;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ri(o.hostAttrs,n=Ri(n,o.hostAttrs))}}(r)}function $O(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Lu(e){return e===cn?{}:e===K?[]:e}function GO(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function zO(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function qO(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function iC(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}class xr{}class sC{}class Xf extends xr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new SD(this);const o=Xe(t);this._bootstrapComponents=Nt(o.bootstrap),this._r3Injector=bv(t,n,[{provide:xr,useValue:this},{provide:Ou,useValue:this.componentFactoryResolver},...r],je(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 Jf extends sC{constructor(t){super(),this.moduleType=t}create(t){return new Xf(this.moduleType,t,[])}}class aC extends xr{constructor(t){super(),this.componentFactoryResolver=new SD(this),this.instance=null;const n=new so([...t.providers,{provide:xr,useValue:this},{provide:Ou,useValue:this.componentFactoryResolver}],t.parent||$a(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function eh(e,t,n=null){return new aC({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Pr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new kt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function th(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cn(e,t,n){return e[t]=n}function Ae(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Fr(e,t,n,r){const o=Ae(e,t,n);return Ae(e,t+1,r)||o}function be(e,t,n,r,o,i,s,a){const u=D(),l=Z(),c=e+U,d=l.firstCreatePass?function ix(e,t,n,r,o,i,s,a,u){const l=t.consts,c=So(t,e,4,s||null,hn(l,a));wf(t,n,c,hn(l,u)),Ya(t,c);const d=c.tView=_f(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];pn(d,!1);const f=uC(l,u,d,e);Bi()&&_u(l,u,f,d),rt(f,u);const h=Yy(f,u,f,d);return u[c]=h,bu(u,h),function xD(e,t,n){return Hf(e,t,n)}(h,d,u),Wa(d)&&Df(l,u,d),null!=s&&Cf(u,d,a),be}let uC=function lC(e,t,n,r){return gn(!0),t[F].createComment("")};function Ct(e,t,n,r){const o=D();return Ae(o,Yt(),t)&&(Z(),yn(pe(),o,e,t,n,r)),Ct}function jo(e,t,n,r,o,i){const a=Fr(e,function Vn(){return k.lFrame.bindingIndex}(),n,o);return jn(2),a?t+j(n)+r+j(o)+i:B}function qu(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function dh(e){return 2|e}function Lr(e){return(131068&e)>>2}function fh(e,t){return-131069&e|t<<2}function hh(e){return 1|e}function UC(e,t,n,r){const o=e[n+1],i=null===t;let s=r?ir(o):Lr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];zx(e[s],t)&&(a=!0,e[s+1]=r?hh(l):dh(l)),s=r?ir(l):Lr(l)}a&&(e[n+1]=r?dh(o):hh(o))}function zx(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oo(e,t)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function BC(e){return e.substring(He.key,He.keyEnd)}function $C(e,t){const n=He.textEnd;return n===t?-1:(t=He.keyEnd=function Qx(e,t,n){for(;t32;)t++;return t}(e,He.key=t,n),qo(e,t,n))}function qo(e,t,n){for(;t=0;n=$C(t,n))bt(e,BC(t),!0)}function ZC(e,t){return t>=e.expandoStartIndex}function QC(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[nt()],s=ZC(e,n);JC(i,r)&&null===t&&!s&&(t=!1),t=function Jx(e,t,n,r){const o=function yd(e){const t=k.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=bs(n=gh(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=gh(o,e,t,n,r),null===i){let u=function eP(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Lr(r))return e[ir(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=gh(null,e,t,u[1],r),u=bs(u,t.attrs,r),function tP(e,t,n,r){e[ir(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function nP(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=ir(e[a+1]);e[r+1]=qu(f,a),0!==f&&(e[f+1]=fh(e[f+1],r)),e[a+1]=function Bx(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qu(a,0),0!==a&&(e[a+1]=fh(e[a+1],r)),a=r;else e[r+1]=qu(u,0),0===a?a=r:e[u+1]=fh(e[u+1],r),u=r;l&&(e[r+1]=dh(e[r+1])),UC(e,c,r,!0),UC(e,c,r,!1),function Gx(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&oo(i,t)>=0&&(n[r+1]=hh(n[r+1]))}(t,c,e,r,i),s=qu(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function gh(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===B&&(f=d?K:void 0);let h=d?zc(f,r):c===r?f:void 0;if(l&&!Zu(h)&&(h=zc(u,r)),Zu(h)&&(a=h,s))return a;const p=e[o+1];o=s?ir(p):Lr(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=zc(u,r))}return a}function Zu(e){return void 0!==e}function JC(e,t){return!!(e.flags&(t?8:16))}class vP{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){const s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function mh(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vh(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function e_(e,t,n,r,o){if(vh(e,t,r,n(r,o)))e.updateValue(r,o);else{const i=e.create(r,o);e.attach(r,i)}}function t_(e,t,n,r){const o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}class n_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function Ge(e,t,n){Dn("NgControlFlow");const r=D(),o=Yt(),i=yh(r,U+e);if(Ae(r,o,t)){const a=G(null);try{if(Tf(i,0),-1!==t){const u=Dh(r[E],U+t),l=Ao(i,u.tView.ssrId);ss(i,is(r,u,n,{dehydratedView:l}),0,To(u,l))}}finally{G(a)}}else{const a=tD(i,0);void 0!==a&&(a[he]=n)}}class DP{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Te}}function Qu(e){return e}function r_(e,t){return t}class CP{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Is(e,t,n,r,o,i,s,a,u,l,c,d,f){Dn("NgControlFlow");const h=void 0!==u,p=D(),g=a?s.bind(p[we][he]):s,m=new CP(h,g);p[U+e]=m,be(e+1,t,n,r,o,i),h&&be(e+2,u,l,c,d,f)}class _P extends vP{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Te}at(t){return this.getLView(t)[he].$implicit}attach(t,n){const r=n[Mt];this.needsIndexUpdate||=t!==this.length,ss(this.lContainer,n,t,To(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function wP(e,t){return ts(e,t)}(this.lContainer,t)}create(t,n){const r=Ao(this.lContainer,this.templateTNode.tView.ssrId);return is(this.hostLView,this.templateTNode,new DP(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Du(t[E],t)}updateValue(t,n){this.getLView(t)[he].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(a)})}(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){const a=Yt(),u=0===s.length;if(Ae(r,a,u)){const l=n+2,c=yh(r,l);if(u){const d=Dh(o,l),f=Ao(c,d.tView.ssrId);ss(c,is(r,d,void 0,{dehydratedView:f}),0,To(d,f))}else Tf(c,0)}}}finally{G(t)}}function yh(e,t){return e[t]}function Dh(e,t){return Vi(e,t)}function b(e,t,n,r){const o=D(),i=Z(),s=U+e,a=o[F],u=i.firstCreatePass?function bP(e,t,n,r,o,i){const s=t.consts,u=So(t,e,2,r,hn(s,o));return wf(t,n,u,hn(s,i)),null!==u.attrs&&Pu(u,u.attrs,!1),null!==u.mergedAttrs&&Pu(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=o_(i,o,u,a,t,e);o[s]=l;const c=Wa(u);return pn(u,!0),Uy(a,l,u),!function Cs(e){return!(32&~e.flags)}(u)&&Bi()&&_u(i,o,l,u),0===function _T(){return k.lFrame.elementDepthCount}()&&rt(l,o),function wT(){k.lFrame.elementDepthCount++}(),c&&(Df(i,o,u),yf(i,u,o)),null!==r&&Cf(o,u),b}function S(){let e=ie();gd()?md():(e=e.parent,pn(e,!1));const t=e;(function bT(e){return k.skipHydrationRootTNode===e})(t)&&function TT(){k.skipHydrationRootTNode=null}(),function ET(){k.lFrame.elementDepthCount--}();const n=Z();return n.firstCreatePass&&(Ya(n,e),id(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function BT(e){return!!(8&e.flags)}(t)&&ph(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $T(e){return!!(16&e.flags)}(t)&&ph(n,t,D(),t.stylesWithoutHost,!1),S}function ze(e,t,n,r){return b(e,t,n,r),S(),ze}let o_=(e,t,n,r,o,i)=>(gn(!0),yu(r,o,function iv(){return k.lFrame.currentNamespace}()));function Ch(e,t,n){const r=D(),o=Z(),i=e+U,s=o.firstCreatePass?function SP(e,t,n,r,o){const i=t.consts,s=hn(i,r),a=So(t,e,8,"ng-container",s);return null!==s&&Pu(a,s,!0),wf(t,n,a,hn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];pn(s,!0);const a=i_(o,r,s,e);return r[i]=a,Bi()&&_u(o,r,a,s),rt(a,r),Wa(s)&&(Df(o,r,s),yf(o,s,r)),null!=n&&Cf(r,s),Ch}function _h(){let e=ie();const t=Z();return gd()?md():(e=e.parent,pn(e,!1)),t.firstCreatePass&&(Ya(t,e),id(e)&&t.queries.elementEnd(e)),_h}function Ss(e,t,n){return Ch(e,t,n),_h(),Ss}let i_=(e,t,n,r)=>(gn(!0),df(t[F],""));function En(){return D()}const Qo="en-US";let c_=Qo;function Ie(e,t,n,r){const o=D(),i=Z(),s=ie();return bh(i,o,o[F],s,e,t,r),Ie}function bh(e,t,n,r,o,i,s){const a=Wa(r),l=e.firstCreatePass&&Jy(e),c=t[he],d=Xy(t);let f=!0;if(3&r.type||s){const g=it(r,t),m=s?s(g):g,v=d.length,y=s?x=>s(ae(x[r.index])):r.index;let I=null;if(!s&&a&&(I=function TF(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=i,I.__ngLastListenerFn__=i,f=!1;else{i=V_(r,t,c,i,!1);const x=n.listen(m,o,i);d.push(i,x),l&&l.push(o,y,v,v+1)}}else i=V_(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m-1?Tt(e.index,t):t);let u=L_(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=L_(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function X(e=1){return function PT(e){return(k.lFrame.contextLView=function Wm(e,t){for(;e>0;)t=t[co],e--;return t}(e,k.lFrame.contextLView))[he]}(e)}function Sh(){return function Qf(e,t){return e[Ln].queries[t].queryList}(D(),Dd())}function jt(e){return po(function AT(){return k.lFrame.contextLView}(),U+e)}function A(e,t=""){const n=D(),r=Z(),o=e+U,i=r.firstCreatePass?So(r,o,1,t,null):r.data[o],s=iw(r,n,i,t,e);n[o]=s,Bi()&&_u(r,n,s,i),pn(i,!1)}let iw=(e,t,n,r,o)=>(gn(!0),function cf(e,t){return e.createText(t)}(t[F],r));function tn(e){return Ut("",e,""),tn}function Ut(e,t,n){const r=D(),o=function Vo(e,t,n,r){return Ae(e,Yt(),n)?t+j(n)+r:B}(r,e,t,n);return o!==B&&Bn(r,nt(),o),Ut}function Th(e,t,n,r,o){const i=D(),s=jo(i,e,t,n,r,o);return s!==B&&Bn(i,nt(),s),Th}function nn(e,t,n){GD(t)&&(t=t());const r=D();return Ae(r,Yt(),t)&&Dt(Z(),pe(),r,e,t,r[F],n,!1),nn}function bn(e,t){const n=GD(e);return n&&e.set(t),n}function rn(e,t){const n=D(),r=Z(),o=ie();return bh(r,n,n[F],o,e,t),rn}function Ah(e,t,n,r,o){if(e=P(e),Array.isArray(e))for(let i=0;i>20;if(br(e)||!e.multi){const h=new $i(l,o,_),p=Rh(u,t,o?c:c+f,d);-1===p?(Ad(eu(a,s),i,u),Nh(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Rh(u,t,c+f,d),p=Rh(u,t,c,c+f),m=p>=0&&n[p];if(o&&!m||!o&&!(h>=0&&n[h])){Ad(eu(a,s),i,u);const v=function YF(e,t,n,r,o){const i=new $i(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,hw(i,o,r&&!n),i}(o?QF:ZF,n.length,o,r,l);!o&&m&&(n[p].providerFactory=v),Nh(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Nh(i,e,h>-1?h:p,hw(n[o?p:h],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function Nh(e,t,n,r){const o=br(t),i=function q0(e){return!!e.useClass}(t);if(o||i){const u=(i?P(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function hw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Rh(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function WF(e,t,n){const r=Z();if(r.firstCreatePass){const o=Qt(e);Ah(n,r.data,r.blueprint,o,!0),Ah(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}let KF=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Qc(0,n.type),o=r.length>0?eh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(L(It))})}}return e})();function Bt(e){Dn("NgStandalone"),e.getStandaloneInjector=t=>t.get(KF).getOrCreateStandaloneInjector(e)}function tl(e,t,n,r,o){return function vw(e,t,n,r,o,i,s){const a=t+n;return Fr(e,a,o,i)?Cn(e,a+2,s?r.call(s,o,i):r(o,i)):Ps(e,a+2)}(D(),st(),e,t,n,r,o)}function Ps(e,t){const n=e[t];return n===B?void 0:n}function mw(e,t,n,r,o,i){const s=t+n;return Ae(e,s,o)?Cn(e,s+1,i?r.call(i,o):r(o)):Ps(e,s+1)}function ww(e,t,n){const r=e+U,o=D(),i=po(o,r);return function Fs(e,t){return e[E].data[t].pure}(o,r)?mw(o,st(),t,i.transform,n,i):i.transform(n)}function Ew(e,t){return Su(e,t)}let jw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Gw=new M("");function js(e){return!!e&&"function"==typeof e.then}function zw(e){return!!e&&"function"==typeof e.subscribe}const sk=new M("");let Bh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=w(sk,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(js(i))n.push(i);else if(zw(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const $h=new M("");let sr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(Mv),this.afterRenderEffectManager=w(ps),this.externalTestViews=new Set,this.beforeRender=new Ft,this.afterTick=new Ft,this.componentTypes=[],this.components=[],this.isStable=w(Pr).hasPendingTasks.pipe(Y(n=>!n)),this._injector=w(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof pD;if(!this._injector.get(Bh).done)throw!o&&function Kn(e){const t=z(e)||Ue(e)||Ye(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Ou).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ak(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xr),l=s.create(vt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Gw,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),il(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);const r=G(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,G(r)}}detectChangesInAttachedViews(n){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===oD)throw new C(103,!1);if(n){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)lk(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Hh(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Hh(i))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;il(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get($h,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>il(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function il(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lk(e,t,n){!t&&!Hh(e)||function ck(e,t,n){let r;n?(r=0,e[N]|=1024):r=64&e[N]?0:1,Mu(e,t,r)}(e,n,t)}function Hh(e){return fd(e)}class dk{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fk=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Nt(Xe(n).declarations).reduce((s,a)=>{const u=z(a);return u&&s.push(new vs(u)),s},[]);return new dk(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),gk=(()=>{class e{constructor(){this.zone=w(ue),this.applicationRef=w(sr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Yw(e){return[{provide:ue,useFactory:e},{provide:Er,multi:!0,useFactory:()=>{const t=w(gk,{optional:!0});return()=>t.initialize()}},{provide:Er,multi:!0,useFactory:()=>{const t=w(yk);return()=>{t.initialize()}}},{provide:Mv,useFactory:mk}]}function mk(){const e=w(ue),t=w(vn);return n=>e.runOutsideAngular(()=>t.handleError(n))}function vk(e){return io([[],Yw(()=>new ue(function Kw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let yk=(()=>{class e{constructor(){this.subscription=new ht,this.initialized=!1,this.zone=w(ue),this.pendingTasks=w(Pr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Gn=new M("",{providedIn:"root",factory:()=>w(Gn,W.Optional|W.SkipSelf)||function Dk(){return typeof $localize<"u"&&$localize.locale||Qo}()}),Gh=new M("");let ar=null;let Us=(()=>{class e{static{this.__NG_ELEMENT_ID__=Ik}}return e})();function Ik(e){return function Mk(e,t,n){if(Mr(e)&&!n){const r=Tt(e.index,t);return new ls(r,r)}return 47&e.type?new ls(t[we],t):null}(ie(),D(),!(16&~e))}class lE{constructor(){}supports(t){return t instanceof Map||th(t)}create(){return new Pk}}class Pk{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||th(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new Fk(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Fk{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function dE(){return new ll([new lE])}let ll=(()=>{class e{static{this.\u0275prov=T({token:e,providedIn:"root",factory:dE})}constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dE()),deps:[[e,new Hc,new $c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function Xk(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function bk(e=[]){if(ar)return ar;const t=function eE(e=[],t){return vt.create({name:t,providers:[{provide:Xc,useValue:"platform"},{provide:Gh,useValue:new Set([()=>ar=null])},...e]})}(e);return ar=t,function qw(){!function jS(e){zg=e}(()=>{throw new C(600,!1)})}(),function tE(e){e.get(Zv,null)?.forEach(n=>n())}(t),t}(r),i=[vk(),...n||[]],a=new aC({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ue);return u.run(()=>{a.resolveInjectorInitializers();const l=a.get(vn,null);let c;u.runOutsideAngular(()=>{c=u.onError.subscribe({next:h=>{l.handleError(h)}})});const d=()=>a.destroy(),f=o.get(Gh);return f.add(d),a.onDestroy(()=>{c.unsubscribe(),f.delete(d)}),function Ww(e,t,n){try{const r=n();return js(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,u,()=>{const h=a.get(Bh);return h.runInitializers(),h.donePromise.then(()=>{!function d_(e){"string"==typeof e&&(c_=e.toLowerCase().replace(/_/g,"-"))}(a.get(Gn,Qo)||Qo);const g=a.get(sr);return void 0!==t&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function Jo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const ei_baseUrl="https://api.djongomapper.com/mapper/";function ur(e){return this instanceof ur?(this.v=e,this):new ur(e)}function LE(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 np(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const VE=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function jE(e){return ye(e?.then)}function UE(e){return ye(e[Sc])}function BE(e){return Symbol.asyncIterator&&ye(e?.[Symbol.asyncIterator])}function $E(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 HE=function BL(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function GE(e){return ye(e?.[HE])}function zE(e){return function kE(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof ur?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield ur(n.read());if(o)return yield ur(void 0);yield yield ur(r)}}finally{n.releaseLock()}})}function qE(e){return ye(e?.getReader)}function In(e){if(e instanceof Oe)return e;if(null!=e){if(UE(e))return function $L(e){return new Oe(t=>{const n=e[Sc]();if(ye(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(VE(e))return function HL(e){return new Oe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kg)})}(e);if(BE(e))return WE(e);if(GE(e))return function zL(e){return new Oe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(qE(e))return function qL(e){return WE(zE(e))}(e)}throw $E(e)}function WE(e){return new Oe(t=>{(function WL(e,t){var n,r,o,i;return function PE(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=LE(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function zn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ZE(e,t=0){return Qe((n,r)=>{n.subscribe(Ve(r,o=>zn(r,e,()=>r.next(o),t),()=>zn(r,e,()=>r.complete(),t),o=>zn(r,e,()=>r.error(o),t)))})}function QE(e,t=0){return Qe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function YE(e,t){if(!e)throw new Error("Iterable cannot be null");return new Oe(n=>{zn(n,t,()=>{const r=e[Symbol.asyncIterator]();zn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ke(e,t){return t?function JL(e,t){if(null!=e){if(UE(e))return function ZL(e,t){return In(e).pipe(QE(t),ZE(t))}(e,t);if(VE(e))return function YL(e,t){return new Oe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(jE(e))return function QL(e,t){return In(e).pipe(QE(t),ZE(t))}(e,t);if(BE(e))return YE(e,t);if(GE(e))return function KL(e,t){return new Oe(n=>{let r;return zn(n,t,()=>{r=e[HE](),zn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ye(r?.return)&&r.return()})}(e,t);if(qE(e))return function XL(e,t){return YE(zE(e),t)}(e,t)}throw $E(e)}(e,t):In(e)}function rp(e){return e[e.length-1]}function KE(e){return ye(rp(e))?e.pop():void 0}function gl(e){return function eV(e){return e&&ye(e.schedule)}(rp(e))?e.pop():void 0}function $(...e){return Ke(e,gl(e))}const ml=yc(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:tV}=Array,{getPrototypeOf:nV,prototype:rV,keys:oV}=Object;function XE(e){if(1===e.length){const t=e[0];if(tV(t))return{args:t,keys:null};if(function iV(e){return e&&"object"==typeof e&&nV(e)===rV}(t)){const n=oV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:sV}=Array;function JE(e){return Y(t=>function aV(e,t){return sV(t)?e(...t):e(t)}(e,t))}function eb(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function tb(...e){const t=gl(e),n=KE(e),{args:r,keys:o}=XE(e);if(0===r.length)return Ke([],t);const i=new Oe(function uV(e,t,n=_r){return r=>{nb(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Ke(e[u],t);let c=!1;l.subscribe(Ve(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>eb(o,s):_r));return n?i.pipe(JE(n)):i}function nb(e,t,n){e?zn(n,e,t):t()}function lt(e,t,n=1/0){return ye(t)?lt((r,o)=>Y((i,s)=>t(r,i,o,s))(In(e(r,o))),n):("number"==typeof t&&(n=t),Qe((r,o)=>function lV(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let m=!1;In(n(g,c++)).subscribe(Ve(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Ve(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function ip(...e){return function cV(){return function op(e=1/0){return lt(_r,e)}(1)}()(Ke(e,gl(e)))}function rb(e){return new Oe(t=>{In(e()).subscribe(t)})}function vl(e,t){const n=ye(e)?e:()=>e,r=o=>o.error(n());return new Oe(t?o=>t.schedule(r,0,o):r)}const Mn=new Oe(e=>e.complete());function sp(){return Qe((e,t)=>{let n=null;e._refCount++;const r=Ve(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class ob extends Oe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,tm(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 ht;const n=this.getSubject();t.add(this.source.subscribe(Ve(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ht.EMPTY)}return t}refCount(){return sp()(this)}}let ib=null;function lr(){return ib}class hV{}const on=new M("");let sb=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(pV),providedIn:"platform"})}}return e})(),pV=(()=>{class e extends sb{constructor(){super(),this._doc=w(on),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return lr().getBaseHref(this._doc)}onPopState(n){const r=lr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=lr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function ab(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 ub(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 Ur(e){return e&&"?"!==e[0]?"?"+e:e}let yl=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(mV),providedIn:"root"})}}return e})();const gV=new M("");let mV=(()=>{class e extends yl{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??w(on).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 ab(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Ur(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Ur(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Ur(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(L(sb),L(gV,8))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hs=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function DV(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(ub(lb(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ur(r))}normalize(n){return e.stripTrailingSlash(function yV(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,lb(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Ur}static{this.joinWithSlash=ab}static{this.stripTrailingSlash=ub}static{this.\u0275fac=function(r){return new(r||e)(L(yl))}}static{this.\u0275prov=T({token:e,factory:()=>function vV(){return new Hs(L(yl))}(),providedIn:"root"})}}return e})();function lb(e){return e.replace(/\/index.html$/,"")}function yb(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const mp=/\s+/,Db=[];let vp=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Db,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(mp):Db}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(mp):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(mp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn))}}static{this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:[De.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})(),bb=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:tr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(ll),_(Hn))}}static{this.\u0275dir=V({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),Ib=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,o),get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(_(Xt))}}static{this.\u0275dir=V({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[St]})}}return e})(),Mb=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=Sb}transform(n,r=Sb){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ??=this.differs.find(n).create();const o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(function Aj(e,t){return{key:e,value:t}}(s.key,s.currentValue))})),(o||i)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}static{this.\u0275fac=function(r){return new(r||e)(_(ll,16))}}static{this.\u0275pipe=mt({name:"keyvalue",type:e,pure:!1,standalone:!0})}}return e})();function Sb(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ve(r,u=>{o?.unsubscribe();let l=0;const c=i++;In(e(u,c)).subscribe(o=Ve(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ni(e){return e<=0?()=>Mn:Qe((t,n)=>{let r=0;t.subscribe(Ve(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function cr(e,t){return Qe((n,r)=>{let o=0;n.subscribe(Ve(r,i=>e.call(t,i,o++)&&r.next(i)))})}function xl(e){return Qe((t,n)=>{let r=!1;t.subscribe(Ve(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function jb(e=dU){return Qe((t,n)=>{let r=!1;t.subscribe(Ve(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dU(){return new ml}function Br(e,t){const n=arguments.length>=2;return r=>r.pipe(e?cr((o,i)=>e(o,i,r)):_r,ni(1),n?xl(t):jb(()=>new ml))}function Ws(e,t){return ye(t)?lt(e,t,1):lt(e,1)}function dt(e,t,n){const r=ye(e)||t||n?{next:e,error:t,complete:n}:e;return r?Qe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ve(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):_r}function ri(e){return Qe((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ve(n,void 0,void 0,s=>{i=In(e(s,ri(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ep(e){return e<=0?()=>Mn:Qe((t,n)=>{let r=[];t.subscribe(Ve(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Pl(e){return Qe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class vU extends hV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class bp extends vU{static makeCurrent(){!function fV(e){ib??=e}(new bp)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function yU(){return Zs=Zs||document.querySelector("base"),Zs?Zs.getAttribute("href"):null}();return null==n?null:function DU(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return yb(document.cookie,t)}}let Zs=null,_U=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const Ip=new M("");let Ub=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(L(Ip),L(ue))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();class Bb{constructor(t){this._doc=t}}const Mp="ng-app-id";let $b=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ab(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Mp}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Mp),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Mp,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(L(on),L(jd),L(Qv,8),L(Nr))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const Sp={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/"},Tp=/%COMP%/g,IU=new M("",{providedIn:"root",factory:()=>!0});function Gb(e,t){return t.map(n=>n.replace(Tp,e))}let zb=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ab(a),this.defaultRenderer=new Ap(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===zt.ShadowDom&&(r={...r,encapsulation:zt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Wb?o.applyToHost(n):o instanceof Np&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case zt.Emulated:i=new Wb(u,l,r,this.appId,c,s,a,d);break;case zt.ShadowDom:return new AU(u,l,n,r,s,a,this.nonce,d);default:i=new Np(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(L(Ub),L($b),L(jd),L(IU),L(on),L(Nr),L(ue),L(Qv))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();class Ap{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Sp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(qb(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(qb(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Sp[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Sp[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(tr.DashCase|tr.Important)?t.style.setProperty(n,r,o&tr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=lr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function qb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class AU extends Ap{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Gb(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Np extends Ap{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Gb(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wb extends Np{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function MU(e){return"_ngcontent-%COMP%".replace(Tp,e)}(l),this.hostAttr=function SU(e){return"_nghost-%COMP%".replace(Tp,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}const Zb=["alt","control","meta","shift"],RU={"\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"},OU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function Qb(e){return{appProviders:[...UU,...e?.providers??[]],platformProviders:VU}}const VU=[{provide:Nr,useValue:"browser"},{provide:Zv,useValue:function FU(){bp.makeCurrent()},multi:!0},{provide:on,useFactory:function LU(){return function AA(e){Vd=e}(document),document},deps:[]}],UU=[{provide:Xc,useValue:"root"},{provide:vn,useFactory:function kU(){return new vn},deps:[]},{provide:Ip,useClass:(()=>{class e extends Bb{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(L(on))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})(),multi:!0,deps:[on,ue,Nr]},{provide:Ip,useClass:(()=>{class e extends Bb{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zb.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=RU[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Zb.forEach(s=>{s!==o&&(0,OU[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(L(on))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})(),multi:!0,deps:[on]},zb,$b,Ub,{provide:mD,useExisting:zb},{provide:Nb,useClass:_U,deps:[]},[]];let BU=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(L(on))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const H="primary",Ys=Symbol("RouteTitle");class zU{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 oi(e){return new zU(e)}function qU(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function eI(e){return e.length>0?e[e.length-1]:null}function dr(e){return function DL(e){return!!e&&(e instanceof Oe||ye(e.lift)&&ye(e.subscribe))}(e)?e:js(e)?Ke(Promise.resolve(e)):$(e)}const ZU={exact:function rI(e,t,n){if(!$r(e.segments,t.segments)||!Fl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!rI(e.children[r],t.children[r],n))return!1;return!0},subset:oI},tI={exact:function QU(e,t){return Tn(e,t)},subset:function YU(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Jb(e[n],t[n]))},ignored:()=>!0};function nI(e,t,n){return ZU[n.paths](e.root,t.root,n.matrixParams)&&tI[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function oI(e,t,n){return iI(e,t,t.segments,n)}function iI(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!$r(o,n)||t.hasChildren()||!Fl(o,n,r))}if(e.segments.length===n.length){if(!$r(e.segments,n)||!Fl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!oI(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!($r(e.segments,o)&&Fl(e.segments,o,r)&&e.children[H])&&iI(e.children[H],t,i,r)}}function Fl(e,t,n){return t.every((r,o)=>tI[n](e[o].parameters,r.parameters))}class ii{constructor(t=new le([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=oi(this.queryParams),this._queryParamMap}toString(){return JU.serialize(this)}}class le{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kl(this)}}class Ks{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=oi(this.parameters),this._parameterMap}toString(){return uI(this)}}function $r(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let si=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>new Op,providedIn:"root"})}}return e})();class Op{parse(t){const n=new c2(t);return new ii(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Xs(t.root,!0)}`,r=function n2(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ll(n)}=${Ll(o)}`).join("&"):`${Ll(n)}=${Ll(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function e2(e){return encodeURI(e)}(t.fragment)}`:""}`}}const JU=new Op;function kl(e){return e.segments.map(t=>uI(t)).join("/")}function Xs(e,t){if(!e.hasChildren())return kl(e);if(t){const n=e.children[H]?Xs(e.children[H],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&r.push(`${o}:${Xs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function XU(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===H&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==H&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===H?[Xs(e.children[H],!1)]:[`${o}:${Xs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${kl(e)}/${n[0]}`:`${kl(e)}/(${n.join("//")})`}}function sI(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ll(e){return sI(e).replace(/%3B/gi,";")}function xp(e){return sI(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vl(e){return decodeURIComponent(e)}function aI(e){return Vl(e.replace(/\+/g,"%20"))}function uI(e){return`${xp(e.path)}${function t2(e){return Object.entries(e).map(([t,n])=>`;${xp(t)}=${xp(n)}`).join("")}(e.parameters)}`}const r2=/^[^\/()?;#]+/;function Pp(e){const t=e.match(r2);return t?t[0]:""}const o2=/^[^\/()?;=#]+/,s2=/^[^=?&#]+/,u2=/^[^&#]+/;class c2{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new le([],{}):new le([],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 le(t,n)),r}parseSegment(){const t=Pp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Ks(Vl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function i2(e){const t=e.match(o2);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Pp(this.remaining);o&&(r=o,this.capture(r))}t[Vl(n)]=Vl(r)}parseQueryParam(t){const n=function a2(e){const t=e.match(s2);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function l2(e){const t=e.match(u2);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=aI(n),i=aI(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Pp(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=H);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[H]:new le([],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 C(4011,!1)}}function lI(e){return e.segments.length>0?new le([],{[H]:e}):e}function cI(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=cI(o);if(r===H&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function d2(e){if(1===e.numberOfChildren&&e.children[H]){const t=e.children[H];return new le(e.segments.concat(t.segments),t.children)}return e}(new le(e.segments,t))}function ai(e){return e instanceof ii}function dI(e){let t;const o=lI(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new le(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function fI(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Fp(o,o,o,n,r);const i=function h2(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new pI(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new pI(n,t,r)}(t);if(i.toRoot())return Fp(o,o,new le([],{}),n,r);const s=function p2(e,t,n){if(e.isAbsolute)return new Ul(t,!0,0);if(!n)return new Ul(t,!1,NaN);if(null===n.parent)return new Ul(n,!0,0);const r=jl(e.commands[0])?0:1;return function g2(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,!1);o=r.segments.length}return new Ul(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ea(s.segmentGroup,s.index,i.commands):gI(s.segmentGroup,s.index,i.commands);return Fp(o,s.segmentGroup,a,n,r)}function jl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Js(e){return"object"==typeof e&&null!=e&&e.outlets}function Fp(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:hI(e,t,n);const a=lI(cI(s));return new ii(a,i,o)}function hI(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:hI(i,t,n)}),new le(e.segments,r)}class pI{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&jl(r[0]))throw new C(4003,!1);const o=r.find(Js);if(o&&o!==eI(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ul{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function gI(e,t,n){if(e??=new le([],{}),0===e.segments.length&&e.hasChildren())return ea(e,t,n);const r=function v2(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Js(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!vI(u,l,s))return i;r+=2}else{if(!vI(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==H)&&e.children[H]&&1===e.numberOfChildren&&0===e.children[H].segments.length){const i=ea(e.children[H],t,n);return new le(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=gI(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new le(e.segments,o)}}function kp(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=kp(new le([],{}),0,r))}),t}function mI(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function vI(e,t,n){return e==n.path&&Tn(t,n.parameters)}const ta="imperative";var Q=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Q||{});class An{constructor(t,n){this.id=t,this.url=n}}class Lp extends An{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Q.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hr extends An{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var xt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xt||{}),Vp=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Vp||{});class ui extends An{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class na extends An{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationSkipped}}class Bl extends An{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yI extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class D2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class C2 extends An{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class w2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class E2{constructor(t){this.route=t,this.type=Q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class b2{constructor(t){this.route=t,this.type=Q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class I2{constructor(t){this.snapshot=t,this.type=Q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class M2{constructor(t){this.snapshot=t,this.type=Q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S2{constructor(t){this.snapshot=t,this.type=Q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T2{constructor(t){this.snapshot=t,this.type=Q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jp{}class Up{constructor(t){this.url=t}}class A2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ra,this.attachRef=null}}let ra=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new A2,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class DI{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=Bp(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Bp(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=$p(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return $p(t,this._root).map(n=>n.value)}}function Bp(e,t){if(e===t.value)return t;for(const n of t.children){const r=Bp(e,n);if(r)return r}return null}function $p(e,t){if(e===t.value)return[t];for(const n of t.children){const r=$p(e,n);if(r.length)return r.unshift(t),r}return[]}class un{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function li(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class CI extends DI{constructor(t,n){super(t),this.snapshot=n,zp(this,t)}toString(){return this.snapshot.toString()}}function _I(e){const t=function N2(e){const i=new Gp([],{},{},"",{},H,e,null,{});return new wI("",new un(i,[]))}(e),n=new kt([new Ks("",{})]),r=new kt({}),o=new kt({}),i=new kt({}),s=new kt(""),a=new fr(n,r,i,s,o,H,e,t.root);return a.snapshot=t.root,new CI(new un(a,[]),t)}class fr{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Y(l=>l[Ys]))??$(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Y(t=>oi(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Y(t=>oi(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hp(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&bI(o)&&(r.resolve[Ys]=o.title),r}class Gp{get title(){return this.data?.[Ys]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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??=oi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oi(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wI extends DI{constructor(t,n){super(n),this.url=t,zp(this,n)}toString(){return EI(this._root)}}function zp(e,t){t.value._routerState=e,t.children.forEach(n=>zp(e,n))}function EI(e){const t=e.children.length>0?` { ${e.children.map(EI).join(", ")} } `:"";return`${e.value}${t}`}function qp(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Tn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Tn(t.params,n.params)||e.paramsSubject.next(n.params),function WU(e,t){if(e.length!==t.length)return!1;for(let n=0;nTn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Wp(e.parent,t.parent))}function bI(e){return"string"==typeof e.title||null===e.title}let Zp=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=w(ra),this.location=w(Xt),this.changeDetector=w(Us),this.environmentInjector=w(It),this.inputBinder=w($l,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Qp(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[St]})}}return e})();class Qp{__ngOutletInjector(t){return new Qp(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===fr?this.route:t===ra?this.childContexts:this.parent.get(t,n)}}const $l=new M("");function oa(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function O2(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return oa(e,r,o);return oa(e,r)})}(e,t,n);return new un(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>oa(e,a)),s}}const r=function x2(e){return new fr(new kt(e.url),new kt(e.params),new kt(e.queryParams),new kt(e.fragment),new kt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>oa(e,i));return new un(r,o)}}const MI="ngNavigationCancelingError";function SI(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=ai(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=TI(!1,xt.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function TI(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[MI]=!0,n.cancellationCode=t,n}function AI(e){return!!e&&e[MI]}let NI=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Bt],decls:1,vars:0,template:function(r,o){1&r&&ze(0,"router-outlet")},dependencies:[Zp],encapsulation:2})}}return e})();function Yp(e){const t=e.children&&e.children.map(Yp),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==H&&(n.component=NI),n}function Nn(e){return e.outlet||H}function ia(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 B2{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),qp(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=li(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=li(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=li(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=li(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new T2(i.value.snapshot))}),t.children.length&&this.forwardEvent(new M2(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(qp(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),qp(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ia(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class RI{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Hl{constructor(t,n){this.component=t,this.route=n}}function $2(e,t,n){const r=e._root;return sa(r,t?t._root:null,n,[r.value])}function ci(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function l0(e){return null!==Aa(e)}(e)?t.get(e):e:r}function sa(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=li(t);return e.children.forEach(s=>{(function G2(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function z2(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!$r(e.url,t.url);case"pathParamsOrQueryParamsChange":return!$r(e.url,t.url)||!Tn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wp(e,t)||!Tn(e.queryParams,t.queryParams);default:return!Wp(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new RI(r)):(i.data=s.data,i._resolvedData=s._resolvedData),sa(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hl(a.outlet.component,s))}else s&&aa(t,a,o),o.canActivateChecks.push(new RI(r)),sa(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>aa(a,n.getContext(s),o)),o}function aa(e,t,n){const r=li(e),o=e.value;Object.entries(r).forEach(([i,s])=>{aa(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Hl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ua(e){return"function"==typeof e}function OI(e){return e instanceof ml||"EmptyError"===e?.name}const Gl=Symbol("INITIAL_VALUE");function di(){return Sn(e=>tb(e.map(t=>t.pipe(ni(1),function cU(...e){const t=gl(e);return Qe((n,r)=>{(t?ip(e,n,t):ip(e,n)).subscribe(r)})}(Gl)))).pipe(Y(t=>{for(const n of t)if(!0!==n){if(n===Gl)return Gl;if(!1===n||n instanceof ii)return n}return!0}),cr(t=>t!==Gl),ni(1)))}function xI(e){return function XS(...e){return Xg(e)}(dt(t=>{if(ai(t))throw SI(0,t)}),Y(t=>!0===t))}class Kp{constructor(t){this.segmentGroup=t||null}}class Xp extends Error{constructor(t){super(),this.urlTree=t}}function fi(e){return vl(new Kp(e))}class cB{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return $(r);if(o.numberOfChildren>1||!o.children[H])return vl(new C(4e3,!1));o=o.children[H]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Xp(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new ii(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new le(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Jp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dB(e,t,n,r,o){const i=eg(e,t,n);return i.matched?(r=function F2(e,t){return e.providers&&!e._injector&&(e._injector=eh(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function aB(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?$(o.map(s=>{const a=ci(s,e);return dr(function K2(e){return e&&ua(e.canMatch)}(a)?a.canMatch(t,n):kn(e,()=>a(t,n)))})).pipe(di(),xI()):$(!0)}(r,t,n).pipe(Y(s=>!0===s?i:{...Jp}))):$(i)}function eg(e,t,n){if("**"===t.path)return function fB(e){return{matched:!0,parameters:e.length>0?eI(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Jp}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||qU)(n,e,t);if(!o)return{...Jp};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function PI(e,t,n,r){return n.length>0&&function gB(e,t,n){return n.some(r=>zl(e,t,r)&&Nn(r)!==H)}(e,n,r)?{segmentGroup:new le(t,pB(r,new le(n,e.children))),slicedSegments:[]}:0===n.length&&function mB(e,t,n){return n.some(r=>zl(e,t,r))}(e,n,r)?{segmentGroup:new le(e.segments,hB(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new le(e.segments,e.children),slicedSegments:n}}function hB(e,t,n,r){const o={};for(const i of n)if(zl(e,t,i)&&!r[Nn(i)]){const s=new le([],{});o[Nn(i)]=s}return{...r,...o}}function pB(e,t){const n={};n[H]=t;for(const r of e)if(""===r.path&&Nn(r)!==H){const o=new le([],{});n[Nn(r)]=o}return n}function zl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class DB{}class wB{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new cB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new C(4002,`'${t.segmentGroup}'`)}recognize(){const t=PI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Y(n=>{const r=new Gp([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,{}),o=new un(r,n),i=new wI("",o),s=function f2(e,t,n=null,r=null){return fI(dI(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,H).pipe(ri(r=>{if(r instanceof Xp)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Kp?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Hp(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(Y(i=>i instanceof un?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ke(o).pipe(Ws(i=>{const s=r.children[i],a=function j2(e,t){const n=e.filter(r=>Nn(r)===t);return n.push(...e.filter(r=>Nn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function hU(e,t){return Qe(function fU(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Ve(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),xl(null),function pU(e,t){const n=arguments.length>=2;return r=>r.pipe(e?cr((o,i)=>e(o,i,r)):_r,Ep(1),n?xl(t):jb(()=>new ml))}(),lt(i=>{if(null===i)return fi(r);const s=FI(i);return function EB(e){e.sort((t,n)=>t.value.outlet===H?-1:n.value.outlet===H?1:t.value.outlet.localeCompare(n.value.outlet))}(s),$(s)}))}processSegment(t,n,r,o,i,s){return Ke(n).pipe(Ws(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(ri(u=>{if(u instanceof Kp)return $(null);throw u}))),Br(a=>!!a),ri(a=>{if(OI(a))return function yB(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?$(new DB):fi(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function vB(e,t,n,r){return!!(Nn(e)===r||r!==H&&zl(t,n,e))&&eg(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):fi(o):fi(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=eg(n,o,i);if(!a)return fi(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return this.applyRedirects.lineralizeSegments(o,d).pipe(lt(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=dB(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(Sn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(Sn(({routes:u})=>{const l=r._loadedInjector??t,{consumedSegments:c,remainingSegments:d,parameters:f}=a,h=new Gp(c,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function IB(e){return e.data||{}}(r),Nn(r),r.component??r._loadedComponent??null,r,function MB(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:g}=PI(n,c,d,u);if(0===g.length&&p.hasChildren())return this.processChildren(l,u,p).pipe(Y(v=>null===v?null:new un(h,v)));if(0===u.length&&0===g.length)return $(new un(h,[]));const m=Nn(r)===i;return this.processSegment(l,u,p,g,m?H:i,!0).pipe(Y(v=>new un(h,v instanceof un?[v]:[])))})):fi(n)))}getChildConfig(t,n,r){return n.children?$({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?$({routes:n._loadedRoutes,injector:n._loadedInjector}):function sB(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?$(!0):$(o.map(s=>{const a=ci(s,e);return dr(function W2(e){return e&&ua(e.canLoad)}(a)?a.canLoad(t,n):kn(e,()=>a(t,n)))})).pipe(di(),xI())}(t,n,r).pipe(lt(o=>o?this.configLoader.loadChildren(t,n).pipe(dt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function lB(e){return vl(TI(!1,xt.GuardRejected))}())):$({routes:[],injector:t})}}function bB(e){const t=e.value.routeConfig;return t&&""===t.path}function FI(e){const t=[],n=new Set;for(const r of e){if(!bB(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=FI(r.children);t.push(new un(r.value,o))}return t.filter(r=>!n.has(r))}function kI(e){const t=e.children.map(n=>kI(n)).flat();return[e,...t]}function tg(e){return Sn(t=>{const n=e(t);return n?Ke(n).pipe(Y(()=>t)):$(t)})}let LI=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(n){return n.data[Ys]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(OB),providedIn:"root"})}}return e})(),OB=(()=>{class e extends LI{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(L(BU))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const la=new M("",{providedIn:"root",factory:()=>({})}),ql=new M("");let VI=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(fk)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return $(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=dr(n.loadComponent()).pipe(Y(jI),dt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Pl(()=>{this.componentLoaders.delete(n)})),o=new ob(r,()=>new Ft).pipe(sp());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return $({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function xB(e,t,n,r){return dr(e.loadChildren()).pipe(Y(jI),lt(o=>o instanceof sC||Array.isArray(o)?$(o):Ke(t.compileModuleAsync(o))),Y(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(ql,[],{optional:!0,self:!0}).flat()),{routes:s.map(Yp),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(Pl(()=>{this.childrenLoaders.delete(r)})),s=new ob(i,()=>new Ft).pipe(sp());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function jI(e){return function PB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let ng=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(FB),providedIn:"root"})}}return e})(),FB=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const UI=new M("");let Wl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ft,this.transitionAbortSubject=new Ft,this.configLoader=w(VI),this.environmentInjector=w(It),this.urlSerializer=w(si),this.rootContexts=w(ra),this.location=w(Hs),this.inputBindingEnabled=null!==w($l,{optional:!0}),this.titleStrategy=w(LI),this.options=w(la,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=w(ng),this.createViewTransition=w(UI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>$(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new b2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new E2(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new kt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ta,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(cr(i=>0!==i.id),Y(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Sn(i=>{let s=!1,a=!1;return $(i).pipe(Sn(u=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",xt.SupersededByNewNavigation),Mn;this.currentTransition=i,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new na(u.id,this.urlSerializer.serialize(u.rawUrl),d,Vp.IgnoredSameUrlNavigation)),u.resolve(null),Mn}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return $(u).pipe(Sn(d=>{const f=this.transitions?.getValue();return this.events.next(new Lp(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Mn:Promise.resolve(d)}),function SB(e,t,n,r,o,i){return lt(s=>function CB(e,t,n,r,o,i,s="emptyOnly"){return new wB(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Y(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),dt(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new yI(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=u,m=new Lp(d,this.urlSerializer.serialize(f),h,p);this.events.next(m);const v=_I(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:v,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,$(i)}{const d="";return this.events.next(new na(u.id,this.urlSerializer.serialize(u.extractedUrl),d,Vp.IgnoredByUrlHandlingStrategy)),u.resolve(null),Mn}}),dt(u=>{const l=new D2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Y(u=>(this.currentTransition=i={...u,guards:$2(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function X2(e,t){return lt(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?$({...n,guardsResult:!0}):function J2(e,t,n,r){return Ke(e).pipe(lt(o=>function iB(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?$(i.map(a=>{const u=ia(t)??o,l=ci(a,u);return dr(function Y2(e){return e&&ua(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):kn(u,()=>l(e,t,n,r))).pipe(Br())})).pipe(di()):$(!0)}(o.component,o.route,n,t,r)),Br(o=>!0!==o,!0))}(s,r,o,e).pipe(lt(a=>a&&function q2(e){return"boolean"==typeof e}(a)?function eB(e,t,n,r){return Ke(t).pipe(Ws(o=>ip(function nB(e,t){return null!==e&&t&&t(new I2(e)),$(!0)}(o.route.parent,r),function tB(e,t){return null!==e&&t&&t(new S2(e)),$(!0)}(o.route,r),function oB(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function H2(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=>rb(()=>$(s.guards.map(u=>{const l=ia(s.node)??n,c=ci(u,l);return dr(function Q2(e){return e&&ua(e.canActivateChild)}(c)?c.canActivateChild(r,e):kn(l,()=>c(r,e))).pipe(Br())})).pipe(di())));return $(i).pipe(di())}(e,o.path,n),function rB(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return $(!0);const o=r.map(i=>rb(()=>{const s=ia(t)??n,a=ci(i,s);return dr(function Z2(e){return e&&ua(e.canActivate)}(a)?a.canActivate(t,e):kn(s,()=>a(t,e))).pipe(Br())}));return $(o).pipe(di())}(e,o.route,n))),Br(o=>!0!==o,!0))}(r,i,e,t):$(a)),Y(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),dt(u=>{if(i.guardsResult=u.guardsResult,ai(u.guardsResult))throw SI(0,u.guardsResult);const l=new C2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),cr(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",xt.GuardRejected),!1)),tg(u=>{if(u.guards.canActivateChecks.length)return $(u).pipe(dt(l=>{const c=new _2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Sn(l=>{let c=!1;return $(l).pipe(function TB(e,t){return lt(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return $(n);const i=new Set(o.map(u=>u.route)),s=new Set;for(const u of i)if(!s.has(u))for(const l of kI(u))s.add(l);let a=0;return Ke(s).pipe(Ws(u=>i.has(u)?function AB(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!bI(o)&&(i[Ys]=o.title),function NB(e,t,n,r){const o=Rp(e);if(0===o.length)return $({});const i={};return Ke(o).pipe(lt(s=>function RB(e,t,n,r){const o=ia(t)??r,i=ci(e,o);return dr(i.resolve?i.resolve(t,n):kn(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Br(),dt(a=>{i[s]=a}))),Ep(1),function gU(e){return Y(()=>e)}(i),ri(s=>OI(s)?Mn:vl(s)))}(i,e,t,r).pipe(Y(s=>(e._resolvedData=s,e.data=Hp(e,e.parent,n).resolve,null)))}(u,r,e,t):(u.data=Hp(u,u.parent,e).resolve,$(void 0))),dt(()=>a++),Ep(1),lt(u=>a===s.size?$(n):Mn))})}(this.paramsInheritanceStrategy,this.environmentInjector),dt({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,"",xt.NoDataFromResolver)}}))}),dt(l=>{const c=new w2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),tg(u=>{const l=c=>{const d=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(dt(f=>{c.component=f}),Y(()=>{})));for(const f of c.children)d.push(...l(f));return d};return tb(l(u.targetSnapshot.root)).pipe(xl(null),ni(1))}),tg(()=>this.afterPreactivation()),Sn(()=>{const{currentSnapshot:u,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return c?Ke(c).pipe(Y(()=>i)):$(i)}),Y(u=>{const l=function R2(e,t,n){const r=oa(e,t._root,n?n._root:void 0);return new CI(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},this.currentNavigation.targetRouterState=l,i}),dt(()=>{this.events.next(new jp)}),((e,t,n,r)=>Y(o=>(new B2(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ni(1),dt({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Hr(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function mU(e){return Qe((t,n)=>{In(e).subscribe(Ve(n,()=>n.complete(),_c)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(dt(u=>{throw u}))),Pl(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",xt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),ri(u=>{if(a=!0,AI(u))this.events.next(new ui(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function P2(e){return AI(e)&&ai(e.url)}(u)?this.events.next(new Up(u.url)):i.resolve(!1);else{this.events.next(new Bl(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Mn}))}))}cancelNavigationTransition(n,r,o){const i=new ui(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function VB(e){return e!==ta}let jB=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(BB),providedIn:"root"})}}return e})();class UB{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let BB=(()=>{class e extends UB{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),$I=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w($B),providedIn:"root"})}}return e})(),$B=(()=>{class e extends $I{constructor(){super(...arguments),this.location=w(Hs),this.urlSerializer=w(si),this.options=w(la,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=w(ng),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ii,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_I(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Lp)this.stateMemento=this.createStateMemento();else if(n instanceof na)this.rawUrlTree=r.initialUrl;else if(n instanceof yI){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof jp?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof ui&&(n.code===xt.GuardRejected||n.code===xt.NoDataFromResolver)?this.restoreHistory(r):n instanceof Bl?this.restoreHistory(r,!0):n instanceof Hr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ca=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ca||{});function HB(e){throw e}const GB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Gt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=w(jw),this.stateManager=w($I),this.options=w(la,{optional:!0})||{},this.pendingTasks=w(Pr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=w(Wl),this.urlSerializer=w(si),this.location=w(Hs),this.urlHandlingStrategy=w(ng),this._events=new Ft,this.errorHandler=this.options.errorHandler||HB,this.navigated=!1,this.routeReuseStrategy=w(jB),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=w(ql,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!w($l,{optional:!0}),this.eventsSubscription=new ht,this.isNgZoneEnabled=w(ue)instanceof ue&&ue.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof ui&&r.code!==xt.Redirect&&r.code!==xt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Hr)this.navigated=!0;else if(r instanceof Up){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||VB(o.source)};this.scheduleNavigation(s,ta,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function WB(e){return!(e instanceof jp||e instanceof Up)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ta,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Yp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=dI(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return fI(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=ai(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ta,null,r)}navigate(n,r={skipLocationChange:!1}){return function qB(e){for(let t=0;t(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,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((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return function HI(e,t){e.events.pipe(cr(n=>n instanceof Hr||n instanceof ui||n instanceof Bl||n instanceof na),Y(n=>n instanceof Hr||n instanceof na?ca.COMPLETE:n instanceof ui&&(n.code===xt.Redirect||n.code===xt.SupersededByNewNavigation)?ca.REDIRECTING:ca.FAILED),cr(n=>n!==ca.REDIRECTING),ni(1)).subscribe(()=>{t()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Zl=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Ft,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Hr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=null!==n&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const r=null===this.href?null:function yy(e,t,n){return function hN(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vy:my}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(_(Gt),_(fr),function zi(e){return function qT(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const n=e.get(sr);if(t!==n.components[0])return;const r=e.get(Gt),o=e.get(WI);1===e.get(og)&&r.initialNavigation(),e.get(ZI,null,W.Optional)?.setUpPreloading(),e.get(rg,null,W.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const WI=new M("",{factory:()=>new Ft}),og=new M("",{providedIn:"root",factory:()=>1}),ZI=new M("");let n$=(()=>{class e{constructor(){this.title="djongo-FE"}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-root"]],standalone:!0,features:[Bt],decls:1,vars:0,template:function(r,o){1&r&&ze(0,"router-outlet")},dependencies:[Zp]})}}return e})();const hi="create-account/",ig="create-access/";var YI=function(e){return e.PENDING_SETUP="pending_setup",e.SETUP="setup",e.ERROR="error",e}(YI||{});const pi="dashboard/";var KI=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(KI||{});const gi="login/";var XI=function(e){return e.OK="ok",e.DOES_NOT_EXIST="does_not_exist",e.ERROR="error",e}(XI||{});const JI="contact-us/";var eM=function(e){return e.OK="ok",e.ERROR="error",e}(eM||{}),sg=function(e){return e.LATEST_UPDATES="latest_updates",e.EXTENDED_FEATURES="extended_features",e}(sg||{}),ag=function(e){return e.OK="ok",e.EMAIL_EXISTS="email_exists",e.ERROR="error",e}(ag||{});class Ql{}class Yl{}class Pt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Pt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Pt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class a${encodeKey(t){return tM(t)}encodeValue(t){return tM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const l$=/%(\d[a-f0-9])/gi,c$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tM(e){return encodeURIComponent(e).replace(l$,(t,n)=>c$[n]??t)}function Kl(e){return`${e}`}class On{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new a$,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u$(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Kl):[Kl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new On({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Kl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Kl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class d${constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function nM(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function rM(e){return typeof Blob<"u"&&e instanceof Blob}function oM(e){return typeof FormData<"u"&&e instanceof FormData}class da{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function f$(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Pt,this.context??=new d$,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":af.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new da(n,r,s,{params:c,headers:l,context:d,reportProgress:u,responseType:o,withCredentials:a,transferCache:i})}}var hr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(hr||{});class ug{constructor(t,n=fa.Ok,r="OK"){this.headers=t.headers||new Pt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Xl extends ug{constructor(t={}){super(t),this.type=hr.ResponseHeader}clone(t={}){return new Xl({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Gr extends ug{constructor(t={}){super(t),this.type=hr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Gr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class mi extends ug{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var fa=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(fa||{});function lg(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let iM=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof da)i=n;else{let u,l;u=o.headers instanceof Pt?o.headers:new Pt(o.headers),o.params&&(l=o.params instanceof On?o.params:new On({fromObject:o.params})),i=new da(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=$(i).pipe(Ws(u=>this.handler.handle(u)));if(n instanceof da||"events"===o.observe)return s;const a=s.pipe(cr(u=>u instanceof Gr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Y(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Y(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new On).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,lg(o,r))}post(n,r,o={}){return this.request("POST",n,lg(o,r))}put(n,r,o={}){return this.request("PUT",n,lg(o,r))}static{this.\u0275fac=function(r){return new(r||e)(L(Ql))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();function aM(e,t){return t(e)}const ha=new M(""),uM=new M(""),lM=new M("");let cM=(()=>{class e extends Ql{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=w(Pr);const o=w(lM,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ha),...this.injector.get(uM,[])]));this.chain=o.reduceRight((i,s)=>function D$(e,t,n){return(r,o)=>kn(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),aM)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Pl(()=>this.pendingTasks.remove(r)))}static{this.\u0275fac=function(r){return new(r||e)(L(Yl),L(It))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const M$=/^\)\]\}',?\n/;let fM=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ke(r.\u0275loadImpl()):$(null)).pipe(Sn(()=>new Oe(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",m=new Pt(s.getAllResponseHeaders()),v=function S$(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new Xl({headers:m,status:s.status,statusText:g,url:v}),u},c=()=>{let{headers:g,status:m,statusText:v,url:y}=l(),I=null;m!==fa.NoContent&&(I=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=I?fa.Ok:0);let x=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof I){const q=I;I=I.replace(M$,"");try{I=""!==I?JSON.parse(I):null}catch(ne){I=q,x&&(x=!1,I={error:ne,text:I})}}x?(i.next(new Gr({body:I,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new mi({error:I,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=l(),v=new mi({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let m={type:hr.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:hr.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:hr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(L(Nb))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const fg=new M(""),hM=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),pM=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class gM{}let N$=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=yb(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(L(on),L(Nr),L(hM))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();function R$(e,t){const n=e.url.toLowerCase();if(!w(fg)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=w(gM).getToken(),o=w(pM);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}class bM{constructor(){}static has(t){return document.cookie.split(";").some(n=>n.trim().startsWith(t+"="))}static get(t){let n=document.cookie.split(";").find(r=>r.trim().startsWith(t+"="));if(n)return n.trim().split("=")[1]}static set(t,n){document.cookie=t+"="+n+";Secure"}}let ln=(()=>{class e{constructor(n){this.http=n}post(n,r){let o={"Content-Type":"application/json"},i=bM.get("csrftoken");i&&(o["X-CSRFTOKEN"]=i);let s={withCredentials:!0};return s.headers=new Pt(o),this.http.post(ei_baseUrl+n,r,s)}postForm(n,r){let o=new On({fromObject:r}),i=bM.get("csrftoken");return i&&(o=o.set("csrfmiddlewaretoken",i)),this.http.post(ei_baseUrl+n,o,{withCredentials:!0})}get(n,r){let o={withCredentials:!0};return r&&(o.params=new On({fromObject:r})),this.http.get(ei_baseUrl+n,o)}static{this.\u0275fac=function(r){return new(r||e)(L(iM))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const hg={dashboard:[{provide:ln,useClass:ln}],createAccount:[{provide:ln,useClass:ln}],contactUs:[{provide:ln,useClass:ln}]};class ec{constructor(t){this.name=t.name,this.id=t.id||t.name,this.required=!!t.required,this.ngClass=t.ngClass}}class vi extends ec{constructor(t){super(t),this.type="text",this.autocomplete=t.autocomplete||this.autocomplete,this.title=t.title,this.pattern=t.pattern||this.pattern,this.placeholder=t.placeholder}}class IM extends vi{constructor(){super(...arguments),this.type="password",this.required=!0,this.autocomplete="password"}}class V$ extends vi{constructor(){super(...arguments),this.type="email",this.required=!0,this.pattern="^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",this.autocomplete="email"}}class pg{constructor(t){this.label=t.label,this.attr=t.attr,this.errors=t.errors||{},this.show=void 0===t.show||t.show}onChange(t){}}class qr extends pg{constructor(t){super(t),this.type="input",this.attr=t.attr}}class MM extends pg{constructor(t){super(t),this.type="select",this.options=t.options}}class j$ extends pg{constructor(t){super(t),this.type="textarea"}}let SM=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(_(Hn),_(At))}}static{this.\u0275dir=V({type:e})}}return e})(),Wr=(()=>{class e extends SM{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,features:[se]})}}return e})();const xn=new M(""),$$={provide:xn,useExisting:fe(()=>yi),multi:!0},G$=new M("");let yi=(()=>{class e extends SM{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function H$(){const e=lr()?lr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static{this.\u0275fac=function(r){return new(r||e)(_(Hn),_(At),_(G$,8))}}static{this.\u0275dir=V({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&Ie("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ce([$$]),se]})}}return e})();function gr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const ot=new M(""),mr=new M("");function OM(e){return gr(e.value)?{required:!0}:null}function tc(e){return null}function VM(e){return null!=e}function jM(e){return js(e)?Ke(e):e}function UM(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function BM(e,t){return t.map(n=>n(e))}function $M(e){return e.map(t=>function q$(e){return!e.validate}(t)?t:n=>t.validate(n))}function gg(e){return null!=e?function HM(e){if(!e)return null;const t=e.filter(VM);return 0==t.length?null:function(n){return UM(BM(n,t))}}($M(e)):null}function mg(e){return null!=e?function GM(e){if(!e)return null;const t=e.filter(VM);return 0==t.length?null:function(n){return function U$(...e){const t=KE(e),{args:n,keys:r}=XE(e),o=new Oe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?eb(r,a):a),i.complete())}))}});return t?o.pipe(JE(t)):o}(BM(n,t).map(jM)).pipe(Y(UM))}}($M(e)):null}function zM(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function vg(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,t){return Array.isArray(e)?e.includes(t):e===t}function ZM(e,t){const n=vg(t);return vg(e).forEach(o=>{nc(n,o)||n.push(o)}),n}function QM(e,t){return vg(t).filter(n=>!nc(e,n))}class YM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=gg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=mg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ft extends YM{get formDirective(){return null}get path(){return null}}class vr extends YM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class KM{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let rc=(()=>{class e extends KM{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(_(vr,2))}}static{this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Wu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[se]})}}return e})(),pa=(()=>{class e extends KM{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(_(ft,10))}}static{this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Wu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[se]})}}return e})();const ga="VALID",ic="INVALID",Di="PENDING",ma="DISABLED";function Cg(e){return(sc(e)?e.validators:e)||null}function _g(e,t){return(sc(t)?t.asyncValidators:e)||null}function sc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class wg{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ga}get invalid(){return this.status===ic}get pending(){return this.status==Di}get disabled(){return this.status===ma}get enabled(){return this.status!==ma}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ZM(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ZM(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(QM(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(QM(t,this._rawAsyncValidators))}hasValidator(t){return nc(this._rawValidators,t)}hasAsyncValidator(t){return nc(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Di,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ma,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ga,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ga||this.status===Di)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ma:ga}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Di,this._hasOwnPendingAsyncValidator=!0;const n=jM(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?ma:this.errors?ic:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Di)?Di:this._anyControlsHaveStatus(ic)?ic:ga}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){sc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Y$(e){return Array.isArray(e)?gg(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function K$(e){return Array.isArray(e)?mg(e):e||null}(this._rawAsyncValidators)}}class Eg extends wg{constructor(t,n,r){super(Cg(n),_g(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function eS(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function JM(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ci=new M("CallSetDisabledState",{providedIn:"root",factory:()=>ac}),ac="always";function va(e,t,n=ac){bg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function eH(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&tS(e,t)})}(e,t),function nH(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function tH(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&tS(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function J$(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function cc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function bg(e,t){const n=function qM(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(zM(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function WM(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(zM(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();cc(t._rawValidators,o),cc(t._rawAsyncValidators,o)}function tS(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const aH={provide:ft,useExisting:fe(()=>Zr)},ya=Promise.resolve();let Zr=(()=>{class e extends ft{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new Eg({},gg(n),mg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ya.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),va(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ya.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ya.then(()=>{const r=this._findContainer(n.path),o=new Eg({});(function nS(e,t){bg(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ya.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){ya.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function rS(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static{this.\u0275fac=function(r){return new(r||e)(_(ot,10),_(mr,10),_(Ci,8))}}static{this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&Ie("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[De.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ce([aH]),se]})}}return e})();function oS(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function iS(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const sS=class extends wg{constructor(t=null,n,r){super(Cg(n),_g(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=iS(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){oS(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){oS(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){iS(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},cH={provide:vr,useExisting:fe(()=>Da)},lS=Promise.resolve();let Da=(()=>{class e extends vr{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new sS,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Sg(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===yi?n=i:function iH(e){return Object.getPrototypeOf(e.constructor)===Wr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Mg(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){va(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){lS.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&Jo(r);lS.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function uc(e,t){return[...t.path,e]}(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(_(ft,9),_(ot,10),_(mr,10),_(xn,10),_(Us,8),_(Ci,8))}}static{this.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[De.None,"disabled","isDisabled"],model:[De.None,"ngModel","model"],options:[De.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([cH]),se,St]})}}return e})(),fc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})();const CH={provide:xn,useExisting:fe(()=>hc),multi:!0};function vS(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let hc=(()=>{class e extends Wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=vS(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function _H(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&Ie("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ce([CH]),se]})}}return e})(),yS=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(vS(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn),_(hc,9))}}static{this.\u0275dir=V({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();const wH={provide:xn,useExisting:fe(()=>Rg),multi:!0};function DS(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Rg=(()=>{class e extends Wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&Ie("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ce([wH]),se]})}}return e})(),CS=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(DS(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(DS(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn),_(Rg,9))}}static{this.\u0275dir=V({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();let Qr=(()=>{class e{constructor(){this._validator=tc}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):tc,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,features:[St]})}}return e})();const MH={provide:ot,useExisting:fe(()=>_i),multi:!0};let _i=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Jo,this.createValidator=n=>OM}enabled(n){return n}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("required",o._enabled?"":null)},inputs:{required:"required"},features:[ce([MH]),se]})}}return e})();const NH={provide:ot,useExisting:fe(()=>Og),multi:!0};let Og=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function _S(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function kM(e){return t=>function AM(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ce([NH]),se]})}}return e})();const RH={provide:ot,useExisting:fe(()=>Ca),multi:!0};let Ca=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function LM(e){if(!e)return tc;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(gr(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[ce([RH]),se]})}}return e})(),OH=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Va({type:e})}static{this.\u0275inj=Mi({})}}return e})(),pc=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ci,useValue:n.callSetDisabledState??ac}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Va({type:e})}static{this.\u0275inj=Mi({imports:[OH]})}}return e})();function PH(e,t){if(1&e&&(b(0,"table")(1,"thead")(2,"tr")(3,"th"),A(4,"Description"),S(),b(5,"th"),A(6,"Price($)"),S()()(),b(7,"tbody")(8,"tr")(9,"td"),A(10),S(),b(11,"td"),A(12),S()(),b(13,"tr")(14,"td"),A(15),S(),b(16,"td"),A(17),S()()(),b(18,"tfoot")(19,"tr")(20,"td"),A(21,"Total"),S(),b(22,"td"),A(23),S()()()()),2&e){const n=X(2).$implicit,r=X();R(10),tn(n.title),R(2),tn(n.price),R(3),Ut("VAT (",r.vat,"%)"),R(2),tn(n.price*r.vat/100),R(6),tn(r.total)}}function FH(e,t){if(1&e){const n=En();b(0,"div")(1,"div",0)(2,"div",1),wd(),b(3,"svg",2),Ie("click",function(){return Pe(n),Fe(X(2).prev())}),b(4,"g",3),ze(5,"path",4),S()()(),Ed(),b(6,"div",5),A(7),S(),b(8,"div",1),wd(),b(9,"svg",2),Ie("click",function(){return Pe(n),Fe(X(2).next())}),b(10,"g",3),ze(11,"path",6),S()()()(),Ed(),b(12,"div",7),A(13),S(),b(14,"div",8),A(15," PER MONTH "),S(),be(16,PH,24,5,"table"),S()}if(2&e){const n=X().$implicit,r=X();R(7),tn(n.title),R(6),Ut("$",n.price,""),R(3),Ge(16,r.desc.vat.show?16:-1)}}function kH(e,t){1&e&&be(0,FH,17,3,"div"),2&e&&Ge(0,t.$implicit.show?0:-1)}let TS=(()=>{class e{constructor(){this.currentIndex=new Ee,this.total=0,this.index=0}ngOnInit(){let n=0,r=!1;for(let o of this.desc.tires){if(o.show){r=!0;break}n++}r?this.index=n:this.desc.tires[0].show=!0,this.total=this.desc.tires[0].price*(100+this.vat)/100}ngOnChanges(n){this.recalculate()}prev(){this.desc.tires[this.index].show=!1,this.index=(this.index-1+this.desc.tires.length)%this.desc.tires.length,this.desc.tires[this.index].show=!0,this.currentIndex.emit(this.index),this.recalculate()}next(){this.desc.tires[this.index].show=!1,this.index=(this.index+1+this.desc.tires.length)%this.desc.tires.length,this.desc.tires[this.index].show=!0,this.currentIndex.emit(this.index),this.recalculate()}recalculate(){this.total=this.desc.tires[this.index].price*(100+this.vat)/100}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-features"]],inputs:{desc:"desc",vat:"vat"},outputs:{currentIndex:"currentIndex"},standalone:!0,features:[St,Bt],decls:2,vars:0,consts:[[1,"l-tire-switcher"],[1,"svg-box"],["width","16","height","20","viewBox","0 0 6.4833 7.9377","xmlns","http://www.w3.org/2000/svg",3,"click"],["transform","translate(-93.567 -111.32)"],["d","m99.77 111.76-5.6634 3.5266 5.6579 3.5106","fill","none","stroke","#c8c8c8","stroke-linejoin","round","stroke-width","1.058"],["itemprop","name",1,"switcher-title"],["d","m93.858 111.76 5.6634 3.5266-5.6579 3.5106","fill","none","stroke","#c8c8c8","stroke-linejoin","round","stroke-width","1.058"],["itemprop","price",1,"tire-price"],["itemprop","eligibleDuration",1,"tire-period"]],template:function(r,o){1&r&&Is(0,kH,1,1,null,null,r_),2&r&&Ms(o.desc.tires)},styles:["table[_ngcontent-%COMP%]{width:100%}td[_ngcontent-%COMP%]:first-child, th[_ngcontent-%COMP%]:first-child{text-align:left;width:100%}tfoot[_ngcontent-%COMP%]{font-weight:700}"]})}}return e})();const LH=e=>({"height.px":e});function VH(e,t){if(1&e&&ze(0,"img",2),2&e){X();const n=jt(1);_e("ngStyle",function gw(e,t,n,r){return mw(D(),st(),e,t,n,r)}(1,LH,n.offsetHeight))}}let _a=(()=>{class e{constructor(){this.label="",this.busy=!1}ngOnInit(){let n="btn";if(this.class)for(let r of this.class?.split(" "))n=n+" btn--"+r;this.class=n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-button"]],inputs:{class:"class",id:"id",label:"label",busy:"busy"},standalone:!0,features:[Bt],decls:4,vars:5,consts:[["btnRef",""],["type","submit",3,"disabled","ngClass"],["src","/assets/images/spinner.svg","alt","Button is busy",1,"btn-spinner",3,"ngStyle"]],template:function(r,o){1&r&&(b(0,"button",1,0),A(2),S(),be(3,VH,1,3,"img",2)),2&r&&(_e("disabled",o.busy)("ngClass",o.class),Ct("id",o.id),R(2),Ut(" ",o.label,"\n"),R(),Ge(3,o.busy?3:-1))},dependencies:[vp,bb]})}}return e})();const xg=(e,t)=>({field:e,modelRef:t});function jH(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X().$implicit;R(),Ut(" ",n.value.msg," ")}}function UH(e,t){1&e&&be(0,jH,2,1,"div",6),2&e&&Ge(0,t.$implicit.value.show?0:-1)}function BH(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X(2).field;R(),Ut(" ",n.label," is required ")}}function $H(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X(2).field;R(),Ut(" ",n.label," is invalid ")}}function HH(e,t){if(1&e&&(Is(0,UH,1,1,null,null,Qu),function _w(e,t){const n=Z();let r;const o=e+U;n.firstCreatePass?(r=function u1(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=wr(r.type)),a=pt(_);try{const u=Ja(!1),l=i();return Ja(u),function FF(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{pt(a)}}(2,"keyvalue"),be(3,BH,2,1,"div",6)(4,$H,2,1,"div",6)),2&e){const n=X(),o=n.modelRef;Ms(ww(2,2,n.field.errors)),R(3),Ge(3,o.hasError("required")?3:-1),R(),Ge(4,o.hasError("pattern")?4:-1)}}function GH(e,t){1&e&&be(0,HH,5,4),2&e&&(X(),Ge(0,jt(3).submitted?0:-1))}function zH(e,t){if(1&e){const n=En();Ss(0,7),b(1,"input",8,2),rn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),Ie("ngModelChange",function(o){return Pe(n),Fe(X(2).$implicit.onChange(o))}),S()}if(2&e){const n=jt(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",jt(1))("ngTemplateOutletContext",tl(12,xg,r,n)),R(),_e("type",r.attr.type)("name",r.attr.name)("id",r.attr.id)("required",r.attr.required)("ngClass",r.attr.ngClass)("pattern",r.attr.pattern),nn("ngModel",r.value),Ct("autocomplete",r.attr.autocomplete)("title",r.attr.title)("placeholder",r.attr.placeholder)}}function qH(e,t){if(1&e&&(b(0,"option",10),A(1),S()),2&e){const n=t.$implicit;_e("ngValue",n.value),R(),Ut(" ",n.label," ")}}function WH(e,t){if(1&e){const n=En();Ss(0,7),b(1,"select",9,2),Ie("ngModelChange",function(o){return Pe(n),Fe(X(2).$implicit.onChange(o))}),rn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),Is(3,qH,2,2,"option",10,Qu),S()}if(2&e){const n=jt(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",jt(1))("ngTemplateOutletContext",tl(7,xg,r,n)),R(),_e("name",r.attr.name)("required",r.attr.required)("ngClass",r.attr.ngClass),nn("ngModel",r.value),Ct("id",r.attr.id),R(2),Ms(r.options)}}function ZH(e,t){if(1&e){const n=En();Ss(0,7),b(1,"textarea",11,2),rn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),A(3," "),S()}if(2&e){const n=jt(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",jt(1))("ngTemplateOutletContext",tl(7,xg,r,n)),R(),_e("name",r.attr.name)("required",!!r.attr.required)("ngClass",r.attr.ngClass),nn("ngModel",r.value),Ct("id",r.attr.id)}}function QH(e,t){if(1&e&&(b(0,"label"),A(1),be(2,zH,3,15)(3,WH,5,10)(4,ZH,4,10),S()),2&e){let n;const r=X().$implicit;R(),Ut(" ",r.label,": "),R(),Ge(2,"input"===(n=r.type)?2:"select"===n?3:"textarea"===n?4:-1)}}function YH(e,t){1&e&&be(0,QH,5,2,"label"),2&e&&Ge(0,t.$implicit.show?0:-1)}function KH(e,t){1&e&&ze(0,"p",5),2&e&&_e("innerHTML",X().formDes.footnote,gy)}let AS=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-form"]],inputs:{formDes:"formDes"},standalone:!0,features:[Bt],decls:8,vars:7,consts:[["messages",""],["formRef","ngForm"],["modelRef","ngModel"],[3,"ngSubmit","ngClass"],[3,"label","id","busy"],[1,"footnote",3,"innerHTML"],[1,"footnote-error"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngModelChange","type","name","id","required","ngClass","pattern","ngModel"],[2,"width","100%",3,"ngModelChange","name","required","ngClass","ngModel"],[3,"ngValue"],[3,"ngModelChange","name","required","ngClass","ngModel"]],template:function(r,o){if(1&r){const i=En();be(0,GH,1,1,"ng-template",null,0,Ew),b(2,"form",3,1),Ie("ngSubmit",function(){Pe(i);const a=jt(3);return Fe(o.formDes.onSubmit(a))}),Is(4,YH,1,1,null,null,Qu),ze(6,"app-button",4),be(7,KH,1,1,"p",5),S()}2&r&&(R(2),_e("ngClass",o.formDes.ngClass),R(2),Ms(o.formDes.fields),R(2),Wo(o.formDes.button.ngClass),_e("label",o.formDes.button.label)("id",o.formDes.button.id)("busy",o.formDes.submitted),R(),Ge(7,o.formDes.footnote?7:-1))},dependencies:[pc,fc,yS,CS,yi,hc,rc,pa,_i,Ca,Da,Zr,vp,Ib,_a,Mb],styles:[".footnote[_ngcontent-%COMP%]{font-size:.7em;margin:.75em 0 1em}.footnote-error[_ngcontent-%COMP%]{font-size:.7em;color:red;margin:.5em 0}.inline[_ngcontent-%COMP%]{background-color:unset;padding:unset;margin:unset}"]})}}return e})();const XH=["cardErrorEl"];function JH(e,t){1&e&&ze(0,"app-form",6),2&e&&_e("formDes",X().intentionForm.formDescription)}function e3(e,t){1&e&&ze(0,"app-form",6),2&e&&_e("formDes",X().regionForm.formDescription)}class t3{constructor(t){this.onSubmitEvent=t,this.usernameField=new qr({label:"Username",attr:new vi({name:"username",id:"username",required:!0,title:"Lowercase alphanumeric characters: min 4, max 8",pattern:"[a-z0-9]{4,8}"})}),this.passwordField=new qr({label:"Password",attr:new IM({name:"password",id:"password",autocomplete:"new-password"})}),this.confirmPasswordField=new qr({label:"Confirm Password",attr:new IM({name:"confirmPassword",id:"confirmPassword",autocomplete:"new-password"}),errors:{mismatch:{msg:"Passwords do not match",show:!1}}}),this.emailField=new qr({label:"Email",attr:new V$({name:"email",id:"email"})}),this.formDescription={ngClass:"form-2-col",button:{ngClass:"primary large",label:"Create Account"},onSubmit:n=>{this.onSubmit(n)},fields:[this.usernameField,this.passwordField,this.confirmPasswordField,this.emailField],footnote:'By creating an account you agree to our Terms and conditions'},this.show=!1}onSubmit(t){if(t.valid){if(this.passwordField.value!=this.confirmPasswordField.value)return void(this.confirmPasswordField.errors.mismatch.show=!0);this.onSubmitEvent(t)}}}class n3{constructor(t,n){this.onSubmitEvent=t,this.onBuyerChangeEvent=n,this.buyer=new MM({label:"Customer",attr:new ec({name:"buyer",id:"buyer",required:!0}),options:[{value:"individual",label:"Private Individual"},{value:"enterprise",label:"Enterprise"}]}),this.region=new MM({label:"Region",show:!1,attr:new ec({name:"region",id:"region",required:!0}),options:[{value:"eu",label:"EU"},{value:"other",label:"Other"}]}),this.enterpriseName=new qr({label:"Enterprise Name",show:!1,attr:new vi({name:"enterprise",required:!0})}),this.website=new qr({label:"Website",show:!1,attr:new vi({name:"website",required:!0})}),this.vat=new qr({label:"VAT Registration Number",show:!1,attr:new vi({name:"vat",required:!0}),errors:{required:{msg:"This field is required",show:!1}}}),this.formDescription={ngClass:"form-2-col",fields:[this.buyer,this.region,this.enterpriseName,this.website,this.vat],onSubmit:r=>{this.onSubmit(r)},button:{ngClass:"primary large",label:"To Payment"}},this.show=!1,this.buyer.onChange=r=>{this.region.show=!1,this.enterpriseName.show=!1,this.website.show=!1,this.vat.show=!1,"enterprise"==r?(this.region.show=!0,this.region.attr.required=!0,this.enterpriseName.show=!0,this.enterpriseName.attr.required=!0,this.website.show=!0,this.website.attr.required=!0,this.vat.show=!0,this.vat.attr.required=!0,this.onBuyerChangeEvent("enterprise")):(this.region.show=!1,this.region.attr.required=!1,this.enterpriseName.show=!1,this.enterpriseName.attr.required=!1,this.website.show=!1,this.website.attr.required=!1,this.vat.show=!1,this.vat.attr.required=!1,this.onBuyerChangeEvent("individual"))}}onSubmit(t){t.valid&&this.onSubmitEvent(t)}}class r3{constructor(t){this.cardErrorEl=t,this.return_url="",this.error="",this.stripe=Stripe("pk_live_eEfW8XjO4oZUPRFaYASLCWqn")}initStripPaymentEl(t,n){this.return_url="https://www.djongomapper.com/djongocs"+hi+ig+"?userName="+n;let o=this.stripe.elements({appearance:{theme:"stripe"},clientSecret:t});this.elements=o;const s=o.create("payment",{layout:"tabs"});this.paymentEl=s,s.mount("#payment-element")}onPayment(){this.stripe.confirmSetup({elements:this.elements,confirmParams:{return_url:this.return_url}}).then(t=>{this.error=t.message})}initStripeCardEl(){let t=this.stripe.elements(),n=this.card=t.create("card");n.mount("#card-element"),n.on("change",r=>{let o=this.cardErrorEl.nativeElement;r.error?(o.hidden=!1,o.textContent=r.error.message):(o.textContent="",o.hidden=!0)})}onCardPayment(t){this.stripe.confirmCardSetup(t,{payment_method:{card:this.card},return_url:this.return_url}).then(n=>{n.error&&(this.error=n.error.message)})}}let o3=(()=>{class e{constructor(n,r){this.backend=n,this.route=r,this.intentionForm=new t3(o=>{this.onIntention(o)}),this.regionForm=new n3(o=>{this.onRegion(o)},o=>{this.onBuyerChange(o)}),this.intentionResponse={status:ag.ERROR},this.featureVat=0,this.featureDesc={vat:{show:!1},tires:[{title:"Latest Updates",price:15,show:!1},{title:"Extended Features",price:55,show:!1}]},this.currentTireIndex=0,this.stripeForm={show:!1,button:{show:!0}},this.stripe=new r3(this.cardErrorEl)}ngOnInit(){this.intentionForm.show=!0,this.stripeForm.show=!1,this.currentTireIndex=Number(this.route.snapshot.queryParams.tire)|this.currentTireIndex,this.featureDesc.tires[this.currentTireIndex].show=!0}onPayment(){this.stripe.onPayment()}onTireChange(n){this.currentTireIndex=n}onRegion(n){this.regionForm.formDescription.submitted=!0;const r=hi+"intention/";let o={username:this.intentionForm.usernameField.value,email:this.intentionForm.emailField.value,password:this.intentionForm.passwordField.value,tire:sg.LATEST_UPDATES,address:{buyer:this.regionForm.buyer.value}};1==this.currentTireIndex&&(o.tire=sg.EXTENDED_FEATURES),"enterprise"==this.regionForm.buyer.value&&(o.address.region=this.regionForm.region.value,o.address.enterprise=this.regionForm.enterpriseName.value,o.address.website=this.regionForm.website.value,o.address.vat=this.regionForm.vat.value),this.backend.post(r,o).subscribe({next:i=>{this.intentionResponse=i,i.status==ag.OK&&this.stripe.initStripPaymentEl(i.clientSecret,o.username),this.regionForm.show=!1,this.stripeForm.show=!0}})}onIntention(n){this.intentionForm.show=!1,this.regionForm.show=!0}onBuyerChange(n){this.featureDesc.vat.show=!0,this.featureVat="enterprise"==n?0:25}static{this.\u0275fac=function(r){return new(r||e)(_(ln),_(fr))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-create-account"]],viewQuery:function(r,o){if(1&r&&function Q_(e,t,n){VD(e,t,n)}(XH,5),2&r){let i;(function Mh(e){const t=D(),n=Z(),r=Dd();Qa(r+1);const o=Yf(n,r);if(e.dirty&&function yT(e){return!(4&~e[N])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=BD(t,r);e.reset(i,Tv),e.notifyOnChanges()}return!0}return!1})(i=Sh())&&(o.cardErrorEl=i.first)}},standalone:!0,features:[ce(hg.createAccount),Bt],decls:22,vars:11,consts:[["cardErrorEl",""],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],[1,"l-tire","l-tire-full"],[1,"tire-col","tire-2-col-full"],[3,"formDes"],[3,"hidden"],["id","payment-form",1,"form-2-col",3,"ngSubmit"],["id","payment-element",1,"card"],["role","alert",1,"card-err",3,"hidden"],[3,"label","busy"],[1,"footnote"],["href","https://stripe.com/en-se/privacy"],[1,"tire-col","tire-content","tire-2-col-full"],[3,"currentIndex","desc","vat"]],template:function(r,o){if(1&r){const i=En();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"Create Account "),S(),b(4,"div",4)(5,"div",5),be(6,JH,1,1,"app-form",6)(7,e3,1,1,"app-form",6),b(8,"div",7)(9,"form",8),Ie("ngSubmit",function(){return Pe(i),Fe(o.onPayment())}),ze(10,"div",9),b(11,"div",10,0),A(13),S(),ze(14,"app-button",11),b(15,"p",12),A(16," By confirming payment you agree to Stripes "),b(17,"a",13),A(18,"Privacy Policy"),S(),A(19," of collecting your card information. Card numbers are encrypted with AES-256. "),S()()()(),b(20,"div",14)(21,"app-features",15),Ie("currentIndex",function(a){return Pe(i),Fe(o.onTireChange(a))}),S()()()()()}2&r&&(R(6),Ge(6,o.intentionForm.show?6:-1),R(),Ge(7,o.regionForm.show?7:-1),R(),_e("hidden",!o.stripeForm.show),R(3),_e("hidden",!o.stripe.error),R(2),tn(o.stripe.error),R(),Wo("success large"),_e("label","Confirm")("busy",!o.stripeForm.button.show),R(7),_e("desc",o.featureDesc)("vat",o.featureVat))},dependencies:[AS,pc,fc,pa,Zr,_a,TS],styles:[".h1-message[_ngcontent-%COMP%]{margin:3em auto 0}.card[_ngcontent-%COMP%]{background-color:#fff;padding:10px;margin-bottom:.75em}.card-err[_ngcontent-%COMP%]{margin:.5em 0;padding:1em;color:#3d4144;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica Neue,Lucida Grande,Arial,sans-serif;font-size:.75em!important;text-indent:initial;background-color:#f7e5cd;border-radius:4px;box-shadow:0 1px 1px #d67f0540}.message-placeholder[_ngcontent-%COMP%]{height:4em}.footnote[_ngcontent-%COMP%]{font-size:.7em;margin:.75em 0 1em}"]})}}return e})();var Pg=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(Pg||{}),Fg=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(Fg||{});function a3(e,t){if(1&e&&(b(0,"td"),A(1),S()),2&e){const n=X(2);R(),Th(" ssh ",null==n.dashboardResponse?null:n.dashboardResponse.username,"@api.djongomapper.com -p ",null==n.dashboardResponse?null:n.dashboardResponse.sshPort," ")}}function u3(e,t){1&e&&(b(0,"td"),A(1,""),S())}function l3(e,t){if(1&e&&(b(0,"p"),A(1),S()),2&e){const n=X(2);R(),tn(n.token)}}function c3(e,t){if(1&e){const n=En();b(0,"table")(1,"thead")(2,"tr")(3,"th"),A(4,"Property"),S(),b(5,"th"),A(6,"Value"),S()()(),b(7,"tbody")(8,"tr")(9,"td"),A(10,"Username"),S(),b(11,"td"),A(12),S()(),b(13,"tr")(14,"td"),A(15,"Base URL"),S(),b(16,"td"),A(17),S()(),b(18,"tr")(19,"td"),A(20,"Status"),S(),b(21,"td"),A(22),S()(),b(23,"tr")(24,"td"),A(25,"SSH Command"),S(),be(26,a3,2,2,"td")(27,u3,2,0),S(),b(28,"tr")(29,"td"),A(30,"SSH Public Key"),S(),b(31,"td"),ze(32,"app-form",3),S()(),b(33,"tr")(34,"td"),A(35,"PyPi Access Token"),S(),b(36,"td"),be(37,l3,2,1,"p"),b(38,"app-button",4),Ie("click",function(){return Pe(n),Fe(X().onGenerateToken())}),S()()()()()}if(2&e){const n=X();R(12),tn(null==n.dashboardResponse?null:n.dashboardResponse.username),R(5),Ut("https://api.djongomapper.com/",null==n.dashboardResponse?null:n.dashboardResponse.username,""),R(5),tn(null==n.dashboardResponse?null:n.dashboardResponse.state),R(4),Ge(26,null!=n.dashboardResponse&&n.dashboardResponse.sshPort?26:27),R(6),_e("formDes",n.sshForm.formDescription),R(5),Ge(37,n.token?37:-1),R(),Wo("primary small"),_e("label","Generate Token")("id","generate-token")("busy",n.tokenRequested)}}function d3(e,t){1&e&&ze(0,"img",5)}class f3{constructor(t){this.onSubmitEvent=t,this.sshField=new j$({label:"New key",attr:new ec({name:"ssh-key",required:!0}),errors:{other:{msg:"Oops something went wrong. We are working to fix this. Please contact: support@doableware.com",show:!1}}}),this.formDescription={ngClass:"inline",button:{ngClass:"primary small",label:"Update",id:"update-ssh"},onSubmit:n=>{this.onSubmitEvent(n)},fields:[this.sshField]}}}let h3=(()=>{class e{constructor(n,r){this.backend=n,this.router=r,this.show=!1,this.sshForm=new f3(o=>this.onUpdateSSH()),this.tokenRequested=!1,this.token=""}ngOnInit(){this.backend.get(pi).subscribe({next:n=>{n.status===KI.LOGIN_REQUIRED?this.router.navigateByUrl(gi.slice(0,-1)):(this.show=!0,this.dashboardResponse=n)},error:n=>{this.router.navigateByUrl(gi.slice(0,-1))}})}onUpdateSSH(){this.sshForm.formDescription.submitted=!0,this.backend.post(pi+"update-sshkey/",{sshKey:this.sshForm.sshField.value}).subscribe(r=>{r.status===Pg.LOGIN_REQUIRED?this.router.navigateByUrl(gi.slice(0,-1)):r.status===Pg.ERROR&&(this.sshForm.sshField.errors.other.show=!0),this.sshForm.formDescription.submitted=!1})}onGenerateToken(){this.token||(this.tokenRequested=!0,this.backend.get(pi+"generate-token/").subscribe(n=>{if(n.status===Fg.LOGIN_REQUIRED)this.router.navigateByUrl(gi.slice(0,-1));else if(n.status===Fg.ERROR)return;this.token=n.token,this.tokenRequested=!1}))}static{this.\u0275fac=function(r){return new(r||e)(_(ln),_(Gt))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-dashboard"]],standalone:!0,features:[ce(hg.dashboard),Bt],decls:5,vars:1,consts:[["id","main","role","main"],[1,"splash","page__content"],[2,"display","flex"],[3,"formDes"],[3,"click","label","id","busy"],["src","/assets/images/spinner.svg","alt","Button is busy",2,"height","100px"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2),be(3,c3,39,11,"table")(4,d3,1,0),S()()()),2&r&&(R(3),Ge(3,o.show?3:4))},dependencies:[AS,_a],styles:["td[_ngcontent-%COMP%]:first-child, th[_ngcontent-%COMP%]:first-child{padding-left:1em}table[_ngcontent-%COMP%]{margin:3em auto 1em;display:table}"]})}}return e})();function p3(e,t){1&e&&(b(0,"div",10)(1,"div",13)(2,"p"),A(3,"Username or Password is incorrect."),S(),b(4,"p"),A(5,"Do not have an endpoint yet? "),b(6,"a",14),A(7,"Create an endpoint."),S()()()())}let g3=(()=>{class e{constructor(n,r){this.backend=n,this.router=r,this.submitted=!1,this.show={loginFail:!1,buttonSpinner:!1},this.formData={userName:"",password:""}}onSubmit(){this.submitted=!0,this.show.buttonSpinner=!0,this.backend.postForm(gi,this.formData).subscribe(n=>{this.show.buttonSpinner=!1,n.status===XI.OK?this.router.navigateByUrl(pi.slice(0,-1)):(this.show.loginFail=!0,this.submitted=!1)})}static{this.\u0275fac=function(r){return new(r||e)(_(ln),_(Gt))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-login"]],standalone:!0,features:[Bt],decls:20,vars:7,consts:[["formRef","ngForm"],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],[1,"l-tire"],[1,"tire-2-col"],[1,"form-2-col",3,"ngSubmit"],["type","text","name","userName","required","","autocomplete","username","title","Alphanumeric characters: min 4, max 8","pattern","[a-z0-9]{4,8}",3,"ngModelChange","ngModel"],["type","password","name","password","required","","autocomplete","new-password",3,"ngModelChange","ngModel"],[3,"label","busy"],[1,"text-center"],[1,"tire-2-col","tire-distinct"],["type","button","routerLink","/create-account",1,"btn","btn--primary","btn--large","align-left"],[1,"message","notice--warning"],["href","/djongocs/create-account/"]],template:function(r,o){if(1&r){const i=En();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"MongoDB Django Hosting Server"),S(),b(4,"div",4)(5,"div",5)(6,"form",6,0),Ie("ngSubmit",function(){return Pe(i),Fe(o.onSubmit())}),b(8,"label"),A(9,"Username: "),b(10,"input",7),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.userName,a)||(o.formData.userName=a),Fe(a)}),S()(),b(11,"label"),A(12,"Password: "),b(13,"input",8),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.password,a)||(o.formData.password=a),Fe(a)}),S()(),ze(14,"app-button",9),S(),be(15,p3,8,0,"div",10),S(),b(16,"div",11),ze(17,"app-features"),b(18,"button",12),A(19," Create Account "),S()()()()()}if(2&r){const i=jt(7);R(10),nn("ngModel",o.formData.userName),R(3),nn("ngModel",o.formData.password),R(),Wo("primary large"),_e("label","Login")("busy",!i.valid||o.submitted),R(),Ge(15,o.show.loginFail?15:-1)}},dependencies:[pc,fc,yi,rc,pa,_i,Ca,Da,Zr,_a,TS,Zl]})}}return e})(),m3=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-not-found"]],standalone:!0,features:[Bt],decls:2,vars:0,consts:[[1,"h1-title"]],template:function(r,o){1&r&&(b(0,"h1",0),A(1,"Oops! The page you are looking for does not exist"),S())}})}}return e})();function v3(e,t){1&e&&(b(0,"div",10)(1,"div",11)(2,"p")(3,"strong"),A(4,"Thank you!"),S(),A(5," Message received. We will get back soon."),S()()())}let y3=(()=>{class e{constructor(n){this.backend=n,this.formData={name:"",organisation:"",email:"",message:""},this.clicked=!1,this.show={messageReceived:!1}}ngOnInit(){}onSubmit(){this.clicked=!0,this.backend.get(JI,this.formData).subscribe(n=>{n.status==eM.OK&&(this.show.messageReceived=!0),console.log(n.status)},n=>{})}static{this.\u0275fac=function(r){return new(r||e)(_(ln))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-contact-us"]],standalone:!0,features:[ce(hg.contactUs),Bt],decls:20,vars:9,consts:[["formRef","ngForm"],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],["ngNativeValidate","",1,"form-2-col",3,"ngSubmit"],["type","text","name","name","required","",3,"ngModelChange","ngModel"],["type","text","name","organisation","required","",3,"ngModelChange","ngModel"],["type","email","name","email","placeholder","name@org.com","required","","autocomplete","email","pattern","\\w+@\\w+\\.\\w+",3,"ngModelChange","ngModel"],["name","message","rows","4","required","","maxlength","10000",3,"ngModelChange","ngModel"],[3,"label","busy"],[1,"text-center"],[1,"message","notice--success"]],template:function(r,o){if(1&r){const i=En();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"Contact Us"),S(),b(4,"form",4,0),Ie("ngSubmit",function(){return Pe(i),Fe(o.onSubmit())}),b(6,"label"),A(7,"Name: "),b(8,"input",5),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.name,a)||(o.formData.name=a),Fe(a)}),S()(),b(9,"label"),A(10,"Organisation: "),b(11,"input",6),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.organisation,a)||(o.formData.organisation=a),Fe(a)}),S()(),b(12,"label"),A(13,"Email: "),b(14,"input",7),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.email,a)||(o.formData.email=a),Fe(a)}),S()(),b(15,"label"),A(16,"Message: "),b(17,"textarea",8),rn("ngModelChange",function(a){return Pe(i),bn(o.formData.message,a)||(o.formData.message=a),Fe(a)}),S()(),ze(18,"app-button",9),be(19,v3,6,0,"div",10),S()()()}if(2&r){const i=jt(5);R(8),nn("ngModel",o.formData.name),R(3),nn("ngModel",o.formData.organisation),R(3),nn("ngModel",o.formData.email),R(3),nn("ngModel",o.formData.message),R(),Wo("primary large"),_e("label","Send")("busy",!i.valid||o.show.messageReceived||o.clicked),R(),Ge(19,o.show.messageReceived?19:-1)}},dependencies:[pc,yi,rc,pa,_i,Og,Ca,Da,Zr,_a]})}}return e})();var NS=function(e){return e.OK="ok",e.STRIPE_REJ="stripe_rej",e.ERROR="error",e}(NS||{});function C3(e,t){1&e&&(b(0,"h1",0),A(1,"OOPS!"),S(),b(2,"p"),A(3,"We encountered a problem while charging your card. You have not been charged! We are working with the payment vendor to fix this. Please contact support@doableware.com for further support"),S())}let _3=(()=>{class e{constructor(n,r,o){this.backend=n,this.route=r,this.router=o,this.show=!1,this.userName="",this.pollCount=3}ngOnInit(){const n=hi+"payment/";let o={username:this.userName=this.route.snapshot.queryParams.userName};this.backend.get(n,o).subscribe({next:i=>{i.status===NS.OK?this.checkStatus():alert("Request failed with status: "+i.status)}})}checkStatus(){const n=hi+ig,r={username:this.userName};setTimeout(()=>{0!=this.pollCount?(this.pollCount--,this.backend.get(n,r).subscribe({next:o=>{o.status==YI.SETUP&&this.router.navigateByUrl(pi.slice(0,-1))}}),this.checkStatus()):this.show=!0},5e3)}static{this.\u0275fac=function(r){return new(r||e)(_(ln),_(fr),_(Gt))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-create-access"]],standalone:!0,features:[Bt],decls:6,vars:1,consts:[[1,"h1-title"],["src","/assets/images/spinner.svg","alt","Page is busy"]],template:function(r,o){1&r&&(b(0,"h1",0),A(1,"DjongoCS Instance"),S(),b(2,"p"),A(3,"Your DjongoCS instance is being created. Please wait..."),S(),ze(4,"img",1),be(5,C3,4,0)),2&r&&(R(5),Ge(5,o.show?5:-1))}})}}return e})();(function PU(e,t){return Xk({rootComponent:e,...Qb(t)})})(n$,{providers:[[function XB(e,...t){return io([{provide:ql,multi:!0,useValue:e},[],{provide:fr,useFactory:zI,deps:[Gt]},{provide:$h,multi:!0,useFactory:qI},t.map(n=>n.\u0275providers)])}([{path:hi.slice(0,-1),title:"DjongoCS - Create Account",component:o3},{path:hi+ig.slice(0,-1),title:"DjongoCS - Create Account",component:_3},{path:pi.slice(0,-1),title:"DjongoCS - Dashboard",component:h3},{path:gi.slice(0,-1),title:"DjongoCS - Login",component:g3},{path:JI.slice(0,-1),title:"DjongoCS - Contact Us",component:y3},{path:"**",component:m3}])],function O$(...e){const t=[iM,fM,cM,{provide:Ql,useExisting:cM},{provide:Yl,useExisting:fM},{provide:ha,useValue:R$,multi:!0},{provide:fg,useValue:!0},{provide:gM,useClass:N$}];for(const n of e)t.push(...n.\u0275providers);return io(t)}()]}).catch(e=>console.error(e))}},wi=>{wi(wi.s=970)}]); \ No newline at end of file diff --git a/docs/djongocs/main.ef5e4e71a6bb32fe.js b/docs/djongocs/main.ef5e4e71a6bb32fe.js new file mode 100644 index 00000000..e6bed3e8 --- /dev/null +++ b/docs/djongocs/main.ef5e4e71a6bb32fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdjongo_FE=self.webpackChunkdjongo_FE||[]).push([[792],{970:()=>{function wi(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(l){return void n(l)}a.done?t(u):Promise.resolve(u).then(r,o)}function Ei(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(u){wi(i,r,o,s,a,"next",u)}function a(u){wi(i,r,o,s,a,"throw",u)}s(void 0)})}}let Me=null,wa=1;const yr=Symbol("SIGNAL");function G(e){const t=Me;return Me=e,t}function kg(e){if((!Ii(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==wa)){if(!e.producerMustRecompute(e)&&!mc(e))return e.dirty=!1,void(e.lastCleanEpoch=wa);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=wa}}function mc(e){Yr(e);for(let t=0;t0}function Yr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let zg=null;function ye(e){return"function"==typeof e}function yc(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 Dc=yc(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Cc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ht{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ye(r))try{r()}catch(i){t=i instanceof Dc?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Yg(i)}catch(s){t=t??[],s instanceof Dc?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dc(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Yg(t);else{if(t instanceof ht){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)&&Cc(n,t)}remove(t){const{_finalizers:n}=this;n&&Cc(n,t),t instanceof ht&&t._removeParent(this)}}ht.EMPTY=(()=>{const e=new ht;return e.closed=!0,e})();const Zg=ht.EMPTY;function Qg(e){return e instanceof ht||e&&"closed"in e&&ye(e.remove)&&ye(e.add)&&ye(e.unsubscribe)}function Yg(e){ye(e)?e():e.unsubscribe()}const Dr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ba={setTimeout(e,t,...n){const{delegate:r}=ba;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ba;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Kg(e){ba.setTimeout(()=>{const{onUnhandledError:t}=Dr;if(!t)throw e;t(e)})}function _c(){}const GS=wc("C",void 0,void 0);function wc(e,t,n){return{kind:e,value:t,error:n}}let Cr=null;function Ia(e){if(Dr.useDeprecatedSynchronousErrorHandling){const t=!Cr;if(t&&(Cr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Cr;if(Cr=null,n)throw r}}else e()}class Ec extends ht{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qg(t)&&t.add(this)):this.destination=KS}static create(t,n,r){return new Ic(t,n,r)}next(t){this.isStopped?Mc(function qS(e){return wc("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Mc(function zS(e){return wc("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mc(GS,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 ZS=Function.prototype.bind;function bc(e,t){return ZS.call(e,t)}class QS{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ma(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ma(r)}else Ma(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ma(n)}}}class Ic extends Ec{constructor(t,n,r){let o;if(super(),ye(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bc(t.next,i),error:t.error&&bc(t.error,i),complete:t.complete&&bc(t.complete,i)}):o=t}this.destination=new QS(o)}}function Ma(e){Dr.useDeprecatedSynchronousErrorHandling?function WS(e){Dr.useDeprecatedSynchronousErrorHandling&&Cr&&(Cr.errorThrown=!0,Cr.error=e)}(e):Kg(e)}function Mc(e,t){const{onStoppedNotification:n}=Dr;n&&ba.setTimeout(()=>n(e,t))}const KS={closed:!0,next:_c,error:function YS(e){throw e},complete:_c},Sc="function"==typeof Symbol&&Symbol.observable||"@@observable";function _r(e){return e}function Xg(e){return 0===e.length?_r:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Oe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function e0(e){return e&&e instanceof Ec||function JS(e){return e&&ye(e.next)&&ye(e.error)&&ye(e.complete)}(e)&&Qg(e)}(n)?n:new Ic(n,r,o);return Ia(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Jg(r))((o,i)=>{const s=new Ic({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Sc](){return this}pipe(...n){return Xg(n)(this)}toPromise(n){return new(n=Jg(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Jg(e){var t;return null!==(t=e??Dr.Promise)&&void 0!==t?t:Promise}const t0=yc(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ft=(()=>{class e extends Oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new em(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new t0}next(n){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ia(()=>{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(){Ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Zg:(this.currentObservers=null,i.push(n),new ht(()=>{this.currentObservers=null,Cc(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Oe;return n.source=this,n}}return e.create=(t,n)=>new em(t,n),e})();class em 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:Zg}}class kt 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)}}function tm(e){return ye(e?.lift)}function Qe(e){return t=>{if(tm(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 Ve(e,t,n,r,o){return new n0(e,t,n,r,o)}class n0 extends Ec{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Y(e,t){return Qe((n,r)=>{let o=0;n.subscribe(Ve(r,i=>{r.next(e.call(t,i,o++))}))})}const nm="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Kr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Pn(e){return{toString:e}.toString()}const Jr="__parameters__";function to(e,t,n){return Pn(()=>{const r=function Tc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Jr)?u[Jr]:Object.defineProperty(u,Jr,{value:[]})[Jr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const re=globalThis;function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function r0(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).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 Ac(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const o0=oe({__forward_ref__:oe});function fe(e){return e.__forward_ref__=fe,e.toString=function(){return je(this())},e}function P(e){return Ta(e)?e():e}function Ta(e){return"function"==typeof e&&e.hasOwnProperty(o0)&&e.__forward_ref__===fe}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Aa(e){return sm(e,Ra)||sm(e,am)}function sm(e,t){return e.hasOwnProperty(t)?e[t]:null}function Na(e){return e&&(e.hasOwnProperty(Nc)||e.hasOwnProperty(d0))?e[Nc]:null}const Ra=oe({\u0275prov:oe}),Nc=oe({\u0275inj:oe}),am=oe({ngInjectableDef:oe}),d0=oe({ngInjectorDef:oe});class M{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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fc(e){return e&&!!e.\u0275providers}const Si=oe({\u0275cmp:oe}),kc=oe({\u0275dir:oe}),Lc=oe({\u0275pipe:oe}),lm=oe({\u0275mod:oe}),Fn=oe({\u0275fac:oe}),Ti=oe({__NG_ELEMENT_ID__:oe}),cm=oe({__NG_ENV_ID__:oe});function j(e){return"string"==typeof e?e:null==e?"":String(e)}function Vc(e,t){throw new C(-201,!1)}var W=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(W||{});let jc;function dm(){return jc}function pt(e){const t=jc;return jc=e,t}function fm(e,t,n){const r=Aa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&W.Optional?null:void 0!==t?t:void Vc()}const Ai={},Uc="__NG_DI_FLAG__",Oa="ngTempTokenPath",v0=/\n/gm,hm="__source";let no;function Yn(e){const t=no;return no=e,t}function C0(e,t=W.Default){if(void 0===no)throw new C(-203,!1);return null===no?fm(e,void 0,t):no.get(e,t&W.Optional?null:void 0,t)}function L(e,t=W.Default){return(dm()||C0)(P(e),t)}function w(e,t=W.Default){return L(e,xa(t))}function xa(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bc(e){const t=[];for(let n=0;nArray.isArray(n)?ro(n,t):t(n))}function gm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function bt(e,t,n){let r=oo(e,t);return r>=0?e[1|r]=n:(r=~r,function mm(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function zc(e,t){const n=oo(e,t);if(n>=0)return e[1|n]}function oo(e,t){return function vm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[c+1].toLowerCase(),2&r&&l!==d){if(zt(r))return!1;s=!0}}}}else{if(!s&&!zt(r)&&!zt(u))return!1;if(s&&zt(u))continue;s=!1,r=u|1&r}}return zt(r)||s}function zt(e){return!(1&e)}function O0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!zt(s)&&(t+=bm(i,o),o=""),r=s,i=i||!zt(r);n++}return""!==o&&(t+=bm(i,o)),t}function Lt(e){return Pn(()=>{const t=Mm(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===La.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""};Sm(n);const r=e.dependencies;return n.directiveDefs=ja(r,!1),n.pipeDefs=ja(r,!0),n.id=function H0(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function U0(e){return z(e)||Ue(e)}function B0(e){return null!==e}function Va(e){return Pn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Im(e,t){if(null==e)return ln;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=De.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==De.None?[r,a]:r,t[i]=s):n[i]=r}return n}function V(e){return Pn(()=>{const t=Mm(e);return Sm(t),t})}function mt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function z(e){return e[Si]||null}function Ue(e){return e[kc]||null}function Ye(e){return e[Lc]||null}function Xe(e,t){const n=e[lm]||null;if(!n&&!0===t)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return n}function Mm(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ln,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Im(e.inputs,t),outputs:Im(e.outputs),debugInfo:null}}function Sm(e){e.features?.forEach(t=>t(e))}function ja(e,t){if(!e)return null;const n=t?Ye:U0;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(B0)}function io(e){return{\u0275providers:e}}function G0(...e){return{\u0275providers:Qc(0,e),\u0275fromNgModule:!0}}function Qc(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ro(t,s=>{const a=s;Ua(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Tm(o,i),n}function Tm(e,t){for(let n=0;n{t(i,r)})}}function Ua(e,t,n,r){if(!(e=P(e)))return!1;let o=null,i=Na(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Na(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Ua(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{ro(i.imports,c=>{Ua(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Tm(l,t)}if(!a){const l=wr(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:qc,useValue:o,multi:!0},o),t({provide:Er,useValue:()=>L(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Yc(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Yc(e,t){for(let n of e)Fc(n)&&(n=n.\u0275providers),Array.isArray(n)?Yc(n,t):t(n)}const z0=oe({provide:String,useValue:oe});function Kc(e){return null!==e&&"object"==typeof e&&z0 in e}function br(e){return"function"==typeof e}const Xc=new M(""),Ba={},W0={};let Jc;function $a(){return void 0===Jc&&(Jc=new ka),Jc}class It{}class so extends It{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,td(t,s=>this.processProvider(s)),this.records.set(ym,ao(void 0,this)),o.has("environment")&&this.records.set(It,ao(void 0,this));const i=this.records.get(Xc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qc,K,W.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=G(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),G(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Yn(this),r=pt(void 0);try{return t()}finally{Yn(n),pt(r)}}get(t,n=Ai,r=W.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(cm))return t[cm](this);r=xa(r);const i=Yn(this),s=pt(void 0);try{if(!(r&W.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function X0(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Aa(t);u=l&&this.injectableDefInScope(l)?ao(ed(t),Ba):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&W.Self?$a():this.parent).get(t,n=r&W.Optional&&n===Ai?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Oa]=a[Oa]||[]).unshift(je(t)),i)throw a;return function w0(e,t,n,r){const o=e[Oa];throw t[hm]&&o.unshift(t[hm]),e.message=function E0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=je(t);if(Array.isArray(t))o=t.map(je).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(v0,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Oa]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{pt(s),Yn(i)}}resolveInjectorInitializers(){const t=G(null),n=Yn(this),r=pt(void 0);try{const i=this.get(Er,K,W.Self);for(const s of i)s()}finally{Yn(n),pt(r),G(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(je(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=br(t=P(t))?t:P(t&&t.provide);const r=function Q0(e){return Kc(e)?ao(void 0,e.useValue):ao(Rm(e),Ba)}(t);if(!br(t)&&!0===t.multi){let o=this.records.get(n);o||(o=ao(void 0,Ba,!0),o.factory=()=>Bc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=G(null);try{return n.value===Ba&&(n.value=W0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function K0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{G(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=P(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ed(e){const t=Aa(e),n=null!==t?t.factory:wr(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function Z0(e){if(e.length>0)throw new C(204,!1);const n=function c0(e){return e&&(e[Ra]||e[am])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Rm(e,t,n){let r;if(br(e)){const o=P(e);return wr(o)||ed(o)}if(Kc(e))r=()=>P(e.useValue);else if(function Nm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Bc(e.deps||[]));else if(function Am(e){return!(!e||!e.useExisting)}(e))r=()=>L(P(e.useExisting));else{const o=P(e&&(e.useClass||e.provide));if(!function Y0(e){return!!e.deps}(e))return wr(o)||ed(o);r=()=>new o(...Bc(e.deps))}return r}function ao(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function td(e,t){for(const n of e)Array.isArray(n)?td(n,t):n&&Fc(n)?td(n.\u0275providers,t):t(n)}function kn(e,t){e instanceof so&&e.assertNotDestroyed();const r=Yn(e),o=pt(void 0);try{return t()}finally{Yn(r),pt(o)}}const Ce=0,E=1,N=2,Se=3,qt=4,Je=5,Mt=6,lo=7,he=8,xe=9,Wt=10,F=11,xi=12,Pm=13,co=14,we=15,Pi=16,fo=17,Ln=18,Fi=19,Fm=20,Xn=21,za=22,Ir=23,U=25,rd=1,cn=7,ho=9,Te=10;var od=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(od||{});function et(e){return Array.isArray(e)&&"object"==typeof e[rd]}function tt(e){return Array.isArray(e)&&!0===e[rd]}function id(e){return!!(4&e.flags)}function Mr(e){return e.componentOffset>-1}function Wa(e){return!(1&~e.flags)}function Zt(e){return!!e.template}function sd(e){return!!(512&e[N])}class dT{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function jm(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function St(){return Um}function Um(e){return e.type.prototype.ngOnChanges&&(e.setInput=hT),fT}function fT(){const e=$m(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hT(e,t,n,r,o){const i=this.declaredInputs[r],s=$m(e)||function pT(e,t){return e[Bm]=t}(e,{previous:ln,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new dT(l&&l.currentValue,n,u===ln),jm(e,t,o,n)}St.ngInherit=!0;const Bm="__ngSimpleChanges__";function $m(e){return e[Bm]||null}const dn=function(e,t,n){},Hm="svg";let zm=!1;function ae(e){for(;Array.isArray(e);)e=e[Ce];return e}function Li(e,t){return ae(t[e])}function it(e,t){return ae(t[e.index])}function Vi(e,t){return e.data[t]}function po(e,t){return e[t]}function Tt(e,t){const n=t[e];return et(n)?n:n[Ce]}function dd(e){return!(128&~e[N])}function fn(e,t){return null==t?null:e[t]}function qm(e){e[fo]=0}function CT(e){1024&e[N]||(e[N]|=1024,dd(e)&&ji(e))}function fd(e){return!!(9216&e[N]||e[Ir]?.dirty)}function hd(e){e[Wt].changeDetectionScheduler?.notify(1),fd(e)?ji(e):64&e[N]&&(function mT(){return zm}()?(e[N]|=1024,ji(e)):e[Wt].changeDetectionScheduler?.notify())}function ji(e){e[Wt].changeDetectionScheduler?.notify();let t=Sr(e);for(;null!==t&&!(8192&t[N])&&(t[N]|=8192,dd(t));)t=Sr(t)}function Za(e,t){if(!(256&~e[N]))throw new C(911,!1);null===e[Xn]&&(e[Xn]=[]),e[Xn].push(t)}function Sr(e){const t=e[Se];return tt(t)?t[Se]:t}const k={lFrame:nv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Qm(){return k.bindingsEnabled}function D(){return k.lFrame.lView}function Z(){return k.lFrame.tView}function Pe(e){return k.lFrame.contextLView=e,e[he]}function Fe(e){return k.lFrame.contextLView=null,e}function ie(){let e=Ym();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ym(){return k.lFrame.currentTNode}function hn(e,t){const n=k.lFrame;n.currentTNode=e,n.isParent=t}function gd(){return k.lFrame.isParent}function md(){k.lFrame.isParent=!1}function st(){const e=k.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qt(){return k.lFrame.bindingIndex++}function jn(e){const t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function RT(e,t){const n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,vd(t)}function vd(e){k.lFrame.currentDirectiveIndex=e}function Dd(){return k.lFrame.currentQueryIndex}function Qa(e){k.lFrame.currentQueryIndex=e}function xT(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[Je]:null}function ev(e,t,n){if(n&W.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&W.Host||(o=xT(i),null===o||(i=i[co],10&o.type))););if(null===o)return!1;t=o,e=i}const r=k.lFrame=tv();return r.currentTNode=t,r.lView=e,!0}function Cd(e){const t=tv(),n=e[E];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tv(){const e=k.lFrame,t=null===e?null:e.child;return null===t?nv(e):t}function nv(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 rv(){const e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ov=rv;function _d(){const e=rv();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 nt(){return k.lFrame.selectedIndex}function Tr(e){k.lFrame.selectedIndex=e}function pe(){const e=k.lFrame;return Vi(e.tView,e.selectedIndex)}function wd(){k.lFrame.currentNamespace=Hm}function Ed(){!function kT(){k.lFrame.currentNamespace=null}()}let sv=!0;function Bi(){return sv}function pn(e){sv=e}function Ya(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[fo]+=65536),(a>14>16&&(3&e[N])===t&&(e[N]+=16384,uv(a,i)):uv(a,i)}const mo=-1;class $i{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Md(e){return e!==mo}function Hi(e){return 32767&e}function Gi(e,t){let n=function HT(e){return e>>16}(e),r=t;for(;n>0;)r=r[co],n--;return r}let Sd=!0;function Ja(e){const t=Sd;return Sd=e,t}const lv=255,cv=5;let GT=0;const gn={};function eu(e,t){const n=dv(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Td(r.data,e),Td(t,null),Td(r.blueprint,null));const o=tu(e,t),i=e.injectorIndex;if(Md(o)){const s=Hi(o),a=Gi(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Td(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dv(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function tu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=yv(o),null===r)return mo;if(n++,o=o[co],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return mo}function Ad(e,t,n){!function zT(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ti)&&(r=n[Ti]),null==r&&(r=n[Ti]=GT++);const o=r&lv;t.data[e+(o>>cv)]|=1<=0?t&lv:QT:t}(n);if("function"==typeof i){if(!ev(t,e,r))return r&W.Host?fv(o,0,r):hv(t,n,r,o);try{let s;if(s=i(r),null!=s||r&W.Optional)return s;Vc()}finally{ov()}}else if("number"==typeof i){let s=null,a=dv(e,t),u=mo,l=r&W.Host?t[we][Je]:null;for((-1===a||r&W.SkipSelf)&&(u=-1===a?tu(e,t):t[a+8],u!==mo&&vv(r,!1)?(s=t[E],a=Hi(u),t=Gi(u,t)):a=-1);-1!==a;){const c=t[E];if(mv(i,a,c.data)){const d=WT(a,t,n,s,r,l);if(d!==gn)return d}u=t[a+8],u!==mo&&vv(r,t[E].data[a+8]===l)&&mv(i,a,t)?(s=c,a=Hi(u),t=Gi(u,t)):a=-1}}return o}function WT(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=nu(a,s,n,null==r?Mr(a)&&Sd:r!=s&&!!(3&a.type),o&W.Host&&i===a);return null!==c?Ar(t,s,c,a):gn}function nu(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Zt(h)&&h.type===n)return u}return null}function Ar(e,t,n,r){let o=e[n];const i=t.data;if(function jT(e){return e instanceof $i}(o)){const s=o;s.resolving&&function p0(e,t){throw t&&t.join(" > "),new C(-200,e)}(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():j(e)}(i[n]));const a=Ja(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pt(s.injectImpl):null;ev(e,r,W.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function LT(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Um(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&pt(l),Ja(a),s.resolving=!1,ov()}}return o}function mv(e,t,n){return!!(n[t+(e>>cv)]&1<{const t=e.prototype.constructor,n=t[Fn]||Nd(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Fn]||Nd(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Nd(e){return Ta(e)?()=>{const t=Nd(P(e));return t&&t()}:wr(e)}function yv(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[Je]:null}function Ev(e,t=null,n=null,r){const o=bv(e,t,n,r);return o.resolveInjectorInitializers(),o}function bv(e,t=null,n=null,r,o=new Set){const i=[n||K,G0(e)];return r=r||("object"==typeof e?void 0:je(e)),new so(i,t||$a(),r||null,o)}let vt=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Ai}static{this.NULL=new ka}static create(n,r){if(Array.isArray(n))return Ev({name:""},r,n,"");{const o=n.name??"";return Ev({name:o},n.parent,n.providers,o)}}static{this.\u0275prov=T({token:e,providedIn:"any",factory:()=>L(ym)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Od(e){return e.ngOriginalError}class mn{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&&Od(t);for(;n&&Od(n);)n=Od(n);return n||null}}const Mv=new M("",{providedIn:"root",factory:()=>w(mn).handleError.bind(void 0)});let Do=(()=>{class e{static{this.__NG_ELEMENT_ID__=iA}static{this.__NG_ENV_ID__=n=>n}}return e})();class oA extends Do{constructor(t){super(),this._lView=t}onDestroy(t){return Za(this._lView,t),()=>function pd(e,t){if(null===e[Xn])return;const n=e[Xn].indexOf(t);-1!==n&&e[Xn].splice(n,1)}(this._lView,t)}}function iA(){return new oA(D())}function sA(){return Co(ie(),D())}function Co(e,t){return new At(it(e,t))}let At=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=sA}}return e})();function Tv(e){return e instanceof At?e.nativeElement:e}function xd(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class aA extends Ft{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function Om(){return void 0!==dm()||null!=function D0(){return no}()}()&&(this.destroyRef=w(Do,{optional:!0})??void 0)}emit(t){const n=G(null);try{super.next(t)}finally{G(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=xd(i),o&&(o=xd(o)),s&&(s=xd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ht&&t.add(a),a}};function uA(){return this._results[Symbol.iterator]()}class Pd{get changes(){return this._changes??=new Ee}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Pd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=uA)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function gt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function S0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rNA}),NA="ng",Zv=new M(""),Nr=new M("",{providedIn:"platform",factory:()=>"unknown"}),Qv=new M("",{providedIn:"root",factory:()=>Jn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Yv=()=>null;function Wd(e,t,n=!1){return Yv(e,t,n)}const ty=new M("",{providedIn:"root",factory:()=>!1});let hu,pu;function Eo(e){return function Kd(){if(void 0===hu&&(hu=null,re.trustedTypes))try{hu=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hu}()?.createHTML(e)||e}function Xd(){if(void 0===pu&&(pu=null,re.trustedTypes))try{pu=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pu}function ry(e){return Xd()?.createHTML(e)||e}function iy(e){return Xd()?.createScriptURL(e)||e}class sy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nm})`}}function er(e){return e instanceof sy?e.changingThisBreaksApplicationSecurity:e}function Xi(e,t){const n=function QA(e){return e instanceof sy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${nm})`)}return n===t}class YA{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Eo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class KA{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Eo(t),n}}const JA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jd(e){return(e=String(e)).match(JA)?e:"unsafe:"+e}function Un(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ji(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const uy=Un("area,br,col,hr,img,wbr"),ly=Un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cy=Un("rp,rt"),ef=Ji(uy,Ji(ly,Un("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ji(cy,Un("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ji(cy,ly)),tf=Un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dy=Ji(tf,Un("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Un("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),eN=Un("script,style,template");class tN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=oN(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=rN(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=fy(t).toLowerCase();if(!ef.hasOwnProperty(n))return this.sanitizedSomething=!0,!eN.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=fy(t).toLowerCase();ef.hasOwnProperty(n)&&!uy.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(py(t))}}function rN(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw hy(t);return t}function oN(e){const t=e.firstChild;if(t&&function nN(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw hy(t);return t}function fy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function hy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const iN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sN=/([^\#-~ |!])/g;function py(e){return e.replace(/&/g,"&").replace(iN,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sN,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let gu;function nf(e){return"content"in e&&function uN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(bo||{});function gy(e){const t=es();return t?ry(t.sanitize(bo.HTML,e)||""):Xi(e,"HTML")?ry(er(e)):function aN(e,t){let n=null;try{gu=gu||function ay(e){const t=new KA(e);return function XA(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"text/html")}catch{return!1}}()?new YA(t):t}(e);let r=t?String(t):"";n=gu.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=gu.getInertBodyElement(r)}while(r!==i);return Eo((new tN).sanitizeChildren(nf(n)||n))}finally{if(n){const r=nf(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Jn(),j(e))}function my(e){const t=es();return t?t.sanitize(bo.URL,e)||"":Xi(e,"URL")?er(e):Jd(j(e))}function vy(e){const t=es();if(t)return iy(t.sanitize(bo.RESOURCE_URL,e)||"");if(Xi(e,"ResourceURL"))return iy(er(e));throw new C(904,!1)}function es(){const e=D();return e&&e[Wt].sanitizer}const pN=/^>|^->||--!>|)/g,mN="\u200b$1\u200b";function Nt(e){return e instanceof Function?e():e}var tr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(tr||{});let uf;function lf(e,t){return uf(e,t)}function Mo(e,t,n,r,o){if(null!=r){let i,s=!1;tt(r)?i=r:et(r)&&(s=!0,r=r[Ce]);const a=ae(r);0===e&&null!==n?null==o?Ny(t,n,a):Rr(t,n,a,o||null,!0):1===e&&null!==n?Rr(t,n,a,o||null,!0):2===e?function rs(e,t,n){const r=Cu(e,t);r&&function FN(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function VN(e,t,n,r,o){const i=n[cn];i!==ae(n)&&Mo(t,e,r,i,o);for(let a=Te;at.replace(gN,mN))}(t))}function yu(e,t,n){return e.createElement(t,n)}function Sy(e,t){t[Wt].changeDetectionScheduler?.notify(1),wu(e,t,t[F],2,null,null)}function Ty(e,t){const n=e[ho],r=n.indexOf(t);n.splice(r,1)}function ts(e,t){if(e.length<=Te)return;const n=Te+t,r=e[n];if(r){const o=r[Pi];null!==o&&o!==e&&Ty(o,r),t>0&&(e[n-1][qt]=r[qt]);const i=Pa(e,Te+t);!function TN(e,t){Sy(e,t),t[Ce]=null,t[Je]=null}(r[E],r);const s=i[Ln];null!==s&&s.detachView(i[E]),r[Se]=null,r[qt]=null,r[N]&=-129}return r}function Du(e,t){if(!(256&t[N])){const n=t[F];n.destroyNode&&wu(e,t,n,3,null,null),function NN(e){let t=e[xi];if(!t)return ff(e[E],e);for(;t;){let n=null;if(et(t))n=t[xi];else{const r=t[Te];r&&(n=r)}if(!n){for(;t&&!t[qt]&&t!==e;)et(t)&&ff(t[E],t),t=t[Se];null===t&&(t=e),et(t)&&ff(t[E],t),n=t&&t[qt]}t=n}}(t)}}function ff(e,t){if(256&t[N])return;const n=G(null);try{t[N]&=-129,t[N]|=256,t[Ir]&&function $g(e){if(Yr(e),Ii(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[lo]=null);const o=t[Xn];if(null!==o){t[Xn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Gt.None||i===Gt.Emulated)return null}return it(r,n)}}(e,t.parent,n)}function Rr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ny(e,t,n){e.appendChild(t,n)}function Ry(e,t,n,r,o){null!==r?Rr(e,t,n,r,o):Ny(e,t,n)}function Cu(e,t){return e.parentNode(t)}let pf,Py=function xy(e,t,n){return 40&e.type?it(e,n):null};function _u(e,t,n,r){const o=hf(e,r,t),i=t[F],a=function Oy(e,t,n){return Py(e,t,n)}(r.parent||t[Je],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;uU&&By(e,t,U,!1),dn(s?2:0,o),n(r,o)}finally{Tr(i),dn(s?3:1,o)}}function yf(e,t,n){if(id(t)){const r=G(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function qy(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=De.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Wy(r,n,l,a,u):Wy(r,n,l,a)}return r}function Wy(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Dt(e,t,n,r,o,i,s,a){const u=it(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Mf(e,n,c,r,o),Mr(t)&&function XN(e,t){const n=Tt(t,e);16&n[N]||(n[N]|=64)}(n,t.index)):3&t.type&&(r=function KN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function wf(e,t,n,r){if(Qm()){const o=null===r?null:{"":-1},i=function oR(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,os(e,n,o.hostVars,B),o)}function vn(e,t,n,r,o,i){const s=it(e,t);!function bf(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?j(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[F],s,i,e.value,n,r,o)}function cR(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][qt]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ji(e.lView)},consumerOnSignalRead(){this.lView[Ir]=this}},oD=100;function Mu(e,t=!0,n=0){const r=e[Wt],o=r.rendererFactory;o.begin?.();try{!function DR(e,t){Af(e,t);let n=0;for(;fd(e);){if(n===oD)throw new C(103,!1);n++,Af(e,1)}}(e,n)}catch(s){throw t&&Iu(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function CR(e,t,n,r){const o=t[N];if(!(256&~o))return;t[Wt].inlineEffectRunner?.flush(),Cd(t);let s=null,a=null;(function _R(e){return 2!==e.type})(e)&&(a=function gR(e){return e[Ir]??function mR(e){const t=rD.pop()??Object.create(yR);return t.lView=e,t}(e)}(t),s=function Ug(e){return e&&(e.nextProducerIndex=0),G(e)}(a));try{qm(t),function Xm(e){return k.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hy(e,t,n,2,r);const u=!(3&~o);if(u){const d=e.preOrderCheckHooks;null!==d&&Ka(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Xa(t,d,0,null),bd(t,0)}if(function wR(e){for(let t=Vv(e);null!==t;t=jv(t)){if(!(t[N]&od.HasTransplantedViews))continue;const n=t[ho];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function vR(e){e.lView[Ir]!==e&&(e.lView=null,rD.push(e))}(a)),_d()}}function iD(e,t){for(let n=Vv(e);null!==n;n=jv(n))for(let r=Te;r-1&&(ts(t,r),Pa(n,r))}this._attachedToViewContainer=!1}Du(this._lView[E],this._lView)}onDestroy(t){Za(this._lView,t)}markForCheck(){us(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){hd(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Mu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Sy(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t,hd(this._lView)}}let $n=(()=>{class e{static{this.__NG_ELEMENT_ID__=MR}}return e})();const bR=$n,IR=class extends bR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=is(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ls(o)}};function MR(){return Su(ie(),D())}function Su(e,t){return 4&e.type?new IR(t,e,Co(e,t)):null}let hD=()=>null;function Ao(e,t){return hD(e,t)}class Ff{}class YR{}class pD{}class XR{resolveComponentFactory(t){throw function KR(e){const t=Error(`No component factory found for ${je(e)}.`);return t.ngComponent=e,t}(t)}}let Ou=(()=>{class e{static{this.NULL=new XR}}return e})();class mD{}let Hn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function JR(){const e=D(),n=Tt(ie().index,e);return(et(n)?n:e)[F]}()}}return e})(),eO=(()=>{class e{static{this.\u0275prov=T({token:e,providedIn:"root",factory:()=>null})}}return e})();const kf={},vD=new Set;function yn(e){vD.has(e)||(vD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function yD(...e){}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function tO(){const e="function"==typeof re.requestAnimationFrame;let t=re[e?"requestAnimationFrame":"setTimeout"],n=re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function oO(e){const t=()=>{!function rO(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vf(e),e.isCheckStableRunning=!0,Lf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function iO(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return DD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),CD(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return DD(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),CD(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Vf(e),Lf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,nO,yD,yD);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nO={};function Lf(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 Vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function DD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function CD(e){e._nesting--,Lf(e)}let ps=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Pu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&jy(e,n,i.join(" "))}}(h,ne,g,r),void 0!==n&&function yO(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static{this.__NG_ELEMENT_ID__=CO}}return e})();function CO(){return RD(ie(),D())}const _O=Kt,AD=class extends _O{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Co(this._hostTNode,this._hostLView)}get injector(){return new $e(this._hostTNode,this._hostLView)}get parentInjector(){const t=tu(this._hostTNode,this._hostLView);if(Md(t)){const n=Gi(t,this._hostLView),r=Hi(t);return new $e(n[E].data[r+8],n)}return new $e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ND(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=Ao(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,To(this._hostTNode,s)),a}createComponent(t,n,r,o,i){const s=t&&!function Oi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new vs(z(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(It,null);g&&(i=g)}const c=z(u.componentType??{}),d=Ao(this._lContainer,c?.id??null),h=u.create(l,o,d?.firstChild??null,i);return this.insertImpl(h.hostView,a,To(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function DT(e){return tt(e[Se])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[Se],l=new AD(u,u[Je],u[Se]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return ss(s,o,i,r),t.attachToViewContainerRef(),gm($f(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ND(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ts(this._lContainer,n);r&&(Pa($f(this._lContainer),n),Du(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=ts(this._lContainer,n);return r&&null!=Pa($f(this._lContainer),n)?new ls(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ND(e){return e[8]}function $f(e){return e[8]||(e[8]=[])}function RD(e,t){let n;const r=t[e.index];return tt(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,bu(t,n)),OD(n,t,e,r),new AD(n,e,t)}let OD=function PD(e,t,n,r){if(e[cn])return;let o;o=8&n.type?ae(r):function wO(e,t){const n=e[F],r=n.createComment(""),o=it(t,e);return Rr(n,Cu(n,o),r,function kN(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[cn]=o},Hf=()=>!1;class Gf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Gf(this.queryList)}setDirty(){this.queryList.setDirty()}}class zf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class qf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=Te;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ri(o.hostAttrs,n=Ri(n,o.hostAttrs))}}(r)}function $O(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Lu(e){return e===ln?{}:e===K?[]:e}function GO(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function zO(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function qO(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function iC(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}class xr{}class sC{}class Xf extends xr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new SD(this);const o=Xe(t);this._bootstrapComponents=Nt(o.bootstrap),this._r3Injector=bv(t,n,[{provide:xr,useValue:this},{provide:Ou,useValue:this.componentFactoryResolver},...r],je(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 Jf extends sC{constructor(t){super(),this.moduleType=t}create(t){return new Xf(this.moduleType,t,[])}}class aC extends xr{constructor(t){super(),this.componentFactoryResolver=new SD(this),this.instance=null;const n=new so([...t.providers,{provide:xr,useValue:this},{provide:Ou,useValue:this.componentFactoryResolver}],t.parent||$a(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function eh(e,t,n=null){return new aC({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Pr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new kt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function th(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Dn(e,t,n){return e[t]=n}function Ae(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Fr(e,t,n,r){const o=Ae(e,t,n);return Ae(e,t+1,r)||o}function be(e,t,n,r,o,i,s,a){const u=D(),l=Z(),c=e+U,d=l.firstCreatePass?function ix(e,t,n,r,o,i,s,a,u){const l=t.consts,c=So(t,e,4,s||null,fn(l,a));wf(t,n,c,fn(l,u)),Ya(t,c);const d=c.tView=_f(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];hn(d,!1);const f=uC(l,u,d,e);Bi()&&_u(l,u,f,d),rt(f,u);const h=Yy(f,u,f,d);return u[c]=h,bu(u,h),function xD(e,t,n){return Hf(e,t,n)}(h,d,u),Wa(d)&&Df(l,u,d),null!=s&&Cf(u,d,a),be}let uC=function lC(e,t,n,r){return pn(!0),t[F].createComment("")};function Ct(e,t,n,r){const o=D();return Ae(o,Qt(),t)&&(Z(),vn(pe(),o,e,t,n,r)),Ct}function jo(e,t,n,r,o,i){const a=Fr(e,function Vn(){return k.lFrame.bindingIndex}(),n,o);return jn(2),a?t+j(n)+r+j(o)+i:B}function qu(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function dh(e){return 2|e}function Lr(e){return(131068&e)>>2}function fh(e,t){return-131069&e|t<<2}function hh(e){return 1|e}function UC(e,t,n,r){const o=e[n+1],i=null===t;let s=r?ir(o):Lr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];zx(e[s],t)&&(a=!0,e[s+1]=r?hh(l):dh(l)),s=r?ir(l):Lr(l)}a&&(e[n+1]=r?dh(o):hh(o))}function zx(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oo(e,t)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function BC(e){return e.substring(He.key,He.keyEnd)}function $C(e,t){const n=He.textEnd;return n===t?-1:(t=He.keyEnd=function Qx(e,t,n){for(;t32;)t++;return t}(e,He.key=t,n),qo(e,t,n))}function qo(e,t,n){for(;t=0;n=$C(t,n))bt(e,BC(t),!0)}function ZC(e,t){return t>=e.expandoStartIndex}function QC(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[nt()],s=ZC(e,n);JC(i,r)&&null===t&&!s&&(t=!1),t=function Jx(e,t,n,r){const o=function yd(e){const t=k.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=bs(n=gh(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=gh(o,e,t,n,r),null===i){let u=function eP(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Lr(r))return e[ir(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=gh(null,e,t,u[1],r),u=bs(u,t.attrs,r),function tP(e,t,n,r){e[ir(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function nP(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=ir(e[a+1]);e[r+1]=qu(f,a),0!==f&&(e[f+1]=fh(e[f+1],r)),e[a+1]=function Bx(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qu(a,0),0!==a&&(e[a+1]=fh(e[a+1],r)),a=r;else e[r+1]=qu(u,0),0===a?a=r:e[u+1]=fh(e[u+1],r),u=r;l&&(e[r+1]=dh(e[r+1])),UC(e,c,r,!0),UC(e,c,r,!1),function Gx(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&oo(i,t)>=0&&(n[r+1]=hh(n[r+1]))}(t,c,e,r,i),s=qu(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function gh(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===B&&(f=d?K:void 0);let h=d?zc(f,r):c===r?f:void 0;if(l&&!Zu(h)&&(h=zc(u,r)),Zu(h)&&(a=h,s))return a;const p=e[o+1];o=s?ir(p):Lr(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=zc(u,r))}return a}function Zu(e){return void 0!==e}function JC(e,t){return!!(e.flags&(t?8:16))}class vP{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){const s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function mh(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vh(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function e_(e,t,n,r,o){if(vh(e,t,r,n(r,o)))e.updateValue(r,o);else{const i=e.create(r,o);e.attach(r,i)}}function t_(e,t,n,r){const o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}class n_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function Ge(e,t,n){yn("NgControlFlow");const r=D(),o=Qt(),i=yh(r,U+e);if(Ae(r,o,t)){const a=G(null);try{if(Tf(i,0),-1!==t){const u=Dh(r[E],U+t),l=Ao(i,u.tView.ssrId);ss(i,is(r,u,n,{dehydratedView:l}),0,To(u,l))}}finally{G(a)}}else{const a=tD(i,0);void 0!==a&&(a[he]=n)}}class DP{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Te}}function Qu(e){return e}function r_(e,t){return t}class CP{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Is(e,t,n,r,o,i,s,a,u,l,c,d,f){yn("NgControlFlow");const h=void 0!==u,p=D(),g=a?s.bind(p[we][he]):s,m=new CP(h,g);p[U+e]=m,be(e+1,t,n,r,o,i),h&&be(e+2,u,l,c,d,f)}class _P extends vP{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Te}at(t){return this.getLView(t)[he].$implicit}attach(t,n){const r=n[Mt];this.needsIndexUpdate||=t!==this.length,ss(this.lContainer,n,t,To(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function wP(e,t){return ts(e,t)}(this.lContainer,t)}create(t,n){const r=Ao(this.lContainer,this.templateTNode.tView.ssrId);return is(this.hostLView,this.templateTNode,new DP(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Du(t[E],t)}updateValue(t,n){this.getLView(t)[he].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(a)})}(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){const a=Qt(),u=0===s.length;if(Ae(r,a,u)){const l=n+2,c=yh(r,l);if(u){const d=Dh(o,l),f=Ao(c,d.tView.ssrId);ss(c,is(r,d,void 0,{dehydratedView:f}),0,To(d,f))}else Tf(c,0)}}}finally{G(t)}}function yh(e,t){return e[t]}function Dh(e,t){return Vi(e,t)}function b(e,t,n,r){const o=D(),i=Z(),s=U+e,a=o[F],u=i.firstCreatePass?function bP(e,t,n,r,o,i){const s=t.consts,u=So(t,e,2,r,fn(s,o));return wf(t,n,u,fn(s,i)),null!==u.attrs&&Pu(u,u.attrs,!1),null!==u.mergedAttrs&&Pu(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=o_(i,o,u,a,t,e);o[s]=l;const c=Wa(u);return hn(u,!0),Uy(a,l,u),!function Cs(e){return!(32&~e.flags)}(u)&&Bi()&&_u(i,o,l,u),0===function _T(){return k.lFrame.elementDepthCount}()&&rt(l,o),function wT(){k.lFrame.elementDepthCount++}(),c&&(Df(i,o,u),yf(i,u,o)),null!==r&&Cf(o,u),b}function S(){let e=ie();gd()?md():(e=e.parent,hn(e,!1));const t=e;(function bT(e){return k.skipHydrationRootTNode===e})(t)&&function TT(){k.skipHydrationRootTNode=null}(),function ET(){k.lFrame.elementDepthCount--}();const n=Z();return n.firstCreatePass&&(Ya(n,e),id(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function BT(e){return!!(8&e.flags)}(t)&&ph(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $T(e){return!!(16&e.flags)}(t)&&ph(n,t,D(),t.stylesWithoutHost,!1),S}function ze(e,t,n,r){return b(e,t,n,r),S(),ze}let o_=(e,t,n,r,o,i)=>(pn(!0),yu(r,o,function iv(){return k.lFrame.currentNamespace}()));function Ch(e,t,n){const r=D(),o=Z(),i=e+U,s=o.firstCreatePass?function SP(e,t,n,r,o){const i=t.consts,s=fn(i,r),a=So(t,e,8,"ng-container",s);return null!==s&&Pu(a,s,!0),wf(t,n,a,fn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];hn(s,!0);const a=i_(o,r,s,e);return r[i]=a,Bi()&&_u(o,r,a,s),rt(a,r),Wa(s)&&(Df(o,r,s),yf(o,s,r)),null!=n&&Cf(r,s),Ch}function _h(){let e=ie();const t=Z();return gd()?md():(e=e.parent,hn(e,!1)),t.firstCreatePass&&(Ya(t,e),id(e)&&t.queries.elementEnd(e)),_h}function Ss(e,t,n){return Ch(e,t,n),_h(),Ss}let i_=(e,t,n,r)=>(pn(!0),df(t[F],""));function wn(){return D()}const Qo="en-US";let c_=Qo;function Ie(e,t,n,r){const o=D(),i=Z(),s=ie();return bh(i,o,o[F],s,e,t,r),Ie}function bh(e,t,n,r,o,i,s){const a=Wa(r),l=e.firstCreatePass&&Jy(e),c=t[he],d=Xy(t);let f=!0;if(3&r.type||s){const g=it(r,t),m=s?s(g):g,v=d.length,y=s?x=>s(ae(x[r.index])):r.index;let I=null;if(!s&&a&&(I=function TF(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=i,I.__ngLastListenerFn__=i,f=!1;else{i=V_(r,t,c,i,!1);const x=n.listen(m,o,i);d.push(i,x),l&&l.push(o,y,v,v+1)}}else i=V_(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m-1?Tt(e.index,t):t);let u=L_(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=L_(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function X(e=1){return function PT(e){return(k.lFrame.contextLView=function Wm(e,t){for(;e>0;)t=t[co],e--;return t}(e,k.lFrame.contextLView))[he]}(e)}function Sh(){return function Qf(e,t){return e[Ln].queries[t].queryList}(D(),Dd())}function En(e){return po(function AT(){return k.lFrame.contextLView}(),U+e)}function A(e,t=""){const n=D(),r=Z(),o=e+U,i=r.firstCreatePass?So(r,o,1,t,null):r.data[o],s=iw(r,n,i,t,e);n[o]=s,Bi()&&_u(r,n,s,i),hn(i,!1)}let iw=(e,t,n,r,o)=>(pn(!0),function cf(e,t){return e.createText(t)}(t[F],r));function en(e){return jt("",e,""),en}function jt(e,t,n){const r=D(),o=function Vo(e,t,n,r){return Ae(e,Qt(),n)?t+j(n)+r:B}(r,e,t,n);return o!==B&&Bn(r,nt(),o),jt}function Th(e,t,n,r,o){const i=D(),s=jo(i,e,t,n,r,o);return s!==B&&Bn(i,nt(),s),Th}function tn(e,t,n){GD(t)&&(t=t());const r=D();return Ae(r,Qt(),t)&&Dt(Z(),pe(),r,e,t,r[F],n,!1),tn}function bn(e,t){const n=GD(e);return n&&e.set(t),n}function nn(e,t){const n=D(),r=Z(),o=ie();return bh(r,n,n[F],o,e,t),nn}function Ah(e,t,n,r,o){if(e=P(e),Array.isArray(e))for(let i=0;i>20;if(br(e)||!e.multi){const h=new $i(l,o,_),p=Rh(u,t,o?c:c+f,d);-1===p?(Ad(eu(a,s),i,u),Nh(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Rh(u,t,c+f,d),p=Rh(u,t,c,c+f),m=p>=0&&n[p];if(o&&!m||!o&&!(h>=0&&n[h])){Ad(eu(a,s),i,u);const v=function YF(e,t,n,r,o){const i=new $i(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,hw(i,o,r&&!n),i}(o?QF:ZF,n.length,o,r,l);!o&&m&&(n[p].providerFactory=v),Nh(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Nh(i,e,h>-1?h:p,hw(n[o?p:h],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function Nh(e,t,n,r){const o=br(t),i=function q0(e){return!!e.useClass}(t);if(o||i){const u=(i?P(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function hw(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Rh(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function WF(e,t,n){const r=Z();if(r.firstCreatePass){const o=Zt(e);Ah(n,r.data,r.blueprint,o,!0),Ah(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}let KF=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Qc(0,n.type),o=r.length>0?eh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(L(It))})}}return e})();function Ut(e){yn("NgStandalone"),e.getStandaloneInjector=t=>t.get(KF).getOrCreateStandaloneInjector(e)}function tl(e,t,n,r,o){return function vw(e,t,n,r,o,i,s){const a=t+n;return Fr(e,a,o,i)?Dn(e,a+2,s?r.call(s,o,i):r(o,i)):Ps(e,a+2)}(D(),st(),e,t,n,r,o)}function Ps(e,t){const n=e[t];return n===B?void 0:n}function mw(e,t,n,r,o,i){const s=t+n;return Ae(e,s,o)?Dn(e,s+1,i?r.call(i,o):r(o)):Ps(e,s+1)}function ww(e,t,n){const r=e+U,o=D(),i=po(o,r);return function Fs(e,t){return e[E].data[t].pure}(o,r)?mw(o,st(),t,i.transform,n,i):i.transform(n)}function Ew(e,t){return Su(e,t)}let jw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Gw=new M("");function js(e){return!!e&&"function"==typeof e.then}function zw(e){return!!e&&"function"==typeof e.subscribe}const sk=new M("");let Bh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=w(sk,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(js(i))n.push(i);else if(zw(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const $h=new M("");let sr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(Mv),this.afterRenderEffectManager=w(ps),this.externalTestViews=new Set,this.beforeRender=new Ft,this.afterTick=new Ft,this.componentTypes=[],this.components=[],this.isStable=w(Pr).hasPendingTasks.pipe(Y(n=>!n)),this._injector=w(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof pD;if(!this._injector.get(Bh).done)throw!o&&function Kn(e){const t=z(e)||Ue(e)||Ye(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Ou).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ak(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xr),l=s.create(vt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Gw,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),il(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);const r=G(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,G(r)}}detectChangesInAttachedViews(n){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===oD)throw new C(103,!1);if(n){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)lk(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Hh(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Hh(i))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;il(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get($h,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>il(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function il(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lk(e,t,n){!t&&!Hh(e)||function ck(e,t,n){let r;n?(r=0,e[N]|=1024):r=64&e[N]?0:1,Mu(e,t,r)}(e,n,t)}function Hh(e){return fd(e)}class dk{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fk=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Nt(Xe(n).declarations).reduce((s,a)=>{const u=z(a);return u&&s.push(new vs(u)),s},[]);return new dk(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),gk=(()=>{class e{constructor(){this.zone=w(ue),this.applicationRef=w(sr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Yw(e){return[{provide:ue,useFactory:e},{provide:Er,multi:!0,useFactory:()=>{const t=w(gk,{optional:!0});return()=>t.initialize()}},{provide:Er,multi:!0,useFactory:()=>{const t=w(yk);return()=>{t.initialize()}}},{provide:Mv,useFactory:mk}]}function mk(){const e=w(ue),t=w(mn);return n=>e.runOutsideAngular(()=>t.handleError(n))}function vk(e){return io([[],Yw(()=>new ue(function Kw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let yk=(()=>{class e{constructor(){this.subscription=new ht,this.initialized=!1,this.zone=w(ue),this.pendingTasks=w(Pr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Gn=new M("",{providedIn:"root",factory:()=>w(Gn,W.Optional|W.SkipSelf)||function Dk(){return typeof $localize<"u"&&$localize.locale||Qo}()}),Gh=new M("");let ar=null;let Us=(()=>{class e{static{this.__NG_ELEMENT_ID__=Ik}}return e})();function Ik(e){return function Mk(e,t,n){if(Mr(e)&&!n){const r=Tt(e.index,t);return new ls(r,r)}return 47&e.type?new ls(t[we],t):null}(ie(),D(),!(16&~e))}class lE{constructor(){}supports(t){return t instanceof Map||th(t)}create(){return new Pk}}class Pk{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||th(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new Fk(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Fk{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function dE(){return new ll([new lE])}let ll=(()=>{class e{static{this.\u0275prov=T({token:e,providedIn:"root",factory:dE})}constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dE()),deps:[[e,new Hc,new $c]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function Xk(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function bk(e=[]){if(ar)return ar;const t=function eE(e=[],t){return vt.create({name:t,providers:[{provide:Xc,useValue:"platform"},{provide:Gh,useValue:new Set([()=>ar=null])},...e]})}(e);return ar=t,function qw(){!function jS(e){zg=e}(()=>{throw new C(600,!1)})}(),function tE(e){e.get(Zv,null)?.forEach(n=>n())}(t),t}(r),i=[vk(),...n||[]],a=new aC({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ue);return u.run(()=>{a.resolveInjectorInitializers();const l=a.get(mn,null);let c;u.runOutsideAngular(()=>{c=u.onError.subscribe({next:h=>{l.handleError(h)}})});const d=()=>a.destroy(),f=o.get(Gh);return f.add(d),a.onDestroy(()=>{c.unsubscribe(),f.delete(d)}),function Ww(e,t,n){try{const r=n();return js(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,u,()=>{const h=a.get(Bh);return h.runInitializers(),h.donePromise.then(()=>{!function d_(e){"string"==typeof e&&(c_=e.toLowerCase().replace(/_/g,"-"))}(a.get(Gn,Qo)||Qo);const g=a.get(sr);return void 0!==t&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function Jo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const ei_baseUrl="https://api.djongomapper.com/mapper/";function ur(e){return this instanceof ur?(this.v=e,this):new ur(e)}function LE(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 np(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const VE=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function jE(e){return ye(e?.then)}function UE(e){return ye(e[Sc])}function BE(e){return Symbol.asyncIterator&&ye(e?.[Symbol.asyncIterator])}function $E(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 HE=function BL(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function GE(e){return ye(e?.[HE])}function zE(e){return function kE(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof ur?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield ur(n.read());if(o)return yield ur(void 0);yield yield ur(r)}}finally{n.releaseLock()}})}function qE(e){return ye(e?.getReader)}function In(e){if(e instanceof Oe)return e;if(null!=e){if(UE(e))return function $L(e){return new Oe(t=>{const n=e[Sc]();if(ye(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(VE(e))return function HL(e){return new Oe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kg)})}(e);if(BE(e))return WE(e);if(GE(e))return function zL(e){return new Oe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(qE(e))return function qL(e){return WE(zE(e))}(e)}throw $E(e)}function WE(e){return new Oe(t=>{(function WL(e,t){var n,r,o,i;return function PE(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=LE(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function zn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ZE(e,t=0){return Qe((n,r)=>{n.subscribe(Ve(r,o=>zn(r,e,()=>r.next(o),t),()=>zn(r,e,()=>r.complete(),t),o=>zn(r,e,()=>r.error(o),t)))})}function QE(e,t=0){return Qe((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function YE(e,t){if(!e)throw new Error("Iterable cannot be null");return new Oe(n=>{zn(n,t,()=>{const r=e[Symbol.asyncIterator]();zn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ke(e,t){return t?function JL(e,t){if(null!=e){if(UE(e))return function ZL(e,t){return In(e).pipe(QE(t),ZE(t))}(e,t);if(VE(e))return function YL(e,t){return new Oe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(jE(e))return function QL(e,t){return In(e).pipe(QE(t),ZE(t))}(e,t);if(BE(e))return YE(e,t);if(GE(e))return function KL(e,t){return new Oe(n=>{let r;return zn(n,t,()=>{r=e[HE](),zn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ye(r?.return)&&r.return()})}(e,t);if(qE(e))return function XL(e,t){return YE(zE(e),t)}(e,t)}throw $E(e)}(e,t):In(e)}function rp(e){return e[e.length-1]}function KE(e){return ye(rp(e))?e.pop():void 0}function gl(e){return function eV(e){return e&&ye(e.schedule)}(rp(e))?e.pop():void 0}function $(...e){return Ke(e,gl(e))}const ml=yc(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:tV}=Array,{getPrototypeOf:nV,prototype:rV,keys:oV}=Object;function XE(e){if(1===e.length){const t=e[0];if(tV(t))return{args:t,keys:null};if(function iV(e){return e&&"object"==typeof e&&nV(e)===rV}(t)){const n=oV(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:sV}=Array;function JE(e){return Y(t=>function aV(e,t){return sV(t)?e(...t):e(t)}(e,t))}function eb(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function tb(...e){const t=gl(e),n=KE(e),{args:r,keys:o}=XE(e);if(0===r.length)return Ke([],t);const i=new Oe(function uV(e,t,n=_r){return r=>{nb(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let u=0;u{const l=Ke(e[u],t);let c=!1;l.subscribe(Ve(r,d=>{i[u]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>eb(o,s):_r));return n?i.pipe(JE(n)):i}function nb(e,t,n){e?zn(n,e,t):t()}function lt(e,t,n=1/0){return ye(t)?lt((r,o)=>Y((i,s)=>t(r,i,o,s))(In(e(r,o))),n):("number"==typeof t&&(n=t),Qe((r,o)=>function lV(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let m=!1;In(n(g,c++)).subscribe(Ve(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Ve(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function ip(...e){return function cV(){return function op(e=1/0){return lt(_r,e)}(1)}()(Ke(e,gl(e)))}function rb(e){return new Oe(t=>{In(e()).subscribe(t)})}function vl(e,t){const n=ye(e)?e:()=>e,r=o=>o.error(n());return new Oe(t?o=>t.schedule(r,0,o):r)}const Mn=new Oe(e=>e.complete());function sp(){return Qe((e,t)=>{let n=null;e._refCount++;const r=Ve(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class ob extends Oe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,tm(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 ht;const n=this.getSubject();t.add(this.source.subscribe(Ve(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ht.EMPTY)}return t}refCount(){return sp()(this)}}let ib=null;function lr(){return ib}class hV{}const rn=new M("");let sb=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(pV),providedIn:"platform"})}}return e})(),pV=(()=>{class e extends sb{constructor(){super(),this._doc=w(rn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return lr().getBaseHref(this._doc)}onPopState(n){const r=lr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=lr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function ab(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 ub(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 Ur(e){return e&&"?"!==e[0]?"?"+e:e}let yl=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(mV),providedIn:"root"})}}return e})();const gV=new M("");let mV=(()=>{class e extends yl{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??w(rn).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 ab(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Ur(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Ur(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Ur(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(L(sb),L(gV,8))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Hs=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function DV(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(ub(lb(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ur(r))}normalize(n){return e.stripTrailingSlash(function yV(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,lb(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Ur}static{this.joinWithSlash=ab}static{this.stripTrailingSlash=ub}static{this.\u0275fac=function(r){return new(r||e)(L(yl))}}static{this.\u0275prov=T({token:e,factory:()=>function vV(){return new Hs(L(yl))}(),providedIn:"root"})}}return e})();function lb(e){return e.replace(/\/index.html$/,"")}function yb(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const mp=/\s+/,Db=[];let vp=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Db,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(mp):Db}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(mp):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(mp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn))}}static{this.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:[De.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})(),bb=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:tr.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(ll),_(Hn))}}static{this.\u0275dir=V({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),Ib=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,o),get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(_(Kt))}}static{this.\u0275dir=V({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[St]})}}return e})(),Mb=(()=>{class e{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=Sb}transform(n,r=Sb){if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ??=this.differs.find(n).create();const o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(function Aj(e,t){return{key:e,value:t}}(s.key,s.currentValue))})),(o||i)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}static{this.\u0275fac=function(r){return new(r||e)(_(ll,16))}}static{this.\u0275pipe=mt({name:"keyvalue",type:e,pure:!1,standalone:!0})}}return e})();function Sb(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ve(r,u=>{o?.unsubscribe();let l=0;const c=i++;In(e(u,c)).subscribe(o=Ve(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ni(e){return e<=0?()=>Mn:Qe((t,n)=>{let r=0;t.subscribe(Ve(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function cr(e,t){return Qe((n,r)=>{let o=0;n.subscribe(Ve(r,i=>e.call(t,i,o++)&&r.next(i)))})}function xl(e){return Qe((t,n)=>{let r=!1;t.subscribe(Ve(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function jb(e=dU){return Qe((t,n)=>{let r=!1;t.subscribe(Ve(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dU(){return new ml}function Br(e,t){const n=arguments.length>=2;return r=>r.pipe(e?cr((o,i)=>e(o,i,r)):_r,ni(1),n?xl(t):jb(()=>new ml))}function Ws(e,t){return ye(t)?lt(e,t,1):lt(e,1)}function dt(e,t,n){const r=ye(e)||t||n?{next:e,error:t,complete:n}:e;return r?Qe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Ve(i,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),i.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),i.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),i.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):_r}function ri(e){return Qe((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Ve(n,void 0,void 0,s=>{i=In(e(s,ri(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ep(e){return e<=0?()=>Mn:Qe((t,n)=>{let r=[];t.subscribe(Ve(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Pl(e){return Qe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class vU extends hV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class bp extends vU{static makeCurrent(){!function fV(e){ib??=e}(new bp)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function yU(){return Zs=Zs||document.querySelector("base"),Zs?Zs.getAttribute("href"):null}();return null==n?null:function DU(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return yb(document.cookie,t)}}let Zs=null,_U=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const Ip=new M("");let Ub=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(L(Ip),L(ue))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();class Bb{constructor(t){this._doc=t}}const Mp="ng-app-id";let $b=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ab(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Mp}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Mp),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Mp,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(L(rn),L(jd),L(Qv,8),L(Nr))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const Sp={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/"},Tp=/%COMP%/g,IU=new M("",{providedIn:"root",factory:()=>!0});function Gb(e,t){return t.map(n=>n.replace(Tp,e))}let zb=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ab(a),this.defaultRenderer=new Ap(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r={...r,encapsulation:Gt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Wb?o.applyToHost(n):o instanceof Np&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:i=new Wb(u,l,r,this.appId,c,s,a,d);break;case Gt.ShadowDom:return new AU(u,l,n,r,s,a,this.nonce,d);default:i=new Np(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(L(Ub),L($b),L(jd),L(IU),L(rn),L(Nr),L(ue),L(Qv))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();class Ap{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Sp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(qb(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(qb(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Sp[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Sp[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(tr.DashCase|tr.Important)?t.style.setProperty(n,r,o&tr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=lr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function qb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class AU extends Ap{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Gb(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Np extends Ap{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Gb(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wb extends Np{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function MU(e){return"_ngcontent-%COMP%".replace(Tp,e)}(l),this.hostAttr=function SU(e){return"_nghost-%COMP%".replace(Tp,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}const Zb=["alt","control","meta","shift"],RU={"\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"},OU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function Qb(e){return{appProviders:[...UU,...e?.providers??[]],platformProviders:VU}}const VU=[{provide:Nr,useValue:"browser"},{provide:Zv,useValue:function FU(){bp.makeCurrent()},multi:!0},{provide:rn,useFactory:function LU(){return function AA(e){Vd=e}(document),document},deps:[]}],UU=[{provide:Xc,useValue:"root"},{provide:mn,useFactory:function kU(){return new mn},deps:[]},{provide:Ip,useClass:(()=>{class e extends Bb{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(L(rn))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})(),multi:!0,deps:[rn,ue,Nr]},{provide:Ip,useClass:(()=>{class e extends Bb{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>lr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zb.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=RU[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Zb.forEach(s=>{s!==o&&(0,OU[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(L(rn))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})(),multi:!0,deps:[rn]},zb,$b,Ub,{provide:mD,useExisting:zb},{provide:Nb,useClass:_U,deps:[]},[]];let BU=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(L(rn))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const H="primary",Ys=Symbol("RouteTitle");class zU{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 oi(e){return new zU(e)}function qU(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function eI(e){return e.length>0?e[e.length-1]:null}function dr(e){return function DL(e){return!!e&&(e instanceof Oe||ye(e.lift)&&ye(e.subscribe))}(e)?e:js(e)?Ke(Promise.resolve(e)):$(e)}const ZU={exact:function rI(e,t,n){if(!$r(e.segments,t.segments)||!Fl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!rI(e.children[r],t.children[r],n))return!1;return!0},subset:oI},tI={exact:function QU(e,t){return Tn(e,t)},subset:function YU(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Jb(e[n],t[n]))},ignored:()=>!0};function nI(e,t,n){return ZU[n.paths](e.root,t.root,n.matrixParams)&&tI[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function oI(e,t,n){return iI(e,t,t.segments,n)}function iI(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!$r(o,n)||t.hasChildren()||!Fl(o,n,r))}if(e.segments.length===n.length){if(!$r(e.segments,n)||!Fl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!oI(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!($r(e.segments,o)&&Fl(e.segments,o,r)&&e.children[H])&&iI(e.children[H],t,i,r)}}function Fl(e,t,n){return t.every((r,o)=>tI[n](e[o].parameters,r.parameters))}class ii{constructor(t=new le([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=oi(this.queryParams),this._queryParamMap}toString(){return JU.serialize(this)}}class le{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kl(this)}}class Ks{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=oi(this.parameters),this._parameterMap}toString(){return uI(this)}}function $r(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let si=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>new Op,providedIn:"root"})}}return e})();class Op{parse(t){const n=new c2(t);return new ii(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Xs(t.root,!0)}`,r=function n2(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ll(n)}=${Ll(o)}`).join("&"):`${Ll(n)}=${Ll(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function e2(e){return encodeURI(e)}(t.fragment)}`:""}`}}const JU=new Op;function kl(e){return e.segments.map(t=>uI(t)).join("/")}function Xs(e,t){if(!e.hasChildren())return kl(e);if(t){const n=e.children[H]?Xs(e.children[H],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&r.push(`${o}:${Xs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function XU(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===H&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==H&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===H?[Xs(e.children[H],!1)]:[`${o}:${Xs(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${kl(e)}/${n[0]}`:`${kl(e)}/(${n.join("//")})`}}function sI(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ll(e){return sI(e).replace(/%3B/gi,";")}function xp(e){return sI(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vl(e){return decodeURIComponent(e)}function aI(e){return Vl(e.replace(/\+/g,"%20"))}function uI(e){return`${xp(e.path)}${function t2(e){return Object.entries(e).map(([t,n])=>`;${xp(t)}=${xp(n)}`).join("")}(e.parameters)}`}const r2=/^[^\/()?;#]+/;function Pp(e){const t=e.match(r2);return t?t[0]:""}const o2=/^[^\/()?;=#]+/,s2=/^[^=?&#]+/,u2=/^[^&#]+/;class c2{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new le([],{}):new le([],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 le(t,n)),r}parseSegment(){const t=Pp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Ks(Vl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function i2(e){const t=e.match(o2);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Pp(this.remaining);o&&(r=o,this.capture(r))}t[Vl(n)]=Vl(r)}parseQueryParam(t){const n=function a2(e){const t=e.match(s2);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function l2(e){const t=e.match(u2);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=aI(n),i=aI(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Pp(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=H);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[H]:new le([],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 C(4011,!1)}}function lI(e){return e.segments.length>0?new le([],{[H]:e}):e}function cI(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=cI(o);if(r===H&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function d2(e){if(1===e.numberOfChildren&&e.children[H]){const t=e.children[H];return new le(e.segments.concat(t.segments),t.children)}return e}(new le(e.segments,t))}function ai(e){return e instanceof ii}function dI(e){let t;const o=lI(function n(i){const s={};for(const u of i.children){const l=n(u);s[u.outlet]=l}const a=new le(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function fI(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Fp(o,o,o,n,r);const i=function h2(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new pI(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([u,l])=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new pI(n,t,r)}(t);if(i.toRoot())return Fp(o,o,new le([],{}),n,r);const s=function p2(e,t,n){if(e.isAbsolute)return new Ul(t,!0,0);if(!n)return new Ul(t,!1,NaN);if(null===n.parent)return new Ul(n,!0,0);const r=jl(e.commands[0])?0:1;return function g2(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,!1);o=r.segments.length}return new Ul(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?ea(s.segmentGroup,s.index,i.commands):gI(s.segmentGroup,s.index,i.commands);return Fp(o,s.segmentGroup,a,n,r)}function jl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Js(e){return"object"==typeof e&&null!=e&&e.outlets}function Fp(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([u,l])=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:hI(e,t,n);const a=lI(cI(s));return new ii(a,i,o)}function hI(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:hI(i,t,n)}),new le(e.segments,r)}class pI{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&jl(r[0]))throw new C(4003,!1);const o=r.find(Js);if(o&&o!==eI(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ul{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function gI(e,t,n){if(e??=new le([],{}),0===e.segments.length&&e.hasChildren())return ea(e,t,n);const r=function v2(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Js(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!vI(u,l,s))return i;r+=2}else{if(!vI(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==H)&&e.children[H]&&1===e.numberOfChildren&&0===e.children[H].segments.length){const i=ea(e.children[H],t,n);return new le(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=gI(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new le(e.segments,o)}}function kp(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=kp(new le([],{}),0,r))}),t}function mI(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function vI(e,t,n){return e==n.path&&Tn(t,n.parameters)}const ta="imperative";var Q=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Q||{});class An{constructor(t,n){this.id=t,this.url=n}}class Lp extends An{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Q.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hr extends An{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var xt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xt||{}),Vp=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Vp||{});class ui extends An{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class na extends An{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationSkipped}}class Bl extends An{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yI extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class D2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class C2 extends An{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class w2 extends An{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class E2{constructor(t){this.route=t,this.type=Q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class b2{constructor(t){this.route=t,this.type=Q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class I2{constructor(t){this.snapshot=t,this.type=Q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class M2{constructor(t){this.snapshot=t,this.type=Q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S2{constructor(t){this.snapshot=t,this.type=Q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T2{constructor(t){this.snapshot=t,this.type=Q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jp{}class Up{constructor(t){this.url=t}}class A2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ra,this.attachRef=null}}let ra=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new A2,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class DI{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=Bp(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Bp(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=$p(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return $p(t,this._root).map(n=>n.value)}}function Bp(e,t){if(e===t.value)return t;for(const n of t.children){const r=Bp(e,n);if(r)return r}return null}function $p(e,t){if(e===t.value)return[t];for(const n of t.children){const r=$p(e,n);if(r.length)return r.unshift(t),r}return[]}class an{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function li(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class CI extends DI{constructor(t,n){super(t),this.snapshot=n,zp(this,t)}toString(){return this.snapshot.toString()}}function _I(e){const t=function N2(e){const i=new Gp([],{},{},"",{},H,e,null,{});return new wI("",new an(i,[]))}(e),n=new kt([new Ks("",{})]),r=new kt({}),o=new kt({}),i=new kt({}),s=new kt(""),a=new fr(n,r,i,s,o,H,e,t.root);return a.snapshot=t.root,new CI(new an(a,[]),t)}class fr{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(Y(l=>l[Ys]))??$(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Y(t=>oi(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Y(t=>oi(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hp(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&bI(o)&&(r.resolve[Ys]=o.title),r}class Gp{get title(){return this.data?.[Ys]}constructor(t,n,r,o,i,s,a,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=l}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??=oi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oi(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wI extends DI{constructor(t,n){super(n),this.url=t,zp(this,n)}toString(){return EI(this._root)}}function zp(e,t){t.value._routerState=e,t.children.forEach(n=>zp(e,n))}function EI(e){const t=e.children.length>0?` { ${e.children.map(EI).join(", ")} } `:"";return`${e.value}${t}`}function qp(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Tn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Tn(t.params,n.params)||e.paramsSubject.next(n.params),function WU(e,t){if(e.length!==t.length)return!1;for(let n=0;nTn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Wp(e.parent,t.parent))}function bI(e){return"string"==typeof e.title||null===e.title}let Zp=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=w(ra),this.location=w(Kt),this.changeDetector=w(Us),this.environmentInjector=w(It),this.inputBinder=w($l,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Qp(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[St]})}}return e})();class Qp{__ngOutletInjector(t){return new Qp(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===fr?this.route:t===ra?this.childContexts:this.parent.get(t,n)}}const $l=new M("");function oa(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function O2(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return oa(e,r,o);return oa(e,r)})}(e,t,n);return new an(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>oa(e,a)),s}}const r=function x2(e){return new fr(new kt(e.url),new kt(e.params),new kt(e.queryParams),new kt(e.fragment),new kt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>oa(e,i));return new an(r,o)}}const MI="ngNavigationCancelingError";function SI(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=ai(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=TI(!1,xt.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function TI(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[MI]=!0,n.cancellationCode=t,n}function AI(e){return!!e&&e[MI]}let NI=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ut],decls:1,vars:0,template:function(r,o){1&r&&ze(0,"router-outlet")},dependencies:[Zp],encapsulation:2})}}return e})();function Yp(e){const t=e.children&&e.children.map(Yp),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==H&&(n.component=NI),n}function Nn(e){return e.outlet||H}function ia(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 B2{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),qp(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=li(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=li(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=li(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=li(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new T2(i.value.snapshot))}),t.children.length&&this.forwardEvent(new M2(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(qp(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),qp(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ia(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class RI{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Hl{constructor(t,n){this.component=t,this.route=n}}function $2(e,t,n){const r=e._root;return sa(r,t?t._root:null,n,[r.value])}function ci(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function l0(e){return null!==Aa(e)}(e)?t.get(e):e:r}function sa(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=li(t);return e.children.forEach(s=>{(function G2(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const u=function z2(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!$r(e.url,t.url);case"pathParamsOrQueryParamsChange":return!$r(e.url,t.url)||!Tn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wp(e,t)||!Tn(e.queryParams,t.queryParams);default:return!Wp(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new RI(r)):(i.data=s.data,i._resolvedData=s._resolvedData),sa(e,t,i.component?a?a.children:null:n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Hl(a.outlet.component,s))}else s&&aa(t,a,o),o.canActivateChecks.push(new RI(r)),sa(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>aa(a,n.getContext(s),o)),o}function aa(e,t,n){const r=li(e),o=e.value;Object.entries(r).forEach(([i,s])=>{aa(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Hl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ua(e){return"function"==typeof e}function OI(e){return e instanceof ml||"EmptyError"===e?.name}const Gl=Symbol("INITIAL_VALUE");function di(){return Sn(e=>tb(e.map(t=>t.pipe(ni(1),function cU(...e){const t=gl(e);return Qe((n,r)=>{(t?ip(e,n,t):ip(e,n)).subscribe(r)})}(Gl)))).pipe(Y(t=>{for(const n of t)if(!0!==n){if(n===Gl)return Gl;if(!1===n||n instanceof ii)return n}return!0}),cr(t=>t!==Gl),ni(1)))}function xI(e){return function XS(...e){return Xg(e)}(dt(t=>{if(ai(t))throw SI(0,t)}),Y(t=>!0===t))}class Kp{constructor(t){this.segmentGroup=t||null}}class Xp extends Error{constructor(t){super(),this.urlTree=t}}function fi(e){return vl(new Kp(e))}class cB{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return $(r);if(o.numberOfChildren>1||!o.children[H])return vl(new C(4e3,!1));o=o.children[H]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Xp(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new ii(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new le(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const Jp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dB(e,t,n,r,o){const i=eg(e,t,n);return i.matched?(r=function F2(e,t){return e.providers&&!e._injector&&(e._injector=eh(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function aB(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?$(o.map(s=>{const a=ci(s,e);return dr(function K2(e){return e&&ua(e.canMatch)}(a)?a.canMatch(t,n):kn(e,()=>a(t,n)))})).pipe(di(),xI()):$(!0)}(r,t,n).pipe(Y(s=>!0===s?i:{...Jp}))):$(i)}function eg(e,t,n){if("**"===t.path)return function fB(e){return{matched:!0,parameters:e.length>0?eI(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Jp}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||qU)(n,e,t);if(!o)return{...Jp};const i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function PI(e,t,n,r){return n.length>0&&function gB(e,t,n){return n.some(r=>zl(e,t,r)&&Nn(r)!==H)}(e,n,r)?{segmentGroup:new le(t,pB(r,new le(n,e.children))),slicedSegments:[]}:0===n.length&&function mB(e,t,n){return n.some(r=>zl(e,t,r))}(e,n,r)?{segmentGroup:new le(e.segments,hB(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new le(e.segments,e.children),slicedSegments:n}}function hB(e,t,n,r){const o={};for(const i of n)if(zl(e,t,i)&&!r[Nn(i)]){const s=new le([],{});o[Nn(i)]=s}return{...r,...o}}function pB(e,t){const n={};n[H]=t;for(const r of e)if(""===r.path&&Nn(r)!==H){const o=new le([],{});n[Nn(r)]=o}return n}function zl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class DB{}class wB{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new cB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new C(4002,`'${t.segmentGroup}'`)}recognize(){const t=PI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Y(n=>{const r=new Gp([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,{}),o=new an(r,n),i=new wI("",o),s=function f2(e,t,n=null,r=null){return fI(dI(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,H).pipe(ri(r=>{if(r instanceof Xp)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Kp?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=Hp(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(Y(i=>i instanceof an?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ke(o).pipe(Ws(i=>{const s=r.children[i],a=function j2(e,t){const n=e.filter(r=>Nn(r)===t);return n.push(...e.filter(r=>Nn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function hU(e,t){return Qe(function fU(e,t,n,r,o){return(i,s)=>{let a=n,u=t,l=0;i.subscribe(Ve(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),xl(null),function pU(e,t){const n=arguments.length>=2;return r=>r.pipe(e?cr((o,i)=>e(o,i,r)):_r,Ep(1),n?xl(t):jb(()=>new ml))}(),lt(i=>{if(null===i)return fi(r);const s=FI(i);return function EB(e){e.sort((t,n)=>t.value.outlet===H?-1:n.value.outlet===H?1:t.value.outlet.localeCompare(n.value.outlet))}(s),$(s)}))}processSegment(t,n,r,o,i,s){return Ke(n).pipe(Ws(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(ri(u=>{if(u instanceof Kp)return $(null);throw u}))),Br(a=>!!a),ri(a=>{if(OI(a))return function yB(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?$(new DB):fi(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function vB(e,t,n,r){return!!(Nn(e)===r||r!==H&&zl(t,n,e))&&eg(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):fi(o):fi(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=eg(n,o,i);if(!a)return fi(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,l);return this.applyRedirects.lineralizeSegments(o,d).pipe(lt(f=>this.processSegment(t,r,n,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=dB(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(Sn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(Sn(({routes:u})=>{const l=r._loadedInjector??t,{consumedSegments:c,remainingSegments:d,parameters:f}=a,h=new Gp(c,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function IB(e){return e.data||{}}(r),Nn(r),r.component??r._loadedComponent??null,r,function MB(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:g}=PI(n,c,d,u);if(0===g.length&&p.hasChildren())return this.processChildren(l,u,p).pipe(Y(v=>null===v?null:new an(h,v)));if(0===u.length&&0===g.length)return $(new an(h,[]));const m=Nn(r)===i;return this.processSegment(l,u,p,g,m?H:i,!0).pipe(Y(v=>new an(h,v instanceof an?[v]:[])))})):fi(n)))}getChildConfig(t,n,r){return n.children?$({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?$({routes:n._loadedRoutes,injector:n._loadedInjector}):function sB(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?$(!0):$(o.map(s=>{const a=ci(s,e);return dr(function W2(e){return e&&ua(e.canLoad)}(a)?a.canLoad(t,n):kn(e,()=>a(t,n)))})).pipe(di(),xI())}(t,n,r).pipe(lt(o=>o?this.configLoader.loadChildren(t,n).pipe(dt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function lB(e){return vl(TI(!1,xt.GuardRejected))}())):$({routes:[],injector:t})}}function bB(e){const t=e.value.routeConfig;return t&&""===t.path}function FI(e){const t=[],n=new Set;for(const r of e){if(!bB(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=FI(r.children);t.push(new an(r.value,o))}return t.filter(r=>!n.has(r))}function kI(e){const t=e.children.map(n=>kI(n)).flat();return[e,...t]}function tg(e){return Sn(t=>{const n=e(t);return n?Ke(n).pipe(Y(()=>t)):$(t)})}let LI=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(n){return n.data[Ys]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(OB),providedIn:"root"})}}return e})(),OB=(()=>{class e extends LI{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(L(BU))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const la=new M("",{providedIn:"root",factory:()=>({})}),ql=new M("");let VI=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(fk)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return $(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=dr(n.loadComponent()).pipe(Y(jI),dt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Pl(()=>{this.componentLoaders.delete(n)})),o=new ob(r,()=>new Ft).pipe(sp());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return $({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function xB(e,t,n,r){return dr(e.loadChildren()).pipe(Y(jI),lt(o=>o instanceof sC||Array.isArray(o)?$(o):Ke(t.compileModuleAsync(o))),Y(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(ql,[],{optional:!0,self:!0}).flat()),{routes:s.map(Yp),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(Pl(()=>{this.childrenLoaders.delete(r)})),s=new ob(i,()=>new Ft).pipe(sp());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function jI(e){return function PB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let ng=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(FB),providedIn:"root"})}}return e})(),FB=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const UI=new M("");let Wl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ft,this.transitionAbortSubject=new Ft,this.configLoader=w(VI),this.environmentInjector=w(It),this.urlSerializer=w(si),this.rootContexts=w(ra),this.location=w(Hs),this.inputBindingEnabled=null!==w($l,{optional:!0}),this.titleStrategy=w(LI),this.options=w(la,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=w(ng),this.createViewTransition=w(UI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>$(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new b2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new E2(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new kt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ta,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(cr(i=>0!==i.id),Y(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Sn(i=>{let s=!1,a=!1;return $(i).pipe(Sn(u=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",xt.SupersededByNewNavigation),Mn;this.currentTransition=i,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new na(u.id,this.urlSerializer.serialize(u.rawUrl),d,Vp.IgnoredSameUrlNavigation)),u.resolve(null),Mn}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return $(u).pipe(Sn(d=>{const f=this.transitions?.getValue();return this.events.next(new Lp(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Mn:Promise.resolve(d)}),function SB(e,t,n,r,o,i){return lt(s=>function CB(e,t,n,r,o,i,s="emptyOnly"){return new wB(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Y(({state:a,tree:u})=>({...s,targetSnapshot:a,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),dt(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new yI(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:g}=u,m=new Lp(d,this.urlSerializer.serialize(f),h,p);this.events.next(m);const v=_I(this.rootComponentType).snapshot;return this.currentTransition=i={...u,targetSnapshot:v,urlAfterRedirects:f,extras:{...g,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,$(i)}{const d="";return this.events.next(new na(u.id,this.urlSerializer.serialize(u.extractedUrl),d,Vp.IgnoredByUrlHandlingStrategy)),u.resolve(null),Mn}}),dt(u=>{const l=new D2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Y(u=>(this.currentTransition=i={...u,guards:$2(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},i)),function X2(e,t){return lt(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?$({...n,guardsResult:!0}):function J2(e,t,n,r){return Ke(e).pipe(lt(o=>function iB(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?$(i.map(a=>{const u=ia(t)??o,l=ci(a,u);return dr(function Y2(e){return e&&ua(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):kn(u,()=>l(e,t,n,r))).pipe(Br())})).pipe(di()):$(!0)}(o.component,o.route,n,t,r)),Br(o=>!0!==o,!0))}(s,r,o,e).pipe(lt(a=>a&&function q2(e){return"boolean"==typeof e}(a)?function eB(e,t,n,r){return Ke(t).pipe(Ws(o=>ip(function nB(e,t){return null!==e&&t&&t(new I2(e)),$(!0)}(o.route.parent,r),function tB(e,t){return null!==e&&t&&t(new S2(e)),$(!0)}(o.route,r),function oB(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function H2(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=>rb(()=>$(s.guards.map(u=>{const l=ia(s.node)??n,c=ci(u,l);return dr(function Q2(e){return e&&ua(e.canActivateChild)}(c)?c.canActivateChild(r,e):kn(l,()=>c(r,e))).pipe(Br())})).pipe(di())));return $(i).pipe(di())}(e,o.path,n),function rB(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return $(!0);const o=r.map(i=>rb(()=>{const s=ia(t)??n,a=ci(i,s);return dr(function Z2(e){return e&&ua(e.canActivate)}(a)?a.canActivate(t,e):kn(s,()=>a(t,e))).pipe(Br())}));return $(o).pipe(di())}(e,o.route,n))),Br(o=>!0!==o,!0))}(r,i,e,t):$(a)),Y(a=>({...n,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),dt(u=>{if(i.guardsResult=u.guardsResult,ai(u.guardsResult))throw SI(0,u.guardsResult);const l=new C2(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),cr(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",xt.GuardRejected),!1)),tg(u=>{if(u.guards.canActivateChecks.length)return $(u).pipe(dt(l=>{const c=new _2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Sn(l=>{let c=!1;return $(l).pipe(function TB(e,t){return lt(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return $(n);const i=new Set(o.map(u=>u.route)),s=new Set;for(const u of i)if(!s.has(u))for(const l of kI(u))s.add(l);let a=0;return Ke(s).pipe(Ws(u=>i.has(u)?function AB(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!bI(o)&&(i[Ys]=o.title),function NB(e,t,n,r){const o=Rp(e);if(0===o.length)return $({});const i={};return Ke(o).pipe(lt(s=>function RB(e,t,n,r){const o=ia(t)??r,i=ci(e,o);return dr(i.resolve?i.resolve(t,n):kn(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Br(),dt(a=>{i[s]=a}))),Ep(1),function gU(e){return Y(()=>e)}(i),ri(s=>OI(s)?Mn:vl(s)))}(i,e,t,r).pipe(Y(s=>(e._resolvedData=s,e.data=Hp(e,e.parent,n).resolve,null)))}(u,r,e,t):(u.data=Hp(u,u.parent,e).resolve,$(void 0))),dt(()=>a++),Ep(1),lt(u=>a===s.size?$(n):Mn))})}(this.paramsInheritanceStrategy,this.environmentInjector),dt({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(l,"",xt.NoDataFromResolver)}}))}),dt(l=>{const c=new w2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}))}),tg(u=>{const l=c=>{const d=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(c.routeConfig).pipe(dt(f=>{c.component=f}),Y(()=>{})));for(const f of c.children)d.push(...l(f));return d};return tb(l(u.targetSnapshot.root)).pipe(xl(null),ni(1))}),tg(()=>this.afterPreactivation()),Sn(()=>{const{currentSnapshot:u,targetSnapshot:l}=i,c=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return c?Ke(c).pipe(Y(()=>i)):$(i)}),Y(u=>{const l=function R2(e,t,n){const r=oa(e,t._root,n?n._root:void 0);return new CI(r,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=i={...u,targetRouterState:l},this.currentNavigation.targetRouterState=l,i}),dt(()=>{this.events.next(new jp)}),((e,t,n,r)=>Y(o=>(new B2(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),ni(1),dt({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Hr(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),function mU(e){return Qe((t,n)=>{In(e).subscribe(Ve(n,()=>n.complete(),_c)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(dt(u=>{throw u}))),Pl(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",xt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),ri(u=>{if(a=!0,AI(u))this.events.next(new ui(i.id,this.urlSerializer.serialize(i.extractedUrl),u.message,u.cancellationCode)),function P2(e){return AI(e)&&ai(e.url)}(u)?this.events.next(new Up(u.url)):i.resolve(!1);else{this.events.next(new Bl(i.id,this.urlSerializer.serialize(i.extractedUrl),u,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Mn}))}))}cancelNavigationTransition(n,r,o){const i=new ui(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function VB(e){return e!==ta}let jB=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w(BB),providedIn:"root"})}}return e})();class UB{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let BB=(()=>{class e extends UB{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),$I=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:()=>w($B),providedIn:"root"})}}return e})(),$B=(()=>{class e extends $I{constructor(){super(...arguments),this.location=w(Hs),this.urlSerializer=w(si),this.options=w(la,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=w(ng),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ii,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_I(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Lp)this.stateMemento=this.createStateMemento();else if(n instanceof na)this.rawUrlTree=r.initialUrl;else if(n instanceof yI){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof jp?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof ui&&(n.code===xt.GuardRejected||n.code===xt.NoDataFromResolver)?this.restoreHistory(r):n instanceof Bl?this.restoreHistory(r,!0):n instanceof Hr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ca=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ca||{});function HB(e){throw e}const GB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ht=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=w(jw),this.stateManager=w($I),this.options=w(la,{optional:!0})||{},this.pendingTasks=w(Pr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=w(Wl),this.urlSerializer=w(si),this.location=w(Hs),this.urlHandlingStrategy=w(ng),this._events=new Ft,this.errorHandler=this.options.errorHandler||HB,this.navigated=!1,this.routeReuseStrategy=w(jB),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=w(ql,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!w($l,{optional:!0}),this.eventsSubscription=new ht,this.isNgZoneEnabled=w(ue)instanceof ue&&ue.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof ui&&r.code!==xt.Redirect&&r.code!==xt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Hr)this.navigated=!0;else if(r instanceof Up){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||VB(o.source)};this.scheduleNavigation(s,ta,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function WB(e){return!(e instanceof jp||e instanceof Up)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ta,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const u={...o};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Yp),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=u?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=dI(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return fI(d,n,c,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=ai(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ta,null,r)}navigate(n,r={skipLocationChange:!1}){return function qB(e){for(let t=0;t(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,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((d,f)=>{a=d,u=f});const c=this.pendingTasks.add();return function HI(e,t){e.events.pipe(cr(n=>n instanceof Hr||n instanceof ui||n instanceof Bl||n instanceof na),Y(n=>n instanceof Hr||n instanceof na?ca.COMPLETE:n instanceof ui&&(n.code===xt.Redirect||n.code===xt.SupersededByNewNavigation)?ca.REDIRECTING:ca.FAILED),cr(n=>n!==ca.REDIRECTING),ni(1)).subscribe(()=>{t()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Zl=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Ft,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===u||"area"===u,this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Hr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=null!==n&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const r=null===this.href?null:function yy(e,t,n){return function hN(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?vy:my}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(_(Ht),_(fr),function zi(e){return function qT(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const n=e.get(sr);if(t!==n.components[0])return;const r=e.get(Ht),o=e.get(WI);1===e.get(og)&&r.initialNavigation(),e.get(ZI,null,W.Optional)?.setUpPreloading(),e.get(rg,null,W.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const WI=new M("",{factory:()=>new Ft}),og=new M("",{providedIn:"root",factory:()=>1}),ZI=new M("");let n$=(()=>{class e{constructor(){this.title="djongo-FE"}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-root"]],standalone:!0,features:[Ut],decls:1,vars:0,template:function(r,o){1&r&&ze(0,"router-outlet")},dependencies:[Zp]})}}return e})();const hi="create-account/",ig="create-access/";var YI=function(e){return e.PENDING_SETUP="pending_setup",e.SETUP="setup",e.ERROR="error",e}(YI||{});const pi="dashboard/";var KI=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(KI||{});const gi="login/";var XI=function(e){return e.OK="ok",e.DOES_NOT_EXIST="does_not_exist",e.ERROR="error",e}(XI||{});const JI="contact-us/";var eM=function(e){return e.OK="ok",e.ERROR="error",e}(eM||{}),sg=function(e){return e.LATEST_UPDATES="latest_updates",e.EXTENDED_FEATURES="extended_features",e}(sg||{}),ag=function(e){return e.OK="ok",e.EMAIL_EXISTS="email_exists",e.ERROR="error",e}(ag||{});class Ql{}class Yl{}class Pt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Pt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Pt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class a${encodeKey(t){return tM(t)}encodeValue(t){return tM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const l$=/%(\d[a-f0-9])/gi,c$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tM(e){return encodeURIComponent(e).replace(l$,(t,n)=>c$[n]??t)}function Kl(e){return`${e}`}class On{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new a$,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u$(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Kl):[Kl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new On({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Kl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Kl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class d${constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function nM(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function rM(e){return typeof Blob<"u"&&e instanceof Blob}function oM(e){return typeof FormData<"u"&&e instanceof FormData}class da{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function f$(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Pt,this.context??=new d$,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":af.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new da(n,r,s,{params:c,headers:l,context:d,reportProgress:u,responseType:o,withCredentials:a,transferCache:i})}}var hr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(hr||{});class ug{constructor(t,n=fa.Ok,r="OK"){this.headers=t.headers||new Pt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Xl extends ug{constructor(t={}){super(t),this.type=hr.ResponseHeader}clone(t={}){return new Xl({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Gr extends ug{constructor(t={}){super(t),this.type=hr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Gr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class mi extends ug{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var fa=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(fa||{});function lg(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let iM=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof da)i=n;else{let u,l;u=o.headers instanceof Pt?o.headers:new Pt(o.headers),o.params&&(l=o.params instanceof On?o.params:new On({fromObject:o.params})),i=new da(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=$(i).pipe(Ws(u=>this.handler.handle(u)));if(n instanceof da||"events"===o.observe)return s;const a=s.pipe(cr(u=>u instanceof Gr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Y(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Y(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new On).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,lg(o,r))}post(n,r,o={}){return this.request("POST",n,lg(o,r))}put(n,r,o={}){return this.request("PUT",n,lg(o,r))}static{this.\u0275fac=function(r){return new(r||e)(L(Ql))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const p$=/^\)\]\}',?\n/;function sM(e){if(e.url)return e.url;const t="X-Request-URL".toLocaleLowerCase();return e.headers.get(t)}let cg=(()=>{class e{constructor(){this.fetchImpl=w(m$,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=w(ue)}handle(n){return new Oe(r=>{const o=new AbortController;return this.doRequest(n,o.signal,r).then(dg,i=>r.error(new mi({error:i}))),()=>o.abort()})}doRequest(n,r,o){var i=this;return Ei(function*(){const s=i.createRequestInit(n);let a;try{const p=i.fetchImpl(n.urlWithParams,{signal:r,...s});(function v$(e){e.then(dg,dg)})(p),o.next({type:hr.Sent}),a=yield p}catch(p){return void o.error(new mi({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}))}const u=new Pt(a.headers),l=a.statusText,c=sM(a)??n.urlWithParams;let d=a.status,f=null;if(n.reportProgress&&o.next(new Xl({headers:u,status:d,statusText:l,url:c})),a.body){const p=a.headers.get("content-length"),g=[],m=a.body.getReader();let y,I,v=0;const x=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(Ei(function*(){for(;;){const{done:ne,value:Ze}=yield m.read();if(ne)break;if(g.push(Ze),v+=Ze.length,n.reportProgress){I="text"===n.responseType?(I??"")+(y??=new TextDecoder).decode(Ze,{stream:!0}):void 0;const Zn=()=>o.next({type:hr.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:I});x?x.run(Zn):Zn()}}}));const q=i.concatChunks(g,v);try{const ne=a.headers.get("Content-Type")??"";f=i.parseBody(n,q,ne)}catch(ne){return void o.error(new mi({error:ne,headers:new Pt(a.headers),status:a.status,statusText:a.statusText,url:sM(a)??n.urlWithParams}))}}0===d&&(d=f?fa.Ok:0),d>=200&&d<300?(o.next(new Gr({body:f,headers:u,status:d,statusText:l,url:c})),o.complete()):o.error(new mi({error:f,headers:u,status:d,statusText:l,url:c}))})()}parseBody(n,r,o){switch(n.responseType){case"json":const i=(new TextDecoder).decode(r).replace(p$,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),r.Accept??="application/json, text/plain, */*",!r["Content-Type"]){const i=n.detectContentTypeHeader();null!==i&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){const o=new Uint8Array(r);let i=0;for(const s of n)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();class m${}function dg(){}function aM(e,t){return t(e)}const ha=new M(""),uM=new M(""),lM=new M("");let cM=(()=>{class e extends Ql{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=w(Pr);const o=w(lM,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ha),...this.injector.get(uM,[])]));this.chain=o.reduceRight((i,s)=>function D$(e,t,n){return(r,o)=>kn(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),aM)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Pl(()=>this.pendingTasks.remove(r)))}static{this.\u0275fac=function(r){return new(r||e)(L(Yl),L(It))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const M$=/^\)\]\}',?\n/;let fM=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ke(r.\u0275loadImpl()):$(null)).pipe(Sn(()=>new Oe(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",m=new Pt(s.getAllResponseHeaders()),v=function S$(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new Xl({headers:m,status:s.status,statusText:g,url:v}),u},c=()=>{let{headers:g,status:m,statusText:v,url:y}=l(),I=null;m!==fa.NoContent&&(I=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=I?fa.Ok:0);let x=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof I){const q=I;I=I.replace(M$,"");try{I=""!==I?JSON.parse(I):null}catch(ne){I=q,x&&(x=!1,I={error:ne,text:I})}}x?(i.next(new Gr({body:I,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new mi({error:I,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=l(),v=new mi({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let m={type:hr.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:hr.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:hr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(L(Nb))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();const fg=new M(""),hM=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),pM=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class gM{}let N$=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=yb(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(L(rn),L(Nr),L(hM))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac})}}return e})();function R$(e,t){const n=e.url.toLowerCase();if(!w(fg)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=w(gM).getToken(),o=w(pM);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var pr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(pr||{});class bM{constructor(){}static has(t){return document.cookie.split(";").some(n=>n.trim().startsWith(t+"="))}static get(t){let n=document.cookie.split(";").find(r=>r.trim().startsWith(t+"="));if(n)return n.trim().split("=")[1]}static set(t,n){document.cookie=t+"="+n+";Secure"}}let un=(()=>{class e{constructor(n){this.http=n}post(n,r){let o={"Content-Type":"application/json"},i=bM.get("csrftoken");i&&(o["X-CSRFTOKEN"]=i);let s={withCredentials:!0};return s.headers=new Pt(o),this.http.post(ei_baseUrl+n,r,s)}postForm(n,r){let o=new On({fromObject:r}),i=bM.get("csrftoken");return i&&(o=o.set("csrfmiddlewaretoken",i)),this.http.post(ei_baseUrl+n,o,{withCredentials:!0})}get(n,r){let o={withCredentials:!0};return r&&(o.params=new On({fromObject:r})),this.http.get(ei_baseUrl+n,o)}static{this.\u0275fac=function(r){return new(r||e)(L(iM))}}static{this.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const hg={dashboard:[{provide:un,useClass:un}],createAccount:[{provide:un,useClass:un}],contactUs:[{provide:un,useClass:un}]};class ec{constructor(t){this.name=t.name,this.id=t.id||t.name,this.required=!!t.required,this.ngClass=t.ngClass}}class vi extends ec{constructor(t){super(t),this.type="text",this.autocomplete=t.autocomplete||this.autocomplete,this.title=t.title,this.pattern=t.pattern||this.pattern,this.placeholder=t.placeholder}}class IM extends vi{constructor(){super(...arguments),this.type="password",this.required=!0,this.autocomplete="password"}}class j$ extends vi{constructor(){super(...arguments),this.type="email",this.required=!0,this.pattern="^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",this.autocomplete="email"}}class pg{constructor(t){this.label=t.label,this.attr=t.attr,this.errors=t.errors||{},this.show=void 0===t.show||t.show}onChange(t){}}class qr extends pg{constructor(t){super(t),this.type="input",this.attr=t.attr}}class MM extends pg{constructor(t){super(t),this.type="select",this.options=t.options}}class U$ extends pg{constructor(t){super(t),this.type="textarea"}}let SM=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static{this.\u0275fac=function(r){return new(r||e)(_(Hn),_(At))}}static{this.\u0275dir=V({type:e})}}return e})(),Wr=(()=>{class e extends SM{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,features:[se]})}}return e})();const xn=new M(""),H$={provide:xn,useExisting:fe(()=>yi),multi:!0},z$=new M("");let yi=(()=>{class e extends SM{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function G$(){const e=lr()?lr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static{this.\u0275fac=function(r){return new(r||e)(_(Hn),_(At),_(z$,8))}}static{this.\u0275dir=V({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&Ie("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ce([H$]),se]})}}return e})();function gr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const ot=new M(""),mr=new M("");function OM(e){return gr(e.value)?{required:!0}:null}function tc(e){return null}function VM(e){return null!=e}function jM(e){return js(e)?Ke(e):e}function UM(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function BM(e,t){return t.map(n=>n(e))}function $M(e){return e.map(t=>function W$(e){return!e.validate}(t)?t:n=>t.validate(n))}function gg(e){return null!=e?function HM(e){if(!e)return null;const t=e.filter(VM);return 0==t.length?null:function(n){return UM(BM(n,t))}}($M(e)):null}function mg(e){return null!=e?function GM(e){if(!e)return null;const t=e.filter(VM);return 0==t.length?null:function(n){return function B$(...e){const t=KE(e),{args:n,keys:r}=XE(e),o=new Oe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?eb(r,a):a),i.complete())}))}});return t?o.pipe(JE(t)):o}(BM(n,t).map(jM)).pipe(Y(UM))}}($M(e)):null}function zM(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function vg(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,t){return Array.isArray(e)?e.includes(t):e===t}function ZM(e,t){const n=vg(t);return vg(e).forEach(o=>{nc(n,o)||n.push(o)}),n}function QM(e,t){return vg(t).filter(n=>!nc(e,n))}class YM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=gg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=mg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ft extends YM{get formDirective(){return null}get path(){return null}}class vr extends YM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class KM{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let rc=(()=>{class e extends KM{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(_(vr,2))}}static{this.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Wu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[se]})}}return e})(),pa=(()=>{class e extends KM{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(_(ft,10))}}static{this.\u0275dir=V({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Wu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[se]})}}return e})();const ga="VALID",ic="INVALID",Di="PENDING",ma="DISABLED";function Cg(e){return(sc(e)?e.validators:e)||null}function _g(e,t){return(sc(t)?t.asyncValidators:e)||null}function sc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class wg{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ga}get invalid(){return this.status===ic}get pending(){return this.status==Di}get disabled(){return this.status===ma}get enabled(){return this.status!==ma}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ZM(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ZM(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(QM(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(QM(t,this._rawAsyncValidators))}hasValidator(t){return nc(this._rawValidators,t)}hasAsyncValidator(t){return nc(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Di,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ma,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ga,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ga||this.status===Di)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ma:ga}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Di,this._hasOwnPendingAsyncValidator=!0;const n=jM(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?ma:this.errors?ic:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Di)?Di:this._anyControlsHaveStatus(ic)?ic:ga}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){sc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function K$(e){return Array.isArray(e)?gg(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function X$(e){return Array.isArray(e)?mg(e):e||null}(this._rawAsyncValidators)}}class Eg extends wg{constructor(t,n,r){super(Cg(n),_g(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function eS(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function JM(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ci=new M("CallSetDisabledState",{providedIn:"root",factory:()=>ac}),ac="always";function va(e,t,n=ac){bg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function tH(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&tS(e,t)})}(e,t),function rH(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function nH(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&tS(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function eH(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function cc(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function bg(e,t){const n=function qM(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(zM(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function WM(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(zM(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();cc(t._rawValidators,o),cc(t._rawAsyncValidators,o)}function tS(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const uH={provide:ft,useExisting:fe(()=>Zr)},ya=Promise.resolve();let Zr=(()=>{class e extends ft{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new Eg({},gg(n),mg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ya.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),va(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ya.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ya.then(()=>{const r=this._findContainer(n.path),o=new Eg({});(function nS(e,t){bg(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ya.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){ya.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function rS(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static{this.\u0275fac=function(r){return new(r||e)(_(ot,10),_(mr,10),_(Ci,8))}}static{this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&Ie("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[De.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ce([uH]),se]})}}return e})();function oS(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function iS(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const sS=class extends wg{constructor(t=null,n,r){super(Cg(n),_g(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=iS(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){oS(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){oS(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){iS(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},dH={provide:vr,useExisting:fe(()=>Da)},lS=Promise.resolve();let Da=(()=>{class e extends vr{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new sS,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Sg(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===yi?n=i:function sH(e){return Object.getPrototypeOf(e.constructor)===Wr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Mg(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){va(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){lS.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&Jo(r);lS.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function uc(e,t){return[...t.path,e]}(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(_(ft,9),_(ot,10),_(mr,10),_(xn,10),_(Us,8),_(Ci,8))}}static{this.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[De.None,"disabled","isDisabled"],model:[De.None,"ngModel","model"],options:[De.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([dH]),se,St]})}}return e})(),fc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})();const _H={provide:xn,useExisting:fe(()=>hc),multi:!0};function vS(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let hc=(()=>{class e extends Wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=vS(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function wH(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&Ie("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ce([_H]),se]})}}return e})(),yS=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(vS(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn),_(hc,9))}}static{this.\u0275dir=V({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();const EH={provide:xn,useExisting:fe(()=>Rg),multi:!0};function DS(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Rg=(()=>{class e extends Wr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&Ie("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ce([EH]),se]})}}return e})(),CS=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(DS(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(DS(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(_(At),_(Hn),_(Rg,9))}}static{this.\u0275dir=V({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();let Qr=(()=>{class e{constructor(){this._validator=tc}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):tc,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=V({type:e,features:[St]})}}return e})();const SH={provide:ot,useExisting:fe(()=>_i),multi:!0};let _i=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Jo,this.createValidator=n=>OM}enabled(n){return n}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("required",o._enabled?"":null)},inputs:{required:"required"},features:[ce([SH]),se]})}}return e})();const RH={provide:ot,useExisting:fe(()=>Og),multi:!0};let Og=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function _S(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function kM(e){return t=>function AM(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ce([RH]),se]})}}return e})();const OH={provide:ot,useExisting:fe(()=>Ca),multi:!0};let Ca=(()=>{class e extends Qr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function LM(e){if(!e)return tc;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(gr(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=We(e)))(o||e)}})()}static{this.\u0275dir=V({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[ce([OH]),se]})}}return e})(),xH=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Va({type:e})}static{this.\u0275inj=Mi({})}}return e})(),pc=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ci,useValue:n.callSetDisabledState??ac}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Va({type:e})}static{this.\u0275inj=Mi({imports:[xH]})}}return e})();function FH(e,t){if(1&e&&(b(0,"table")(1,"thead")(2,"tr")(3,"th"),A(4,"Description"),S(),b(5,"th"),A(6,"Price($)"),S()()(),b(7,"tbody")(8,"tr")(9,"td"),A(10),S(),b(11,"td"),A(12),S()(),b(13,"tr")(14,"td"),A(15),S(),b(16,"td"),A(17),S()()(),b(18,"tfoot")(19,"tr")(20,"td"),A(21,"Total"),S(),b(22,"td"),A(23),S()()()()),2&e){const n=X(2).$implicit,r=X();R(10),en(n.title),R(2),en(n.price),R(3),jt("VAT (",r.vat,"%)"),R(2),en(n.price*r.vat/100),R(6),en(r.total)}}function kH(e,t){if(1&e){const n=wn();b(0,"div")(1,"div",0)(2,"div",1),wd(),b(3,"svg",2),Ie("click",function(){return Pe(n),Fe(X(2).prev())}),b(4,"g",3),ze(5,"path",4),S()()(),Ed(),b(6,"div",5),A(7),S(),b(8,"div",1),wd(),b(9,"svg",2),Ie("click",function(){return Pe(n),Fe(X(2).next())}),b(10,"g",3),ze(11,"path",6),S()()()(),Ed(),b(12,"div",7),A(13),S(),b(14,"div",8),A(15," PER MONTH "),S(),be(16,FH,24,5,"table"),S()}if(2&e){const n=X().$implicit,r=X();R(7),en(n.title),R(6),jt("$",n.price,""),R(3),Ge(16,r.desc.vat.show?16:-1)}}function LH(e,t){1&e&&be(0,kH,17,3,"div"),2&e&&Ge(0,t.$implicit.show?0:-1)}let TS=(()=>{class e{constructor(){this.currentIndex=new Ee,this.total=0,this.index=0}ngOnInit(){let n=0,r=!1;for(let o of this.desc.tires){if(o.show){r=!0;break}n++}r?this.index=n:this.desc.tires[0].show=!0,this.total=this.desc.tires[0].price*(100+this.vat)/100}ngOnChanges(n){this.recalculate()}prev(){this.desc.tires[this.index].show=!1,this.index=(this.index-1+this.desc.tires.length)%this.desc.tires.length,this.desc.tires[this.index].show=!0,this.currentIndex.emit(this.index),this.recalculate()}next(){this.desc.tires[this.index].show=!1,this.index=(this.index+1+this.desc.tires.length)%this.desc.tires.length,this.desc.tires[this.index].show=!0,this.currentIndex.emit(this.index),this.recalculate()}recalculate(){this.total=this.desc.tires[this.index].price*(100+this.vat)/100}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-features"]],inputs:{desc:"desc",vat:"vat"},outputs:{currentIndex:"currentIndex"},standalone:!0,features:[St,Ut],decls:2,vars:0,consts:[[1,"l-tire-switcher"],[1,"svg-box"],["width","16","height","20","viewBox","0 0 6.4833 7.9377","xmlns","http://www.w3.org/2000/svg",3,"click"],["transform","translate(-93.567 -111.32)"],["d","m99.77 111.76-5.6634 3.5266 5.6579 3.5106","fill","none","stroke","#c8c8c8","stroke-linejoin","round","stroke-width","1.058"],["itemprop","name",1,"switcher-title"],["d","m93.858 111.76 5.6634 3.5266-5.6579 3.5106","fill","none","stroke","#c8c8c8","stroke-linejoin","round","stroke-width","1.058"],["itemprop","price",1,"tire-price"],["itemprop","eligibleDuration",1,"tire-period"]],template:function(r,o){1&r&&Is(0,LH,1,1,null,null,r_),2&r&&Ms(o.desc.tires)},styles:["table[_ngcontent-%COMP%]{width:100%}td[_ngcontent-%COMP%]:first-child, th[_ngcontent-%COMP%]:first-child{text-align:left;width:100%}tfoot[_ngcontent-%COMP%]{font-weight:700}"]})}}return e})();const VH=e=>({"height.px":e});function jH(e,t){if(1&e&&ze(0,"img",2),2&e){X();const n=En(1);_e("ngStyle",function gw(e,t,n,r){return mw(D(),st(),e,t,n,r)}(1,VH,n.offsetHeight))}}let _a=(()=>{class e{constructor(){this.label="",this.busy=!1}ngOnInit(){let n="btn";if(this.class)for(let r of this.class?.split(" "))n=n+" btn--"+r;this.class=n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-button"]],inputs:{class:"class",id:"id",label:"label",busy:"busy"},standalone:!0,features:[Ut],decls:4,vars:5,consts:[["btnRef",""],["type","submit",3,"disabled","ngClass"],["src","/assets/images/spinner.svg","alt","Button is busy",1,"btn-spinner",3,"ngStyle"]],template:function(r,o){1&r&&(b(0,"button",1,0),A(2),S(),be(3,jH,1,3,"img",2)),2&r&&(_e("disabled",o.busy)("ngClass",o.class),Ct("id",o.id),R(2),jt(" ",o.label,"\n"),R(),Ge(3,o.busy?3:-1))},dependencies:[vp,bb]})}}return e})();const xg=(e,t)=>({field:e,modelRef:t});function UH(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X().$implicit;R(),jt(" ",n.value.msg," ")}}function BH(e,t){1&e&&be(0,UH,2,1,"div",6),2&e&&Ge(0,t.$implicit.value.show?0:-1)}function $H(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X(2).field;R(),jt(" ",n.label," is required ")}}function HH(e,t){if(1&e&&(b(0,"div",6),A(1),S()),2&e){const n=X(2).field;R(),jt(" ",n.label," is invalid ")}}function GH(e,t){if(1&e&&(Is(0,BH,1,1,null,null,Qu),function _w(e,t){const n=Z();let r;const o=e+U;n.firstCreatePass?(r=function u1(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=wr(r.type)),a=pt(_);try{const u=Ja(!1),l=i();return Ja(u),function FF(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{pt(a)}}(2,"keyvalue"),be(3,$H,2,1,"div",6)(4,HH,2,1,"div",6)),2&e){const n=X(),o=n.modelRef;Ms(ww(2,2,n.field.errors)),R(3),Ge(3,o.hasError("required")?3:-1),R(),Ge(4,o.hasError("pattern")?4:-1)}}function zH(e,t){1&e&&be(0,GH,5,4),2&e&&(X(),Ge(0,En(3).submitted?0:-1))}function qH(e,t){if(1&e){const n=wn();Ss(0,7),b(1,"input",8,2),nn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),Ie("ngModelChange",function(o){return Pe(n),Fe(X(2).$implicit.onChange(o))}),S()}if(2&e){const n=En(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",En(1))("ngTemplateOutletContext",tl(12,xg,r,n)),R(),_e("type",r.attr.type)("name",r.attr.name)("id",r.attr.id)("required",r.attr.required)("ngClass",r.attr.ngClass)("pattern",r.attr.pattern),tn("ngModel",r.value),Ct("autocomplete",r.attr.autocomplete)("title",r.attr.title)("placeholder",r.attr.placeholder)}}function WH(e,t){if(1&e&&(b(0,"option",10),A(1),S()),2&e){const n=t.$implicit;_e("ngValue",n.value),R(),jt(" ",n.label," ")}}function ZH(e,t){if(1&e){const n=wn();Ss(0,7),b(1,"select",9,2),Ie("ngModelChange",function(o){return Pe(n),Fe(X(2).$implicit.onChange(o))}),nn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),Is(3,WH,2,2,"option",10,Qu),S()}if(2&e){const n=En(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",En(1))("ngTemplateOutletContext",tl(7,xg,r,n)),R(),_e("name",r.attr.name)("required",r.attr.required)("ngClass",r.attr.ngClass),tn("ngModel",r.value),Ct("id",r.attr.id),R(2),Ms(r.options)}}function QH(e,t){if(1&e){const n=wn();Ss(0,7),b(1,"textarea",11,2),nn("ngModelChange",function(o){Pe(n);const i=X(2).$implicit;return bn(i.value,o)||(i.value=o),Fe(o)}),A(3," "),S()}if(2&e){const n=En(2),r=X(2).$implicit;X(),_e("ngTemplateOutlet",En(1))("ngTemplateOutletContext",tl(7,xg,r,n)),R(),_e("name",r.attr.name)("required",!!r.attr.required)("ngClass",r.attr.ngClass),tn("ngModel",r.value),Ct("id",r.attr.id)}}function YH(e,t){if(1&e&&(b(0,"label"),A(1),be(2,qH,3,15)(3,ZH,5,10)(4,QH,4,10),S()),2&e){let n;const r=X().$implicit;R(),jt(" ",r.label,": "),R(),Ge(2,"input"===(n=r.type)?2:"select"===n?3:"textarea"===n?4:-1)}}function KH(e,t){1&e&&be(0,YH,5,2,"label"),2&e&&Ge(0,t.$implicit.show?0:-1)}function XH(e,t){1&e&&ze(0,"p",5),2&e&&_e("innerHTML",X().formDes.footnote,gy)}let AS=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-form"]],inputs:{formDes:"formDes"},standalone:!0,features:[Ut],decls:8,vars:7,consts:[["messages",""],["formRef","ngForm"],["modelRef","ngModel"],[3,"ngSubmit","ngClass"],[3,"label","id","busy"],[1,"footnote",3,"innerHTML"],[1,"footnote-error"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngModelChange","type","name","id","required","ngClass","pattern","ngModel"],[2,"width","100%",3,"ngModelChange","name","required","ngClass","ngModel"],[3,"ngValue"],[3,"ngModelChange","name","required","ngClass","ngModel"]],template:function(r,o){if(1&r){const i=wn();be(0,zH,1,1,"ng-template",null,0,Ew),b(2,"form",3,1),Ie("ngSubmit",function(){Pe(i);const a=En(3);return Fe(o.formDes.onSubmit(a))}),Is(4,KH,1,1,null,null,Qu),ze(6,"app-button",4),be(7,XH,1,1,"p",5),S()}2&r&&(R(2),_e("ngClass",o.formDes.ngClass),R(2),Ms(o.formDes.fields),R(2),Wo(o.formDes.button.ngClass),_e("label",o.formDes.button.label)("id",o.formDes.button.id)("busy",o.formDes.submitted),R(),Ge(7,o.formDes.footnote?7:-1))},dependencies:[pc,fc,yS,CS,yi,hc,rc,pa,_i,Ca,Da,Zr,vp,Ib,_a,Mb],styles:[".footnote[_ngcontent-%COMP%]{font-size:.7em;margin:.75em 0 1em}.footnote-error[_ngcontent-%COMP%]{font-size:.7em;color:red;margin:.5em 0}.inline[_ngcontent-%COMP%]{background-color:unset;padding:unset;margin:unset}"]})}}return e})();const JH=["cardErrorEl"];function e3(e,t){1&e&&ze(0,"app-form",6),2&e&&_e("formDes",X().intentionForm.formDescription)}function t3(e,t){1&e&&ze(0,"app-form",6),2&e&&_e("formDes",X().regionForm.formDescription)}class n3{constructor(t){this.onSubmitEvent=t,this.usernameField=new qr({label:"Username",attr:new vi({name:"username",id:"username",required:!0,title:"Lowercase alphanumeric characters: min 4, max 8",pattern:"[a-z0-9]{4,8}"})}),this.passwordField=new qr({label:"Password",attr:new IM({name:"password",id:"password",autocomplete:"new-password"})}),this.confirmPasswordField=new qr({label:"Confirm Password",attr:new IM({name:"confirmPassword",id:"confirmPassword",autocomplete:"new-password"}),errors:{mismatch:{msg:"Passwords do not match",show:!1}}}),this.emailField=new qr({label:"Email",attr:new j$({name:"email",id:"email"})}),this.formDescription={ngClass:"form-2-col",button:{ngClass:"primary large",label:"Create Account"},onSubmit:n=>{this.onSubmit(n)},fields:[this.usernameField,this.passwordField,this.confirmPasswordField,this.emailField],footnote:'By creating an account you agree to our Terms and conditions'},this.show=!1}onSubmit(t){if(t.valid){if(this.passwordField.value!=this.confirmPasswordField.value)return void(this.confirmPasswordField.errors.mismatch.show=!0);this.onSubmitEvent(t)}}}class r3{constructor(t,n){this.onSubmitEvent=t,this.onBuyerChangeEvent=n,this.buyer=new MM({label:"Customer",attr:new ec({name:"buyer",id:"buyer",required:!0}),options:[{value:"individual",label:"Private Individual"},{value:"enterprise",label:"Enterprise"}]}),this.region=new MM({label:"Region",show:!1,attr:new ec({name:"region",id:"region",required:!0}),options:[{value:"eu",label:"EU"},{value:"other",label:"Other"}]}),this.enterpriseName=new qr({label:"Enterprise Name",show:!1,attr:new vi({name:"enterprise",required:!0})}),this.website=new qr({label:"Website",show:!1,attr:new vi({name:"website",required:!0})}),this.vat=new qr({label:"VAT Registration Number",show:!1,attr:new vi({name:"vat",required:!0}),errors:{required:{msg:"This field is required",show:!1}}}),this.formDescription={ngClass:"form-2-col",fields:[this.buyer,this.region,this.enterpriseName,this.website,this.vat],onSubmit:r=>{this.onSubmit(r)},button:{ngClass:"primary large",label:"To Payment"}},this.show=!1,this.buyer.onChange=r=>{this.region.show=!1,this.enterpriseName.show=!1,this.website.show=!1,this.vat.show=!1,"enterprise"==r?(this.region.show=!0,this.region.attr.required=!0,this.enterpriseName.show=!0,this.enterpriseName.attr.required=!0,this.website.show=!0,this.website.attr.required=!0,this.vat.show=!0,this.vat.attr.required=!0,this.onBuyerChangeEvent("enterprise")):(this.region.show=!1,this.region.attr.required=!1,this.enterpriseName.show=!1,this.enterpriseName.attr.required=!1,this.website.show=!1,this.website.attr.required=!1,this.vat.show=!1,this.vat.attr.required=!1,this.onBuyerChangeEvent("individual"))}}onSubmit(t){t.valid&&this.onSubmitEvent(t)}}class o3{constructor(t){this.cardErrorEl=t,this.return_url="",this.error="",this.stripe=Stripe("pk_live_eEfW8XjO4oZUPRFaYASLCWqn")}initStripPaymentEl(t,n){this.return_url="https://www.djongomapper.com/djongocs"+hi+ig+"?userName="+n;let o=this.stripe.elements({appearance:{theme:"stripe"},clientSecret:t});this.elements=o;const s=o.create("payment",{layout:"tabs"});this.paymentEl=s,s.mount("#payment-element")}onPayment(){this.stripe.confirmSetup({elements:this.elements,confirmParams:{return_url:this.return_url}}).then(t=>{this.error=t.message})}initStripeCardEl(){let t=this.stripe.elements(),n=this.card=t.create("card");n.mount("#card-element"),n.on("change",r=>{let o=this.cardErrorEl.nativeElement;r.error?(o.hidden=!1,o.textContent=r.error.message):(o.textContent="",o.hidden=!0)})}onCardPayment(t){this.stripe.confirmCardSetup(t,{payment_method:{card:this.card},return_url:this.return_url}).then(n=>{n.error&&(this.error=n.error.message)})}}let i3=(()=>{class e{constructor(n,r){this.backend=n,this.route=r,this.intentionForm=new n3(o=>{this.onIntention(o)}),this.regionForm=new r3(o=>{this.onRegion(o)},o=>{this.onBuyerChange(o)}),this.intentionResponse={status:ag.ERROR},this.featureVat=0,this.featureDesc={vat:{show:!1},tires:[{title:"Latest Updates",price:15,show:!1},{title:"Extended Features",price:55,show:!1}]},this.currentTireIndex=0,this.stripeForm={show:!1,button:{show:!0}},this.stripe=new o3(this.cardErrorEl)}ngOnInit(){this.intentionForm.show=!0,this.stripeForm.show=!1,this.currentTireIndex=Number(this.route.snapshot.queryParams.tire)|this.currentTireIndex,this.featureDesc.tires[this.currentTireIndex].show=!0}onPayment(){this.stripe.onPayment()}onTireChange(n){this.currentTireIndex=n}onRegion(n){this.regionForm.formDescription.submitted=!0;const r=hi+"intention/";let o={username:this.intentionForm.usernameField.value,email:this.intentionForm.emailField.value,password:this.intentionForm.passwordField.value,tire:sg.LATEST_UPDATES,address:{buyer:this.regionForm.buyer.value}};1==this.currentTireIndex&&(o.tire=sg.EXTENDED_FEATURES),"enterprise"==this.regionForm.buyer.value&&(o.address.region=this.regionForm.region.value,o.address.enterprise=this.regionForm.enterpriseName.value,o.address.website=this.regionForm.website.value,o.address.vat=this.regionForm.vat.value),this.backend.post(r,o).subscribe({next:i=>{this.intentionResponse=i,i.status==ag.OK&&this.stripe.initStripPaymentEl(i.clientSecret,o.username),this.regionForm.show=!1,this.stripeForm.show=!0}})}onIntention(n){this.intentionForm.show=!1,this.regionForm.show=!0}onBuyerChange(n){this.featureDesc.vat.show=!0,this.featureVat="enterprise"==n?0:25}static{this.\u0275fac=function(r){return new(r||e)(_(un),_(fr))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-create-account"]],viewQuery:function(r,o){if(1&r&&function Q_(e,t,n){VD(e,t,n)}(JH,5),2&r){let i;(function Mh(e){const t=D(),n=Z(),r=Dd();Qa(r+1);const o=Yf(n,r);if(e.dirty&&function yT(e){return!(4&~e[N])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=BD(t,r);e.reset(i,Tv),e.notifyOnChanges()}return!0}return!1})(i=Sh())&&(o.cardErrorEl=i.first)}},standalone:!0,features:[ce(hg.createAccount),Ut],decls:22,vars:11,consts:[["cardErrorEl",""],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],[1,"l-tire","l-tire-full"],[1,"tire-col","tire-2-col-full"],[3,"formDes"],[3,"hidden"],["id","payment-form",1,"form-2-col",3,"ngSubmit"],["id","payment-element",1,"card"],["role","alert",1,"card-err",3,"hidden"],[3,"label","busy"],[1,"footnote"],["href","https://stripe.com/en-se/privacy"],[1,"tire-col","tire-content","tire-2-col-full"],[3,"currentIndex","desc","vat"]],template:function(r,o){if(1&r){const i=wn();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"Create Account "),S(),b(4,"div",4)(5,"div",5),be(6,e3,1,1,"app-form",6)(7,t3,1,1,"app-form",6),b(8,"div",7)(9,"form",8),Ie("ngSubmit",function(){return Pe(i),Fe(o.onPayment())}),ze(10,"div",9),b(11,"div",10,0),A(13),S(),ze(14,"app-button",11),b(15,"p",12),A(16," By confirming payment you agree to Stripes "),b(17,"a",13),A(18,"Privacy Policy"),S(),A(19," of collecting your card information. Card numbers are encrypted with AES-256. "),S()()()(),b(20,"div",14)(21,"app-features",15),Ie("currentIndex",function(a){return Pe(i),Fe(o.onTireChange(a))}),S()()()()()}2&r&&(R(6),Ge(6,o.intentionForm.show?6:-1),R(),Ge(7,o.regionForm.show?7:-1),R(),_e("hidden",!o.stripeForm.show),R(3),_e("hidden",!o.stripe.error),R(2),en(o.stripe.error),R(),Wo("success large"),_e("label","Confirm")("busy",!o.stripeForm.button.show),R(7),_e("desc",o.featureDesc)("vat",o.featureVat))},dependencies:[AS,pc,fc,pa,Zr,_a,TS],styles:[".h1-message[_ngcontent-%COMP%]{margin:3em auto 0}.card[_ngcontent-%COMP%]{background-color:#fff;padding:10px;margin-bottom:.75em}.card-err[_ngcontent-%COMP%]{margin:.5em 0;padding:1em;color:#3d4144;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica Neue,Lucida Grande,Arial,sans-serif;font-size:.75em!important;text-indent:initial;background-color:#f7e5cd;border-radius:4px;box-shadow:0 1px 1px #d67f0540}.message-placeholder[_ngcontent-%COMP%]{height:4em}.footnote[_ngcontent-%COMP%]{font-size:.7em;margin:.75em 0 1em}"]})}}return e})();var Pg=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(Pg||{}),Fg=function(e){return e.OK="ok",e.LOGIN_REQUIRED="login_required",e.ERROR="error",e}(Fg||{});function u3(e,t){if(1&e&&(b(0,"td"),A(1),S()),2&e){const n=X(2);R(),Th(" ssh ",null==n.dashboardResponse?null:n.dashboardResponse.username,"@api.djongomapper.com -p ",null==n.dashboardResponse?null:n.dashboardResponse.sshPort," ")}}function l3(e,t){1&e&&(b(0,"td"),A(1,""),S())}function c3(e,t){if(1&e&&(b(0,"p"),A(1),S()),2&e){const n=X(2);R(),en(n.token)}}function d3(e,t){if(1&e){const n=wn();b(0,"table")(1,"thead")(2,"tr")(3,"th"),A(4,"Property"),S(),b(5,"th"),A(6,"Value"),S()()(),b(7,"tbody")(8,"tr")(9,"td"),A(10,"Username"),S(),b(11,"td"),A(12),S()(),b(13,"tr")(14,"td"),A(15,"Base URL"),S(),b(16,"td"),A(17),S()(),b(18,"tr")(19,"td"),A(20,"Status"),S(),b(21,"td"),A(22),S()(),b(23,"tr")(24,"td"),A(25,"SSH Command"),S(),be(26,u3,2,2,"td")(27,l3,2,0),S(),b(28,"tr")(29,"td"),A(30,"SSH Public Key"),S(),b(31,"td"),ze(32,"app-form",3),S()(),b(33,"tr")(34,"td"),A(35,"PyPi Access Token"),S(),b(36,"td"),be(37,c3,2,1,"p"),b(38,"app-button",4),Ie("click",function(){return Pe(n),Fe(X().onGenerateToken())}),S()()()()()}if(2&e){const n=X();R(12),en(null==n.dashboardResponse?null:n.dashboardResponse.username),R(5),jt("https://api.djongomapper.com/",null==n.dashboardResponse?null:n.dashboardResponse.username,""),R(5),en(null==n.dashboardResponse?null:n.dashboardResponse.state),R(4),Ge(26,null!=n.dashboardResponse&&n.dashboardResponse.sshPort?26:27),R(6),_e("formDes",n.sshForm.formDescription),R(5),Ge(37,n.token?37:-1),R(),Wo("primary small"),_e("label","Generate Token")("id","generate-token")("busy",n.tokenRequested)}}function f3(e,t){1&e&&ze(0,"img",5)}class h3{constructor(t){this.onSubmitEvent=t,this.sshField=new U$({label:"New key",attr:new ec({name:"ssh-key",required:!0}),errors:{other:{msg:"Oops something went wrong. We are working to fix this. Please contact: support@doableware.com",show:!1}}}),this.formDescription={ngClass:"inline",button:{ngClass:"primary small",label:"Update",id:"update-ssh"},onSubmit:n=>{this.onSubmitEvent(n)},fields:[this.sshField]}}}let p3=(()=>{class e{constructor(n,r){this.backend=n,this.router=r,this.show=!1,this.sshForm=new h3(o=>this.onUpdateSSH()),this.tokenRequested=!1,this.token=""}ngOnInit(){this.backend.get(pi).subscribe({next:n=>{n.status===KI.LOGIN_REQUIRED?this.router.navigateByUrl(gi.slice(0,-1)):(this.show=!0,this.dashboardResponse=n)},error:n=>{this.router.navigateByUrl(gi.slice(0,-1))}})}onUpdateSSH(){this.sshForm.formDescription.submitted=!0,this.backend.post(pi+"update-sshkey/",{sshKey:this.sshForm.sshField.value}).subscribe(r=>{r.status===Pg.LOGIN_REQUIRED?this.router.navigateByUrl(gi.slice(0,-1)):r.status===Pg.ERROR&&(this.sshForm.sshField.errors.other.show=!0),this.sshForm.formDescription.submitted=!1})}onGenerateToken(){this.token||(this.tokenRequested=!0,this.backend.get(pi+"generate-token/").subscribe(n=>{if(n.status===Fg.LOGIN_REQUIRED)this.router.navigateByUrl(gi.slice(0,-1));else if(n.status===Fg.ERROR)return;this.token=n.token,this.tokenRequested=!1}))}static{this.\u0275fac=function(r){return new(r||e)(_(un),_(Ht))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-dashboard"]],standalone:!0,features:[ce(hg.dashboard),Ut],decls:5,vars:1,consts:[["id","main","role","main"],[1,"splash","page__content"],[2,"display","flex"],[3,"formDes"],[3,"click","label","id","busy"],["src","/assets/images/spinner.svg","alt","Button is busy",2,"height","100px"]],template:function(r,o){1&r&&(b(0,"div",0)(1,"div",1)(2,"div",2),be(3,d3,39,11,"table")(4,f3,1,0),S()()()),2&r&&(R(3),Ge(3,o.show?3:4))},dependencies:[AS,_a],styles:["td[_ngcontent-%COMP%]:first-child, th[_ngcontent-%COMP%]:first-child{padding-left:1em}table[_ngcontent-%COMP%]{margin:3em auto 1em;display:table}"]})}}return e})();function g3(e,t){1&e&&(b(0,"div",10)(1,"div",13)(2,"p"),A(3,"Username or Password is incorrect."),S(),b(4,"p"),A(5,"Do not have an endpoint yet? "),b(6,"a",14),A(7,"Create an endpoint."),S()()()())}let m3=(()=>{class e{constructor(n,r){this.backend=n,this.router=r,this.submitted=!1,this.show={loginFail:!1,buttonSpinner:!1},this.formData={userName:"",password:""}}onSubmit(){this.submitted=!0,this.show.buttonSpinner=!0,this.backend.postForm(gi,this.formData).subscribe(n=>{this.show.buttonSpinner=!1,n.status===XI.OK?this.router.navigateByUrl(pi.slice(0,-1)):(this.show.loginFail=!0,this.submitted=!1)})}static{this.\u0275fac=function(r){return new(r||e)(_(un),_(Ht))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-login"]],standalone:!0,features:[Ut],decls:20,vars:7,consts:[["formRef","ngForm"],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],[1,"l-tire"],[1,"tire-2-col"],[1,"form-2-col",3,"ngSubmit"],["type","text","name","userName","required","","autocomplete","username","title","Alphanumeric characters: min 4, max 8","pattern","[a-z0-9]{4,8}",3,"ngModelChange","ngModel"],["type","password","name","password","required","","autocomplete","new-password",3,"ngModelChange","ngModel"],[3,"label","busy"],[1,"text-center"],[1,"tire-2-col","tire-distinct"],["type","button","routerLink","/create-account",1,"btn","btn--primary","btn--large","align-left"],[1,"message","notice--warning"],["href","/djongocs/create-account/"]],template:function(r,o){if(1&r){const i=wn();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"MongoDB Django Hosting Server"),S(),b(4,"div",4)(5,"div",5)(6,"form",6,0),Ie("ngSubmit",function(){return Pe(i),Fe(o.onSubmit())}),b(8,"label"),A(9,"Username: "),b(10,"input",7),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.userName,a)||(o.formData.userName=a),Fe(a)}),S()(),b(11,"label"),A(12,"Password: "),b(13,"input",8),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.password,a)||(o.formData.password=a),Fe(a)}),S()(),ze(14,"app-button",9),S(),be(15,g3,8,0,"div",10),S(),b(16,"div",11),ze(17,"app-features"),b(18,"button",12),A(19," Create Account "),S()()()()()}2&r&&(R(10),tn("ngModel",o.formData.userName),R(3),tn("ngModel",o.formData.password),R(),Wo("primary large"),_e("label","Login")("busy",o.submitted),R(),Ge(15,o.show.loginFail?15:-1))},dependencies:[pc,fc,yi,rc,pa,_i,Ca,Da,Zr,_a,TS,Zl]})}}return e})(),v3=(()=>{class e{constructor(){}ngOnInit(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-not-found"]],standalone:!0,features:[Ut],decls:2,vars:0,consts:[[1,"h1-title"]],template:function(r,o){1&r&&(b(0,"h1",0),A(1,"Oops! The page you are looking for does not exist"),S())}})}}return e})();function y3(e,t){1&e&&(b(0,"div",10)(1,"div",11)(2,"p")(3,"strong"),A(4,"Thank you!"),S(),A(5," Message received. We will get back soon."),S()()())}let D3=(()=>{class e{constructor(n){this.backend=n,this.formData={name:"",organisation:"",email:"",message:""},this.submitted=!1,this.show={messageReceived:!1}}ngOnInit(){}onSubmit(){this.submitted=!0,this.backend.get(JI,this.formData).subscribe(n=>{n.status==eM.OK&&(this.show.messageReceived=!0),console.log(n.status)},n=>{})}static{this.\u0275fac=function(r){return new(r||e)(_(un))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-contact-us"]],standalone:!0,features:[ce(hg.contactUs),Ut],decls:20,vars:9,consts:[["formRef","ngForm"],["id","main","role","main"],[1,"splash","page__content"],[1,"h1-title"],["ngNativeValidate","",1,"form-2-col",3,"ngSubmit"],["type","text","name","name","required","",3,"ngModelChange","ngModel"],["type","text","name","organisation","required","",3,"ngModelChange","ngModel"],["type","email","name","email","placeholder","name@org.com","required","","autocomplete","email","pattern","\\w+@\\w+\\.\\w+",3,"ngModelChange","ngModel"],["name","message","rows","4","required","","maxlength","10000",3,"ngModelChange","ngModel"],[3,"label","busy"],[1,"text-center"],[1,"message","notice--success"]],template:function(r,o){if(1&r){const i=wn();b(0,"div",1)(1,"div",2)(2,"h1",3),A(3,"Contact Us"),S(),b(4,"form",4,0),Ie("ngSubmit",function(){return Pe(i),Fe(o.onSubmit())}),b(6,"label"),A(7,"Name: "),b(8,"input",5),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.name,a)||(o.formData.name=a),Fe(a)}),S()(),b(9,"label"),A(10,"Organisation: "),b(11,"input",6),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.organisation,a)||(o.formData.organisation=a),Fe(a)}),S()(),b(12,"label"),A(13,"Email: "),b(14,"input",7),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.email,a)||(o.formData.email=a),Fe(a)}),S()(),b(15,"label"),A(16,"Message: "),b(17,"textarea",8),nn("ngModelChange",function(a){return Pe(i),bn(o.formData.message,a)||(o.formData.message=a),Fe(a)}),S()(),ze(18,"app-button",9),be(19,y3,6,0,"div",10),S()()()}2&r&&(R(8),tn("ngModel",o.formData.name),R(3),tn("ngModel",o.formData.organisation),R(3),tn("ngModel",o.formData.email),R(3),tn("ngModel",o.formData.message),R(),Wo("primary large"),_e("label","Send")("busy",o.submitted),R(),Ge(19,o.show.messageReceived?19:-1))},dependencies:[pc,yi,rc,pa,_i,Og,Ca,Da,Zr,_a]})}}return e})();var NS=function(e){return e.OK="ok",e.STRIPE_REJ="stripe_rej",e.ERROR="error",e}(NS||{});function _3(e,t){1&e&&(b(0,"h1",0),A(1,"OOPS!"),S(),b(2,"p"),A(3,"We encountered a problem while charging your card. You have not been charged! We are working with the payment vendor to fix this. Please contact support@doableware.com for further support"),S())}let w3=(()=>{class e{constructor(n,r,o){this.backend=n,this.route=r,this.router=o,this.show=!1,this.userName="",this.pollCount=3}ngOnInit(){const n=hi+"payment/";let o={username:this.userName=this.route.snapshot.queryParams.userName};this.backend.get(n,o).subscribe({next:i=>{i.status===NS.OK?this.checkStatus():alert("Request failed with status: "+i.status)}})}checkStatus(){const n=hi+ig,r={username:this.userName};setTimeout(()=>{0!=this.pollCount?(this.pollCount--,this.backend.get(n,r).subscribe({next:o=>{o.status==YI.SETUP&&this.router.navigateByUrl(pi.slice(0,-1))}}),this.checkStatus()):this.show=!0},5e3)}static{this.\u0275fac=function(r){return new(r||e)(_(un),_(fr),_(Ht))}}static{this.\u0275cmp=Lt({type:e,selectors:[["app-create-access"]],standalone:!0,features:[Ut],decls:6,vars:1,consts:[[1,"h1-title"],["src","/assets/images/spinner.svg","alt","Page is busy"]],template:function(r,o){1&r&&(b(0,"h1",0),A(1,"DjongoCS Instance"),S(),b(2,"p"),A(3,"Your DjongoCS instance is being created. Please wait..."),S(),ze(4,"img",1),be(5,_3,4,0)),2&r&&(R(5),Ge(5,o.show?5:-1))}})}}return e})();(function PU(e,t){return Xk({rootComponent:e,...Qb(t)})})(n$,{providers:[[function XB(e,...t){return io([{provide:ql,multi:!0,useValue:e},[],{provide:fr,useFactory:zI,deps:[Ht]},{provide:$h,multi:!0,useFactory:qI},t.map(n=>n.\u0275providers)])}([{path:hi.slice(0,-1),title:"DjongoCS - Create Account",component:i3},{path:hi+ig.slice(0,-1),title:"DjongoCS - Create Account",component:w3},{path:pi.slice(0,-1),title:"DjongoCS - Dashboard",component:p3},{path:gi.slice(0,-1),title:"DjongoCS - Login",component:m3},{path:JI.slice(0,-1),title:"DjongoCS - Contact Us",component:D3},{path:"**",component:v3}])],function O$(...e){const t=[iM,fM,cM,{provide:Ql,useExisting:cM},{provide:Yl,useExisting:fM},{provide:ha,useValue:R$,multi:!0},{provide:fg,useValue:!0},{provide:gM,useClass:N$}];for(const n of e)t.push(...n.\u0275providers);return io(t)}(function x$(){return function zr(e,t){return{\u0275kind:e,\u0275providers:t}}(pr.Fetch,[cg,{provide:Yl,useExisting:cg},{provide:lM,useExisting:cg}])}())]}).catch(e=>console.error(e))}},wi=>{wi(wi.s=970)}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index e38853c8..5f5d960b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -235,7 +235,7 @@

DjongoCS Containers

- Deploy a frustration free Django MongoDB instance on GCP + Preconfigured Django MongoDB Djongo instances on GCP

@@ -243,12 +243,12 @@

- Deploy a preset Ubuntu webserver instance running MongoDB and Django with the latest version -of Djongo. + Focus on developing the models and views of you app. Let Djongo cloud services take care of +configuration and deployment. Manage access keys, modify subscription plans, +and request support using the dashboard.

- Focus on developing the models.py and views.py. Let djongo cloud services automate the rest. -Manage access keys, modify subscription plans, and request support using the dashboard. + Alternatively, download the latest version of djongo from the private pypi server for local development.