diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03f0178e..c6a3906c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.1.17 + version: 5.1.18 dotnetSDKVersion: 7.0.102 nodeVersion: 18 diff --git a/docs/main.6a1f288ef241becb.js b/docs/main.6a1f288ef241becb.js index 4ad9505c..cb879527 100644 --- a/docs/main.6a1f288ef241becb.js +++ b/docs/main.6a1f288ef241becb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{304:()=>{function he(e){return"function"==typeof e}function Ro(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 fs=Ro(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 No(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(he(r))try{r()}catch(i){t=i instanceof fs?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Uf(i)}catch(s){t=t??[],s instanceof fs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new fs(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uf(t);else{if(t instanceof Et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&No(n,t)}remove(t){const{_finalizers:n}=this;n&&No(n,t),t instanceof Et&&t._removeParent(this)}}Et.EMPTY=(()=>{const e=new Et;return e.closed=!0,e})();const Lf=Et.EMPTY;function Vf(e){return e instanceof Et||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function Uf(e){he(e)?e():e.unsubscribe()}const Yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},hs={setTimeout(e,t,...n){const{delegate:r}=hs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=hs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Hf(e){hs.setTimeout(()=>{const{onUnhandledError:t}=Yn;if(!t)throw e;t(e)})}function jf(){}const Aw=Sl("C",void 0,void 0);function Sl(e,t,n){return{kind:e,value:t,error:n}}let Jn=null;function ps(e){if(Yn.useDeprecatedSynchronousErrorHandling){const t=!Jn;if(t&&(Jn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Jn;if(Jn=null,n)throw r}}else e()}class Ml extends Et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vf(t)&&t.add(this)):this.destination=kw}static create(t,n,r){return new gs(t,n,r)}next(t){this.isStopped?Al(function xw(e){return Sl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Al(function Tw(e){return Sl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Al(Aw,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 Nw=Function.prototype.bind;function Il(e,t){return Nw.call(e,t)}class Fw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ms(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ms(r)}else ms(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ms(n)}}}class gs extends Ml{constructor(t,n,r){let o;if(super(),he(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Yn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Il(t.next,i),error:t.error&&Il(t.error,i),complete:t.complete&&Il(t.complete,i)}):o=t}this.destination=new Fw(o)}}function ms(e){Yn.useDeprecatedSynchronousErrorHandling?function Rw(e){Yn.useDeprecatedSynchronousErrorHandling&&Jn&&(Jn.errorThrown=!0,Jn.error=e)}(e):Hf(e)}function Al(e,t){const{onStoppedNotification:n}=Yn;n&&hs.setTimeout(()=>n(e,t))}const kw={closed:!0,next:jf,error:function Pw(e){throw e},complete:jf},Tl="function"==typeof Symbol&&Symbol.observable||"@@observable";function er(e){return e}function Bf(e){return 0===e.length?er:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Se=(()=>{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 Vw(e){return e&&e instanceof Ml||function Lw(e){return e&&he(e.next)&&he(e.error)&&he(e.complete)}(e)&&Vf(e)}(n)?n:new gs(n,r,o);return ps(()=>{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=$f(r))((o,i)=>{const s=new gs({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)}[Tl](){return this}pipe(...n){return Bf(n)(this)}toPromise(n){return new(n=$f(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $f(e){var t;return null!==(t=e??Yn.Promise)&&void 0!==t?t:Promise}const Uw=Ro(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let mn=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Gf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Uw}next(n){ps(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ps(()=>{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(){ps(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Lf:(this.currentObservers=null,i.push(n),new Et(()=>{this.currentObservers=null,No(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Se;return n.source=this,n}}return e.create=(t,n)=>new Gf(t,n),e})();class Gf extends mn{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:Lf}}function zf(e){return he(e?.lift)}function Be(e){return t=>{if(zf(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 Hw(e,t,n,r,o)}class Hw extends Ml{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 W(e,t){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{r.next(e.call(t,i,o++))}))})}function tr(e){return this instanceof tr?(this.v=e,this):new tr(e)}function $w(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(g){r[g]&&(o[g]=function(m){return new Promise(function(y,C){i.push([g,m,y,C])>1||a(g,m)})})}function a(g,m){try{!function l(g){g.value instanceof tr?Promise.resolve(g.value.v).then(u,c):d(i[0][2],g)}(r[g](m))}catch(y){d(i[0][3],y)}}function u(g){a("next",g)}function c(g){a("throw",g)}function d(g,m){g(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Gw(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 Kf(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 Zf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qf(e){return he(e?.then)}function Xf(e){return he(e[Tl])}function Yf(e){return Symbol.asyncIterator&&he(e?.[Symbol.asyncIterator])}function Jf(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const eh=function qw(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function th(e){return he(e?.[eh])}function nh(e){return $w(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield tr(n.read());if(o)return yield tr(void 0);yield yield tr(r)}}finally{n.releaseLock()}})}function rh(e){return he(e?.getReader)}function Yt(e){if(e instanceof Se)return e;if(null!=e){if(Xf(e))return function Ww(e){return new Se(t=>{const n=e[Tl]();if(he(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Zf(e))return function Kw(e){return new Se(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Hf)})}(e);if(Yf(e))return oh(e);if(th(e))return function Qw(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(rh(e))return function Xw(e){return oh(nh(e))}(e)}throw Jf(e)}function oh(e){return new Se(t=>{(function Yw(e,t){var n,r,o,i;return function jw(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=Gw(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 yn(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 $e(e,t,n=1/0){return he(t)?$e((r,o)=>W((i,s)=>t(r,i,o,s))(Yt(e(r,o))),n):("number"==typeof t&&(n=t),Be((r,o)=>function Jw(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const g=()=>{d&&!l.length&&!u&&t.complete()},m=C=>u{i&&t.next(C),u++;let w=!1;Yt(n(C,c++)).subscribe(Oe(t,M=>{o?.(M),i?m(M):t.next(M)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(M)):y(M)}g()}catch(M){t.error(M)}}))};return e.subscribe(Oe(t,m,()=>{d=!0,g()})),()=>{a?.()}}(r,o,e,n)))}function Ar(e=1/0){return $e(er,e)}const Jt=new Se(e=>e.complete());function Rl(e){return e[e.length-1]}function ih(e){return he(Rl(e))?e.pop():void 0}function Fo(e){return function tb(e){return e&&he(e.schedule)}(Rl(e))?e.pop():void 0}function sh(e,t=0){return Be((n,r)=>{n.subscribe(Oe(r,o=>yn(r,e,()=>r.next(o),t),()=>yn(r,e,()=>r.complete(),t),o=>yn(r,e,()=>r.error(o),t)))})}function ah(e,t=0){return Be((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(n=>{yn(n,t,()=>{const r=e[Symbol.asyncIterator]();yn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Me(e,t){return t?function lb(e,t){if(null!=e){if(Xf(e))return function rb(e,t){return Yt(e).pipe(ah(t),sh(t))}(e,t);if(Zf(e))return function ib(e,t){return new Se(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qf(e))return function ob(e,t){return Yt(e).pipe(ah(t),sh(t))}(e,t);if(Yf(e))return lh(e,t);if(th(e))return function sb(e,t){return new Se(n=>{let r;return yn(n,t,()=>{r=e[eh](),yn(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)}),()=>he(r?.return)&&r.return()})}(e,t);if(rh(e))return function ab(e,t){return lh(nh(e),t)}(e,t)}throw Jf(e)}(e,t):Yt(e)}function Tr(e){return e<=0?()=>Jt:Be((t,n)=>{let r=0;t.subscribe(Oe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Tr(1)).subscribe(()=>e())}function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function Fl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 Pl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const db=le({__forward_ref__:le});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return ue(this())},e}function V(e){return kl(e)?e():e}function kl(e){return"function"==typeof e&&e.hasOwnProperty(db)&&e.__forward_ref__===pe}function Ol(e){return e&&!!e.\u0275providers}const uh="https://g.co/ng/security#xss";class I extends Error{constructor(t,n){super(function ys(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function vs(e,t){throw new I(-201,!1)}function St(e,t){null==e&&function ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _s(e){return ch(e,Cs)||ch(e,fh)}function ch(e,t){return e.hasOwnProperty(t)?e[t]:null}function dh(e){return e&&(e.hasOwnProperty(Ll)||e.hasOwnProperty(Cb))?e[Ll]:null}const Cs=le({\u0275prov:le}),Ll=le({\u0275inj:le}),fh=le({ngInjectableDef:le}),Cb=le({ngInjectorDef:le});var U=(()=>((U=U||{})[U.Default=0]="Default",U[U.Host=1]="Host",U[U.Self=2]="Self",U[U.SkipSelf=4]="SkipSelf",U[U.Optional=8]="Optional",U))();let Vl;function It(e){const t=Vl;return Vl=e,t}function hh(e,t,n){const r=_s(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&U.Optional?null:void 0!==t?t:void vs(ue(e))}const ge=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Po={},Ul="__NG_DI_FLAG__",Ds="ngTempTokenPath",bb=/\n/gm,ph="__source";let ko;function xr(e){const t=ko;return ko=e,t}function Sb(e,t=U.Default){if(void 0===ko)throw new I(-203,!1);return null===ko?hh(e,void 0,t):ko.get(e,t&U.Optional?null:void 0,t)}function R(e,t=U.Default){return(function Db(){return Vl}()||Sb)(V(e),t)}function Y(e,t=U.Default){return R(e,ws(t))}function ws(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hl(e){const t=[];for(let n=0;n((Ot=Ot||{})[Ot.OnPush=0]="OnPush",Ot[Ot.Default=1]="Default",Ot))(),en=(()=>{return(e=en||(en={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",en;var e})();const vn={},re=[],bs=le({\u0275cmp:le}),jl=le({\u0275dir:le}),Bl=le({\u0275pipe:le}),mh=le({\u0275mod:le}),_n=le({\u0275fac:le}),Lo=le({__NG_ELEMENT_ID__:le});let Tb=0;function mt(e){return Ln(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ot.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,id:"c"+Tb++,styles:e.styles||re,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=_h(e.inputs,r),o.outputs=_h(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(yh).filter(vh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(rt).filter(vh):null,o})}function yh(e){return se(e)||Ze(e)}function vh(e){return null!==e}function Lt(e){return Ln(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _h(e,t){if(null==e)return vn;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 B=mt;function se(e){return e[bs]||null}function Ze(e){return e[jl]||null}function rt(e){return e[Bl]||null}function yt(e,t){const n=e[mh]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}const Q=11;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ut(e){return Array.isArray(e)&&!0===e[1]}function zl(e){return 0!=(4&e.flags)}function jo(e){return e.componentOffset>-1}function As(e){return 1==(1&e.flags)}function Ht(e){return null!==e.template}function Nb(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(_n)?e[_n]:null}class kb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function At(){return Sh}function Sh(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lb),Ob}function Ob(){const e=Ih(this),t=e?.current;if(t){const n=e.previous;if(n===vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Lb(e,t,n,r){const o=this.declaredInputs[n],i=Ih(e)||function Vb(e,t){return e[Mh]=t}(e,{previous:vn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new kb(l&&l.currentValue,t,a===vn),e[r]=t}At.ngInherit=!0;const Mh="__ngSimpleChanges__";function Ih(e){return e[Mh]||null}function ze(e){for(;Array.isArray(e);)e=e[0];return e}function Ts(e,t){return ze(t[e])}function _t(e,t){return ze(t[e.index])}function xh(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return vt(n)?n:n[0]}function xs(e){return 64==(64&e[2])}function Vn(e,t){return null==t?null:e[t]}function Rh(e){e[18]=0}function Wl(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 z={lFrame:jh(null),bindingsEnabled:!0};function Fh(){return z.bindingsEnabled}function b(){return z.lFrame.lView}function te(){return z.lFrame.tView}function ce(e){return z.lFrame.contextLView=e,e[8]}function de(e){return z.lFrame.contextLView=null,e}function qe(){let e=Ph();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ph(){return z.lFrame.currentTNode}function nn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function Kl(){return z.lFrame.isParent}function Zl(){z.lFrame.isParent=!1}function it(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lr(){return z.lFrame.bindingIndex++}function Xb(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ql(t)}function Ql(e){z.lFrame.currentDirectiveIndex=e}function Vh(){return z.lFrame.currentQueryIndex}function Yl(e){z.lFrame.currentQueryIndex=e}function Jb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Uh(e,t,n){if(n&U.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&U.Host||(o=Jb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=z.lFrame=Hh();return r.currentTNode=t,r.lView=e,!0}function Jl(e){const t=Hh(),n=e[1];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hh(){const e=z.lFrame,t=null===e?null:e.child;return null===t?jh(e):t}function jh(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 Bh(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $h=Bh;function eu(){const e=Bh();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 st(){return z.lFrame.selectedIndex}function or(e){z.lFrame.selectedIndex=e}function _e(){const e=z.lFrame;return xh(e.tView,e.selectedIndex)}function Rs(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 $o{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ru(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ou=!0;function Os(e){const t=ou;return ou=e,t}let hE=0;const rn={};function Ls(e,t){const n=Xh(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,iu(r.data,e),iu(t,null),iu(r.blueprint,null));const o=su(e,t),i=e.injectorIndex;if(Kh(o)){const s=Ps(o),a=ks(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 iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function su(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=op(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function au(e,t,n){!function pE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lo)&&(r=n[Lo]),null==r&&(r=n[Lo]=hE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:vE:t}(n);if("function"==typeof i){if(!Uh(t,e,r))return r&U.Host?Yh(o,0,r):Jh(t,n,r,o);try{const s=i(r);if(null!=s||r&U.Optional)return s;vs()}finally{$h()}}else if("number"==typeof i){let s=null,a=Xh(e,t),l=-1,u=r&U.Host?t[16][6]:null;for((-1===a||r&U.SkipSelf)&&(l=-1===a?su(e,t):t[a+8],-1!==l&&rp(r,!1)?(s=t[1],a=Ps(l),t=ks(l,t)):a=-1);-1!==a;){const c=t[1];if(np(i,a,c.data)){const d=mE(a,t,n,s,r,u);if(d!==rn)return d}l=t[a+8],-1!==l&&rp(r,t[1].data[a+8]===u)&&np(i,a,t)?(s=c,a=Ps(l),t=ks(l,t)):a=-1}}return o}function mE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Vs(a,s,n,null==r?jo(a)&&ou:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==c?ir(t,s,c,a):rn}function Vs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,g=o?a+c:e.directiveEnd;for(let m=r?a:a+c;m=l&&y.type===n)return m}if(o){const m=s[l];if(m&&Ht(m)&&m.type===n)return l}return null}function ir(e,t,n,r){let o=e[n];const i=t.data;if(function uE(e){return e instanceof $o}(o)){const s=o;s.resolving&&function fb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(i[n]));const a=Os(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?It(s.injectImpl):null;Uh(e,r,U.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function aE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Sh(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&&It(l),Os(a),s.resolving=!1,$h()}}return o}function np(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_n]||lu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[_n]||lu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function lu(e){return kl(e)?()=>{const t=lu(V(e));return t&&t()}:rr(e)}function op(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const jr="__parameters__";function $r(e,t,n){return Ln(()=>{const r=function uu(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(jr)?l[jr]:Object.defineProperty(l,jr,{value:[]})[jr];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 N{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function sr(e,t){e.forEach(n=>Array.isArray(n)?sr(n,t):t(n))}function sp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dt(e,t,n){let r=Gr(e,t);return r>=0?e[1|r]=n:(r=~r,function bE(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 du(e,t){const n=Gr(e,t);if(n>=0)return e[1|n]}function Gr(e,t){return function ap(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<((dt=dt||{})[dt.Important=1]="Important",dt[dt.DashCase=2]="DashCase",dt))();const yu=new Map;let zE=0;const _u="__ngContext__";function Ye(e,t){vt(t)?(e[_u]=t[20],function WE(e){yu.set(e[20],e)}(t)):e[_u]=t}function Du(e,t){return undefined(e,t)}function Jo(e){const t=e[3];return Ut(t)?t[3]:t}function wu(e){return Ip(e[13])}function bu(e){return Ip(e[4])}function Ip(e){for(;null!==e&&!Ut(e);)e=e[4];return e}function qr(e,t,n,r,o){if(null!=r){let i,s=!1;Ut(r)?i=r:vt(r)&&(s=!0,r=r[0]);const a=ze(r);0===e&&null!==n?null==o?Fp(t,n,a):ar(t,n,a,o||null,!0):1===e&&null!==n?ar(t,n,a,o||null,!0):2===e?function xu(e,t,n){const r=Gs(e,t);r&&function p0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function y0(e,t,n,r,o){const i=n[7];i!==ze(n)&&qr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Hs(e,10+t);!function s0(e,t){ei(e,t,t[Q],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function xp(e,t){if(!(128&t[2])){const n=t[Q];n.destroyNode&&ei(e,t,n,3,null,null),function u0(e){let t=e[13];if(!t)return Iu(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&Iu(t[1],t),t=t[3];null===t&&(t=e),vt(t)&&Iu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Iu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function h0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return _t(r,n)}}(e,t.parent,n)}function ar(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Fp(e,t,n){e.appendChild(t,n)}function Pp(e,t,n,r,o){null!==r?ar(e,t,n,r,o):Fp(e,t,n)}function Gs(e,t){return e.parentNode(t)}let Fu,Ks,Lp=function Op(e,t,n){return 40&e.type?_t(e,n):null};function zs(e,t,n,r){const o=Rp(e,r,t),i=t[Q],a=function kp(e,t,n){return Lp(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ks}()?.createScriptURL(e)||e}class Wp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${uh})`}}function Un(e){return e instanceof Wp?e.changingThisBreaksApplicationSecurity:e}function ti(e,t){const n=function T0(e){return e instanceof Wp&&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 ${uh})`)}return n===t}const F0=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Re=(()=>((Re=Re||{})[Re.NONE=0]="NONE",Re[Re.HTML=1]="HTML",Re[Re.STYLE=2]="STYLE",Re[Re.SCRIPT=3]="SCRIPT",Re[Re.URL=4]="URL",Re[Re.RESOURCE_URL=5]="RESOURCE_URL",Re))();function Wr(e){const t=ri();return t?t.sanitize(Re.URL,e)||"":ti(e,"URL")?Un(e):function ku(e){return(e=String(e)).match(F0)?e:"unsafe:"+e}(G(e))}function eg(e){const t=ri();if(t)return qp(t.sanitize(Re.RESOURCE_URL,e)||"");if(ti(e,"ResourceURL"))return qp(Un(e));throw new I(904,!1)}function ri(){const e=b();return e&&e[12]}const Qs=new N("ENVIRONMENT_INITIALIZER"),ng=new N("INJECTOR",-1),rg=new N("INJECTOR_DEF_TYPES");class og{get(t,n=Po){if(n===Po){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function W0(...e){return{\u0275providers:ig(0,e),\u0275fromNgModule:!0}}function ig(e,...t){const n=[],r=new Set;let o;return sr(t,i=>{const s=i;Uu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&sg(o,n),n}function sg(e,t){for(let n=0;n{t.push(i)})}}function Uu(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=dh(e);const s=!i&&se(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=dh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)Uu(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{sr(i.imports,c=>{Uu(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&sg(u,t)}if(!a){const u=rr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:re},{provide:rg,useValue:o,multi:!0},{provide:Qs,useValue:()=>R(o),multi:!0})}const l=i.providers;null==l||a||Hu(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Hu(e,t){for(let n of e)Ol(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,t):t(n)}const K0=le({provide:String,useValue:le});function ju(e){return null!==e&&"object"==typeof e&&K0 in e}function ur(e){return"function"==typeof e}const Bu=new N("Set Injector scope."),Xs={},Q0={};let $u;function Ys(){return void 0===$u&&($u=new og),$u}class on{}class ug extends on{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zu(t,s=>this.processProvider(s)),this.records.set(ng,Kr(void 0,this)),o.has("environment")&&this.records.set(on,Kr(void 0,this));const i=this.records.get(Bu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rg.multi,re,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xr(this),r=It(void 0);try{return t()}finally{xr(n),It(r)}}get(t,n=Po,r=U.Default){this.assertNotDestroyed(),r=ws(r);const o=xr(this),i=It(void 0);try{if(!(r&U.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function t1(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&_s(t);a=l&&this.injectableDefInScope(l)?Kr(Gu(t),Xs):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&U.Self?Ys():this.parent).get(t,n=r&U.Optional&&n===Po?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ds]=s[Ds]||[]).unshift(ue(t)),o)throw s;return function Ib(e,t,n,r){const o=e[Ds];throw t[ph]&&o.unshift(t[ph]),e.message=function Ab(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).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):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(bb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ds]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{It(i),xr(o)}}resolveInjectorInitializers(){const t=xr(this),n=It(void 0);try{const r=this.get(Qs.multi,re,U.Self);for(const o of r)o()}finally{xr(t),It(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=ur(t=V(t))?t:V(t&&t.provide);const r=function Y0(e){return ju(e)?Kr(void 0,e.useValue):Kr(cg(e),Xs)}(t);if(ur(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Kr(void 0,Xs,!0),o.factory=()=>Hl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xs&&(n.value=Q0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function e1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Gu(e){const t=_s(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof N)throw new I(204,!1);if(e instanceof Function)return function X0(e){const t=e.length;if(t>0)throw function Wo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new I(204,!1)}function cg(e,t,n){let r;if(ur(e)){const o=V(e);return rr(o)||Gu(o)}if(ju(e))r=()=>V(e.useValue);else if(function lg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Hl(e.deps||[]));else if(function ag(e){return!(!e||!e.useExisting)}(e))r=()=>R(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function J0(e){return!!e.deps}(e))return rr(o)||Gu(o);r=()=>new o(...Hl(e.deps))}return r}function Kr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zu(e,t){for(const n of e)Array.isArray(n)?zu(n,t):n&&Ol(n)?zu(n.\u0275providers,t):t(n)}class n1{}class dg{}class o1{resolveComponentFactory(t){throw function r1(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let oi=(()=>{class e{}return e.NULL=new o1,e})();function i1(){return Zr(qe(),b())}function Zr(e,t){return new wt(_t(e,t))}let wt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=i1,e})();function s1(e){return e instanceof wt?e.nativeElement:e}class hg{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function a1(){const e=b(),n=Ct(qe().index,e);return(vt(n)?n:e)[Q]}(),e})(),l1=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null}),e})();class ii{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const u1=new ii("15.1.0"),qu={};function Ku(e){return e.ngOriginalError}class Qr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ku(t);for(;n&&Ku(n);)n=Ku(n);return n||null}}function Sn(e){return e instanceof Function?e():e}function gg(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const mg="ng-template";function C1(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const m=8&r?g:null;if(m&&-1!==gg(m,u,0)||2&r&&u!==g){if(jt(r))return!1;s=!0}}}}else{if(!s&&!jt(r)&&!jt(l))return!1;if(s&&jt(l))continue;s=!1,r=l|1&r}}return jt(r)||s}function jt(e){return 0==(1&e)}function b1(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&&!jt(s)&&(t+=_g(i,o),o=""),r=s,i=i||!jt(r);n++}return""!==o&&(t+=_g(i,o)),t}const q={};function _(e){Cg(te(),b(),st()+e,!1)}function Cg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ns(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Fs(t,i,0,n)}or(n)}function Eg(e,t=null,n=null,r){const o=Sg(e,t,n,r);return o.resolveInjectorInitializers(),o}function Sg(e,t=null,n=null,r,o=new Set){const i=[n||re,W0(e)];return r=r||("object"==typeof e?void 0:ue(e)),new ug(i,t||Ys(),r||null,o)}let Bt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Eg({name:""},r,n,"");{const o=n.name??"";return Eg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Po,e.NULL=new og,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>R(ng)}),e.__NG_ELEMENT_ID__=-1,e})();function S(e,t=U.Default){const n=b();return null===n?R(e,t):ep(qe(),n,V(e),t)}function Fg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Cg(e,t,22,!1),n(r,o)}finally{or(i)}}function tc(e,t,n){if(zl(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,si(e,n,o.hostVars,q),o)}function sn(e,t,n,r,o,i){const s=_t(e,t);!function ac(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?G(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Q],s,i,e.value,n,r,o)}function pS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&lc(n)}}function lc(e){for(let r=wu(e);null!==r;r=bu(r))for(let o=10;o0&&lc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&lc(o)}}function _S(e,t){const n=Ct(t,e),r=n[1];(function CS(e,t){for(let n=t.length;n-1&&(Mu(t,r),Hs(n,r))}this._attachedToViewContainer=!1}xp(this._lView[1],this._lView)}onDestroy(t){Og(this._lView[1],this._lView,null,t)}markForCheck(){uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ra(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function l0(e,t){ei(e,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class DS extends ai{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ra(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Wg extends oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=se(t);return new li(n,this.ngModule)}}function Kg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ws(r);const o=this.injector.get(t,qu,r);return o!==qu||n===qu?o:this.parentInjector.get(t,n,r)}}class li extends dg{get inputs(){return Kg(this.componentDef.inputs)}get outputs(){return Kg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function T1(e){return e.map(A1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof on?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new bS(t,i):t,a=s.get(hg,null);if(null===a)throw new I(407,!1);const l=s.get(l1,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function J1(e,t,n){return e.selectRootElement(t,n===en.ShadowDom)}(u,r,this.componentDef.encapsulation):Su(u,c,function wS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),g=this.componentDef.onPush?288:272,m=oc(0,null,null,1,0,null,null,null,null,null),y=ea(null,m,null,g,null,null,a,u,l,s,null);let C,w;Jl(y);try{const M=this.componentDef;let A,D=null;M.findHostDirectiveDefs?(A=[],D=new Map,M.findHostDirectiveDefs(M,A,D),A.push(M)):A=[M];const L=function SS(e,t){const n=e[1];return e[22]=t,Jr(n,22,2,"#host",null)}(y,d),fe=function MS(e,t,n,r,o,i,s,a){const l=o[1];!function IS(e,t,n,r){for(const o of e)t.mergedAttrs=Go(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(oa(t,t.mergedAttrs,!0),null!==n&&Bp(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=ea(o,kg(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&sc(l,e,r.length-1),na(o,c),o[e.index]=c}(L,d,M,A,y,a,u);w=xh(m,22),d&&function TS(e,t,n,r){if(r)ru(e,n,["ng-version",u1.full]);else{const{attrs:o,classes:i}=function x1(e){const t=[],n=[];let r=1,o=2;for(;r0&&jp(e,n,i.join(" "))}}(u,M,d,r),void 0!==n&&function xS(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Go(o.hostAttrs,n=Go(n,o.hostAttrs))}}(r)}function fc(e){return e===vn?{}:e===re?[]:e}function FS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function PS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function kS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let sa=null;function cr(){if(!sa){const e=ge.Symbol;if(e&&e.iterator)sa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;ns(ze(L[r.index])):r.index;let D=null;if(!s&&a&&(D=function ZS(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!==D)(D.__ngLastListenerFn__||D).__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,g=!1;else{i=pm(r,t,c,i,!1);const L=n.listen(w,o,i);d.push(i,L),u&&u.push(o,A,M,M+1)}}else i=pm(r,t,c,i,!1);const m=r.outputs;let y;if(g&&null!==m&&(y=m[o])){const C=y.length;if(C)for(let w=0;w-1?Ct(e.index,t):t);let l=hm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=hm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function H(e=1){return function eE(e){return(z.lFrame.contextLView=function tE(e,t){for(;e>0;)t=t[15],e--;return t}(e,z.lFrame.contextLView))[8]}(e)}function In(e,t,n,r,o){const i=b(),s=to(i,t,n,r);return s!==q&&bt(te(),_e(),i,e,s,i[Q],o,!1),In}function la(e,t){return e<<17|t<<2}function Hn(e){return e>>17&32767}function mc(e){return 2|e}function pr(e){return(131068&e)>>2}function yc(e,t){return-131069&e|t<<2}function vc(e){return 1|e}function Em(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Hn(i):pr(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];oM(e[a],t)&&(l=!0,e[a+1]=r?vc(c):mc(c)),a=r?Hn(c):pr(c)}l&&(e[n+1]=r?mc(i):vc(i))}function oM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gr(e,t)>=0}function ua(e,t){return function Gt(e,t,n,r){const o=b(),i=te(),s=function wn(e){const t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Fm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[st()],s=function Nm(e,t){return t>=e.expandoStartIndex}(e,n);(function Lm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function hM(e,t,n,r){const o=function Xl(e){const t=z.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=fi(n=_c(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=_c(o,e,t,n,r),null===i){let l=function pM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==pr(r))return e[Hn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=_c(null,e,t,l[1],r),l=fi(l,t.attrs,r),function gM(e,t,n,r){e[Hn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function mM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const g=Hn(e[a+1]);e[r+1]=la(g,a),0!==g&&(e[g+1]=yc(e[g+1],r)),e[a+1]=function eM(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=la(a,0),0!==a&&(e[a+1]=yc(e[a+1],r)),a=r;else e[r+1]=la(l,0),0===a?a=r:e[l+1]=yc(e[l+1],r),l=r;u&&(e[r+1]=mc(e[r+1])),Em(e,c,r,!0),Em(e,c,r,!1),function rM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gr(i,t)>=0&&(n[r+1]=vc(n[r+1]))}(t,c,e,r,i),s=la(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==q&&Je(o,s,t)&&function km(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function tM(e){return 1==(1&e)}(u)?Om(l,t,n,o,pr(u),s):void 0;ca(c)||(ca(i)||function JS(e){return 2==(2&e)}(u)&&(i=Om(l,null,n,o,a,s)),function v0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:dt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(n,r,o,i))}}(r,s,Ts(st(),n),o,i))}(i,i.data[st()],o,o[Q],e,o[s+1]=function _M(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Un(e)))),e}(t,n),r,s)}(e,t,null,!0),ua}function _c(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 g=n[o+1];g===q&&(g=d?re:void 0);let m=d?du(g,r):c===r?g:void 0;if(u&&!ca(m)&&(m=du(l,r)),ca(m)&&(a=m,s))return a;const y=e[o+1];o=s?Hn(y):pr(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=du(l,r))}return a}function ca(e){return void 0!==e}function f(e,t=""){const n=b(),r=te(),o=e+22,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=n[o]=function Eu(e,t){return e.createText(t)}(n[Q],t);zs(r,n,s,i),nn(i,!1)}function Ce(e){return An("",e,""),Ce}function An(e,t,n){const r=b(),o=to(r,e,t,n);return o!==q&&function Mn(e,t,n){const r=Ts(t,e);!function Ap(e,t,n){e.setValue(t,n)}(e[Q],r,n)}(r,st(),o),An}const fo="en-US";let iy=fo;function wc(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i>20;if(ur(e)||!e.multi){const m=new $o(l,o,S),y=Ec(a,t,o?c:c+g,d);-1===y?(au(Ls(u,s),i,a),bc(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(m),s.push(m)):(n[y]=m,s[y]=m)}else{const m=Ec(a,t,c+g,d),y=Ec(a,t,c,c+g),w=y>=0&&n[y];if(o&&!w||!o&&!(m>=0&&n[m])){au(Ls(u,s),i,a);const M=function LI(e,t,n,r,o){const i=new $o(e,n,S);return i.multi=[],i.index=t,i.componentProviders=0,xy(i,o,r&&!n),i}(o?OI:kI,n.length,o,r,l);!o&&w&&(n[y].providerFactory=M),bc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(M),s.push(M)}else bc(i,e,m>-1?m:y,xy(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function bc(e,t,n,r){const o=ur(t),i=function Z0(e){return!!e.useClass}(t);if(o||i){const l=(i?V(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 xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ec(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function PI(e,t,n){const r=te();if(r.firstCreatePass){const o=Ht(e);wc(n,r.data,r.blueprint,o,!0),wc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ho{}class Ry{}class Ny extends ho{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wg(this);const r=yt(t);this._bootstrapComponents=Sn(r.bootstrap),this._r3Injector=Sg(t,n,[{provide:ho,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Mc extends Ry{constructor(t){super(),this.moduleType=t}create(t){return new Ny(this.moduleType,t)}}class UI extends ho{constructor(t,n,r){super(),this.componentFactoryResolver=new Wg(this),this.instance=null;const o=new ug([...t,{provide:ho,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],n||Ys(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ga(e,t,n=null){return new UI(e,t,n).injector}let HI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=ig(0,n.type),o=r.length>0?ga([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(R(on))}),e})();function Fy(e){e.getStandaloneInjector=t=>t.get(HI).getOrCreateStandaloneInjector(e)}function ne(e,t,n){const r=it()+e,o=b();return o[r]===q?an(o,r,n?t.call(n):t()):function ci(e,t){return e[t]}(o,r)}function Ac(e,t,n,r){return function Hy(e,t,n,r,o,i){const s=t+n;return Je(e,s,o)?an(e,s+1,i?r.call(i,o):r(o)):function vi(e,t){const n=e[t];return n===q?void 0:n}(e,s+1)}(b(),it(),e,t,n,r)}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class cA extends mn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Tc(i),o&&(o=Tc(o)),s&&(s=Tc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Et&&t.add(a),a}};function dA(){return this._results[cr()]()}class xc{get changes(){return this._changes||(this._changes=new Ee)}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=cr(),r=xc.prototype;r[n]||(r[n]=dA)}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=function xt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function DE(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=pA,e})();const fA=Tn,hA=class extends fA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=ea(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),ec(r,o,t),new ai(o)}};function pA(){return ma(qe(),b())}function ma(e,t){return 4&e.type?new hA(t,e,Zr(e,t)):null}let qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=gA,e})();function gA(){return Wy(qe(),b())}const mA=qt,zy=class extends mA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new Ur(this._hostTNode,this._hostLView)}get parentInjector(){const t=su(this._hostTNode,this._hostLView);if(Kh(t)){const n=ks(t,this._hostLView),r=Ps(t);return new Ur(n[1].data[r+8],n)}return new Ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function qo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new li(se(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?u:this.parentInjector).get(on,null);g&&(i=g)}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 $b(e){return Ut(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],g=new zy(d,d[6],d[3]);g.detach(g.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function c0(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=va,this.reject=va,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)(R(_a,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Di=new N("AppId",{providedIn:"root",factory:function Cv(){return`${jc()}${jc()}${jc()}`}});function jc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dv=new N("Platform Initializer"),Bc=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wv=new N("appBootstrapListener");let GA=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new N("LocaleId",{providedIn:"root",factory:()=>Y(xn,U.Optional|U.SkipSelf)||function zA(){return typeof $localize<"u"&&$localize.locale||fo}()});class WA{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let bv=(()=>{class e{compileModuleSync(n){return new Mc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Sn(yt(n).declarations).reduce((s,a)=>{const l=se(a);return l&&s.push(new li(l)),s},[]);return new WA(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const QA=(()=>Promise.resolve(0))();function $c(e){typeof Zone>"u"?QA.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function XA(){let e=ge.requestAnimationFrame,t=ge.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function eT(e){const t=()=>{!function JA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zc(e),e.isCheckStableRunning=!0,Gc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Mv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Iv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Mv(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Iv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,zc(e),Gc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,YA,va,va);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 YA={};function Gc(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 zc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Mv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Iv(e){e._nesting--,Gc(e)}class tT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Av=new N(""),Da=new N("");let Kc,qc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Kc||(function nT(e){Kc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),$c(()=>{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())$c(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(R(Ne),R(Wc),R(Da))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Wc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Kc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),jn=null;const Tv=new N("AllowMultipleToken"),Zc=new N("PlatformDestroyListeners");class xv{constructor(t,n){this.name=t,this.token=n}}function Nv(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=Qc();if(!s||s.injector.get(Tv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function iT(e){if(jn&&!jn.get(Tv,!1))throw new I(400,!1);jn=e;const t=e.get(Pv);(function Rv(e){const t=e.get(Dv,null);t&&t.forEach(n=>n())})(e)}(function Fv(e=[],t){return Bt.create({name:t,providers:[{provide:Bu,useValue:"platform"},{provide:Zc,useValue:new Set([()=>jn=null])},...e]})}(a,r))}return function aT(e){const t=Qc();if(!t)throw new I(401,!1);return t}()}}function Qc(){return jn?.get(Pv)??null}let Pv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Ov(e,t){let n;return n="noop"===e?new tT:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function kv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ne,useValue:o}];return o.run(()=>{const s=Bt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Qr,null);if(!l)throw new I(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ba(this._modules,a),u.unsubscribe()})}),function Lv(e,t,n){try{const r=n();return di(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(Ca);return u.runInitializers(),u.donePromise.then(()=>(function sy(e){St(e,"Expected localeId to be defined"),"string"==typeof e&&(iy=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(xn,fo)||fo),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Vv({},r);return function rT(e,t,n){const r=new Mc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(wa);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(R(Bt))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vv(e,t){return Array.isArray(t)?t.reduce(Vv,e):{...e,...t}}let wa=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Se(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Se(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),$c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function ub(...e){const t=Fo(e),n=function nb(e,t){return"number"==typeof Rl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Yt(r[0]):Ar(n)(Me(r,t)):Jt}(i,s.pipe(function cb(e={}){const{connector:t=(()=>new mn),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 g=()=>{a?.unsubscribe(),a=null},m=()=>{g(),s=l=null,c=d=!1},y=()=>{const C=s;m(),C?.unsubscribe()};return Be((C,w)=>{u++,!d&&!c&&g();const M=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Nl(y,o))}),M.subscribe(w),s||(s=new gs({next:A=>M.next(A),error:A=>{d=!0,g(),a=Nl(m,n,A),M.error(A)},complete:()=>{c=!0,g(),a=Nl(m,r),M.complete()}}),Me(C).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof dg;if(!this._injector.get(Ca).done)throw!o&&function Rr(e){const t=se(e)||Ze(e)||rt(e);return null!==t&&t.standalone}(n),new I(405,false);let s;s=o?n:this._injector.get(oi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function oT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ho),u=s.create(Bt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Av,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ba(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ba(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wv,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ba(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(R(Ne),R(on),R(Qr))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ba(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=uT,e})();function uT(e){return function cT(e,t,n){if(jo(e)&&!n){const r=Ct(e.index,t);return new ai(r,r)}return 47&e.type?new ai(t[16],t):null}(qe(),b(),16==(16&e))}class $v{constructor(){}supports(t){return ui(t)}create(t){return new mT(t)}}const gT=(e,t)=>t;class mT{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||gT}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 yT(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 Gv),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 Gv),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 yT{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 vT{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 Gv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new vT,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 zv(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 CT(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 CT{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 Wv(){return new Ia([new $v])}let Ia=(()=>{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||Wv()),deps:[[e,new Zo,new Ko]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new I(901,!1)}}return e.\u0275prov=P({token:e,providedIn:"root",factory:Wv}),e})();function Kv(){return new wi([new qv])}let wi=(()=>{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||Kv()),deps:[[e,new Zo,new Ko]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e.\u0275prov=P({token:e,providedIn:"root",factory:Kv}),e})();const bT=Nv(null,"core",[]);let ET=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(R(wa))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();function mo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let td=null;function cn(){return td}class IT{}const et=new N("DocumentToken");let nd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function AT(){return R(Zv)}()},providedIn:"platform"}),e})();const TT=new N("Location Initialized");let Zv=(()=>{class e extends nd{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cn().getBaseHref(this._doc)}onPopState(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=cn().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){Qv()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){Qv()?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)(R(et))},e.\u0275prov=P({token:e,factory:function(){return function xT(){return new Zv(R(et))}()},providedIn:"platform"}),e})();function Qv(){return!!window.history.pushState}function rd(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 Xv(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 Nn(e){return e&&"?"!==e[0]?"?"+e:e}let yr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Jv)},providedIn:"root"}),e})();const Yv=new N("appBaseHref");let Jv=(()=>{class e extends yr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Y(et).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return rd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(R(nd),R(Yv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),RT=(()=>{class e extends yr{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=rd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(R(nd),R(Yv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function PT(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(Xv(e_(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nn(r))}normalize(n){return e.stripTrailingSlash(function FT(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._basePath,e_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Nn,e.joinWithSlash=rd,e.stripTrailingSlash=Xv,e.\u0275fac=function(n){return new(n||e)(R(yr))},e.\u0275prov=P({token:e,factory:function(){return function NT(){return new od(R(yr))}()},providedIn:"root"}),e})();function e_(e){return e.replace(/\/index.html$/,"")}function u_(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 pd=(()=>{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&&(ui(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 ${ue(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)(S(Ia),S(wi),S(wt),S(En))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class vx{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 f_=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 vx(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),h_(a,o)}});for(let o=0,i=r.length;o{h_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(S(qt),S(Tn),S(Ia))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function h_(e,t){e.context.$implicit=t.item}let La=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Cx,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){p_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){p_("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)(S(qt),S(Tn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Cx{constructor(){this.$implicit=null,this.ngIf=null}}function p_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}let zx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();let Zx=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new Qx(R(et),window)}),e})();class Qx{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 Xx(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=v_(this.window.history)||v_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function v_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class __{}class ER extends IT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Dd extends ER{static makeCurrent(){!function MT(e){td||(td=e)}(new Dd)}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 SR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==n?null:function MR(e){Ua=Ua||document.createElement("a"),Ua.setAttribute("href",e);const t=Ua.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return u_(document.cookie,t)}}let Ua,Mi=null;const S_=new N("TRANSITION_ID"),AR=[{provide:_a,useFactory:function IR(e,t,n){return()=>{n.get(Ca).donePromise.then(()=>{const r=cn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Ha=new N("EventManagerPlugins");let ja=(()=>{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=P({token:e,factory:e.\u0275fac}),e})(),Ii=(()=>{class e extends I_{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(A_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(A_))}}return e.\u0275fac=function(n){return new(n||e)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function A_(e){cn().remove(e)}const wd={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/"},bd=/%COMP%/g;function Ed(e,t){return t.flat(100).map(n=>n.replace(bd,e))}function R_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Sd=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Md(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case en.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new OR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case en.ShadowDom:return new LR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ed(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)(R(ja),R(Ii),R(Di))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class Md{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(wd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(F_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(F_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=wd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wd[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&(dt.DashCase|dt.Important)?t.style.setProperty(n,r,o&dt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&dt.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,R_(r)):this.eventManager.addEventListener(t,n,R_(r))}}function F_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class OR extends Md{constructor(t,n,r,o){super(t),this.component=r;const i=Ed(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function FR(e){return"_ngcontent-%COMP%".replace(bd,e)}(o+"-"+r.id),this.hostAttr=function PR(e){return"_nghost-%COMP%".replace(bd,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 LR extends Md{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=Ed(o.id,o.styles);for(let s=0;s{class e extends M_{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)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const P_=["alt","control","meta","shift"],UR={"\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"},HR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jR=(()=>{class e extends M_{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(()=>cn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),P_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=UR[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),P_.forEach(s=>{s!==o&&(0,HR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const zR=Nv(bT,"browser",[{provide:Bc,useValue:"browser"},{provide:Dv,useValue:function BR(){Dd.makeCurrent()},multi:!0},{provide:et,useFactory:function GR(){return function b0(e){Fu=e}(document),document},deps:[]}]),L_=new N(""),V_=[{provide:Da,useClass:class TR{addToWindow(t){ge.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ge.getAllAngularTestabilities=()=>t.getAllTestabilities(),ge.getAllAngularRootElements=()=>t.getAllRootElements(),ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(r=>{const o=ge.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){return null==n?null:t.getTestability(n)??(r?cn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Av,useClass:qc,deps:[Ne,Wc,Da]},{provide:qc,useClass:qc,deps:[Ne,Wc,Da]}],U_=[{provide:Bu,useValue:"root"},{provide:Qr,useFactory:function $R(){return new Qr},deps:[]},{provide:Ha,useClass:VR,multi:!0,deps:[et,Ne,Bc]},{provide:Ha,useClass:jR,multi:!0,deps:[et]},{provide:Sd,useClass:Sd,deps:[ja,Ii,Di]},{provide:hg,useExisting:Sd},{provide:I_,useExisting:Ii},{provide:Ii,useClass:Ii,deps:[et]},{provide:ja,useClass:ja,deps:[Ha,Ne]},{provide:__,useClass:xR,deps:[]},[]];let qR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Di,useValue:n.appId},{provide:S_,useExisting:Di},AR]}}}return e.\u0275fac=function(n){return new(n||e)(R(L_,12))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[...U_,...V_],imports:[zx,ET]}),e})(),H_=(()=>{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)(R(et))},e.\u0275prov=P({token:e,factory:function(n){let r=null;return r=n?new n:function KR(){return new H_(R(et))}(),r},providedIn:"root"}),e})();function k(...e){return Me(e,Fo(e))}function $n(e,t){return he(t)?$e(e,t,1):$e(e,1)}function Qt(e,t){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class Ba{}class Td{}class Pn{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 Pn?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 Pn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pn?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 nN{encodeKey(t){return $_(t)}encodeValue(t){return $_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const oN=/%(\d[a-f0-9])/gi,iN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $_(e){return encodeURIComponent(e).replace(oN,(t,n)=>iN[n]??t)}function $a(e){return`${e}`}class Gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new nN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function rN(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],o=Array.isArray(r)?r.map($a):[$a(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Gn({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($a(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($a(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 sN{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 G_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function z_(e){return typeof Blob<"u"&&e instanceof Blob}function q_(e){return typeof FormData<"u"&&e instanceof FormData}class Ai{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 aN(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 Pn),this.context||(this.context=new sN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(g,t.setHeaders[g]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,g)=>d.set(g,t.setParams[g]),u)),new Ai(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var ke=(()=>((ke=ke||{})[ke.Sent=0]="Sent",ke[ke.UploadProgress=1]="UploadProgress",ke[ke.ResponseHeader=2]="ResponseHeader",ke[ke.DownloadProgress=3]="DownloadProgress",ke[ke.Response=4]="Response",ke[ke.User=5]="User",ke))();class xd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Pn,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 Rd extends xd{constructor(t={}){super(t),this.type=ke.ResponseHeader}clone(t={}){return new Rd({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 Ga extends xd{constructor(t={}){super(t),this.type=ke.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ga({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 W_ extends xd{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 Nd(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 Fd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ai)i=n;else{let l,u;l=o.headers instanceof Pn?o.headers:new Pn(o.headers),o.params&&(u=o.params instanceof Gn?o.params:new Gn({fromObject:o.params})),i=new Ai(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=k(i).pipe($n(l=>this.handler.handle(l)));if(n instanceof Ai||"events"===o.observe)return s;const a=s.pipe(Qt(l=>l instanceof Ga));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(W(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(W(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(W(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(W(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 Gn).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,Nd(o,r))}post(n,r,o={}){return this.request("POST",n,Nd(o,r))}put(n,r,o={}){return this.request("PUT",n,Nd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(R(Ba))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function K_(e,t){return t(e)}function uN(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const dN=new N("HTTP_INTERCEPTORS"),Ti=new N("HTTP_INTERCEPTOR_FNS");function fN(){let e=null;return(t,n)=>(null===e&&(e=(Y(dN,{optional:!0})??[]).reduceRight(uN,K_)),e(t,n))}let Z_=(()=>{class e extends Ba{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(Ti)));this.chain=r.reduceRight((o,i)=>function cN(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),K_)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(R(Td),R(on))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const mN=/^\)\]\}',?\n/;let X_=(()=>{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 Se(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((m,y)=>o.setRequestHeader(m,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const m=n.detectContentTypeHeader();null!==m&&o.setRequestHeader("Content-Type",m)}if(n.responseType){const m=n.responseType.toLowerCase();o.responseType="json"!==m?m:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const m=o.statusText||"OK",y=new Pn(o.getAllResponseHeaders()),C=function yN(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 Rd({headers:y,status:o.status,statusText:m,url:C}),s},l=()=>{let{headers:m,status:y,statusText:C,url:w}=a(),M=null;204!==y&&(M=typeof o.response>"u"?o.responseText:o.response),0===y&&(y=M?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof M){const D=M;M=M.replace(mN,"");try{M=""!==M?JSON.parse(M):null}catch(L){M=D,A&&(A=!1,M={error:L,text:M})}}A?(r.next(new Ga({body:M,headers:m,status:y,statusText:C,url:w||void 0})),r.complete()):r.error(new W_({error:M,headers:m,status:y,statusText:C,url:w||void 0}))},u=m=>{const{url:y}=a(),C=new W_({error:m,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(C)};let c=!1;const d=m=>{c||(r.next(a()),c=!0);let y={type:ke.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),"text"===n.responseType&&o.responseText&&(y.partialText=o.responseText),r.next(y)},g=m=>{let y={type:ke.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.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",g)),o.send(i),r.next({type:ke.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",g)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(R(__))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Pd=new N("XSRF_ENABLED"),Y_="XSRF-TOKEN",J_=new N("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Y_}),eC="X-XSRF-TOKEN",tC=new N("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>eC});class nC{}let vN=(()=>{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=u_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(R(et),R(Bc),R(J_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function _N(e,t){const n=e.url.toLowerCase();if(!Y(Pd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=Y(nC).getToken(),o=Y(tC);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Te=(()=>((Te=Te||{})[Te.Interceptors=0]="Interceptors",Te[Te.LegacyInterceptors=1]="LegacyInterceptors",Te[Te.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Te[Te.NoXsrfProtection=3]="NoXsrfProtection",Te[Te.JsonpSupport=4]="JsonpSupport",Te[Te.RequestsMadeViaParent=5]="RequestsMadeViaParent",Te))();function yo(e,t){return{\u0275kind:e,\u0275providers:t}}function CN(...e){const t=[Fd,X_,Z_,{provide:Ba,useExisting:Z_},{provide:Td,useExisting:X_},{provide:Ti,useValue:_N,multi:!0},{provide:Pd,useValue:!0},{provide:nC,useClass:vN}];for(const n of e)t.push(...n.\u0275providers);return function q0(e){return{\u0275providers:e}}(t)}const rC=new N("LEGACY_INTERCEPTOR_FN");function wN({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:J_,useValue:e}),void 0!==t&&n.push({provide:tC,useValue:t}),yo(Te.CustomXsrfConfiguration,n)}let bN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[CN(yo(Te.LegacyInterceptors,[{provide:rC,useFactory:fN},{provide:Ti,useExisting:rC,multi:!0}]),wN({cookieName:Y_,headerName:eC}))]}),e})();const{isArray:EN}=Array,{getPrototypeOf:SN,prototype:MN,keys:IN}=Object;function oC(e){if(1===e.length){const t=e[0];if(EN(t))return{args:t,keys:null};if(function AN(e){return e&&"object"==typeof e&&SN(e)===MN}(t)){const n=IN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:TN}=Array;function iC(e){return W(t=>function xN(e,t){return TN(t)?e(...t):e(t)}(e,t))}function sC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let aC=(()=>{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)(S(En),S(wt))},e.\u0275dir=B({type:e}),e})(),vr=(()=>{class e extends aC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[ae]}),e})();const dn=new N("NgValueAccessor"),FN={provide:dn,useExisting:pe(()=>xi),multi:!0},kN=new N("CompositionEventMode");let xi=(()=>{class e extends aC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PN(){const e=cn()?cn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(S(En),S(wt),S(kN,8))},e.\u0275dir=B({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&&F("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:[ve([FN]),ae]}),e})();function zn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const tt=new N("NgValidators"),qn=new N("NgAsyncValidators");function fC(e){return zn(e.value)?{required:!0}:null}function za(e){return null}function vC(e){return null!=e}function _C(e){return di(e)?Me(e):e}function CC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function DC(e,t){return t.map(n=>n(e))}function wC(e){return e.map(t=>function VN(e){return!e.validate}(t)?t:n=>t.validate(n))}function kd(e){return null!=e?function bC(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(n){return CC(DC(n,t))}}(wC(e)):null}function Od(e){return null!=e?function EC(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(n){return function RN(...e){const t=ih(e),{args:n,keys:r}=oC(e),o=new Se(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]=g},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?sC(r,a):a),i.complete())}))}});return t?o.pipe(iC(t)):o}(DC(n,t).map(_C)).pipe(W(CC))}}(wC(e)):null}function SC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Ld(e){return e?Array.isArray(e)?e:[e]:[]}function qa(e,t){return Array.isArray(e)?e.includes(t):e===t}function AC(e,t){const n=Ld(t);return Ld(e).forEach(o=>{qa(n,o)||n.push(o)}),n}function TC(e,t){return Ld(t).filter(n=>!qa(e,n))}class xC{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=kd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Od(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 ut extends xC{get formDirective(){return null}get path(){return null}}class Wn extends xC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class RC{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Vd=(()=>{class e extends RC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(S(Wn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ua("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})(),Ud=(()=>{class e extends RC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(S(ut,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&ua("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ae]}),e})();const Ri="VALID",Ka="INVALID",vo="PENDING",Ni="DISABLED";function $d(e){return(Za(e)?e.validators:e)||null}function Gd(e,t){return(Za(t)?t.asyncValidators:e)||null}function Za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class kC{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ri}get invalid(){return this.status===Ka}get pending(){return this.status==vo}get disabled(){return this.status===Ni}get enabled(){return this.status!==Ni}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(AC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(AC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(TC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(TC(t,this._rawAsyncValidators))}hasValidator(t){return qa(this._rawValidators,t)}hasAsyncValidator(t){return qa(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=vo,!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=Ni,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ri,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ri||this.status===vo)&&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()?Ni:Ri}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=vo,this._hasOwnPendingAsyncValidator=!0;const n=_C(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Ni:this.errors?Ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vo)?vo:this._anyControlsHaveStatus(Ka)?Ka:Ri}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Za(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function zN(e){return Array.isArray(e)?kd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function qN(e){return Array.isArray(e)?Od(e):e||null}(this._rawAsyncValidators)}}class zd extends kC{constructor(t,n,r){super($d(n),Gd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function PC(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new I(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function FC(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new I(1e3,"");if(!r[n])throw new I(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Fi=new N("CallSetDisabledState",{providedIn:"root",factory:()=>qd}),qd="always";function Pi(e,t,n=qd){Wd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function ZN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&OC(e,t)})}(e,t),function XN(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 QN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&OC(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function KN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ya(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Wd(e,t){const n=function MC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(SC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function IC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(SC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ya(t._rawValidators,o),Ya(t._rawAsyncValidators,o)}function OC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const nF={provide:ut,useExisting:pe(()=>Oi)},ki=(()=>Promise.resolve())();let Oi=(()=>{class e extends ut{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new zd({},kd(n),Od(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ki.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Pi(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ki.then(()=>{const r=this._findContainer(n.path),o=new zd({});(function LC(e,t){Wd(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){ki.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function VC(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){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)(S(tt,10),S(qn,10),S(Fi,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&F("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([nF]),ae]}),e})();function UC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function HC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const jC=class extends kC{constructor(t=null,n,r){super($d(n),Gd(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}),Za(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=HC(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){UC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){UC(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){HC(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}},iF={provide:Wn,useExisting:pe(()=>el)},GC=(()=>Promise.resolve())();let el=(()=>{class e extends Wn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new jC,this._registered=!1,this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Qd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===xi?n=i:function eF(e){return Object.getPrototypeOf(e.constructor)===vr}(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 Zd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){GC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&mo(r);GC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Qa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(S(ut,9),S(tt,10),S(qn,10),S(dn,10),S(Ea,8),S(Fi,8))},e.\u0275dir=B({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:[ve([iF]),ae,At]}),e})(),Xd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const aF={provide:dn,useExisting:pe(()=>Yd),multi:!0};let qC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})(),lF=(()=>{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=P({token:e,factory:e.\u0275fac,providedIn:qC}),e})(),Yd=(()=>{class e extends vr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Wn),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)(S(En),S(wt),S(lF),S(Bt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[ve([aF]),ae]}),e})();const gF={provide:dn,useExisting:pe(()=>tl),multi:!0};function YC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let tl=(()=>{class e extends vr{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=YC(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 mF(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=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[ve([gF]),ae]}),e})(),JC=(()=>{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(YC(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)(S(wt),S(En),S(tl,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const yF={provide:dn,useExisting:pe(()=>nf),multi:!0};function eD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let nf=(()=>{class e extends vr{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(eD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(eD(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)(S(wt),S(En),S(nf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),_r=(()=>{class e{constructor(){this._validator=za}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):za,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=B({type:e,features:[At]}),e})();const DF={provide:tt,useExisting:pe(()=>Li),multi:!0};let Li=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=mo,this.createValidator=n=>fC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275dir=B({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&&$t("required",r._enabled?"":null)},inputs:{required:"required"},features:[ve([DF]),ae]}),e})();const MF={provide:tt,useExisting:pe(()=>rf),multi:!0};let rf=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function yC(e){if(!e)return za;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(zn(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=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&$t("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[ve([MF]),ae]}),e})(),IF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[qC]}),e})(),TF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Fi,useValue:n.callSetDisabledState??qd}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[IF]}),e})();class Xt extends mn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const nl=Ro(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cD(...e){const t=Fo(e),n=ih(e),{args:r,keys:o}=oC(e);if(0===r.length)return Me([],t);const i=new Se(function xF(e,t,n=er){return r=>{dD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Me(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=>sC(o,s):er));return n?i.pipe(iC(n)):i}function dD(e,t,n){e?yn(n,e,t):t()}function sf(...e){return function RF(){return Ar(1)}()(Me(e,Fo(e)))}function fD(e){return new Se(t=>{Yt(e()).subscribe(t)})}function Vi(e,t){const n=he(e)?e:()=>e,r=o=>o.error(n());return new Se(t?o=>t.schedule(r,0,o):r)}function af(){return Be((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 hD extends Se{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,zf(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Et;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=Et.EMPTY)}return t}refCount(){return af()(this)}}function fn(e,t){return Be((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Oe(r,l=>{o?.unsubscribe();let u=0;const c=i++;Yt(e(l,c)).subscribe(o=Oe(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function rl(e){return Be((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function pD(e=FF){return Be((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function FF(){return new nl}function Kn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,Tr(1),n?rl(t):pD(()=>new nl))}function nt(e,t,n){const r=he(e)||t||n?{next:e,error:t,complete:n}:e;return r?Be((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)}))}):er}function Zn(e){return Be((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Oe(n,void 0,void 0,s=>{i=Yt(e(s,Zn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function PF(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 gD(e,t){return Be(PF(e,t,arguments.length>=2,!0))}function lf(e){return e<=0?()=>Jt:Be((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 mD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,lf(1),n?rl(t):pD(()=>new nl))}function uf(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const X="primary",Ui=Symbol("RouteTitle");class LF{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 _o(e){return new LF(e)}function VF(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 vD(e){return Array.prototype.concat.apply([],e)}function _D(e){return e.length>0?e[e.length-1]:null}function Ke(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Qn(e){return gc(e)?e:di(e)?Me(Promise.resolve(e)):k(e)}const ol=!1,HF={exact:function wD(e,t,n){if(!Dr(e.segments,t.segments)||!il(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!wD(e.children[r],t.children[r],n))return!1;return!0},subset:bD},CD={exact:function jF(e,t){return hn(e,t)},subset:function BF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yD(e[n],t[n]))},ignored:()=>!0};function DD(e,t,n){return HF[n.paths](e.root,t.root,n.matrixParams)&&CD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function bD(e,t,n){return ED(e,t,t.segments,n)}function ED(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Dr(o,n)||t.hasChildren()||!il(o,n,r))}if(e.segments.length===n.length){if(!Dr(e.segments,n)||!il(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!bD(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!!(Dr(e.segments,o)&&il(e.segments,o,r)&&e.children[X])&&ED(e.children[X],t,i,r)}}function il(e,t,n){return t.every((r,o)=>CD[n](e[o].parameters,r.parameters))}class Cr{constructor(t=new J([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return zF.serialize(this)}}class J{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ke(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sl(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return ID(this)}}function Dr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ji=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return new cf},providedIn:"root"}),e})();class cf{parse(t){const n=new eP(t);return new Cr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Bi(t.root,!0)}`,r=function KF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${al(n)}=${al(o)}`).join("&"):`${al(n)}=${al(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function qF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const zF=new cf;function sl(e){return e.segments.map(t=>ID(t)).join("/")}function Bi(e,t){if(!e.hasChildren())return sl(e);if(t){const n=e.children[X]?Bi(e.children[X],!1):"",r=[];return Ke(e.children,(o,i)=>{i!==X&&r.push(`${i}:${Bi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function GF(e,t){let n=[];return Ke(e.children,(r,o)=>{o===X&&(n=n.concat(t(r,o)))}),Ke(e.children,(r,o)=>{o!==X&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===X?[Bi(e.children[X],!1)]:[`${o}:${Bi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[X]?`${sl(e)}/${n[0]}`:`${sl(e)}/(${n.join("//")})`}}function SD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function al(e){return SD(e).replace(/%3B/gi,";")}function df(e){return SD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ll(e){return decodeURIComponent(e)}function MD(e){return ll(e.replace(/\+/g,"%20"))}function ID(e){return`${df(e.path)}${function WF(e){return Object.keys(e).map(t=>`;${df(t)}=${df(e[t])}`).join("")}(e.parameters)}`}const ZF=/^[^\/()?;=#]+/;function ul(e){const t=e.match(ZF);return t?t[0]:""}const QF=/^[^=?&#]+/,YF=/^[^&#]+/;class eP{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],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[X]=new J(t,n)),r}parseSegment(){const t=ul(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,ol);return this.capture(t),new Hi(ll(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ul(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ul(this.remaining);o&&(r=o,this.capture(r))}t[ll(n)]=ll(r)}parseQueryParam(t){const n=function XF(e){const t=e.match(QF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function JF(e){const t=e.match(YF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=MD(n),i=MD(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=ul(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,ol);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=X);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[X]:new J([],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 I(4011,ol)}}function ff(e){return e.segments.length>0?new J([],{[X]:e}):e}function cl(e){const t={};for(const r of Object.keys(e.children)){const i=cl(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function tP(e){if(1===e.numberOfChildren&&e.children[X]){const t=e.children[X];return new J(e.segments.concat(t.segments),t.children)}return e}(new J(e.segments,t))}function wr(e){return e instanceof Cr}function oP(e,t,n,r,o){if(0===n.length)return Co(t.root,t.root,t.root,r,o);const i=function xD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new TD(!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 Ke(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 TD(n,t,r)}(n);return i.toRoot()?Co(t.root,t.root,new J([],{}),r,o):function s(l){const u=function sP(e,t,n,r){if(e.isAbsolute)return new Do(t.root,!0,0);if(-1===r)return new Do(n,n===t.root,0);return function RD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new Do(r,!1,o-i)}(n,r+($i(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?zi(u.segmentGroup,u.index,i.commands):pf(u.segmentGroup,u.index,i.commands);return Co(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function $i(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Gi(e){return"object"==typeof e&&null!=e&&e.outlets}function Co(e,t,n,r,o){let s,i={};r&&Ke(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:AD(e,t,n);const a=ff(cl(s));return new Cr(a,i,o)}function AD(e,t,n){const r={};return Ke(e.children,(o,i)=>{r[i]=o===t?n:AD(o,t,n)}),new J(e.segments,r)}class TD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&$i(r[0]))throw new I(4003,!1);const o=r.find(Gi);if(o&&o!==_D(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Do{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function pf(e,t,n){if(e||(e=new J([],{})),0===e.segments.length&&e.hasChildren())return zi(e,t,n);const r=function lP(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(Gi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!FD(l,u,s))return i;r+=2}else{if(!FD(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]=pf(e.children[s],t,i))}),Ke(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new J(e.segments,o)}}function gf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=gf(new J([],{}),0,n))}),t}function ND(e){const t={};return Ke(e,(n,r)=>t[r]=`${n}`),t}function FD(e,t,n){return e==n.path&&hn(t,n.parameters)}const qi="imperative";class pn{constructor(t,n){this.id=t,this.url=n}}class mf extends pn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Xn extends pn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dl extends pn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class PD extends pn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class kD extends pn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fP extends pn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gP{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class mP{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yP{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vP{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _P{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let wP=(()=>{class e{createUrlTree(n,r,o,i,s,a){return oP(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),bP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(t){return wP.\u0275fac(t)},providedIn:"root"}),e})();class LD{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=yf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=yf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=vf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return vf(t,this._root).map(n=>n.value)}}function yf(e,t){if(e===t.value)return t;for(const n of t.children){const r=yf(e,n);if(r)return r}return null}function vf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=vf(e,n);if(r.length)return r.unshift(t),r}return[]}class kn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function wo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class VD extends LD{constructor(t,n){super(t),this.snapshot=n,_f(this,t)}toString(){return this.snapshot.toString()}}function UD(e,t){const n=function EP(e,t){const s=new fl([],{},{},"",{},X,t,null,e.root,-1,{});return new jD("",new kn(s,[]))}(e,t),r=new Xt([new Hi("",{})]),o=new Xt({}),i=new Xt({}),s=new Xt({}),a=new Xt(""),l=new br(r,o,s,a,i,X,t,n.root);return l.snapshot=n.root,new VD(new kn(l,[]),n)}class br{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.title=this.data?.pipe(W(u=>u[Ui]))??k(void 0),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(W(t=>_o(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>_o(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function HD(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 SP(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class fl{get title(){return this.data?.[Ui]}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=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class jD extends LD{constructor(t,n){super(n),this.url=t,_f(this,n)}toString(){return BD(this._root)}}function _f(e,t){t.value._routerState=e,t.children.forEach(n=>_f(e,n))}function BD(e){const t=e.children.length>0?` { ${e.children.map(BD).join(", ")} } `:"";return`${e.value}${t}`}function Cf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,hn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),hn(t.params,n.params)||e.params.next(n.params),function UF(e,t){if(e.length!==t.length)return!1;for(let n=0;nhn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Df(e.parent,t.parent))}function Wi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function IP(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Wi(e,r,o);return Wi(e,r)})}(e,t,n);return new kn(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=>Wi(e,a)),s}}const r=function AP(e){return new br(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Wi(e,i));return new kn(r,o)}}const wf="ngNavigationCancelingError";function $D(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=wr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=GD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function GD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[wf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function zD(e){return qD(e)&&wr(e.url)}function qD(e){return e&&e[wf]}class TP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ki,this.attachRef=null}}let Ki=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new TP,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hl=!1;let bf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=Y(Ki),this.location=Y(qt),this.changeDetector=Y(Ea),this.environmentInjector=Y(on)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,hl);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,hl);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,hl);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 I(4013,hl);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new xP(n,a,o.injector);if(r&&function RP(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]}),e})();class xP{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===br?this.route:t===Ki?this.childContexts:this.parent.get(t,n)}}let Ef=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=mt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Fy],decls:1,vars:0,template:function(n,r){1&n&&v(0,"router-outlet")},dependencies:[bf],encapsulation:2}),e})();function WD(e,t){return e.providers&&!e._injector&&(e._injector=ga(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Mf(e){const t=e.children&&e.children.map(Mf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==X&&(n.component=Ef),n}function Pt(e){return e.outlet||X}function KD(e,t){const n=e.filter(r=>Pt(r)===t);return n.push(...e.filter(r=>Pt(r)!==t)),n}function Zi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class OP{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),Cf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=wo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Ke(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=wo(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=wo(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=wo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new CP(i.value.snapshot))}),t.children.length&&this.forwardEvent(new vP(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Cf(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),Cf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Zi(o.snapshot),l=a?.get(oi)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class ZD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class pl{constructor(t,n){this.component=t,this.route=n}}function LP(e,t,n){const r=e._root;return Qi(r,t?t._root:null,n,[r.value])}function bo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function yb(e){return null!==_s(e)}(e)?t.get(e):e:r}function Qi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=wo(t);return e.children.forEach(s=>{(function UP(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 HP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Dr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Dr(e.url,t.url)||!hn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Df(e,t)||!hn(e.queryParams,t.queryParams);default:return!Df(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new ZD(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Qi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new pl(a.outlet.component,s))}else s&&Xi(t,a,o),o.canActivateChecks.push(new ZD(r)),Qi(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]}),Ke(i,(s,a)=>Xi(s,n.getContext(a),o)),o}function Xi(e,t,n){const r=wo(e),o=e.value;Ke(r,(i,s)=>{Xi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new pl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Yi(e){return"function"==typeof e}function If(e){return e instanceof nl||"EmptyError"===e?.name}const gl=Symbol("INITIAL_VALUE");function Eo(){return fn(e=>cD(e.map(t=>t.pipe(Tr(1),function NF(...e){const t=Fo(e);return Be((n,r)=>{(t?sf(e,n,t):sf(e,n)).subscribe(r)})}(gl)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===gl)return gl;if(!1===n||n instanceof Cr)return n}return!0}),Qt(t=>t!==gl),Tr(1)))}function QD(e){return function Ow(...e){return Bf(e)}(nt(t=>{if(wr(t))throw $D(0,t)}),W(t=>!0===t))}const Af={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function XD(e,t,n,r,o){const i=Tf(e,t,n);return i.matched?function rk(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=bo(s,e);return Qn(function qP(e){return e&&Yi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),QD()):k(!0)}(r=WD(t,r),t,n).pipe(W(s=>!0===s?i:{...Af})):k(i)}function Tf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Af}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||VF)(n,e,t);if(!o)return{...Af};const i={};Ke(o.posParams,(a,l)=>{i[l]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ml(e,t,n,r){if(n.length>0&&function sk(e,t,n){return n.some(r=>yl(e,t,r)&&Pt(r)!==X)}(e,n,r)){const i=new J(t,function ik(e,t,n,r){const o={};o[X]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Pt(i)!==X){const s=new J([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Pt(i)]=s}return o}(e,t,r,new J(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function ak(e,t,n){return n.some(r=>yl(e,t,r))}(e,n,r)){const i=new J(e.segments,function ok(e,t,n,r,o){const i={};for(const s of r)if(yl(e,n,s)&&!o[Pt(s)]){const a=new J([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[Pt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new J(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function yl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function YD(e,t,n,r){return!!(Pt(e)===r||r!==X&&yl(t,n,e))&&("**"===e.path||Tf(t,e,n).matched)}function JD(e,t,n){return 0===t.length&&!e.children[n]}const vl=!1;class _l{constructor(t){this.segmentGroup=t||null}}class ew{constructor(t){this.urlTree=t}}function Ji(e){return Vi(new _l(e))}function tw(e){return Vi(new ew(e))}class dk{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=ml(this.urlTree.root,[],[],this.config).segmentGroup,n=new J(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,X).pipe(W(i=>this.createUrlTree(cl(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zn(i=>{if(i instanceof ew)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof _l?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,X).pipe(W(o=>this.createUrlTree(cl(o),t.queryParams,t.fragment))).pipe(Zn(o=>{throw o instanceof _l?this.noMatchError(o):o}))}noMatchError(t){return new I(4002,vl)}createUrlTree(t,n,r){const o=ff(t);return new Cr(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(W(i=>new J([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Me(o).pipe($n(i=>{const s=r.children[i],a=KD(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(W(l=>({segment:l,outlet:i})))}),gD((i,s)=>(i[s.outlet]=s.segment,i),{}),mD())}expandSegment(t,n,r,o,i,s){return Me(r).pipe($n(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Zn(u=>{if(u instanceof _l)return k(null);throw u}))),Kn(a=>!!a),Zn((a,l)=>{if(If(a))return JD(n,o,i)?k(new J([],{})):Ji(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return YD(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):Ji(n):Ji(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("/")?tw(i):this.lineralizeSegments(r,i).pipe($e(s=>{const a=new J(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}=Tf(n,o,i);if(!a)return Ji(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?tw(d):this.lineralizeSegments(o,d).pipe($e(g=>this.expandSegment(t,n,r,g.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=WD(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(W(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new J(o,{})))):k(new J(o,{}))):XD(n,r,o,t).pipe(fn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe($e(c=>{const d=c.injector??t,g=c.routes,{segmentGroup:m,slicedSegments:y}=ml(n,a,l,g),C=new J(m.segments,m.children);if(0===y.length&&C.hasChildren())return this.expandChildren(d,g,C).pipe(W(D=>new J(a,D)));if(0===g.length&&0===y.length)return k(new J(a,{}));const w=Pt(r)===i;return this.expandSegment(d,C,g,y,w?X:i,!0).pipe(W(A=>new J(a.concat(A.segments),A.children)))})):Ji(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function nk(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=bo(s,e);return Qn(function BP(e){return e&&Yi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),QD())}(t,n,r).pipe($e(o=>o?this.configLoader.loadChildren(t,n).pipe(nt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function uk(e){return Vi(GD(vl,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[X])return Vi(new I(4e3,vl));o=o.children[X]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Cr(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ke(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 Ke(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new J(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 I(4001,vl);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class hk{}class mk{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=ml(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,X).pipe(W(n=>{if(null===n)return null;const r=new fl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new jD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=HD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return Me(Object.keys(r.children)).pipe($n(o=>{const i=r.children[o],s=KD(n,o);return this.processSegmentGroup(t,s,i,o)}),gD((o,i)=>o&&i?(o.push(...i),o):null),function kF(e,t=!1){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),rl(null),mD(),W(o=>{if(null===o)return null;const i=rw(o);return function yk(e){e.sort((t,n)=>t.value.outlet===X?-1:n.value.outlet===X?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Me(n).pipe($n(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Kn(s=>!!s),Zn(s=>{if(If(s))return JD(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!YD(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?_D(o).parameters:{},l=iw(r)+o.length;s=k({snapshot:new fl(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(n),Pt(n),n.component??n._loadedComponent??null,n,ow(r),l,aw(n)),consumedSegments:[],remainingSegments:[]})}else s=XD(r,n,o,t).pipe(W(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=iw(r)+l.length;return{snapshot:new fl(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(n),Pt(n),n.component??n._loadedComponent??null,n,ow(r),d,aw(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(fn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,g=function vk(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:m,slicedSegments:y}=ml(r,u,c,g.filter(w=>void 0===w.redirectTo));if(0===y.length&&m.hasChildren())return this.processChildren(d,g,m).pipe(W(w=>null===w?null:[new kn(l,w)]));if(0===g.length&&0===y.length)return k([new kn(l,[])]);const C=Pt(n)===i;return this.processSegment(d,g,m,y,C?X:i).pipe(W(w=>null===w?null:[new kn(l,w)]))}))}}function _k(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function rw(e){const t=[],n=new Set;for(const r of e){if(!_k(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=rw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function ow(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function iw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function sw(e){return e.data||{}}function aw(e){return e.resolve||{}}function lw(e){return"string"==typeof e.title||null===e.title}function xf(e){return fn(t=>{const n=e(t);return n?Me(n).pipe(W(()=>t)):k(t)})}const So=new N("ROUTES");let Rf=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Qn(n.loadComponent()).pipe(W(cw),nt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),uf(()=>{this.componentLoaders.delete(n)})),o=new hD(r,()=>new mn).pipe(af());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(W(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=vD(l.get(So,[],U.Self|U.Optional)));return{routes:u.map(Mf),injector:l}}),uf(()=>{this.childrenLoaders.delete(r)})),s=new hD(i,()=>new mn).pipe(af());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Qn(n()).pipe(W(cw),$e(o=>o instanceof Ry||Array.isArray(o)?k(o):Me(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(R(Bt),R(bv))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cw(e){return function Ak(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Dl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new mn,this.configLoader=Y(Rf),this.environmentInjector=Y(on),this.urlSerializer=Y(ji),this.rootContexts=Y(Ki),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new mP(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new gP(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qi,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qt(r=>0!==r.id),W(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),fn(r=>{let o=!1,i=!1;return k(r).pipe(nt(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),fn(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new PD(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Jt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return dw(s.source)&&(n.browserUrlTree=s.extractedUrl),k(s).pipe(fn(c=>{const d=this.transitions?.getValue();return this.events.next(new mf(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Jt:Promise.resolve(c)}),function fk(e,t,n,r){return fn(o=>function ck(e,t,n,r,o){return new dk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(W(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),nt(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function Dk(e,t,n,r,o){return $e(i=>function gk(e,t,n,r,o,i,s="emptyOnly"){return new mk(e,t,n,r,o,s,i).recognize().pipe(fn(a=>null===a?function pk(e){return new Se(t=>t.error(e))}(new hk):k(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(W(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),nt(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const g=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(g,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new cP(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:g,restoredState:m,extras:y}=s,C=new mf(c,this.urlSerializer.serialize(d),g,m);this.events.next(C);const w=UD(d,this.rootComponentType).snapshot;return k(r={...s,targetSnapshot:w,urlAfterRedirects:d,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new PD(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Jt}}),nt(s=>{const a=new dP(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),W(s=>r={...s,guards:LP(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function KP(e,t){return $e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function ZP(e,t,n,r){return Me(e).pipe($e(o=>function tk(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=Zi(t)??o,u=bo(a,l);return Qn(function zP(e){return e&&Yi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Kn())})).pipe(Eo()):k(!0)}(o.component,o.route,n,t,r)),Kn(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function jP(e){return"boolean"==typeof e}(a)?function QP(e,t,n,r){return Me(t).pipe($n(o=>sf(function YP(e,t){return null!==e&&t&&t(new yP(e)),k(!0)}(o.route.parent,r),function XP(e,t){return null!==e&&t&&t(new _P(e)),k(!0)}(o.route,r),function ek(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function VP(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=>fD(()=>k(s.guards.map(l=>{const u=Zi(s.node)??n,c=bo(l,u);return Qn(function GP(e){return e&&Yi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Kn())})).pipe(Eo())));return k(i).pipe(Eo())}(e,o.path,n),function JP(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>fD(()=>{const s=Zi(t)??n,a=bo(i,s);return Qn(function $P(e){return e&&Yi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Kn())}));return k(o).pipe(Eo())}(e,o.route,n))),Kn(o=>!0!==o,!0))}(r,i,e,t):k(a)),W(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),nt(s=>{if(r.guardsResult=s.guardsResult,wr(s.guardsResult))throw $D(0,s.guardsResult);const a=new fP(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Qt(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3,n),!1)),xf(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(nt(a=>{const l=new hP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),fn(a=>{let l=!1;return k(a).pipe(function wk(e,t){return $e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Me(o).pipe($n(s=>function bk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!lw(o)&&(i[Ui]=o.title),function Ek(e,t,n,r){const o=function Sk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Me(o).pipe($e(s=>function Mk(e,t,n,r){const o=Zi(t)??r,i=bo(e,o);return Qn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Kn(),nt(a=>{i[s]=a}))),lf(1),function OF(e){return W(()=>e)}(i),Zn(s=>If(s)?Jt:Vi(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=HD(e,n).resolve,o&&lw(o)&&(e.data[Ui]=o.title),null)))}(s.route,r,e,t)),nt(()=>i++),lf(1),$e(s=>i===o.length?k(n):Jt))})}(n.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2,n))}}))}),nt(a=>{const l=new pP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),xf(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(nt(c=>{l.component=c}),W(()=>{})));for(const c of l.children)u.push(...a(c));return u};return cD(a(s.targetSnapshot.root)).pipe(rl(),Tr(1))}),xf(()=>this.afterPreactivation()),W(s=>{const a=function MP(e,t,n){const r=Wi(e,t._root,n?n._root:void 0);return new VD(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),nt(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>W(r=>(new OP(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),nt({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Xn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),uf(()=>{o||i||this.cancelNavigationTransition(r,"",1,n),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Zn(s=>{if(i=!0,qD(s)){zD(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new dl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),zD(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||dw(r.source)};n.scheduleNavigation(l,qi,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new kD(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return Jt}))}))}cancelNavigationTransition(n,r,o,i){const s=new dl(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function dw(e){return e!==qi}let fw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===X);return r}getResolvedTitleForRoute(n){return n.data[Ui]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Tk)},providedIn:"root"}),e})(),Tk=(()=>{class e extends fw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(R(H_))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Nk)},providedIn:"root"}),e})();class Rk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Nk=(()=>{class e extends Rk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wl=new N("",{providedIn:"root",factory:()=>({})});let Pk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(kk)},providedIn:"root"}),e})(),kk=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ok(e){throw e}function Lk(e,t,n){return t.parse("/")}const Vk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Uk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Y(GA),this.isNgZoneEnabled=!1,this.options=Y(wl,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ok,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Lk,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Y(Pk),this.routeReuseStrategy=Y(xk),this.urlCreationStrategy=Y(bP),this.titleStrategy=Y(fw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=vD(Y(So,{optional:!0})??[]),this.navigationTransitions=Y(Dl),this.urlSerializer=Y(ji),this.location=Y(od),this.isNgZoneEnabled=Y(Ne)instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Cr,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=UD(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(n){this.config=n.map(Mf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=l?this.currentUrlTree.fragment:s;let c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,c,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=wr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,qi,null,r)}navigate(n,r={skipLocationChange:!1}){return function Hk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u,c;return s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,g)=>{a=d,l=g}),c="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gn=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new mn;const l=s.nativeElement.tagName;this.isAnchorElement="A"===l||"AREA"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Xn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=mo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=mo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=mo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function tg(e,t,n){return function z0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?eg:Wr}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(S(pt),S(br),function Us(e){return function gE(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{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Xn&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(Ar()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(n).pipe(Ar()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!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)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function jk(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.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(S(pt),S(wt),S(En),S(Ea),S(gn,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&Xy(o,gn,5),2&n){let i;Qy(i=function Yy(){return function wA(e,t){return e[19].queries[t].queryList}(b(),Vh())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[At]}),e})();class gw{}let Bk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Qt(n=>n instanceof Xn),$n(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ga(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Me(o).pipe(Ar())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe($e(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Me([i,this.loader.loadComponent(r)]).pipe(Ar()):i})}}return e.\u0275fac=function(n){return new(n||e)(R(pt),R(bv),R(on),R(gw),R(Rf))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Nf=new N("");let mw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof mf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Xn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof OD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new OD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Ng(){throw new Error("invalid")}()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Er(e,t){return{\u0275kind:e,\u0275providers:t}}function vw(){const e=Y(Bt);return t=>{const n=e.get(wa);if(t!==n.components[0])return;const r=e.get(pt),o=e.get(_w);1===e.get(Pf)&&r.initialNavigation(),e.get(Cw,null,U.Optional)?.setUpPreloading(),e.get(Nf,null,U.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const _w=new N("",{factory:()=>new mn}),Pf=new N("",{providedIn:"root",factory:()=>1});const Cw=new N("");function Wk(e){return Er(0,[{provide:Cw,useExisting:Bk},{provide:gw,useExisting:e}])}const Dw=new N("ROUTER_FORROOT_GUARD"),Kk=[od,{provide:ji,useClass:cf},pt,Ki,{provide:br,useFactory:function yw(e){return e.routerState.root},deps:[pt]},Rf,[]];function Zk(){return new xv("Router",pt)}let ww=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Kk,[],{provide:So,multi:!0,useValue:n},{provide:Dw,useFactory:Jk,deps:[[pt,new Ko,new Zo]]},{provide:wl,useValue:r||{}},r?.useHash?{provide:yr,useClass:RT}:{provide:yr,useClass:Jv},{provide:Nf,useFactory:()=>{const e=Y(Zx),t=Y(Ne),n=Y(wl),r=Y(Dl),o=Y(ji);return n.scrollOffset&&e.setOffset(n.scrollOffset),new mw(o,r,e,t,n)}},r?.preloadingStrategy?Wk(r.preloadingStrategy).\u0275providers:[],{provide:xv,multi:!0,useFactory:Zk},r?.initialNavigation?eO(r):[],[{provide:bw,useFactory:vw},{provide:wv,multi:!0,useExisting:bw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:So,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(R(Dw,8))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[Ef]}),e})();function Jk(e){return"guarded"}function eO(e){return["disabled"===e.initialNavigation?Er(3,[{provide:_a,multi:!0,useFactory:()=>{const t=Y(pt);return()=>{t.setUpLocationChangeListener()}}},{provide:Pf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Er(2,[{provide:Pf,useValue:0},{provide:_a,multi:!0,deps:[Bt],useFactory:t=>{const n=t.get(TT,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(pt),s=t.get(_w);(function r(o){t.get(pt).events.pipe(Qt(s=>s instanceof Xn||s instanceof dl||s instanceof kD),W(s=>s instanceof Xn||s instanceof dl&&(0===s.code||1===s.code)&&null),Qt(s=>null!==s),Tr(1)).subscribe(()=>{o()})})(()=>{o(!0)}),t.get(Dl).afterPreactivation=()=>(o(!0),s.closed?k(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const bw=new N("");class nO{constructor(){this.name="",this.email="",this.message=""}}const je_apiBaseUrl="https://www.palmmedia.de/api/";class Sr{constructor(t){this.httpClient=t}postContactForm(t){return this.httpClient.post(`${je_apiBaseUrl}contact`,t)}}function rO(e,t){if(1&e){const n=Ge();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(H().submit())}),h(2,"div",7)(3,"label",8),f(4,"Name "),h(5,"span",9),f(6,"*"),p()(),h(7,"input",10),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),f(10,"E-Mail "),h(11,"span",9),f(12,"*"),p()(),h(13,"input",12),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),f(16,"Nachricht "),h(17,"span",9),f(18,"*"),p()(),h(19,"textarea",14),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.message=o)}),p()(),h(20,"button",15),f(21,"Submit"),p()()}if(2&e){const n=function lm(e){return function Or(e,t){return e[t]}(function Zb(){return z.lFrame.contextLView}(),22+e)}(1),r=H();_(7),E("ngModel",r.contactViewModel.name),_(6),E("ngModel",r.contactViewModel.email),_(6),E("ngModel",r.contactViewModel.message),_(1),E("disabled",!n.valid||r.enableFormCountDown>0)}}function oO(e,t){1&e&&(h(0,"p"),f(1,"Thanks for your message."),p())}function iO(e,t){1&e&&(h(0,"p",16),f(1,"Something went wrong. Please try again later."),p())}Sr.\u0275fac=function(t){return new(t||Sr)(R(Fd))},Sr.\u0275prov=P({token:Sr,factory:Sr.\u0275fac});class ts{constructor(t){this.contactService=t,this.contactViewModel=new nO,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:t=>{console.log("Submitted form"),this.success=!0},error:t=>{console.error(t),this.error=!0},complete:()=>console.info("complete")})}}ts.\u0275fac=function(t){return new(t||ts)(S(Sr))},ts.\u0275cmp=mt({type:ts,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(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Contact"),p(),$(3,rO,22,4,"form",2),$(4,oO,2,0,"p",3),$(5,iO,2,0,"p",4),p()),2&t&&(_(3),E("ngIf",!n.success&&!n.error),_(1),E("ngIf",n.success),_(1),E("ngIf",n.error))},dependencies:[La,Xd,xi,Vd,Ud,Li,el,Oi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]});const Ew=function(){return["/pro"]};class ns{scrollToAnchor(t){return document.querySelector(t)?.scrollIntoView(!0),!1}}ns.\u0275fac=function(t){return new(t||ns)},ns.\u0275cmp=mt({type:ns,selectors:[["app-features-component"]],decls:138,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory"],[1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Features"),p(),v(3,"div",2)(4,"br"),h(5,"h2"),f(6,"Coverage quotas"),p(),h(7,"p"),f(8," The overiew cards provide a quick "),h(9,"span",3),f(10,"overview"),p(),f(11," of your coverage quotas."),v(12,"br"),f(13," You can use them to get a glimpse into the different "),h(14,"a",4),f(15,"coverage metrics"),p(),f(16,"\xa0"),h(17,"a",4),v(18,"i",5),p(),f(19,": "),p(),h(20,"ul")(21,"li"),f(22,"Line coverage"),p(),h(23,"li"),f(24,"Branch coverage"),p(),h(25,"li"),f(26,"Method coverage "),h(27,"a",6)(28,"span",7),f(29,"PRO"),p()()()(),v(30,"img",8)(31,"div",9)(32,"br"),h(33,"h2",10),f(34,"Coverage history"),p(),h(35,"p"),f(36," The history chart helps you to understand how your coverage quotas are "),h(37,"span",3),f(38,"evolving over time"),p(),f(39,". "),p(),v(40,"img",11)(41,"div",12)(42,"br"),h(43,"h2",10),f(44,"Summary table / Overview"),p(),h(45,"p"),f(46," The summary table helps you to identify classes with "),h(47,"span",3),f(48,"low test coverage"),p(),f(49,"."),v(50,"br"),f(51," The table offers various "),h(52,"span",3),f(53,"filter and sorting"),p(),f(54," options for quick navigation. "),p(),v(55,"img",13)(56,"div",14)(57,"br"),h(58,"h2",10),f(59,"Details page"),p(),h(60,"p"),f(61," The details page visualizes your "),h(62,"span",3),f(63,"line and branch coverage"),p(),f(64,". "),p(),h(65,"ul")(66,"li"),f(67,"Colors indicate the coverage status of each line."),p(),h(68,"li"),f(69,"Branch indicators help you to identity uncovered conditions."),p()(),v(70,"img",15)(71,"div",16)(72,"br"),h(73,"h2",10),f(74,"Metrics"),p(),h(75,"p"),f(76," Depending on your "),h(77,"a",17),f(78,"coverage tool"),p(),f(79,", metrics are provided to get further insigths in your "),h(80,"span",3),f(81,"code quality"),p(),f(82,". "),p(),h(83,"ul")(84,"li"),f(85,"The "),h(86,"a",18),F("click",function(){return n.scrollToAnchor("#details")}),f(87,"details page"),p(),f(88," contains information about the metrics of all methods of a class."),p(),h(89,"li"),f(90,"The "),h(91,"a",18),F("click",function(){return n.scrollToAnchor("#summary")}),f(92,"summary table"),p(),f(93," shows the lowest metrics of all methods of a class "),h(94,"a",6)(95,"span",7),f(96,"PRO"),p()()()(),h(97,"b"),f(98,"Details page"),p(),v(99,"br")(100,"img",19)(101,"br")(102,"br"),h(103,"b"),f(104,"Summary table"),p(),v(105,"br")(106,"img",20)(107,"div",21)(108,"br"),h(109,"h2",10),f(110,"Risk Hotspots"),p(),h(111,"p"),f(112," Based on the "),h(113,"a",18),F("click",function(){return n.scrollToAnchor("#metrics")}),f(114,"metrics"),p(),f(115," you get a list of potential risk hotspots."),v(116,"br"),f(117," The following metrics are analyzed if available, the warning thresholds are configurable: "),p(),h(118,"ul")(119,"li")(120,"a",22),f(121,"Cyclomatic complexity"),p(),f(122,"\xa0"),h(123,"a",22),v(124,"i",5),p()(),h(125,"li")(126,"a",23),f(127,"NPath complexity"),p(),f(128,"\xa0"),h(129,"a",23),v(130,"i",5),p()(),h(131,"li")(132,"a",24),f(133,"Crap score"),p(),f(134,"\xa0"),h(135,"a",24),v(136,"i",5),p()()(),v(137,"img",25),p()),2&t&&(_(27),E("routerLink",ne(2,Ew)),_(67),E("routerLink",ne(3,Ew)))},dependencies:[gn]});const kt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.17"},sO=function(){return["/usage"]};class rs{constructor(){this.versions=kt}}rs.\u0275fac=function(t){return new(t||rs)},rs.\u0275cmp=mt({type:rs,selectors:[["app-getstarted"]],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net"],[1,"mt-5"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Get started"),p(),h(3,"h2"),f(4,"General"),p(),h(5,"p"),f(6,"In general you need a tool that instruments your test code and collects coverage information."),v(7,"br"),f(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),v(9,"br"),h(10,"em"),f(11,"ReportGenerator"),p(),f(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),f(14,"Use the online "),h(15,"a",2),f(16,"configuration tool"),p(),f(17," to get started quickly."),p(),v(18,"div",3),h(19,"h2",4),f(20,".NET"),p(),h(21,"p"),f(22,"For .NET you can use "),h(23,"a",5),f(24,"coverlet"),p(),f(25," or "),h(26,"a",6),f(27,"altcover"),p(),f(28," for instrumenting your test code."),p(),h(29,"p"),f(30,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(31,"p")(32,"strong"),f(33,"Add dependencies to your "),h(34,"code"),f(35,"*.csproj"),p(),f(36," file:"),p()(),h(37,"pre",7),f(38),p(),h(39,"p")(40,"strong"),f(41,"Execute tests and create coverage report"),p()(),h(42,"pre",7),f(43),p(),v(44,"div",8),h(45,"h2",9),f(46,"Java"),p(),h(47,"p"),f(48,"For Java you can use "),h(49,"a",10),f(50,"JaCoCo"),p(),f(51," for instrumenting your test code.\nAfter adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report."),p(),h(52,"p")(53,"strong"),f(54,"Add dependencies to your "),h(55,"code"),f(56,"pom.xml"),p(),f(57," file:"),p()(),h(58,"pre",7),f(59,"\n \n \n \n org.jacoco\n jacoco-maven-plugin\n 0.8.6\n \n \n \n prepare-agent\n \n \n \n report\n prepare-package\n \n report\n \n \n \n \n \n \n \n \n \n org.jacoco\n jacoco-maven-plugin\n \n \n \n report\n \n \n \n \n \n \n\n"),p(),h(60,"p")(61,"strong"),f(62,"Execute tests and create coverage report"),p()(),h(63,"pre",7),f(64),p(),v(65,"div",11),h(66,"h2",12),f(67,"NodeJS"),p(),h(68,"p"),f(69,"For NodeJS you can use "),h(70,"a",13),f(71,"Istanbul"),p(),f(72," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(73,"pre",7),f(74),p()()),2&t&&(_(15),E("routerLink",ne(5,sO)),_(23),An('\n \n runtime; build; native; contentfiles; analyzers; buildtransitive\n all\n \n \n \n \n all\n runtime; build; native; contentfiles; analyzers\n \n\n'),_(5),An('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',n.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),_(21),An("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",n.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),_(10),An("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",n.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[gn]});const aO=function(){return["/pro"]},lO=function(){return["/usage"]},uO=function(){return["/getstarted"]},cO=function(){return["/features"]};class os{}os.\u0275fac=function(t){return new(t||os)},os.\u0275cmp=mt({type:os,selectors:[["app-home"]],decls:143,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],["data-splitbee-event","Routing","data-splitbee-event-source","HomeComponent",3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],[3,"routerLink"],[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","mt-5","pt-5","pb-5","bg-light"],[1,"text-center"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(t,n){1&t&&(h(0,"section",0)(1,"div",1)(2,"div",2),v(3,"img",3),p(),h(4,"div",4)(5,"h1"),f(6,"ReportGenerator"),p(),h(7,"h2",5),f(8,"Powerful code coverage visualization"),p(),h(9,"div",6),f(10,"\xa0"),p(),h(11,"div",7)(12,"p")(13,"i"),f(14,"ReportGenerator"),p(),f(15," converts "),h(16,"span",8),f(17,"coverage reports"),p(),f(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),h(19,"span",8),f(20,"human readable reports in various formats"),p(),f(21,"."),p(),h(22,"p"),f(23,"The reports show the "),h(24,"span",8),f(25,"coverage quotas"),p(),f(26," and also visualize which lines of your source code have been covered."),p(),h(27,"p")(28,"a",9),v(29,"i",10),f(30," Browse example report"),p()()()()(),h(31,"div",11)(32,"div",12)(33,"div",13),v(34,"i",14),p(),h(35,"span",15),f(36,"Open source"),p(),h(37,"p",16)(38,"i"),f(39,"ReportGenerator"),p(),f(40," is open source under the permissive Apache License."),p(),h(41,"p"),f(42,"It's free to use."),v(43,"br"),f(44,"The "),h(45,"a",17),f(46,"PRO"),p(),f(47," version offers additional features."),p()(),h(48,"div",18)(49,"div",13),v(50,"i",19),p(),h(51,"span",15),f(52,"Easy to use"),p(),h(53,"p",16)(54,"i"),f(55,"ReportGenerator"),p(),f(56," is a command line tool which only requires a "),h(57,"a",20),f(58,"few parameters"),p(),f(59,"."),p(),h(60,"p"),f(61,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(62,"div",18)(63,"div",13),v(64,"i",21),p(),h(65,"span",15),f(66,"Integration"),p(),h(67,"p",16)(68,"i"),f(69,"ReportGenerator"),p(),f(70," works on Windows, Linux and macOS."),p(),h(71,"p"),f(72,"Support for "),h(73,"a",22),f(74,"GitHub actions"),p(),f(75," and "),h(76,"a",23),f(77,"Azure DevOps"),p(),f(78," is available."),p()()(),h(79,"div",11)(80,"div",24)(81,"a",25),v(82,"i",26),f(83," Learn how to use"),p(),h(84,"a",27),v(85,"i",28),f(86," GitHub"),p()()()(),h(87,"section",29)(88,"div",0)(89,"h2",30),f(90,"Trusted by"),p(),h(91,"div",11)(92,"div",31),v(93,"i",32)(94,"br"),h(95,"a",33),f(96,".NET Runtime"),p()(),h(97,"div",31),v(98,"i",34)(99,"br"),h(100,"a",35),f(101,"Google Cloud"),p()(),h(102,"div",31),v(103,"i",36)(104,"br"),h(105,"a",37),f(106,"AWS Encryption SDK"),p()(),h(107,"div",38),v(108,"i",39)(109,"br"),h(110,"a",40),f(111,"Many more"),p()()(),h(112,"div",11)(113,"div",31)(114,"a",41),v(115,"i",42),f(116," Over 45 million downloads on Nuget"),p()()()()(),h(117,"section",43)(118,"div",0)(119,"h2"),f(120,"Screenshots"),p(),h(121,"p"),f(122,"The screenshots show two snippets of the generated reports."),p(),h(123,"p"),f(124," Have a look the "),h(125,"a",20),f(126,"features page"),p(),f(127," to explore the elements in a coverage report or "),h(128,"a",44),f(129,"browse the example report"),p(),f(130,". "),v(131,"br"),f(132," You can also download "),h(133,"a",45),f(134,"sample reports"),p(),f(135," of all supported output formats."),p(),h(136,"div",1)(137,"div",46)(138,"a",47),v(139,"img",48),p()(),h(140,"div",49)(141,"a",50),v(142,"img",51),p()()()()()),2&t&&(_(45),E("routerLink",ne(4,aO)),_(12),E("routerLink",ne(5,lO)),_(24),E("routerLink",ne(6,uO)),_(44),E("routerLink",ne(7,cO)))},dependencies:[gn],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.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;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]});class is{}is.\u0275fac=function(t){return new(t||is)},is.\u0275cmp=mt({type:is,selectors:[["app-not-found"]],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Not found"),p(),v(3,"i",2),f(4," The requested page does not exist.\n"),p())}});class Sw{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}class Mr{initCodeFlow(){const r=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/pro`;console.log("Redirecting to: "+r),location.href=r}validateStateAndExtractCode(){let t=location.href;const n=t.indexOf("?");n>-1&&(t=t.substring(n+1));const r=this.parseQueryString(t);return r.state&&r.code&&this.validateNonce(r.state)?r.code:null}createAndSaveNonce(){const t=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",t),t}validateNonce(t){let n;return typeof window.localStorage<"u"&&(n=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),n&&0!==n.length?n===t||(console.error("Validating nonce failed. Values do not match.",n,t),!1):(console.error("Validating nonce failed. No saved nonce available.",n,t),!1)}createNonce(){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,r="";const o=typeof self>"u"?null:self.crypto||self.msCrypto;if(o){let s=new Uint8Array(n);o.getRandomValues(s),s.map||(s.map=Array.prototype.map);const a=[];for(var i=0;i0&&(l=decodeURIComponent(s),u=decodeURIComponent(a),"/"===l.substring(0,1)&&(l=l.substring(1)),n[l]=u);return n}base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}Mr.\u0275fac=function(t){return new(t||Mr)},Mr.\u0275prov=P({token:Mr,factory:Mr.\u0275fac});class Ir{constructor(t){this.httpClient=t}getLicense(t){return this.httpClient.get(`${je_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(t)}`)}getPaddleLicense(t){return this.httpClient.post(`${je_apiBaseUrl}reportgenerator/paddlelicense`,t)}}function dO(e,t){1&e&&(h(0,"div",42)(1,"span",43),f(2,"Loading..."),p()())}Ir.\u0275fac=function(t){return new(t||Ir)(R(Fd))},Ir.\u0275prov=P({token:Ir,factory:Ir.\u0275fac});const kf=function(){return["/contact"]};function fO(e,t){if(1&e&&(h(0,"div")(1,"p"),f(2),p(),h(3,"p"),f(4,"Please try again later or use the "),h(5,"a",18),f(6," contact form"),p(),f(7,"."),p()()),2&e){const n=H(2);_(2),Ce(n.license.error),_(3),E("routerLink",ne(2,kf))}}function hO(e,t){1&e&&(h(0,"div")(1,"p"),f(2,"Please become a "),h(3,"a",45),f(4,"GitHub sponsor"),p(),f(5," first."),p()())}function pO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function gO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function mO(e,t){if(1&e){const n=Ge();h(0,"div")(1,"label",46),f(2,"Thank you for becoming a sponsor. Here's your license:"),p(),h(3,"textarea",47),f(4),p(),h(5,"button",48),F("click",function(){return ce(n),de(H(2).copy())}),$(6,pO,3,0,"span",44),$(7,gO,3,0,"span",44),p()()}if(2&e){const n=H(2);_(4),Ce(n.license.license),_(2),E("ngIf",!n.licenseCopied),_(1),E("ngIf",n.licenseCopied)}}function yO(e,t){if(1&e&&(h(0,"div",21),$(1,fO,8,3,"div",44),$(2,hO,6,0,"div",44),$(3,mO,8,3,"div",44),p()),2&e){const n=H();_(1),E("ngIf",n.license.error),_(1),E("ngIf",!n.license.error&&!n.license.isSponsor),_(1),E("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function vO(e,t){if(1&e){const n=Ge();h(0,"button",61),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("individual"))}),f(1,"Buy now"),p()}}function _O(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function CO(e,t){if(1&e){const n=Ge();h(0,"button",63),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("team"))}),f(1,"Buy now"),p()}}function DO(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function wO(e,t){if(1&e){const n=Ge();h(0,"button",64),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("enterprise"))}),f(1,"Buy now"),p()}}function bO(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function EO(e,t){if(1&e&&(h(0,"div",2)(1,"div",51),v(2,"img",52),h(3,"h4",53),f(4,"Individual"),v(5,"br"),f(6),p(),h(7,"p"),f(8,"Annual - Per developer license."),p(),$(9,vO,2,0,"button",54),$(10,_O,2,0,"button",55),p(),h(11,"div",56),v(12,"img",57),h(13,"h4",53),f(14,"Team"),v(15,"br"),f(16),p(),h(17,"p"),f(18,"Annual - Up to 10 developers."),p(),$(19,CO,2,0,"button",58),$(20,DO,2,0,"button",55),p(),h(21,"div",56),v(22,"img",59),h(23,"h4",53),f(24,"Enterprise"),v(25,"br"),f(26),p(),h(27,"p"),f(28,"Annual - Unlimited developers."),p(),$(29,wO,2,0,"button",60),$(30,bO,2,0,"button",55),p()()),2&e){const n=H();_(6),Ce(n.paddleIndividualLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle),_(6),Ce(n.paddleTeamLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle),_(6),Ce(n.paddleEnterpriseLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle)}}function SO(e,t){1&e&&(fr(0),h(1,"div",42)(2,"span",43),f(3,"Loading..."),p()(),h(4,"span",66),f(5,"Your license is being generated. Please wait."),p(),hr())}function MO(e,t){if(1&e&&(h(0,"div")(1,"p"),f(2),p(),h(3,"p"),f(4,"Please try again later or use the "),h(5,"a",18),f(6," contact form"),p(),f(7,"."),p()()),2&e){const n=H(3);_(2),Ce(n.paddleLicense.error),_(3),E("routerLink",ne(2,kf))}}function IO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function AO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function TO(e,t){if(1&e){const n=Ge();h(0,"div")(1,"label",68),f(2,"Thank you for buying a license. Please save your license key persistently:"),p(),h(3,"textarea",69),f(4),p(),h(5,"button",48),F("click",function(){return ce(n),de(H(3).copyPaddle())}),$(6,IO,3,0,"span",44),$(7,AO,3,0,"span",44),p()()}if(2&e){const n=H(3);_(4),Ce(n.paddleLicense.license),_(2),E("ngIf",!n.paddleLicenseCopied),_(1),E("ngIf",n.paddleLicenseCopied)}}function xO(e,t){if(1&e&&(h(0,"div",67),$(1,MO,8,3,"div",44),$(2,TO,8,3,"div",44),p()),2&e){const n=H(2);_(1),E("ngIf",n.paddleLicense.error),_(1),E("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function RO(e,t){if(1&e&&(h(0,"div",2),$(1,SO,6,0,"ng-container",44),$(2,xO,3,2,"div",65),p()),2&e){const n=H();_(1),E("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),_(1),E("ngIf",n.paddleLicense)}}const Io=function(){return["/features"]};class ss{constructor(t,n){this.oauthService=t,this.licenseService=n,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.paddleLicenseRequested=!1,this.paddleLicenseCopied=!1,this.paddleLicense=null,this.self=this,window.paddleCheckoutComplete=r=>{this.paddleCheckoutComplete(r)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,r=>{this.paddleIndividualLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762580,r=>{this.paddleTeamLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762581,r=>{this.paddleEnterpriseLicensePrice=r.recurring.price.gross})}ngOnInit(){const t=this.oauthService.validateStateAndExtractCode();null!==t?(console.log("Code received",t),this.licenseRequested=!0,this.licenseService.getLicense(t).subscribe({next:n=>{console.log("Received license response"),this.license=n,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:n=>{console.error(n),this.license=new Sw,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(t){console.error("Failed to copy license",t)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(t){console.error("Failed to copy paddle license",t)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(t){"enterprise"===t?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===t?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(t){console.log("Checkout completed",t),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(t).subscribe({next:n=>{console.log("Received paddle license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:n=>{console.error(n),this.paddleLicense=new Sw,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}}ss.\u0275fac=function(t){return new(t||ss)(S(Mr),S(Ir))},ss.\u0275cmp=mt({type:ss,selectors:[["app-pro-component"]],decls:154,vars:19,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-check","pro-text"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","github"],[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","data-splitbee-event","GitHub_BecomeSponsor",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button","data-splitbee-event","GitHub_GetLicense",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","paddle"],["class","row",4,"ngIf"],[1,"mt-5"],["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"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["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"],[1,"col-xs-6","col-md-4","pb-3","text-center"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"mt-3"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",3,"click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-6","col-md-4","mt-4","mt-md-0","pb-3","text-center"],["src","resources/team.svg","alt","Team",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",3,"click",4,"ngIf"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Enterprise",3,"click",4,"ngIf"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",1,"btn","btn-primary",3,"click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",1,"btn","btn-primary",3,"click"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Enterprise",1,"btn","btn-primary",3,"click"],["class","col-xs-12 col-md-6",4,"ngIf"],[2,"position","relative","left","35px","top","-20px"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),v(8,"th",5),h(9,"th",6),f(10,"Free"),p(),h(11,"th",6)(12,"span",7),f(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),f(17,"Metrics "),h(18,"a",9),v(19,"i",10),p()(),h(20,"td",11),v(21,"i",12),p(),h(22,"td",11),v(23,"i",12),p()(),h(24,"tr")(25,"th",8),f(26,"Risk Hotspots "),h(27,"a",13),v(28,"i",10),p()(),h(29,"td",11),v(30,"i",12),p(),h(31,"td",11),v(32,"i",12),p()(),h(33,"tr")(34,"th",8),f(35,"Line coverage "),h(36,"a",14),v(37,"i",10),p()(),h(38,"td",11),v(39,"i",12),p(),h(40,"td",11),v(41,"i",12),p()(),h(42,"tr")(43,"th",8),f(44,"Branch coverage "),h(45,"a",14),v(46,"i",10),p()(),h(47,"td",11),v(48,"i",12),p(),h(49,"td",11),v(50,"i",12),p()(),h(51,"tr")(52,"th",8),f(53,"Method coverage "),h(54,"a",14),v(55,"i",10),p()(),v(56,"td",11),h(57,"td",11),v(58,"i",15),p()(),h(59,"tr")(60,"th",8),f(61,"Metrics on summary page "),h(62,"a",9),v(63,"i",10),p()(),v(64,"td",11),h(65,"td",11),v(66,"i",15),p()()()()(),h(67,"div",16)(68,"p")(69,"i"),f(70,"ReportGenerator"),p(),f(71," is Open Source and free to use."),v(72,"br"),f(73," Some of the advanced features require a PRO license. "),p(),h(74,"p"),f(75," You can either become a "),h(76,"a",17),F("click",function(){return n.scrollToGithub()}),f(77,"GitHub sponsor"),p(),f(78," or you can "),h(79,"a",17),F("click",function(){return n.scrollToPaddle()}),f(80,"buy a license"),p(),f(81,"."),v(82,"br"),p(),h(83,"p"),f(84," Get "),h(85,"a",18),f(86,"in touch"),p(),f(87," if you have any issues and we will figure it out. "),p()()(),v(88,"div",19),p(),h(89,"section",20)(90,"div",0)(91,"h2",1),f(92,"Get your license as a sponsor"),p(),h(93,"div",2)(94,"div",21)(95,"p"),f(96,"You can obtain your license in two easy steps (no sign up required):"),p(),h(97,"span",22),f(98,"1."),p(),h(99,"a",23),v(100,"i",24),f(101," Become a GitHub sponsor"),p(),v(102,"br"),h(103,"span",22),f(104,"2."),p(),h(105,"button",25),F("click",function(){return n.requestLicense()}),v(106,"i",26),f(107," Get license"),p(),$(108,dO,3,0,"div",27),p(),$(109,yO,4,3,"div",28),p()(),v(110,"div",29),p(),h(111,"section",20)(112,"div",0)(113,"h2",1),f(114,"Buy a license"),p(),$(115,EO,31,9,"div",30),$(116,RO,3,2,"div",30),h(117,"div",31)(118,"p")(119,"i"),f(120,"ReportGenerator"),p(),f(121," licence purchases are provided with a 30 day money back guarantee."),p(),h(122,"p"),f(123,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns"),p()()()(),h(124,"section",32)(125,"h2",1),f(126,"Frequently Asked Questions"),p(),h(127,"div",33)(128,"div",34)(129,"h2",35)(130,"button",36),f(131," Are there limitations on number of users? "),p()(),h(132,"div",37)(133,"div",38)(134,"b"),f(135,"GitHub sponsors"),p(),v(136,"br"),h(137,"p"),f(138,"There's no enforced limit. Just pick a sponsor level that fits your company size and budget."),p(),h(139,"b"),f(140,"Bought license"),p(),v(141,"br"),h(142,"p"),f(143,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(144,"i"),f(145,"ReportGenerator"),p(),f(146,"."),p()()()(),h(147,"div",34)(148,"h2",39)(149,"button",40),f(150," Will my license expire? "),p()(),h(151,"div",41)(152,"div",38),f(153," Your license will not expire. "),p()()()()()),2&t&&(_(18),E("routerLink",ne(12,Io)),_(9),E("routerLink",ne(13,Io)),_(9),E("routerLink",ne(14,Io)),_(9),E("routerLink",ne(15,Io)),_(9),E("routerLink",ne(16,Io)),_(8),E("routerLink",ne(17,Io)),_(23),E("routerLink",ne(18,kf)),_(20),E("disabled",n.licenseRequested),_(3),E("ngIf",n.licenseRequested&&!n.license),_(1),E("ngIf",n.license),_(6),E("ngIf",!n.paddleLicenseRequested),_(1),E("ngIf",n.paddleLicenseRequested))},dependencies:[La,gn],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}"]});class bl{constructor(t,n,r,o,i,s){this.name=t,this.url=n,this.runtimes=r,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?'"':"";return`\r\n${r}-${t}:${n}${r}`}formatArguments(t,n){return this.formatArgument(t,n.filter(r=>null!=r&&0!==r.length&&0!==r.trim().length).join(";"))}}class NO extends bl{formatExecutable(t){let n=`- task: ${t.tool}@${kt.majorVersion}`;return n+="\r\n displayName: ReportGenerator",n+="\r\n inputs:",console.log("hello",n),n}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class FO{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"HtmlSummary",description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{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,sampleReport:"resources/reports/HtmlInline/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{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,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownSummaryGithub",description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/PngChart/CoverageHistory.png"},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],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(t){return this.sourcedirectories.splice(t,1),!1}addReport(){return this.reports.push(""),!1}removeReport(t){return this.reports.splice(t,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(t){return this.plugins.splice(t,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(t){return this.assemblyfilters.splice(t,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(t){return this.classfilters.splice(t,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(t){return this.filefilters.splice(t,1),!1}getUsage(t,n){const r=t.executables.find(a=>a.runtime==n);let o=void 0!==r?t.formatExecutable(r):"";o+=t.formatArguments("reports",this.reports),o+=t.formatArgument("targetdir",this.targetdir);for(var i="",s=0;s0&&(i+=";"),i+=this.reporttypes[s].name);return i.length>0&&"Html"!==i&&(o+=t.formatArgument("reporttypes",i)),o+=t.formatArguments("sourcedirs",this.sourcedirectories),o+=t.formatArgument("historydir",this.historydir),o+=t.formatArguments("plugins",this.plugins),o+=t.formatArguments("assemblyfilters",this.assemblyfilters),o+=t.formatArguments("classfilters",this.classfilters),o+=t.formatArguments("filefilters",this.filefilters),"Verbose"!==this.selectedverbosity&&(o+=t.formatArgument("verbosity",this.selectedverbosity)),o+=t.formatArgument("title",this.title),o+=t.formatArgument("tag",this.tag),o+=t.formatArgument("license",this.license),o}historyDirRequired(){for(let t=0;t-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class Of{constructor(t,n){this.tool=t,this.command=n}}function kO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",35),F("ngModelChange",function(o){return ce(n),de(H().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(H().selectedEnvironmentChanged())}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",36),f(7),p()()()}if(2&e){const n=t.$implicit,r=H();_(2),E("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),_(2),Ce(n.name),_(3),Ce(n.description)}}function OO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",39),F("ngModelChange",function(o){return ce(n),de(H(3).selectedPackage=o)}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",36),f(7),p()()()}if(2&e){const n=H().$implicit,r=H(2);_(2),E("ngModel",r.selectedPackage)("value",n),_(2),Ce(n.name),_(3),Ce(n.description)}}function LO(e,t){if(1&e&&(fr(0),$(1,OO,8,4,"div",38),hr()),2&e){const n=t.$implicit,r=H(2);_(1),E("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function VO(e,t){if(1&e&&(fr(0),h(1,"h4"),f(2,"NuGet Package"),p(),$(3,LO,2,1,"ng-container",37),hr()),2&e){const n=H();_(3),E("ngForOf",n.packages)}}function UO(e,t){if(1&e){const n=Ge();h(0,"span",43),F("click",function(){ce(n);const o=H().index;return de(H().configuration.removeReport(o))}),h(1,"a",44),v(2,"i",45),p()()}}const HO=function(e){return{"input-group":e}};function jO(e,t){if(1&e){const n=Ge();h(0,"div",36)(1,"div",40)(2,"input",41),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.reports[s]=o)}),p(),$(3,UO,3,0,"span",42),p()()}if(2&e){const n=t.index,r=H();_(1),E("ngClass",Ac(4,HO,n>0)),_(1),In("name","report_",n,""),E("ngModel",r.configuration.reports[n]),_(1),E("ngIf",n>0)}}function BO(e,t){if(1&e){const n=Ge();h(0,"span",48),v(1,"i",49),f(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(H(2).scrollToHistoryDir())}),f(4,"history directory"),p()()}}function $O(e,t){if(1&e&&(fr(0),v(1,"br",50),h(2,"a",27),f(3,"Sample report"),p(),f(4,"\xa0"),h(5,"a",27),v(6,"i",51),p(),hr()),2&e){const n=H().$implicit;_(2),E("href",n.sampleReport,Wr),_(3),E("href",n.sampleReport,Wr)}}function GO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",46),F("change",function(){const i=ce(n).$implicit;return de(i.checked=!i.checked)}),p(),h(3,"b"),f(4),p(),$(5,BO,5,0,"span",47),v(6,"br"),h(7,"div",36),f(8),$(9,$O,7,2,"ng-container",5),p()()()}if(2&e){const n=t.$implicit,r=H();_(2),E("checked",n.checked),_(2),Ce(n.name),_(1),E("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),_(3),An("",n.description," "),_(1),E("ngIf",n.sampleReport)}}function zO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeSourceDirectory(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","sourcedir_",n,""),E("ngModel",r.configuration.sourcedirectories[n])}}function qO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.plugins[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removePlugin(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","plugin_",n,""),E("ngModel",r.configuration.plugins[n])}}function WO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",55),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeAssemblyFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","assemblyfilter_",n,""),E("ngModel",r.configuration.assemblyfilters[n])}}function KO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",56),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.classfilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeClassFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","classfilter_",n,""),E("ngModel",r.configuration.classfilters[n])}}function ZO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",57),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.filefilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeFileFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","filefilter_",n,""),E("ngModel",r.configuration.filefilters[n])}}function QO(e,t){if(1&e&&(h(0,"option",58),f(1),p()),2&e){const n=t.$implicit;E("value",n),_(1),Ce(n)}}function XO(e,t){if(1&e&&(h(0,"div",59)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",30),f(5),p()()),2&e){const n=t.$implicit;_(2),Ce(n.tool),_(3),Ce(n.command)}}function YO(e,t){1&e&&(h(0,"span"),v(1,"i",60),f(2," Copy"),p())}function JO(e,t){1&e&&(h(0,"span"),v(1,"i",61),f(2," Copied"),p())}function eL(e,t){if(1&e&&(h(0,"div",59)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",30),f(5),p()()),2&e){const n=t.$implicit;_(2),Ce(n.tool),_(3),Ce(n.command)}}function tL(e,t){1&e&&(h(0,"span"),v(1,"i",60),f(2," Copy"),p())}function nL(e,t){1&e&&(h(0,"span"),v(1,"i",61),f(2," Copied"),p())}const rL=function(){return["/pro"]};class ls{constructor(){this.versions=kt,this.lastResult="",this.usageCopied=!1,this.configuration=new FO,this.environments=[new El(".NET Core",".NET Core"),new El(".NET Framework","The full .NET framework"),new El("Azure DevOps",null),new El("Github Action",null)],this.packages=[new bl("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"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.",[new Of("Package Manager",`Install-Package ReportGenerator -Version ${kt.version}`),new Of(".NET CLI",`dotnet add package ReportGenerator --version ${kt.version}`)],[new as(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net47\\ReportGenerator.exe`),new as(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new bl("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new Of(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${kt.version}\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${kt.version}\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version ${kt.version}`)],[new as(".NET Core","reportgenerator")]),new NO("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new as("Azure DevOps","reportgenerator")]),new PO("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new as("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const t=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==t&&(this.lastResult=t,this.usageCopied=!1),t}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(t){console.error("Failed to copy license",t)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(t,n){return t}}ls.\u0275fac=function(t){return new(t||ls)},ls.\u0275cmp=mt({type:ls,selectors:[["app-usage-component"]],decls:215,vars:39,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[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","form-check",4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir",1,"input-group","mb-3"],["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"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","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,"checked","change"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[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,"mt-2"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),f(7,"Environment"),p(),$(8,kO,8,5,"div",4),v(9,"hr"),$(10,VO,4,1,"ng-container",5),v(11,"hr"),h(12,"h3"),f(13,"Reports"),p(),h(14,"div",6),f(15,"Path to the coverage report(s) that should be parsed."),v(16,"br"),f(17,"Globbing is supported."),p(),$(18,jO,4,6,"div",7),h(19,"div",8)(20,"a",9),F("click",function(){return n.configuration.addReport()}),v(21,"i",10),f(22," Add report"),p()(),v(23,"br"),h(24,"h3"),f(25,"Target directory"),p(),h(26,"div",6),f(27,"The directory where the generated report(s) should be saved."),p(),h(28,"div",8)(29,"input",11),F("ngModelChange",function(o){return n.configuration.targetdir=o}),p()(),v(30,"br"),h(31,"h3"),f(32,"Report types"),p(),h(33,"div",6),f(34,"Download "),h(35,"a",12),f(36,"sample reports"),p()(),$(37,GO,10,5,"div",13),h(38,"h3"),f(39,"Source directories"),p(),h(40,"div",6),f(41,"Optional directories which contain the corresponding source code."),v(42,"br"),f(43,"The source directories are used if coverage report contains classes without path information."),p(),$(44,zO,6,2,"div",14),h(45,"div",15)(46,"a",9),F("click",function(){return n.configuration.addSourceDirectory()}),v(47,"i",10),f(48," Add source directory"),p()(),v(49,"br"),h(50,"h3"),f(51,"History directory"),p(),h(52,"div",6),f(53,"Optional directory for storing "),h(54,"b"),f(55,"persistent"),p(),f(56," coverage information. Choose a directory which does not get deleted between builds."),v(57,"br"),f(58,"Required to show the history chart in the HTML reports."),p(),h(59,"div",8)(60,"input",16),F("ngModelChange",function(o){return n.configuration.historydir=o}),p()(),v(61,"br"),h(62,"h3"),f(63,"Plugins"),p(),h(64,"div",6),f(65,"Optional plugin files for "),h(66,"a",17),f(67,"custom reports"),p(),f(68," or "),h(69,"a",18),f(70,"custom history storage"),p(),f(71,"."),p(),$(72,qO,6,2,"div",14),h(73,"div",8)(74,"a",9),F("click",function(){return n.configuration.addPlugin()}),v(75,"i",10),f(76," Add plugin"),p()(),v(77,"br"),h(78,"h3"),f(79,"Assembly filters"),p(),h(80,"div",6),f(81,"Optional list of "),h(82,"b"),f(83,"assemblies"),p(),f(84," that should be included or excluded in the report. "),v(85,"br"),f(86,"Exclusion filters take precedence over inclusion filters. "),v(87,"br"),f(88,"Wildcards are allowed."),v(89,"br"),h(90,"p"),f(91,"Examples:"),v(92,"br"),h(93,"code"),f(94,"+Included"),p(),v(95,"br"),h(96,"code"),f(97,"-Excluded"),p()()(),$(98,WO,6,2,"div",14),h(99,"div",8)(100,"a",9),F("click",function(){return n.configuration.addAssemblyFilter()}),v(101,"i",10),f(102," Add assembly filter"),p()(),v(103,"br"),h(104,"h3"),f(105,"Class filters"),p(),h(106,"div",6),f(107,"Optional list of "),h(108,"b"),f(109,"classes"),p(),f(110," that should be included or excluded in the report. "),v(111,"br"),f(112,"Exclusion filters take precedence over inclusion filters. "),v(113,"br"),f(114,"Wildcards are allowed."),v(115,"br"),h(116,"p"),f(117,"Examples:"),v(118,"br"),h(119,"code"),f(120,"+Included"),p(),v(121,"br"),h(122,"code"),f(123,"-Excluded"),p()()(),$(124,KO,6,2,"div",14),h(125,"div",8)(126,"a",9),F("click",function(){return n.configuration.addClassFilter()}),v(127,"i",10),f(128," Add class filter"),p()(),v(129,"br"),h(130,"h3"),f(131,"File filters"),p(),h(132,"div",6),f(133,"Optional list of "),h(134,"b"),f(135,"files"),p(),f(136," that should be included or excluded in the report. "),v(137,"br"),f(138,"Exclusion filters take precedence over inclusion filters. "),v(139,"br"),f(140,"Wildcards are allowed."),v(141,"br"),h(142,"p"),f(143,"Examples:"),v(144,"br"),h(145,"code"),f(146,"+Included"),p(),v(147,"br"),h(148,"code"),f(149,"-Excluded"),p()()(),$(150,ZO,6,2,"div",14),h(151,"div",8)(152,"a",9),F("click",function(){return n.configuration.addFileFilter()}),v(153,"i",10),f(154," Add file filter"),p()(),v(155,"br"),h(156,"h3"),f(157,"Verbosity"),p(),h(158,"div",6),f(159,"The verbosity level of the log messages."),p(),h(160,"div",8)(161,"select",19),F("ngModelChange",function(o){return n.configuration.selectedverbosity=o}),$(162,QO,2,2,"option",20),p()(),v(163,"br"),h(164,"h3"),f(165,"Title"),p(),h(166,"div",6),f(167,"Optional title."),p(),h(168,"div",8)(169,"input",21),F("ngModelChange",function(o){return n.configuration.title=o}),p()(),v(170,"br"),h(171,"h3"),f(172,"Tag"),p(),h(173,"div",6),f(174,"Optional tag or build version."),p(),h(175,"div",8)(176,"input",22),F("ngModelChange",function(o){return n.configuration.tag=o}),p()(),v(177,"br"),h(178,"h3"),f(179,"License"),p(),h(180,"div",6),f(181,"Optional license. Get your license here: "),h(182,"a",23),f(183,"https://reportgenerator.io/pro"),p()(),h(184,"div",8)(185,"textarea",24),F("ngModelChange",function(o){return n.configuration.license=o}),p()()()(),h(186,"div",25)(187,"div",26)(188,"h3"),f(189,"Instructions"),p(),f(190," Install "),h(191,"a",27),f(192),p(),$(193,XO,6,2,"div",28),h(194,"h4",29),f(195,"Usage"),p(),h(196,"pre",30),f(197),p(),h(198,"button",31),F("click",function(){return n.copy()}),$(199,YO,3,0,"span",5),$(200,JO,3,0,"span",5),p()(),h(201,"div",32)(202,"h3"),f(203,"Instructions"),p(),f(204," Install "),h(205,"a",27),f(206),p(),$(207,eL,6,2,"div",28),h(208,"h4",29),f(209,"Usage"),p(),h(210,"pre",30),f(211),p(),h(212,"button",31),F("click",function(){return n.copy()}),$(213,tL,3,0,"span",5),$(214,nL,3,0,"span",5),p()()()()()),2&t&&(_(8),E("ngForOf",n.environments),_(2),E("ngIf",n.severalPackagesAvailable()),_(8),E("ngForOf",n.configuration.reports)("ngForTrackBy",n.trackByIndex),_(11),E("ngModel",n.configuration.targetdir),_(8),E("ngForOf",n.configuration.reporttypes)("ngForTrackBy",n.trackByIndex),_(7),E("ngForOf",n.configuration.sourcedirectories)("ngForTrackBy",n.trackByIndex),_(16),E("ngModel",n.configuration.historydir)("required",n.configuration.historyDirRequired()),_(12),E("ngForOf",n.configuration.plugins)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.assemblyfilters)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.classfilters)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.filefilters)("ngForTrackBy",n.trackByIndex),_(11),E("ngModel",n.configuration.selectedverbosity),_(1),E("ngForOf",n.configuration.verbosities)("ngForTrackBy",n.trackByIndex),_(7),E("ngModel",n.configuration.title),_(7),E("ngModel",n.configuration.tag),_(6),E("routerLink",ne(38,rL)),_(3),E("ngModel",n.configuration.license),_(6),E("href",n.selectedPackage.url,Wr),_(1),Ce(n.selectedPackage.name),_(1),E("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(2),E("ngIf",!n.usageCopied),_(1),E("ngIf",n.usageCopied),_(5),E("href",n.selectedPackage.url,Wr),_(1),Ce(n.selectedPackage.name),_(1),E("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(2),E("ngIf",!n.usageCopied),_(1),E("ngIf",n.usageCopied))},dependencies:[pd,f_,La,gn,Xd,JC,tD,xi,tl,Yd,Vd,Ud,Li,rf,el,Oi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]});const oL=[{path:"",component:os,pathMatch:"full",title:"Home",data:{canonical:"/"}},{path:"features",component:ns,title:"Features",data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:rs,title:"Get started",data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:ls,title:"Usage",data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:ss,title:"PRO",data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:ts,title:"Contact",data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:is,title:"404 - Not found"},{path:"**",redirectTo:"/404"}];class Ao{}Ao.\u0275fac=function(t){return new(t||Ao)},Ao.\u0275mod=Lt({type:Ao}),Ao.\u0275inj=Mt({imports:[ww.forRoot(oL,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),ww]});const Mw=function(){return["/"]},iL=function(e){return{show:e}},To=function(){return["link-active"]},Iw=function(){return{exact:!0}},sL=function(){return["/features"]},aL=function(){return["/getstarted"]},lL=function(){return["/usage"]},uL=function(){return["/contact"]},cL=function(){return["/pro"]};class us{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}us.\u0275fac=function(t){return new(t||us)},us.\u0275cmp=mt({type:us,selectors:[["app-nav-menu"]],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-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",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,"nav-link","text-dark","text-nowrap",3,"routerLink"],["data-splitbee-event","Routing","data-splitbee-event-source","NavMenu",1,"nav-link","text-dark",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(t,n){1&t&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),v(4,"img",4),h(5,"span",5),f(6,"ReportGenerator"),p()(),h(7,"button",6),F("click",function(){return n.toggle()}),v(8,"span",7),p(),h(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),f(13,"Home"),p()(),h(14,"li",10)(15,"a",11),f(16,"Features"),p()(),h(17,"li",12)(18,"a",13),f(19,"Get started"),p()(),h(20,"li",12)(21,"a",11),f(22,"Usage"),p()(),h(23,"li",12)(24,"a",11),f(25,"Contact"),p()(),h(26,"li",12)(27,"a",14)(28,"span",15),f(29,"PRO"),p()()()(),v(30,"hr",16),h(31,"ul",17)(32,"li",18)(33,"a",19),v(34,"i",20),h(35,"span",21),f(36,"GitHub"),p()()(),h(37,"li",18)(38,"a",22),v(39,"i",23),h(40,"span",21),f(41,"Twitter"),p()()()()()()()()),2&t&&(_(3),E("routerLink",ne(17,Mw)),_(4),$t("aria-expanded",n.isExpanded),_(2),E("ngClass",Ac(18,iL,n.isExpanded)),_(2),E("routerLinkActive",ne(20,To))("routerLinkActiveOptions",ne(21,Iw)),_(1),E("routerLink",ne(22,Mw)),_(2),E("routerLinkActive",ne(23,To))("routerLinkActiveOptions",ne(24,Iw)),_(1),E("routerLink",ne(25,sL)),_(2),E("routerLinkActive",ne(26,To)),_(1),E("routerLink",ne(27,aL)),_(2),E("routerLinkActive",ne(28,To)),_(1),E("routerLink",ne(29,lL)),_(2),E("routerLinkActive",ne(30,To)),_(1),E("routerLink",ne(31,uL)),_(2),E("routerLinkActive",ne(32,To)),_(1),E("routerLink",ne(33,cL)))},dependencies:[pd,gn,pw],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:#20a0d2;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%)}50%{background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}to{background-color:#20a0d2;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{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;font-weight:500}.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}"]});const dL=function(){return["/pro"]};class cs{constructor(){this.years=(new Date).getFullYear()-2009}}cs.\u0275fac=function(t){return new(t||cs)},cs.\u0275cmp=mt({type:cs,selectors:[["app-footer"]],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5",2,"max-height","300px"],[1,"col-xs-12","col-md-8"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["data-splitbee-event","Routing","data-splitbee-event-source","Footer",3,"routerLink"],[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","mt-4","mt-md-0"],["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","mt-4","mt-md-0"],[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(t,n){1&t&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),v(5,"img",5),p(),h(6,"div",6)(7,"h2"),f(8,"Who's behind"),p(),h(9,"p"),f(10,"My name is Daniel Palme. I'm a software developer from Germany."),p(),h(11,"p"),f(12," Back in 2009 I wanted to create a code coverage report based on "),h(13,"i"),f(14,"PartCover"),p(),f(15," files."),v(16,"br"),f(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),v(18,"br"),f(19),h(20,"i"),f(21,"ReportGenerator"),p(),f(22,". "),p(),h(23,"p"),f(24," You can support the ongoing maintenance by becoming a "),v(25,"i",7),f(26,"\xa0"),h(27,"a",8),f(28,"GitHub sponsor"),p(),f(29," or by buying a "),h(30,"a",9),f(31,"PRO license"),p(),f(32,". "),p()()()()(),h(33,"div",2)(34,"div",3),v(35,"hr"),p()(),h(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),f(42,"GitHub"),p()(),h(43,"a",11),f(44,"Source code"),p(),v(45,"br"),h(46,"a",12),f(47,"Wiki"),p(),v(48,"br"),h(49,"a",13),f(50,"FAQ"),p()(),h(51,"div",14)(52,"p")(53,"b"),f(54,"Download"),p()(),h(55,"i"),f(56,"NuGet"),p(),v(57,"br"),h(58,"a",15),f(59,"ReportGenerator"),p(),v(60,"br"),h(61,"a",16),f(62,"dotnet-reportgenerator-globaltool"),p(),v(63,"br"),h(64,"a",17),f(65,"ReportGenerator.Core"),p(),v(66,"br")(67,"br"),h(68,"i"),f(69,"Integration"),p(),v(70,"br"),h(71,"a",18),f(72,"GitHub actions"),p(),v(73,"br"),h(74,"a",19),f(75,"Azure DevOps"),p()(),h(76,"div",20)(77,"p")(78,"b"),f(79,"Community"),p()(),h(80,"a",11),v(81,"i",21),f(82," GitHub"),p(),v(83,"br"),h(84,"a",22),v(85,"i",23),f(86," Twitter"),p(),v(87,"br")(88,"br"),h(89,"a",24),f(90,"Privacy"),p(),v(91,"br"),h(92,"a",25),f(93,"Imprint"),p()()()()()()),2&t&&(_(19),An(" Fast forward ",n.years," years, I'm still maintaining "),_(11),E("routerLink",ne(2,dL)))},dependencies:[gn],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]});class ds{constructor(t,n,r){this.dom=t,this.router=n,this.activatedRoute=r}ngOnInit(){this.router.events.pipe(Qt(t=>t instanceof Xn),W(()=>this.activatedRoute),W(t=>{for(;t.firstChild;)t=t.firstChild;return t}),Qt(t=>"primary"===t.outlet),$e(t=>t.data)).subscribe(t=>{const n=`${window.location.protocol}//${window.location.hostname}`;this.updateCanonicalUrl(t.canonical?n+t.canonical:n+this.router.url)})}updateCanonicalUrl(t){const n=this.dom.getElementsByTagName("head")[0];var r=this.dom.querySelector("link[rel='canonical']")||null;null==r&&(r=this.dom.createElement("link"),n.appendChild(r)),r.setAttribute("rel","canonical"),r.setAttribute("href",t)}}ds.\u0275fac=function(t){return new(t||ds)(S(et),S(pt),S(br))},ds.\u0275cmp=mt({type:ds,selectors:[["app-root"]],decls:3,vars:0,template:function(t,n){1&t&&v(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[bf,us,cs],encapsulation:2});class xo{}xo.\u0275fac=function(t){return new(t||xo)},xo.\u0275mod=Lt({type:xo,bootstrap:[ds]}),xo.\u0275inj=Mt({providers:[Mr,Ir,Sr],imports:[qR,Ao,bN,TF]}),zR().bootstrapModule(xo).catch(e=>console.error(e))}},he=>{he(he.s=304)}]); \ No newline at end of file +"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[179],{304:()=>{function he(e){return"function"==typeof e}function Ro(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 fs=Ro(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 No(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(he(r))try{r()}catch(i){t=i instanceof fs?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Uf(i)}catch(s){t=t??[],s instanceof fs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new fs(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uf(t);else{if(t instanceof Et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&No(n,t)}remove(t){const{_finalizers:n}=this;n&&No(n,t),t instanceof Et&&t._removeParent(this)}}Et.EMPTY=(()=>{const e=new Et;return e.closed=!0,e})();const Lf=Et.EMPTY;function Vf(e){return e instanceof Et||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function Uf(e){he(e)?e():e.unsubscribe()}const Yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},hs={setTimeout(e,t,...n){const{delegate:r}=hs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=hs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Hf(e){hs.setTimeout(()=>{const{onUnhandledError:t}=Yn;if(!t)throw e;t(e)})}function jf(){}const Aw=Sl("C",void 0,void 0);function Sl(e,t,n){return{kind:e,value:t,error:n}}let Jn=null;function ps(e){if(Yn.useDeprecatedSynchronousErrorHandling){const t=!Jn;if(t&&(Jn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Jn;if(Jn=null,n)throw r}}else e()}class Ml extends Et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vf(t)&&t.add(this)):this.destination=kw}static create(t,n,r){return new gs(t,n,r)}next(t){this.isStopped?Al(function xw(e){return Sl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Al(function Tw(e){return Sl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Al(Aw,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 Nw=Function.prototype.bind;function Il(e,t){return Nw.call(e,t)}class Fw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ms(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ms(r)}else ms(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ms(n)}}}class gs extends Ml{constructor(t,n,r){let o;if(super(),he(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Yn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Il(t.next,i),error:t.error&&Il(t.error,i),complete:t.complete&&Il(t.complete,i)}):o=t}this.destination=new Fw(o)}}function ms(e){Yn.useDeprecatedSynchronousErrorHandling?function Rw(e){Yn.useDeprecatedSynchronousErrorHandling&&Jn&&(Jn.errorThrown=!0,Jn.error=e)}(e):Hf(e)}function Al(e,t){const{onStoppedNotification:n}=Yn;n&&hs.setTimeout(()=>n(e,t))}const kw={closed:!0,next:jf,error:function Pw(e){throw e},complete:jf},Tl="function"==typeof Symbol&&Symbol.observable||"@@observable";function er(e){return e}function Bf(e){return 0===e.length?er:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Se=(()=>{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 Vw(e){return e&&e instanceof Ml||function Lw(e){return e&&he(e.next)&&he(e.error)&&he(e.complete)}(e)&&Vf(e)}(n)?n:new gs(n,r,o);return ps(()=>{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=$f(r))((o,i)=>{const s=new gs({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)}[Tl](){return this}pipe(...n){return Bf(n)(this)}toPromise(n){return new(n=$f(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $f(e){var t;return null!==(t=e??Yn.Promise)&&void 0!==t?t:Promise}const Uw=Ro(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let mn=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Gf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Uw}next(n){ps(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ps(()=>{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(){ps(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Lf:(this.currentObservers=null,i.push(n),new Et(()=>{this.currentObservers=null,No(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Se;return n.source=this,n}}return e.create=(t,n)=>new Gf(t,n),e})();class Gf extends mn{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:Lf}}function zf(e){return he(e?.lift)}function Be(e){return t=>{if(zf(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 Hw(e,t,n,r,o)}class Hw extends Ml{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 W(e,t){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{r.next(e.call(t,i,o++))}))})}function tr(e){return this instanceof tr?(this.v=e,this):new tr(e)}function $w(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(g){r[g]&&(o[g]=function(m){return new Promise(function(y,C){i.push([g,m,y,C])>1||a(g,m)})})}function a(g,m){try{!function l(g){g.value instanceof tr?Promise.resolve(g.value.v).then(u,c):d(i[0][2],g)}(r[g](m))}catch(y){d(i[0][3],y)}}function u(g){a("next",g)}function c(g){a("throw",g)}function d(g,m){g(m),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Gw(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 Kf(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 Zf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qf(e){return he(e?.then)}function Xf(e){return he(e[Tl])}function Yf(e){return Symbol.asyncIterator&&he(e?.[Symbol.asyncIterator])}function Jf(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const eh=function qw(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function th(e){return he(e?.[eh])}function nh(e){return $w(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield tr(n.read());if(o)return yield tr(void 0);yield yield tr(r)}}finally{n.releaseLock()}})}function rh(e){return he(e?.getReader)}function Yt(e){if(e instanceof Se)return e;if(null!=e){if(Xf(e))return function Ww(e){return new Se(t=>{const n=e[Tl]();if(he(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Zf(e))return function Kw(e){return new Se(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Hf)})}(e);if(Yf(e))return oh(e);if(th(e))return function Qw(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(rh(e))return function Xw(e){return oh(nh(e))}(e)}throw Jf(e)}function oh(e){return new Se(t=>{(function Yw(e,t){var n,r,o,i;return function jw(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=Gw(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 yn(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 $e(e,t,n=1/0){return he(t)?$e((r,o)=>W((i,s)=>t(r,i,o,s))(Yt(e(r,o))),n):("number"==typeof t&&(n=t),Be((r,o)=>function Jw(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const g=()=>{d&&!l.length&&!u&&t.complete()},m=C=>u{i&&t.next(C),u++;let w=!1;Yt(n(C,c++)).subscribe(Oe(t,M=>{o?.(M),i?m(M):t.next(M)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(M)):y(M)}g()}catch(M){t.error(M)}}))};return e.subscribe(Oe(t,m,()=>{d=!0,g()})),()=>{a?.()}}(r,o,e,n)))}function Ar(e=1/0){return $e(er,e)}const Jt=new Se(e=>e.complete());function Rl(e){return e[e.length-1]}function ih(e){return he(Rl(e))?e.pop():void 0}function Fo(e){return function tb(e){return e&&he(e.schedule)}(Rl(e))?e.pop():void 0}function sh(e,t=0){return Be((n,r)=>{n.subscribe(Oe(r,o=>yn(r,e,()=>r.next(o),t),()=>yn(r,e,()=>r.complete(),t),o=>yn(r,e,()=>r.error(o),t)))})}function ah(e,t=0){return Be((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(n=>{yn(n,t,()=>{const r=e[Symbol.asyncIterator]();yn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Me(e,t){return t?function lb(e,t){if(null!=e){if(Xf(e))return function rb(e,t){return Yt(e).pipe(ah(t),sh(t))}(e,t);if(Zf(e))return function ib(e,t){return new Se(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qf(e))return function ob(e,t){return Yt(e).pipe(ah(t),sh(t))}(e,t);if(Yf(e))return lh(e,t);if(th(e))return function sb(e,t){return new Se(n=>{let r;return yn(n,t,()=>{r=e[eh](),yn(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)}),()=>he(r?.return)&&r.return()})}(e,t);if(rh(e))return function ab(e,t){return lh(nh(e),t)}(e,t)}throw Jf(e)}(e,t):Yt(e)}function Tr(e){return e<=0?()=>Jt:Be((t,n)=>{let r=0;t.subscribe(Oe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Tr(1)).subscribe(()=>e())}function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function Fl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 Pl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const db=le({__forward_ref__:le});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return ue(this())},e}function V(e){return kl(e)?e():e}function kl(e){return"function"==typeof e&&e.hasOwnProperty(db)&&e.__forward_ref__===pe}function Ol(e){return e&&!!e.\u0275providers}const uh="https://g.co/ng/security#xss";class I extends Error{constructor(t,n){super(function ys(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function vs(e,t){throw new I(-201,!1)}function St(e,t){null==e&&function ie(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _s(e){return ch(e,Cs)||ch(e,fh)}function ch(e,t){return e.hasOwnProperty(t)?e[t]:null}function dh(e){return e&&(e.hasOwnProperty(Ll)||e.hasOwnProperty(Cb))?e[Ll]:null}const Cs=le({\u0275prov:le}),Ll=le({\u0275inj:le}),fh=le({ngInjectableDef:le}),Cb=le({ngInjectorDef:le});var U=(()=>((U=U||{})[U.Default=0]="Default",U[U.Host=1]="Host",U[U.Self=2]="Self",U[U.SkipSelf=4]="SkipSelf",U[U.Optional=8]="Optional",U))();let Vl;function It(e){const t=Vl;return Vl=e,t}function hh(e,t,n){const r=_s(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&U.Optional?null:void 0!==t?t:void vs(ue(e))}const ge=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Po={},Ul="__NG_DI_FLAG__",Ds="ngTempTokenPath",bb=/\n/gm,ph="__source";let ko;function xr(e){const t=ko;return ko=e,t}function Sb(e,t=U.Default){if(void 0===ko)throw new I(-203,!1);return null===ko?hh(e,void 0,t):ko.get(e,t&U.Optional?null:void 0,t)}function R(e,t=U.Default){return(function Db(){return Vl}()||Sb)(V(e),t)}function Y(e,t=U.Default){return R(e,ws(t))}function ws(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hl(e){const t=[];for(let n=0;n((Ot=Ot||{})[Ot.OnPush=0]="OnPush",Ot[Ot.Default=1]="Default",Ot))(),en=(()=>{return(e=en||(en={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",en;var e})();const vn={},re=[],bs=le({\u0275cmp:le}),jl=le({\u0275dir:le}),Bl=le({\u0275pipe:le}),mh=le({\u0275mod:le}),_n=le({\u0275fac:le}),Lo=le({__NG_ELEMENT_ID__:le});let Tb=0;function mt(e){return Ln(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ot.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,id:"c"+Tb++,styles:e.styles||re,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=_h(e.inputs,r),o.outputs=_h(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(yh).filter(vh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(rt).filter(vh):null,o})}function yh(e){return se(e)||Ze(e)}function vh(e){return null!==e}function Lt(e){return Ln(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _h(e,t){if(null==e)return vn;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 B=mt;function se(e){return e[bs]||null}function Ze(e){return e[jl]||null}function rt(e){return e[Bl]||null}function yt(e,t){const n=e[mh]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}const Q=11;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ut(e){return Array.isArray(e)&&!0===e[1]}function zl(e){return 0!=(4&e.flags)}function jo(e){return e.componentOffset>-1}function As(e){return 1==(1&e.flags)}function Ht(e){return null!==e.template}function Nb(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(_n)?e[_n]:null}class kb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function At(){return Sh}function Sh(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lb),Ob}function Ob(){const e=Ih(this),t=e?.current;if(t){const n=e.previous;if(n===vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Lb(e,t,n,r){const o=this.declaredInputs[n],i=Ih(e)||function Vb(e,t){return e[Mh]=t}(e,{previous:vn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new kb(l&&l.currentValue,t,a===vn),e[r]=t}At.ngInherit=!0;const Mh="__ngSimpleChanges__";function Ih(e){return e[Mh]||null}function ze(e){for(;Array.isArray(e);)e=e[0];return e}function Ts(e,t){return ze(t[e])}function _t(e,t){return ze(t[e.index])}function xh(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return vt(n)?n:n[0]}function xs(e){return 64==(64&e[2])}function Vn(e,t){return null==t?null:e[t]}function Rh(e){e[18]=0}function Wl(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 z={lFrame:jh(null),bindingsEnabled:!0};function Fh(){return z.bindingsEnabled}function b(){return z.lFrame.lView}function te(){return z.lFrame.tView}function ce(e){return z.lFrame.contextLView=e,e[8]}function de(e){return z.lFrame.contextLView=null,e}function qe(){let e=Ph();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ph(){return z.lFrame.currentTNode}function nn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function Kl(){return z.lFrame.isParent}function Zl(){z.lFrame.isParent=!1}function it(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lr(){return z.lFrame.bindingIndex++}function Xb(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ql(t)}function Ql(e){z.lFrame.currentDirectiveIndex=e}function Vh(){return z.lFrame.currentQueryIndex}function Yl(e){z.lFrame.currentQueryIndex=e}function Jb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Uh(e,t,n){if(n&U.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&U.Host||(o=Jb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=z.lFrame=Hh();return r.currentTNode=t,r.lView=e,!0}function Jl(e){const t=Hh(),n=e[1];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hh(){const e=z.lFrame,t=null===e?null:e.child;return null===t?jh(e):t}function jh(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 Bh(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $h=Bh;function eu(){const e=Bh();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 st(){return z.lFrame.selectedIndex}function or(e){z.lFrame.selectedIndex=e}function _e(){const e=z.lFrame;return xh(e.tView,e.selectedIndex)}function Rs(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 $o{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ru(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ou=!0;function Os(e){const t=ou;return ou=e,t}let hE=0;const rn={};function Ls(e,t){const n=Xh(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,iu(r.data,e),iu(t,null),iu(r.blueprint,null));const o=su(e,t),i=e.injectorIndex;if(Kh(o)){const s=Ps(o),a=ks(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 iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function su(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=op(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function au(e,t,n){!function pE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lo)&&(r=n[Lo]),null==r&&(r=n[Lo]=hE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:vE:t}(n);if("function"==typeof i){if(!Uh(t,e,r))return r&U.Host?Yh(o,0,r):Jh(t,n,r,o);try{const s=i(r);if(null!=s||r&U.Optional)return s;vs()}finally{$h()}}else if("number"==typeof i){let s=null,a=Xh(e,t),l=-1,u=r&U.Host?t[16][6]:null;for((-1===a||r&U.SkipSelf)&&(l=-1===a?su(e,t):t[a+8],-1!==l&&rp(r,!1)?(s=t[1],a=Ps(l),t=ks(l,t)):a=-1);-1!==a;){const c=t[1];if(np(i,a,c.data)){const d=mE(a,t,n,s,r,u);if(d!==rn)return d}l=t[a+8],-1!==l&&rp(r,t[1].data[a+8]===u)&&np(i,a,t)?(s=c,a=Ps(l),t=ks(l,t)):a=-1}}return o}function mE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Vs(a,s,n,null==r?jo(a)&&ou:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==c?ir(t,s,c,a):rn}function Vs(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,g=o?a+c:e.directiveEnd;for(let m=r?a:a+c;m=l&&y.type===n)return m}if(o){const m=s[l];if(m&&Ht(m)&&m.type===n)return l}return null}function ir(e,t,n,r){let o=e[n];const i=t.data;if(function uE(e){return e instanceof $o}(o)){const s=o;s.resolving&&function fb(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(i[n]));const a=Os(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?It(s.injectImpl):null;Uh(e,r,U.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function aE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Sh(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&&It(l),Os(a),s.resolving=!1,$h()}}return o}function np(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[_n]||lu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[_n]||lu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function lu(e){return kl(e)?()=>{const t=lu(V(e));return t&&t()}:rr(e)}function op(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const jr="__parameters__";function $r(e,t,n){return Ln(()=>{const r=function uu(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(jr)?l[jr]:Object.defineProperty(l,jr,{value:[]})[jr];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 N{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function sr(e,t){e.forEach(n=>Array.isArray(n)?sr(n,t):t(n))}function sp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dt(e,t,n){let r=Gr(e,t);return r>=0?e[1|r]=n:(r=~r,function bE(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 du(e,t){const n=Gr(e,t);if(n>=0)return e[1|n]}function Gr(e,t){return function ap(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<((dt=dt||{})[dt.Important=1]="Important",dt[dt.DashCase=2]="DashCase",dt))();const yu=new Map;let zE=0;const _u="__ngContext__";function Ye(e,t){vt(t)?(e[_u]=t[20],function WE(e){yu.set(e[20],e)}(t)):e[_u]=t}function Du(e,t){return undefined(e,t)}function Jo(e){const t=e[3];return Ut(t)?t[3]:t}function wu(e){return Ip(e[13])}function bu(e){return Ip(e[4])}function Ip(e){for(;null!==e&&!Ut(e);)e=e[4];return e}function qr(e,t,n,r,o){if(null!=r){let i,s=!1;Ut(r)?i=r:vt(r)&&(s=!0,r=r[0]);const a=ze(r);0===e&&null!==n?null==o?Fp(t,n,a):ar(t,n,a,o||null,!0):1===e&&null!==n?ar(t,n,a,o||null,!0):2===e?function xu(e,t,n){const r=Gs(e,t);r&&function p0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function y0(e,t,n,r,o){const i=n[7];i!==ze(n)&&qr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Hs(e,10+t);!function s0(e,t){ei(e,t,t[Q],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function xp(e,t){if(!(128&t[2])){const n=t[Q];n.destroyNode&&ei(e,t,n,3,null,null),function u0(e){let t=e[13];if(!t)return Iu(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&Iu(t[1],t),t=t[3];null===t&&(t=e),vt(t)&&Iu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Iu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function h0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return _t(r,n)}}(e,t.parent,n)}function ar(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Fp(e,t,n){e.appendChild(t,n)}function Pp(e,t,n,r,o){null!==r?ar(e,t,n,r,o):Fp(e,t,n)}function Gs(e,t){return e.parentNode(t)}let Fu,Ks,Lp=function Op(e,t,n){return 40&e.type?_t(e,n):null};function zs(e,t,n,r){const o=Rp(e,r,t),i=t[Q],a=function kp(e,t,n){return Lp(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ks}()?.createScriptURL(e)||e}class Wp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${uh})`}}function Un(e){return e instanceof Wp?e.changingThisBreaksApplicationSecurity:e}function ti(e,t){const n=function T0(e){return e instanceof Wp&&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 ${uh})`)}return n===t}const F0=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Re=(()=>((Re=Re||{})[Re.NONE=0]="NONE",Re[Re.HTML=1]="HTML",Re[Re.STYLE=2]="STYLE",Re[Re.SCRIPT=3]="SCRIPT",Re[Re.URL=4]="URL",Re[Re.RESOURCE_URL=5]="RESOURCE_URL",Re))();function Wr(e){const t=ri();return t?t.sanitize(Re.URL,e)||"":ti(e,"URL")?Un(e):function ku(e){return(e=String(e)).match(F0)?e:"unsafe:"+e}(G(e))}function eg(e){const t=ri();if(t)return qp(t.sanitize(Re.RESOURCE_URL,e)||"");if(ti(e,"ResourceURL"))return qp(Un(e));throw new I(904,!1)}function ri(){const e=b();return e&&e[12]}const Qs=new N("ENVIRONMENT_INITIALIZER"),ng=new N("INJECTOR",-1),rg=new N("INJECTOR_DEF_TYPES");class og{get(t,n=Po){if(n===Po){const r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}}function W0(...e){return{\u0275providers:ig(0,e),\u0275fromNgModule:!0}}function ig(e,...t){const n=[],r=new Set;let o;return sr(t,i=>{const s=i;Uu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&sg(o,n),n}function sg(e,t){for(let n=0;n{t.push(i)})}}function Uu(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=dh(e);const s=!i&&se(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=dh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)Uu(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{sr(i.imports,c=>{Uu(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&sg(u,t)}if(!a){const u=rr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:re},{provide:rg,useValue:o,multi:!0},{provide:Qs,useValue:()=>R(o),multi:!0})}const l=i.providers;null==l||a||Hu(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Hu(e,t){for(let n of e)Ol(n)&&(n=n.\u0275providers),Array.isArray(n)?Hu(n,t):t(n)}const K0=le({provide:String,useValue:le});function ju(e){return null!==e&&"object"==typeof e&&K0 in e}function ur(e){return"function"==typeof e}const Bu=new N("Set Injector scope."),Xs={},Q0={};let $u;function Ys(){return void 0===$u&&($u=new og),$u}class on{}class ug extends on{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zu(t,s=>this.processProvider(s)),this.records.set(ng,Kr(void 0,this)),o.has("environment")&&this.records.set(on,Kr(void 0,this));const i=this.records.get(Bu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rg.multi,re,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=xr(this),r=It(void 0);try{return t()}finally{xr(n),It(r)}}get(t,n=Po,r=U.Default){this.assertNotDestroyed(),r=ws(r);const o=xr(this),i=It(void 0);try{if(!(r&U.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function t1(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&_s(t);a=l&&this.injectableDefInScope(l)?Kr(Gu(t),Xs):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&U.Self?Ys():this.parent).get(t,n=r&U.Optional&&n===Po?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ds]=s[Ds]||[]).unshift(ue(t)),o)throw s;return function Ib(e,t,n,r){const o=e[Ds];throw t[ph]&&o.unshift(t[ph]),e.message=function Ab(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).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):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(bb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ds]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{It(i),xr(o)}}resolveInjectorInitializers(){const t=xr(this),n=It(void 0);try{const r=this.get(Qs.multi,re,U.Self);for(const o of r)o()}finally{xr(t),It(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=ur(t=V(t))?t:V(t&&t.provide);const r=function Y0(e){return ju(e)?Kr(void 0,e.useValue):Kr(cg(e),Xs)}(t);if(ur(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Kr(void 0,Xs,!0),o.factory=()=>Hl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xs&&(n.value=Q0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function e1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=V(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Gu(e){const t=_s(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof N)throw new I(204,!1);if(e instanceof Function)return function X0(e){const t=e.length;if(t>0)throw function Wo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new I(204,!1)}function cg(e,t,n){let r;if(ur(e)){const o=V(e);return rr(o)||Gu(o)}if(ju(e))r=()=>V(e.useValue);else if(function lg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Hl(e.deps||[]));else if(function ag(e){return!(!e||!e.useExisting)}(e))r=()=>R(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function J0(e){return!!e.deps}(e))return rr(o)||Gu(o);r=()=>new o(...Hl(e.deps))}return r}function Kr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zu(e,t){for(const n of e)Array.isArray(n)?zu(n,t):n&&Ol(n)?zu(n.\u0275providers,t):t(n)}class n1{}class dg{}class o1{resolveComponentFactory(t){throw function r1(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let oi=(()=>{class e{}return e.NULL=new o1,e})();function i1(){return Zr(qe(),b())}function Zr(e,t){return new wt(_t(e,t))}let wt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=i1,e})();function s1(e){return e instanceof wt?e.nativeElement:e}class hg{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function a1(){const e=b(),n=Ct(qe().index,e);return(vt(n)?n:e)[Q]}(),e})(),l1=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null}),e})();class ii{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const u1=new ii("15.1.0"),qu={};function Ku(e){return e.ngOriginalError}class Qr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ku(t);for(;n&&Ku(n);)n=Ku(n);return n||null}}function Sn(e){return e instanceof Function?e():e}function gg(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const mg="ng-template";function C1(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const m=8&r?g:null;if(m&&-1!==gg(m,u,0)||2&r&&u!==g){if(jt(r))return!1;s=!0}}}}else{if(!s&&!jt(r)&&!jt(l))return!1;if(s&&jt(l))continue;s=!1,r=l|1&r}}return jt(r)||s}function jt(e){return 0==(1&e)}function b1(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&&!jt(s)&&(t+=_g(i,o),o=""),r=s,i=i||!jt(r);n++}return""!==o&&(t+=_g(i,o)),t}const q={};function _(e){Cg(te(),b(),st()+e,!1)}function Cg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ns(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Fs(t,i,0,n)}or(n)}function Eg(e,t=null,n=null,r){const o=Sg(e,t,n,r);return o.resolveInjectorInitializers(),o}function Sg(e,t=null,n=null,r,o=new Set){const i=[n||re,W0(e)];return r=r||("object"==typeof e?void 0:ue(e)),new ug(i,t||Ys(),r||null,o)}let Bt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Eg({name:""},r,n,"");{const o=n.name??"";return Eg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Po,e.NULL=new og,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>R(ng)}),e.__NG_ELEMENT_ID__=-1,e})();function S(e,t=U.Default){const n=b();return null===n?R(e,t):ep(qe(),n,V(e),t)}function Fg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Cg(e,t,22,!1),n(r,o)}finally{or(i)}}function tc(e,t,n){if(zl(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,si(e,n,o.hostVars,q),o)}function sn(e,t,n,r,o,i){const s=_t(e,t);!function ac(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?G(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Q],s,i,e.value,n,r,o)}function pS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&lc(n)}}function lc(e){for(let r=wu(e);null!==r;r=bu(r))for(let o=10;o0&&lc(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&lc(o)}}function _S(e,t){const n=Ct(t,e),r=n[1];(function CS(e,t){for(let n=t.length;n-1&&(Mu(t,r),Hs(n,r))}this._attachedToViewContainer=!1}xp(this._lView[1],this._lView)}onDestroy(t){Og(this._lView[1],this._lView,null,t)}markForCheck(){uc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ra(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function l0(e,t){ei(e,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class DS extends ai{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ra(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Wg extends oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=se(t);return new li(n,this.ngModule)}}function Kg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ws(r);const o=this.injector.get(t,qu,r);return o!==qu||n===qu?o:this.parentInjector.get(t,n,r)}}class li extends dg{get inputs(){return Kg(this.componentDef.inputs)}get outputs(){return Kg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function T1(e){return e.map(A1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof on?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new bS(t,i):t,a=s.get(hg,null);if(null===a)throw new I(407,!1);const l=s.get(l1,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function J1(e,t,n){return e.selectRootElement(t,n===en.ShadowDom)}(u,r,this.componentDef.encapsulation):Su(u,c,function wS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),g=this.componentDef.onPush?288:272,m=oc(0,null,null,1,0,null,null,null,null,null),y=ea(null,m,null,g,null,null,a,u,l,s,null);let C,w;Jl(y);try{const M=this.componentDef;let A,D=null;M.findHostDirectiveDefs?(A=[],D=new Map,M.findHostDirectiveDefs(M,A,D),A.push(M)):A=[M];const L=function SS(e,t){const n=e[1];return e[22]=t,Jr(n,22,2,"#host",null)}(y,d),fe=function MS(e,t,n,r,o,i,s,a){const l=o[1];!function IS(e,t,n,r){for(const o of e)t.mergedAttrs=Go(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(oa(t,t.mergedAttrs,!0),null!==n&&Bp(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=ea(o,kg(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&sc(l,e,r.length-1),na(o,c),o[e.index]=c}(L,d,M,A,y,a,u);w=xh(m,22),d&&function TS(e,t,n,r){if(r)ru(e,n,["ng-version",u1.full]);else{const{attrs:o,classes:i}=function x1(e){const t=[],n=[];let r=1,o=2;for(;r0&&jp(e,n,i.join(" "))}}(u,M,d,r),void 0!==n&&function xS(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Go(o.hostAttrs,n=Go(n,o.hostAttrs))}}(r)}function fc(e){return e===vn?{}:e===re?[]:e}function FS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function PS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function kS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let sa=null;function cr(){if(!sa){const e=ge.Symbol;if(e&&e.iterator)sa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;ns(ze(L[r.index])):r.index;let D=null;if(!s&&a&&(D=function ZS(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!==D)(D.__ngLastListenerFn__||D).__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,g=!1;else{i=pm(r,t,c,i,!1);const L=n.listen(w,o,i);d.push(i,L),u&&u.push(o,A,M,M+1)}}else i=pm(r,t,c,i,!1);const m=r.outputs;let y;if(g&&null!==m&&(y=m[o])){const C=y.length;if(C)for(let w=0;w-1?Ct(e.index,t):t);let l=hm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=hm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function H(e=1){return function eE(e){return(z.lFrame.contextLView=function tE(e,t){for(;e>0;)t=t[15],e--;return t}(e,z.lFrame.contextLView))[8]}(e)}function In(e,t,n,r,o){const i=b(),s=to(i,t,n,r);return s!==q&&bt(te(),_e(),i,e,s,i[Q],o,!1),In}function la(e,t){return e<<17|t<<2}function Hn(e){return e>>17&32767}function mc(e){return 2|e}function pr(e){return(131068&e)>>2}function yc(e,t){return-131069&e|t<<2}function vc(e){return 1|e}function Em(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Hn(i):pr(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];oM(e[a],t)&&(l=!0,e[a+1]=r?vc(c):mc(c)),a=r?Hn(c):pr(c)}l&&(e[n+1]=r?mc(i):vc(i))}function oM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gr(e,t)>=0}function ua(e,t){return function Gt(e,t,n,r){const o=b(),i=te(),s=function wn(e){const t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Fm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[st()],s=function Nm(e,t){return t>=e.expandoStartIndex}(e,n);(function Lm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function hM(e,t,n,r){const o=function Xl(e){const t=z.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=fi(n=_c(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=_c(o,e,t,n,r),null===i){let l=function pM(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==pr(r))return e[Hn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=_c(null,e,t,l[1],r),l=fi(l,t.attrs,r),function gM(e,t,n,r){e[Hn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function mM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const g=Hn(e[a+1]);e[r+1]=la(g,a),0!==g&&(e[g+1]=yc(e[g+1],r)),e[a+1]=function eM(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=la(a,0),0!==a&&(e[a+1]=yc(e[a+1],r)),a=r;else e[r+1]=la(l,0),0===a?a=r:e[l+1]=yc(e[l+1],r),l=r;u&&(e[r+1]=mc(e[r+1])),Em(e,c,r,!0),Em(e,c,r,!1),function rM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gr(i,t)>=0&&(n[r+1]=vc(n[r+1]))}(t,c,e,r,i),s=la(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==q&&Je(o,s,t)&&function km(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function tM(e){return 1==(1&e)}(u)?Om(l,t,n,o,pr(u),s):void 0;ca(c)||(ca(i)||function JS(e){return 2==(2&e)}(u)&&(i=Om(l,null,n,o,a,s)),function v0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:dt.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(n,r,o,i))}}(r,s,Ts(st(),n),o,i))}(i,i.data[st()],o,o[Q],e,o[s+1]=function _M(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ue(Un(e)))),e}(t,n),r,s)}(e,t,null,!0),ua}function _c(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 g=n[o+1];g===q&&(g=d?re:void 0);let m=d?du(g,r):c===r?g:void 0;if(u&&!ca(m)&&(m=du(l,r)),ca(m)&&(a=m,s))return a;const y=e[o+1];o=s?Hn(y):pr(y)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=du(l,r))}return a}function ca(e){return void 0!==e}function f(e,t=""){const n=b(),r=te(),o=e+22,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=n[o]=function Eu(e,t){return e.createText(t)}(n[Q],t);zs(r,n,s,i),nn(i,!1)}function Ce(e){return An("",e,""),Ce}function An(e,t,n){const r=b(),o=to(r,e,t,n);return o!==q&&function Mn(e,t,n){const r=Ts(t,e);!function Ap(e,t,n){e.setValue(t,n)}(e[Q],r,n)}(r,st(),o),An}const fo="en-US";let iy=fo;function wc(e,t,n,r,o){if(e=V(e),Array.isArray(e))for(let i=0;i>20;if(ur(e)||!e.multi){const m=new $o(l,o,S),y=Ec(a,t,o?c:c+g,d);-1===y?(au(Ls(u,s),i,a),bc(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(m),s.push(m)):(n[y]=m,s[y]=m)}else{const m=Ec(a,t,c+g,d),y=Ec(a,t,c,c+g),w=y>=0&&n[y];if(o&&!w||!o&&!(m>=0&&n[m])){au(Ls(u,s),i,a);const M=function LI(e,t,n,r,o){const i=new $o(e,n,S);return i.multi=[],i.index=t,i.componentProviders=0,xy(i,o,r&&!n),i}(o?OI:kI,n.length,o,r,l);!o&&w&&(n[y].providerFactory=M),bc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(M),s.push(M)}else bc(i,e,m>-1?m:y,xy(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function bc(e,t,n,r){const o=ur(t),i=function Z0(e){return!!e.useClass}(t);if(o||i){const l=(i?V(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 xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ec(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function PI(e,t,n){const r=te();if(r.firstCreatePass){const o=Ht(e);wc(n,r.data,r.blueprint,o,!0),wc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ho{}class Ry{}class Ny extends ho{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wg(this);const r=yt(t);this._bootstrapComponents=Sn(r.bootstrap),this._r3Injector=Sg(t,n,[{provide:ho,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],ue(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Mc extends Ry{constructor(t){super(),this.moduleType=t}create(t){return new Ny(this.moduleType,t)}}class UI extends ho{constructor(t,n,r){super(),this.componentFactoryResolver=new Wg(this),this.instance=null;const o=new ug([...t,{provide:ho,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],n||Ys(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ga(e,t,n=null){return new UI(e,t,n).injector}let HI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=ig(0,n.type),o=r.length>0?ga([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(R(on))}),e})();function Fy(e){e.getStandaloneInjector=t=>t.get(HI).getOrCreateStandaloneInjector(e)}function ne(e,t,n){const r=it()+e,o=b();return o[r]===q?an(o,r,n?t.call(n):t()):function ci(e,t){return e[t]}(o,r)}function Ac(e,t,n,r){return function Hy(e,t,n,r,o,i){const s=t+n;return Je(e,s,o)?an(e,s+1,i?r.call(i,o):r(o)):function vi(e,t){const n=e[t];return n===q?void 0:n}(e,s+1)}(b(),it(),e,t,n,r)}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class cA extends mn{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Tc(i),o&&(o=Tc(o)),s&&(s=Tc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Et&&t.add(a),a}};function dA(){return this._results[cr()]()}class xc{get changes(){return this._changes||(this._changes=new Ee)}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=cr(),r=xc.prototype;r[n]||(r[n]=dA)}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=function xt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function DE(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=pA,e})();const fA=Tn,hA=class extends fA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=ea(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),ec(r,o,t),new ai(o)}};function pA(){return ma(qe(),b())}function ma(e,t){return 4&e.type?new hA(t,e,Zr(e,t)):null}let qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=gA,e})();function gA(){return Wy(qe(),b())}const mA=qt,zy=class extends mA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new Ur(this._hostTNode,this._hostLView)}get parentInjector(){const t=su(this._hostTNode,this._hostLView);if(Kh(t)){const n=ks(t,this._hostLView),r=Ps(t);return new Ur(n[1].data[r+8],n)}return new Ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=qy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function qo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new li(se(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?u:this.parentInjector).get(on,null);g&&(i=g)}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 $b(e){return Ut(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],g=new zy(d,d[6],d[3]);g.detach(g.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function c0(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=va,this.reject=va,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)(R(_a,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Di=new N("AppId",{providedIn:"root",factory:function Cv(){return`${jc()}${jc()}${jc()}`}});function jc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dv=new N("Platform Initializer"),Bc=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wv=new N("appBootstrapListener");let GA=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new N("LocaleId",{providedIn:"root",factory:()=>Y(xn,U.Optional|U.SkipSelf)||function zA(){return typeof $localize<"u"&&$localize.locale||fo}()});class WA{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let bv=(()=>{class e{compileModuleSync(n){return new Mc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Sn(yt(n).declarations).reduce((s,a)=>{const l=se(a);return l&&s.push(new li(l)),s},[]);return new WA(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const QA=(()=>Promise.resolve(0))();function $c(e){typeof Zone>"u"?QA.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function XA(){let e=ge.requestAnimationFrame,t=ge.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function eT(e){const t=()=>{!function JA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zc(e),e.isCheckStableRunning=!0,Gc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Mv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Iv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Mv(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Iv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,zc(e),Gc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,YA,va,va);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 YA={};function Gc(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 zc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Mv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Iv(e){e._nesting--,Gc(e)}class tT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Av=new N(""),Da=new N("");let Kc,qc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Kc||(function nT(e){Kc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),$c(()=>{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())$c(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(R(Ne),R(Wc),R(Da))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Wc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Kc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),jn=null;const Tv=new N("AllowMultipleToken"),Zc=new N("PlatformDestroyListeners");class xv{constructor(t,n){this.name=t,this.token=n}}function Nv(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=Qc();if(!s||s.injector.get(Tv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function iT(e){if(jn&&!jn.get(Tv,!1))throw new I(400,!1);jn=e;const t=e.get(Pv);(function Rv(e){const t=e.get(Dv,null);t&&t.forEach(n=>n())})(e)}(function Fv(e=[],t){return Bt.create({name:t,providers:[{provide:Bu,useValue:"platform"},{provide:Zc,useValue:new Set([()=>jn=null])},...e]})}(a,r))}return function aT(e){const t=Qc();if(!t)throw new I(401,!1);return t}()}}function Qc(){return jn?.get(Pv)??null}let Pv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Ov(e,t){let n;return n="noop"===e?new tT:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function kv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ne,useValue:o}];return o.run(()=>{const s=Bt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Qr,null);if(!l)throw new I(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ba(this._modules,a),u.unsubscribe()})}),function Lv(e,t,n){try{const r=n();return di(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(Ca);return u.runInitializers(),u.donePromise.then(()=>(function sy(e){St(e,"Expected localeId to be defined"),"string"==typeof e&&(iy=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(xn,fo)||fo),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Vv({},r);return function rT(e,t,n){const r=new Mc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(wa);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Zc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(R(Bt))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vv(e,t){return Array.isArray(t)?t.reduce(Vv,e):{...e,...t}}let wa=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Se(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Se(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),$c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function ub(...e){const t=Fo(e),n=function nb(e,t){return"number"==typeof Rl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Yt(r[0]):Ar(n)(Me(r,t)):Jt}(i,s.pipe(function cb(e={}){const{connector:t=(()=>new mn),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 g=()=>{a?.unsubscribe(),a=null},m=()=>{g(),s=l=null,c=d=!1},y=()=>{const C=s;m(),C?.unsubscribe()};return Be((C,w)=>{u++,!d&&!c&&g();const M=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Nl(y,o))}),M.subscribe(w),s||(s=new gs({next:A=>M.next(A),error:A=>{d=!0,g(),a=Nl(m,n,A),M.error(A)},complete:()=>{c=!0,g(),a=Nl(m,r),M.complete()}}),Me(C).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof dg;if(!this._injector.get(Ca).done)throw!o&&function Rr(e){const t=se(e)||Ze(e)||rt(e);return null!==t&&t.standalone}(n),new I(405,false);let s;s=o?n:this._injector.get(oi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function oT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ho),u=s.create(Bt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Av,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ba(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ba(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wv,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ba(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(R(Ne),R(on),R(Qr))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ba(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=uT,e})();function uT(e){return function cT(e,t,n){if(jo(e)&&!n){const r=Ct(e.index,t);return new ai(r,r)}return 47&e.type?new ai(t[16],t):null}(qe(),b(),16==(16&e))}class $v{constructor(){}supports(t){return ui(t)}create(t){return new mT(t)}}const gT=(e,t)=>t;class mT{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||gT}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 yT(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 Gv),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 Gv),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 yT{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 vT{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 Gv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new vT,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 zv(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 CT(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 CT{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 Wv(){return new Ia([new $v])}let Ia=(()=>{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||Wv()),deps:[[e,new Zo,new Ko]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new I(901,!1)}}return e.\u0275prov=P({token:e,providedIn:"root",factory:Wv}),e})();function Kv(){return new wi([new qv])}let wi=(()=>{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||Kv()),deps:[[e,new Zo,new Ko]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e.\u0275prov=P({token:e,providedIn:"root",factory:Kv}),e})();const bT=Nv(null,"core",[]);let ET=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(R(wa))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();function mo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let td=null;function cn(){return td}class IT{}const et=new N("DocumentToken");let nd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return function AT(){return R(Zv)}()},providedIn:"platform"}),e})();const TT=new N("Location Initialized");let Zv=(()=>{class e extends nd{constructor(n){super(),this._doc=n,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cn().getBaseHref(this._doc)}onPopState(n){const r=cn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=cn().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){Qv()?this._history.pushState(n,r,o):this._location.hash=o}replaceState(n,r,o){Qv()?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)(R(et))},e.\u0275prov=P({token:e,factory:function(){return function xT(){return new Zv(R(et))}()},providedIn:"platform"}),e})();function Qv(){return!!window.history.pushState}function rd(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 Xv(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 Nn(e){return e&&"?"!==e[0]?"?"+e:e}let yr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Jv)},providedIn:"root"}),e})();const Yv=new N("appBaseHref");let Jv=(()=>{class e extends yr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??Y(et).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return rd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(R(nd),R(Yv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),RT=(()=>{class e extends yr{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=rd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(R(nd),R(Yv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function PT(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(Xv(e_(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nn(r))}normalize(n){return e.stripTrailingSlash(function FT(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._basePath,e_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Nn,e.joinWithSlash=rd,e.stripTrailingSlash=Xv,e.\u0275fac=function(n){return new(n||e)(R(yr))},e.\u0275prov=P({token:e,factory:function(){return function NT(){return new od(R(yr))}()},providedIn:"root"}),e})();function e_(e){return e.replace(/\/index.html$/,"")}function u_(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 pd=(()=>{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&&(ui(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 ${ue(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)(S(Ia),S(wi),S(wt),S(En))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class vx{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 f_=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 vx(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),h_(a,o)}});for(let o=0,i=r.length;o{h_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(S(qt),S(Tn),S(Ia))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function h_(e,t){e.context.$implicit=t.item}let La=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Cx,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){p_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){p_("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)(S(qt),S(Tn))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Cx{constructor(){this.$implicit=null,this.ngIf=null}}function p_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}let zx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();let Zx=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new Qx(R(et),window)}),e})();class Qx{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 Xx(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=v_(this.window.history)||v_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function v_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class __{}class ER extends IT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Dd extends ER{static makeCurrent(){!function MT(e){td||(td=e)}(new Dd)}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 SR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==n?null:function MR(e){Ua=Ua||document.createElement("a"),Ua.setAttribute("href",e);const t=Ua.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return u_(document.cookie,t)}}let Ua,Mi=null;const S_=new N("TRANSITION_ID"),AR=[{provide:_a,useFactory:function IR(e,t,n){return()=>{n.get(Ca).donePromise.then(()=>{const r=cn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Ha=new N("EventManagerPlugins");let ja=(()=>{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=P({token:e,factory:e.\u0275fac}),e})(),Ii=(()=>{class e extends I_{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(A_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(A_))}}return e.\u0275fac=function(n){return new(n||e)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function A_(e){cn().remove(e)}const wd={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/"},bd=/%COMP%/g;function Ed(e,t){return t.flat(100).map(n=>n.replace(bd,e))}function R_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Sd=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Md(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case en.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new OR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case en.ShadowDom:return new LR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ed(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)(R(ja),R(Ii),R(Di))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class Md{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(wd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(F_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(F_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=wd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wd[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&(dt.DashCase|dt.Important)?t.style.setProperty(n,r,o&dt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&dt.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,R_(r)):this.eventManager.addEventListener(t,n,R_(r))}}function F_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class OR extends Md{constructor(t,n,r,o){super(t),this.component=r;const i=Ed(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function FR(e){return"_ngcontent-%COMP%".replace(bd,e)}(o+"-"+r.id),this.hostAttr=function PR(e){return"_nghost-%COMP%".replace(bd,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 LR extends Md{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=Ed(o.id,o.styles);for(let s=0;s{class e extends M_{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)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const P_=["alt","control","meta","shift"],UR={"\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"},HR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jR=(()=>{class e extends M_{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(()=>cn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),P_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=UR[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),P_.forEach(s=>{s!==o&&(0,HR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const zR=Nv(bT,"browser",[{provide:Bc,useValue:"browser"},{provide:Dv,useValue:function BR(){Dd.makeCurrent()},multi:!0},{provide:et,useFactory:function GR(){return function b0(e){Fu=e}(document),document},deps:[]}]),L_=new N(""),V_=[{provide:Da,useClass:class TR{addToWindow(t){ge.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ge.getAllAngularTestabilities=()=>t.getAllTestabilities(),ge.getAllAngularRootElements=()=>t.getAllRootElements(),ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(r=>{const o=ge.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){return null==n?null:t.getTestability(n)??(r?cn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Av,useClass:qc,deps:[Ne,Wc,Da]},{provide:qc,useClass:qc,deps:[Ne,Wc,Da]}],U_=[{provide:Bu,useValue:"root"},{provide:Qr,useFactory:function $R(){return new Qr},deps:[]},{provide:Ha,useClass:VR,multi:!0,deps:[et,Ne,Bc]},{provide:Ha,useClass:jR,multi:!0,deps:[et]},{provide:Sd,useClass:Sd,deps:[ja,Ii,Di]},{provide:hg,useExisting:Sd},{provide:I_,useExisting:Ii},{provide:Ii,useClass:Ii,deps:[et]},{provide:ja,useClass:ja,deps:[Ha,Ne]},{provide:__,useClass:xR,deps:[]},[]];let qR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Di,useValue:n.appId},{provide:S_,useExisting:Di},AR]}}}return e.\u0275fac=function(n){return new(n||e)(R(L_,12))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[...U_,...V_],imports:[zx,ET]}),e})(),H_=(()=>{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)(R(et))},e.\u0275prov=P({token:e,factory:function(n){let r=null;return r=n?new n:function KR(){return new H_(R(et))}(),r},providedIn:"root"}),e})();function k(...e){return Me(e,Fo(e))}function $n(e,t){return he(t)?$e(e,t,1):$e(e,1)}function Qt(e,t){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class Ba{}class Td{}class Pn{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 Pn?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 Pn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pn?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 nN{encodeKey(t){return $_(t)}encodeValue(t){return $_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const oN=/%(\d[a-f0-9])/gi,iN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $_(e){return encodeURIComponent(e).replace(oN,(t,n)=>iN[n]??t)}function $a(e){return`${e}`}class Gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new nN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function rN(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],o=Array.isArray(r)?r.map($a):[$a(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Gn({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($a(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($a(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 sN{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 G_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function z_(e){return typeof Blob<"u"&&e instanceof Blob}function q_(e){return typeof FormData<"u"&&e instanceof FormData}class Ai{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 aN(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 Pn),this.context||(this.context=new sN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(g,t.setHeaders[g]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,g)=>d.set(g,t.setParams[g]),u)),new Ai(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var ke=(()=>((ke=ke||{})[ke.Sent=0]="Sent",ke[ke.UploadProgress=1]="UploadProgress",ke[ke.ResponseHeader=2]="ResponseHeader",ke[ke.DownloadProgress=3]="DownloadProgress",ke[ke.Response=4]="Response",ke[ke.User=5]="User",ke))();class xd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Pn,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 Rd extends xd{constructor(t={}){super(t),this.type=ke.ResponseHeader}clone(t={}){return new Rd({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 Ga extends xd{constructor(t={}){super(t),this.type=ke.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ga({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 W_ extends xd{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 Nd(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 Fd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ai)i=n;else{let l,u;l=o.headers instanceof Pn?o.headers:new Pn(o.headers),o.params&&(u=o.params instanceof Gn?o.params:new Gn({fromObject:o.params})),i=new Ai(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=k(i).pipe($n(l=>this.handler.handle(l)));if(n instanceof Ai||"events"===o.observe)return s;const a=s.pipe(Qt(l=>l instanceof Ga));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(W(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(W(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(W(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(W(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 Gn).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,Nd(o,r))}post(n,r,o={}){return this.request("POST",n,Nd(o,r))}put(n,r,o={}){return this.request("PUT",n,Nd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(R(Ba))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function K_(e,t){return t(e)}function uN(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const dN=new N("HTTP_INTERCEPTORS"),Ti=new N("HTTP_INTERCEPTOR_FNS");function fN(){let e=null;return(t,n)=>(null===e&&(e=(Y(dN,{optional:!0})??[]).reduceRight(uN,K_)),e(t,n))}let Z_=(()=>{class e extends Ba{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(Ti)));this.chain=r.reduceRight((o,i)=>function cN(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),K_)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(R(Td),R(on))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const mN=/^\)\]\}',?\n/;let X_=(()=>{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 Se(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((m,y)=>o.setRequestHeader(m,y.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const m=n.detectContentTypeHeader();null!==m&&o.setRequestHeader("Content-Type",m)}if(n.responseType){const m=n.responseType.toLowerCase();o.responseType="json"!==m?m:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const m=o.statusText||"OK",y=new Pn(o.getAllResponseHeaders()),C=function yN(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 Rd({headers:y,status:o.status,statusText:m,url:C}),s},l=()=>{let{headers:m,status:y,statusText:C,url:w}=a(),M=null;204!==y&&(M=typeof o.response>"u"?o.responseText:o.response),0===y&&(y=M?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof M){const D=M;M=M.replace(mN,"");try{M=""!==M?JSON.parse(M):null}catch(L){M=D,A&&(A=!1,M={error:L,text:M})}}A?(r.next(new Ga({body:M,headers:m,status:y,statusText:C,url:w||void 0})),r.complete()):r.error(new W_({error:M,headers:m,status:y,statusText:C,url:w||void 0}))},u=m=>{const{url:y}=a(),C=new W_({error:m,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});r.error(C)};let c=!1;const d=m=>{c||(r.next(a()),c=!0);let y={type:ke.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),"text"===n.responseType&&o.responseText&&(y.partialText=o.responseText),r.next(y)},g=m=>{let y={type:ke.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.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",g)),o.send(i),r.next({type:ke.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",g)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(R(__))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Pd=new N("XSRF_ENABLED"),Y_="XSRF-TOKEN",J_=new N("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Y_}),eC="X-XSRF-TOKEN",tC=new N("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>eC});class nC{}let vN=(()=>{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=u_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(R(et),R(Bc),R(J_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function _N(e,t){const n=e.url.toLowerCase();if(!Y(Pd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=Y(nC).getToken(),o=Y(tC);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Te=(()=>((Te=Te||{})[Te.Interceptors=0]="Interceptors",Te[Te.LegacyInterceptors=1]="LegacyInterceptors",Te[Te.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Te[Te.NoXsrfProtection=3]="NoXsrfProtection",Te[Te.JsonpSupport=4]="JsonpSupport",Te[Te.RequestsMadeViaParent=5]="RequestsMadeViaParent",Te))();function yo(e,t){return{\u0275kind:e,\u0275providers:t}}function CN(...e){const t=[Fd,X_,Z_,{provide:Ba,useExisting:Z_},{provide:Td,useExisting:X_},{provide:Ti,useValue:_N,multi:!0},{provide:Pd,useValue:!0},{provide:nC,useClass:vN}];for(const n of e)t.push(...n.\u0275providers);return function q0(e){return{\u0275providers:e}}(t)}const rC=new N("LEGACY_INTERCEPTOR_FN");function wN({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:J_,useValue:e}),void 0!==t&&n.push({provide:tC,useValue:t}),yo(Te.CustomXsrfConfiguration,n)}let bN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[CN(yo(Te.LegacyInterceptors,[{provide:rC,useFactory:fN},{provide:Ti,useExisting:rC,multi:!0}]),wN({cookieName:Y_,headerName:eC}))]}),e})();const{isArray:EN}=Array,{getPrototypeOf:SN,prototype:MN,keys:IN}=Object;function oC(e){if(1===e.length){const t=e[0];if(EN(t))return{args:t,keys:null};if(function AN(e){return e&&"object"==typeof e&&SN(e)===MN}(t)){const n=IN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:TN}=Array;function iC(e){return W(t=>function xN(e,t){return TN(t)?e(...t):e(t)}(e,t))}function sC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let aC=(()=>{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)(S(En),S(wt))},e.\u0275dir=B({type:e}),e})(),vr=(()=>{class e extends aC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,features:[ae]}),e})();const dn=new N("NgValueAccessor"),FN={provide:dn,useExisting:pe(()=>xi),multi:!0},kN=new N("CompositionEventMode");let xi=(()=>{class e extends aC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PN(){const e=cn()?cn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(S(En),S(wt),S(kN,8))},e.\u0275dir=B({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&&F("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:[ve([FN]),ae]}),e})();function zn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}const tt=new N("NgValidators"),qn=new N("NgAsyncValidators");function fC(e){return zn(e.value)?{required:!0}:null}function za(e){return null}function vC(e){return null!=e}function _C(e){return di(e)?Me(e):e}function CC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function DC(e,t){return t.map(n=>n(e))}function wC(e){return e.map(t=>function VN(e){return!e.validate}(t)?t:n=>t.validate(n))}function kd(e){return null!=e?function bC(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(n){return CC(DC(n,t))}}(wC(e)):null}function Od(e){return null!=e?function EC(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(n){return function RN(...e){const t=ih(e),{args:n,keys:r}=oC(e),o=new Se(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]=g},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?sC(r,a):a),i.complete())}))}});return t?o.pipe(iC(t)):o}(DC(n,t).map(_C)).pipe(W(CC))}}(wC(e)):null}function SC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Ld(e){return e?Array.isArray(e)?e:[e]:[]}function qa(e,t){return Array.isArray(e)?e.includes(t):e===t}function AC(e,t){const n=Ld(t);return Ld(e).forEach(o=>{qa(n,o)||n.push(o)}),n}function TC(e,t){return Ld(t).filter(n=>!qa(e,n))}class xC{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=kd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Od(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 ut extends xC{get formDirective(){return null}get path(){return null}}class Wn extends xC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class RC{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Vd=(()=>{class e extends RC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(S(Wn,2))},e.\u0275dir=B({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ua("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})(),Ud=(()=>{class e extends RC{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(S(ut,10))},e.\u0275dir=B({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&ua("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ae]}),e})();const Ri="VALID",Ka="INVALID",vo="PENDING",Ni="DISABLED";function $d(e){return(Za(e)?e.validators:e)||null}function Gd(e,t){return(Za(t)?t.asyncValidators:e)||null}function Za(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class kC{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ri}get invalid(){return this.status===Ka}get pending(){return this.status==vo}get disabled(){return this.status===Ni}get enabled(){return this.status!==Ni}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(AC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(AC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(TC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(TC(t,this._rawAsyncValidators))}hasValidator(t){return qa(this._rawValidators,t)}hasAsyncValidator(t){return qa(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=vo,!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=Ni,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ri,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ri||this.status===vo)&&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()?Ni:Ri}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=vo,this._hasOwnPendingAsyncValidator=!0;const n=_C(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Ni:this.errors?Ka:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vo)?vo:this._anyControlsHaveStatus(Ka)?Ka:Ri}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Za(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function zN(e){return Array.isArray(e)?kd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function qN(e){return Array.isArray(e)?Od(e):e||null}(this._rawAsyncValidators)}}class zd extends kC{constructor(t,n,r){super($d(n),Gd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function PC(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new I(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function FC(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new I(1e3,"");if(!r[n])throw new I(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Fi=new N("CallSetDisabledState",{providedIn:"root",factory:()=>qd}),qd="always";function Pi(e,t,n=qd){Wd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function ZN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&OC(e,t)})}(e,t),function XN(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 QN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&OC(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function KN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Ya(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Wd(e,t){const n=function MC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(SC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function IC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(SC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Ya(t._rawValidators,o),Ya(t._rawAsyncValidators,o)}function OC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const nF={provide:ut,useExisting:pe(()=>Oi)},ki=(()=>Promise.resolve())();let Oi=(()=>{class e extends ut{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new zd({},kd(n),Od(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ki.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Pi(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ki.then(()=>{const r=this._findContainer(n.path),o=new zd({});(function LC(e,t){Wd(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){ki.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function VC(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){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)(S(tt,10),S(qn,10),S(Fi,8))},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&F("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([nF]),ae]}),e})();function UC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function HC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const jC=class extends kC{constructor(t=null,n,r){super($d(n),Gd(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}),Za(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=HC(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){UC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){UC(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){HC(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}},iF={provide:Wn,useExisting:pe(()=>el)},GC=(()=>Promise.resolve())();let el=(()=>{class e extends Wn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new jC,this._registered=!1,this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Qd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===xi?n=i:function eF(e){return Object.getPrototypeOf(e.constructor)===vr}(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 Zd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){GC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&mo(r);GC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Qa(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(S(ut,9),S(tt,10),S(qn,10),S(dn,10),S(Ea,8),S(Fi,8))},e.\u0275dir=B({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:[ve([iF]),ae,At]}),e})(),Xd=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const aF={provide:dn,useExisting:pe(()=>Yd),multi:!0};let qC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})(),lF=(()=>{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=P({token:e,factory:e.\u0275fac,providedIn:qC}),e})(),Yd=(()=>{class e extends vr{constructor(n,r,o,i){super(n,r),this._registry=o,this._injector=i,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Wn),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)(S(En),S(wt),S(lF),S(Bt))},e.\u0275dir=B({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,r){1&n&&F("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[ve([aF]),ae]}),e})();const gF={provide:dn,useExisting:pe(()=>tl),multi:!0};function YC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let tl=(()=>{class e extends vr{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=YC(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 mF(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=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&F("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[ve([gF]),ae]}),e})(),JC=(()=>{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(YC(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)(S(wt),S(En),S(tl,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const yF={provide:dn,useExisting:pe(()=>nf),multi:!0};function eD(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let nf=(()=>{class e extends vr{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(eD(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(eD(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)(S(wt),S(En),S(nf,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),_r=(()=>{class e{constructor(){this._validator=za}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):za,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=B({type:e,features:[At]}),e})();const DF={provide:tt,useExisting:pe(()=>Li),multi:!0};let Li=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=mo,this.createValidator=n=>fC}enabled(n){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275dir=B({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&&$t("required",r._enabled?"":null)},inputs:{required:"required"},features:[ve([DF]),ae]}),e})();const MF={provide:tt,useExisting:pe(()=>rf),multi:!0};let rf=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function yC(e){if(!e)return za;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(zn(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=We(e)))(r||e)}}(),e.\u0275dir=B({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,r){2&n&&$t("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[ve([MF]),ae]}),e})(),IF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[qC]}),e})(),TF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Fi,useValue:n.callSetDisabledState??qd}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[IF]}),e})();class Xt extends mn{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const nl=Ro(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cD(...e){const t=Fo(e),n=ih(e),{args:r,keys:o}=oC(e);if(0===r.length)return Me([],t);const i=new Se(function xF(e,t,n=er){return r=>{dD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Me(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=>sC(o,s):er));return n?i.pipe(iC(n)):i}function dD(e,t,n){e?yn(n,e,t):t()}function sf(...e){return function RF(){return Ar(1)}()(Me(e,Fo(e)))}function fD(e){return new Se(t=>{Yt(e()).subscribe(t)})}function Vi(e,t){const n=he(e)?e:()=>e,r=o=>o.error(n());return new Se(t?o=>t.schedule(r,0,o):r)}function af(){return Be((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 hD extends Se{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,zf(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Et;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=Et.EMPTY)}return t}refCount(){return af()(this)}}function fn(e,t){return Be((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Oe(r,l=>{o?.unsubscribe();let u=0;const c=i++;Yt(e(l,c)).subscribe(o=Oe(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function rl(e){return Be((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function pD(e=FF){return Be((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function FF(){return new nl}function Kn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,Tr(1),n?rl(t):pD(()=>new nl))}function nt(e,t,n){const r=he(e)||t||n?{next:e,error:t,complete:n}:e;return r?Be((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)}))}):er}function Zn(e){return Be((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Oe(n,void 0,void 0,s=>{i=Yt(e(s,Zn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function PF(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 gD(e,t){return Be(PF(e,t,arguments.length>=2,!0))}function lf(e){return e<=0?()=>Jt:Be((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 mD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,lf(1),n?rl(t):pD(()=>new nl))}function uf(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const X="primary",Ui=Symbol("RouteTitle");class LF{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 _o(e){return new LF(e)}function VF(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 vD(e){return Array.prototype.concat.apply([],e)}function _D(e){return e.length>0?e[e.length-1]:null}function Ke(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Qn(e){return gc(e)?e:di(e)?Me(Promise.resolve(e)):k(e)}const ol=!1,HF={exact:function wD(e,t,n){if(!Dr(e.segments,t.segments)||!il(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!wD(e.children[r],t.children[r],n))return!1;return!0},subset:bD},CD={exact:function jF(e,t){return hn(e,t)},subset:function BF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yD(e[n],t[n]))},ignored:()=>!0};function DD(e,t,n){return HF[n.paths](e.root,t.root,n.matrixParams)&&CD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function bD(e,t,n){return ED(e,t,t.segments,n)}function ED(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Dr(o,n)||t.hasChildren()||!il(o,n,r))}if(e.segments.length===n.length){if(!Dr(e.segments,n)||!il(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!bD(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!!(Dr(e.segments,o)&&il(e.segments,o,r)&&e.children[X])&&ED(e.children[X],t,i,r)}}function il(e,t,n){return t.every((r,o)=>CD[n](e[o].parameters,r.parameters))}class Cr{constructor(t=new J([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return zF.serialize(this)}}class J{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ke(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sl(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return ID(this)}}function Dr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ji=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return new cf},providedIn:"root"}),e})();class cf{parse(t){const n=new eP(t);return new Cr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Bi(t.root,!0)}`,r=function KF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${al(n)}=${al(o)}`).join("&"):`${al(n)}=${al(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function qF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const zF=new cf;function sl(e){return e.segments.map(t=>ID(t)).join("/")}function Bi(e,t){if(!e.hasChildren())return sl(e);if(t){const n=e.children[X]?Bi(e.children[X],!1):"",r=[];return Ke(e.children,(o,i)=>{i!==X&&r.push(`${i}:${Bi(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function GF(e,t){let n=[];return Ke(e.children,(r,o)=>{o===X&&(n=n.concat(t(r,o)))}),Ke(e.children,(r,o)=>{o!==X&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===X?[Bi(e.children[X],!1)]:[`${o}:${Bi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[X]?`${sl(e)}/${n[0]}`:`${sl(e)}/(${n.join("//")})`}}function SD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function al(e){return SD(e).replace(/%3B/gi,";")}function df(e){return SD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ll(e){return decodeURIComponent(e)}function MD(e){return ll(e.replace(/\+/g,"%20"))}function ID(e){return`${df(e.path)}${function WF(e){return Object.keys(e).map(t=>`;${df(t)}=${df(e[t])}`).join("")}(e.parameters)}`}const ZF=/^[^\/()?;=#]+/;function ul(e){const t=e.match(ZF);return t?t[0]:""}const QF=/^[^=?&#]+/,YF=/^[^&#]+/;class eP{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],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[X]=new J(t,n)),r}parseSegment(){const t=ul(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,ol);return this.capture(t),new Hi(ll(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ul(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ul(this.remaining);o&&(r=o,this.capture(r))}t[ll(n)]=ll(r)}parseQueryParam(t){const n=function XF(e){const t=e.match(QF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function JF(e){const t=e.match(YF);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=MD(n),i=MD(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=ul(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,ol);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=X);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[X]:new J([],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 I(4011,ol)}}function ff(e){return e.segments.length>0?new J([],{[X]:e}):e}function cl(e){const t={};for(const r of Object.keys(e.children)){const i=cl(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function tP(e){if(1===e.numberOfChildren&&e.children[X]){const t=e.children[X];return new J(e.segments.concat(t.segments),t.children)}return e}(new J(e.segments,t))}function wr(e){return e instanceof Cr}function oP(e,t,n,r,o){if(0===n.length)return Co(t.root,t.root,t.root,r,o);const i=function xD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new TD(!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 Ke(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 TD(n,t,r)}(n);return i.toRoot()?Co(t.root,t.root,new J([],{}),r,o):function s(l){const u=function sP(e,t,n,r){if(e.isAbsolute)return new Do(t.root,!0,0);if(-1===r)return new Do(n,n===t.root,0);return function RD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new Do(r,!1,o-i)}(n,r+($i(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?zi(u.segmentGroup,u.index,i.commands):pf(u.segmentGroup,u.index,i.commands);return Co(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function $i(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Gi(e){return"object"==typeof e&&null!=e&&e.outlets}function Co(e,t,n,r,o){let s,i={};r&&Ke(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:AD(e,t,n);const a=ff(cl(s));return new Cr(a,i,o)}function AD(e,t,n){const r={};return Ke(e.children,(o,i)=>{r[i]=o===t?n:AD(o,t,n)}),new J(e.segments,r)}class TD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&$i(r[0]))throw new I(4003,!1);const o=r.find(Gi);if(o&&o!==_D(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Do{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function pf(e,t,n){if(e||(e=new J([],{})),0===e.segments.length&&e.hasChildren())return zi(e,t,n);const r=function lP(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(Gi(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!FD(l,u,s))return i;r+=2}else{if(!FD(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]=pf(e.children[s],t,i))}),Ke(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new J(e.segments,o)}}function gf(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=gf(new J([],{}),0,n))}),t}function ND(e){const t={};return Ke(e,(n,r)=>t[r]=`${n}`),t}function FD(e,t,n){return e==n.path&&hn(t,n.parameters)}const qi="imperative";class pn{constructor(t,n){this.id=t,this.url=n}}class mf extends pn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Xn extends pn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class dl extends pn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class PD extends pn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class kD extends pn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fP extends pn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pP extends pn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gP{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class mP{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yP{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vP{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _P{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let wP=(()=>{class e{createUrlTree(n,r,o,i,s,a){return oP(n||r.root,o,i,s,a)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),bP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(t){return wP.\u0275fac(t)},providedIn:"root"}),e})();class LD{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=yf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=yf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=vf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return vf(t,this._root).map(n=>n.value)}}function yf(e,t){if(e===t.value)return t;for(const n of t.children){const r=yf(e,n);if(r)return r}return null}function vf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=vf(e,n);if(r.length)return r.unshift(t),r}return[]}class kn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function wo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class VD extends LD{constructor(t,n){super(t),this.snapshot=n,_f(this,t)}toString(){return this.snapshot.toString()}}function UD(e,t){const n=function EP(e,t){const s=new fl([],{},{},"",{},X,t,null,e.root,-1,{});return new jD("",new kn(s,[]))}(e,t),r=new Xt([new Hi("",{})]),o=new Xt({}),i=new Xt({}),s=new Xt({}),a=new Xt(""),l=new br(r,o,s,a,i,X,t,n.root);return l.snapshot=n.root,new VD(new kn(l,[]),n)}class br{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.title=this.data?.pipe(W(u=>u[Ui]))??k(void 0),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(W(t=>_o(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>_o(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function HD(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 SP(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class fl{get title(){return this.data?.[Ui]}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=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class jD extends LD{constructor(t,n){super(n),this.url=t,_f(this,n)}toString(){return BD(this._root)}}function _f(e,t){t.value._routerState=e,t.children.forEach(n=>_f(e,n))}function BD(e){const t=e.children.length>0?` { ${e.children.map(BD).join(", ")} } `:"";return`${e.value}${t}`}function Cf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,hn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),hn(t.params,n.params)||e.params.next(n.params),function UF(e,t){if(e.length!==t.length)return!1;for(let n=0;nhn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Df(e.parent,t.parent))}function Wi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function IP(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Wi(e,r,o);return Wi(e,r)})}(e,t,n);return new kn(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=>Wi(e,a)),s}}const r=function AP(e){return new br(new Xt(e.url),new Xt(e.params),new Xt(e.queryParams),new Xt(e.fragment),new Xt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Wi(e,i));return new kn(r,o)}}const wf="ngNavigationCancelingError";function $D(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=wr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=GD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function GD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[wf]=!0,r.cancellationCode=t,n&&(r.url=n),r}function zD(e){return qD(e)&&wr(e.url)}function qD(e){return e&&e[wf]}class TP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ki,this.attachRef=null}}let Ki=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new TP,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hl=!1;let bf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=Y(Ki),this.location=Y(qt),this.changeDetector=Y(Ea),this.environmentInjector=Y(on)}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,hl);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,hl);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,hl);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 I(4013,hl);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new xP(n,a,o.injector);if(r&&function RP(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=B({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[At]}),e})();class xP{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===br?this.route:t===Ki?this.childContexts:this.parent.get(t,n)}}let Ef=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=mt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Fy],decls:1,vars:0,template:function(n,r){1&n&&v(0,"router-outlet")},dependencies:[bf],encapsulation:2}),e})();function WD(e,t){return e.providers&&!e._injector&&(e._injector=ga(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Mf(e){const t=e.children&&e.children.map(Mf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==X&&(n.component=Ef),n}function Pt(e){return e.outlet||X}function KD(e,t){const n=e.filter(r=>Pt(r)===t);return n.push(...e.filter(r=>Pt(r)!==t)),n}function Zi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class OP{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),Cf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=wo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Ke(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=wo(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=wo(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=wo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new CP(i.value.snapshot))}),t.children.length&&this.forwardEvent(new vP(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Cf(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),Cf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Zi(o.snapshot),l=a?.get(oi)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class ZD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class pl{constructor(t,n){this.component=t,this.route=n}}function LP(e,t,n){const r=e._root;return Qi(r,t?t._root:null,n,[r.value])}function bo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function yb(e){return null!==_s(e)}(e)?t.get(e):e:r}function Qi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=wo(t);return e.children.forEach(s=>{(function UP(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 HP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Dr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Dr(e.url,t.url)||!hn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Df(e,t)||!hn(e.queryParams,t.queryParams);default:return!Df(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new ZD(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Qi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new pl(a.outlet.component,s))}else s&&Xi(t,a,o),o.canActivateChecks.push(new ZD(r)),Qi(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]}),Ke(i,(s,a)=>Xi(s,n.getContext(a),o)),o}function Xi(e,t,n){const r=wo(e),o=e.value;Ke(r,(i,s)=>{Xi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new pl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Yi(e){return"function"==typeof e}function If(e){return e instanceof nl||"EmptyError"===e?.name}const gl=Symbol("INITIAL_VALUE");function Eo(){return fn(e=>cD(e.map(t=>t.pipe(Tr(1),function NF(...e){const t=Fo(e);return Be((n,r)=>{(t?sf(e,n,t):sf(e,n)).subscribe(r)})}(gl)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===gl)return gl;if(!1===n||n instanceof Cr)return n}return!0}),Qt(t=>t!==gl),Tr(1)))}function QD(e){return function Ow(...e){return Bf(e)}(nt(t=>{if(wr(t))throw $D(0,t)}),W(t=>!0===t))}const Af={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function XD(e,t,n,r,o){const i=Tf(e,t,n);return i.matched?function rk(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=bo(s,e);return Qn(function qP(e){return e&&Yi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),QD()):k(!0)}(r=WD(t,r),t,n).pipe(W(s=>!0===s?i:{...Af})):k(i)}function Tf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Af}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||VF)(n,e,t);if(!o)return{...Af};const i={};Ke(o.posParams,(a,l)=>{i[l]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ml(e,t,n,r){if(n.length>0&&function sk(e,t,n){return n.some(r=>yl(e,t,r)&&Pt(r)!==X)}(e,n,r)){const i=new J(t,function ik(e,t,n,r){const o={};o[X]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Pt(i)!==X){const s=new J([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[Pt(i)]=s}return o}(e,t,r,new J(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function ak(e,t,n){return n.some(r=>yl(e,t,r))}(e,n,r)){const i=new J(e.segments,function ok(e,t,n,r,o){const i={};for(const s of r)if(yl(e,n,s)&&!o[Pt(s)]){const a=new J([],{});a._sourceSegment=e,a._segmentIndexShift=t.length,i[Pt(s)]=a}return{...o,...i}}(e,t,n,r,e.children));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const o=new J(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function yl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function YD(e,t,n,r){return!!(Pt(e)===r||r!==X&&yl(t,n,e))&&("**"===e.path||Tf(t,e,n).matched)}function JD(e,t,n){return 0===t.length&&!e.children[n]}const vl=!1;class _l{constructor(t){this.segmentGroup=t||null}}class ew{constructor(t){this.urlTree=t}}function Ji(e){return Vi(new _l(e))}function tw(e){return Vi(new ew(e))}class dk{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=ml(this.urlTree.root,[],[],this.config).segmentGroup,n=new J(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,X).pipe(W(i=>this.createUrlTree(cl(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zn(i=>{if(i instanceof ew)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof _l?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,X).pipe(W(o=>this.createUrlTree(cl(o),t.queryParams,t.fragment))).pipe(Zn(o=>{throw o instanceof _l?this.noMatchError(o):o}))}noMatchError(t){return new I(4002,vl)}createUrlTree(t,n,r){const o=ff(t);return new Cr(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(W(i=>new J([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Me(o).pipe($n(i=>{const s=r.children[i],a=KD(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(W(l=>({segment:l,outlet:i})))}),gD((i,s)=>(i[s.outlet]=s.segment,i),{}),mD())}expandSegment(t,n,r,o,i,s){return Me(r).pipe($n(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Zn(u=>{if(u instanceof _l)return k(null);throw u}))),Kn(a=>!!a),Zn((a,l)=>{if(If(a))return JD(n,o,i)?k(new J([],{})):Ji(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return YD(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):Ji(n):Ji(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("/")?tw(i):this.lineralizeSegments(r,i).pipe($e(s=>{const a=new J(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}=Tf(n,o,i);if(!a)return Ji(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?tw(d):this.lineralizeSegments(o,d).pipe($e(g=>this.expandSegment(t,n,r,g.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=WD(r,t),r.loadChildren?(r._loadedRoutes?k({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(W(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new J(o,{})))):k(new J(o,{}))):XD(n,r,o,t).pipe(fn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe($e(c=>{const d=c.injector??t,g=c.routes,{segmentGroup:m,slicedSegments:y}=ml(n,a,l,g),C=new J(m.segments,m.children);if(0===y.length&&C.hasChildren())return this.expandChildren(d,g,C).pipe(W(D=>new J(a,D)));if(0===g.length&&0===y.length)return k(new J(a,{}));const w=Pt(r)===i;return this.expandSegment(d,C,g,y,w?X:i,!0).pipe(W(A=>new J(a.concat(A.segments),A.children)))})):Ji(n)))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function nk(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=bo(s,e);return Qn(function BP(e){return e&&Yi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Eo(),QD())}(t,n,r).pipe($e(o=>o?this.configLoader.loadChildren(t,n).pipe(nt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function uk(e){return Vi(GD(vl,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[X])return Vi(new I(4e3,vl));o=o.children[X]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Cr(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ke(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 Ke(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new J(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 I(4001,vl);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class hk{}class mk{constructor(t,n,r,o,i,s,a){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=ml(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,X).pipe(W(n=>{if(null===n)return null;const r=new fl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new kn(r,n),i=new jD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=HD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return Me(Object.keys(r.children)).pipe($n(o=>{const i=r.children[o],s=KD(n,o);return this.processSegmentGroup(t,s,i,o)}),gD((o,i)=>o&&i?(o.push(...i),o):null),function kF(e,t=!1){return Be((n,r)=>{let o=0;n.subscribe(Oe(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),rl(null),mD(),W(o=>{if(null===o)return null;const i=rw(o);return function yk(e){e.sort((t,n)=>t.value.outlet===X?-1:n.value.outlet===X?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return Me(n).pipe($n(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),Kn(s=>!!s),Zn(s=>{if(If(s))return JD(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!YD(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?_D(o).parameters:{},l=iw(r)+o.length;s=k({snapshot:new fl(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(n),Pt(n),n.component??n._loadedComponent??null,n,ow(r),l,aw(n)),consumedSegments:[],remainingSegments:[]})}else s=XD(r,n,o,t).pipe(W(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=iw(r)+l.length;return{snapshot:new fl(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(n),Pt(n),n.component??n._loadedComponent??null,n,ow(r),d,aw(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(fn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,g=function vk(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:m,slicedSegments:y}=ml(r,u,c,g.filter(w=>void 0===w.redirectTo));if(0===y.length&&m.hasChildren())return this.processChildren(d,g,m).pipe(W(w=>null===w?null:[new kn(l,w)]));if(0===g.length&&0===y.length)return k([new kn(l,[])]);const C=Pt(n)===i;return this.processSegment(d,g,m,y,C?X:i).pipe(W(w=>null===w?null:[new kn(l,w)]))}))}}function _k(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function rw(e){const t=[],n=new Set;for(const r of e){if(!_k(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=rw(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function ow(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function iw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function sw(e){return e.data||{}}function aw(e){return e.resolve||{}}function lw(e){return"string"==typeof e.title||null===e.title}function xf(e){return fn(t=>{const n=e(t);return n?Me(n).pipe(W(()=>t)):k(t)})}const So=new N("ROUTES");let Rf=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Qn(n.loadComponent()).pipe(W(cw),nt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),uf(()=>{this.componentLoaders.delete(n)})),o=new hD(r,()=>new mn).pipe(af());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(W(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=vD(l.get(So,[],U.Self|U.Optional)));return{routes:u.map(Mf),injector:l}}),uf(()=>{this.childrenLoaders.delete(r)})),s=new hD(i,()=>new mn).pipe(af());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Qn(n()).pipe(W(cw),$e(o=>o instanceof Ry||Array.isArray(o)?k(o):Me(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(R(Bt),R(bv))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cw(e){return function Ak(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Dl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new mn,this.configLoader=Y(Rf),this.environmentInjector=Y(on),this.urlSerializer=Y(ji),this.rootContexts=Y(Ki),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new mP(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new gP(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Xt({id:0,targetPageId:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qi,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qt(r=>0!==r.id),W(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),fn(r=>{let o=!1,i=!1;return k(r).pipe(nt(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),fn(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new PD(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Jt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return dw(s.source)&&(n.browserUrlTree=s.extractedUrl),k(s).pipe(fn(c=>{const d=this.transitions?.getValue();return this.events.next(new mf(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Jt:Promise.resolve(c)}),function fk(e,t,n,r){return fn(o=>function ck(e,t,n,r,o){return new dk(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe(W(i=>({...o,urlAfterRedirects:i}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,n.config),nt(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},r.urlAfterRedirects=c.urlAfterRedirects}),function Dk(e,t,n,r,o){return $e(i=>function gk(e,t,n,r,o,i,s="emptyOnly"){return new mk(e,t,n,r,o,s,i).recognize().pipe(fn(a=>null===a?function pk(e){return new Se(t=>t.error(e))}(new hk):k(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(W(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),nt(c=>{if(r.targetSnapshot=c.targetSnapshot,"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const g=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(g,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new cP(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:g,restoredState:m,extras:y}=s,C=new mf(c,this.urlSerializer.serialize(d),g,m);this.events.next(C);const w=UD(d,this.rootComponentType).snapshot;return k(r={...s,targetSnapshot:w,urlAfterRedirects:d,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new PD(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Jt}}),nt(s=>{const a=new dP(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),W(s=>r={...s,guards:LP(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function KP(e,t){return $e(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function ZP(e,t,n,r){return Me(e).pipe($e(o=>function tk(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=Zi(t)??o,u=bo(a,l);return Qn(function zP(e){return e&&Yi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Kn())})).pipe(Eo()):k(!0)}(o.component,o.route,n,t,r)),Kn(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function jP(e){return"boolean"==typeof e}(a)?function QP(e,t,n,r){return Me(t).pipe($n(o=>sf(function YP(e,t){return null!==e&&t&&t(new yP(e)),k(!0)}(o.route.parent,r),function XP(e,t){return null!==e&&t&&t(new _P(e)),k(!0)}(o.route,r),function ek(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function VP(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=>fD(()=>k(s.guards.map(l=>{const u=Zi(s.node)??n,c=bo(l,u);return Qn(function GP(e){return e&&Yi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Kn())})).pipe(Eo())));return k(i).pipe(Eo())}(e,o.path,n),function JP(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>fD(()=>{const s=Zi(t)??n,a=bo(i,s);return Qn(function $P(e){return e&&Yi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Kn())}));return k(o).pipe(Eo())}(e,o.route,n))),Kn(o=>!0!==o,!0))}(r,i,e,t):k(a)),W(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),nt(s=>{if(r.guardsResult=s.guardsResult,wr(s.guardsResult))throw $D(0,s.guardsResult);const a=new fP(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Qt(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3,n),!1)),xf(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(nt(a=>{const l=new hP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),fn(a=>{let l=!1;return k(a).pipe(function wk(e,t){return $e(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return Me(o).pipe($n(s=>function bk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!lw(o)&&(i[Ui]=o.title),function Ek(e,t,n,r){const o=function Sk(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Me(o).pipe($e(s=>function Mk(e,t,n,r){const o=Zi(t)??r,i=bo(e,o);return Qn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Kn(),nt(a=>{i[s]=a}))),lf(1),function OF(e){return W(()=>e)}(i),Zn(s=>If(s)?Jt:Vi(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=HD(e,n).resolve,o&&lw(o)&&(e.data[Ui]=o.title),null)))}(s.route,r,e,t)),nt(()=>i++),lf(1),$e(s=>i===o.length?k(n):Jt))})}(n.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2,n))}}))}),nt(a=>{const l=new pP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),xf(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(nt(c=>{l.component=c}),W(()=>{})));for(const c of l.children)u.push(...a(c));return u};return cD(a(s.targetSnapshot.root)).pipe(rl(),Tr(1))}),xf(()=>this.afterPreactivation()),W(s=>{const a=function MP(e,t,n){const r=Wi(e,t._root,n?n._root:void 0);return new VD(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),nt(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n)=>W(r=>(new OP(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s)),nt({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Xn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),uf(()=>{o||i||this.cancelNavigationTransition(r,"",1,n),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Zn(s=>{if(i=!0,qD(s)){zD(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new dl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),zD(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||dw(r.source)};n.scheduleNavigation(l,qi,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new kD(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return Jt}))}))}cancelNavigationTransition(n,r,o,i){const s=new dl(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function dw(e){return e!==qi}let fw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===X);return r}getResolvedTitleForRoute(n){return n.data[Ui]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Tk)},providedIn:"root"}),e})(),Tk=(()=>{class e extends fw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(R(H_))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Nk)},providedIn:"root"}),e})();class Rk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Nk=(()=>{class e extends Rk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=We(e)))(r||e)}}(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wl=new N("",{providedIn:"root",factory:()=>({})});let Pk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(kk)},providedIn:"root"}),e})(),kk=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ok(e){throw e}function Lk(e,t,n){return t.parse("/")}const Vk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Uk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Y(GA),this.isNgZoneEnabled=!1,this.options=Y(wl,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ok,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Lk,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Y(Pk),this.routeReuseStrategy=Y(xk),this.urlCreationStrategy=Y(bP),this.titleStrategy=Y(fw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=vD(Y(So,{optional:!0})??[]),this.navigationTransitions=Y(Dl),this.urlSerializer=Y(ji),this.location=Y(od),this.isNgZoneEnabled=Y(Ne)instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Cr,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=UD(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(n){this.config=n.map(Mf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=l?this.currentUrlTree.fragment:s;let c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,n,c,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=wr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,qi,null,r)}navigate(n,r={skipLocationChange:!1}){return function Hk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u,c;return s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,g)=>{a=d,l=g}),c="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gn=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new mn;const l=s.nativeElement.tagName;this.isAnchorElement="A"===l||"AREA"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Xn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=mo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=mo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=mo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function tg(e,t,n){return function z0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?eg:Wr}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(S(pt),S(br),function Us(e){return function gE(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{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Xn&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(Ar()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Me(n).pipe(Ar()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!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)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function jk(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.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(S(pt),S(wt),S(En),S(Ea),S(gn,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&Xy(o,gn,5),2&n){let i;Qy(i=function Yy(){return function wA(e,t){return e[19].queries[t].queryList}(b(),Vh())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[At]}),e})();class gw{}let Bk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Qt(n=>n instanceof Xn),$n(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ga(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Me(o).pipe(Ar())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe($e(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Me([i,this.loader.loadComponent(r)]).pipe(Ar()):i})}}return e.\u0275fac=function(n){return new(n||e)(R(pt),R(bv),R(on),R(gw),R(Rf))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Nf=new N("");let mw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof mf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Xn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof OD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new OD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Ng(){throw new Error("invalid")}()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Er(e,t){return{\u0275kind:e,\u0275providers:t}}function vw(){const e=Y(Bt);return t=>{const n=e.get(wa);if(t!==n.components[0])return;const r=e.get(pt),o=e.get(_w);1===e.get(Pf)&&r.initialNavigation(),e.get(Cw,null,U.Optional)?.setUpPreloading(),e.get(Nf,null,U.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const _w=new N("",{factory:()=>new mn}),Pf=new N("",{providedIn:"root",factory:()=>1});const Cw=new N("");function Wk(e){return Er(0,[{provide:Cw,useExisting:Bk},{provide:gw,useExisting:e}])}const Dw=new N("ROUTER_FORROOT_GUARD"),Kk=[od,{provide:ji,useClass:cf},pt,Ki,{provide:br,useFactory:function yw(e){return e.routerState.root},deps:[pt]},Rf,[]];function Zk(){return new xv("Router",pt)}let ww=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Kk,[],{provide:So,multi:!0,useValue:n},{provide:Dw,useFactory:Jk,deps:[[pt,new Ko,new Zo]]},{provide:wl,useValue:r||{}},r?.useHash?{provide:yr,useClass:RT}:{provide:yr,useClass:Jv},{provide:Nf,useFactory:()=>{const e=Y(Zx),t=Y(Ne),n=Y(wl),r=Y(Dl),o=Y(ji);return n.scrollOffset&&e.setOffset(n.scrollOffset),new mw(o,r,e,t,n)}},r?.preloadingStrategy?Wk(r.preloadingStrategy).\u0275providers:[],{provide:xv,multi:!0,useFactory:Zk},r?.initialNavigation?eO(r):[],[{provide:bw,useFactory:vw},{provide:wv,multi:!0,useExisting:bw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:So,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(R(Dw,8))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[Ef]}),e})();function Jk(e){return"guarded"}function eO(e){return["disabled"===e.initialNavigation?Er(3,[{provide:_a,multi:!0,useFactory:()=>{const t=Y(pt);return()=>{t.setUpLocationChangeListener()}}},{provide:Pf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Er(2,[{provide:Pf,useValue:0},{provide:_a,multi:!0,deps:[Bt],useFactory:t=>{const n=t.get(TT,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(pt),s=t.get(_w);(function r(o){t.get(pt).events.pipe(Qt(s=>s instanceof Xn||s instanceof dl||s instanceof kD),W(s=>s instanceof Xn||s instanceof dl&&(0===s.code||1===s.code)&&null),Qt(s=>null!==s),Tr(1)).subscribe(()=>{o()})})(()=>{o(!0)}),t.get(Dl).afterPreactivation=()=>(o(!0),s.closed?k(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const bw=new N("");class nO{constructor(){this.name="",this.email="",this.message=""}}const je_apiBaseUrl="https://www.palmmedia.de/api/";class Sr{constructor(t){this.httpClient=t}postContactForm(t){return this.httpClient.post(`${je_apiBaseUrl}contact`,t)}}function rO(e,t){if(1&e){const n=Ge();h(0,"form",5,6),F("ngSubmit",function(){return ce(n),de(H().submit())}),h(2,"div",7)(3,"label",8),f(4,"Name "),h(5,"span",9),f(6,"*"),p()(),h(7,"input",10),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.name=o)}),p()(),h(8,"div",7)(9,"label",11),f(10,"E-Mail "),h(11,"span",9),f(12,"*"),p()(),h(13,"input",12),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.email=o)}),p()(),h(14,"div",7)(15,"label",13),f(16,"Nachricht "),h(17,"span",9),f(18,"*"),p()(),h(19,"textarea",14),F("ngModelChange",function(o){return ce(n),de(H().contactViewModel.message=o)}),p()(),h(20,"button",15),f(21,"Submit"),p()()}if(2&e){const n=function lm(e){return function Or(e,t){return e[t]}(function Zb(){return z.lFrame.contextLView}(),22+e)}(1),r=H();_(7),E("ngModel",r.contactViewModel.name),_(6),E("ngModel",r.contactViewModel.email),_(6),E("ngModel",r.contactViewModel.message),_(1),E("disabled",!n.valid||r.enableFormCountDown>0)}}function oO(e,t){1&e&&(h(0,"p"),f(1,"Thanks for your message."),p())}function iO(e,t){1&e&&(h(0,"p",16),f(1,"Something went wrong. Please try again later."),p())}Sr.\u0275fac=function(t){return new(t||Sr)(R(Fd))},Sr.\u0275prov=P({token:Sr,factory:Sr.\u0275fac});class ts{constructor(t){this.contactService=t,this.contactViewModel=new nO,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:t=>{console.log("Submitted form"),this.success=!0},error:t=>{console.error(t),this.error=!0},complete:()=>console.info("complete")})}}ts.\u0275fac=function(t){return new(t||ts)(S(Sr))},ts.\u0275cmp=mt({type:ts,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(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Contact"),p(),$(3,rO,22,4,"form",2),$(4,oO,2,0,"p",3),$(5,iO,2,0,"p",4),p()),2&t&&(_(3),E("ngIf",!n.success&&!n.error),_(1),E("ngIf",n.success),_(1),E("ngIf",n.error))},dependencies:[La,Xd,xi,Vd,Ud,Li,el,Oi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]});const Ew=function(){return["/pro"]};class ns{scrollToAnchor(t){return document.querySelector(t)?.scrollIntoView(!0),!1}}ns.\u0275fac=function(t){return new(t||ns)},ns.\u0275cmp=mt({type:ns,selectors:[["app-features-component"]],decls:138,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory"],[1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Features"),p(),v(3,"div",2)(4,"br"),h(5,"h2"),f(6,"Coverage quotas"),p(),h(7,"p"),f(8," The overiew cards provide a quick "),h(9,"span",3),f(10,"overview"),p(),f(11," of your coverage quotas."),v(12,"br"),f(13," You can use them to get a glimpse into the different "),h(14,"a",4),f(15,"coverage metrics"),p(),f(16,"\xa0"),h(17,"a",4),v(18,"i",5),p(),f(19,": "),p(),h(20,"ul")(21,"li"),f(22,"Line coverage"),p(),h(23,"li"),f(24,"Branch coverage"),p(),h(25,"li"),f(26,"Method coverage "),h(27,"a",6)(28,"span",7),f(29,"PRO"),p()()()(),v(30,"img",8)(31,"div",9)(32,"br"),h(33,"h2",10),f(34,"Coverage history"),p(),h(35,"p"),f(36," The history chart helps you to understand how your coverage quotas are "),h(37,"span",3),f(38,"evolving over time"),p(),f(39,". "),p(),v(40,"img",11)(41,"div",12)(42,"br"),h(43,"h2",10),f(44,"Summary table / Overview"),p(),h(45,"p"),f(46," The summary table helps you to identify classes with "),h(47,"span",3),f(48,"low test coverage"),p(),f(49,"."),v(50,"br"),f(51," The table offers various "),h(52,"span",3),f(53,"filter and sorting"),p(),f(54," options for quick navigation. "),p(),v(55,"img",13)(56,"div",14)(57,"br"),h(58,"h2",10),f(59,"Details page"),p(),h(60,"p"),f(61," The details page visualizes your "),h(62,"span",3),f(63,"line and branch coverage"),p(),f(64,". "),p(),h(65,"ul")(66,"li"),f(67,"Colors indicate the coverage status of each line."),p(),h(68,"li"),f(69,"Branch indicators help you to identity uncovered conditions."),p()(),v(70,"img",15)(71,"div",16)(72,"br"),h(73,"h2",10),f(74,"Metrics"),p(),h(75,"p"),f(76," Depending on your "),h(77,"a",17),f(78,"coverage tool"),p(),f(79,", metrics are provided to get further insigths in your "),h(80,"span",3),f(81,"code quality"),p(),f(82,". "),p(),h(83,"ul")(84,"li"),f(85,"The "),h(86,"a",18),F("click",function(){return n.scrollToAnchor("#details")}),f(87,"details page"),p(),f(88," contains information about the metrics of all methods of a class."),p(),h(89,"li"),f(90,"The "),h(91,"a",18),F("click",function(){return n.scrollToAnchor("#summary")}),f(92,"summary table"),p(),f(93," shows the lowest metrics of all methods of a class "),h(94,"a",6)(95,"span",7),f(96,"PRO"),p()()()(),h(97,"b"),f(98,"Details page"),p(),v(99,"br")(100,"img",19)(101,"br")(102,"br"),h(103,"b"),f(104,"Summary table"),p(),v(105,"br")(106,"img",20)(107,"div",21)(108,"br"),h(109,"h2",10),f(110,"Risk Hotspots"),p(),h(111,"p"),f(112," Based on the "),h(113,"a",18),F("click",function(){return n.scrollToAnchor("#metrics")}),f(114,"metrics"),p(),f(115," you get a list of potential risk hotspots."),v(116,"br"),f(117," The following metrics are analyzed if available, the warning thresholds are configurable: "),p(),h(118,"ul")(119,"li")(120,"a",22),f(121,"Cyclomatic complexity"),p(),f(122,"\xa0"),h(123,"a",22),v(124,"i",5),p()(),h(125,"li")(126,"a",23),f(127,"NPath complexity"),p(),f(128,"\xa0"),h(129,"a",23),v(130,"i",5),p()(),h(131,"li")(132,"a",24),f(133,"Crap score"),p(),f(134,"\xa0"),h(135,"a",24),v(136,"i",5),p()()(),v(137,"img",25),p()),2&t&&(_(27),E("routerLink",ne(2,Ew)),_(67),E("routerLink",ne(3,Ew)))},dependencies:[gn]});const kt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.18"},sO=function(){return["/usage"]};class rs{constructor(){this.versions=kt}}rs.\u0275fac=function(t){return new(t||rs)},rs.\u0275cmp=mt({type:rs,selectors:[["app-getstarted"]],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net"],[1,"mt-5"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Get started"),p(),h(3,"h2"),f(4,"General"),p(),h(5,"p"),f(6,"In general you need a tool that instruments your test code and collects coverage information."),v(7,"br"),f(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),v(9,"br"),h(10,"em"),f(11,"ReportGenerator"),p(),f(12," uses this file and generates a report in HTML format (other formats are available)."),p(),h(13,"p"),f(14,"Use the online "),h(15,"a",2),f(16,"configuration tool"),p(),f(17," to get started quickly."),p(),v(18,"div",3),h(19,"h2",4),f(20,".NET"),p(),h(21,"p"),f(22,"For .NET you can use "),h(23,"a",5),f(24,"coverlet"),p(),f(25," or "),h(26,"a",6),f(27,"altcover"),p(),f(28," for instrumenting your test code."),p(),h(29,"p"),f(30,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),p(),h(31,"p")(32,"strong"),f(33,"Add dependencies to your "),h(34,"code"),f(35,"*.csproj"),p(),f(36," file:"),p()(),h(37,"pre",7),f(38),p(),h(39,"p")(40,"strong"),f(41,"Execute tests and create coverage report"),p()(),h(42,"pre",7),f(43),p(),v(44,"div",8),h(45,"h2",9),f(46,"Java"),p(),h(47,"p"),f(48,"For Java you can use "),h(49,"a",10),f(50,"JaCoCo"),p(),f(51," for instrumenting your test code.\nAfter adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report."),p(),h(52,"p")(53,"strong"),f(54,"Add dependencies to your "),h(55,"code"),f(56,"pom.xml"),p(),f(57," file:"),p()(),h(58,"pre",7),f(59,"\n \n \n \n org.jacoco\n jacoco-maven-plugin\n 0.8.6\n \n \n \n prepare-agent\n \n \n \n report\n prepare-package\n \n report\n \n \n \n \n \n \n \n \n \n org.jacoco\n jacoco-maven-plugin\n \n \n \n report\n \n \n \n \n \n \n\n"),p(),h(60,"p")(61,"strong"),f(62,"Execute tests and create coverage report"),p()(),h(63,"pre",7),f(64),p(),v(65,"div",11),h(66,"h2",12),f(67,"NodeJS"),p(),h(68,"p"),f(69,"For NodeJS you can use "),h(70,"a",13),f(71,"Istanbul"),p(),f(72," for instrumenting your test code.\nAfter installing Istanbul, you can execute your tests and generate the coverage report."),p(),h(73,"pre",7),f(74),p()()),2&t&&(_(15),E("routerLink",ne(5,sO)),_(23),An('\n \n runtime; build; native; contentfiles; analyzers; buildtransitive\n all\n \n \n \n \n all\n runtime; build; native; contentfiles; analyzers\n \n\n'),_(5),An('dotnet test --collect:"XPlat Code Coverage"\n"%UserProfile%\\.nuget\\packages\\reportgenerator\\',n.versions.version,'\\tools\\net6.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport\n'),_(21),An("mvn test jacoco:report\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",n.versions.version,"\ntools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java\n"),_(10),An("npm i nyc --save-dev\nnyc --reporter=coberatura mocha\n\ndotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version ",n.versions.version,"\ntools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport\n"))},dependencies:[gn]});const aO=function(){return["/pro"]},lO=function(){return["/usage"]},uO=function(){return["/getstarted"]},cO=function(){return["/features"]};class os{}os.\u0275fac=function(t){return new(t||os)},os.\u0275cmp=mt({type:os,selectors:[["app-home"]],decls:143,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],["data-splitbee-event","Routing","data-splitbee-event-source","HomeComponent",3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],[3,"routerLink"],[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","mt-5","pt-5","pb-5","bg-light"],[1,"text-center"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(t,n){1&t&&(h(0,"section",0)(1,"div",1)(2,"div",2),v(3,"img",3),p(),h(4,"div",4)(5,"h1"),f(6,"ReportGenerator"),p(),h(7,"h2",5),f(8,"Powerful code coverage visualization"),p(),h(9,"div",6),f(10,"\xa0"),p(),h(11,"div",7)(12,"p")(13,"i"),f(14,"ReportGenerator"),p(),f(15," converts "),h(16,"span",8),f(17,"coverage reports"),p(),f(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),h(19,"span",8),f(20,"human readable reports in various formats"),p(),f(21,"."),p(),h(22,"p"),f(23,"The reports show the "),h(24,"span",8),f(25,"coverage quotas"),p(),f(26," and also visualize which lines of your source code have been covered."),p(),h(27,"p")(28,"a",9),v(29,"i",10),f(30," Browse example report"),p()()()()(),h(31,"div",11)(32,"div",12)(33,"div",13),v(34,"i",14),p(),h(35,"span",15),f(36,"Open source"),p(),h(37,"p",16)(38,"i"),f(39,"ReportGenerator"),p(),f(40," is open source under the permissive Apache License."),p(),h(41,"p"),f(42,"It's free to use."),v(43,"br"),f(44,"The "),h(45,"a",17),f(46,"PRO"),p(),f(47," version offers additional features."),p()(),h(48,"div",18)(49,"div",13),v(50,"i",19),p(),h(51,"span",15),f(52,"Easy to use"),p(),h(53,"p",16)(54,"i"),f(55,"ReportGenerator"),p(),f(56," is a command line tool which only requires a "),h(57,"a",20),f(58,"few parameters"),p(),f(59,"."),p(),h(60,"p"),f(61,"Integration into your build pipeline will only take a couple of minutes."),p()(),h(62,"div",18)(63,"div",13),v(64,"i",21),p(),h(65,"span",15),f(66,"Integration"),p(),h(67,"p",16)(68,"i"),f(69,"ReportGenerator"),p(),f(70," works on Windows, Linux and macOS."),p(),h(71,"p"),f(72,"Support for "),h(73,"a",22),f(74,"GitHub actions"),p(),f(75," and "),h(76,"a",23),f(77,"Azure DevOps"),p(),f(78," is available."),p()()(),h(79,"div",11)(80,"div",24)(81,"a",25),v(82,"i",26),f(83," Learn how to use"),p(),h(84,"a",27),v(85,"i",28),f(86," GitHub"),p()()()(),h(87,"section",29)(88,"div",0)(89,"h2",30),f(90,"Trusted by"),p(),h(91,"div",11)(92,"div",31),v(93,"i",32)(94,"br"),h(95,"a",33),f(96,".NET Runtime"),p()(),h(97,"div",31),v(98,"i",34)(99,"br"),h(100,"a",35),f(101,"Google Cloud"),p()(),h(102,"div",31),v(103,"i",36)(104,"br"),h(105,"a",37),f(106,"AWS Encryption SDK"),p()(),h(107,"div",38),v(108,"i",39)(109,"br"),h(110,"a",40),f(111,"Many more"),p()()(),h(112,"div",11)(113,"div",31)(114,"a",41),v(115,"i",42),f(116," Over 45 million downloads on Nuget"),p()()()()(),h(117,"section",43)(118,"div",0)(119,"h2"),f(120,"Screenshots"),p(),h(121,"p"),f(122,"The screenshots show two snippets of the generated reports."),p(),h(123,"p"),f(124," Have a look the "),h(125,"a",20),f(126,"features page"),p(),f(127," to explore the elements in a coverage report or "),h(128,"a",44),f(129,"browse the example report"),p(),f(130,". "),v(131,"br"),f(132," You can also download "),h(133,"a",45),f(134,"sample reports"),p(),f(135," of all supported output formats."),p(),h(136,"div",1)(137,"div",46)(138,"a",47),v(139,"img",48),p()(),h(140,"div",49)(141,"a",50),v(142,"img",51),p()()()()()),2&t&&(_(45),E("routerLink",ne(4,aO)),_(12),E("routerLink",ne(5,lO)),_(24),E("routerLink",ne(6,uO)),_(44),E("routerLink",ne(7,cO)))},dependencies:[gn],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.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;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]});class is{}is.\u0275fac=function(t){return new(t||is)},is.\u0275cmp=mt({type:is,selectors:[["app-not-found"]],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Not found"),p(),v(3,"i",2),f(4," The requested page does not exist.\n"),p())}});class Sw{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}class Mr{initCodeFlow(){const r=`https://github.com/login/oauth/authorize?response_type=code&client_id=ecab9484932b59a12fd4&state=${this.createAndSaveNonce()}&redirect_uri=${window.location.origin}/pro`;console.log("Redirecting to: "+r),location.href=r}validateStateAndExtractCode(){let t=location.href;const n=t.indexOf("?");n>-1&&(t=t.substring(n+1));const r=this.parseQueryString(t);return r.state&&r.code&&this.validateNonce(r.state)?r.code:null}createAndSaveNonce(){const t=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",t),t}validateNonce(t){let n;return typeof window.localStorage<"u"&&(n=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),n&&0!==n.length?n===t||(console.error("Validating nonce failed. Values do not match.",n,t),!1):(console.error("Validating nonce failed. No saved nonce available.",n,t),!1)}createNonce(){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,r="";const o=typeof self>"u"?null:self.crypto||self.msCrypto;if(o){let s=new Uint8Array(n);o.getRandomValues(s),s.map||(s.map=Array.prototype.map);const a=[];for(var i=0;i0&&(l=decodeURIComponent(s),u=decodeURIComponent(a),"/"===l.substring(0,1)&&(l=l.substring(1)),n[l]=u);return n}base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}}Mr.\u0275fac=function(t){return new(t||Mr)},Mr.\u0275prov=P({token:Mr,factory:Mr.\u0275fac});class Ir{constructor(t){this.httpClient=t}getLicense(t){return this.httpClient.get(`${je_apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(t)}`)}getPaddleLicense(t){return this.httpClient.post(`${je_apiBaseUrl}reportgenerator/paddlelicense`,t)}}function dO(e,t){1&e&&(h(0,"div",42)(1,"span",43),f(2,"Loading..."),p()())}Ir.\u0275fac=function(t){return new(t||Ir)(R(Fd))},Ir.\u0275prov=P({token:Ir,factory:Ir.\u0275fac});const kf=function(){return["/contact"]};function fO(e,t){if(1&e&&(h(0,"div")(1,"p"),f(2),p(),h(3,"p"),f(4,"Please try again later or use the "),h(5,"a",18),f(6," contact form"),p(),f(7,"."),p()()),2&e){const n=H(2);_(2),Ce(n.license.error),_(3),E("routerLink",ne(2,kf))}}function hO(e,t){1&e&&(h(0,"div")(1,"p"),f(2,"Please become a "),h(3,"a",45),f(4,"GitHub sponsor"),p(),f(5," first."),p()())}function pO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function gO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function mO(e,t){if(1&e){const n=Ge();h(0,"div")(1,"label",46),f(2,"Thank you for becoming a sponsor. Here's your license:"),p(),h(3,"textarea",47),f(4),p(),h(5,"button",48),F("click",function(){return ce(n),de(H(2).copy())}),$(6,pO,3,0,"span",44),$(7,gO,3,0,"span",44),p()()}if(2&e){const n=H(2);_(4),Ce(n.license.license),_(2),E("ngIf",!n.licenseCopied),_(1),E("ngIf",n.licenseCopied)}}function yO(e,t){if(1&e&&(h(0,"div",21),$(1,fO,8,3,"div",44),$(2,hO,6,0,"div",44),$(3,mO,8,3,"div",44),p()),2&e){const n=H();_(1),E("ngIf",n.license.error),_(1),E("ngIf",!n.license.error&&!n.license.isSponsor),_(1),E("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function vO(e,t){if(1&e){const n=Ge();h(0,"button",61),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("individual"))}),f(1,"Buy now"),p()}}function _O(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function CO(e,t){if(1&e){const n=Ge();h(0,"button",63),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("team"))}),f(1,"Buy now"),p()}}function DO(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function wO(e,t){if(1&e){const n=Ge();h(0,"button",64),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("enterprise"))}),f(1,"Buy now"),p()}}function bO(e,t){1&e&&(h(0,"button",62),f(1,"Coming soon"),p())}function EO(e,t){if(1&e&&(h(0,"div",2)(1,"div",51),v(2,"img",52),h(3,"h4",53),f(4,"Individual"),v(5,"br"),f(6),p(),h(7,"p"),f(8,"Annual - Per developer license."),p(),$(9,vO,2,0,"button",54),$(10,_O,2,0,"button",55),p(),h(11,"div",56),v(12,"img",57),h(13,"h4",53),f(14,"Team"),v(15,"br"),f(16),p(),h(17,"p"),f(18,"Annual - Up to 10 developers."),p(),$(19,CO,2,0,"button",58),$(20,DO,2,0,"button",55),p(),h(21,"div",56),v(22,"img",59),h(23,"h4",53),f(24,"Enterprise"),v(25,"br"),f(26),p(),h(27,"p"),f(28,"Annual - Unlimited developers."),p(),$(29,wO,2,0,"button",60),$(30,bO,2,0,"button",55),p()()),2&e){const n=H();_(6),Ce(n.paddleIndividualLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle),_(6),Ce(n.paddleTeamLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle),_(6),Ce(n.paddleEnterpriseLicensePrice),_(3),E("ngIf",n.enablePaddle),_(1),E("ngIf",!n.enablePaddle)}}function SO(e,t){1&e&&(fr(0),h(1,"div",42)(2,"span",43),f(3,"Loading..."),p()(),h(4,"span",66),f(5,"Your license is being generated. Please wait."),p(),hr())}function MO(e,t){if(1&e&&(h(0,"div")(1,"p"),f(2),p(),h(3,"p"),f(4,"Please try again later or use the "),h(5,"a",18),f(6," contact form"),p(),f(7,"."),p()()),2&e){const n=H(3);_(2),Ce(n.paddleLicense.error),_(3),E("routerLink",ne(2,kf))}}function IO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function AO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function TO(e,t){if(1&e){const n=Ge();h(0,"div")(1,"label",68),f(2,"Thank you for buying a license. Please save your license key persistently:"),p(),h(3,"textarea",69),f(4),p(),h(5,"button",48),F("click",function(){return ce(n),de(H(3).copyPaddle())}),$(6,IO,3,0,"span",44),$(7,AO,3,0,"span",44),p()()}if(2&e){const n=H(3);_(4),Ce(n.paddleLicense.license),_(2),E("ngIf",!n.paddleLicenseCopied),_(1),E("ngIf",n.paddleLicenseCopied)}}function xO(e,t){if(1&e&&(h(0,"div",67),$(1,MO,8,3,"div",44),$(2,TO,8,3,"div",44),p()),2&e){const n=H(2);_(1),E("ngIf",n.paddleLicense.error),_(1),E("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function RO(e,t){if(1&e&&(h(0,"div",2),$(1,SO,6,0,"ng-container",44),$(2,xO,3,2,"div",65),p()),2&e){const n=H();_(1),E("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),_(1),E("ngIf",n.paddleLicense)}}const Io=function(){return["/features"]};class ss{constructor(t,n){this.oauthService=t,this.licenseService=n,this.paddleIndividualLicensePrice="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.paddleLicenseRequested=!1,this.paddleLicenseCopied=!1,this.paddleLicense=null,this.self=this,window.paddleCheckoutComplete=r=>{this.paddleCheckoutComplete(r)},window.Paddle.Setup({vendor:144162}),window.Paddle.Product.Prices(762579,r=>{this.paddleIndividualLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762580,r=>{this.paddleTeamLicensePrice=r.recurring.price.gross}),window.Paddle.Product.Prices(762581,r=>{this.paddleEnterpriseLicensePrice=r.recurring.price.gross})}ngOnInit(){const t=this.oauthService.validateStateAndExtractCode();null!==t?(console.log("Code received",t),this.licenseRequested=!0,this.licenseService.getLicense(t).subscribe({next:n=>{console.log("Received license response"),this.license=n,this.scrollToGithub();try{window.splitbee?.track("GitHub_LicenceCreated")}catch{}},error:n=>{console.error(n),this.license=new Sw,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(t){console.error("Failed to copy license",t)}}copyPaddle(){try{navigator.clipboard.writeText(this.paddleLicense.license),this.paddleLicenseCopied=!0}catch(t){console.error("Failed to copy paddle license",t)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}openPaddleCheckout(t){"enterprise"===t?window.Paddle.Checkout.open({product:762581,successCallback:"paddleCheckoutComplete"}):"team"===t?window.Paddle.Checkout.open({product:762580,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:762579,successCallback:"paddleCheckoutComplete"})}paddleCheckoutComplete(t){console.log("Checkout completed",t),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(t).subscribe({next:n=>{console.log("Received paddle license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.splitbee?.track("Paddle_LicenceCreated")}catch{}},error:n=>{console.error(n),this.paddleLicense=new Sw,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}}ss.\u0275fac=function(t){return new(t||ss)(S(Mr),S(Ir))},ss.\u0275cmp=mt({type:ss,selectors:[["app-pro-component"]],decls:154,vars:19,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-check","pro-text"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","github"],[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","data-splitbee-event","GitHub_BecomeSponsor",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button","data-splitbee-event","GitHub_GetLicense",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","paddle"],["class","row",4,"ngIf"],[1,"mt-5"],["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"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["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"],[1,"col-xs-6","col-md-4","pb-3","text-center"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"mt-3"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",3,"click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-6","col-md-4","mt-4","mt-md-0","pb-3","text-center"],["src","resources/team.svg","alt","Team",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",3,"click",4,"ngIf"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],["type","button","class","btn btn-primary","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Enterprise",3,"click",4,"ngIf"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Individual",1,"btn","btn-primary",3,"click"],["type","button","disabled","",1,"btn","btn-primary"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Team",1,"btn","btn-primary",3,"click"],["type","button","data-splitbee-event","Paddle_ChoosePlan","data-splitbee-event-planType","Enterprise",1,"btn","btn-primary",3,"click"],["class","col-xs-12 col-md-6",4,"ngIf"],[2,"position","relative","left","35px","top","-20px"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"PRO"),p(),h(3,"div",2)(4,"div",3)(5,"table",4)(6,"thead")(7,"tr"),v(8,"th",5),h(9,"th",6),f(10,"Free"),p(),h(11,"th",6)(12,"span",7),f(13,"PRO"),p()()()(),h(14,"tbody")(15,"tr")(16,"th",8),f(17,"Metrics "),h(18,"a",9),v(19,"i",10),p()(),h(20,"td",11),v(21,"i",12),p(),h(22,"td",11),v(23,"i",12),p()(),h(24,"tr")(25,"th",8),f(26,"Risk Hotspots "),h(27,"a",13),v(28,"i",10),p()(),h(29,"td",11),v(30,"i",12),p(),h(31,"td",11),v(32,"i",12),p()(),h(33,"tr")(34,"th",8),f(35,"Line coverage "),h(36,"a",14),v(37,"i",10),p()(),h(38,"td",11),v(39,"i",12),p(),h(40,"td",11),v(41,"i",12),p()(),h(42,"tr")(43,"th",8),f(44,"Branch coverage "),h(45,"a",14),v(46,"i",10),p()(),h(47,"td",11),v(48,"i",12),p(),h(49,"td",11),v(50,"i",12),p()(),h(51,"tr")(52,"th",8),f(53,"Method coverage "),h(54,"a",14),v(55,"i",10),p()(),v(56,"td",11),h(57,"td",11),v(58,"i",15),p()(),h(59,"tr")(60,"th",8),f(61,"Metrics on summary page "),h(62,"a",9),v(63,"i",10),p()(),v(64,"td",11),h(65,"td",11),v(66,"i",15),p()()()()(),h(67,"div",16)(68,"p")(69,"i"),f(70,"ReportGenerator"),p(),f(71," is Open Source and free to use."),v(72,"br"),f(73," Some of the advanced features require a PRO license. "),p(),h(74,"p"),f(75," You can either become a "),h(76,"a",17),F("click",function(){return n.scrollToGithub()}),f(77,"GitHub sponsor"),p(),f(78," or you can "),h(79,"a",17),F("click",function(){return n.scrollToPaddle()}),f(80,"buy a license"),p(),f(81,"."),v(82,"br"),p(),h(83,"p"),f(84," Get "),h(85,"a",18),f(86,"in touch"),p(),f(87," if you have any issues and we will figure it out. "),p()()(),v(88,"div",19),p(),h(89,"section",20)(90,"div",0)(91,"h2",1),f(92,"Get your license as a sponsor"),p(),h(93,"div",2)(94,"div",21)(95,"p"),f(96,"You can obtain your license in two easy steps (no sign up required):"),p(),h(97,"span",22),f(98,"1."),p(),h(99,"a",23),v(100,"i",24),f(101," Become a GitHub sponsor"),p(),v(102,"br"),h(103,"span",22),f(104,"2."),p(),h(105,"button",25),F("click",function(){return n.requestLicense()}),v(106,"i",26),f(107," Get license"),p(),$(108,dO,3,0,"div",27),p(),$(109,yO,4,3,"div",28),p()(),v(110,"div",29),p(),h(111,"section",20)(112,"div",0)(113,"h2",1),f(114,"Buy a license"),p(),$(115,EO,31,9,"div",30),$(116,RO,3,2,"div",30),h(117,"div",31)(118,"p")(119,"i"),f(120,"ReportGenerator"),p(),f(121," licence purchases are provided with a 30 day money back guarantee."),p(),h(122,"p"),f(123,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns"),p()()()(),h(124,"section",32)(125,"h2",1),f(126,"Frequently Asked Questions"),p(),h(127,"div",33)(128,"div",34)(129,"h2",35)(130,"button",36),f(131," Are there limitations on number of users? "),p()(),h(132,"div",37)(133,"div",38)(134,"b"),f(135,"GitHub sponsors"),p(),v(136,"br"),h(137,"p"),f(138,"There's no enforced limit. Just pick a sponsor level that fits your company size and budget."),p(),h(139,"b"),f(140,"Bought license"),p(),v(141,"br"),h(142,"p"),f(143,"There's no enforced limit. Please choose a plan that matches the number of developers using "),h(144,"i"),f(145,"ReportGenerator"),p(),f(146,"."),p()()()(),h(147,"div",34)(148,"h2",39)(149,"button",40),f(150," Will my license expire? "),p()(),h(151,"div",41)(152,"div",38),f(153," Your license will not expire. "),p()()()()()),2&t&&(_(18),E("routerLink",ne(12,Io)),_(9),E("routerLink",ne(13,Io)),_(9),E("routerLink",ne(14,Io)),_(9),E("routerLink",ne(15,Io)),_(9),E("routerLink",ne(16,Io)),_(8),E("routerLink",ne(17,Io)),_(23),E("routerLink",ne(18,kf)),_(20),E("disabled",n.licenseRequested),_(3),E("ngIf",n.licenseRequested&&!n.license),_(1),E("ngIf",n.license),_(6),E("ngIf",!n.paddleLicenseRequested),_(1),E("ngIf",n.paddleLicenseRequested))},dependencies:[La,gn],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}"]});class bl{constructor(t,n,r,o,i,s){this.name=t,this.url=n,this.runtimes=r,this.description=o,this.installOptions=i,this.executables=s}formatExecutable(t){return t.tool}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?'"':"";return`\r\n${r}-${t}:${n}${r}`}formatArguments(t,n){return this.formatArgument(t,n.filter(r=>null!=r&&0!==r.length&&0!==r.trim().length).join(";"))}}class NO extends bl{formatExecutable(t){let n=`- task: ${t.tool}@${kt.majorVersion}`;return n+="\r\n displayName: ReportGenerator",n+="\r\n inputs:",console.log("hello",n),n}formatArgument(t,n){if(""===(n=n.trim()))return"";const r=n.indexOf(" ")>-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class FO{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"HtmlSummary",description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"HtmlChart",description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{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,sampleReport:"resources/reports/HtmlInline/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{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,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{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,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"SonarQube",description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"Latex",description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownSummaryGithub",description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"PngChart",description:"Creates a single PNG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/PngChart/CoverageHistory.png"},{name:"Badges",description:"Creates SVGs and PNGs files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],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(t){return this.sourcedirectories.splice(t,1),!1}addReport(){return this.reports.push(""),!1}removeReport(t){return this.reports.splice(t,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(t){return this.plugins.splice(t,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(t){return this.assemblyfilters.splice(t,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(t){return this.classfilters.splice(t,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(t){return this.filefilters.splice(t,1),!1}getUsage(t,n){const r=t.executables.find(a=>a.runtime==n);let o=void 0!==r?t.formatExecutable(r):"";o+=t.formatArguments("reports",this.reports),o+=t.formatArgument("targetdir",this.targetdir);for(var i="",s=0;s0&&(i+=";"),i+=this.reporttypes[s].name);return i.length>0&&"Html"!==i&&(o+=t.formatArgument("reporttypes",i)),o+=t.formatArguments("sourcedirs",this.sourcedirectories),o+=t.formatArgument("historydir",this.historydir),o+=t.formatArguments("plugins",this.plugins),o+=t.formatArguments("assemblyfilters",this.assemblyfilters),o+=t.formatArguments("classfilters",this.classfilters),o+=t.formatArguments("filefilters",this.filefilters),"Verbose"!==this.selectedverbosity&&(o+=t.formatArgument("verbosity",this.selectedverbosity)),o+=t.formatArgument("title",this.title),o+=t.formatArgument("tag",this.tag),o+=t.formatArgument("license",this.license),o}historyDirRequired(){for(let t=0;t-1?"'":"";return`\r\n ${t}: ${r}${n}${r}`}}class Of{constructor(t,n){this.tool=t,this.command=n}}function kO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",35),F("ngModelChange",function(o){return ce(n),de(H().selectedEnvironment=o)})("ngModelChange",function(){return ce(n),de(H().selectedEnvironmentChanged())}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",36),f(7),p()()()}if(2&e){const n=t.$implicit,r=H();_(2),E("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),_(2),Ce(n.name),_(3),Ce(n.description)}}function OO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",39),F("ngModelChange",function(o){return ce(n),de(H(3).selectedPackage=o)}),p(),h(3,"b"),f(4),p(),v(5,"br"),h(6,"div",36),f(7),p()()()}if(2&e){const n=H().$implicit,r=H(2);_(2),E("ngModel",r.selectedPackage)("value",n),_(2),Ce(n.name),_(3),Ce(n.description)}}function LO(e,t){if(1&e&&(fr(0),$(1,OO,8,4,"div",38),hr()),2&e){const n=t.$implicit,r=H(2);_(1),E("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function VO(e,t){if(1&e&&(fr(0),h(1,"h4"),f(2,"NuGet Package"),p(),$(3,LO,2,1,"ng-container",37),hr()),2&e){const n=H();_(3),E("ngForOf",n.packages)}}function UO(e,t){if(1&e){const n=Ge();h(0,"span",43),F("click",function(){ce(n);const o=H().index;return de(H().configuration.removeReport(o))}),h(1,"a",44),v(2,"i",45),p()()}}const HO=function(e){return{"input-group":e}};function jO(e,t){if(1&e){const n=Ge();h(0,"div",36)(1,"div",40)(2,"input",41),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.reports[s]=o)}),p(),$(3,UO,3,0,"span",42),p()()}if(2&e){const n=t.index,r=H();_(1),E("ngClass",Ac(4,HO,n>0)),_(1),In("name","report_",n,""),E("ngModel",r.configuration.reports[n]),_(1),E("ngIf",n>0)}}function BO(e,t){if(1&e){const n=Ge();h(0,"span",48),v(1,"i",49),f(2," Please specify a "),h(3,"a",9),F("click",function(){return ce(n),de(H(2).scrollToHistoryDir())}),f(4,"history directory"),p()()}}function $O(e,t){if(1&e&&(fr(0),v(1,"br",50),h(2,"a",27),f(3,"Sample report"),p(),f(4,"\xa0"),h(5,"a",27),v(6,"i",51),p(),hr()),2&e){const n=H().$implicit;_(2),E("href",n.sampleReport,Wr),_(3),E("href",n.sampleReport,Wr)}}function GO(e,t){if(1&e){const n=Ge();h(0,"div",33)(1,"label",34)(2,"input",46),F("change",function(){const i=ce(n).$implicit;return de(i.checked=!i.checked)}),p(),h(3,"b"),f(4),p(),$(5,BO,5,0,"span",47),v(6,"br"),h(7,"div",36),f(8),$(9,$O,7,2,"ng-container",5),p()()()}if(2&e){const n=t.$implicit,r=H();_(2),E("checked",n.checked),_(2),Ce(n.name),_(1),E("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),_(3),An("",n.description," "),_(1),E("ngIf",n.sampleReport)}}function zO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",53),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.sourcedirectories[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeSourceDirectory(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","sourcedir_",n,""),E("ngModel",r.configuration.sourcedirectories[n])}}function qO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",54),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.plugins[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removePlugin(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","plugin_",n,""),E("ngModel",r.configuration.plugins[n])}}function WO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",55),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.assemblyfilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeAssemblyFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","assemblyfilter_",n,""),E("ngModel",r.configuration.assemblyfilters[n])}}function KO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",56),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.classfilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeClassFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","classfilter_",n,""),E("ngModel",r.configuration.classfilters[n])}}function ZO(e,t){if(1&e){const n=Ge();h(0,"div",8)(1,"div",52)(2,"input",57),F("ngModelChange",function(o){const s=ce(n).index;return de(H().configuration.filefilters[s]=o)}),p(),h(3,"span",43),F("click",function(){const i=ce(n).index;return de(H().configuration.removeFileFilter(i))}),h(4,"a",44),v(5,"i",45),p()()()()}if(2&e){const n=t.index,r=H();_(2),In("name","filefilter_",n,""),E("ngModel",r.configuration.filefilters[n])}}function QO(e,t){if(1&e&&(h(0,"option",58),f(1),p()),2&e){const n=t.$implicit;E("value",n),_(1),Ce(n)}}function XO(e,t){if(1&e&&(h(0,"div",59)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",30),f(5),p()()),2&e){const n=t.$implicit;_(2),Ce(n.tool),_(3),Ce(n.command)}}function YO(e,t){1&e&&(h(0,"span"),v(1,"i",60),f(2," Copy"),p())}function JO(e,t){1&e&&(h(0,"span"),v(1,"i",61),f(2," Copied"),p())}function eL(e,t){if(1&e&&(h(0,"div",59)(1,"b"),f(2),p(),v(3,"br"),h(4,"pre",30),f(5),p()()),2&e){const n=t.$implicit;_(2),Ce(n.tool),_(3),Ce(n.command)}}function tL(e,t){1&e&&(h(0,"span"),v(1,"i",60),f(2," Copy"),p())}function nL(e,t){1&e&&(h(0,"span"),v(1,"i",61),f(2," Copied"),p())}const rL=function(){return["/pro"]};class ls{constructor(){this.versions=kt,this.lastResult="",this.usageCopied=!1,this.configuration=new FO,this.environments=[new El(".NET Core",".NET Core"),new El(".NET Framework","The full .NET framework"),new El("Azure DevOps",null),new El("Github Action",null)],this.packages=[new bl("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"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.",[new Of("Package Manager",`Install-Package ReportGenerator -Version ${kt.version}`),new Of(".NET CLI",`dotnet add package ReportGenerator --version ${kt.version}`)],[new as(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net47\\ReportGenerator.exe`),new as(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new bl("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new Of(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${kt.version}\r\n\r\ndotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${kt.version}\r\n\r\ndotnet new tool-manifest\r\ndotnet tool install dotnet-reportgenerator-globaltool --version ${kt.version}`)],[new as(".NET Core","reportgenerator")]),new NO("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new as("Azure DevOps","reportgenerator")]),new PO("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new as("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(t=>t.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){const t=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==t&&(this.lastResult=t,this.usageCopied=!1),t}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(t){console.error("Failed to copy license",t)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(t,n){return t}}ls.\u0275fac=function(t){return new(t||ls)},ls.\u0275cmp=mt({type:ls,selectors:[["app-usage-component"]],decls:215,vars:39,consts:[[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[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","form-check",4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir",1,"input-group","mb-3"],["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"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModel","value","checked","ngModelChange"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModel","value","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,"checked","change"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[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,"mt-2"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"]],template:function(t,n){1&t&&(h(0,"div",0)(1,"h1",1),f(2,"Usage"),p(),h(3,"div",2)(4,"div",3)(5,"form")(6,"h3"),f(7,"Environment"),p(),$(8,kO,8,5,"div",4),v(9,"hr"),$(10,VO,4,1,"ng-container",5),v(11,"hr"),h(12,"h3"),f(13,"Reports"),p(),h(14,"div",6),f(15,"Path to the coverage report(s) that should be parsed."),v(16,"br"),f(17,"Globbing is supported."),p(),$(18,jO,4,6,"div",7),h(19,"div",8)(20,"a",9),F("click",function(){return n.configuration.addReport()}),v(21,"i",10),f(22," Add report"),p()(),v(23,"br"),h(24,"h3"),f(25,"Target directory"),p(),h(26,"div",6),f(27,"The directory where the generated report(s) should be saved."),p(),h(28,"div",8)(29,"input",11),F("ngModelChange",function(o){return n.configuration.targetdir=o}),p()(),v(30,"br"),h(31,"h3"),f(32,"Report types"),p(),h(33,"div",6),f(34,"Download "),h(35,"a",12),f(36,"sample reports"),p()(),$(37,GO,10,5,"div",13),h(38,"h3"),f(39,"Source directories"),p(),h(40,"div",6),f(41,"Optional directories which contain the corresponding source code."),v(42,"br"),f(43,"The source directories are used if coverage report contains classes without path information."),p(),$(44,zO,6,2,"div",14),h(45,"div",15)(46,"a",9),F("click",function(){return n.configuration.addSourceDirectory()}),v(47,"i",10),f(48," Add source directory"),p()(),v(49,"br"),h(50,"h3"),f(51,"History directory"),p(),h(52,"div",6),f(53,"Optional directory for storing "),h(54,"b"),f(55,"persistent"),p(),f(56," coverage information. Choose a directory which does not get deleted between builds."),v(57,"br"),f(58,"Required to show the history chart in the HTML reports."),p(),h(59,"div",8)(60,"input",16),F("ngModelChange",function(o){return n.configuration.historydir=o}),p()(),v(61,"br"),h(62,"h3"),f(63,"Plugins"),p(),h(64,"div",6),f(65,"Optional plugin files for "),h(66,"a",17),f(67,"custom reports"),p(),f(68," or "),h(69,"a",18),f(70,"custom history storage"),p(),f(71,"."),p(),$(72,qO,6,2,"div",14),h(73,"div",8)(74,"a",9),F("click",function(){return n.configuration.addPlugin()}),v(75,"i",10),f(76," Add plugin"),p()(),v(77,"br"),h(78,"h3"),f(79,"Assembly filters"),p(),h(80,"div",6),f(81,"Optional list of "),h(82,"b"),f(83,"assemblies"),p(),f(84," that should be included or excluded in the report. "),v(85,"br"),f(86,"Exclusion filters take precedence over inclusion filters. "),v(87,"br"),f(88,"Wildcards are allowed."),v(89,"br"),h(90,"p"),f(91,"Examples:"),v(92,"br"),h(93,"code"),f(94,"+Included"),p(),v(95,"br"),h(96,"code"),f(97,"-Excluded"),p()()(),$(98,WO,6,2,"div",14),h(99,"div",8)(100,"a",9),F("click",function(){return n.configuration.addAssemblyFilter()}),v(101,"i",10),f(102," Add assembly filter"),p()(),v(103,"br"),h(104,"h3"),f(105,"Class filters"),p(),h(106,"div",6),f(107,"Optional list of "),h(108,"b"),f(109,"classes"),p(),f(110," that should be included or excluded in the report. "),v(111,"br"),f(112,"Exclusion filters take precedence over inclusion filters. "),v(113,"br"),f(114,"Wildcards are allowed."),v(115,"br"),h(116,"p"),f(117,"Examples:"),v(118,"br"),h(119,"code"),f(120,"+Included"),p(),v(121,"br"),h(122,"code"),f(123,"-Excluded"),p()()(),$(124,KO,6,2,"div",14),h(125,"div",8)(126,"a",9),F("click",function(){return n.configuration.addClassFilter()}),v(127,"i",10),f(128," Add class filter"),p()(),v(129,"br"),h(130,"h3"),f(131,"File filters"),p(),h(132,"div",6),f(133,"Optional list of "),h(134,"b"),f(135,"files"),p(),f(136," that should be included or excluded in the report. "),v(137,"br"),f(138,"Exclusion filters take precedence over inclusion filters. "),v(139,"br"),f(140,"Wildcards are allowed."),v(141,"br"),h(142,"p"),f(143,"Examples:"),v(144,"br"),h(145,"code"),f(146,"+Included"),p(),v(147,"br"),h(148,"code"),f(149,"-Excluded"),p()()(),$(150,ZO,6,2,"div",14),h(151,"div",8)(152,"a",9),F("click",function(){return n.configuration.addFileFilter()}),v(153,"i",10),f(154," Add file filter"),p()(),v(155,"br"),h(156,"h3"),f(157,"Verbosity"),p(),h(158,"div",6),f(159,"The verbosity level of the log messages."),p(),h(160,"div",8)(161,"select",19),F("ngModelChange",function(o){return n.configuration.selectedverbosity=o}),$(162,QO,2,2,"option",20),p()(),v(163,"br"),h(164,"h3"),f(165,"Title"),p(),h(166,"div",6),f(167,"Optional title."),p(),h(168,"div",8)(169,"input",21),F("ngModelChange",function(o){return n.configuration.title=o}),p()(),v(170,"br"),h(171,"h3"),f(172,"Tag"),p(),h(173,"div",6),f(174,"Optional tag or build version."),p(),h(175,"div",8)(176,"input",22),F("ngModelChange",function(o){return n.configuration.tag=o}),p()(),v(177,"br"),h(178,"h3"),f(179,"License"),p(),h(180,"div",6),f(181,"Optional license. Get your license here: "),h(182,"a",23),f(183,"https://reportgenerator.io/pro"),p()(),h(184,"div",8)(185,"textarea",24),F("ngModelChange",function(o){return n.configuration.license=o}),p()()()(),h(186,"div",25)(187,"div",26)(188,"h3"),f(189,"Instructions"),p(),f(190," Install "),h(191,"a",27),f(192),p(),$(193,XO,6,2,"div",28),h(194,"h4",29),f(195,"Usage"),p(),h(196,"pre",30),f(197),p(),h(198,"button",31),F("click",function(){return n.copy()}),$(199,YO,3,0,"span",5),$(200,JO,3,0,"span",5),p()(),h(201,"div",32)(202,"h3"),f(203,"Instructions"),p(),f(204," Install "),h(205,"a",27),f(206),p(),$(207,eL,6,2,"div",28),h(208,"h4",29),f(209,"Usage"),p(),h(210,"pre",30),f(211),p(),h(212,"button",31),F("click",function(){return n.copy()}),$(213,tL,3,0,"span",5),$(214,nL,3,0,"span",5),p()()()()()),2&t&&(_(8),E("ngForOf",n.environments),_(2),E("ngIf",n.severalPackagesAvailable()),_(8),E("ngForOf",n.configuration.reports)("ngForTrackBy",n.trackByIndex),_(11),E("ngModel",n.configuration.targetdir),_(8),E("ngForOf",n.configuration.reporttypes)("ngForTrackBy",n.trackByIndex),_(7),E("ngForOf",n.configuration.sourcedirectories)("ngForTrackBy",n.trackByIndex),_(16),E("ngModel",n.configuration.historydir)("required",n.configuration.historyDirRequired()),_(12),E("ngForOf",n.configuration.plugins)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.assemblyfilters)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.classfilters)("ngForTrackBy",n.trackByIndex),_(26),E("ngForOf",n.configuration.filefilters)("ngForTrackBy",n.trackByIndex),_(11),E("ngModel",n.configuration.selectedverbosity),_(1),E("ngForOf",n.configuration.verbosities)("ngForTrackBy",n.trackByIndex),_(7),E("ngModel",n.configuration.title),_(7),E("ngModel",n.configuration.tag),_(6),E("routerLink",ne(38,rL)),_(3),E("ngModel",n.configuration.license),_(6),E("href",n.selectedPackage.url,Wr),_(1),Ce(n.selectedPackage.name),_(1),E("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(2),E("ngIf",!n.usageCopied),_(1),E("ngIf",n.usageCopied),_(5),E("href",n.selectedPackage.url,Wr),_(1),Ce(n.selectedPackage.name),_(1),E("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(2),E("ngIf",!n.usageCopied),_(1),E("ngIf",n.usageCopied))},dependencies:[pd,f_,La,gn,Xd,JC,tD,xi,tl,Yd,Vd,Ud,Li,rf,el,Oi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]});const oL=[{path:"",component:os,pathMatch:"full",title:"Home",data:{canonical:"/"}},{path:"features",component:ns,title:"Features",data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:rs,title:"Get started",data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:ls,title:"Usage",data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:ss,title:"PRO",data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:ts,title:"Contact",data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:is,title:"404 - Not found"},{path:"**",redirectTo:"/404"}];class Ao{}Ao.\u0275fac=function(t){return new(t||Ao)},Ao.\u0275mod=Lt({type:Ao}),Ao.\u0275inj=Mt({imports:[ww.forRoot(oL,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),ww]});const Mw=function(){return["/"]},iL=function(e){return{show:e}},To=function(){return["link-active"]},Iw=function(){return{exact:!0}},sL=function(){return["/features"]},aL=function(){return["/getstarted"]},lL=function(){return["/usage"]},uL=function(){return["/contact"]},cL=function(){return["/pro"]};class us{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}us.\u0275fac=function(t){return new(t||us)},us.\u0275cmp=mt({type:us,selectors:[["app-nav-menu"]],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-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",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,"nav-link","text-dark","text-nowrap",3,"routerLink"],["data-splitbee-event","Routing","data-splitbee-event-source","NavMenu",1,"nav-link","text-dark",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(t,n){1&t&&(h(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),v(4,"img",4),h(5,"span",5),f(6,"ReportGenerator"),p()(),h(7,"button",6),F("click",function(){return n.toggle()}),v(8,"span",7),p(),h(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),f(13,"Home"),p()(),h(14,"li",10)(15,"a",11),f(16,"Features"),p()(),h(17,"li",12)(18,"a",13),f(19,"Get started"),p()(),h(20,"li",12)(21,"a",11),f(22,"Usage"),p()(),h(23,"li",12)(24,"a",11),f(25,"Contact"),p()(),h(26,"li",12)(27,"a",14)(28,"span",15),f(29,"PRO"),p()()()(),v(30,"hr",16),h(31,"ul",17)(32,"li",18)(33,"a",19),v(34,"i",20),h(35,"span",21),f(36,"GitHub"),p()()(),h(37,"li",18)(38,"a",22),v(39,"i",23),h(40,"span",21),f(41,"Twitter"),p()()()()()()()()),2&t&&(_(3),E("routerLink",ne(17,Mw)),_(4),$t("aria-expanded",n.isExpanded),_(2),E("ngClass",Ac(18,iL,n.isExpanded)),_(2),E("routerLinkActive",ne(20,To))("routerLinkActiveOptions",ne(21,Iw)),_(1),E("routerLink",ne(22,Mw)),_(2),E("routerLinkActive",ne(23,To))("routerLinkActiveOptions",ne(24,Iw)),_(1),E("routerLink",ne(25,sL)),_(2),E("routerLinkActive",ne(26,To)),_(1),E("routerLink",ne(27,aL)),_(2),E("routerLinkActive",ne(28,To)),_(1),E("routerLink",ne(29,lL)),_(2),E("routerLinkActive",ne(30,To)),_(1),E("routerLink",ne(31,uL)),_(2),E("routerLinkActive",ne(32,To)),_(1),E("routerLink",ne(33,cL)))},dependencies:[pd,gn,pw],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:#20a0d2;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%)}50%{background-color:#1c8eb7;background-image:linear-gradient(50deg,#1A6FBA 0%,#1EA1B5 100%);box-shadow:0 0 6px 1px #20a0d2}to{background-color:#20a0d2;background-image:linear-gradient(50deg,#1c7ed6 0%,#23b8cf 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{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;font-weight:500}.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}"]});const dL=function(){return["/pro"]};class cs{constructor(){this.years=(new Date).getFullYear()-2009}}cs.\u0275fac=function(t){return new(t||cs)},cs.\u0275cmp=mt({type:cs,selectors:[["app-footer"]],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5",2,"max-height","300px"],[1,"col-xs-12","col-md-8"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["data-splitbee-event","Routing","data-splitbee-event-source","Footer",3,"routerLink"],[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","mt-4","mt-md-0"],["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","mt-4","mt-md-0"],[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(t,n){1&t&&(h(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),v(5,"img",5),p(),h(6,"div",6)(7,"h2"),f(8,"Who's behind"),p(),h(9,"p"),f(10,"My name is Daniel Palme. I'm a software developer from Germany."),p(),h(11,"p"),f(12," Back in 2009 I wanted to create a code coverage report based on "),h(13,"i"),f(14,"PartCover"),p(),f(15," files."),v(16,"br"),f(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),v(18,"br"),f(19),h(20,"i"),f(21,"ReportGenerator"),p(),f(22,". "),p(),h(23,"p"),f(24," You can support the ongoing maintenance by becoming a "),v(25,"i",7),f(26,"\xa0"),h(27,"a",8),f(28,"GitHub sponsor"),p(),f(29," or by buying a "),h(30,"a",9),f(31,"PRO license"),p(),f(32,". "),p()()()()(),h(33,"div",2)(34,"div",3),v(35,"hr"),p()(),h(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),f(42,"GitHub"),p()(),h(43,"a",11),f(44,"Source code"),p(),v(45,"br"),h(46,"a",12),f(47,"Wiki"),p(),v(48,"br"),h(49,"a",13),f(50,"FAQ"),p()(),h(51,"div",14)(52,"p")(53,"b"),f(54,"Download"),p()(),h(55,"i"),f(56,"NuGet"),p(),v(57,"br"),h(58,"a",15),f(59,"ReportGenerator"),p(),v(60,"br"),h(61,"a",16),f(62,"dotnet-reportgenerator-globaltool"),p(),v(63,"br"),h(64,"a",17),f(65,"ReportGenerator.Core"),p(),v(66,"br")(67,"br"),h(68,"i"),f(69,"Integration"),p(),v(70,"br"),h(71,"a",18),f(72,"GitHub actions"),p(),v(73,"br"),h(74,"a",19),f(75,"Azure DevOps"),p()(),h(76,"div",20)(77,"p")(78,"b"),f(79,"Community"),p()(),h(80,"a",11),v(81,"i",21),f(82," GitHub"),p(),v(83,"br"),h(84,"a",22),v(85,"i",23),f(86," Twitter"),p(),v(87,"br")(88,"br"),h(89,"a",24),f(90,"Privacy"),p(),v(91,"br"),h(92,"a",25),f(93,"Imprint"),p()()()()()()),2&t&&(_(19),An(" Fast forward ",n.years," years, I'm still maintaining "),_(11),E("routerLink",ne(2,dL)))},dependencies:[gn],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]});class ds{constructor(t,n,r){this.dom=t,this.router=n,this.activatedRoute=r}ngOnInit(){this.router.events.pipe(Qt(t=>t instanceof Xn),W(()=>this.activatedRoute),W(t=>{for(;t.firstChild;)t=t.firstChild;return t}),Qt(t=>"primary"===t.outlet),$e(t=>t.data)).subscribe(t=>{const n=`${window.location.protocol}//${window.location.hostname}`;this.updateCanonicalUrl(t.canonical?n+t.canonical:n+this.router.url)})}updateCanonicalUrl(t){const n=this.dom.getElementsByTagName("head")[0];var r=this.dom.querySelector("link[rel='canonical']")||null;null==r&&(r=this.dom.createElement("link"),n.appendChild(r)),r.setAttribute("rel","canonical"),r.setAttribute("href",t)}}ds.\u0275fac=function(t){return new(t||ds)(S(et),S(pt),S(br))},ds.\u0275cmp=mt({type:ds,selectors:[["app-root"]],decls:3,vars:0,template:function(t,n){1&t&&v(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[bf,us,cs],encapsulation:2});class xo{}xo.\u0275fac=function(t){return new(t||xo)},xo.\u0275mod=Lt({type:xo,bootstrap:[ds]}),xo.\u0275inj=Mt({providers:[Mr,Ir,Sr],imports:[qR,Ao,bN,TF]}),zR().bootstrapModule(xo).catch(e=>console.error(e))}},he=>{he(he.s=304)}]); \ No newline at end of file diff --git a/global.json b/global.json index 5bbfe867..c412abc7 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.200", + "version": "7.0.103", "rollForward": "latestMajor" } } \ No newline at end of file diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index afb223ed..44674763 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -13,7 +13,7 @@ "version": { "Major": 5, "Minor": 1, - "Patch": 17 + "Patch": 18 }, "instanceNameFormat": "ReportGenerator", "groups": [ diff --git a/src/AzureDevopsTask/vss-extension.json b/src/AzureDevopsTask/vss-extension.json index 131abe91..b7073742 100644 --- a/src/AzureDevopsTask/vss-extension.json +++ b/src/AzureDevopsTask/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "reportgenerator", "name": "ReportGenerator", - "version": "5.1.17", + "version": "5.1.18", "publisher": "Palmmedia", "public": true, "targets": [ diff --git a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj index c46a285d..eb331e6e 100644 --- a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj +++ b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.Console.NetCore.Program - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 diff --git a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj index 9229b38c..60d809ed 100644 --- a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj +++ b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj @@ -8,8 +8,8 @@ ReportGenerator.Console ReportGenerator.Console Copyright © 2022 - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 bin\$(Configuration)\ false diff --git a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj index bcbf2339..72406ddd 100644 --- a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj +++ b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj @@ -4,8 +4,8 @@ net7.0 false Palmmedia.ReportGenerator.Core.Test - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 false diff --git a/src/ReportGenerator.Core/ReportGenerator.Core.csproj b/src/ReportGenerator.Core/ReportGenerator.Core.csproj index 06e256fc..e84b425a 100644 --- a/src/ReportGenerator.Core/ReportGenerator.Core.csproj +++ b/src/ReportGenerator.Core/ReportGenerator.Core.csproj @@ -7,8 +7,8 @@ false true ReportGenerator.Core - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 diff --git a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj index 7c9d3eec..16094f86 100644 --- a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj +++ b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj @@ -2,8 +2,8 @@ netcoreapp3.1;net5.0;net6.0;net7.0 ReportGenerator.DotnetCorePluginLoader - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 True diff --git a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj index 5679ea59..28c5ccb7 100644 --- a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj +++ b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.DotnetGlobalTool.Program - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 diff --git a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj index 8e3d8f75..24d974ff 100644 --- a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj +++ b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj @@ -5,8 +5,8 @@ Palmmedia.ReportGenerator.MSBuild false true - 5.1.17.0 - 5.1.17.0 + 5.1.18.0 + 5.1.18.0 diff --git a/src/build.proj b/src/build.proj index bcf0a9b4..f51f8470 100644 --- a/src/build.proj +++ b/src/build.proj @@ -22,7 +22,7 @@ - 5.1.17 + 5.1.18