From 6e9f824eb9d12404b4a414fc039285dde08c9595 Mon Sep 17 00:00:00 2001 From: danielpalme Date: Sun, 15 May 2022 19:59:26 +0200 Subject: [PATCH] Update domain --- README.md | 2 +- docs/main.3b074950b0be8f8e.js | 2 +- src/AzureDevopsTask/README.md | 2 +- src/AzureDevopsTask/ReportGenerator/task.json | 2 +- src/ReportGenerator.Core/Properties/Help.Designer.cs | 2 +- src/ReportGenerator.Core/Properties/Help.resx | 2 +- .../Reporting/Builders/Rendering/HtmlRenderer.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c089a1e7..d080c119 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Explanations: Values: Verbose, Info, Warning, Error, Off Title: Optional title. Tag: Optional tag or build version. - License: Optional license for PRO version. Get your license here: https://danielpalme.github.io/ReportGenerator/pro + License: Optional license for PRO version. Get your license here: https://reportgenerator.io/pro Default values: -reporttypes:Html diff --git a/docs/main.3b074950b0be8f8e.js b/docs/main.3b074950b0be8f8e.js index c4926a7f..327b9e1b 100644 --- a/docs/main.3b074950b0be8f8e.js +++ b/docs/main.3b074950b0be8f8e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{245:()=>{function ae(e){return"function"==typeof e}function fo(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 Ti=fo(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 ho(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class vt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(ae(r))try{r()}catch(i){t=i instanceof Ti?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{ef(i)}catch(s){t=null!=t?t:[],s instanceof Ti?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ti(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ef(t);else{if(t instanceof vt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&ho(n,t)}remove(t){const{_teardowns:n}=this;n&&ho(n,t),t instanceof vt&&t._removeParent(this)}}vt.EMPTY=(()=>{const e=new vt;return e.closed=!0,e})();const Yd=vt.EMPTY;function Xd(e){return e instanceof vt||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function ef(e){ae(e)?e():e.unsubscribe()}const zn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},xi={setTimeout(...e){const{delegate:t}=xi;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=xi;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function tf(e){xi.setTimeout(()=>{const{onUnhandledError:t}=zn;if(!t)throw e;t(e)})}function nf(){}const _D=Fa("C",void 0,void 0);function Fa(e,t,n){return{kind:e,value:t,error:n}}let Wn=null;function Ri(e){if(zn.useDeprecatedSynchronousErrorHandling){const t=!Wn;if(t&&(Wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Wn;if(Wn=null,n)throw r}}else e()}class Na extends vt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xd(t)&&t.add(this)):this.destination=SD}static create(t,n,r){return new Fi(t,n,r)}next(t){this.isStopped?Pa(function DD(e){return Fa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Pa(function CD(e){return Fa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Pa(_D,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 wD=Function.prototype.bind;function Oa(e,t){return wD.call(e,t)}class ED{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ni(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ni(r)}else Ni(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ni(n)}}}class Fi extends Na{constructor(t,n,r){let o;if(super(),ae(t)||!t)o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let i;this&&zn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Oa(t.next,i),error:t.error&&Oa(t.error,i),complete:t.complete&&Oa(t.complete,i)}):o=t}this.destination=new ED(o)}}function Ni(e){zn.useDeprecatedSynchronousErrorHandling?function bD(e){zn.useDeprecatedSynchronousErrorHandling&&Wn&&(Wn.errorThrown=!0,Wn.error=e)}(e):tf(e)}function Pa(e,t){const{onStoppedNotification:n}=zn;n&&xi.setTimeout(()=>n(e,t))}const SD={closed:!0,next:nf,error:function MD(e){throw e},complete:nf},ka="function"==typeof Symbol&&Symbol.observable||"@@observable";function Qn(e){return e}let _e=(()=>{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 ID(e){return e&&e instanceof Na||function AD(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}(e)&&Xd(e)}(n)?n:new Fi(n,r,o);return Ri(()=>{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=of(r))((o,i)=>{const s=new Fi({next:a=>{try{n(a)}catch(l){i(l),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)}[ka](){return this}pipe(...n){return function rf(e){return 0===e.length?Qn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=of(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function of(e){var t;return null!==(t=null!=e?e:zn.Promise)&&void 0!==t?t:Promise}const TD=fo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ln=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new sf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new TD}next(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){Ri(()=>{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(){Ri(()=>{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=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?Yd:(i.push(n),new vt(()=>ho(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new sf(t,n),e})();class sf extends ln{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:Yd}}function af(e){return ae(null==e?void 0:e.lift)}function Ve(e){return t=>{if(af(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 Oe(e,t,n,r,o){return new xD(e,t,n,r,o)}class xD extends Na{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}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 ee(e,t){return Ve((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{r.next(e.call(t,i,o++))}))})}function Zn(e){return this instanceof Zn?(this.v=e,this):new Zn(e)}function ND(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(y,_){i.push([f,h,y,_])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Zn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(y){d(i[0][3],y)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function OD(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 cf(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,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const df=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ff(e){return ae(null==e?void 0:e.then)}function hf(e){return ae(e[ka])}function pf(e){return Symbol.asyncIterator&&ae(null==e?void 0:e[Symbol.asyncIterator])}function gf(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 mf=function kD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function yf(e){return ae(null==e?void 0:e[mf])}function vf(e){return ND(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Zn(n.read());if(o)return yield Zn(void 0);yield yield Zn(r)}}finally{n.releaseLock()}})}function _f(e){return ae(null==e?void 0:e.getReader)}function qt(e){if(e instanceof _e)return e;if(null!=e){if(hf(e))return function VD(e){return new _e(t=>{const n=e[ka]();if(ae(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(df(e))return function LD(e){return new _e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,tf)})}(e);if(pf(e))return Cf(e);if(yf(e))return function BD(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(_f(e))return function jD(e){return Cf(vf(e))}(e)}throw gf(e)}function Cf(e){return new _e(t=>{(function UD(e,t){var n,r,o,i;return function RD(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=OD(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 un(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 Ie(e,t,n=1/0){return ae(t)?Ie((r,o)=>ee((i,s)=>t(r,i,o,s))(qt(e(r,o))),n):("number"==typeof t&&(n=t),Ve((r,o)=>function $D(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=_=>u{i&&t.next(_),u++;let w=!1;qt(n(_,c++)).subscribe(Oe(t,b=>{null==o||o(b),i?h(b):t.next(b)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(b)):y(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(Oe(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}function po(e=1/0){return Ie(Qn,e)}const cn=new _e(e=>e.complete());function La(e){return e[e.length-1]}function Df(e){return ae(La(e))?e.pop():void 0}function go(e){return function qD(e){return e&&ae(e.schedule)}(La(e))?e.pop():void 0}function bf(e,t=0){return Ve((n,r)=>{n.subscribe(Oe(r,o=>un(r,e,()=>r.next(o),t),()=>un(r,e,()=>r.complete(),t),o=>un(r,e,()=>r.error(o),t)))})}function wf(e,t=0){return Ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ef(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{un(n,t,()=>{const r=e[Symbol.asyncIterator]();un(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pe(e,t){return t?function YD(e,t){if(null!=e){if(hf(e))return function WD(e,t){return qt(e).pipe(wf(t),bf(t))}(e,t);if(df(e))return function ZD(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ff(e))return function QD(e,t){return qt(e).pipe(wf(t),bf(t))}(e,t);if(pf(e))return Ef(e,t);if(yf(e))return function JD(e,t){return new _e(n=>{let r;return un(n,t,()=>{r=e[mf](),un(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)}),()=>ae(null==r?void 0:r.return)&&r.return()})}(e,t);if(_f(e))return function KD(e,t){return Ef(vf(e),t)}(e,t)}throw gf(e)}(e,t):qt(e)}function Oi(e){return e<=0?()=>cn:Ve((t,n)=>{let r=0;t.subscribe(Oe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ha(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Oi(1)).subscribe(()=>e())}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 Ba(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 ja(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const tb=oe({__forward_ref__:oe});function le(e){return e.__forward_ref__=le,e.toString=function(){return te(this())},e}function U(e){return Mf(e)?e():e}function Mf(e){return"function"==typeof e&&e.hasOwnProperty(tb)&&e.__forward_ref__===le}class J extends Error{constructor(t,n){super(function Ua(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}function Pi(e,t){const n=t?` in ${t}`:"";throw new J(-201,`No provider for ${Qe(e)} found${n}`)}function at(e,t){null==e&&function de(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function $a(e){return Sf(e,ki)||Sf(e,If)}function Sf(e,t){return e.hasOwnProperty(t)?e[t]:null}function Af(e){return e&&(e.hasOwnProperty(Ga)||e.hasOwnProperty(lb))?e[Ga]:null}const ki=oe({\u0275prov:oe}),Ga=oe({\u0275inj:oe}),If=oe({ngInjectableDef:oe}),lb=oe({ngInjectorDef:oe});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let qa;function An(e){const t=qa;return qa=e,t}function Tf(e,t,n){const r=$a(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void Pi(te(e),"Injector")}function In(e){return{toString:e}.toString()}var xt=(()=>((xt=xt||{})[xt.OnPush=0]="OnPush",xt[xt.Default=1]="Default",xt))(),zt=(()=>{return(e=zt||(zt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",zt;var e})();const cb="undefined"!=typeof globalThis&&globalThis,db="undefined"!=typeof window&&window,fb="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,re=cb||"undefined"!=typeof global&&global||db||fb,mr={},ie=[],Vi=oe({\u0275cmp:oe}),za=oe({\u0275dir:oe}),Wa=oe({\u0275pipe:oe}),xf=oe({\u0275mod:oe}),fn=oe({\u0275fac:oe}),mo=oe({__NG_ELEMENT_ID__:oe});let hb=0;function Wt(e){return In(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===xt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,id:"c",styles:e.styles||ie,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=hb++,r.inputs=Of(e.inputs,n),r.outputs=Of(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Rf):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ff):null,r})}function Rf(e){return je(e)||function Tn(e){return e[za]||null}(e)}function Ff(e){return function Jn(e){return e[Wa]||null}(e)}const Nf={};function _t(e){return In(()=>{const t={type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Nf[e.id]=e.type),t})}function Of(e,t){if(null==e)return mr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const N=Wt;function je(e){return e[Vi]||null}function Ct(e,t){const n=e[xf]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const $=11;function Qt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function Ja(e){return 0!=(8&e.flags)}function ji(e){return 2==(2&e.flags)}function Ui(e){return 1==(1&e.flags)}function Nt(e){return null!==e.template}function _b(e){return 0!=(512&e[2])}function er(e,t){return e.hasOwnProperty(fn)?e[fn]:null}class bb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function bt(){return kf}function kf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Eb),wb}function wb(){const e=Lf(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===mr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Eb(e,t,n,r){const o=Lf(e)||function Mb(e,t){return e[Vf]=t}(e,{previous:mr,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new bb(l&&l.currentValue,t,s===mr),e[r]=t}bt.ngInherit=!0;const Vf="__ngSimpleChanges__";function Lf(e){return e[Vf]||null}let tl;function ge(e){return!!e.listen}const Hf={createRenderer:(e,t)=>function nl(){return void 0!==tl?tl:"undefined"!=typeof document?document:void 0}()};function we(e){for(;Array.isArray(e);)e=e[0];return e}function $i(e,t){return we(t[e])}function Et(e,t){return we(t[e.index])}function rl(e,t){return e.data[t]}function ct(e,t){const n=t[e];return Qt(n)?n:n[0]}function Bf(e){return 4==(4&e[2])}function ol(e){return 128==(128&e[2])}function xn(e,t){return null==t?null:e[t]}function jf(e){e[18]=0}function il(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const P={lFrame:Zf(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Uf(){return P.bindingsEnabled}function C(){return P.lFrame.lView}function K(){return P.lFrame.tView}function De(e){return P.lFrame.contextLView=e,e[8]}function Te(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return P.lFrame.currentTNode}function Zt(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function sl(){return P.lFrame.isParent}function Gi(){return P.isInCheckNoChangesMode}function qi(e){P.isInCheckNoChangesMode=e}function Ze(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function br(){return P.lFrame.bindingIndex++}function Ub(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,ll(t)}function ll(e){P.lFrame.currentDirectiveIndex=e}function zf(){return P.lFrame.currentQueryIndex}function cl(e){P.lFrame.currentQueryIndex=e}function Gb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wf(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=Gb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=Qf();return r.currentTNode=t,r.lView=e,!0}function zi(e){const t=Qf(),n=e[1];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qf(){const e=P.lFrame,t=null===e?null:e.child;return null===t?Zf(e):t}function Zf(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 Jf(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Kf=Jf;function Wi(){const e=Jf();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 Je(){return P.lFrame.selectedIndex}function Rn(e){P.lFrame.selectedIndex=e}function me(){const e=P.lFrame;return rl(e.tView,e.selectedIndex)}function Qi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Do{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ki(e,t,n){const r=ge(e);let o=0;for(;ot){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let pl=!0;function Xi(e){const t=pl;return pl=e,t}let iw=0;function wo(e,t){const n=ml(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,gl(r.data,e),gl(t,null),gl(r.blueprint,null));const o=es(e,t),i=e.injectorIndex;if(th(o)){const s=wr(o),a=Er(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function gl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ml(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function es(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ts(e,t,n){!function sw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(mo)&&(r=n[mo]),null==r&&(r=n[mo]=iw++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:lw:t}(n);if("function"==typeof i){if(!Wf(t,e,r))return r&V.Host?oh(o,n,r):ih(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;Pi(n)}finally{Kf()}}else if("number"==typeof i){let s=null,a=ml(e,t),l=-1,u=r&V.Host?t[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?es(e,t):t[a+8],-1!==l&&uh(r,!1)?(s=t[1],a=wr(l),t=Er(l,t)):a=-1);-1!==a;){const c=t[1];if(lh(i,a,c.data)){const d=uw(a,t,n,s,r,u);if(d!==ah)return d}l=t[a+8],-1!==l&&uh(r,t[1].data[a+8]===u)&&lh(i,a,t)?(s=c,a=wr(l),t=Er(l,t)):a=-1}}}return ih(t,n,r,o)}const ah={};function lw(){return new Mr(Te(),C())}function uw(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=ns(a,s,n,null==r?ji(a)&&pl:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?Eo(t,s,c,a):ah}function ns(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&y.type===n)return h}if(o){const h=s[l];if(h&&Nt(h)&&h.type===n)return l}return null}function Eo(e,t,n,r){let o=e[n];const i=t.data;if(function ew(e){return e instanceof Do}(o)){const s=o;s.resolving&&function nb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new J(-200,`Circular dependency in DI detected for ${e}${n}`)}(Qe(i[n]));const a=Xi(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?An(s.injectImpl):null;Wf(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Yb(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=kf(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&An(l),Xi(a),s.resolving=!1,Kf()}}return o}function lh(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[fn]||yl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[fn]||yl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function yl(e){return Mf(e)?()=>{const t=yl(U(e));return t&&t()}:er(e)}function Mo(e){return function aw(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 r=function vl(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(l,u,c){const d=l.hasOwnProperty(Ar)?l[Ar]:Object.defineProperty(l,Ar,{value:[]})[Ar];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class q{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=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const fw=new q("AnalyzeForEntryComponents");function Mt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Jt(n,t):t(n))}function dh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dt(e,t,n){let r=xr(e,t);return r>=0?e[1|r]=n:(r=~r,function gw(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 Cl(e,t){const n=xr(e,t);if(n>=0)return e[1|n]}function xr(e,t){return function ph(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<({token:e})),-1),Nn=Ro(Tr("Optional"),8),Fo=Ro(Tr("SkipSelf"),4);class Sh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function On(e){return e instanceof Sh?e.changingThisBreaksApplicationSecurity:e}const Zw=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jw=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Ee=(()=>((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function ko(e){const t=function Vo(){const e=C();return e&&e[12]}();return t?t.sanitize(Ee.URL,e)||"":function Oo(e,t){const n=function qw(e){return e instanceof Sh&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?On(e):function cs(e){return(e=String(e)).match(Zw)||e.match(Jw)?e:"unsafe:"+e}(L(e))}const kh="__ngContext__";function Ge(e,t){e[kh]=t}function Fl(e){const t=function Lo(e){return e[kh]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ol(e){return e.ngOriginalError}function _E(e,...t){e.error(...t)}class Ho{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function vE(e){return e&&e.ngErrorLogger||_E}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ol(t);for(;n&&Ol(n);)n=Ol(n);return n||null}}const TE=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(re))();function Yt(e){return e instanceof Function?e():e}var ft=(()=>((ft=ft||{})[ft.Important=1]="Important",ft[ft.DashCase=2]="DashCase",ft))();function kl(e,t){return undefined(e,t)}function Bo(e){const t=e[3];return Ft(t)?t[3]:t}function Vl(e){return qh(e[13])}function Ll(e){return qh(e[4])}function qh(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function Or(e,t,n,r,o){if(null!=r){let i,s=!1;Ft(r)?i=r:Qt(r)&&(s=!0,r=r[0]);const a=we(r);0===e&&null!==n?null==o?Kh(t,n,a):tr(t,n,a,o||null,!0):1===e&&null!==n?tr(t,n,a,o||null,!0):2===e?function op(e,t,n){const r=fs(e,t);r&&function $E(e,t,n,r){ge(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function zE(e,t,n,r,o){const i=n[7];i!==we(n)&&Or(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=rs(e,10+t);!function PE(e,t){jo(e,t,t[$],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qh(e,t){if(!(256&t[2])){const n=t[$];ge(n)&&n.destroyNode&&jo(e,t,n,3,null,null),function LE(e){let t=e[13];if(!t)return Ul(e[1],e);for(;t;){let n=null;if(Qt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qt(t)&&Ul(t[1],t),t=t[3];null===t&&(t=e),Qt(t)&&Ul(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ul(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function UE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ap(h,u,0)||2&r&&u!==f){if(Ot(r))return!1;s=!0}}}}else{if(!s&&!Ot(r)&&!Ot(l))return!1;if(s&&Ot(l))continue;s=!1,r=l|1&r}}return Ot(r)||s}function Ot(e){return 0==(1&e)}function KE(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&&!Ot(s)&&(t+=dp(i,o),o=""),r=s,i=i||!Ot(r);n++}return""!==o&&(t+=dp(i,o)),t}const H={};function M(e){fp(K(),C(),Je()+e,Gi())}function fp(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Zi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ji(t,i,0,n)}Rn(n)}function gs(e,t){return e<<17|t<<2}function Pt(e){return e>>17&32767}function Wl(e){return 2|e}function gn(e){return(131068&e)>>2}function Ql(e,t){return-131069&e|t<<2}function Zl(e){return 1|e}function wp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&fp(e,t,20,Gi()),n(r,o)}finally{Rn(i)}}function iu(e,t,n){!Uf()||(function I0(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||wo(n,t),Ge(r,t);const s=n.initialInputs;for(let a=o;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function Np(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Op(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function F0(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&uu(n)}}function uu(e){for(let r=Vl(e);null!==r;r=Ll(r))for(let o=10;o0&&uu(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&uu(o)}}function H0(e,t){const n=ct(t,e),r=n[1];(function B0(e,t){for(let n=t.length;nPromise.resolve(null))();function Hp(e){return e[7]||(e[7]=[])}function Bp(e){return e.cleanup||(e.cleanup=[])}function Up(e,t){const n=e[9],r=n?n.get(Ho,null):null;r&&r.handleError(t)}function $p(e,t,n,r,o){for(let i=0;ithis.processProvider(a,t,n)),Jt([t],a=>this.processInjectorType(a,[],i)),this.records.set(pu,Lr(void 0,this));const s=this.records.get(gu);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:te(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=To,r=V.Default){this.assertNotDestroyed();const o=yh(this),i=An(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function nM(e){return"function"==typeof e||"object"==typeof e&&e instanceof q}(t)&&$a(t);a=l&&this.injectableDefInScope(l)?Lr(yu(t),Go):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?qp():this.parent).get(t,n=r&V.Optional&&n===To?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[is]=s[is]||[]).unshift(te(t)),o)throw s;return function Iw(e,t,n,r){const o=e[is];throw t[mh]&&o.unshift(t[mh]),e.message=function Tw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).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):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(bw,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[is]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{An(i),yh(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(te(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processInjectorType(t,n,r){if(!(t=U(t)))return!1;let o=Af(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Af(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Jt(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;dthis.processProvider(y,f,h||ie))}}this.injectorDefTypes.add(s);const l=er(s)||(()=>new s);this.records.set(s,Lr(l,Go));const u=o.providers;if(null!=u&&!a){const c=t;Jt(u,d=>this.processProvider(d,c,u))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Hr(t=U(t))?t:U(t&&t.provide);const i=function J0(e,t,n){return Zp(e)?Lr(void 0,e.useValue):Lr(Qp(e),Go)}(t);if(Hr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Lr(void 0,Go,!0),s.factory=()=>wl(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===Go&&(n.value=W0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function tM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=U(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function yu(e){const t=$a(e),n=null!==t?t.factory:er(e);if(null!==n)return n;if(e instanceof q)throw new J(204,!1);if(e instanceof Function)return function Z0(e){const t=e.length;if(t>0)throw function Io(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new J(204,!1)}function Qp(e,t,n){let r;if(Hr(e)){const o=U(e);return er(o)||yu(o)}if(Zp(e))r=()=>U(e.useValue);else if(function Y0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...wl(e.deps||[]));else if(function K0(e){return!(!e||!e.useExisting)}(e))r=()=>T(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function eM(e){return!!e.deps}(e))return er(o)||yu(o);r=()=>new o(...wl(e.deps))}return r}function Lr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zp(e){return null!==e&&"object"==typeof e&&Ew in e}function Hr(e){return"function"==typeof e}let qe=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return zp({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return zp({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=To,e.NULL=new Gp,e.\u0275prov=k({token:e,providedIn:"any",factory:()=>T(pu)}),e.__NG_ELEMENT_ID__=-1,e})();function cM(e,t){Qi(Fl(e)[1],Te())}function ne(e){let t=function ag(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new J(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=Cu(e.inputs),s.declaredInputs=Cu(e.declaredInputs),s.outputs=Cu(e.outputs);const a=o.hostBindings;a&&pM(e,a);const l=o.viewQuery,u=o.contentQueries;if(l&&fM(e,l),u&&hM(e,u),Ba(e.inputs,o.inputs),Ba(e.declaredInputs,o.declaredInputs),Ba(e.outputs,o.outputs),Nt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Yi(o.hostAttrs,n=Yi(n,o.hostAttrs))}}(r)}function Cu(e){return e===mr?{}:e===ie?[]:e}function fM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function hM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function pM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ds=null;function Br(){if(!Ds){const e=re.Symbol;if(e&&e.iterator)Ds=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(we(B[r.index])):r.index;if(ge(n)){let B=null;if(!a&&l&&(B=function GM(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==B)(B.__ngLastListenerFn__||B).__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,h=!1;else{i=Ru(r,t,d,i,!1);const X=n.listen(b,o,i);f.push(i,X),c&&c.push(o,x,v,v+1)}}else i=Ru(r,t,d,i,!0),b.addEventListener(o,i,s),f.push(i),c&&c.push(o,x,v,s)}else i=Ru(r,t,d,i,!1);const y=r.outputs;let _;if(h&&null!==y&&(_=y[o])){const w=_.length;if(w)for(let b=0;b0;)t=t[15],e--;return t}(e,P.lFrame.contextLView))[8]}(e)}function yn(e,t,n,r,o){const i=C(),s=Ur(i,t,n,r);return s!==H&&ht(K(),me(),i,e,s,i[$],o,!1),yn}function Ug(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Pt(i):gn(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];JM(e[a],t)&&(l=!0,e[a+1]=r?Zl(c):Wl(c)),a=r?Pt(c):gn(c)}l&&(e[n+1]=r?Wl(i):Zl(i))}function JM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xr(e,t)>=0}function Es(e,t){return function Lt(e,t,n,r){const o=C(),i=K(),s=function pn(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Kg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Je()],s=function Jg(e,t){return t>=e.expandoStartIndex}(e,n);(function tm(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function iS(e,t,n,r){const o=function ul(e){const t=P.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=Qo(n=Fu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Fu(o,e,t,n,r),null===i){let l=function sS(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gn(r))return e[Pt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Fu(null,e,t,l[1],r),l=Qo(l,t.attrs,r),function aS(e,t,n,r){e[Pt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function lS(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=Pt(e[a+1]);e[r+1]=gs(f,a),0!==f&&(e[f+1]=Ql(e[f+1],r)),e[a+1]=function s0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=gs(a,0),0!==a&&(e[a+1]=Ql(e[a+1],r)),a=r;else e[r+1]=gs(l,0),0===a?a=r:e[l+1]=Ql(e[l+1],r),l=r;u&&(e[r+1]=Wl(e[r+1])),Ug(e,c,r,!0),Ug(e,c,r,!1),function ZM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&xr(i,t)>=0&&(n[r+1]=Zl(n[r+1]))}(t,c,e,r,i),s=gs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==H&&ze(o,s,t)&&function Xg(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Ms(function gp(e){return 1==(1&e)}(u)?em(l,t,n,o,gn(u),s):void 0)||(Ms(i)||function pp(e){return 2==(2&e)}(u)&&(i=em(l,null,n,o,a,s)),function WE(e,t,n,r,o){const i=ge(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:ft.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=ft.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,$i(Je(),n),o,i))}(i,i.data[Je()],o,o[$],e,o[s+1]=function dS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(On(e)))),e}(t,n),r,s)}(e,t,null,!0),Es}function Fu(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 l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===H&&(f=d?ie:void 0);let h=d?Cl(f,r):c===r?f:void 0;if(u&&!Ms(h)&&(h=Cl(l,r)),Ms(h)&&(a=h,s))return a;const y=e[o+1];o=s?Pt(y):gn(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Cl(l,r))}return a}function Ms(e){return void 0!==e}function m(e,t=""){const n=C(),r=K(),o=e+20,i=r.firstCreatePass?Pr(r,o,1,t,null):r.data[o],s=n[o]=function Hl(e,t){return ge(e)?e.createText(t):e.createTextNode(t)}(n[$],t);hs(r,n,s,i),Zt(i,!1)}function Fe(e){return Nu("",e,""),Fe}function Nu(e,t,n){const r=C(),o=Ur(r,e,t,n);return o!==H&&mn(r,Je(),o),Nu}const Ss="en-US";let wm=Ss;function ku(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(Hr(e)||!e.multi){const h=new Do(l,o,D),y=Lu(a,t,o?c:c+f,d);-1===y?(ts(wo(u,s),i,a),Vu(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[y]=h,s[y]=h)}else{const h=Lu(a,t,c+f,d),y=Lu(a,t,c,c+f),_=h>=0&&n[h],w=y>=0&&n[y];if(o&&!w||!o&&!_){ts(wo(u,s),i,a);const b=function xA(e,t,n,r,o){const i=new Do(e,n,D);return i.multi=[],i.index=t,i.componentProviders=0,Wm(i,o,r&&!n),i}(o?TA:IA,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Vu(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Vu(i,e,h>-1?h:y,Wm(n[o?y:h],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Vu(e,t,n,r){const o=Hr(t),i=function X0(e){return!!e.useClass}(t);if(o||i){const l=(i?U(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Wm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lu(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function AA(e,t,n){const r=K();if(r.firstCreatePass){const o=Nt(e);ku(n,r.data,r.blueprint,o,!0),ku(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Qm{}class NA{resolveComponentFactory(t){throw function FA(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new NA,e})();function OA(){return eo(Te(),C())}function eo(e,t){return new gt(Et(e,t))}let gt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=OA,e})();function PA(e){return e instanceof gt?e.nativeElement:e}class Jm{}let vn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function VA(){const e=C(),n=ct(Te().index,e);return function kA(e){return e[$]}(Qt(n)?n:e)}(),e})(),LA=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>null}),e})();class ei{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const HA=new ei("13.3.0"),Bu={};function Rs(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(we(i)),Ft(i))for(let a=10;a-1&&(jl(t,r),rs(n,r))}this._attachedToViewContainer=!1}Qh(this._lView[1],this._lView)}onDestroy(t){Tp(this._lView[1],this._lView,null,t)}markForCheck(){cu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){fu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function U0(e,t,n){qi(!0);try{fu(e,t,n)}finally{qi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new J(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function VE(e,t){jo(e,t,t[$],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,"");this._appRef=t}}class BA extends ti{constructor(t){super(t),this._view=t}detectChanges(){Lp(this._view)}checkNoChanges(){!function $0(e){qi(!0);try{Lp(e)}finally{qi(!1)}}(this._view)}get context(){return null}}class Km extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=je(t);return new ju(n,this.ngModule)}}function Ym(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ju extends Qm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function r0(e){return e.map(n0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ym(this.componentDef.inputs)}get outputs(){return Ym(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function UA(e,t){return{get:(n,r,o)=>{const i=e.get(n,Bu,o);return i!==Bu||r===Bu?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(Jm,Hf),a=i.get(LA,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function Ip(e,t,n){if(ge(e))return e.selectRootElement(t,n===zt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Bl(s.createRenderer(null,this.componentDef),u,function jA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),d=this.componentDef.onPush?576:528,f=function sg(e,t){return{components:[],scheduler:e||TE,clean:G0,playerHandler:t||null,flags:0}}(),h=vs(0,null,null,1,0,null,null,null,null,null),y=Uo(null,h,f,d,null,null,s,l,a,i);let _,w;zi(y);try{const b=function og(e,t,n,r,o,i){const s=n[1];n[20]=e;const l=Pr(s,20,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Cs(l,u,!0),null!==e&&(Ki(o,e,u),null!==l.classes&&zl(o,e,l.classes),null!==l.styles&&sp(o,e,l.styles)));const c=r.createRenderer(e,t),d=Uo(n,Sp(t),null,t.onPush?64:16,n[20],l,r,c,i||null,null);return s.firstCreatePass&&(ts(wo(l,n),s,t.type),Op(s,l),Pp(l,n.length,1)),_s(n,d),n[20]=d}(c,this.componentDef,y,s,l);if(c)if(r)Ki(l,c,["ng-version",HA.full]);else{const{attrs:v,classes:x}=function o0(e){const t=[],n=[];let r=1,o=2;for(;r0&&zl(l,c,x.join(" "))}if(w=rl(h,20),void 0!==n){const v=w.projection=[];for(let x=0;xl(s,t)),t.contentQueries){const l=Te();t.contentQueries(1,s,l.directiveStart)}const a=Te();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Rn(a.index),Fp(n[1],a,0,a.directiveStart,a.directiveEnd,t),Np(t,s)),s}(b,this.componentDef,y,f,[cM]),$o(h,y,null)}finally{Wi()}return new GA(this.componentType,_,eo(w,y),y,w)}}class GA extends class RA{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new BA(o),this.componentType=t}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class _n{}class Xm{}const to=new Map;class ny extends _n{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Km(this);const r=Ct(t);this._bootstrapComponents=Yt(r.bootstrap),this._r3Injector=Wp(t,n,[{provide:_n,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],te(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=qe.THROW_IF_NOT_FOUND,r=V.Default){return t===qe||t===_n||t===pu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Uu extends Xm{constructor(t){super(),this.moduleType=t,null!==Ct(t)&&function zA(e){const t=new Set;!function n(r){const o=Ct(r,!0),i=o.id;null!==i&&(function ey(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(i,to.get(i),r),to.set(i,r));const s=Yt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new ny(this.moduleType,t)}}function Le(e,t,n){const r=Ze()+e,o=C();return o[r]===H?en(o,r,n?t.call(n):t()):function zo(e,t){return e[t]}(o,r)}function Fs(e,t,n,r){return function ry(e,t,n,r,o,i){const s=t+n;return ze(e,s,o)?en(e,s+1,i?r.call(i,o):r(o)):function ni(e,t){const n=e[t];return n===H?void 0:n}(e,s+1)}(C(),Ze(),e,t,n,r)}function $u(e){return t=>{setTimeout(e,void 0,t)}}const ve=class l1 extends ln{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,l=n||(()=>null),u=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(i=d.error)||void 0===i?void 0:i.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=$u(l),a&&(a=$u(a)),u&&(u=$u(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof vt&&t.add(c),c}};function u1(){return this._results[Br()]()}class Gu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Br(),r=Gu.prototype;r[n]||(r[n]=u1)}get changes(){return this._changes||(this._changes=new ve)}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){const r=this;r.dirty=!1;const o=Mt(t);(this._changesDetected=!function hw(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=f1,e})();const c1=Cn,d1=class extends c1{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Uo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),$o(n,r,t),new ti(r)}};function f1(){return Ns(Te(),C())}function Ns(e,t){return 4&e.type?new d1(t,e,eo(e,t)):null}let Bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=h1,e})();function h1(){return cy(Te(),C())}const p1=Bt,ly=class extends p1{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return eo(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){const t=es(this._hostTNode,this._hostLView);if(th(t)){const n=Er(t,this._hostLView),r=wr(t);return new Mr(n[1].data[r+8],n)}return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=uy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function Ao(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const l=s?t:new ju(je(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(_n,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function Ob(e){return Ft(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new ly(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function HE(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=ks,this.reject=ks,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(T(ic,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ii=new q("AppId",{providedIn:"root",factory:function Fy(){return`${ac()}${ac()}${ac()}`}});function ac(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ny=new q("Platform Initializer"),Vs=new q("Platform ID"),Oy=new q("appBootstrapListener");let Py=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Vn=new q("LocaleId",{providedIn:"root",factory:()=>Sw(Vn,V.Optional|V.SkipSelf)||function j1(){return"undefined"!=typeof $localize&&$localize.locale||Ss}()});class $1{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ky=(()=>{class e{compileModuleSync(n){return new Uu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Yt(Ct(n).declarations).reduce((s,a)=>{const l=je(a);return l&&s.push(new ju(l)),s},[]);return new $1(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const q1=(()=>Promise.resolve(0))();function lc(e){"undefined"==typeof Zone?q1.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class He{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ve(!1),this.onMicrotaskEmpty=new ve(!1),this.onStable=new ve(!1),this.onError=new ve(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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 z1(){let e=re.requestAnimationFrame,t=re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Z1(e){const t=()=>{!function Q1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,cc(e),e.isCheckStableRunning=!0,uc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),cc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Vy(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ly(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Vy(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ly(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,cc(e),uc(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"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!He.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(He.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}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,W1,ks,ks);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 W1={};function uc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function cc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Vy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ly(e){e._nesting--,uc(e)}class J1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ve,this.onMicrotaskEmpty=new ve,this.onStable=new ve,this.onError=new ve}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let dc=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{He.assertNotInAngularZone(),lc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())lc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(T(He))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Hy=(()=>{class e{constructor(){this._applications=new Map,fc.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return fc.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class K1{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let jt,fc=new K1;const By=new q("AllowMultipleToken");class jy{constructor(t,n){this.name=t,this.token=n}}function Uy(e,t,n=[]){const r=`Platform: ${t}`,o=new q(r);return(i=[])=>{let s=$y();if(!s||s.injector.get(By,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:gu,useValue:"platform"});!function tI(e){if(jt&&!jt.destroyed&&!jt.injector.get(By,!1))throw new J(400,"");jt=e.get(Gy);const t=e.get(Ny,null);t&&t.forEach(n=>n())}(qe.create({providers:a,name:r}))}return function nI(e){const t=$y();if(!t)throw new J(401,"");return t}()}}function $y(){return jt&&!jt.destroyed?jt:null}let Gy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function rI(e,t){let n;return n="noop"===e?new J1:("zone.js"===e?void 0:e)||new He({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:He,useValue:a}];return a.run(()=>{const u=qe.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Ho,null);if(!d)throw new J(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{pc(this._modules,c),f.unsubscribe()})}),function oI(e,t,n){try{const r=n();return Wo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(sc);return f.runInitializers(),f.donePromise.then(()=>(function kS(e){at(e,"Expected localeId to be defined"),"string"==typeof e&&(wm=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Vn,Ss)||Ss),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=qy({},r);return function X1(e,t,n){const r=new Uu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(hc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new J(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function qy(e,t){return Array.isArray(t)?t.reduce(qy,e):Object.assign(Object.assign({},e),t)}let hc=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new _e(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new _e(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{He.assertNotInAngularZone(),lc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function XD(...e){const t=go(e),n=function zD(e,t){return"number"==typeof La(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?qt(r[0]):po(n)(Pe(r,t)):cn}(a,l.pipe(function eb(e={}){const{connector:t=(()=>new ln),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=l=null,c=d=!1},y=()=>{const _=s;h(),null==_||_.unsubscribe()};return Ve((_,w)=>{u++,!d&&!c&&f();const b=l=null!=l?l:t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Ha(y,o))}),b.subscribe(w),s||(s=new Fi({next:v=>b.next(v),error:v=>{d=!0,f(),a=Ha(h,n,v),b.error(v)},complete:()=>{c=!0,f(),a=Ha(h,r),b.complete()}}),Pe(_).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new J(405,"");let o;o=n instanceof Qm?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function eI(e){return e.isBoundToModule}(o)?void 0:this._injector.get(_n),a=o.create(qe.NULL,[],r||o.selector,i),l=a.location.nativeElement,u=a.injector.get(dc,null),c=u&&a.injector.get(Hy);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),pc(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new J(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;pc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Oy,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(T(He),T(qe),T(Ho),T(Xo),T(sc))},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Wy=!0,Ls=(()=>{class e{}return e.__NG_ELEMENT_ID__=aI,e})();function aI(e){return function lI(e,t,n){if(ji(e)&&!n){const r=ct(e.index,t);return new ti(r,r)}return 47&e.type?new ti(t[16],t):null}(Te(),C(),16==(16&e))}class Yy{constructor(){}supports(t){return qo(t)}create(t){return new pI(t)}}const hI=(e,t)=>t;class pI{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||hI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new gI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Xy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xy),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Xy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ev(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{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 vI(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 vI{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 nv(){return new js([new Yy])}let js=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=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||nv()),deps:[[e,new Fo,new Nn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new J(901,"")}}return e.\u0275prov=k({token:e,providedIn:"root",factory:nv}),e})();function rv(){return new si([new tv])}let si=(()=>{class e{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||rv()),deps:[[e,new Fo,new Nn]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new J(901,"")}}return e.\u0275prov=k({token:e,providedIn:"root",factory:rv}),e})();const DI=Uy(null,"core",[{provide:Vs,useValue:"unknown"},{provide:Gy,deps:[qe]},{provide:Hy,deps:[]},{provide:Py,deps:[]}]);let bI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(T(hc))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})(),Us=null;function rn(){return Us}const et=new q("DocumentToken");let ir=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return function SI(){return T(ov)}()},providedIn:"platform"}),e})();const AI=new q("Location Initialized");let ov=(()=>{class e extends ir{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rn().getBaseHref(this._doc)}onPopState(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,o){iv()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){iv()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:function(){return function II(){return new ov(T(et))}()},providedIn:"platform"}),e})();function iv(){return!!window.history.pushState}function _c(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 sv(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 Dn(e){return e&&"?"!==e[0]?"?"+e:e}let ro=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return function TI(e){const t=T(et).location;return new av(T(ir),t&&t.origin||"")}()},providedIn:"root"}),e})();const Cc=new q("appBaseHref");let av=(()=>{class e extends ro{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return _c(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(T(ir),T(Cc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),xI=(()=>{class e extends ro{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=_c(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(T(ir),T(Cc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Dc=(()=>{class e{constructor(n,r){this._subject=new ve,this._urlChangeListeners=[],this._platformStrategy=n;const o=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=sv(lv(o)),this._platformStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Dn(r))}normalize(n){return e.stripTrailingSlash(function FI(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,lv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._platformStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}replaceState(n,r="",o=null){this._platformStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformStrategy).historyGo)||void 0===o||o.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Dn,e.joinWithSlash=_c,e.stripTrailingSlash=sv,e.\u0275fac=function(n){return new(n||e)(T(ro),T(ir))},e.\u0275prov=k({token:e,factory:function(){return function RI(){return new Dc(T(ro),T(ir))}()},providedIn:"root"}),e})();function lv(e){return e.replace(/\/index.html$/,"")}function yv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let Rc=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(qo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${te(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(D(js),D(si),D(gt),D(vn))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class mT{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vv=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new mT(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),_v(a,o)}});for(let o=0,i=r.length;o{_v(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Bt),D(Cn),D(js))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function _v(e,t){e.context.$implicit=t.item}let Ys=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new yT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Cv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Cv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Bt),D(Cn))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class yT{constructor(){this.$implicit=null,this.ngIf=null}}function Cv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}let GT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})();let QT=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>new ZT(T(et),window)}),e})();class ZT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function JT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ev(this.window.history)||Ev(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Ev(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Mv{}class kc extends class KT extends class MI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EI(e){Us||(Us=e)}(new kc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function YT(){return ui=ui||document.querySelector("base"),ui?ui.getAttribute("href"):null}();return null==n?null:function XT(e){Xs=Xs||document.createElement("a"),Xs.setAttribute("href",e);const t=Xs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ui=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return yv(document.cookie,t)}}let Xs,ui=null;const Sv=new q("TRANSITION_ID"),tx=[{provide:ic,useFactory:function ex(e,t,n){return()=>{n.get(sc).donePromise.then(()=>{const r=rn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let nx=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const ea=new q("EventManagerPlugins");let ta=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),ci=(()=>{class e extends Iv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Tv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Tv))}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function Tv(e){rn().remove(e)}const Lc={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/"},Hc=/%COMP%/g;function na(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Bc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new jc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case zt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new lx(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case zt.ShadowDom:return new ux(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=na(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(T(ta),T(ci),T(ii))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class jc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Lc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Lc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Lc[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&(ft.DashCase|ft.Important)?t.style.setProperty(n,r,o&ft.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ft.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Fv(r)):this.eventManager.addEventListener(t,n,Fv(r))}}class lx extends jc{constructor(t,n,r,o){super(t),this.component=r;const i=na(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function ix(e){return"_ngcontent-%COMP%".replace(Hc,e)}(o+"-"+r.id),this.hostAttr=function sx(e){return"_nghost-%COMP%".replace(Hc,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class ux extends jc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=na(o.id,o.styles,[]);for(let s=0;s{class e extends Av{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Ov=["alt","control","meta","shift"],fx={"\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"},Pv={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},hx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let px=(()=>{class e extends Av{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(Ov.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function gx(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Pv.hasOwnProperty(t)&&(t=Pv[t]))}return fx[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Ov.forEach(i=>{i!=o&&hx[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const _x=Uy(DI,"browser",[{provide:Vs,useValue:"browser"},{provide:Ny,useValue:function mx(){kc.makeCurrent(),Vc.init()},multi:!0},{provide:et,useFactory:function vx(){return function xb(e){tl=e}(document),document},deps:[]}]),Cx=[{provide:gu,useValue:"root"},{provide:Ho,useFactory:function yx(){return new Ho},deps:[]},{provide:ea,useClass:cx,multi:!0,deps:[et,He,Vs]},{provide:ea,useClass:px,multi:!0,deps:[et]},{provide:Bc,useClass:Bc,deps:[ta,ci,ii]},{provide:Jm,useExisting:Bc},{provide:Iv,useExisting:ci},{provide:ci,useClass:ci,deps:[et]},{provide:dc,useClass:dc,deps:[He]},{provide:ta,useClass:ta,deps:[ea,He]},{provide:Mv,useClass:nx,deps:[]}];let Dx=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:ii,useValue:n.appId},{provide:Sv,useExisting:ii},tx]}}}return e.\u0275fac=function(n){return new(n||e)(T(e,12))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:Cx,imports:[GT,bI]}),e})(),kv=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:function(n){let r=null;return r=n?new n:function wx(){return new kv(T(et))}(),r},providedIn:"root"}),e})();function j(...e){return Pe(e,go(e))}function oo(e,t){return ae(t)?Ie(e,t,1):Ie(e,1)}function wn(e,t){return Ve((n,r)=>{let o=0;n.subscribe(Oe(r,i=>e.call(t,i,o++)&&r.next(i)))})}"undefined"!=typeof window&&window;class Hv{}class Bv{}class En{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{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])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}: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 En?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 En;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof En?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)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Fx{encodeKey(t){return jv(t)}encodeValue(t){return jv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Ox=/%(\d[a-f0-9])/gi,Px={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function jv(e){return encodeURIComponent(e).replace(Ox,(t,n)=>{var r;return null!==(r=Px[n])&&void 0!==r?r:t})}function Uv(e){return`${e}`}class Hn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Fx,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Nx(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))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):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 Hn({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(Uv(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(Uv(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 kx{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 $v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Gv(e){return"undefined"!=typeof Blob&&e instanceof Blob}function qv(e){return"undefined"!=typeof FormData&&e instanceof FormData}class di{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 Vx(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new En),this.context||(this.context=new kx),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]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new di(r,o,s,{params:c,headers:u,context:d,reportProgress:l,responseType:i,withCredentials:a})}}var Ae=(()=>((Ae=Ae||{})[Ae.Sent=0]="Sent",Ae[Ae.UploadProgress=1]="UploadProgress",Ae[Ae.ResponseHeader=2]="ResponseHeader",Ae[Ae.DownloadProgress=3]="DownloadProgress",Ae[Ae.Response=4]="Response",Ae[Ae.User=5]="User",Ae))();class $c{constructor(t,n=200,r="OK"){this.headers=t.headers||new En,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 Gc extends $c{constructor(t={}){super(t),this.type=Ae.ResponseHeader}clone(t={}){return new Gc({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 ra extends $c{constructor(t={}){super(t),this.type=Ae.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ra({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 zv extends $c{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function qc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let zc=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof di)i=n;else{let l,u;l=o.headers instanceof En?o.headers:new En(o.headers),o.params&&(u=o.params instanceof Hn?o.params:new Hn({fromObject:o.params})),i=new di(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=j(i).pipe(oo(l=>this.handler.handle(l)));if(n instanceof di||"events"===o.observe)return s;const a=s.pipe(wn(l=>l instanceof ra));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.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 Hn).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,qc(o,r))}post(n,r,o={}){return this.request("POST",n,qc(o,r))}put(n,r,o={}){return this.request("PUT",n,qc(o,r))}}return e.\u0275fac=function(n){return new(n||e)(T(Hv))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class Wv{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const Qv=new q("HTTP_INTERCEPTORS");let Hx=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Bx=/^\)\]\}',?\n/;let Zv=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _e(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,y)=>o.setRequestHeader(h,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",y=new En(o.getAllResponseHeaders()),_=function jx(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Gc({headers:y,status:o.status,statusText:h,url:_}),s},l=()=>{let{headers:h,status:y,statusText:_,url:w}=a(),b=null;204!==y&&(b=void 0===o.response?o.responseText:o.response),0===y&&(y=b?200:0);let v=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const x=b;b=b.replace(Bx,"");try{b=""!==b?JSON.parse(b):null}catch(B){b=x,v&&(v=!1,b={error:B,text:b})}}v?(r.next(new ra({body:b,headers:h,status:y,statusText:_,url:w||void 0})),r.complete()):r.error(new zv({error:b,headers:h,status:y,statusText:_,url:w||void 0}))},u=h=>{const{url:y}=a(),_=new zv({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(_)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let y={type:Ae.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(y.total=h.total),"text"===n.responseType&&!!o.responseText&&(y.partialText=o.responseText),r.next(y)},f=h=>{let y={type:Ae.UploadProgress,loaded:h.loaded};h.lengthComputable&&(y.total=h.total),r.next(y)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:Ae.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(T(Mv))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Wc=new q("XSRF_COOKIE_NAME"),Qc=new q("XSRF_HEADER_NAME");class Jv{}let Ux=(()=>{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=yv(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(T(et),T(Vs),T(Wc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Zc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(T(Jv),T(Qc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),$x=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(Qv,[]);this.chain=r.reduceRight((o,i)=>new Wv(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(T(Bv),T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Gx=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Zc,useClass:Hx}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Wc,useValue:n.cookieName}:[],n.headerName?{provide:Qc,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:[Zc,{provide:Qv,useExisting:Zc,multi:!0},{provide:Jv,useClass:Ux},{provide:Wc,useValue:"XSRF-TOKEN"},{provide:Qc,useValue:"X-XSRF-TOKEN"}]}),e})(),qx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:[zc,{provide:Hv,useClass:$x},Zv,{provide:Bv,useExisting:Zv}],imports:[[Gx.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();const{isArray:zx}=Array,{getPrototypeOf:Wx,prototype:Qx,keys:Zx}=Object;function Kv(e){if(1===e.length){const t=e[0];if(zx(t))return{args:t,keys:null};if(function Jx(e){return e&&"object"==typeof e&&Wx(e)===Qx}(t)){const n=Zx(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:Kx}=Array;function Yv(e){return ee(t=>function Yx(e,t){return Kx(t)?e(...t):e(t)}(e,t))}function Xv(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let e_=(()=>{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)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt))},e.\u0275dir=N({type:e}),e})(),sr=(()=>{class e extends e_{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,features:[ne]}),e})();const on=new q("NgValueAccessor"),eR={provide:on,useExisting:le(()=>Jc),multi:!0};let Jc=(()=>{class e extends sr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&O("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[he([eR]),ne]}),e})();const tR={provide:on,useExisting:le(()=>fi),multi:!0},rR=new q("CompositionEventMode");let fi=(()=>{class e extends e_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function nR(){const e=rn()?rn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":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)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt),D(rR,8))},e.\u0275dir=N({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(n,r){1&n&&O("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[he([tR]),ne]}),e})();function Bn(e){return null==e||0===e.length}const We=new q("NgValidators"),jn=new q("NgAsyncValidators");function o_(e){return Bn(e.value)?{required:!0}:null}function oa(e){return null}function c_(e){return null!=e}function d_(e){const t=Wo(e)?Pe(e):e;return xu(t),t}function f_(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function h_(e,t){return t.map(n=>n(e))}function p_(e){return e.map(t=>function iR(e){return!e.validate}(t)?t:n=>t.validate(n))}function Kc(e){return null!=e?function g_(e){if(!e)return null;const t=e.filter(c_);return 0==t.length?null:function(n){return f_(h_(n,t))}}(p_(e)):null}function Yc(e){return null!=e?function m_(e){if(!e)return null;const t=e.filter(c_);return 0==t.length?null:function(n){return function Xx(...e){const t=Df(e),{args:n,keys:r}=Kv(e),o=new _e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?Xv(r,a):a),i.complete())}))}});return t?o.pipe(Yv(t)):o}(h_(n,t).map(d_)).pipe(ee(f_))}}(p_(e)):null}function y_(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Xc(e){return e?Array.isArray(e)?e:[e]:[]}function ia(e,t){return Array.isArray(e)?e.includes(t):e===t}function C_(e,t){const n=Xc(t);return Xc(e).forEach(o=>{ia(n,o)||n.push(o)}),n}function D_(e,t){return Xc(t).filter(n=>!ia(e,n))}class b_{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=Kc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Yc(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){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 Un extends b_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tt extends b_{get formDirective(){return null}get path(){return null}}class w_{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}let ed=(()=>{class e extends w_{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(Un,2))},e.\u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Es("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[ne]}),e})(),td=(()=>{class e extends w_{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(tt,10))},e.\u0275dir=N({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Es("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[ne]}),e})();function hi(e,t){od(e,t),t.valueAccessor.writeValue(e.value),function hR(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&M_(e,t)})}(e,t),function gR(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 pR(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&M_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function fR(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ua(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function od(e,t){const n=function v_(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(y_(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function __(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(y_(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ua(t._rawValidators,o),ua(t._rawAsyncValidators,o)}function M_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ad(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const pi="VALID",da="INVALID",io="PENDING",gi="DISABLED";function ud(e){return(fa(e)?e.validators:e)||null}function T_(e){return Array.isArray(e)?Kc(e):e||null}function cd(e,t){return(fa(t)?t.asyncValidators:e)||null}function x_(e){return Array.isArray(e)?Yc(e):e||null}function fa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const dd=e=>e instanceof hd;function F_(e){return(e=>e instanceof P_)(e)?e.value:e.getRawValue()}function N_(e,t){const n=dd(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new J(1e3,"");if(!r[t])throw new J(1001,"")}function O_(e,t){dd(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new J(1002,"")})}class fd{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._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=T_(this._rawValidators),this._composedAsyncValidatorFn=x_(this._rawAsyncValidators)}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===pi}get invalid(){return this.status===da}get pending(){return this.status==io}get disabled(){return this.status===gi}get enabled(){return this.status!==gi}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._rawValidators=t,this._composedValidatorFn=T_(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=x_(t)}addValidators(t){this.setValidators(C_(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(C_(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(D_(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(D_(t,this._rawAsyncValidators))}hasValidator(t){return ia(this._rawValidators,t)}hasAsyncValidator(t){return ia(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=io,!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=gi,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=pi,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},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}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pi||this.status===io)&&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()?gi:pi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=io,this._hasOwnPendingAsyncValidator=!0;const n=d_(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){return function _R(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=dd(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:(e=>e instanceof DR)(r)&&r.at(o)||null}),r}(this,t,".")}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 ve,this.statusChanges=new ve}_calculateStatus(){return this._allControlsDisabled()?gi:this.errors?da:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(io)?io:this._anyControlsHaveStatus(da)?da:pi}_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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){fa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class P_ extends fd{constructor(t=null,n,r){super(ud(n),cd(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}),fa(n)&&n.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(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){ad(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ad(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){this._isBoxedValue(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}}class hd extends fd{constructor(t,n,r){super(ud(n),cd(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={}){O_(this,t),Object.keys(t).forEach(r=>{N_(this,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=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=F_(n),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 of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_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}}class DR extends fd{constructor(t,n,r){super(ud(n),cd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){O_(this,t),t.forEach((r,o)=>{N_(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>F_(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const bR={provide:tt,useExisting:le(()=>yi)},mi=(()=>Promise.resolve(null))();let yi=(()=>{class e extends tt{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ve,this.form=new hd({},Kc(n),Yc(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){mi.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),hi(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){mi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){mi.then(()=>{const r=this._findContainer(n.path),o=new hd({});(function S_(e,t){od(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){mi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){mi.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function I_(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),!1}onReset(){this.resetForm()}resetForm(n){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}}return e.\u0275fac=function(n){return new(n||e)(D(We,10),D(jn,10))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&O("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([bR]),ne]}),e})();const ER={provide:Un,useExisting:le(()=>ha)},L_=(()=>Promise.resolve(null))();let ha=(()=>{class e extends Un{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new P_,this._registered=!1,this.update=new ve,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function sd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===fi?n=i:function vR(e){return Object.getPrototypeOf(e.constructor)===sr}(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 id(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(){hi(this.control,this),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){L_.then(()=>{var r;this.control.setValue(n,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;L_.then(()=>{var i;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_getPath(n){return this._parent?function aa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(D(tt,9),D(We,10),D(jn,10),D(on,10),D(Ls,8))},e.\u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[he([ER]),ne,bt]}),e})(),pd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const SR={provide:on,useExisting:le(()=>gd),multi:!0};let B_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})(),AR=(()=>{class e{constructor(){this._accessors=[]}add(n,r){this._accessors.push([n,r])}remove(n){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===n)return void this._accessors.splice(r,1)}select(n){this._accessors.forEach(r=>{this._isSameGroup(r,n)&&r[1]!==n&&r[1].fireUncheck(n.value)})}_isSameGroup(n,r){return!!n[0].control&&n[0]._parent===r._control._parent&&n[1].name===r.name}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:B_}),e})(),gd=(()=>{class e extends sr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Un),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt),D(AR),D(qe))},e.\u0275dir=N({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&O("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[he([SR]),ne]}),e})();const OR={provide:on,useExisting:le(()=>pa),multi:!0};function z_(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let pa=(()=>{class e extends sr{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=z_(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 Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function PR(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&O("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[he([OR]),ne]}),e})(),W_=(()=>{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(z_(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))}}return e.\u0275fac=function(n){return new(n||e)(D(gt),D(vn),D(pa,9))},e.\u0275dir=N({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const kR={provide:on,useExisting:le(()=>_d),multi:!0};function Q_(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let _d=(()=>{class e extends sr{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{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(Q_(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Q_(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))}}return e.\u0275fac=function(n){return new(n||e)(D(gt),D(vn),D(_d,9))},e.\u0275dir=N({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),ar=(()=>{class e{constructor(){this._validator=oa}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):oa,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=N({type:e,features:[bt]}),e})();const jR={provide:We,useExisting:le(()=>vi),multi:!0};let vi=(()=>{class e extends ar{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n=>function LR(e){return null!=e&&!1!==e&&"false"!=`${e}`}(n),this.createValidator=n=>o_}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){2&n&&Vt("required",r._enabled?"":null)},inputs:{required:"required"},features:[he([jR]),ne]}),e})();const zR={provide:We,useExisting:le(()=>Cd),multi:!0};let Cd=(()=>{class e extends ar{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function u_(e){if(!e)return oa;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(Bn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&Vt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[he([zR]),ne]}),e})(),WR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[[B_]]}),e})(),QR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[WR]}),e})();class Gt extends ln{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 oC(e,t,n){e?un(n,e,t):t()}function ga(e,t){const n=ae(e)?e:()=>e,r=o=>o.error(n());return new _e(t?o=>t.schedule(r,0,o):r)}const ma=fo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Dd(...e){return function KR(){return po(1)}()(Pe(e,go(e)))}function iC(e){return new _e(t=>{qt(e()).subscribe(t)})}function sC(){return Ve((e,t)=>{let n=null;e._refCount++;const r=Oe(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 YR extends _e{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,af(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,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new vt;const n=this.getSubject();t.add(this.source.subscribe(Oe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=vt.EMPTY)}return t}refCount(){return sC()(this)}}function lr(e,t){return Ve((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Oe(r,l=>{null==o||o.unsubscribe();let u=0;const c=i++;qt(e(l,c)).subscribe(o=Oe(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function eF(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(Oe(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function aC(e,t){return Ve(eF(e,t,arguments.length>=2,!0))}function $n(e){return Ve((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Oe(n,void 0,void 0,s=>{i=qt(e(s,$n(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bd(e){return e<=0?()=>cn:Ve((t,n)=>{let r=[];t.subscribe(Oe(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function lC(e=tF){return Ve((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function tF(){return new ma}function uC(e){return Ve((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function so(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):Qn,Oi(1),n?uC(t):lC(()=>new ma))}function mt(e,t,n){const r=ae(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ve((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Oe(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):Qn}class Mn{constructor(t,n){this.id=t,this.url=n}}class wd extends Mn{constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ao extends Mn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cC extends Mn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oF extends Mn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class iF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aF extends Mn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dC{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fC{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cF{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dF{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fF{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hF{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hC{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const W="primary";class pF{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 lo(e){return new pF(e)}const pC="ngNavigationCancelingError";function Ed(e){const t=Error("NavigationCancelingError: "+e);return t[pC]=!0,t}function mF(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 mC(e){return Array.prototype.concat.apply([],e)}function yC(e){return e.length>0?e[e.length-1]:null}function Be(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function an(e){return xu(e)?e:Wo(e)?Pe(Promise.resolve(e)):j(e)}const _F={exact:function CC(e,t,n){if(!cr(e.segments,t.segments)||!ya(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!CC(e.children[r],t.children[r],n))return!1;return!0},subset:DC},vC={exact:function CF(e,t){return sn(e,t)},subset:function DF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gC(e[n],t[n]))},ignored:()=>!0};function _C(e,t,n){return _F[n.paths](e.root,t.root,n.matrixParams)&&vC[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function DC(e,t,n){return bC(e,t,t.segments,n)}function bC(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!cr(o,n)||t.hasChildren()||!ya(o,n,r))}if(e.segments.length===n.length){if(!cr(e.segments,n)||!ya(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!DC(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(cr(e.segments,o)&&ya(e.segments,o,r)&&e.children[W])&&bC(e.children[W],t,i,r)}}function ya(e,t,n){return t.every((r,o)=>vC[n](e[o].parameters,r.parameters))}class ur{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lo(this.queryParams)),this._queryParamMap}toString(){return EF.serialize(this)}}class Z{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Be(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return va(this)}}class _i{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=lo(this.parameters)),this._parameterMap}toString(){return AC(this)}}function cr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class wC{}class EC{parse(t){const n=new NF(t);return new ur(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ci(t.root,!0)}`,r=function AF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${_a(n)}=${_a(o)}`).join("&"):`${_a(n)}=${_a(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function MF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const EF=new EC;function va(e){return e.segments.map(t=>AC(t)).join("/")}function Ci(e,t){if(!e.hasChildren())return va(e);if(t){const n=e.children[W]?Ci(e.children[W],!1):"",r=[];return Be(e.children,(o,i)=>{i!==W&&r.push(`${i}:${Ci(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function wF(e,t){let n=[];return Be(e.children,(r,o)=>{o===W&&(n=n.concat(t(r,o)))}),Be(e.children,(r,o)=>{o!==W&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===W?[Ci(e.children[W],!1)]:[`${o}:${Ci(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[W]?`${va(e)}/${n[0]}`:`${va(e)}/(${n.join("//")})`}}function MC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _a(e){return MC(e).replace(/%3B/gi,";")}function Md(e){return MC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(e){return decodeURIComponent(e)}function SC(e){return Ca(e.replace(/\+/g,"%20"))}function AC(e){return`${Md(e.path)}${function SF(e){return Object.keys(e).map(t=>`;${Md(t)}=${Md(e[t])}`).join("")}(e.parameters)}`}const IF=/^[^\/()?;=#]+/;function Da(e){const t=e.match(IF);return t?t[0]:""}const TF=/^[^=?&#]+/,RF=/^[^&#]+/;class NF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[W]=new Z(t,n)),r}parseSegment(){const t=Da(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new _i(Ca(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Da(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Da(this.remaining);o&&(r=o,this.capture(r))}t[Ca(n)]=Ca(r)}parseQueryParam(t){const n=function xF(e){const t=e.match(TF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function FF(e){const t=e.match(RF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=SC(n),i=SC(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=Da(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let i;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=W);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[W]:new Z([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class IC{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=Sd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Sd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Ad(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ad(t,this._root).map(n=>n.value)}}function Sd(e,t){if(e===t.value)return t;for(const n of t.children){const r=Sd(e,n);if(r)return r}return null}function Ad(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ad(e,n);if(r.length)return r.unshift(t),r}return[]}class Sn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function uo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class TC extends IC{constructor(t,n){super(t),this.snapshot=n,Id(this,t)}toString(){return this.snapshot.toString()}}function xC(e,t){const n=function OF(e,t){const s=new ba([],{},{},"",{},W,t,null,e.root,-1,{});return new FC("",new Sn(s,[]))}(e,t),r=new Gt([new _i("",{})]),o=new Gt({}),i=new Gt({}),s=new Gt({}),a=new Gt(""),l=new dr(r,o,s,a,i,W,t,n.root);return l.snapshot=n.root,new TC(new Sn(l,[]),n)}class dr{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ee(t=>lo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>lo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function RC(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function PF(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ba{constructor(t,n,r,o,i,s,a,l,u,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=lo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class FC extends IC{constructor(t,n){super(n),this.url=t,Id(this,n)}toString(){return NC(this._root)}}function Id(e,t){t.value._routerState=e,t.children.forEach(n=>Id(e,n))}function NC(e){const t=e.children.length>0?` { ${e.children.map(NC).join(", ")} } `:"";return`${e.value}${t}`}function Td(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,sn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),sn(t.params,n.params)||e.params.next(n.params),function yF(e,t){if(e.length!==t.length)return!1;for(let n=0;nsn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||xd(e.parent,t.parent))}function Di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function VF(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Di(e,r,o);return Di(e,r)})}(e,t,n);return new Sn(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=>Di(e,a)),s}}const r=function LF(e){return new dr(new Gt(e.url),new Gt(e.params),new Gt(e.queryParams),new Gt(e.fragment),new Gt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Di(e,i));return new Sn(r,o)}}function wa(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function bi(e){return"object"==typeof e&&null!=e&&e.outlets}function Rd(e,t,n,r,o){let i={};if(r&&Be(r,(a,l)=>{i[l]=Array.isArray(a)?a.map(u=>`${u}`):`${a}`}),e===t)return new ur(n,i,o);const s=OC(e,t,n);return new ur(s,i,o)}function OC(e,t,n){const r={};return Be(e.children,(o,i)=>{r[i]=o===t?n:OC(o,t,n)}),new Z(e.segments,r)}class PC{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&wa(r[0]))throw new Error("Root segment cannot have matrix parameters");const o=r.find(bi);if(o&&o!==yC(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Fd{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function kC(e,t,n){if(e||(e=new Z([],{})),0===e.segments.length&&e.hasChildren())return Ea(e,t,n);const r=function GF(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(bi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!LC(l,u,s))return i;r+=2}else{if(!LC(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=kC(e.children[s],t,i))}),Be(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new Z(e.segments,o)}}function Nd(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Nd(new Z([],{}),0,n))}),t}function VC(e){const t={};return Be(e,(n,r)=>t[r]=`${n}`),t}function LC(e,t,n){return e==n.path&&sn(t,n.parameters)}class WF{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Td(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=uo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Be(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=uo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=uo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=uo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new hF(i.value.snapshot))}),t.children.length&&this.forwardEvent(new dF(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Td(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),Td(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function QF(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(o.snapshot),l=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=l,s.outlet&&s.outlet.activateWith(o,l),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Od{constructor(t,n){this.routes=t,this.module=n}}function Gn(e){return"function"==typeof e}function fr(e){return e instanceof ur}const wi=Symbol("INITIAL_VALUE");function Ei(){return lr(e=>function ZR(...e){const t=go(e),n=Df(e),{args:r,keys:o}=Kv(e);if(0===r.length)return Pe([],t);const i=new _e(function JR(e,t,n=Qn){return r=>{oC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Pe(e[l],t);let c=!1;u.subscribe(Oe(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>Xv(o,s):Qn));return n?i.pipe(Yv(n)):i}(e.map(t=>t.pipe(Oi(1),function XR(...e){const t=go(e);return Ve((n,r)=>{(t?Dd(e,n,t):Dd(e,n)).subscribe(r)})}(wi)))).pipe(aC((t,n)=>{let r=!1;return n.reduce((o,i,s)=>o!==wi?o:(i===wi&&(r=!0),r||!1!==i&&s!==n.length-1&&!fr(i)?o:i),t)},wi),wn(t=>t!==wi),ee(t=>fr(t)?t:!0===t),Oi(1)))}class eN{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Mi,this.attachRef=null}}class Mi{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new eN,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Pd=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ve,this.deactivateEvents=new ve,this.attachEvents=new ve,this.detachEvents=new ve,this.name=i||W,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new tN(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(D(Mi),D(Bt),D(Xo),Mo("name"),D(Ls))},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class tN{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===dr?this.route:t===Mi?this.childContexts:this.parent.get(t,n)}}let HC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&E(0,"router-outlet")},directives:[Pd],encapsulation:2}),e})();function BC(e,t=""){for(let n=0;nTt(r)===t);return n.push(...e.filter(r=>Tt(r)!==t)),n}const UC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ma(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},UC):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||mF)(n,e,t);if(!i)return Object.assign({},UC);const s={};Be(i.posParams,(l,u)=>{s[u]=l.path});const a=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Sa(e,t,n,r,o="corrected"){if(n.length>0&&function sN(e,t,n){return n.some(r=>Aa(e,t,r)&&Tt(r)!==W)}(e,n,r)){const s=new Z(t,function iN(e,t,n,r){const o={};o[W]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Tt(i)!==W){const s=new Z([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Tt(i)]=s}return o}(e,t,r,new Z(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function aN(e,t,n){return n.some(r=>Aa(e,t,r))}(e,n,r)){const s=new Z(e.segments,function oN(e,t,n,r,o,i){const s={};for(const a of r)if(Aa(e,n,a)&&!o[Tt(a)]){const l=new Z([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[Tt(a)]=l}return Object.assign(Object.assign({},o),s)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new Z(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Aa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function $C(e,t,n,r){return!!(Tt(e)===r||r!==W&&Aa(t,n,e))&&("**"===e.path||Ma(t,e,n).matched)}function GC(e,t,n){return 0===t.length&&!e.children[n]}class Ia{constructor(t){this.segmentGroup=t||null}}class qC{constructor(t){this.urlTree=t}}function Si(e){return ga(new Ia(e))}function zC(e){return ga(new qC(e))}class dN{constructor(t,n,r,o,i){this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(_n)}apply(){const t=Sa(this.urlTree.root,[],[],this.config).segmentGroup,n=new Z(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,W).pipe(ee(i=>this.createUrlTree(Vd(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe($n(i=>{if(i instanceof qC)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ia?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,W).pipe(ee(o=>this.createUrlTree(Vd(o),t.queryParams,t.fragment))).pipe($n(o=>{throw o instanceof Ia?this.noMatchError(o):o}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const o=t.segments.length>0?new Z([],{[W]:t}):t;return new ur(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(ee(i=>new Z([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Pe(o).pipe(oo(i=>{const s=r.children[i],a=jC(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(ee(l=>({segment:l,outlet:i})))}),aC((i,s)=>(i[s.outlet]=s.segment,i),{}),function nF(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):Qn,bd(1),n?uC(t):lC(()=>new ma))}())}expandSegment(t,n,r,o,i,s){return Pe(r).pipe(oo(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe($n(u=>{if(u instanceof Ia)return j(null);throw u}))),so(a=>!!a),$n((a,l)=>{if(a instanceof ma||"EmptyError"===a.name)return GC(n,o,i)?j(new Z([],{})):Si(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return $C(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Si(n):Si(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?zC(i):this.lineralizeSegments(r,i).pipe(Ie(s=>{const a=new Z(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Ma(n,o,i);if(!a)return Si(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?zC(d):this.lineralizeSegments(o,d).pipe(Ie(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){if("**"===r.path)return r.loadChildren?(r._loadedConfig?j(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(ee(d=>(r._loadedConfig=d,new Z(o,{})))):j(new Z(o,{}));const{matched:s,consumedSegments:a,remainingSegments:l}=Ma(n,r,o);return s?this.getChildConfig(t,r,o).pipe(Ie(c=>{const d=c.module,f=c.routes,{segmentGroup:h,slicedSegments:y}=Sa(n,a,l,f),_=new Z(h.segments,h.children);if(0===y.length&&_.hasChildren())return this.expandChildren(d,f,_).pipe(ee(x=>new Z(a,x)));if(0===f.length&&0===y.length)return j(new Z(a,{}));const w=Tt(r)===i;return this.expandSegment(d,_,f,y,w?W:i,!0).pipe(ee(v=>new Z(a.concat(v.segments),v.children)))})):Si(n)}getChildConfig(t,n,r){return n.children?j(new Od(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?j(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(Ie(o=>o?this.configLoader.load(t.injector,n).pipe(ee(i=>(n._loadedConfig=i,i))):function uN(e){return ga(Ed(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):j(new Od([],t))}runCanLoadGuards(t,n,r){const o=n.canLoad;return o&&0!==o.length?j(o.map(s=>{const a=t.get(s);let l;if(function JF(e){return e&&Gn(e.canLoad)}(a))l=a.canLoad(n,r);else{if(!Gn(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return an(l)})).pipe(Ei(),mt(s=>{if(!fr(s))return;const a=Ed(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),ee(s=>!0===s)):j(!0)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return j(r);if(o.numberOfChildren>1||!o.children[W])return ga(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));o=o.children[W]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new ur(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Be(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Be(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new Z(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 Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);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}}function Vd(e){const t={};for(const r of Object.keys(e.children)){const i=Vd(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function fN(e){if(1===e.numberOfChildren&&e.children[W]){const t=e.children[W];return new Z(e.segments.concat(t.segments),t.children)}return e}(new Z(e.segments,t))}class WC{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ta{constructor(t,n){this.component=t,this.route=n}}function pN(e,t,n){const r=e._root;return Ai(r,t?t._root:null,n,[r.value])}function xa(e,t,n){const r=function mN(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ai(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=uo(t);return e.children.forEach(s=>{(function yN(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 l=function vN(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!cr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(e.url,t.url)||!sn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xd(e,t)||!sn(e.queryParams,t.queryParams);default:return!xd(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new WC(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Ai(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ta(a.outlet.component,s))}else s&&Ii(t,a,o),o.canActivateChecks.push(new WC(r)),Ai(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]}),Be(i,(s,a)=>Ii(s,n.getContext(a),o)),o}function Ii(e,t,n){const r=uo(e),o=e.value;Be(r,(i,s)=>{Ii(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Ta(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}class AN{}function QC(e){return new _e(t=>t.error(e))}class TN{constructor(t,n,r,o,i,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const t=Sa(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,W);if(null===n)return null;const r=new ba([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Sn(r,n),i=new FC(this.url,o);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const n=t.value,r=RC(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const i of Object.keys(n.children)){const s=n.children[i],a=jC(t,i),l=this.processSegmentGroup(a,s,i);if(null===l)return null;r.push(...l)}const o=ZC(r);return function xN(e){e.sort((t,n)=>t.value.outlet===W?-1:n.value.outlet===W?1:t.value.outlet.localeCompare(n.value.outlet))}(o),o}processSegment(t,n,r,o){for(const i of t){const s=this.processSegmentAgainstRoute(i,n,r,o);if(null!==s)return s}return GC(n,r,o)?[]:null}processSegmentAgainstRoute(t,n,r,o){if(t.redirectTo||!$C(t,n,r,o))return null;let i,s=[],a=[];if("**"===t.path){const h=r.length>0?yC(r).parameters:{};i=new ba(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,YC(t),Tt(t),t.component,t,JC(n),KC(n)+r.length,XC(t))}else{const h=Ma(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=h.remainingSegments,i=new ba(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,YC(t),Tt(t),t.component,t,JC(n),KC(n)+s.length,XC(t))}const l=function RN(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:u,slicedSegments:c}=Sa(n,s,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new Sn(i,h)]}if(0===l.length&&0===c.length)return[new Sn(i,[])];const d=Tt(t)===o,f=this.processSegment(l,u,c,d?W:o);return null===f?null:[new Sn(i,f)]}}function FN(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function ZC(e){const t=[],n=new Set;for(const r of e){if(!FN(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=ZC(r.children);t.push(new Sn(r.value,o))}return t.filter(r=>!n.has(r))}function JC(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function KC(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function YC(e){return e.data||{}}function XC(e){return e.resolve||{}}function eD(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Ld(e){return lr(t=>{const n=e(t);return n?Pe(n).pipe(ee(()=>t)):j(t)})}class BN extends class HN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Hd=new q("ROUTES");class tD{constructor(t,n,r,o){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=o}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const o=this.loadModuleFactory(n.loadChildren).pipe(ee(i=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=i.create(t);return new Od(mC(s.injector.get(Hd,void 0,V.Self|V.Optional)).map(kd),s)}),$n(i=>{throw n._loader$=void 0,i}));return n._loader$=new YR(o,()=>new ln).pipe(sC()),n._loader$}loadModuleFactory(t){return an(t()).pipe(Ie(n=>n instanceof Xm?j(n):Pe(this.compiler.compileModuleAsync(n))))}}class UN{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function $N(e){throw e}function GN(e,t,n){return t.parse("/")}function nD(e,t){return j(null)}const qN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let it=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ln,this.errorHandler=$N,this.malformedUriErrorHandler=GN,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:nD,afterPreactivation:nD},this.urlHandlingStrategy=new UN,this.routeReuseStrategy=new BN,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(_n),this.console=s.get(Py);const d=s.get(He);this.isNgZoneEnabled=d instanceof He&&He.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function vF(){return new ur(new Z([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tD(s,a,f=>this.triggerEvent(new dC(f)),f=>this.triggerEvent(new fC(f))),this.routerState=xC(this.currentUrlTree,this.rootComponentType),this.transitions=new Gt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(wn(o=>0!==o.id),ee(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),lr(o=>{let i=!1,s=!1;return j(o).pipe(mt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),lr(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return rD(a.source)&&(this.browserUrlTree=a.extractedUrl),j(a).pipe(lr(d=>{const f=this.transitions.getValue();return r.next(new wd(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?cn:Promise.resolve(d)}),function hN(e,t,n,r){return lr(o=>function cN(e,t,n,r,o){return new dN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(ee(i=>Object.assign(Object.assign({},o),{urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),mt(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function NN(e,t,n,r,o){return Ie(i=>function IN(e,t,n,r,o="emptyOnly",i="legacy"){try{const s=new TN(e,t,n,r,o,i).recognize();return null===s?QC(new AN):j(s)}catch(s){return QC(s)}}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(ee(s=>Object.assign(Object.assign({},i),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),mt(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new iF(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:y,restoredState:_,extras:w}=a,b=new wd(f,this.serializeUrl(h),y,_);r.next(b);const v=xC(h,this.rootComponentType).snapshot;return j(Object.assign(Object.assign({},a),{targetSnapshot:v,urlAfterRedirects:h,extras:Object.assign(Object.assign({},w),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),cn}),Ld(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),mt(a=>{const l=new sF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ee(a=>Object.assign(Object.assign({},a),{guards:pN(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function _N(e,t){return Ie(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?j(Object.assign(Object.assign({},n),{guardsResult:!0})):function CN(e,t,n,r){return Pe(e).pipe(Ie(o=>function SN(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?j(i.map(a=>{const l=xa(a,t,o);let u;if(function XF(e){return e&&Gn(e.canDeactivate)}(l))u=an(l.canDeactivate(e,t,n,r));else{if(!Gn(l))throw new Error("Invalid CanDeactivate guard");u=an(l(e,t,n,r))}return u.pipe(so())})).pipe(Ei()):j(!0)}(o.component,o.route,n,t,r)),so(o=>!0!==o,!0))}(s,r,o,e).pipe(Ie(a=>a&&function ZF(e){return"boolean"==typeof e}(a)?function DN(e,t,n,r){return Pe(t).pipe(oo(o=>Dd(function wN(e,t){return null!==e&&t&&t(new cF(e)),j(!0)}(o.route.parent,r),function bN(e,t){return null!==e&&t&&t(new fF(e)),j(!0)}(o.route,r),function MN(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function gN(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=>iC(()=>j(s.guards.map(l=>{const u=xa(l,s.node,n);let c;if(function YF(e){return e&&Gn(e.canActivateChild)}(u))c=an(u.canActivateChild(r,e));else{if(!Gn(u))throw new Error("Invalid CanActivateChild guard");c=an(u(r,e))}return c.pipe(so())})).pipe(Ei())));return j(i).pipe(Ei())}(e,o.path,n),function EN(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return j(!0);const o=r.map(i=>iC(()=>{const s=xa(i,t,n);let a;if(function KF(e){return e&&Gn(e.canActivate)}(s))a=an(s.canActivate(t,e));else{if(!Gn(s))throw new Error("Invalid CanActivate guard");a=an(s(t,e))}return a.pipe(so())}));return j(o).pipe(Ei())}(e,o.route,n))),so(o=>!0!==o,!0))}(r,i,e,t):j(a)),ee(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),mt(a=>{if(fr(a.guardsResult)){const u=Ed(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new aF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),wn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Ld(a=>{if(a.guards.canActivateChecks.length)return j(a).pipe(mt(l=>{const u=new lF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),lr(l=>{let u=!1;return j(l).pipe(function ON(e,t){return Ie(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return j(n);let i=0;return Pe(o).pipe(oo(s=>function PN(e,t,n,r){return function kN(e,t,n,r){const o=eD(e);if(0===o.length)return j({});const i={};return Pe(o).pipe(Ie(s=>function VN(e,t,n,r){const o=xa(e,t,r);return an(o.resolve?o.resolve(t,n):o(t,n))}(e[s],t,n,r).pipe(mt(a=>{i[s]=a}))),bd(1),Ie(()=>eD(i).length===o.length?j(i):cn))}(e._resolve,e,t,r).pipe(ee(i=>(e._resolvedData=i,e.data=Object.assign(Object.assign({},e.data),RC(e,n).resolve),null)))}(s.route,r,e,t)),mt(()=>i++),bd(1),Ie(s=>i===o.length?j(n):cn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),mt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),mt(l=>{const u=new uF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Ld(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ee(a=>{const l=function kF(e,t,n){const r=Di(e,t._root,n?n._root:void 0);return new TC(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),mt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>ee(r=>(new WF(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),mt({next(){i=!0},complete(){i=!0}}),function rF(e){return Ve((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;i||s||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),$n(a=>{if(s=!0,function gF(e){return e&&e[pC]}(a)){const l=fr(a.url);l||(this.navigated=!0,this.restoreHistory(o,!0));const u=new cC(o.id,this.serializeUrl(o.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rD(o.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new oF(o.id,this.serializeUrl(o.extractedUrl),a);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return cn}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var o;const i={replaceUrl:!0},s=(null===(o=n.state)||void 0===o?void 0:o.navigationId)?n.state:null;if(s){const l=Object.assign({},s);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,s,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){BC(n),this.config=n.map(kd),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),function HF(e,t,n,r,o){if(0===n.length)return Rd(t.root,t.root,t.root,r,o);const i=function BF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new PC(!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 Be(i.outlets,(l,u)=>{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,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new PC(n,t,r)}(n);if(i.toRoot())return Rd(t.root,t.root,new Z([],{}),r,o);const s=function jF(e,t,n){if(e.isAbsolute)return new Fd(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const i=n.snapshot._urlSegment;return new Fd(i,i===t.root,0)}const r=wa(e.commands[0])?0:1;return function UF(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new Fd(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=s.processChildren?Ea(s.segmentGroup,s.index,i.commands):kC(s.segmentGroup,s.index,i.commands);return Rd(t.root,s.segmentGroup,a,r,o)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=fr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function WN(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new ao(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){var a,l;if(this.disposed)return Promise.resolve(!1);let u,c,d;s?(u=s.resolve,c=s.reject,d=s.promise):d=new Promise((y,_)=>{u=y,c=_});const f=++this.navigationId;let h;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),h=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):h=0,this.setTransition({id:f,targetPageId:h,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:i,resolve:u,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(y=>Promise.reject(y))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){var o,i;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const o=new cC(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Su()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function rD(e){return"imperative"!==e}let Bd=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.commands=null,this.onChanges=new ln,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){if(null!=this.tabIndexAttribute)return;const r=this.renderer,o=this.el.nativeElement;null!==n?r.setAttribute(o,"tabindex",n):r.removeAttribute(o,"tabindex")}ngOnChanges(n){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(){if(null===this.urlTree)return!0;const n={skipLocationChange:co(this.skipLocationChange),replaceUrl:co(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,n),!0}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:co(this.preserveFragment)})}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(dr),Mo("tabindex"),D(vn),D(gt))},e.\u0275dir=N({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&O("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bt]}),e})(),hr=(()=>{class e{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this.commands=null,this.href=null,this.onChanges=new ln,this.subscription=n.events.subscribe(i=>{i instanceof ao&&this.updateTargetUrlAndHref()})}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){if(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:co(this.skipLocationChange),replaceUrl:co(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:co(this.preserveFragment)})}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(dr),D(ro))},e.\u0275dir=N({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&O("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&Vt("target",r.target)("href",r.href,ko)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bt]}),e})();function co(e){return""===e||!!e}let oD=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ve,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof ao&&this.update()})}ngAfterContentInit(){j(this.links.changes,this.linksWithHrefs.changes,j(null)).pipe(po()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var n;null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Pe(r).pipe(po()).subscribe(o=>{this.isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){var n;this.routerEventsSubscription.unsubscribe(),null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this.isActive!==n&&(this.isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function QN(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.linkWithHref&&n(this.linkWithHref)||this.links.some(n)||this.linksWithHrefs.some(n)}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(gt),D(vn),D(Ls),D(Bd,8),D(hr,8))},e.\u0275dir=N({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&(Yu(o,Bd,5),Yu(o,hr,5)),2&n){let i;Ku(i=Xu())&&(r.links=i),Ku(i=Xu())&&(r.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[bt]}),e})();class iD{}class sD{preload(t,n){return j(null)}}let aD=(()=>{class e{constructor(n,r,o,i){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=new tD(o,r,l=>n.triggerEvent(new dC(l)),l=>n.triggerEvent(new fC(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(wn(n=>n instanceof ao),oo(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(_n);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const s=i._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else i.loadChildren&&!i.canLoad?o.push(this.preloadConfig(n,i)):i.children&&o.push(this.processRoutes(n,i.children));return Pe(o).pipe(po(),ee(i=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?j(r._loadedConfig):this.loader.load(n.injector,r)).pipe(Ie(i=>(r._loadedConfig=i,this.processRoutes(i.module,i.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(T(it),T(ky),T(qe),T(iD))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),jd=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof wd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ao&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof hC&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new hC(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Su()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const pr=new q("ROUTER_CONFIGURATION"),lD=new q("ROUTER_FORROOT_GUARD"),JN=[Dc,{provide:wC,useClass:EC},{provide:it,useFactory:function tO(e,t,n,r,o,i,s={},a,l){const u=new it(null,e,t,n,r,o,mC(i));return a&&(u.urlHandlingStrategy=a),l&&(u.routeReuseStrategy=l),function nO(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,u),s.enableTracing&&u.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),u},deps:[wC,Mi,Dc,qe,ky,Hd,pr,[class jN{},new Nn],[class LN{},new Nn]]},Mi,{provide:dr,useFactory:function rO(e){return e.routerState.root},deps:[it]},aD,sD,class ZN{preload(t,n){return n().pipe($n(()=>j(null)))}},{provide:pr,useValue:{enableTracing:!1}}];function KN(){return new jy("Router",it)}let uD=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[JN,cD(n),{provide:lD,useFactory:eO,deps:[[it,new Nn,new Fo]]},{provide:pr,useValue:r||{}},{provide:ro,useFactory:XN,deps:[ir,[new ss(Cc),new Nn],pr]},{provide:jd,useFactory:YN,deps:[it,QT,pr]},{provide:iD,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:sD},{provide:jy,multi:!0,useFactory:KN},[Ud,{provide:ic,multi:!0,useFactory:oO,deps:[Ud]},{provide:dD,useFactory:iO,deps:[Ud]},{provide:Oy,multi:!0,useExisting:dD}]]}}static forChild(n){return{ngModule:e,providers:[cD(n)]}}}return e.\u0275fac=function(n){return new(n||e)(T(lD,8),T(it,8))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})();function YN(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new jd(e,t,n)}function XN(e,t,n={}){return n.useHash?new xI(e,t):new av(e,t)}function eO(e){return"guarded"}function cD(e){return[{provide:fw,multi:!0,useValue:e},{provide:Hd,multi:!0,useValue:e}]}let Ud=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ln}appInitializer(){return this.injector.get(AI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const o=new Promise(a=>r=a),i=this.injector.get(it),s=this.injector.get(pr);return"disabled"===s.initialNavigation?(i.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?j(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),i.initialNavigation()):r(!0),o})}bootstrapListener(n){const r=this.injector.get(pr),o=this.injector.get(aD),i=this.injector.get(jd),s=this.injector.get(it),a=this.injector.get(hc);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),i.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function oO(e){return e.appInitializer.bind(e)}function iO(e){return e.bootstrapListener.bind(e)}const dD=new q("Router Initializer");class aO{constructor(){this.name="",this.email="",this.message=""}}let fD=(()=>{class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post("https://www.palmmedia.de/api/contact",n)}}return e.\u0275fac=function(n){return new(n||e)(T(zc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function lO(e,t){if(1&e){const n=pt();p(0,"form",5,6),O("ngSubmit",function(){return De(n),Y().submit()}),p(2,"div",7)(3,"label",8),m(4,"Name "),p(5,"span",9),m(6,"*"),g()(),p(7,"input",10),O("ngModelChange",function(o){return De(n),Y().contactViewModel.name=o}),g()(),p(8,"div",7)(9,"label",11),m(10,"E-Mail "),p(11,"span",9),m(12,"*"),g()(),p(13,"input",12),O("ngModelChange",function(o){return De(n),Y().contactViewModel.email=o}),g()(),p(14,"div",7)(15,"label",13),m(16,"Nachricht "),p(17,"span",9),m(18,"*"),g()(),p(19,"textarea",14),O("ngModelChange",function(o){return De(n),Y().contactViewModel.message=o}),g()(),p(20,"button",15),m(21,"Submit"),g()()}if(2&e){const n=function yg(e){return function Dr(e,t){return e[t]}(function Bb(){return P.lFrame.contextLView}(),20+e)}(1),r=Y();M(7),I("ngModel",r.contactViewModel.name),M(6),I("ngModel",r.contactViewModel.email),M(6),I("ngModel",r.contactViewModel.message),M(1),I("disabled",!n.valid||r.enableFormCountDown>0)}}function uO(e,t){1&e&&(p(0,"p"),m(1,"Thanks for your message."),g())}function cO(e,t){1&e&&(p(0,"p",16),m(1,"Something went wrong. Please try again later."),g())}let dO=(()=>{class e{constructor(n){this.contactService=n,this.contactViewModel=new aO,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,0===this.enableFormCountDown&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(D(fD))},e.\u0275cmp=Wt({type:e,selectors:[["app-contact-component"]],decls:6,vars:3,consts:[[1,"container"],[1,"mb-4"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","text-danger",4,"ngIf"],["method","post",3,"ngSubmit"],["contactForm","ngForm"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Email"],["type","email","id","Email","name","Email","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"text-danger"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"Contact"),g(),se(3,lO,22,4,"form",2),se(4,uO,2,0,"p",3),se(5,cO,2,0,"p",4),g()),2&n&&(M(3),I("ngIf",!r.success&&!r.error),M(1),I("ngIf",r.success),M(1),I("ngIf",r.error))},directives:[Ys,pd,td,yi,fi,vi,ed,ha],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]}),e})();const fO=function(){return["/pro"]},hD=function(){return["/usage"]};let hO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-home"]],decls:85,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo_512.png","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9"],[1,"mt-5"],[1,"mt-4","h5"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h6","mt-3"],[3,"routerLink"],[1,"fa-solid","fa-lightbulb"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","pt-5","pb-5","bg-light"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1.png"],["src","resources/screenshot1.png","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2.png"],["src","resources/screenshot2.png","alt","Screenshot",1,"img-fluid"]],template:function(n,r){1&n&&(p(0,"section",0)(1,"div",1)(2,"div",2),E(3,"img",3),g(),p(4,"div",4)(5,"h1"),m(6,"ReportGenerator"),g(),p(7,"h2",5),m(8,"Powerful code coverage visualization"),g(),p(9,"div",6)(10,"p")(11,"i"),m(12,"ReportGenerator"),g(),m(13," converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats."),g(),p(14,"p"),m(15,"The reports do not only show the coverage quota, but also include the source code and visualize which lines have been covered."),g()()()(),p(16,"div",7)(17,"div",8)(18,"div",9),E(19,"i",10),g(),p(20,"div",11),m(21,"Open source"),g(),p(22,"p")(23,"i"),m(24,"ReportGenerator"),g(),m(25," is open source under the permissive Apache License."),g(),p(26,"p"),m(27,"It's free to use."),E(28,"br"),m(29,"The "),p(30,"a",12),m(31,"PRO"),g(),m(32," version offers additional features."),g()(),p(33,"div",8)(34,"div",9),E(35,"i",13),g(),p(36,"div",11),m(37,"Easy to use"),g(),p(38,"p")(39,"i"),m(40,"ReportGenerator"),g(),m(41," is a command line tool which only requires a "),p(42,"a",12),m(43,"few parameters"),g(),m(44,"."),g(),p(45,"p"),m(46,"Integration into your build pipeline will only take a couple of minutes."),g()(),p(47,"div",8)(48,"div",9),E(49,"i",14),g(),p(50,"div",11),m(51,"Integration"),g(),p(52,"p")(53,"i"),m(54,"ReportGenerator"),g(),m(55," works on Windows, Linux and macOS."),g(),p(56,"p"),m(57,"Support for "),p(58,"a",15),m(59,"GitHub actions"),g(),m(60," and "),p(61,"a",16),m(62,"Azure DevOps"),g(),m(63," is available."),g()()(),p(64,"div",7)(65,"div",17)(66,"a",18),E(67,"i",19),m(68," Learn how to use"),g(),p(69,"a",20),E(70,"i",21),m(71," GitHub"),g()()()(),p(72,"section",22)(73,"div",0)(74,"h2"),m(75,"Screenshots"),g(),p(76,"p"),m(77,"The screenshots show two snippets of the generated reports."),g(),p(78,"div",1)(79,"div",23)(80,"a",24),E(81,"img",25),g()(),p(82,"div",26)(83,"a",27),E(84,"img",28),g()()()()()),2&n&&(M(30),I("routerLink",Le(3,fO)),M(12),I("routerLink",Le(4,hD)),M(24),I("routerLink",Le(5,hD)))},directives:[hr],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 123px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]}),e})();class pO{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let pD=(()=>{class e{initCodeFlow(){const o=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/ReportGenerator/pro`;console.log("Redirecting to: "+o),location.href=o}validateStateAndExtractCode(){let n=location.href;const r=n.indexOf("?");r>-1&&(n=n.substring(r+1));const o=this.parseQueryString(n);return o.state&&o.code&&this.validateNonce(o.state)?o.code:null}createAndSaveNonce(){const n=this.createNonce();return void 0!==window.localStorage&&localStorage.setItem("nonce",n),n}validateNonce(n){let r;return void 0!==window.localStorage&&(r=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),r&&0!==r.length?r===n||(console.error("Validating nonce failed. Values do not match.",r,n),!1):(console.error("Validating nonce failed. No saved nonce available.",r,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let r=45,o="";const i="undefined"==typeof self?null:self.crypto||self.msCrypto;if(i){let a=new Uint8Array(r);i.getRandomValues(a),a.map||(a.map=Array.prototype.map);const l=[];for(var s=0;s0&&(u=decodeURIComponent(a),c=decodeURIComponent(l),"/"===u.substring(0,1)&&(u=u.substring(1)),r[u]=c);return r}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),gD=(()=>{class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`https://www.palmmedia.de/api/reportgenerator/license?code=${encodeURIComponent(n)}`)}}return e.\u0275fac=function(n){return new(n||e)(T(zc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function gO(e,t){1&e&&(p(0,"div",31)(1,"span",32),m(2,"Loading..."),g()())}const mD=function(){return["/contact"]};function mO(e,t){if(1&e&&(p(0,"div")(1,"p"),m(2),g(),p(3,"p"),m(4,"Please try again later or use the "),p(5,"a",34),m(6," contact form"),g(),m(7,"."),g()()),2&e){const n=Y(2);M(2),Fe(n.license.error),M(3),I("routerLink",Le(2,mD))}}function yO(e,t){1&e&&(p(0,"div")(1,"p"),m(2,"Please become a "),p(3,"a",2),m(4,"GitHub sponsor"),g(),m(5," first."),g()())}function vO(e,t){1&e&&(p(0,"span"),E(1,"i",38),m(2," Copy"),g())}function _O(e,t){1&e&&(p(0,"span"),E(1,"i",39),m(2," Copied"),g())}function CO(e,t){if(1&e){const n=pt();p(0,"div")(1,"label",35),m(2,"Thank you for becoming a sponsor. Here's your license:"),g(),p(3,"textarea",36),m(4),g(),p(5,"button",37),O("click",function(){return De(n),Y(2).copy()}),se(6,vO,3,0,"span",33),se(7,_O,3,0,"span",33),g()()}if(2&e){const n=Y(2);M(4),Fe(n.license.license),M(2),I("ngIf",!n.licenseCopied),M(1),I("ngIf",n.licenseCopied)}}function DO(e,t){if(1&e&&(p(0,"div",13),se(1,mO,8,3,"div",33),se(2,yO,6,0,"div",33),se(3,CO,8,3,"div",33),g()),2&e){const n=Y();M(1),I("ngIf",n.license.error),M(1),I("ngIf",!n.license.error&&!n.license.isSponsor),M(1),I("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function bO(e,t){1&e&&(p(0,"div",13)(1,"h3"),m(2,"GitHub sponsors only?"),g(),m(3," Are you interested in getting a license but you are not able to become a sponsor or you would like to buy a PRO license?"),E(4,"br"),m(5," Get "),p(6,"a",34),m(7,"in touch"),g(),m(8," and we will figure it out. "),g()),2&e&&(M(6),I("routerLink",Le(1,mD)))}let wO=(()=>{class e{constructor(n,r){this.oauthService=n,this.licenseService=r,this.licenseRequested=!1,this.licenseCopied=!1,this.license=null}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:r=>{console.log("Received license response"),this.license=r},error:r=>{console.error(r),this.license=new pO,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available")}requestLicense(){this.licenseRequested=!0,this.oauthService.initCodeFlow()}copy(){try{navigator.clipboard.writeText(this.license.license),this.licenseCopied=!0}catch(n){console.error("Failed to copy license",n)}}}return e.\u0275fac=function(n){return new(n||e)(D(pD),D(gD))},e.\u0275cmp=Wt({type:e,selectors:[["app-pro-component"]],decls:98,vars:4,consts:[[1,"container"],[1,"mb-4"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"row"],[1,"col-xs-12","col-md-6"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["id","license",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",1,"btn","btn-primary","me-3",3,"disabled","click"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[4,"ngIf"],[3,"routerLink"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"PRO"),g(),p(3,"p")(4,"i"),m(5,"ReportGenerator"),g(),m(6," is Open Source and free to use."),E(7,"br"),m(8," However some of the advanced features are available only to "),p(9,"a",2),m(10,"sponsors"),g(),m(11,". "),g(),p(12,"div",3)(13,"div",4)(14,"table",5)(15,"thead")(16,"tr"),E(17,"th",6),p(18,"th",7),m(19,"Free"),g(),p(20,"th",7)(21,"span",8),m(22,"PRO"),g()()()(),p(23,"tbody")(24,"tr")(25,"th",9),m(26,"Metrics"),g(),p(27,"td",10),E(28,"i",11),g(),p(29,"td",10),E(30,"i",11),g()(),p(31,"tr")(32,"th",9),m(33,"Risk Hotspots"),g(),p(34,"td",10),E(35,"i",11),g(),p(36,"td",10),E(37,"i",11),g()(),p(38,"tr")(39,"th",9),m(40,"Line coverage"),g(),p(41,"td",10),E(42,"i",11),g(),p(43,"td",10),E(44,"i",11),g()(),p(45,"tr")(46,"th",9),m(47,"Branch coverage"),g(),p(48,"td",10),E(49,"i",11),g(),p(50,"td",10),E(51,"i",11),g()(),p(52,"tr")(53,"th",9),m(54,"Method coverage"),g(),E(55,"td",10),p(56,"td",10),E(57,"i",11),g()()()()()()(),p(58,"section",12)(59,"div",0)(60,"h2"),m(61,"Get your license"),g(),p(62,"div",3)(63,"div",13)(64,"p"),m(65,"You can obtain your license in two easy steps (no sign up required):"),g(),p(66,"span",14),m(67,"1."),g(),p(68,"a",15),E(69,"i",16),m(70," Become a GitHub sponsor"),g(),E(71,"br"),p(72,"span",14),m(73,"2."),g(),p(74,"button",17),O("click",function(){return r.requestLicense()}),E(75,"i",18),m(76," Get license"),g(),se(77,gO,3,0,"div",19),g(),se(78,DO,4,3,"div",20),se(79,bO,9,2,"div",20),g()()(),p(80,"section",21)(81,"h2",1),m(82,"Frequently Asked Questions"),g(),p(83,"div",22)(84,"div",23)(85,"h2",24)(86,"button",25),m(87," Are there limitations on number of users? "),g()(),p(88,"div",26)(89,"div",27),m(90," There's no limit. Just pick a sponsor level that fits your company size and budget. If no level is a perfect fit, you can also enter a custom price. "),g()()(),p(91,"div",23)(92,"h2",28)(93,"button",29),m(94," Will my license expire? "),g()(),p(95,"div",30)(96,"div",27),m(97," Your license will not expire. "),g()()()()()),2&n&&(M(74),I("disabled",r.licenseRequested),M(3),I("ngIf",r.licenseRequested&&!r.license),M(1),I("ngIf",r.license),M(1),I("ngIf",!r.license))},directives:[Ys,hr],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]}),e})();function EO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",31)(2,"input",32),O("ngModelChange",function(o){return De(n),Y().selectedenvironment=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit,r=Y();M(2),I("ngModel",r.selectedenvironment)("value",n)("checked",r.selectedenvironment.name===n.name),M(2),Fe(n.name),M(3),Fe(n.description)}}const MO=function(e){return{"text-muted":e}};function SO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",34)(2,"input",35),O("ngModelChange",function(o){return De(n),Y().selectedpackage=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit,r=Y();M(1),I("ngClass",Fs(6,MO,-1===n.runtimes.indexOf(r.selectedenvironment.name))),M(1),I("ngModel",r.selectedpackage)("value",n)("disabled",-1===n.runtimes.indexOf(r.selectedenvironment.name)),M(2),Fe(n.name),M(3),Fe(n.description)}}function AO(e,t){if(1&e){const n=pt();p(0,"span",39),O("click",function(){De(n);const o=Y().index;return Y().removeReport(o)}),p(1,"a",40),E(2,"i",41),g()()}}const IO=function(e){return{"input-group":e}};function TO(e,t){if(1&e){const n=pt();p(0,"div",33)(1,"div",36)(2,"input",37),O("ngModelChange",function(o){const s=De(n).index;return Y().reports[s]=o}),g(),se(3,AO,3,0,"span",38),g()()}if(2&e){const n=t.index,r=Y();M(1),I("ngClass",Fs(4,IO,n>0)),M(1),yn("name","report_",n,""),I("ngModel",r.reports[n]),M(1),I("ngIf",n>0)}}function xO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",31)(2,"input",42),O("ngModelChange",function(o){return De(n).$implicit.checked=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit;M(2),I("ngModel",n.checked),M(2),Fe(n.name),M(3),Fe(n.description)}}function RO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",44),O("ngModelChange",function(o){const s=De(n).index;return Y().sourcedirectories[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeSourceDirectory(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","sourcedir_",n,""),I("ngModel",r.sourcedirectories[n])}}function FO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",45),O("ngModelChange",function(o){const s=De(n).index;return Y().plugins[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removePlugin(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","plugin_",n,""),I("ngModel",r.plugins[n])}}function NO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",46),O("ngModelChange",function(o){const s=De(n).index;return Y().assemblyfilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeAssemblyFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","assemblyfilter_",n,""),I("ngModel",r.assemblyfilters[n])}}function OO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",47),O("ngModelChange",function(o){const s=De(n).index;return Y().classfilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeClassFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","classfilter_",n,""),I("ngModel",r.classfilters[n])}}function PO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",48),O("ngModelChange",function(o){const s=De(n).index;return Y().filefilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeFileFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","filefilter_",n,""),I("ngModel",r.filefilters[n])}}function kO(e,t){if(1&e&&(p(0,"option",49),m(1),g()),2&e){const n=t.$implicit;I("value",n),M(1),Fe(n)}}function VO(e,t){if(1&e&&(p(0,"div")(1,"b"),m(2),g(),E(3,"br"),p(4,"pre",26),m(5),g()()),2&e){const n=t.$implicit;M(2),Fe(n.tool),M(3),Fe(n.command)}}function LO(e,t){if(1&e&&(p(0,"div")(1,"b"),m(2),g(),E(3,"br"),p(4,"pre",26),m(5),g()()),2&e){const n=t.$implicit;M(2),Fe(n.tool),M(3),Fe(n.command)}}function HO(e,t){1&e&&(p(0,"span"),E(1,"i",50),m(2," Copy"),g())}function BO(e,t){1&e&&(p(0,"span"),E(1,"i",51),m(2," Copied"),g())}const jO=function(){return["/pro"]};let yD=(()=>{class e{constructor(){this.environments=[{name:".NET Core",description:".NET Core"},{name:".NET Framework",description:"The full .NET framework"}],this.lastResult="",this.usageCopied=!1,this.packages=[{name:"ReportGenerator",url:"https://www.nuget.org/packages/ReportGenerator",runtimes:".NET Framework;.NET Core",description:"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",installoptions:[{tool:"Package Manager",command:"Install-Package ReportGenerator -Version x.y.z"},{tool:".NET CLI",command:"dotnet add package ReportGenerator --version x.y.z"}],executables:[{runtime:".NET Framework",tool:"$(UserProfile)\\.nuget\\packages\\reportgenerator\\x.y.z\\tools\\net47\\ReportGenerator.exe"},{runtime:".NET Core",tool:"dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\x.y.z\\tools\\net6.0\\ReportGenerator.dll"}]},{name:"dotnet-reportgenerator-globaltool",url:"https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",runtimes:".NET Core",description:"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",installoptions:[{tool:".NET CLI",command:"dotnet tool install --global dotnet-reportgenerator-globaltool --version x.y.z\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version x.y.z\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version x.y.z"}],executables:[{runtime:".NET Core",tool:"reportgenerator"}]}],this.verbosities=["Verbose","Info","Warning","Error","Off"],this.selectedenvironment=this.environments[0],this.selectedpackage=this.packages[0],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.htm) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1},{name:"HtmlSummary",description:"Creates a single HTML file (summary.htm) without links.",requiresHistoryDir:!1,checked:!1},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"HtmlInline",description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines",description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Light",description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Dark",description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1},{name:"Cobertura",description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[0],this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(n){return this.sourcedirectories.splice(n,1),!1}addReport(){return this.reports.push(""),!1}removeReport(n){return this.reports.splice(n,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(n){return this.plugins.splice(n,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(n){return this.assemblyfilters.splice(n,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(n){return this.classfilters.splice(n,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(n){return this.filefilters.splice(n,1),!1}getCommandLineParameters(){for(var n='"-reports:',r=0;r0&&(n+=";"),n+=this.reports[r]);n+='"',n+="\r\n",n+='"-targetdir:',n+=this.targetdir,n+='"';var o="";for(r=0;r0&&(o+=";"),o+=this.reporttypes[r].name);if(o.length>0&&"HTML"!==o&&(n+="\r\n",n+="-reporttypes:",n+=o),this.sourcedirectories.length>0){for(n+="\r\n",n+='"-sourcedirs:',r=0;r0&&(n+=";"),n+=this.sourcedirectories[r]);n+='"'}if(null!==this.historydir&&this.historydir.length>0&&(n+="\r\n",n+='"-historydir:',n+=this.historydir,n+='"'),this.plugins.length>0){for(n+="\r\n",n+='"-plugins:',r=0;r0&&(n+=";"),n+=this.plugins[r]);n+='"'}if(this.assemblyfilters.length>0){for(n+="\r\n",n+='"-assemblyfilters:',r=0;r0&&(n+=";"),n+=this.assemblyfilters[r]);n+='"'}if(this.classfilters.length>0){for(n+="\r\n",n+='"-classfilters:',r=0;r0&&(n+=";"),n+=this.classfilters[r]);n+='"'}if(this.filefilters.length>0){for(n+="\r\n",n+='"-filefilters:',r=0;r0&&(n+=";"),n+=this.filefilters[r]);n+='"'}return"Verbose"!==this.selectedverbosity&&(n+="\r\n",n+="-verbosity:",n+=this.selectedverbosity),""!==this.title&&(n+="\r\n",this.title.indexOf(" ")>-1?(n+='"-title:',n+=this.title,n+='"'):(n+="-title:",n+=this.title)),""!==this.tag&&(n+="\r\n",this.tag.indexOf(" ")>-1?(n+='"-tag:',n+=this.tag,n+='"'):(n+="-tag:",n+=this.tag)),""!==this.license&&(n+="\r\n",this.license.indexOf(" ")>-1?(n+='"-license:',n+=this.license,n+='"'):(n+="-license:",n+=this.license)),n}historyDirRequired(){for(let n=0;n0&&(r+="\r\n\r\n"),r+=this.selectedpackage.executables[o].tool,r+="\r\n",r+=n);return this.lastResult!==r&&(this.lastResult=r,this.usageCopied=!1),r}trackByIndex(n,r){return n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-usage-component"]],decls:218,vars:36,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModel","ngModelChange"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModel","required","ngModelChange"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModel","ngModelChange"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],[4,"ngFor","ngForOf"],[1,"text-dark","bg-light","p-2","border"],[1,"d-none","d-md-block","sticky"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[4,"ngIf"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[1,"form-check-label",3,"ngClass"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","disabled","ngModelChange"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","checkbox","name","reporttype",1,"form-check-input",3,"ngModel","ngModelChange"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],[3,"value"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"Usage"),g(),p(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),m(7,"Environment"),g(),se(8,EO,8,5,"div",4),p(9,"h4"),m(10,"NuGet Package"),g(),se(11,SO,8,8,"div",4),p(12,"h3"),m(13,"Reports"),g(),p(14,"div",5),m(15,"Path to the coverage report(s) that should be parsed."),E(16,"br"),m(17,"Globbing is supported."),g(),se(18,TO,4,6,"div",6),p(19,"div",7)(20,"a",8),O("click",function(){return r.addReport()}),E(21,"i",9),m(22," Add report"),g()(),E(23,"br"),p(24,"h3"),m(25,"Target directory"),g(),p(26,"div",5),m(27,"The directory where the generated report(s) should be saved."),g(),p(28,"div",7)(29,"input",10),O("ngModelChange",function(i){return r.targetdir=i}),g()(),E(30,"br"),p(31,"h3"),m(32,"Report types"),g(),p(33,"div",5),m(34,"Download "),p(35,"a",11),m(36,"sample reports"),g()(),se(37,xO,8,3,"div",4),p(38,"h3"),m(39,"Source directories"),g(),p(40,"div",5),m(41,"Optional directories which contain the corresponding source code."),E(42,"br"),m(43,"The source directories are used if coverage report contains classes without path information."),g(),se(44,RO,6,2,"div",12),p(45,"div",7)(46,"a",8),O("click",function(){return r.addSourceDirectory()}),E(47,"i",9),m(48," Add source directory"),g()(),E(49,"br"),p(50,"h3"),m(51,"History directory"),g(),p(52,"div",5),m(53,"Optional directory for storing "),p(54,"b"),m(55,"persistent"),g(),m(56," coverage information. Choose a directory which does not get deleted between builds."),E(57,"br"),m(58,"Required to show the history chart in the HTML reports."),g(),p(59,"div",7)(60,"input",13),O("ngModelChange",function(i){return r.historydir=i}),g()(),E(61,"br"),p(62,"h3"),m(63,"Plugins"),g(),p(64,"div",5),m(65,"Optional plugin files for "),p(66,"a",14),m(67,"custom reports"),g(),m(68," or "),p(69,"a",15),m(70,"custom history storage"),g(),m(71,"."),g(),se(72,FO,6,2,"div",12),p(73,"div",7)(74,"a",8),O("click",function(){return r.addPlugin()}),E(75,"i",9),m(76," Add plugin"),g()(),E(77,"br"),p(78,"h3"),m(79,"Assembly filters"),g(),p(80,"div",5),m(81,"Optional list of "),p(82,"b"),m(83,"assemblies"),g(),m(84," that should be included or excluded in the report. "),E(85,"br"),m(86,"Exclusion filters take precedence over inclusion filters. "),E(87,"br"),m(88,"Wildcards are allowed."),E(89,"br"),p(90,"p"),m(91,"Examples:"),E(92,"br"),p(93,"code"),m(94,"+Included"),g(),E(95,"br"),p(96,"code"),m(97,"-Excluded"),g()()(),se(98,NO,6,2,"div",12),p(99,"div",7)(100,"a",8),O("click",function(){return r.addAssemblyFilter()}),E(101,"i",9),m(102," Add assembly filter"),g()(),E(103,"br"),p(104,"h3"),m(105,"Class filters"),g(),p(106,"div",5),m(107,"Optional list of "),p(108,"b"),m(109,"classes"),g(),m(110," that should be included or excluded in the report. "),E(111,"br"),m(112,"Exclusion filters take precedence over inclusion filters. "),E(113,"br"),m(114,"Wildcards are allowed."),E(115,"br"),p(116,"p"),m(117,"Examples:"),E(118,"br"),p(119,"code"),m(120,"+Included"),g(),E(121,"br"),p(122,"code"),m(123,"-Excluded"),g()()(),se(124,OO,6,2,"div",12),p(125,"div",7)(126,"a",8),O("click",function(){return r.addClassFilter()}),E(127,"i",9),m(128," Add class filter"),g()(),E(129,"br"),p(130,"h3"),m(131,"File filters"),g(),p(132,"div",5),m(133,"Optional list of "),p(134,"b"),m(135,"files"),g(),m(136," that should be included or excluded in the report. "),E(137,"br"),m(138,"Exclusion filters take precedence over inclusion filters. "),E(139,"br"),m(140,"Wildcards are allowed."),E(141,"br"),p(142,"p"),m(143,"Examples:"),E(144,"br"),p(145,"code"),m(146,"+Included"),g(),E(147,"br"),p(148,"code"),m(149,"-Excluded"),g()()(),se(150,PO,6,2,"div",12),p(151,"div",7)(152,"a",8),O("click",function(){return r.addFileFilter()}),E(153,"i",9),m(154," Add file filter"),g()(),E(155,"br"),p(156,"h3"),m(157,"Verbosity"),g(),p(158,"div",5),m(159,"The verbosity level of the log messages."),g(),p(160,"div",7)(161,"select",16),O("ngModelChange",function(i){return r.selectedverbosity=i}),se(162,kO,2,2,"option",17),g()(),E(163,"br"),p(164,"h3"),m(165,"Title"),g(),p(166,"div",5),m(167,"Optional title."),g(),p(168,"div",7)(169,"input",18),O("ngModelChange",function(i){return r.title=i}),g()(),E(170,"br"),p(171,"h3"),m(172,"Tag"),g(),p(173,"div",5),m(174,"Optional tag or build version."),g(),p(175,"div",7)(176,"input",19),O("ngModelChange",function(i){return r.tag=i}),g()(),E(177,"br"),p(178,"h3"),m(179,"License"),g(),p(180,"div",5),m(181,"Optional license. Get your license here: "),p(182,"a",20),m(183,"https://danielpalme.github.io/ReportGenerator/pro"),g()(),p(184,"div",7)(185,"textarea",21),O("ngModelChange",function(i){return r.license=i}),g()()()(),p(186,"div",22)(187,"div",23)(188,"h3"),m(189,"Instructions"),g(),m(190," Install "),p(191,"a",24),m(192),g(),E(193,"br")(194,"br"),se(195,VO,6,2,"div",25),E(196,"br"),p(197,"h4"),m(198,"Usage"),g(),p(199,"pre",26),m(200),g()(),p(201,"div",27)(202,"h3"),m(203,"Instructions"),g(),m(204," Install "),p(205,"a",24),m(206),g(),E(207,"br")(208,"br"),se(209,LO,6,2,"div",25),E(210,"br"),p(211,"h4"),m(212,"Usage"),g(),p(213,"pre",26),m(214),g(),p(215,"button",28),O("click",function(){return r.copy()}),se(216,HO,3,0,"span",29),se(217,BO,3,0,"span",29),g()()()()()),2&n&&(M(8),I("ngForOf",r.environments),M(3),I("ngForOf",r.packages),M(7),I("ngForOf",r.reports)("ngForTrackBy",r.trackByIndex),M(11),I("ngModel",r.targetdir),M(8),I("ngForOf",r.reporttypes),M(7),I("ngForOf",r.sourcedirectories)("ngForTrackBy",r.trackByIndex),M(16),I("ngModel",r.historydir)("required",r.historyDirRequired()),M(12),I("ngForOf",r.plugins)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.assemblyfilters)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.classfilters)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.filefilters)("ngForTrackBy",r.trackByIndex),M(11),I("ngModel",r.selectedverbosity),M(1),I("ngForOf",r.verbosities)("ngForTrackBy",r.trackByIndex),M(7),I("ngModel",r.title),M(7),I("ngModel",r.tag),M(6),I("routerLink",Le(35,jO)),M(3),I("ngModel",r.license),M(6),I("href",r.selectedpackage.url,ko),M(1),Fe(r.selectedpackage.name),M(3),I("ngForOf",r.selectedpackage.installoptions),M(5),Fe(r.getUsage()),M(5),I("href",r.selectedpackage.url,ko),M(1),Fe(r.selectedpackage.name),M(3),I("ngForOf",r.selectedpackage.installoptions),M(5),Fe(r.getUsage()),M(2),I("ngIf",!r.usageCopied),M(1),I("ngIf",r.usageCopied))},directives:[pd,td,yi,vv,gd,fi,ed,ha,Rc,vi,Ys,Jc,Cd,pa,W_,Z_,hr],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:20px}"]}),e})();const UO=[{path:"",component:hO,pathMatch:"full",data:{title:"Home"}},{path:"usage",component:yD,data:{title:"Usage"}},{path:"usage.html",component:yD,data:{title:"Usage"}},{path:"pro",component:wO,data:{title:"PRO"}},{path:"contact",component:dO,data:{title:"Contact"}}];let $O=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[[uD.forRoot(UO)],uD]}),e})();const vD=function(){return["/"]},GO=function(e){return{show:e}},Ra=function(){return["link-active"]},qO=function(){return{exact:!0}},zO=function(){return["/usage"]},WO=function(){return["/contact"]},QO=function(){return["/pro"]};let ZO=(()=>{class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-nav-menu"]],decls:23,vars:24,consts:[[1,"mb-5"],[1,"navbar","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.png","height","48","alt","Icon",1,"me-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex","justify-content-end",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"pro-button"]],template:function(n,r){1&n&&(p(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),E(4,"img",4),m(5," ReportGenerator"),g(),p(6,"button",5),O("click",function(){return r.toggle()}),E(7,"span",6),g(),p(8,"div",7)(9,"ul",8)(10,"li",9)(11,"a",10),m(12,"Home"),g()(),p(13,"li",11)(14,"a",10),m(15,"Usage"),g()(),p(16,"li",11)(17,"a",10),m(18,"Contact"),g()(),p(19,"li",11)(20,"a",10)(21,"span",12),m(22,"PRO"),g()()()()()()()()),2&n&&(M(3),I("routerLink",Le(12,vD)),M(3),Vt("aria-expanded",r.isExpanded),M(2),I("ngClass",Fs(13,GO,r.isExpanded)),M(2),I("routerLinkActive",Le(15,Ra))("routerLinkActiveOptions",Le(16,qO)),M(1),I("routerLink",Le(17,vD)),M(2),I("routerLinkActive",Le(18,Ra)),M(1),I("routerLink",Le(19,zO)),M(2),I("routerLinkActive",Le(20,Ra)),M(1),I("routerLink",Le(21,WO)),M(2),I("routerLinkActive",Le(22,Ra)),M(1),I("routerLink",Le(23,QO)))},directives:[hr,Rc,oD],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{color:#fff;background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1c8eb7!important;font-weight:400}"]}),e})(),JO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-footer"]],decls:58,vars:0,consts:[[1,"container-fluid","mt-5","p-5"],[1,"container"],[1,"row"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3"],["href","https://github.com/danielpalme/ReportGenerator/issues","target","_blank"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(n,r){1&n&&(p(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p")(5,"b"),m(6,"GitHub"),g()(),p(7,"a",4),m(8,"Source code"),g(),E(9,"br"),p(10,"a",5),m(11,"Wiki"),g(),E(12,"br"),p(13,"a",6),m(14,"FAQ"),g()(),p(15,"div",7)(16,"p")(17,"b"),m(18,"Download"),g()(),p(19,"i"),m(20,"NuGet"),g(),E(21,"br"),p(22,"a",8),m(23,"ReportGenerator"),g(),E(24,"br"),p(25,"a",9),m(26,"dotnet-reportgenerator-globaltool"),g(),E(27,"br"),p(28,"a",10),m(29,"ReportGenerator.Core"),g(),E(30,"br")(31,"br"),p(32,"i"),m(33,"Integration"),g(),E(34,"br"),p(35,"a",11),m(36,"GitHub actions"),g(),E(37,"br"),p(38,"a",12),m(39,"Azure DevOps"),g()(),p(40,"div",13)(41,"p")(42,"b"),m(43,"Community"),g()(),p(44,"a",14),E(45,"i",15),m(46," GitHub"),g(),E(47,"br"),p(48,"a",16),E(49,"i",17),m(50," Twitter"),g(),E(51,"br")(52,"br"),p(53,"a",18),m(54,"Privacy"),g(),E(55,"br"),p(56,"a",19),m(57,"Imprint"),g()()()()())},styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]}),e})(),KO=(()=>{class e{constructor(n,r,o){this.titleService=n,this.router=r,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(wn(n=>n instanceof ao),ee(()=>this.activatedRoute),ee(n=>{for(;n.firstChild;)n=n.firstChild;return n}),wn(n=>"primary"===n.outlet),Ie(n=>n.data)).subscribe(n=>{this.titleService.setTitle(n.title+" - ReportGenerator")})}}return e.\u0275fac=function(n){return new(n||e)(D(kv),D(it),D(dr))},e.\u0275cmp=Wt({type:e,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&E(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},directives:[ZO,Pd,JO],encapsulation:2}),e})(),YO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e,bootstrap:[KO]}),e.\u0275inj=lt({providers:[pD,gD,fD],imports:[[Dx,$O,qx,QR]]}),e})();(function sI(){Wy=!1})(),_x().bootstrapModule(YO).catch(e=>console.error(e))}},ae=>{ae(ae.s=245)}]); \ No newline at end of file +"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{245:()=>{function ae(e){return"function"==typeof e}function fo(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 Ti=fo(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 ho(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class vt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=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(ae(r))try{r()}catch(i){t=i instanceof Ti?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{ef(i)}catch(s){t=null!=t?t:[],s instanceof Ti?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ti(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ef(t);else{if(t instanceof vt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&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)&&ho(n,t)}remove(t){const{_teardowns:n}=this;n&&ho(n,t),t instanceof vt&&t._removeParent(this)}}vt.EMPTY=(()=>{const e=new vt;return e.closed=!0,e})();const Yd=vt.EMPTY;function Xd(e){return e instanceof vt||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function ef(e){ae(e)?e():e.unsubscribe()}const zn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},xi={setTimeout(...e){const{delegate:t}=xi;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=xi;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function tf(e){xi.setTimeout(()=>{const{onUnhandledError:t}=zn;if(!t)throw e;t(e)})}function nf(){}const _D=Fa("C",void 0,void 0);function Fa(e,t,n){return{kind:e,value:t,error:n}}let Wn=null;function Ri(e){if(zn.useDeprecatedSynchronousErrorHandling){const t=!Wn;if(t&&(Wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Wn;if(Wn=null,n)throw r}}else e()}class Na extends vt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xd(t)&&t.add(this)):this.destination=SD}static create(t,n,r){return new Fi(t,n,r)}next(t){this.isStopped?Pa(function DD(e){return Fa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Pa(function CD(e){return Fa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Pa(_D,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 wD=Function.prototype.bind;function Oa(e,t){return wD.call(e,t)}class ED{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ni(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ni(r)}else Ni(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ni(n)}}}class Fi extends Na{constructor(t,n,r){let o;if(super(),ae(t)||!t)o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let i;this&&zn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Oa(t.next,i),error:t.error&&Oa(t.error,i),complete:t.complete&&Oa(t.complete,i)}):o=t}this.destination=new ED(o)}}function Ni(e){zn.useDeprecatedSynchronousErrorHandling?function bD(e){zn.useDeprecatedSynchronousErrorHandling&&Wn&&(Wn.errorThrown=!0,Wn.error=e)}(e):tf(e)}function Pa(e,t){const{onStoppedNotification:n}=zn;n&&xi.setTimeout(()=>n(e,t))}const SD={closed:!0,next:nf,error:function MD(e){throw e},complete:nf},ka="function"==typeof Symbol&&Symbol.observable||"@@observable";function Qn(e){return e}let _e=(()=>{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 ID(e){return e&&e instanceof Na||function AD(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}(e)&&Xd(e)}(n)?n:new Fi(n,r,o);return Ri(()=>{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=of(r))((o,i)=>{const s=new Fi({next:a=>{try{n(a)}catch(l){i(l),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)}[ka](){return this}pipe(...n){return function rf(e){return 0===e.length?Qn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=of(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function of(e){var t;return null!==(t=null!=e?e:zn.Promise)&&void 0!==t?t:Promise}const TD=fo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ln=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new sf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new TD}next(n){Ri(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){Ri(()=>{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(){Ri(()=>{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=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?Yd:(i.push(n),new vt(()=>ho(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new sf(t,n),e})();class sf extends ln{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:Yd}}function af(e){return ae(null==e?void 0:e.lift)}function Ve(e){return t=>{if(af(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 Oe(e,t,n,r,o){return new xD(e,t,n,r,o)}class xD extends Na{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}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 ee(e,t){return Ve((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{r.next(e.call(t,i,o++))}))})}function Zn(e){return this instanceof Zn?(this.v=e,this):new Zn(e)}function ND(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(y,_){i.push([f,h,y,_])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Zn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(y){d(i[0][3],y)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function OD(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 cf(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,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const df=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ff(e){return ae(null==e?void 0:e.then)}function hf(e){return ae(e[ka])}function pf(e){return Symbol.asyncIterator&&ae(null==e?void 0:e[Symbol.asyncIterator])}function gf(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 mf=function kD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function yf(e){return ae(null==e?void 0:e[mf])}function vf(e){return ND(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Zn(n.read());if(o)return yield Zn(void 0);yield yield Zn(r)}}finally{n.releaseLock()}})}function _f(e){return ae(null==e?void 0:e.getReader)}function qt(e){if(e instanceof _e)return e;if(null!=e){if(hf(e))return function VD(e){return new _e(t=>{const n=e[ka]();if(ae(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(df(e))return function LD(e){return new _e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,tf)})}(e);if(pf(e))return Cf(e);if(yf(e))return function BD(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(_f(e))return function jD(e){return Cf(vf(e))}(e)}throw gf(e)}function Cf(e){return new _e(t=>{(function UD(e,t){var n,r,o,i;return function RD(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=OD(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 un(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 Ie(e,t,n=1/0){return ae(t)?Ie((r,o)=>ee((i,s)=>t(r,i,o,s))(qt(e(r,o))),n):("number"==typeof t&&(n=t),Ve((r,o)=>function $D(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=_=>u{i&&t.next(_),u++;let w=!1;qt(n(_,c++)).subscribe(Oe(t,b=>{null==o||o(b),i?h(b):t.next(b)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(b)):y(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(Oe(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}function po(e=1/0){return Ie(Qn,e)}const cn=new _e(e=>e.complete());function La(e){return e[e.length-1]}function Df(e){return ae(La(e))?e.pop():void 0}function go(e){return function qD(e){return e&&ae(e.schedule)}(La(e))?e.pop():void 0}function bf(e,t=0){return Ve((n,r)=>{n.subscribe(Oe(r,o=>un(r,e,()=>r.next(o),t),()=>un(r,e,()=>r.complete(),t),o=>un(r,e,()=>r.error(o),t)))})}function wf(e,t=0){return Ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ef(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{un(n,t,()=>{const r=e[Symbol.asyncIterator]();un(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pe(e,t){return t?function YD(e,t){if(null!=e){if(hf(e))return function WD(e,t){return qt(e).pipe(wf(t),bf(t))}(e,t);if(df(e))return function ZD(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ff(e))return function QD(e,t){return qt(e).pipe(wf(t),bf(t))}(e,t);if(pf(e))return Ef(e,t);if(yf(e))return function JD(e,t){return new _e(n=>{let r;return un(n,t,()=>{r=e[mf](),un(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)}),()=>ae(null==r?void 0:r.return)&&r.return()})}(e,t);if(_f(e))return function KD(e,t){return Ef(vf(e),t)}(e,t)}throw gf(e)}(e,t):qt(e)}function Oi(e){return e<=0?()=>cn:Ve((t,n)=>{let r=0;t.subscribe(Oe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ha(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Oi(1)).subscribe(()=>e())}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 Ba(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 ja(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const tb=oe({__forward_ref__:oe});function le(e){return e.__forward_ref__=le,e.toString=function(){return te(this())},e}function U(e){return Mf(e)?e():e}function Mf(e){return"function"==typeof e&&e.hasOwnProperty(tb)&&e.__forward_ref__===le}class J extends Error{constructor(t,n){super(function Ua(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Qe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}function Pi(e,t){const n=t?` in ${t}`:"";throw new J(-201,`No provider for ${Qe(e)} found${n}`)}function at(e,t){null==e&&function de(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function $a(e){return Sf(e,ki)||Sf(e,If)}function Sf(e,t){return e.hasOwnProperty(t)?e[t]:null}function Af(e){return e&&(e.hasOwnProperty(Ga)||e.hasOwnProperty(lb))?e[Ga]:null}const ki=oe({\u0275prov:oe}),Ga=oe({\u0275inj:oe}),If=oe({ngInjectableDef:oe}),lb=oe({ngInjectorDef:oe});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let qa;function An(e){const t=qa;return qa=e,t}function Tf(e,t,n){const r=$a(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void Pi(te(e),"Injector")}function In(e){return{toString:e}.toString()}var xt=(()=>((xt=xt||{})[xt.OnPush=0]="OnPush",xt[xt.Default=1]="Default",xt))(),zt=(()=>{return(e=zt||(zt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",zt;var e})();const cb="undefined"!=typeof globalThis&&globalThis,db="undefined"!=typeof window&&window,fb="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,re=cb||"undefined"!=typeof global&&global||db||fb,mr={},ie=[],Vi=oe({\u0275cmp:oe}),za=oe({\u0275dir:oe}),Wa=oe({\u0275pipe:oe}),xf=oe({\u0275mod:oe}),fn=oe({\u0275fac:oe}),mo=oe({__NG_ELEMENT_ID__:oe});let hb=0;function Wt(e){return In(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===xt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,id:"c",styles:e.styles||ie,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=hb++,r.inputs=Of(e.inputs,n),r.outputs=Of(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Rf):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ff):null,r})}function Rf(e){return je(e)||function Tn(e){return e[za]||null}(e)}function Ff(e){return function Jn(e){return e[Wa]||null}(e)}const Nf={};function _t(e){return In(()=>{const t={type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Nf[e.id]=e.type),t})}function Of(e,t){if(null==e)return mr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const N=Wt;function je(e){return e[Vi]||null}function Ct(e,t){const n=e[xf]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const $=11;function Qt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function Ja(e){return 0!=(8&e.flags)}function ji(e){return 2==(2&e.flags)}function Ui(e){return 1==(1&e.flags)}function Nt(e){return null!==e.template}function _b(e){return 0!=(512&e[2])}function er(e,t){return e.hasOwnProperty(fn)?e[fn]:null}class bb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function bt(){return kf}function kf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Eb),wb}function wb(){const e=Lf(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===mr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Eb(e,t,n,r){const o=Lf(e)||function Mb(e,t){return e[Vf]=t}(e,{previous:mr,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new bb(l&&l.currentValue,t,s===mr),e[r]=t}bt.ngInherit=!0;const Vf="__ngSimpleChanges__";function Lf(e){return e[Vf]||null}let tl;function ge(e){return!!e.listen}const Hf={createRenderer:(e,t)=>function nl(){return void 0!==tl?tl:"undefined"!=typeof document?document:void 0}()};function we(e){for(;Array.isArray(e);)e=e[0];return e}function $i(e,t){return we(t[e])}function Et(e,t){return we(t[e.index])}function rl(e,t){return e.data[t]}function ct(e,t){const n=t[e];return Qt(n)?n:n[0]}function Bf(e){return 4==(4&e[2])}function ol(e){return 128==(128&e[2])}function xn(e,t){return null==t?null:e[t]}function jf(e){e[18]=0}function il(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const P={lFrame:Zf(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Uf(){return P.bindingsEnabled}function C(){return P.lFrame.lView}function K(){return P.lFrame.tView}function De(e){return P.lFrame.contextLView=e,e[8]}function Te(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return P.lFrame.currentTNode}function Zt(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function sl(){return P.lFrame.isParent}function Gi(){return P.isInCheckNoChangesMode}function qi(e){P.isInCheckNoChangesMode=e}function Ze(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function br(){return P.lFrame.bindingIndex++}function Ub(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,ll(t)}function ll(e){P.lFrame.currentDirectiveIndex=e}function zf(){return P.lFrame.currentQueryIndex}function cl(e){P.lFrame.currentQueryIndex=e}function Gb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wf(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=Gb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=Qf();return r.currentTNode=t,r.lView=e,!0}function zi(e){const t=Qf(),n=e[1];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qf(){const e=P.lFrame,t=null===e?null:e.child;return null===t?Zf(e):t}function Zf(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 Jf(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Kf=Jf;function Wi(){const e=Jf();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 Je(){return P.lFrame.selectedIndex}function Rn(e){P.lFrame.selectedIndex=e}function me(){const e=P.lFrame;return rl(e.tView,e.selectedIndex)}function Qi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Do{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ki(e,t,n){const r=ge(e);let o=0;for(;ot){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let pl=!0;function Xi(e){const t=pl;return pl=e,t}let iw=0;function wo(e,t){const n=ml(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,gl(r.data,e),gl(t,null),gl(r.blueprint,null));const o=es(e,t),i=e.injectorIndex;if(th(o)){const s=wr(o),a=Er(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function gl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ml(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function es(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ts(e,t,n){!function sw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(mo)&&(r=n[mo]),null==r&&(r=n[mo]=iw++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:lw:t}(n);if("function"==typeof i){if(!Wf(t,e,r))return r&V.Host?oh(o,n,r):ih(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;Pi(n)}finally{Kf()}}else if("number"==typeof i){let s=null,a=ml(e,t),l=-1,u=r&V.Host?t[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?es(e,t):t[a+8],-1!==l&&uh(r,!1)?(s=t[1],a=wr(l),t=Er(l,t)):a=-1);-1!==a;){const c=t[1];if(lh(i,a,c.data)){const d=uw(a,t,n,s,r,u);if(d!==ah)return d}l=t[a+8],-1!==l&&uh(r,t[1].data[a+8]===u)&&lh(i,a,t)?(s=c,a=wr(l),t=Er(l,t)):a=-1}}}return ih(t,n,r,o)}const ah={};function lw(){return new Mr(Te(),C())}function uw(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=ns(a,s,n,null==r?ji(a)&&pl:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?Eo(t,s,c,a):ah}function ns(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&y.type===n)return h}if(o){const h=s[l];if(h&&Nt(h)&&h.type===n)return l}return null}function Eo(e,t,n,r){let o=e[n];const i=t.data;if(function ew(e){return e instanceof Do}(o)){const s=o;s.resolving&&function nb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new J(-200,`Circular dependency in DI detected for ${e}${n}`)}(Qe(i[n]));const a=Xi(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?An(s.injectImpl):null;Wf(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Yb(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=kf(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&An(l),Xi(a),s.resolving=!1,Kf()}}return o}function lh(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[fn]||yl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[fn]||yl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function yl(e){return Mf(e)?()=>{const t=yl(U(e));return t&&t()}:er(e)}function Mo(e){return function aw(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 r=function vl(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(l,u,c){const d=l.hasOwnProperty(Ar)?l[Ar]:Object.defineProperty(l,Ar,{value:[]})[Ar];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class q{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=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const fw=new q("AnalyzeForEntryComponents");function Mt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Jt(n,t):t(n))}function dh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dt(e,t,n){let r=xr(e,t);return r>=0?e[1|r]=n:(r=~r,function gw(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 Cl(e,t){const n=xr(e,t);if(n>=0)return e[1|n]}function xr(e,t){return function ph(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<({token:e})),-1),Nn=Ro(Tr("Optional"),8),Fo=Ro(Tr("SkipSelf"),4);class Sh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function On(e){return e instanceof Sh?e.changingThisBreaksApplicationSecurity:e}const Zw=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jw=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Ee=(()=>((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function ko(e){const t=function Vo(){const e=C();return e&&e[12]}();return t?t.sanitize(Ee.URL,e)||"":function Oo(e,t){const n=function qw(e){return e instanceof Sh&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?On(e):function cs(e){return(e=String(e)).match(Zw)||e.match(Jw)?e:"unsafe:"+e}(L(e))}const kh="__ngContext__";function Ge(e,t){e[kh]=t}function Fl(e){const t=function Lo(e){return e[kh]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ol(e){return e.ngOriginalError}function _E(e,...t){e.error(...t)}class Ho{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function vE(e){return e&&e.ngErrorLogger||_E}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ol(t);for(;n&&Ol(n);)n=Ol(n);return n||null}}const TE=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(re))();function Yt(e){return e instanceof Function?e():e}var ft=(()=>((ft=ft||{})[ft.Important=1]="Important",ft[ft.DashCase=2]="DashCase",ft))();function kl(e,t){return undefined(e,t)}function Bo(e){const t=e[3];return Ft(t)?t[3]:t}function Vl(e){return qh(e[13])}function Ll(e){return qh(e[4])}function qh(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function Or(e,t,n,r,o){if(null!=r){let i,s=!1;Ft(r)?i=r:Qt(r)&&(s=!0,r=r[0]);const a=we(r);0===e&&null!==n?null==o?Kh(t,n,a):tr(t,n,a,o||null,!0):1===e&&null!==n?tr(t,n,a,o||null,!0):2===e?function op(e,t,n){const r=fs(e,t);r&&function $E(e,t,n,r){ge(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function zE(e,t,n,r,o){const i=n[7];i!==we(n)&&Or(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=rs(e,10+t);!function PE(e,t){jo(e,t,t[$],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qh(e,t){if(!(256&t[2])){const n=t[$];ge(n)&&n.destroyNode&&jo(e,t,n,3,null,null),function LE(e){let t=e[13];if(!t)return Ul(e[1],e);for(;t;){let n=null;if(Qt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qt(t)&&Ul(t[1],t),t=t[3];null===t&&(t=e),Qt(t)&&Ul(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ul(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function UE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ap(h,u,0)||2&r&&u!==f){if(Ot(r))return!1;s=!0}}}}else{if(!s&&!Ot(r)&&!Ot(l))return!1;if(s&&Ot(l))continue;s=!1,r=l|1&r}}return Ot(r)||s}function Ot(e){return 0==(1&e)}function KE(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&&!Ot(s)&&(t+=dp(i,o),o=""),r=s,i=i||!Ot(r);n++}return""!==o&&(t+=dp(i,o)),t}const H={};function M(e){fp(K(),C(),Je()+e,Gi())}function fp(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Zi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ji(t,i,0,n)}Rn(n)}function gs(e,t){return e<<17|t<<2}function Pt(e){return e>>17&32767}function Wl(e){return 2|e}function gn(e){return(131068&e)>>2}function Ql(e,t){return-131069&e|t<<2}function Zl(e){return 1|e}function wp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&fp(e,t,20,Gi()),n(r,o)}finally{Rn(i)}}function iu(e,t,n){!Uf()||(function I0(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||wo(n,t),Ge(r,t);const s=n.initialInputs;for(let a=o;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function Np(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Op(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function F0(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&uu(n)}}function uu(e){for(let r=Vl(e);null!==r;r=Ll(r))for(let o=10;o0&&uu(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&uu(o)}}function H0(e,t){const n=ct(t,e),r=n[1];(function B0(e,t){for(let n=t.length;nPromise.resolve(null))();function Hp(e){return e[7]||(e[7]=[])}function Bp(e){return e.cleanup||(e.cleanup=[])}function Up(e,t){const n=e[9],r=n?n.get(Ho,null):null;r&&r.handleError(t)}function $p(e,t,n,r,o){for(let i=0;ithis.processProvider(a,t,n)),Jt([t],a=>this.processInjectorType(a,[],i)),this.records.set(pu,Lr(void 0,this));const s=this.records.get(gu);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:te(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=To,r=V.Default){this.assertNotDestroyed();const o=yh(this),i=An(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function nM(e){return"function"==typeof e||"object"==typeof e&&e instanceof q}(t)&&$a(t);a=l&&this.injectableDefInScope(l)?Lr(yu(t),Go):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?qp():this.parent).get(t,n=r&V.Optional&&n===To?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[is]=s[is]||[]).unshift(te(t)),o)throw s;return function Iw(e,t,n,r){const o=e[is];throw t[mh]&&o.unshift(t[mh]),e.message=function Tw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).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):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(bw,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[is]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{An(i),yh(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(te(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processInjectorType(t,n,r){if(!(t=U(t)))return!1;let o=Af(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Af(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Jt(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;dthis.processProvider(y,f,h||ie))}}this.injectorDefTypes.add(s);const l=er(s)||(()=>new s);this.records.set(s,Lr(l,Go));const u=o.providers;if(null!=u&&!a){const c=t;Jt(u,d=>this.processProvider(d,c,u))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Hr(t=U(t))?t:U(t&&t.provide);const i=function J0(e,t,n){return Zp(e)?Lr(void 0,e.useValue):Lr(Qp(e),Go)}(t);if(Hr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Lr(void 0,Go,!0),s.factory=()=>wl(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===Go&&(n.value=W0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function tM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=U(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function yu(e){const t=$a(e),n=null!==t?t.factory:er(e);if(null!==n)return n;if(e instanceof q)throw new J(204,!1);if(e instanceof Function)return function Z0(e){const t=e.length;if(t>0)throw function Io(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new J(204,!1)}function Qp(e,t,n){let r;if(Hr(e)){const o=U(e);return er(o)||yu(o)}if(Zp(e))r=()=>U(e.useValue);else if(function Y0(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...wl(e.deps||[]));else if(function K0(e){return!(!e||!e.useExisting)}(e))r=()=>T(U(e.useExisting));else{const o=U(e&&(e.useClass||e.provide));if(!function eM(e){return!!e.deps}(e))return er(o)||yu(o);r=()=>new o(...wl(e.deps))}return r}function Lr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zp(e){return null!==e&&"object"==typeof e&&Ew in e}function Hr(e){return"function"==typeof e}let qe=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return zp({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return zp({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=To,e.NULL=new Gp,e.\u0275prov=k({token:e,providedIn:"any",factory:()=>T(pu)}),e.__NG_ELEMENT_ID__=-1,e})();function cM(e,t){Qi(Fl(e)[1],Te())}function ne(e){let t=function ag(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new J(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=Cu(e.inputs),s.declaredInputs=Cu(e.declaredInputs),s.outputs=Cu(e.outputs);const a=o.hostBindings;a&&pM(e,a);const l=o.viewQuery,u=o.contentQueries;if(l&&fM(e,l),u&&hM(e,u),Ba(e.inputs,o.inputs),Ba(e.declaredInputs,o.declaredInputs),Ba(e.outputs,o.outputs),Nt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Yi(o.hostAttrs,n=Yi(n,o.hostAttrs))}}(r)}function Cu(e){return e===mr?{}:e===ie?[]:e}function fM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function hM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function pM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ds=null;function Br(){if(!Ds){const e=re.Symbol;if(e&&e.iterator)Ds=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(we(B[r.index])):r.index;if(ge(n)){let B=null;if(!a&&l&&(B=function GM(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==B)(B.__ngLastListenerFn__||B).__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,h=!1;else{i=Ru(r,t,d,i,!1);const X=n.listen(b,o,i);f.push(i,X),c&&c.push(o,x,v,v+1)}}else i=Ru(r,t,d,i,!0),b.addEventListener(o,i,s),f.push(i),c&&c.push(o,x,v,s)}else i=Ru(r,t,d,i,!1);const y=r.outputs;let _;if(h&&null!==y&&(_=y[o])){const w=_.length;if(w)for(let b=0;b0;)t=t[15],e--;return t}(e,P.lFrame.contextLView))[8]}(e)}function yn(e,t,n,r,o){const i=C(),s=Ur(i,t,n,r);return s!==H&&ht(K(),me(),i,e,s,i[$],o,!1),yn}function Ug(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Pt(i):gn(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];JM(e[a],t)&&(l=!0,e[a+1]=r?Zl(c):Wl(c)),a=r?Pt(c):gn(c)}l&&(e[n+1]=r?Wl(i):Zl(i))}function JM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xr(e,t)>=0}function Es(e,t){return function Lt(e,t,n,r){const o=C(),i=K(),s=function pn(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Kg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Je()],s=function Jg(e,t){return t>=e.expandoStartIndex}(e,n);(function tm(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function iS(e,t,n,r){const o=function ul(e){const t=P.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=Qo(n=Fu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Fu(o,e,t,n,r),null===i){let l=function sS(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gn(r))return e[Pt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Fu(null,e,t,l[1],r),l=Qo(l,t.attrs,r),function aS(e,t,n,r){e[Pt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function lS(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=Pt(e[a+1]);e[r+1]=gs(f,a),0!==f&&(e[f+1]=Ql(e[f+1],r)),e[a+1]=function s0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=gs(a,0),0!==a&&(e[a+1]=Ql(e[a+1],r)),a=r;else e[r+1]=gs(l,0),0===a?a=r:e[l+1]=Ql(e[l+1],r),l=r;u&&(e[r+1]=Wl(e[r+1])),Ug(e,c,r,!0),Ug(e,c,r,!1),function ZM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&xr(i,t)>=0&&(n[r+1]=Zl(n[r+1]))}(t,c,e,r,i),s=gs(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==H&&ze(o,s,t)&&function Xg(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Ms(function gp(e){return 1==(1&e)}(u)?em(l,t,n,o,gn(u),s):void 0)||(Ms(i)||function pp(e){return 2==(2&e)}(u)&&(i=em(l,null,n,o,a,s)),function WE(e,t,n,r,o){const i=ge(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:ft.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=ft.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,$i(Je(),n),o,i))}(i,i.data[Je()],o,o[$],e,o[s+1]=function dS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(On(e)))),e}(t,n),r,s)}(e,t,null,!0),Es}function Fu(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 l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===H&&(f=d?ie:void 0);let h=d?Cl(f,r):c===r?f:void 0;if(u&&!Ms(h)&&(h=Cl(l,r)),Ms(h)&&(a=h,s))return a;const y=e[o+1];o=s?Pt(y):gn(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Cl(l,r))}return a}function Ms(e){return void 0!==e}function m(e,t=""){const n=C(),r=K(),o=e+20,i=r.firstCreatePass?Pr(r,o,1,t,null):r.data[o],s=n[o]=function Hl(e,t){return ge(e)?e.createText(t):e.createTextNode(t)}(n[$],t);hs(r,n,s,i),Zt(i,!1)}function Fe(e){return Nu("",e,""),Fe}function Nu(e,t,n){const r=C(),o=Ur(r,e,t,n);return o!==H&&mn(r,Je(),o),Nu}const Ss="en-US";let wm=Ss;function ku(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i>20;if(Hr(e)||!e.multi){const h=new Do(l,o,D),y=Lu(a,t,o?c:c+f,d);-1===y?(ts(wo(u,s),i,a),Vu(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[y]=h,s[y]=h)}else{const h=Lu(a,t,c+f,d),y=Lu(a,t,c,c+f),_=h>=0&&n[h],w=y>=0&&n[y];if(o&&!w||!o&&!_){ts(wo(u,s),i,a);const b=function xA(e,t,n,r,o){const i=new Do(e,n,D);return i.multi=[],i.index=t,i.componentProviders=0,Wm(i,o,r&&!n),i}(o?TA:IA,n.length,o,r,l);!o&&w&&(n[y].providerFactory=b),Vu(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else Vu(i,e,h>-1?h:y,Wm(n[o?y:h],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Vu(e,t,n,r){const o=Hr(t),i=function X0(e){return!!e.useClass}(t);if(o||i){const l=(i?U(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Wm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lu(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function AA(e,t,n){const r=K();if(r.firstCreatePass){const o=Nt(e);ku(n,r.data,r.blueprint,o,!0),ku(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Qm{}class NA{resolveComponentFactory(t){throw function FA(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new NA,e})();function OA(){return eo(Te(),C())}function eo(e,t){return new gt(Et(e,t))}let gt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=OA,e})();function PA(e){return e instanceof gt?e.nativeElement:e}class Jm{}let vn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function VA(){const e=C(),n=ct(Te().index,e);return function kA(e){return e[$]}(Qt(n)?n:e)}(),e})(),LA=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>null}),e})();class ei{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const HA=new ei("13.3.0"),Bu={};function Rs(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(we(i)),Ft(i))for(let a=10;a-1&&(jl(t,r),rs(n,r))}this._attachedToViewContainer=!1}Qh(this._lView[1],this._lView)}onDestroy(t){Tp(this._lView[1],this._lView,null,t)}markForCheck(){cu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){fu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function U0(e,t,n){qi(!0);try{fu(e,t,n)}finally{qi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new J(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function VE(e,t){jo(e,t,t[$],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,"");this._appRef=t}}class BA extends ti{constructor(t){super(t),this._view=t}detectChanges(){Lp(this._view)}checkNoChanges(){!function $0(e){qi(!0);try{Lp(e)}finally{qi(!1)}}(this._view)}get context(){return null}}class Km extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=je(t);return new ju(n,this.ngModule)}}function Ym(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ju extends Qm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function r0(e){return e.map(n0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ym(this.componentDef.inputs)}get outputs(){return Ym(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function UA(e,t){return{get:(n,r,o)=>{const i=e.get(n,Bu,o);return i!==Bu||r===Bu?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(Jm,Hf),a=i.get(LA,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function Ip(e,t,n){if(ge(e))return e.selectRootElement(t,n===zt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Bl(s.createRenderer(null,this.componentDef),u,function jA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),d=this.componentDef.onPush?576:528,f=function sg(e,t){return{components:[],scheduler:e||TE,clean:G0,playerHandler:t||null,flags:0}}(),h=vs(0,null,null,1,0,null,null,null,null,null),y=Uo(null,h,f,d,null,null,s,l,a,i);let _,w;zi(y);try{const b=function og(e,t,n,r,o,i){const s=n[1];n[20]=e;const l=Pr(s,20,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Cs(l,u,!0),null!==e&&(Ki(o,e,u),null!==l.classes&&zl(o,e,l.classes),null!==l.styles&&sp(o,e,l.styles)));const c=r.createRenderer(e,t),d=Uo(n,Sp(t),null,t.onPush?64:16,n[20],l,r,c,i||null,null);return s.firstCreatePass&&(ts(wo(l,n),s,t.type),Op(s,l),Pp(l,n.length,1)),_s(n,d),n[20]=d}(c,this.componentDef,y,s,l);if(c)if(r)Ki(l,c,["ng-version",HA.full]);else{const{attrs:v,classes:x}=function o0(e){const t=[],n=[];let r=1,o=2;for(;r0&&zl(l,c,x.join(" "))}if(w=rl(h,20),void 0!==n){const v=w.projection=[];for(let x=0;xl(s,t)),t.contentQueries){const l=Te();t.contentQueries(1,s,l.directiveStart)}const a=Te();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Rn(a.index),Fp(n[1],a,0,a.directiveStart,a.directiveEnd,t),Np(t,s)),s}(b,this.componentDef,y,f,[cM]),$o(h,y,null)}finally{Wi()}return new GA(this.componentType,_,eo(w,y),y,w)}}class GA extends class RA{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new BA(o),this.componentType=t}get injector(){return new Mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class _n{}class Xm{}const to=new Map;class ny extends _n{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Km(this);const r=Ct(t);this._bootstrapComponents=Yt(r.bootstrap),this._r3Injector=Wp(t,n,[{provide:_n,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],te(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=qe.THROW_IF_NOT_FOUND,r=V.Default){return t===qe||t===_n||t===pu?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Uu extends Xm{constructor(t){super(),this.moduleType=t,null!==Ct(t)&&function zA(e){const t=new Set;!function n(r){const o=Ct(r,!0),i=o.id;null!==i&&(function ey(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(i,to.get(i),r),to.set(i,r));const s=Yt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new ny(this.moduleType,t)}}function Le(e,t,n){const r=Ze()+e,o=C();return o[r]===H?en(o,r,n?t.call(n):t()):function zo(e,t){return e[t]}(o,r)}function Fs(e,t,n,r){return function ry(e,t,n,r,o,i){const s=t+n;return ze(e,s,o)?en(e,s+1,i?r.call(i,o):r(o)):function ni(e,t){const n=e[t];return n===H?void 0:n}(e,s+1)}(C(),Ze(),e,t,n,r)}function $u(e){return t=>{setTimeout(e,void 0,t)}}const ve=class l1 extends ln{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,l=n||(()=>null),u=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(i=d.error)||void 0===i?void 0:i.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=$u(l),a&&(a=$u(a)),u&&(u=$u(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof vt&&t.add(c),c}};function u1(){return this._results[Br()]()}class Gu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Br(),r=Gu.prototype;r[n]||(r[n]=u1)}get changes(){return this._changes||(this._changes=new ve)}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){const r=this;r.dirty=!1;const o=Mt(t);(this._changesDetected=!function hw(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=f1,e})();const c1=Cn,d1=class extends c1{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Uo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),$o(n,r,t),new ti(r)}};function f1(){return Ns(Te(),C())}function Ns(e,t){return 4&e.type?new d1(t,e,eo(e,t)):null}let Bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=h1,e})();function h1(){return cy(Te(),C())}const p1=Bt,ly=class extends p1{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return eo(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){const t=es(this._hostTNode,this._hostLView);if(th(t)){const n=Er(t,this._hostLView),r=wr(t);return new Mr(n[1].data[r+8],n)}return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=uy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function Ao(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const l=s?t:new ju(je(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(_n,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function Ob(e){return Ft(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new ly(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function HE(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=ks,this.reject=ks,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(T(ic,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ii=new q("AppId",{providedIn:"root",factory:function Fy(){return`${ac()}${ac()}${ac()}`}});function ac(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ny=new q("Platform Initializer"),Vs=new q("Platform ID"),Oy=new q("appBootstrapListener");let Py=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Vn=new q("LocaleId",{providedIn:"root",factory:()=>Sw(Vn,V.Optional|V.SkipSelf)||function j1(){return"undefined"!=typeof $localize&&$localize.locale||Ss}()});class $1{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ky=(()=>{class e{compileModuleSync(n){return new Uu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Yt(Ct(n).declarations).reduce((s,a)=>{const l=je(a);return l&&s.push(new ju(l)),s},[]);return new $1(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const q1=(()=>Promise.resolve(0))();function lc(e){"undefined"==typeof Zone?q1.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class He{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ve(!1),this.onMicrotaskEmpty=new ve(!1),this.onStable=new ve(!1),this.onError=new ve(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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 z1(){let e=re.requestAnimationFrame,t=re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Z1(e){const t=()=>{!function Q1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,cc(e),e.isCheckStableRunning=!0,uc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),cc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Vy(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ly(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Vy(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ly(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,cc(e),uc(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"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!He.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(He.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}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,W1,ks,ks);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 W1={};function uc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function cc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Vy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ly(e){e._nesting--,uc(e)}class J1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ve,this.onMicrotaskEmpty=new ve,this.onStable=new ve,this.onError=new ve}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let dc=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{He.assertNotInAngularZone(),lc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())lc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(T(He))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Hy=(()=>{class e{constructor(){this._applications=new Map,fc.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return fc.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class K1{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let jt,fc=new K1;const By=new q("AllowMultipleToken");class jy{constructor(t,n){this.name=t,this.token=n}}function Uy(e,t,n=[]){const r=`Platform: ${t}`,o=new q(r);return(i=[])=>{let s=$y();if(!s||s.injector.get(By,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:gu,useValue:"platform"});!function tI(e){if(jt&&!jt.destroyed&&!jt.injector.get(By,!1))throw new J(400,"");jt=e.get(Gy);const t=e.get(Ny,null);t&&t.forEach(n=>n())}(qe.create({providers:a,name:r}))}return function nI(e){const t=$y();if(!t)throw new J(401,"");return t}()}}function $y(){return jt&&!jt.destroyed?jt:null}let Gy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function rI(e,t){let n;return n="noop"===e?new J1:("zone.js"===e?void 0:e)||new He({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:He,useValue:a}];return a.run(()=>{const u=qe.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Ho,null);if(!d)throw new J(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{pc(this._modules,c),f.unsubscribe()})}),function oI(e,t,n){try{const r=n();return Wo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(sc);return f.runInitializers(),f.donePromise.then(()=>(function kS(e){at(e,"Expected localeId to be defined"),"string"==typeof e&&(wm=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Vn,Ss)||Ss),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=qy({},r);return function X1(e,t,n){const r=new Uu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(hc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new J(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function qy(e,t){return Array.isArray(t)?t.reduce(qy,e):Object.assign(Object.assign({},e),t)}let hc=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new _e(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new _e(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{He.assertNotInAngularZone(),lc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function XD(...e){const t=go(e),n=function zD(e,t){return"number"==typeof La(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?qt(r[0]):po(n)(Pe(r,t)):cn}(a,l.pipe(function eb(e={}){const{connector:t=(()=>new ln),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=l=null,c=d=!1},y=()=>{const _=s;h(),null==_||_.unsubscribe()};return Ve((_,w)=>{u++,!d&&!c&&f();const b=l=null!=l?l:t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Ha(y,o))}),b.subscribe(w),s||(s=new Fi({next:v=>b.next(v),error:v=>{d=!0,f(),a=Ha(h,n,v),b.error(v)},complete:()=>{c=!0,f(),a=Ha(h,r),b.complete()}}),Pe(_).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new J(405,"");let o;o=n instanceof Qm?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function eI(e){return e.isBoundToModule}(o)?void 0:this._injector.get(_n),a=o.create(qe.NULL,[],r||o.selector,i),l=a.location.nativeElement,u=a.injector.get(dc,null),c=u&&a.injector.get(Hy);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),pc(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new J(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;pc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Oy,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(T(He),T(qe),T(Ho),T(Xo),T(sc))},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Wy=!0,Ls=(()=>{class e{}return e.__NG_ELEMENT_ID__=aI,e})();function aI(e){return function lI(e,t,n){if(ji(e)&&!n){const r=ct(e.index,t);return new ti(r,r)}return 47&e.type?new ti(t[16],t):null}(Te(),C(),16==(16&e))}class Yy{constructor(){}supports(t){return qo(t)}create(t){return new pI(t)}}const hI=(e,t)=>t;class pI{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||hI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new gI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Xy),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xy),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Xy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ev(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{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 vI(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 vI{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 nv(){return new js([new Yy])}let js=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=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||nv()),deps:[[e,new Fo,new Nn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new J(901,"")}}return e.\u0275prov=k({token:e,providedIn:"root",factory:nv}),e})();function rv(){return new si([new tv])}let si=(()=>{class e{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||rv()),deps:[[e,new Fo,new Nn]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new J(901,"")}}return e.\u0275prov=k({token:e,providedIn:"root",factory:rv}),e})();const DI=Uy(null,"core",[{provide:Vs,useValue:"unknown"},{provide:Gy,deps:[qe]},{provide:Hy,deps:[]},{provide:Py,deps:[]}]);let bI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(T(hc))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})(),Us=null;function rn(){return Us}const et=new q("DocumentToken");let ir=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return function SI(){return T(ov)}()},providedIn:"platform"}),e})();const AI=new q("Location Initialized");let ov=(()=>{class e extends ir{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rn().getBaseHref(this._doc)}onPopState(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,o){iv()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){iv()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:function(){return function II(){return new ov(T(et))}()},providedIn:"platform"}),e})();function iv(){return!!window.history.pushState}function _c(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 sv(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 Dn(e){return e&&"?"!==e[0]?"?"+e:e}let ro=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:function(){return function TI(e){const t=T(et).location;return new av(T(ir),t&&t.origin||"")}()},providedIn:"root"}),e})();const Cc=new q("appBaseHref");let av=(()=>{class e extends ro{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return _c(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Dn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(T(ir),T(Cc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),xI=(()=>{class e extends ro{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=_c(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformLocation).historyGo)||void 0===o||o.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(T(ir),T(Cc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Dc=(()=>{class e{constructor(n,r){this._subject=new ve,this._urlChangeListeners=[],this._platformStrategy=n;const o=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=sv(lv(o)),this._platformStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Dn(r))}normalize(n){return e.stripTrailingSlash(function FI(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,lv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._platformStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}replaceState(n,r="",o=null){this._platformStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dn(r)),o)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,o;null===(o=(r=this._platformStrategy).historyGo)||void 0===o||o.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Dn,e.joinWithSlash=_c,e.stripTrailingSlash=sv,e.\u0275fac=function(n){return new(n||e)(T(ro),T(ir))},e.\u0275prov=k({token:e,factory:function(){return function RI(){return new Dc(T(ro),T(ir))}()},providedIn:"root"}),e})();function lv(e){return e.replace(/\/index.html$/,"")}function yv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let Rc=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(qo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${te(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(D(js),D(si),D(gt),D(vn))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class mT{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vv=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new mT(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),_v(a,o)}});for(let o=0,i=r.length;o{_v(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Bt),D(Cn),D(js))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function _v(e,t){e.context.$implicit=t.item}let Ys=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new yT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Cv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Cv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Bt),D(Cn))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class yT{constructor(){this.$implicit=null,this.ngIf=null}}function Cv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}let GT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})();let QT=(()=>{class e{}return e.\u0275prov=k({token:e,providedIn:"root",factory:()=>new ZT(T(et),window)}),e})();class ZT{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function JT(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ev(this.window.history)||Ev(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Ev(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Mv{}class kc extends class KT extends class MI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EI(e){Us||(Us=e)}(new kc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function YT(){return ui=ui||document.querySelector("base"),ui?ui.getAttribute("href"):null}();return null==n?null:function XT(e){Xs=Xs||document.createElement("a"),Xs.setAttribute("href",e);const t=Xs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ui=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return yv(document.cookie,t)}}let Xs,ui=null;const Sv=new q("TRANSITION_ID"),tx=[{provide:ic,useFactory:function ex(e,t,n){return()=>{n.get(sc).donePromise.then(()=>{const r=rn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let nx=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const ea=new q("EventManagerPlugins");let ta=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),ci=(()=>{class e extends Iv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Tv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Tv))}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function Tv(e){rn().remove(e)}const Lc={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/"},Hc=/%COMP%/g;function na(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Bc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new jc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case zt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new lx(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case zt.ShadowDom:return new ux(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=na(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(T(ta),T(ci),T(ii))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class jc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Lc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Lc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Lc[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&(ft.DashCase|ft.Important)?t.style.setProperty(n,r,o&ft.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ft.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Fv(r)):this.eventManager.addEventListener(t,n,Fv(r))}}class lx extends jc{constructor(t,n,r,o){super(t),this.component=r;const i=na(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function ix(e){return"_ngcontent-%COMP%".replace(Hc,e)}(o+"-"+r.id),this.hostAttr=function sx(e){return"_nghost-%COMP%".replace(Hc,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class ux extends jc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=na(o.id,o.styles,[]);for(let s=0;s{class e extends Av{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Ov=["alt","control","meta","shift"],fx={"\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"},Pv={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},hx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let px=(()=>{class e extends Av{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(Ov.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function gx(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Pv.hasOwnProperty(t)&&(t=Pv[t]))}return fx[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Ov.forEach(i=>{i!=o&&hx[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const _x=Uy(DI,"browser",[{provide:Vs,useValue:"browser"},{provide:Ny,useValue:function mx(){kc.makeCurrent(),Vc.init()},multi:!0},{provide:et,useFactory:function vx(){return function xb(e){tl=e}(document),document},deps:[]}]),Cx=[{provide:gu,useValue:"root"},{provide:Ho,useFactory:function yx(){return new Ho},deps:[]},{provide:ea,useClass:cx,multi:!0,deps:[et,He,Vs]},{provide:ea,useClass:px,multi:!0,deps:[et]},{provide:Bc,useClass:Bc,deps:[ta,ci,ii]},{provide:Jm,useExisting:Bc},{provide:Iv,useExisting:ci},{provide:ci,useClass:ci,deps:[et]},{provide:dc,useClass:dc,deps:[He]},{provide:ta,useClass:ta,deps:[ea,He]},{provide:Mv,useClass:nx,deps:[]}];let Dx=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:ii,useValue:n.appId},{provide:Sv,useExisting:ii},tx]}}}return e.\u0275fac=function(n){return new(n||e)(T(e,12))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:Cx,imports:[GT,bI]}),e})(),kv=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(T(et))},e.\u0275prov=k({token:e,factory:function(n){let r=null;return r=n?new n:function wx(){return new kv(T(et))}(),r},providedIn:"root"}),e})();function j(...e){return Pe(e,go(e))}function oo(e,t){return ae(t)?Ie(e,t,1):Ie(e,1)}function wn(e,t){return Ve((n,r)=>{let o=0;n.subscribe(Oe(r,i=>e.call(t,i,o++)&&r.next(i)))})}"undefined"!=typeof window&&window;class Hv{}class Bv{}class En{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{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])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}: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 En?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 En;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof En?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)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Fx{encodeKey(t){return jv(t)}encodeValue(t){return jv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Ox=/%(\d[a-f0-9])/gi,Px={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function jv(e){return encodeURIComponent(e).replace(Ox,(t,n)=>{var r;return null!==(r=Px[n])&&void 0!==r?r:t})}function Uv(e){return`${e}`}class Hn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Fx,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Nx(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))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):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 Hn({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(Uv(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(Uv(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 kx{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 $v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Gv(e){return"undefined"!=typeof Blob&&e instanceof Blob}function qv(e){return"undefined"!=typeof FormData&&e instanceof FormData}class di{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 Vx(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new En),this.context||(this.context=new kx),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]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new di(r,o,s,{params:c,headers:u,context:d,reportProgress:l,responseType:i,withCredentials:a})}}var Ae=(()=>((Ae=Ae||{})[Ae.Sent=0]="Sent",Ae[Ae.UploadProgress=1]="UploadProgress",Ae[Ae.ResponseHeader=2]="ResponseHeader",Ae[Ae.DownloadProgress=3]="DownloadProgress",Ae[Ae.Response=4]="Response",Ae[Ae.User=5]="User",Ae))();class $c{constructor(t,n=200,r="OK"){this.headers=t.headers||new En,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 Gc extends $c{constructor(t={}){super(t),this.type=Ae.ResponseHeader}clone(t={}){return new Gc({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 ra extends $c{constructor(t={}){super(t),this.type=Ae.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ra({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 zv extends $c{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function qc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let zc=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof di)i=n;else{let l,u;l=o.headers instanceof En?o.headers:new En(o.headers),o.params&&(u=o.params instanceof Hn?o.params:new Hn({fromObject:o.params})),i=new di(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=j(i).pipe(oo(l=>this.handler.handle(l)));if(n instanceof di||"events"===o.observe)return s;const a=s.pipe(wn(l=>l instanceof ra));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.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 Hn).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,qc(o,r))}post(n,r,o={}){return this.request("POST",n,qc(o,r))}put(n,r,o={}){return this.request("PUT",n,qc(o,r))}}return e.\u0275fac=function(n){return new(n||e)(T(Hv))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();class Wv{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const Qv=new q("HTTP_INTERCEPTORS");let Hx=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Bx=/^\)\]\}',?\n/;let Zv=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _e(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,y)=>o.setRequestHeader(h,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",y=new En(o.getAllResponseHeaders()),_=function jx(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Gc({headers:y,status:o.status,statusText:h,url:_}),s},l=()=>{let{headers:h,status:y,statusText:_,url:w}=a(),b=null;204!==y&&(b=void 0===o.response?o.responseText:o.response),0===y&&(y=b?200:0);let v=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const x=b;b=b.replace(Bx,"");try{b=""!==b?JSON.parse(b):null}catch(B){b=x,v&&(v=!1,b={error:B,text:b})}}v?(r.next(new ra({body:b,headers:h,status:y,statusText:_,url:w||void 0})),r.complete()):r.error(new zv({error:b,headers:h,status:y,statusText:_,url:w||void 0}))},u=h=>{const{url:y}=a(),_=new zv({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(_)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let y={type:Ae.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(y.total=h.total),"text"===n.responseType&&!!o.responseText&&(y.partialText=o.responseText),r.next(y)},f=h=>{let y={type:Ae.UploadProgress,loaded:h.loaded};h.lengthComputable&&(y.total=h.total),r.next(y)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:Ae.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(T(Mv))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const Wc=new q("XSRF_COOKIE_NAME"),Qc=new q("XSRF_HEADER_NAME");class Jv{}let Ux=(()=>{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=yv(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(T(et),T(Vs),T(Wc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Zc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(T(Jv),T(Qc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),$x=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(Qv,[]);this.chain=r.reduceRight((o,i)=>new Wv(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(T(Bv),T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),Gx=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Zc,useClass:Hx}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Wc,useValue:n.cookieName}:[],n.headerName?{provide:Qc,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:[Zc,{provide:Qv,useExisting:Zc,multi:!0},{provide:Jv,useClass:Ux},{provide:Wc,useValue:"XSRF-TOKEN"},{provide:Qc,useValue:"X-XSRF-TOKEN"}]}),e})(),qx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({providers:[zc,{provide:Hv,useClass:$x},Zv,{provide:Bv,useExisting:Zv}],imports:[[Gx.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();const{isArray:zx}=Array,{getPrototypeOf:Wx,prototype:Qx,keys:Zx}=Object;function Kv(e){if(1===e.length){const t=e[0];if(zx(t))return{args:t,keys:null};if(function Jx(e){return e&&"object"==typeof e&&Wx(e)===Qx}(t)){const n=Zx(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:Kx}=Array;function Yv(e){return ee(t=>function Yx(e,t){return Kx(t)?e(...t):e(t)}(e,t))}function Xv(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let e_=(()=>{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)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt))},e.\u0275dir=N({type:e}),e})(),sr=(()=>{class e extends e_{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,features:[ne]}),e})();const on=new q("NgValueAccessor"),eR={provide:on,useExisting:le(()=>Jc),multi:!0};let Jc=(()=>{class e extends sr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&O("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[he([eR]),ne]}),e})();const tR={provide:on,useExisting:le(()=>fi),multi:!0},rR=new q("CompositionEventMode");let fi=(()=>{class e extends e_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function nR(){const e=rn()?rn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":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)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt),D(rR,8))},e.\u0275dir=N({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(n,r){1&n&&O("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[he([tR]),ne]}),e})();function Bn(e){return null==e||0===e.length}const We=new q("NgValidators"),jn=new q("NgAsyncValidators");function o_(e){return Bn(e.value)?{required:!0}:null}function oa(e){return null}function c_(e){return null!=e}function d_(e){const t=Wo(e)?Pe(e):e;return xu(t),t}function f_(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function h_(e,t){return t.map(n=>n(e))}function p_(e){return e.map(t=>function iR(e){return!e.validate}(t)?t:n=>t.validate(n))}function Kc(e){return null!=e?function g_(e){if(!e)return null;const t=e.filter(c_);return 0==t.length?null:function(n){return f_(h_(n,t))}}(p_(e)):null}function Yc(e){return null!=e?function m_(e){if(!e)return null;const t=e.filter(c_);return 0==t.length?null:function(n){return function Xx(...e){const t=Df(e),{args:n,keys:r}=Kv(e),o=new _e(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?Xv(r,a):a),i.complete())}))}});return t?o.pipe(Yv(t)):o}(h_(n,t).map(d_)).pipe(ee(f_))}}(p_(e)):null}function y_(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Xc(e){return e?Array.isArray(e)?e:[e]:[]}function ia(e,t){return Array.isArray(e)?e.includes(t):e===t}function C_(e,t){const n=Xc(t);return Xc(e).forEach(o=>{ia(n,o)||n.push(o)}),n}function D_(e,t){return Xc(t).filter(n=>!ia(e,n))}class b_{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=Kc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Yc(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){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 Un extends b_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tt extends b_{get formDirective(){return null}get path(){return null}}class w_{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}let ed=(()=>{class e extends w_{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(Un,2))},e.\u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Es("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[ne]}),e})(),td=(()=>{class e extends w_{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(tt,10))},e.\u0275dir=N({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Es("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[ne]}),e})();function hi(e,t){od(e,t),t.valueAccessor.writeValue(e.value),function hR(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&M_(e,t)})}(e,t),function gR(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 pR(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&M_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function fR(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ua(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function od(e,t){const n=function v_(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(y_(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function __(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(y_(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ua(t._rawValidators,o),ua(t._rawAsyncValidators,o)}function M_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ad(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const pi="VALID",da="INVALID",io="PENDING",gi="DISABLED";function ud(e){return(fa(e)?e.validators:e)||null}function T_(e){return Array.isArray(e)?Kc(e):e||null}function cd(e,t){return(fa(t)?t.asyncValidators:e)||null}function x_(e){return Array.isArray(e)?Yc(e):e||null}function fa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const dd=e=>e instanceof hd;function F_(e){return(e=>e instanceof P_)(e)?e.value:e.getRawValue()}function N_(e,t){const n=dd(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new J(1e3,"");if(!r[t])throw new J(1001,"")}function O_(e,t){dd(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new J(1002,"")})}class fd{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._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=T_(this._rawValidators),this._composedAsyncValidatorFn=x_(this._rawAsyncValidators)}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===pi}get invalid(){return this.status===da}get pending(){return this.status==io}get disabled(){return this.status===gi}get enabled(){return this.status!==gi}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._rawValidators=t,this._composedValidatorFn=T_(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=x_(t)}addValidators(t){this.setValidators(C_(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(C_(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(D_(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(D_(t,this._rawAsyncValidators))}hasValidator(t){return ia(this._rawValidators,t)}hasAsyncValidator(t){return ia(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=io,!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=gi,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=pi,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},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}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pi||this.status===io)&&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()?gi:pi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=io,this._hasOwnPendingAsyncValidator=!0;const n=d_(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){return function _R(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=dd(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:(e=>e instanceof DR)(r)&&r.at(o)||null}),r}(this,t,".")}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 ve,this.statusChanges=new ve}_calculateStatus(){return this._allControlsDisabled()?gi:this.errors?da:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(io)?io:this._anyControlsHaveStatus(da)?da:pi}_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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){fa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class P_ extends fd{constructor(t=null,n,r){super(ud(n),cd(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}),fa(n)&&n.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(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){ad(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ad(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){this._isBoxedValue(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}}class hd extends fd{constructor(t,n,r){super(ud(n),cd(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={}){O_(this,t),Object.keys(t).forEach(r=>{N_(this,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=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=F_(n),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 of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_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}}class DR extends fd{constructor(t,n,r){super(ud(n),cd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){O_(this,t),t.forEach((r,o)=>{N_(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>F_(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const bR={provide:tt,useExisting:le(()=>yi)},mi=(()=>Promise.resolve(null))();let yi=(()=>{class e extends tt{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ve,this.form=new hd({},Kc(n),Yc(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){mi.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),hi(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){mi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){mi.then(()=>{const r=this._findContainer(n.path),o=new hd({});(function S_(e,t){od(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){mi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){mi.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function I_(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),!1}onReset(){this.resetForm()}resetForm(n){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}}return e.\u0275fac=function(n){return new(n||e)(D(We,10),D(jn,10))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&O("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[he([bR]),ne]}),e})();const ER={provide:Un,useExisting:le(()=>ha)},L_=(()=>Promise.resolve(null))();let ha=(()=>{class e extends Un{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new P_,this._registered=!1,this.update=new ve,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function sd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===fi?n=i:function vR(e){return Object.getPrototypeOf(e.constructor)===sr}(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 id(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(){hi(this.control,this),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){L_.then(()=>{var r;this.control.setValue(n,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;L_.then(()=>{var i;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_getPath(n){return this._parent?function aa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(D(tt,9),D(We,10),D(jn,10),D(on,10),D(Ls,8))},e.\u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[he([ER]),ne,bt]}),e})(),pd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const SR={provide:on,useExisting:le(()=>gd),multi:!0};let B_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})(),AR=(()=>{class e{constructor(){this._accessors=[]}add(n,r){this._accessors.push([n,r])}remove(n){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===n)return void this._accessors.splice(r,1)}select(n){this._accessors.forEach(r=>{this._isSameGroup(r,n)&&r[1]!==n&&r[1].fireUncheck(n.value)})}_isSameGroup(n,r){return!!n[0].control&&n[0]._parent===r._control._parent&&n[1].name===r.name}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:B_}),e})(),gd=(()=>{class e extends sr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Un),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}fireUncheck(n){this.writeValue(n)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(n){return new(n||e)(D(vn),D(gt),D(AR),D(qe))},e.\u0275dir=N({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&O("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[he([SR]),ne]}),e})();const OR={provide:on,useExisting:le(()=>pa),multi:!0};function z_(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let pa=(()=>{class e extends sr{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=z_(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 Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function PR(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&O("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[he([OR]),ne]}),e})(),W_=(()=>{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(z_(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))}}return e.\u0275fac=function(n){return new(n||e)(D(gt),D(vn),D(pa,9))},e.\u0275dir=N({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const kR={provide:on,useExisting:le(()=>_d),multi:!0};function Q_(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let _d=(()=>{class e extends sr{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{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(Q_(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Q_(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))}}return e.\u0275fac=function(n){return new(n||e)(D(gt),D(vn),D(_d,9))},e.\u0275dir=N({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),ar=(()=>{class e{constructor(){this._validator=oa}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):oa,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=N({type:e,features:[bt]}),e})();const jR={provide:We,useExisting:le(()=>vi),multi:!0};let vi=(()=>{class e extends ar{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n=>function LR(e){return null!=e&&!1!==e&&"false"!=`${e}`}(n),this.createValidator=n=>o_}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){2&n&&Vt("required",r._enabled?"":null)},inputs:{required:"required"},features:[he([jR]),ne]}),e})();const zR={provide:We,useExisting:le(()=>Cd),multi:!0};let Cd=(()=>{class e extends ar{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function u_(e){if(!e)return oa;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(Bn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=$e(e)))(r||e)}}(),e.\u0275dir=N({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&Vt("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[he([zR]),ne]}),e})(),WR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[[B_]]}),e})(),QR=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[WR]}),e})();class Gt extends ln{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 oC(e,t,n){e?un(n,e,t):t()}function ga(e,t){const n=ae(e)?e:()=>e,r=o=>o.error(n());return new _e(t?o=>t.schedule(r,0,o):r)}const ma=fo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Dd(...e){return function KR(){return po(1)}()(Pe(e,go(e)))}function iC(e){return new _e(t=>{qt(e()).subscribe(t)})}function sC(){return Ve((e,t)=>{let n=null;e._refCount++;const r=Oe(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 YR extends _e{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,af(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,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new vt;const n=this.getSubject();t.add(this.source.subscribe(Oe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=vt.EMPTY)}return t}refCount(){return sC()(this)}}function lr(e,t){return Ve((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Oe(r,l=>{null==o||o.unsubscribe();let u=0;const c=i++;qt(e(l,c)).subscribe(o=Oe(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function eF(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(Oe(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function aC(e,t){return Ve(eF(e,t,arguments.length>=2,!0))}function $n(e){return Ve((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Oe(n,void 0,void 0,s=>{i=qt(e(s,$n(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function bd(e){return e<=0?()=>cn:Ve((t,n)=>{let r=[];t.subscribe(Oe(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function lC(e=tF){return Ve((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function tF(){return new ma}function uC(e){return Ve((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function so(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):Qn,Oi(1),n?uC(t):lC(()=>new ma))}function mt(e,t,n){const r=ae(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ve((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Oe(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):Qn}class Mn{constructor(t,n){this.id=t,this.url=n}}class wd extends Mn{constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ao extends Mn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cC extends Mn{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oF extends Mn{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class iF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aF extends Mn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uF extends Mn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dC{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fC{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cF{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dF{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fF{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hF{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hC{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const W="primary";class pF{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 lo(e){return new pF(e)}const pC="ngNavigationCancelingError";function Ed(e){const t=Error("NavigationCancelingError: "+e);return t[pC]=!0,t}function mF(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 mC(e){return Array.prototype.concat.apply([],e)}function yC(e){return e.length>0?e[e.length-1]:null}function Be(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function an(e){return xu(e)?e:Wo(e)?Pe(Promise.resolve(e)):j(e)}const _F={exact:function CC(e,t,n){if(!cr(e.segments,t.segments)||!ya(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!CC(e.children[r],t.children[r],n))return!1;return!0},subset:DC},vC={exact:function CF(e,t){return sn(e,t)},subset:function DF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gC(e[n],t[n]))},ignored:()=>!0};function _C(e,t,n){return _F[n.paths](e.root,t.root,n.matrixParams)&&vC[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function DC(e,t,n){return bC(e,t,t.segments,n)}function bC(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!cr(o,n)||t.hasChildren()||!ya(o,n,r))}if(e.segments.length===n.length){if(!cr(e.segments,n)||!ya(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!DC(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(cr(e.segments,o)&&ya(e.segments,o,r)&&e.children[W])&&bC(e.children[W],t,i,r)}}function ya(e,t,n){return t.every((r,o)=>vC[n](e[o].parameters,r.parameters))}class ur{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lo(this.queryParams)),this._queryParamMap}toString(){return EF.serialize(this)}}class Z{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Be(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return va(this)}}class _i{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=lo(this.parameters)),this._parameterMap}toString(){return AC(this)}}function cr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class wC{}class EC{parse(t){const n=new NF(t);return new ur(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ci(t.root,!0)}`,r=function AF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${_a(n)}=${_a(o)}`).join("&"):`${_a(n)}=${_a(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function MF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const EF=new EC;function va(e){return e.segments.map(t=>AC(t)).join("/")}function Ci(e,t){if(!e.hasChildren())return va(e);if(t){const n=e.children[W]?Ci(e.children[W],!1):"",r=[];return Be(e.children,(o,i)=>{i!==W&&r.push(`${i}:${Ci(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function wF(e,t){let n=[];return Be(e.children,(r,o)=>{o===W&&(n=n.concat(t(r,o)))}),Be(e.children,(r,o)=>{o!==W&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===W?[Ci(e.children[W],!1)]:[`${o}:${Ci(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[W]?`${va(e)}/${n[0]}`:`${va(e)}/(${n.join("//")})`}}function MC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _a(e){return MC(e).replace(/%3B/gi,";")}function Md(e){return MC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(e){return decodeURIComponent(e)}function SC(e){return Ca(e.replace(/\+/g,"%20"))}function AC(e){return`${Md(e.path)}${function SF(e){return Object.keys(e).map(t=>`;${Md(t)}=${Md(e[t])}`).join("")}(e.parameters)}`}const IF=/^[^\/()?;=#]+/;function Da(e){const t=e.match(IF);return t?t[0]:""}const TF=/^[^=?&#]+/,RF=/^[^&#]+/;class NF{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[W]=new Z(t,n)),r}parseSegment(){const t=Da(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new _i(Ca(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Da(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Da(this.remaining);o&&(r=o,this.capture(r))}t[Ca(n)]=Ca(r)}parseQueryParam(t){const n=function xF(e){const t=e.match(TF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function FF(e){const t=e.match(RF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=SC(n),i=SC(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=Da(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let i;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=W);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[W]:new Z([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class IC{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=Sd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Sd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Ad(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ad(t,this._root).map(n=>n.value)}}function Sd(e,t){if(e===t.value)return t;for(const n of t.children){const r=Sd(e,n);if(r)return r}return null}function Ad(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ad(e,n);if(r.length)return r.unshift(t),r}return[]}class Sn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function uo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class TC extends IC{constructor(t,n){super(t),this.snapshot=n,Id(this,t)}toString(){return this.snapshot.toString()}}function xC(e,t){const n=function OF(e,t){const s=new ba([],{},{},"",{},W,t,null,e.root,-1,{});return new FC("",new Sn(s,[]))}(e,t),r=new Gt([new _i("",{})]),o=new Gt({}),i=new Gt({}),s=new Gt({}),a=new Gt(""),l=new dr(r,o,s,a,i,W,t,n.root);return l.snapshot=n.root,new TC(new Sn(l,[]),n)}class dr{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ee(t=>lo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>lo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function RC(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function PF(e){return e.reduce((t,n)=>({params:Object.assign(Object.assign({},t.params),n.params),data:Object.assign(Object.assign({},t.data),n.data),resolve:Object.assign(Object.assign({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ba{constructor(t,n,r,o,i,s,a,l,u,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=lo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=lo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class FC extends IC{constructor(t,n){super(n),this.url=t,Id(this,n)}toString(){return NC(this._root)}}function Id(e,t){t.value._routerState=e,t.children.forEach(n=>Id(e,n))}function NC(e){const t=e.children.length>0?` { ${e.children.map(NC).join(", ")} } `:"";return`${e.value}${t}`}function Td(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,sn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),sn(t.params,n.params)||e.params.next(n.params),function yF(e,t){if(e.length!==t.length)return!1;for(let n=0;nsn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||xd(e.parent,t.parent))}function Di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function VF(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Di(e,r,o);return Di(e,r)})}(e,t,n);return new Sn(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=>Di(e,a)),s}}const r=function LF(e){return new dr(new Gt(e.url),new Gt(e.params),new Gt(e.queryParams),new Gt(e.fragment),new Gt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Di(e,i));return new Sn(r,o)}}function wa(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function bi(e){return"object"==typeof e&&null!=e&&e.outlets}function Rd(e,t,n,r,o){let i={};if(r&&Be(r,(a,l)=>{i[l]=Array.isArray(a)?a.map(u=>`${u}`):`${a}`}),e===t)return new ur(n,i,o);const s=OC(e,t,n);return new ur(s,i,o)}function OC(e,t,n){const r={};return Be(e.children,(o,i)=>{r[i]=o===t?n:OC(o,t,n)}),new Z(e.segments,r)}class PC{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&wa(r[0]))throw new Error("Root segment cannot have matrix parameters");const o=r.find(bi);if(o&&o!==yC(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Fd{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function kC(e,t,n){if(e||(e=new Z([],{})),0===e.segments.length&&e.hasChildren())return Ea(e,t,n);const r=function GF(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(bi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!LC(l,u,s))return i;r+=2}else{if(!LC(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=kC(e.children[s],t,i))}),Be(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new Z(e.segments,o)}}function Nd(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Nd(new Z([],{}),0,n))}),t}function VC(e){const t={};return Be(e,(n,r)=>t[r]=`${n}`),t}function LC(e,t,n){return e==n.path&&sn(t,n.parameters)}class WF{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Td(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=uo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Be(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=uo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=uo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=uo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new hF(i.value.snapshot))}),t.children.length&&this.forwardEvent(new dF(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Td(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),Td(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function QF(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(o.snapshot),l=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=l,s.outlet&&s.outlet.activateWith(o,l),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class Od{constructor(t,n){this.routes=t,this.module=n}}function Gn(e){return"function"==typeof e}function fr(e){return e instanceof ur}const wi=Symbol("INITIAL_VALUE");function Ei(){return lr(e=>function ZR(...e){const t=go(e),n=Df(e),{args:r,keys:o}=Kv(e);if(0===r.length)return Pe([],t);const i=new _e(function JR(e,t,n=Qn){return r=>{oC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Pe(e[l],t);let c=!1;u.subscribe(Oe(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>Xv(o,s):Qn));return n?i.pipe(Yv(n)):i}(e.map(t=>t.pipe(Oi(1),function XR(...e){const t=go(e);return Ve((n,r)=>{(t?Dd(e,n,t):Dd(e,n)).subscribe(r)})}(wi)))).pipe(aC((t,n)=>{let r=!1;return n.reduce((o,i,s)=>o!==wi?o:(i===wi&&(r=!0),r||!1!==i&&s!==n.length-1&&!fr(i)?o:i),t)},wi),wn(t=>t!==wi),ee(t=>fr(t)?t:!0===t),Oi(1)))}class eN{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Mi,this.attachRef=null}}class Mi{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new eN,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let Pd=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ve,this.deactivateEvents=new ve,this.attachEvents=new ve,this.detachEvents=new ve,this.name=i||W,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new tN(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(D(Mi),D(Bt),D(Xo),Mo("name"),D(Ls))},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class tN{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===dr?this.route:t===Mi?this.childContexts:this.parent.get(t,n)}}let HC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&E(0,"router-outlet")},directives:[Pd],encapsulation:2}),e})();function BC(e,t=""){for(let n=0;nTt(r)===t);return n.push(...e.filter(r=>Tt(r)!==t)),n}const UC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ma(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},UC):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||mF)(n,e,t);if(!i)return Object.assign({},UC);const s={};Be(i.posParams,(l,u)=>{s[u]=l.path});const a=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:a,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Sa(e,t,n,r,o="corrected"){if(n.length>0&&function sN(e,t,n){return n.some(r=>Aa(e,t,r)&&Tt(r)!==W)}(e,n,r)){const s=new Z(t,function iN(e,t,n,r){const o={};o[W]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Tt(i)!==W){const s=new Z([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Tt(i)]=s}return o}(e,t,r,new Z(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function aN(e,t,n){return n.some(r=>Aa(e,t,r))}(e,n,r)){const s=new Z(e.segments,function oN(e,t,n,r,o,i){const s={};for(const a of r)if(Aa(e,n,a)&&!o[Tt(a)]){const l=new Z([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[Tt(a)]=l}return Object.assign(Object.assign({},o),s)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new Z(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Aa(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function $C(e,t,n,r){return!!(Tt(e)===r||r!==W&&Aa(t,n,e))&&("**"===e.path||Ma(t,e,n).matched)}function GC(e,t,n){return 0===t.length&&!e.children[n]}class Ia{constructor(t){this.segmentGroup=t||null}}class qC{constructor(t){this.urlTree=t}}function Si(e){return ga(new Ia(e))}function zC(e){return ga(new qC(e))}class dN{constructor(t,n,r,o,i){this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(_n)}apply(){const t=Sa(this.urlTree.root,[],[],this.config).segmentGroup,n=new Z(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,W).pipe(ee(i=>this.createUrlTree(Vd(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe($n(i=>{if(i instanceof qC)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ia?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,W).pipe(ee(o=>this.createUrlTree(Vd(o),t.queryParams,t.fragment))).pipe($n(o=>{throw o instanceof Ia?this.noMatchError(o):o}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const o=t.segments.length>0?new Z([],{[W]:t}):t;return new ur(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(ee(i=>new Z([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Pe(o).pipe(oo(i=>{const s=r.children[i],a=jC(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(ee(l=>({segment:l,outlet:i})))}),aC((i,s)=>(i[s.outlet]=s.segment,i),{}),function nF(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):Qn,bd(1),n?uC(t):lC(()=>new ma))}())}expandSegment(t,n,r,o,i,s){return Pe(r).pipe(oo(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe($n(u=>{if(u instanceof Ia)return j(null);throw u}))),so(a=>!!a),$n((a,l)=>{if(a instanceof ma||"EmptyError"===a.name)return GC(n,o,i)?j(new Z([],{})):Si(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return $C(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):Si(n):Si(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?zC(i):this.lineralizeSegments(r,i).pipe(Ie(s=>{const a=new Z(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Ma(n,o,i);if(!a)return Si(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?zC(d):this.lineralizeSegments(o,d).pipe(Ie(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){if("**"===r.path)return r.loadChildren?(r._loadedConfig?j(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(ee(d=>(r._loadedConfig=d,new Z(o,{})))):j(new Z(o,{}));const{matched:s,consumedSegments:a,remainingSegments:l}=Ma(n,r,o);return s?this.getChildConfig(t,r,o).pipe(Ie(c=>{const d=c.module,f=c.routes,{segmentGroup:h,slicedSegments:y}=Sa(n,a,l,f),_=new Z(h.segments,h.children);if(0===y.length&&_.hasChildren())return this.expandChildren(d,f,_).pipe(ee(x=>new Z(a,x)));if(0===f.length&&0===y.length)return j(new Z(a,{}));const w=Tt(r)===i;return this.expandSegment(d,_,f,y,w?W:i,!0).pipe(ee(v=>new Z(a.concat(v.segments),v.children)))})):Si(n)}getChildConfig(t,n,r){return n.children?j(new Od(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?j(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(Ie(o=>o?this.configLoader.load(t.injector,n).pipe(ee(i=>(n._loadedConfig=i,i))):function uN(e){return ga(Ed(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))}(n))):j(new Od([],t))}runCanLoadGuards(t,n,r){const o=n.canLoad;return o&&0!==o.length?j(o.map(s=>{const a=t.get(s);let l;if(function JF(e){return e&&Gn(e.canLoad)}(a))l=a.canLoad(n,r);else{if(!Gn(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return an(l)})).pipe(Ei(),mt(s=>{if(!fr(s))return;const a=Ed(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),ee(s=>!0===s)):j(!0)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return j(r);if(o.numberOfChildren>1||!o.children[W])return ga(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t.redirectTo}'`));o=o.children[W]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new ur(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Be(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Be(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new Z(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 Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);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}}function Vd(e){const t={};for(const r of Object.keys(e.children)){const i=Vd(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function fN(e){if(1===e.numberOfChildren&&e.children[W]){const t=e.children[W];return new Z(e.segments.concat(t.segments),t.children)}return e}(new Z(e.segments,t))}class WC{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ta{constructor(t,n){this.component=t,this.route=n}}function pN(e,t,n){const r=e._root;return Ai(r,t?t._root:null,n,[r.value])}function xa(e,t,n){const r=function mN(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ai(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=uo(t);return e.children.forEach(s=>{(function yN(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 l=function vN(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!cr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!cr(e.url,t.url)||!sn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xd(e,t)||!sn(e.queryParams,t.queryParams);default:return!xd(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new WC(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Ai(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ta(a.outlet.component,s))}else s&&Ii(t,a,o),o.canActivateChecks.push(new WC(r)),Ai(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]}),Be(i,(s,a)=>Ii(s,n.getContext(a),o)),o}function Ii(e,t,n){const r=uo(e),o=e.value;Be(r,(i,s)=>{Ii(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Ta(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}class AN{}function QC(e){return new _e(t=>t.error(e))}class TN{constructor(t,n,r,o,i,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const t=Sa(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,W);if(null===n)return null;const r=new ba([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Sn(r,n),i=new FC(this.url,o);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const n=t.value,r=RC(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const i of Object.keys(n.children)){const s=n.children[i],a=jC(t,i),l=this.processSegmentGroup(a,s,i);if(null===l)return null;r.push(...l)}const o=ZC(r);return function xN(e){e.sort((t,n)=>t.value.outlet===W?-1:n.value.outlet===W?1:t.value.outlet.localeCompare(n.value.outlet))}(o),o}processSegment(t,n,r,o){for(const i of t){const s=this.processSegmentAgainstRoute(i,n,r,o);if(null!==s)return s}return GC(n,r,o)?[]:null}processSegmentAgainstRoute(t,n,r,o){if(t.redirectTo||!$C(t,n,r,o))return null;let i,s=[],a=[];if("**"===t.path){const h=r.length>0?yC(r).parameters:{};i=new ba(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,YC(t),Tt(t),t.component,t,JC(n),KC(n)+r.length,XC(t))}else{const h=Ma(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=h.remainingSegments,i=new ba(s,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,YC(t),Tt(t),t.component,t,JC(n),KC(n)+s.length,XC(t))}const l=function RN(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),{segmentGroup:u,slicedSegments:c}=Sa(n,s,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new Sn(i,h)]}if(0===l.length&&0===c.length)return[new Sn(i,[])];const d=Tt(t)===o,f=this.processSegment(l,u,c,d?W:o);return null===f?null:[new Sn(i,f)]}}function FN(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function ZC(e){const t=[],n=new Set;for(const r of e){if(!FN(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=ZC(r.children);t.push(new Sn(r.value,o))}return t.filter(r=>!n.has(r))}function JC(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function KC(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function YC(e){return e.data||{}}function XC(e){return e.resolve||{}}function eD(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Ld(e){return lr(t=>{const n=e(t);return n?Pe(n).pipe(ee(()=>t)):j(t)})}class BN extends class HN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Hd=new q("ROUTES");class tD{constructor(t,n,r,o){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=o}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const o=this.loadModuleFactory(n.loadChildren).pipe(ee(i=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=i.create(t);return new Od(mC(s.injector.get(Hd,void 0,V.Self|V.Optional)).map(kd),s)}),$n(i=>{throw n._loader$=void 0,i}));return n._loader$=new YR(o,()=>new ln).pipe(sC()),n._loader$}loadModuleFactory(t){return an(t()).pipe(Ie(n=>n instanceof Xm?j(n):Pe(this.compiler.compileModuleAsync(n))))}}class UN{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function $N(e){throw e}function GN(e,t,n){return t.parse("/")}function nD(e,t){return j(null)}const qN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let it=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ln,this.errorHandler=$N,this.malformedUriErrorHandler=GN,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:nD,afterPreactivation:nD},this.urlHandlingStrategy=new UN,this.routeReuseStrategy=new BN,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(_n),this.console=s.get(Py);const d=s.get(He);this.isNgZoneEnabled=d instanceof He&&He.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function vF(){return new ur(new Z([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tD(s,a,f=>this.triggerEvent(new dC(f)),f=>this.triggerEvent(new fC(f))),this.routerState=xC(this.currentUrlTree,this.rootComponentType),this.transitions=new Gt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(wn(o=>0!==o.id),ee(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),lr(o=>{let i=!1,s=!1;return j(o).pipe(mt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),lr(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return rD(a.source)&&(this.browserUrlTree=a.extractedUrl),j(a).pipe(lr(d=>{const f=this.transitions.getValue();return r.next(new wd(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?cn:Promise.resolve(d)}),function hN(e,t,n,r){return lr(o=>function cN(e,t,n,r,o){return new dN(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(ee(i=>Object.assign(Object.assign({},o),{urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),mt(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function NN(e,t,n,r,o){return Ie(i=>function IN(e,t,n,r,o="emptyOnly",i="legacy"){try{const s=new TN(e,t,n,r,o,i).recognize();return null===s?QC(new AN):j(s)}catch(s){return QC(s)}}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(ee(s=>Object.assign(Object.assign({},i),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),mt(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new iF(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:y,restoredState:_,extras:w}=a,b=new wd(f,this.serializeUrl(h),y,_);r.next(b);const v=xC(h,this.rootComponentType).snapshot;return j(Object.assign(Object.assign({},a),{targetSnapshot:v,urlAfterRedirects:h,extras:Object.assign(Object.assign({},w),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),cn}),Ld(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),mt(a=>{const l=new sF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ee(a=>Object.assign(Object.assign({},a),{guards:pN(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function _N(e,t){return Ie(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?j(Object.assign(Object.assign({},n),{guardsResult:!0})):function CN(e,t,n,r){return Pe(e).pipe(Ie(o=>function SN(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?j(i.map(a=>{const l=xa(a,t,o);let u;if(function XF(e){return e&&Gn(e.canDeactivate)}(l))u=an(l.canDeactivate(e,t,n,r));else{if(!Gn(l))throw new Error("Invalid CanDeactivate guard");u=an(l(e,t,n,r))}return u.pipe(so())})).pipe(Ei()):j(!0)}(o.component,o.route,n,t,r)),so(o=>!0!==o,!0))}(s,r,o,e).pipe(Ie(a=>a&&function ZF(e){return"boolean"==typeof e}(a)?function DN(e,t,n,r){return Pe(t).pipe(oo(o=>Dd(function wN(e,t){return null!==e&&t&&t(new cF(e)),j(!0)}(o.route.parent,r),function bN(e,t){return null!==e&&t&&t(new fF(e)),j(!0)}(o.route,r),function MN(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function gN(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=>iC(()=>j(s.guards.map(l=>{const u=xa(l,s.node,n);let c;if(function YF(e){return e&&Gn(e.canActivateChild)}(u))c=an(u.canActivateChild(r,e));else{if(!Gn(u))throw new Error("Invalid CanActivateChild guard");c=an(u(r,e))}return c.pipe(so())})).pipe(Ei())));return j(i).pipe(Ei())}(e,o.path,n),function EN(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return j(!0);const o=r.map(i=>iC(()=>{const s=xa(i,t,n);let a;if(function KF(e){return e&&Gn(e.canActivate)}(s))a=an(s.canActivate(t,e));else{if(!Gn(s))throw new Error("Invalid CanActivate guard");a=an(s(t,e))}return a.pipe(so())}));return j(o).pipe(Ei())}(e,o.route,n))),so(o=>!0!==o,!0))}(r,i,e,t):j(a)),ee(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),mt(a=>{if(fr(a.guardsResult)){const u=Ed(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new aF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),wn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Ld(a=>{if(a.guards.canActivateChecks.length)return j(a).pipe(mt(l=>{const u=new lF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),lr(l=>{let u=!1;return j(l).pipe(function ON(e,t){return Ie(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return j(n);let i=0;return Pe(o).pipe(oo(s=>function PN(e,t,n,r){return function kN(e,t,n,r){const o=eD(e);if(0===o.length)return j({});const i={};return Pe(o).pipe(Ie(s=>function VN(e,t,n,r){const o=xa(e,t,r);return an(o.resolve?o.resolve(t,n):o(t,n))}(e[s],t,n,r).pipe(mt(a=>{i[s]=a}))),bd(1),Ie(()=>eD(i).length===o.length?j(i):cn))}(e._resolve,e,t,r).pipe(ee(i=>(e._resolvedData=i,e.data=Object.assign(Object.assign({},e.data),RC(e,n).resolve),null)))}(s.route,r,e,t)),mt(()=>i++),bd(1),Ie(s=>i===o.length?j(n):cn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),mt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),mt(l=>{const u=new uF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Ld(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ee(a=>{const l=function kF(e,t,n){const r=Di(e,t._root,n?n._root:void 0);return new TC(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),mt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>ee(r=>(new WF(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),mt({next(){i=!0},complete(){i=!0}}),function rF(e){return Ve((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;i||s||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),$n(a=>{if(s=!0,function gF(e){return e&&e[pC]}(a)){const l=fr(a.url);l||(this.navigated=!0,this.restoreHistory(o,!0));const u=new cC(o.id,this.serializeUrl(o.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rD(o.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new oF(o.id,this.serializeUrl(o.extractedUrl),a);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return cn}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var o;const i={replaceUrl:!0},s=(null===(o=n.state)||void 0===o?void 0:o.navigationId)?n.state:null;if(s){const l=Object.assign({},s);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,s,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){BC(n),this.config=n.map(kd),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),function HF(e,t,n,r,o){if(0===n.length)return Rd(t.root,t.root,t.root,r,o);const i=function BF(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new PC(!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 Be(i.outlets,(l,u)=>{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,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new PC(n,t,r)}(n);if(i.toRoot())return Rd(t.root,t.root,new Z([],{}),r,o);const s=function jF(e,t,n){if(e.isAbsolute)return new Fd(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const i=n.snapshot._urlSegment;return new Fd(i,i===t.root,0)}const r=wa(e.commands[0])?0:1;return function UF(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new Fd(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=s.processChildren?Ea(s.segmentGroup,s.index,i.commands):kC(s.segmentGroup,s.index,i.commands);return Rd(t.root,s.segmentGroup,a,r,o)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=fr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function WN(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new ao(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){var a,l;if(this.disposed)return Promise.resolve(!1);let u,c,d;s?(u=s.resolve,c=s.reject,d=s.promise):d=new Promise((y,_)=>{u=y,c=_});const f=++this.navigationId;let h;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),h=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):h=0,this.setTransition({id:f,targetPageId:h,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:i,resolve:u,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(y=>Promise.reject(y))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){var o,i;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const o=new cC(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Su()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function rD(e){return"imperative"!==e}let Bd=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.commands=null,this.onChanges=new ln,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){if(null!=this.tabIndexAttribute)return;const r=this.renderer,o=this.el.nativeElement;null!==n?r.setAttribute(o,"tabindex",n):r.removeAttribute(o,"tabindex")}ngOnChanges(n){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(){if(null===this.urlTree)return!0;const n={skipLocationChange:co(this.skipLocationChange),replaceUrl:co(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,n),!0}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:co(this.preserveFragment)})}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(dr),Mo("tabindex"),D(vn),D(gt))},e.\u0275dir=N({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(n,r){1&n&&O("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bt]}),e})(),hr=(()=>{class e{constructor(n,r,o){this.router=n,this.route=r,this.locationStrategy=o,this.commands=null,this.href=null,this.onChanges=new ln,this.subscription=n.events.subscribe(i=>{i instanceof ao&&this.updateTargetUrlAndHref()})}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,o,i,s){if(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:co(this.skipLocationChange),replaceUrl:co(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:co(this.preserveFragment)})}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(dr),D(ro))},e.\u0275dir=N({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&O("click",function(i){return r.onClick(i.button,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey)}),2&n&&Vt("target",r.target)("href",r.href,ko)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[bt]}),e})();function co(e){return""===e||!!e}let oD=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ve,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof ao&&this.update()})}ngAfterContentInit(){j(this.links.changes,this.linksWithHrefs.changes,j(null)).pipe(po()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var n;null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Pe(r).pipe(po()).subscribe(o=>{this.isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){var n;this.routerEventsSubscription.unsubscribe(),null===(n=this.linkInputChangesSubscription)||void 0===n||n.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this.isActive!==n&&(this.isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function QN(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.linkWithHref&&n(this.linkWithHref)||this.links.some(n)||this.linksWithHrefs.some(n)}}return e.\u0275fac=function(n){return new(n||e)(D(it),D(gt),D(vn),D(Ls),D(Bd,8),D(hr,8))},e.\u0275dir=N({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&(Yu(o,Bd,5),Yu(o,hr,5)),2&n){let i;Ku(i=Xu())&&(r.links=i),Ku(i=Xu())&&(r.linksWithHrefs=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[bt]}),e})();class iD{}class sD{preload(t,n){return j(null)}}let aD=(()=>{class e{constructor(n,r,o,i){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=new tD(o,r,l=>n.triggerEvent(new dC(l)),l=>n.triggerEvent(new fC(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(wn(n=>n instanceof ao),oo(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(_n);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const s=i._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else i.loadChildren&&!i.canLoad?o.push(this.preloadConfig(n,i)):i.children&&o.push(this.processRoutes(n,i.children));return Pe(o).pipe(po(),ee(i=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?j(r._loadedConfig):this.loader.load(n.injector,r)).pipe(Ie(i=>(r._loadedConfig=i,this.processRoutes(i.module,i.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(T(it),T(ky),T(qe),T(iD))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),jd=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof wd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ao&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof hC&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new hC(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Su()},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();const pr=new q("ROUTER_CONFIGURATION"),lD=new q("ROUTER_FORROOT_GUARD"),JN=[Dc,{provide:wC,useClass:EC},{provide:it,useFactory:function tO(e,t,n,r,o,i,s={},a,l){const u=new it(null,e,t,n,r,o,mC(i));return a&&(u.urlHandlingStrategy=a),l&&(u.routeReuseStrategy=l),function nO(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,u),s.enableTracing&&u.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),u},deps:[wC,Mi,Dc,qe,ky,Hd,pr,[class jN{},new Nn],[class LN{},new Nn]]},Mi,{provide:dr,useFactory:function rO(e){return e.routerState.root},deps:[it]},aD,sD,class ZN{preload(t,n){return n().pipe($n(()=>j(null)))}},{provide:pr,useValue:{enableTracing:!1}}];function KN(){return new jy("Router",it)}let uD=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[JN,cD(n),{provide:lD,useFactory:eO,deps:[[it,new Nn,new Fo]]},{provide:pr,useValue:r||{}},{provide:ro,useFactory:XN,deps:[ir,[new ss(Cc),new Nn],pr]},{provide:jd,useFactory:YN,deps:[it,QT,pr]},{provide:iD,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:sD},{provide:jy,multi:!0,useFactory:KN},[Ud,{provide:ic,multi:!0,useFactory:oO,deps:[Ud]},{provide:dD,useFactory:iO,deps:[Ud]},{provide:Oy,multi:!0,useExisting:dD}]]}}static forChild(n){return{ngModule:e,providers:[cD(n)]}}}return e.\u0275fac=function(n){return new(n||e)(T(lD,8),T(it,8))},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({}),e})();function YN(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new jd(e,t,n)}function XN(e,t,n={}){return n.useHash?new xI(e,t):new av(e,t)}function eO(e){return"guarded"}function cD(e){return[{provide:fw,multi:!0,useValue:e},{provide:Hd,multi:!0,useValue:e}]}let Ud=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ln}appInitializer(){return this.injector.get(AI,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const o=new Promise(a=>r=a),i=this.injector.get(it),s=this.injector.get(pr);return"disabled"===s.initialNavigation?(i.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(i.hooks.afterPreactivation=()=>this.initNavigation?j(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),i.initialNavigation()):r(!0),o})}bootstrapListener(n){const r=this.injector.get(pr),o=this.injector.get(aD),i=this.injector.get(jd),s=this.injector.get(it),a=this.injector.get(hc);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),i.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(T(qe))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function oO(e){return e.appInitializer.bind(e)}function iO(e){return e.bootstrapListener.bind(e)}const dD=new q("Router Initializer");class aO{constructor(){this.name="",this.email="",this.message=""}}let fD=(()=>{class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post("https://www.palmmedia.de/api/contact",n)}}return e.\u0275fac=function(n){return new(n||e)(T(zc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function lO(e,t){if(1&e){const n=pt();p(0,"form",5,6),O("ngSubmit",function(){return De(n),Y().submit()}),p(2,"div",7)(3,"label",8),m(4,"Name "),p(5,"span",9),m(6,"*"),g()(),p(7,"input",10),O("ngModelChange",function(o){return De(n),Y().contactViewModel.name=o}),g()(),p(8,"div",7)(9,"label",11),m(10,"E-Mail "),p(11,"span",9),m(12,"*"),g()(),p(13,"input",12),O("ngModelChange",function(o){return De(n),Y().contactViewModel.email=o}),g()(),p(14,"div",7)(15,"label",13),m(16,"Nachricht "),p(17,"span",9),m(18,"*"),g()(),p(19,"textarea",14),O("ngModelChange",function(o){return De(n),Y().contactViewModel.message=o}),g()(),p(20,"button",15),m(21,"Submit"),g()()}if(2&e){const n=function yg(e){return function Dr(e,t){return e[t]}(function Bb(){return P.lFrame.contextLView}(),20+e)}(1),r=Y();M(7),I("ngModel",r.contactViewModel.name),M(6),I("ngModel",r.contactViewModel.email),M(6),I("ngModel",r.contactViewModel.message),M(1),I("disabled",!n.valid||r.enableFormCountDown>0)}}function uO(e,t){1&e&&(p(0,"p"),m(1,"Thanks for your message."),g())}function cO(e,t){1&e&&(p(0,"p",16),m(1,"Something went wrong. Please try again later."),g())}let dO=(()=>{class e{constructor(n){this.contactService=n,this.contactViewModel=new aO,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,0===this.enableFormCountDown&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}}return e.\u0275fac=function(n){return new(n||e)(D(fD))},e.\u0275cmp=Wt({type:e,selectors:[["app-contact-component"]],decls:6,vars:3,consts:[[1,"container"],[1,"mb-4"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","text-danger",4,"ngIf"],["method","post",3,"ngSubmit"],["contactForm","ngForm"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Email"],["type","email","id","Email","name","Email","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"text-danger"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"Contact"),g(),se(3,lO,22,4,"form",2),se(4,uO,2,0,"p",3),se(5,cO,2,0,"p",4),g()),2&n&&(M(3),I("ngIf",!r.success&&!r.error),M(1),I("ngIf",r.success),M(1),I("ngIf",r.error))},directives:[Ys,pd,td,yi,fi,vi,ed,ha],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]}),e})();const fO=function(){return["/pro"]},hD=function(){return["/usage"]};let hO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-home"]],decls:85,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo_512.png","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9"],[1,"mt-5"],[1,"mt-4","h5"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h6","mt-3"],[3,"routerLink"],[1,"fa-solid","fa-lightbulb"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","pt-5","pb-5","bg-light"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1.png"],["src","resources/screenshot1.png","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2.png"],["src","resources/screenshot2.png","alt","Screenshot",1,"img-fluid"]],template:function(n,r){1&n&&(p(0,"section",0)(1,"div",1)(2,"div",2),E(3,"img",3),g(),p(4,"div",4)(5,"h1"),m(6,"ReportGenerator"),g(),p(7,"h2",5),m(8,"Powerful code coverage visualization"),g(),p(9,"div",6)(10,"p")(11,"i"),m(12,"ReportGenerator"),g(),m(13," converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats."),g(),p(14,"p"),m(15,"The reports do not only show the coverage quota, but also include the source code and visualize which lines have been covered."),g()()()(),p(16,"div",7)(17,"div",8)(18,"div",9),E(19,"i",10),g(),p(20,"div",11),m(21,"Open source"),g(),p(22,"p")(23,"i"),m(24,"ReportGenerator"),g(),m(25," is open source under the permissive Apache License."),g(),p(26,"p"),m(27,"It's free to use."),E(28,"br"),m(29,"The "),p(30,"a",12),m(31,"PRO"),g(),m(32," version offers additional features."),g()(),p(33,"div",8)(34,"div",9),E(35,"i",13),g(),p(36,"div",11),m(37,"Easy to use"),g(),p(38,"p")(39,"i"),m(40,"ReportGenerator"),g(),m(41," is a command line tool which only requires a "),p(42,"a",12),m(43,"few parameters"),g(),m(44,"."),g(),p(45,"p"),m(46,"Integration into your build pipeline will only take a couple of minutes."),g()(),p(47,"div",8)(48,"div",9),E(49,"i",14),g(),p(50,"div",11),m(51,"Integration"),g(),p(52,"p")(53,"i"),m(54,"ReportGenerator"),g(),m(55," works on Windows, Linux and macOS."),g(),p(56,"p"),m(57,"Support for "),p(58,"a",15),m(59,"GitHub actions"),g(),m(60," and "),p(61,"a",16),m(62,"Azure DevOps"),g(),m(63," is available."),g()()(),p(64,"div",7)(65,"div",17)(66,"a",18),E(67,"i",19),m(68," Learn how to use"),g(),p(69,"a",20),E(70,"i",21),m(71," GitHub"),g()()()(),p(72,"section",22)(73,"div",0)(74,"h2"),m(75,"Screenshots"),g(),p(76,"p"),m(77,"The screenshots show two snippets of the generated reports."),g(),p(78,"div",1)(79,"div",23)(80,"a",24),E(81,"img",25),g()(),p(82,"div",26)(83,"a",27),E(84,"img",28),g()()()()()),2&n&&(M(30),I("routerLink",Le(3,fO)),M(12),I("routerLink",Le(4,hD)),M(24),I("routerLink",Le(5,hD)))},directives:[hr],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 123px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]}),e})();class pO{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}let pD=(()=>{class e{initCodeFlow(){const o=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/ReportGenerator/pro`;console.log("Redirecting to: "+o),location.href=o}validateStateAndExtractCode(){let n=location.href;const r=n.indexOf("?");r>-1&&(n=n.substring(r+1));const o=this.parseQueryString(n);return o.state&&o.code&&this.validateNonce(o.state)?o.code:null}createAndSaveNonce(){const n=this.createNonce();return void 0!==window.localStorage&&localStorage.setItem("nonce",n),n}validateNonce(n){let r;return void 0!==window.localStorage&&(r=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),r&&0!==r.length?r===n||(console.error("Validating nonce failed. Values do not match.",r,n),!1):(console.error("Validating nonce failed. No saved nonce available.",r,n),!1)}createNonce(){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let r=45,o="";const i="undefined"==typeof self?null:self.crypto||self.msCrypto;if(i){let a=new Uint8Array(r);i.getRandomValues(a),a.map||(a.map=Array.prototype.map);const l=[];for(var s=0;s0&&(u=decodeURIComponent(a),c=decodeURIComponent(l),"/"===u.substring(0,1)&&(u=u.substring(1)),r[u]=c);return r}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})(),gD=(()=>{class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`https://www.palmmedia.de/api/reportgenerator/license?code=${encodeURIComponent(n)}`)}}return e.\u0275fac=function(n){return new(n||e)(T(zc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e})();function gO(e,t){1&e&&(p(0,"div",31)(1,"span",32),m(2,"Loading..."),g()())}const mD=function(){return["/contact"]};function mO(e,t){if(1&e&&(p(0,"div")(1,"p"),m(2),g(),p(3,"p"),m(4,"Please try again later or use the "),p(5,"a",34),m(6," contact form"),g(),m(7,"."),g()()),2&e){const n=Y(2);M(2),Fe(n.license.error),M(3),I("routerLink",Le(2,mD))}}function yO(e,t){1&e&&(p(0,"div")(1,"p"),m(2,"Please become a "),p(3,"a",2),m(4,"GitHub sponsor"),g(),m(5," first."),g()())}function vO(e,t){1&e&&(p(0,"span"),E(1,"i",38),m(2," Copy"),g())}function _O(e,t){1&e&&(p(0,"span"),E(1,"i",39),m(2," Copied"),g())}function CO(e,t){if(1&e){const n=pt();p(0,"div")(1,"label",35),m(2,"Thank you for becoming a sponsor. Here's your license:"),g(),p(3,"textarea",36),m(4),g(),p(5,"button",37),O("click",function(){return De(n),Y(2).copy()}),se(6,vO,3,0,"span",33),se(7,_O,3,0,"span",33),g()()}if(2&e){const n=Y(2);M(4),Fe(n.license.license),M(2),I("ngIf",!n.licenseCopied),M(1),I("ngIf",n.licenseCopied)}}function DO(e,t){if(1&e&&(p(0,"div",13),se(1,mO,8,3,"div",33),se(2,yO,6,0,"div",33),se(3,CO,8,3,"div",33),g()),2&e){const n=Y();M(1),I("ngIf",n.license.error),M(1),I("ngIf",!n.license.error&&!n.license.isSponsor),M(1),I("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function bO(e,t){1&e&&(p(0,"div",13)(1,"h3"),m(2,"GitHub sponsors only?"),g(),m(3," Are you interested in getting a license but you are not able to become a sponsor or you would like to buy a PRO license?"),E(4,"br"),m(5," Get "),p(6,"a",34),m(7,"in touch"),g(),m(8," and we will figure it out. "),g()),2&e&&(M(6),I("routerLink",Le(1,mD)))}let wO=(()=>{class e{constructor(n,r){this.oauthService=n,this.licenseService=r,this.licenseRequested=!1,this.licenseCopied=!1,this.license=null}ngOnInit(){const n=this.oauthService.validateStateAndExtractCode();null!==n?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:r=>{console.log("Received license response"),this.license=r},error:r=>{console.error(r),this.license=new pO,this.license.error="Unable to generate license."},complete:()=>console.info("complete")})):console.log("No code available")}requestLicense(){this.licenseRequested=!0,this.oauthService.initCodeFlow()}copy(){try{navigator.clipboard.writeText(this.license.license),this.licenseCopied=!0}catch(n){console.error("Failed to copy license",n)}}}return e.\u0275fac=function(n){return new(n||e)(D(pD),D(gD))},e.\u0275cmp=Wt({type:e,selectors:[["app-pro-component"]],decls:98,vars:4,consts:[[1,"container"],[1,"mb-4"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"row"],[1,"col-xs-12","col-md-6"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["id","license",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",1,"btn","btn-primary","me-3",3,"disabled","click"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[4,"ngIf"],[3,"routerLink"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"PRO"),g(),p(3,"p")(4,"i"),m(5,"ReportGenerator"),g(),m(6," is Open Source and free to use."),E(7,"br"),m(8," However some of the advanced features are available only to "),p(9,"a",2),m(10,"sponsors"),g(),m(11,". "),g(),p(12,"div",3)(13,"div",4)(14,"table",5)(15,"thead")(16,"tr"),E(17,"th",6),p(18,"th",7),m(19,"Free"),g(),p(20,"th",7)(21,"span",8),m(22,"PRO"),g()()()(),p(23,"tbody")(24,"tr")(25,"th",9),m(26,"Metrics"),g(),p(27,"td",10),E(28,"i",11),g(),p(29,"td",10),E(30,"i",11),g()(),p(31,"tr")(32,"th",9),m(33,"Risk Hotspots"),g(),p(34,"td",10),E(35,"i",11),g(),p(36,"td",10),E(37,"i",11),g()(),p(38,"tr")(39,"th",9),m(40,"Line coverage"),g(),p(41,"td",10),E(42,"i",11),g(),p(43,"td",10),E(44,"i",11),g()(),p(45,"tr")(46,"th",9),m(47,"Branch coverage"),g(),p(48,"td",10),E(49,"i",11),g(),p(50,"td",10),E(51,"i",11),g()(),p(52,"tr")(53,"th",9),m(54,"Method coverage"),g(),E(55,"td",10),p(56,"td",10),E(57,"i",11),g()()()()()()(),p(58,"section",12)(59,"div",0)(60,"h2"),m(61,"Get your license"),g(),p(62,"div",3)(63,"div",13)(64,"p"),m(65,"You can obtain your license in two easy steps (no sign up required):"),g(),p(66,"span",14),m(67,"1."),g(),p(68,"a",15),E(69,"i",16),m(70," Become a GitHub sponsor"),g(),E(71,"br"),p(72,"span",14),m(73,"2."),g(),p(74,"button",17),O("click",function(){return r.requestLicense()}),E(75,"i",18),m(76," Get license"),g(),se(77,gO,3,0,"div",19),g(),se(78,DO,4,3,"div",20),se(79,bO,9,2,"div",20),g()()(),p(80,"section",21)(81,"h2",1),m(82,"Frequently Asked Questions"),g(),p(83,"div",22)(84,"div",23)(85,"h2",24)(86,"button",25),m(87," Are there limitations on number of users? "),g()(),p(88,"div",26)(89,"div",27),m(90," There's no limit. Just pick a sponsor level that fits your company size and budget. If no level is a perfect fit, you can also enter a custom price. "),g()()(),p(91,"div",23)(92,"h2",28)(93,"button",29),m(94," Will my license expire? "),g()(),p(95,"div",30)(96,"div",27),m(97," Your license will not expire. "),g()()()()()),2&n&&(M(74),I("disabled",r.licenseRequested),M(3),I("ngIf",r.licenseRequested&&!r.license),M(1),I("ngIf",r.license),M(1),I("ngIf",!r.license))},directives:[Ys,hr],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.githubheart[_ngcontent-%COMP%]{color:#ec6cb9}"]}),e})();function EO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",31)(2,"input",32),O("ngModelChange",function(o){return De(n),Y().selectedenvironment=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit,r=Y();M(2),I("ngModel",r.selectedenvironment)("value",n)("checked",r.selectedenvironment.name===n.name),M(2),Fe(n.name),M(3),Fe(n.description)}}const MO=function(e){return{"text-muted":e}};function SO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",34)(2,"input",35),O("ngModelChange",function(o){return De(n),Y().selectedpackage=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit,r=Y();M(1),I("ngClass",Fs(6,MO,-1===n.runtimes.indexOf(r.selectedenvironment.name))),M(1),I("ngModel",r.selectedpackage)("value",n)("disabled",-1===n.runtimes.indexOf(r.selectedenvironment.name)),M(2),Fe(n.name),M(3),Fe(n.description)}}function AO(e,t){if(1&e){const n=pt();p(0,"span",39),O("click",function(){De(n);const o=Y().index;return Y().removeReport(o)}),p(1,"a",40),E(2,"i",41),g()()}}const IO=function(e){return{"input-group":e}};function TO(e,t){if(1&e){const n=pt();p(0,"div",33)(1,"div",36)(2,"input",37),O("ngModelChange",function(o){const s=De(n).index;return Y().reports[s]=o}),g(),se(3,AO,3,0,"span",38),g()()}if(2&e){const n=t.index,r=Y();M(1),I("ngClass",Fs(4,IO,n>0)),M(1),yn("name","report_",n,""),I("ngModel",r.reports[n]),M(1),I("ngIf",n>0)}}function xO(e,t){if(1&e){const n=pt();p(0,"div",30)(1,"label",31)(2,"input",42),O("ngModelChange",function(o){return De(n).$implicit.checked=o}),g(),p(3,"b"),m(4),g(),E(5,"br"),p(6,"div",33),m(7),g()()()}if(2&e){const n=t.$implicit;M(2),I("ngModel",n.checked),M(2),Fe(n.name),M(3),Fe(n.description)}}function RO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",44),O("ngModelChange",function(o){const s=De(n).index;return Y().sourcedirectories[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeSourceDirectory(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","sourcedir_",n,""),I("ngModel",r.sourcedirectories[n])}}function FO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",45),O("ngModelChange",function(o){const s=De(n).index;return Y().plugins[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removePlugin(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","plugin_",n,""),I("ngModel",r.plugins[n])}}function NO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",46),O("ngModelChange",function(o){const s=De(n).index;return Y().assemblyfilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeAssemblyFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","assemblyfilter_",n,""),I("ngModel",r.assemblyfilters[n])}}function OO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",47),O("ngModelChange",function(o){const s=De(n).index;return Y().classfilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeClassFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","classfilter_",n,""),I("ngModel",r.classfilters[n])}}function PO(e,t){if(1&e){const n=pt();p(0,"div",7)(1,"div",43)(2,"input",48),O("ngModelChange",function(o){const s=De(n).index;return Y().filefilters[s]=o}),g(),p(3,"span",39),O("click",function(){const i=De(n).index;return Y().removeFileFilter(i)}),p(4,"a",40),E(5,"i",41),g()()()()}if(2&e){const n=t.index,r=Y();M(2),yn("name","filefilter_",n,""),I("ngModel",r.filefilters[n])}}function kO(e,t){if(1&e&&(p(0,"option",49),m(1),g()),2&e){const n=t.$implicit;I("value",n),M(1),Fe(n)}}function VO(e,t){if(1&e&&(p(0,"div")(1,"b"),m(2),g(),E(3,"br"),p(4,"pre",26),m(5),g()()),2&e){const n=t.$implicit;M(2),Fe(n.tool),M(3),Fe(n.command)}}function LO(e,t){if(1&e&&(p(0,"div")(1,"b"),m(2),g(),E(3,"br"),p(4,"pre",26),m(5),g()()),2&e){const n=t.$implicit;M(2),Fe(n.tool),M(3),Fe(n.command)}}function HO(e,t){1&e&&(p(0,"span"),E(1,"i",50),m(2," Copy"),g())}function BO(e,t){1&e&&(p(0,"span"),E(1,"i",51),m(2," Copied"),g())}const jO=function(){return["/pro"]};let yD=(()=>{class e{constructor(){this.environments=[{name:".NET Core",description:".NET Core"},{name:".NET Framework",description:"The full .NET framework"}],this.lastResult="",this.usageCopied=!1,this.packages=[{name:"ReportGenerator",url:"https://www.nuget.org/packages/ReportGenerator",runtimes:".NET Framework;.NET Core",description:"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",installoptions:[{tool:"Package Manager",command:"Install-Package ReportGenerator -Version x.y.z"},{tool:".NET CLI",command:"dotnet add package ReportGenerator --version x.y.z"}],executables:[{runtime:".NET Framework",tool:"$(UserProfile)\\.nuget\\packages\\reportgenerator\\x.y.z\\tools\\net47\\ReportGenerator.exe"},{runtime:".NET Core",tool:"dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\x.y.z\\tools\\net6.0\\ReportGenerator.dll"}]},{name:"dotnet-reportgenerator-globaltool",url:"https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",runtimes:".NET Core",description:"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",installoptions:[{tool:".NET CLI",command:"dotnet tool install --global dotnet-reportgenerator-globaltool --version x.y.z\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version x.y.z\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version x.y.z"}],executables:[{runtime:".NET Core",tool:"reportgenerator"}]}],this.verbosities=["Verbose","Info","Warning","Error","Off"],this.selectedenvironment=this.environments[0],this.selectedpackage=this.packages[0],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.htm) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1},{name:"HtmlSummary",description:"Creates a single HTML file (summary.htm) without links.",requiresHistoryDir:!1,checked:!1},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"HtmlInline",description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines",description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Light",description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"HtmlInline_AzurePipelines_Dark",description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1},{name:"Cobertura",description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.selectedverbosity=this.verbosities[0],this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(n){return this.sourcedirectories.splice(n,1),!1}addReport(){return this.reports.push(""),!1}removeReport(n){return this.reports.splice(n,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(n){return this.plugins.splice(n,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(n){return this.assemblyfilters.splice(n,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(n){return this.classfilters.splice(n,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(n){return this.filefilters.splice(n,1),!1}getCommandLineParameters(){for(var n='"-reports:',r=0;r0&&(n+=";"),n+=this.reports[r]);n+='"',n+="\r\n",n+='"-targetdir:',n+=this.targetdir,n+='"';var o="";for(r=0;r0&&(o+=";"),o+=this.reporttypes[r].name);if(o.length>0&&"HTML"!==o&&(n+="\r\n",n+="-reporttypes:",n+=o),this.sourcedirectories.length>0){for(n+="\r\n",n+='"-sourcedirs:',r=0;r0&&(n+=";"),n+=this.sourcedirectories[r]);n+='"'}if(null!==this.historydir&&this.historydir.length>0&&(n+="\r\n",n+='"-historydir:',n+=this.historydir,n+='"'),this.plugins.length>0){for(n+="\r\n",n+='"-plugins:',r=0;r0&&(n+=";"),n+=this.plugins[r]);n+='"'}if(this.assemblyfilters.length>0){for(n+="\r\n",n+='"-assemblyfilters:',r=0;r0&&(n+=";"),n+=this.assemblyfilters[r]);n+='"'}if(this.classfilters.length>0){for(n+="\r\n",n+='"-classfilters:',r=0;r0&&(n+=";"),n+=this.classfilters[r]);n+='"'}if(this.filefilters.length>0){for(n+="\r\n",n+='"-filefilters:',r=0;r0&&(n+=";"),n+=this.filefilters[r]);n+='"'}return"Verbose"!==this.selectedverbosity&&(n+="\r\n",n+="-verbosity:",n+=this.selectedverbosity),""!==this.title&&(n+="\r\n",this.title.indexOf(" ")>-1?(n+='"-title:',n+=this.title,n+='"'):(n+="-title:",n+=this.title)),""!==this.tag&&(n+="\r\n",this.tag.indexOf(" ")>-1?(n+='"-tag:',n+=this.tag,n+='"'):(n+="-tag:",n+=this.tag)),""!==this.license&&(n+="\r\n",this.license.indexOf(" ")>-1?(n+='"-license:',n+=this.license,n+='"'):(n+="-license:",n+=this.license)),n}historyDirRequired(){for(let n=0;n0&&(r+="\r\n\r\n"),r+=this.selectedpackage.executables[o].tool,r+="\r\n",r+=n);return this.lastResult!==r&&(this.lastResult=r,this.usageCopied=!1),r}trackByIndex(n,r){return n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-usage-component"]],decls:218,vars:36,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModel","ngModelChange"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModel","required","ngModelChange"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModel","ngModelChange"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],[4,"ngFor","ngForOf"],[1,"text-dark","bg-light","p-2","border"],[1,"d-none","d-md-block","sticky"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[4,"ngIf"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[1,"form-check-label",3,"ngClass"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","disabled","ngModelChange"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","checkbox","name","reporttype",1,"form-check-input",3,"ngModel","ngModelChange"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"name","ngModel","ngModelChange"],[3,"value"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(n,r){1&n&&(p(0,"div",0)(1,"h1",1),m(2,"Usage"),g(),p(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),m(7,"Environment"),g(),se(8,EO,8,5,"div",4),p(9,"h4"),m(10,"NuGet Package"),g(),se(11,SO,8,8,"div",4),p(12,"h3"),m(13,"Reports"),g(),p(14,"div",5),m(15,"Path to the coverage report(s) that should be parsed."),E(16,"br"),m(17,"Globbing is supported."),g(),se(18,TO,4,6,"div",6),p(19,"div",7)(20,"a",8),O("click",function(){return r.addReport()}),E(21,"i",9),m(22," Add report"),g()(),E(23,"br"),p(24,"h3"),m(25,"Target directory"),g(),p(26,"div",5),m(27,"The directory where the generated report(s) should be saved."),g(),p(28,"div",7)(29,"input",10),O("ngModelChange",function(i){return r.targetdir=i}),g()(),E(30,"br"),p(31,"h3"),m(32,"Report types"),g(),p(33,"div",5),m(34,"Download "),p(35,"a",11),m(36,"sample reports"),g()(),se(37,xO,8,3,"div",4),p(38,"h3"),m(39,"Source directories"),g(),p(40,"div",5),m(41,"Optional directories which contain the corresponding source code."),E(42,"br"),m(43,"The source directories are used if coverage report contains classes without path information."),g(),se(44,RO,6,2,"div",12),p(45,"div",7)(46,"a",8),O("click",function(){return r.addSourceDirectory()}),E(47,"i",9),m(48," Add source directory"),g()(),E(49,"br"),p(50,"h3"),m(51,"History directory"),g(),p(52,"div",5),m(53,"Optional directory for storing "),p(54,"b"),m(55,"persistent"),g(),m(56," coverage information. Choose a directory which does not get deleted between builds."),E(57,"br"),m(58,"Required to show the history chart in the HTML reports."),g(),p(59,"div",7)(60,"input",13),O("ngModelChange",function(i){return r.historydir=i}),g()(),E(61,"br"),p(62,"h3"),m(63,"Plugins"),g(),p(64,"div",5),m(65,"Optional plugin files for "),p(66,"a",14),m(67,"custom reports"),g(),m(68," or "),p(69,"a",15),m(70,"custom history storage"),g(),m(71,"."),g(),se(72,FO,6,2,"div",12),p(73,"div",7)(74,"a",8),O("click",function(){return r.addPlugin()}),E(75,"i",9),m(76," Add plugin"),g()(),E(77,"br"),p(78,"h3"),m(79,"Assembly filters"),g(),p(80,"div",5),m(81,"Optional list of "),p(82,"b"),m(83,"assemblies"),g(),m(84," that should be included or excluded in the report. "),E(85,"br"),m(86,"Exclusion filters take precedence over inclusion filters. "),E(87,"br"),m(88,"Wildcards are allowed."),E(89,"br"),p(90,"p"),m(91,"Examples:"),E(92,"br"),p(93,"code"),m(94,"+Included"),g(),E(95,"br"),p(96,"code"),m(97,"-Excluded"),g()()(),se(98,NO,6,2,"div",12),p(99,"div",7)(100,"a",8),O("click",function(){return r.addAssemblyFilter()}),E(101,"i",9),m(102," Add assembly filter"),g()(),E(103,"br"),p(104,"h3"),m(105,"Class filters"),g(),p(106,"div",5),m(107,"Optional list of "),p(108,"b"),m(109,"classes"),g(),m(110," that should be included or excluded in the report. "),E(111,"br"),m(112,"Exclusion filters take precedence over inclusion filters. "),E(113,"br"),m(114,"Wildcards are allowed."),E(115,"br"),p(116,"p"),m(117,"Examples:"),E(118,"br"),p(119,"code"),m(120,"+Included"),g(),E(121,"br"),p(122,"code"),m(123,"-Excluded"),g()()(),se(124,OO,6,2,"div",12),p(125,"div",7)(126,"a",8),O("click",function(){return r.addClassFilter()}),E(127,"i",9),m(128," Add class filter"),g()(),E(129,"br"),p(130,"h3"),m(131,"File filters"),g(),p(132,"div",5),m(133,"Optional list of "),p(134,"b"),m(135,"files"),g(),m(136," that should be included or excluded in the report. "),E(137,"br"),m(138,"Exclusion filters take precedence over inclusion filters. "),E(139,"br"),m(140,"Wildcards are allowed."),E(141,"br"),p(142,"p"),m(143,"Examples:"),E(144,"br"),p(145,"code"),m(146,"+Included"),g(),E(147,"br"),p(148,"code"),m(149,"-Excluded"),g()()(),se(150,PO,6,2,"div",12),p(151,"div",7)(152,"a",8),O("click",function(){return r.addFileFilter()}),E(153,"i",9),m(154," Add file filter"),g()(),E(155,"br"),p(156,"h3"),m(157,"Verbosity"),g(),p(158,"div",5),m(159,"The verbosity level of the log messages."),g(),p(160,"div",7)(161,"select",16),O("ngModelChange",function(i){return r.selectedverbosity=i}),se(162,kO,2,2,"option",17),g()(),E(163,"br"),p(164,"h3"),m(165,"Title"),g(),p(166,"div",5),m(167,"Optional title."),g(),p(168,"div",7)(169,"input",18),O("ngModelChange",function(i){return r.title=i}),g()(),E(170,"br"),p(171,"h3"),m(172,"Tag"),g(),p(173,"div",5),m(174,"Optional tag or build version."),g(),p(175,"div",7)(176,"input",19),O("ngModelChange",function(i){return r.tag=i}),g()(),E(177,"br"),p(178,"h3"),m(179,"License"),g(),p(180,"div",5),m(181,"Optional license. Get your license here: "),p(182,"a",20),m(183,"https://reportgenerator.io/pro"),g()(),p(184,"div",7)(185,"textarea",21),O("ngModelChange",function(i){return r.license=i}),g()()()(),p(186,"div",22)(187,"div",23)(188,"h3"),m(189,"Instructions"),g(),m(190," Install "),p(191,"a",24),m(192),g(),E(193,"br")(194,"br"),se(195,VO,6,2,"div",25),E(196,"br"),p(197,"h4"),m(198,"Usage"),g(),p(199,"pre",26),m(200),g()(),p(201,"div",27)(202,"h3"),m(203,"Instructions"),g(),m(204," Install "),p(205,"a",24),m(206),g(),E(207,"br")(208,"br"),se(209,LO,6,2,"div",25),E(210,"br"),p(211,"h4"),m(212,"Usage"),g(),p(213,"pre",26),m(214),g(),p(215,"button",28),O("click",function(){return r.copy()}),se(216,HO,3,0,"span",29),se(217,BO,3,0,"span",29),g()()()()()),2&n&&(M(8),I("ngForOf",r.environments),M(3),I("ngForOf",r.packages),M(7),I("ngForOf",r.reports)("ngForTrackBy",r.trackByIndex),M(11),I("ngModel",r.targetdir),M(8),I("ngForOf",r.reporttypes),M(7),I("ngForOf",r.sourcedirectories)("ngForTrackBy",r.trackByIndex),M(16),I("ngModel",r.historydir)("required",r.historyDirRequired()),M(12),I("ngForOf",r.plugins)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.assemblyfilters)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.classfilters)("ngForTrackBy",r.trackByIndex),M(26),I("ngForOf",r.filefilters)("ngForTrackBy",r.trackByIndex),M(11),I("ngModel",r.selectedverbosity),M(1),I("ngForOf",r.verbosities)("ngForTrackBy",r.trackByIndex),M(7),I("ngModel",r.title),M(7),I("ngModel",r.tag),M(6),I("routerLink",Le(35,jO)),M(3),I("ngModel",r.license),M(6),I("href",r.selectedpackage.url,ko),M(1),Fe(r.selectedpackage.name),M(3),I("ngForOf",r.selectedpackage.installoptions),M(5),Fe(r.getUsage()),M(5),I("href",r.selectedpackage.url,ko),M(1),Fe(r.selectedpackage.name),M(3),I("ngForOf",r.selectedpackage.installoptions),M(5),Fe(r.getUsage()),M(2),I("ngIf",!r.usageCopied),M(1),I("ngIf",r.usageCopied))},directives:[pd,td,yi,vv,gd,fi,ed,ha,Rc,vi,Ys,Jc,Cd,pa,W_,Z_,hr],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:20px}"]}),e})();const UO=[{path:"",component:hO,pathMatch:"full",data:{title:"Home"}},{path:"usage",component:yD,data:{title:"Usage"}},{path:"usage.html",component:yD,data:{title:"Usage"}},{path:"pro",component:wO,data:{title:"PRO"}},{path:"contact",component:dO,data:{title:"Contact"}}];let $O=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e}),e.\u0275inj=lt({imports:[[uD.forRoot(UO)],uD]}),e})();const vD=function(){return["/"]},GO=function(e){return{show:e}},Ra=function(){return["link-active"]},qO=function(){return{exact:!0}},zO=function(){return["/usage"]},WO=function(){return["/contact"]},QO=function(){return["/pro"]};let ZO=(()=>{class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-nav-menu"]],decls:23,vars:24,consts:[[1,"mb-5"],[1,"navbar","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.png","height","48","alt","Icon",1,"me-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex","justify-content-end",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"pro-button"]],template:function(n,r){1&n&&(p(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),E(4,"img",4),m(5," ReportGenerator"),g(),p(6,"button",5),O("click",function(){return r.toggle()}),E(7,"span",6),g(),p(8,"div",7)(9,"ul",8)(10,"li",9)(11,"a",10),m(12,"Home"),g()(),p(13,"li",11)(14,"a",10),m(15,"Usage"),g()(),p(16,"li",11)(17,"a",10),m(18,"Contact"),g()(),p(19,"li",11)(20,"a",10)(21,"span",12),m(22,"PRO"),g()()()()()()()()),2&n&&(M(3),I("routerLink",Le(12,vD)),M(3),Vt("aria-expanded",r.isExpanded),M(2),I("ngClass",Fs(13,GO,r.isExpanded)),M(2),I("routerLinkActive",Le(15,Ra))("routerLinkActiveOptions",Le(16,qO)),M(1),I("routerLink",Le(17,vD)),M(2),I("routerLinkActive",Le(18,Ra)),M(1),I("routerLink",Le(19,zO)),M(2),I("routerLinkActive",Le(20,Ra)),M(1),I("routerLink",Le(21,WO)),M(2),I("routerLinkActive",Le(22,Ra)),M(1),I("routerLink",Le(23,QO)))},directives:[hr,Rc,oD],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{color:#fff;background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#1c8eb7!important;font-weight:400}"]}),e})(),JO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wt({type:e,selectors:[["app-footer"]],decls:58,vars:0,consts:[[1,"container-fluid","mt-5","p-5"],[1,"container"],[1,"row"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3"],["href","https://github.com/danielpalme/ReportGenerator/issues","target","_blank"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(n,r){1&n&&(p(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p")(5,"b"),m(6,"GitHub"),g()(),p(7,"a",4),m(8,"Source code"),g(),E(9,"br"),p(10,"a",5),m(11,"Wiki"),g(),E(12,"br"),p(13,"a",6),m(14,"FAQ"),g()(),p(15,"div",7)(16,"p")(17,"b"),m(18,"Download"),g()(),p(19,"i"),m(20,"NuGet"),g(),E(21,"br"),p(22,"a",8),m(23,"ReportGenerator"),g(),E(24,"br"),p(25,"a",9),m(26,"dotnet-reportgenerator-globaltool"),g(),E(27,"br"),p(28,"a",10),m(29,"ReportGenerator.Core"),g(),E(30,"br")(31,"br"),p(32,"i"),m(33,"Integration"),g(),E(34,"br"),p(35,"a",11),m(36,"GitHub actions"),g(),E(37,"br"),p(38,"a",12),m(39,"Azure DevOps"),g()(),p(40,"div",13)(41,"p")(42,"b"),m(43,"Community"),g()(),p(44,"a",14),E(45,"i",15),m(46," GitHub"),g(),E(47,"br"),p(48,"a",16),E(49,"i",17),m(50," Twitter"),g(),E(51,"br")(52,"br"),p(53,"a",18),m(54,"Privacy"),g(),E(55,"br"),p(56,"a",19),m(57,"Imprint"),g()()()()())},styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]}),e})(),KO=(()=>{class e{constructor(n,r,o){this.titleService=n,this.router=r,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(wn(n=>n instanceof ao),ee(()=>this.activatedRoute),ee(n=>{for(;n.firstChild;)n=n.firstChild;return n}),wn(n=>"primary"===n.outlet),Ie(n=>n.data)).subscribe(n=>{this.titleService.setTitle(n.title+" - ReportGenerator")})}}return e.\u0275fac=function(n){return new(n||e)(D(kv),D(it),D(dr))},e.\u0275cmp=Wt({type:e,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&E(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},directives:[ZO,Pd,JO],encapsulation:2}),e})(),YO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=_t({type:e,bootstrap:[KO]}),e.\u0275inj=lt({providers:[pD,gD,fD],imports:[[Dx,$O,qx,QR]]}),e})();(function sI(){Wy=!1})(),_x().bootstrapModule(YO).catch(e=>console.error(e))}},ae=>{ae(ae.s=245)}]); \ No newline at end of file diff --git a/src/AzureDevopsTask/README.md b/src/AzureDevopsTask/README.md index 29ba4a56..dae57588 100644 --- a/src/AzureDevopsTask/README.md +++ b/src/AzureDevopsTask/README.md @@ -28,7 +28,7 @@ To learn how to use *ReportGenerator* have a look at the: verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off title: '' # Optional title. tag: '$(build.buildnumber)_#$(build.buildid)' # Optional tag or build version. - license: '' # Optional license for PRO version. Get your license here: https://danielpalme.github.io/ReportGenerator/pro + license: '' # Optional license for PRO version. Get your license here: https://reportgenerator.io/pro customSettings: '' # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings. ``` diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index ef72fe15..5b51a659 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -128,7 +128,7 @@ "label": "License", "defaultValue": "", "required": false, - "helpMarkDown": "Optional license for PRO version. Get your license here: https://danielpalme.github.io/ReportGenerator/pro" + "helpMarkDown": "Optional license for PRO version. Get your license here: https://reportgenerator.io/pro" }, { "name": "customSettings", diff --git a/src/ReportGenerator.Core/Properties/Help.Designer.cs b/src/ReportGenerator.Core/Properties/Help.Designer.cs index 1cb7c125..22f86bfd 100644 --- a/src/ReportGenerator.Core/Properties/Help.Designer.cs +++ b/src/ReportGenerator.Core/Properties/Help.Designer.cs @@ -133,7 +133,7 @@ internal static string Explanations_HistoryDirectory { } /// - /// Looks up a localized string similar to License: Optional license for PRO version. Get your license here: https://danielpalme.github.io/ReportGenerator/pro. + /// Looks up a localized string similar to License: Optional license for PRO version. Get your license here: https://reportgenerator.io/pro. /// internal static string Explanations_License { get { diff --git a/src/ReportGenerator.Core/Properties/Help.resx b/src/ReportGenerator.Core/Properties/Help.resx index 5bd0e9e9..7094bd28 100644 --- a/src/ReportGenerator.Core/Properties/Help.resx +++ b/src/ReportGenerator.Core/Properties/Help.resx @@ -145,7 +145,7 @@ History directory: Optional directory for storing persistent coverage information. - License: Optional license for PRO version. Get your license here: https://danielpalme.github.io/ReportGenerator/pro + License: Optional license for PRO version. Get your license here: https://reportgenerator.io/pro Plugins: Optional plugin files for custom reports or custom history storage (separated by semicolon). diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs b/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs index 34e0737d..118c10a8 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs +++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs @@ -193,7 +193,7 @@ public void Cards(IEnumerable cards) { this.reportTextWriter.WriteLine("
"); this.reportTextWriter.WriteLine("

{0}

", ReportResources.MethodCoverageProVersion); - this.reportTextWriter.WriteLine("{0}", ReportResources.MethodCoverageProButton); + this.reportTextWriter.WriteLine("{0}", ReportResources.MethodCoverageProButton); this.reportTextWriter.WriteLine("
"); } else