diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bc22303..3f991b4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ env: buildPlatform: Any CPU buildConfiguration: Release version: 5.1.13 - dotnetSDKVersion: 7.0.101 + dotnetSDKVersion: 7.0.102 nodeVersion: 18 jobs: diff --git a/README.md b/README.md index dd880ac1..d54cf6b9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

-ReportGenerator +ReportGenerator
ReportGenerator

@@ -212,12 +212,12 @@ If you need a custom format, you can create a [plugin](https://github.com/daniel ### Screenshots The screenshots show two snippets of the generated reports: - - Screenshot 1 + + Screenshot 1 - - Screenshot 2 + + Screenshot 2 **Badges** diff --git a/docs/404.html b/docs/404.html index db8d1d3a..9471f5e0 100644 --- a/docs/404.html +++ b/docs/404.html @@ -21,5 +21,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/contact.html b/docs/contact.html index 293da2b6..43f12768 100644 --- a/docs/contact.html +++ b/docs/contact.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico index 8bb140f2..b68f7b53 100644 Binary files a/docs/favicon.ico and b/docs/favicon.ico differ diff --git a/docs/features.html b/docs/features.html index a287a1e7..a5ca3428 100644 --- a/docs/features.html +++ b/docs/features.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/getstarted.html b/docs/getstarted.html index cd7093ba..5563ef3d 100644 --- a/docs/getstarted.html +++ b/docs/getstarted.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index cf6bafe4..8953f3eb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ ReportGenerator - + @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/main.6a1f288ef241becb.js b/docs/main.6a1f288ef241becb.js new file mode 100644 index 00000000..b3259ac0 --- /dev/null +++ b/docs/main.6a1f288ef241becb.js @@ -0,0 +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.14"},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/Summary.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/docs/main.805e09d90245116c.js b/docs/main.805e09d90245116c.js deleted file mode 100644 index 03b0d2af..00000000 --- a/docs/main.805e09d90245116c.js +++ /dev/null @@ -1 +0,0 @@ -"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 ds=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 ds?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Lf(i)}catch(s){t=t??[],s instanceof ds?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ds(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Lf(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 kf=Et.EMPTY;function Of(e){return e instanceof Et||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function Lf(e){he(e)?e():e.unsubscribe()}const Yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},fs={setTimeout(e,t,...n){const{delegate:r}=fs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=fs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Vf(e){fs.setTimeout(()=>{const{onUnhandledError:t}=Yn;if(!t)throw e;t(e)})}function Uf(){}const Mw=wl("C",void 0,void 0);function wl(e,t,n){return{kind:e,value:t,error:n}}let Jn=null;function hs(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 bl extends Et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Of(t)&&t.add(this)):this.destination=Fw}static create(t,n,r){return new ps(t,n,r)}next(t){this.isStopped?Sl(function Aw(e){return wl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Sl(function Iw(e){return wl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Sl(Mw,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 xw=Function.prototype.bind;function El(e,t){return xw.call(e,t)}class Rw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){gs(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){gs(r)}else gs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){gs(n)}}}class ps extends bl{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&&El(t.next,i),error:t.error&&El(t.error,i),complete:t.complete&&El(t.complete,i)}):o=t}this.destination=new Rw(o)}}function gs(e){Yn.useDeprecatedSynchronousErrorHandling?function Tw(e){Yn.useDeprecatedSynchronousErrorHandling&&Jn&&(Jn.errorThrown=!0,Jn.error=e)}(e):Vf(e)}function Sl(e,t){const{onStoppedNotification:n}=Yn;n&&fs.setTimeout(()=>n(e,t))}const Fw={closed:!0,next:Uf,error:function Nw(e){throw e},complete:Uf},Ml="function"==typeof Symbol&&Symbol.observable||"@@observable";function er(e){return e}function Hf(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 Ow(e){return e&&e instanceof bl||function kw(e){return e&&he(e.next)&&he(e.error)&&he(e.complete)}(e)&&Of(e)}(n)?n:new ps(n,r,o);return hs(()=>{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=jf(r))((o,i)=>{const s=new ps({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)}[Ml](){return this}pipe(...n){return Hf(n)(this)}toPromise(n){return new(n=jf(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function jf(e){var t;return null!==(t=e??Yn.Promise)&&void 0!==t?t:Promise}const Lw=Ro(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pn=(()=>{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 Bf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Lw}next(n){hs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){hs(()=>{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(){hs(()=>{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?kf:(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 Bf(t,n),e})();class Bf extends pn{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:kf}}function $f(e){return he(e?.lift)}function Be(e){return t=>{if($f(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 Vw(e,t,n,r,o)}class Vw extends bl{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 jw(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 Bw(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 qf(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 Wf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Kf(e){return he(e?.then)}function Zf(e){return he(e[Ml])}function Qf(e){return Symbol.asyncIterator&&he(e?.[Symbol.asyncIterator])}function Xf(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 Yf=function Gw(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Jf(e){return he(e?.[Yf])}function eh(e){return jw(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 th(e){return he(e?.getReader)}function Yt(e){if(e instanceof Se)return e;if(null!=e){if(Zf(e))return function zw(e){return new Se(t=>{const n=e[Ml]();if(he(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wf(e))return function qw(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,Vf)})}(e);if(Qf(e))return nh(e);if(Jf(e))return function Kw(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(th(e))return function Zw(e){return nh(eh(e))}(e)}throw Xf(e)}function nh(e){return new Se(t=>{(function Qw(e,t){var n,r,o,i;return function Uw(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=Bw(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 gn(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 Xw(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,E=>{o?.(E),i?m(E):t.next(E)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;l.length&&uy(E)):y(E)}g()}catch(E){t.error(E)}}))};return e.subscribe(Oe(t,m,()=>{d=!0,g()})),()=>{a?.()}}(r,o,e,n)))}function Ir(e=1/0){return $e(er,e)}const mn=new Se(e=>e.complete());function Al(e){return e[e.length-1]}function rh(e){return he(Al(e))?e.pop():void 0}function Fo(e){return function Jw(e){return e&&he(e.schedule)}(Al(e))?e.pop():void 0}function oh(e,t=0){return Be((n,r)=>{n.subscribe(Oe(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function ih(e,t=0){return Be((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function sh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Me(e,t){return t?function sb(e,t){if(null!=e){if(Zf(e))return function tb(e,t){return Yt(e).pipe(ih(t),oh(t))}(e,t);if(Wf(e))return function rb(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(Kf(e))return function nb(e,t){return Yt(e).pipe(ih(t),oh(t))}(e,t);if(Qf(e))return sh(e,t);if(Jf(e))return function ob(e,t){return new Se(n=>{let r;return gn(n,t,()=>{r=e[Yf](),gn(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(th(e))return function ib(e,t){return sh(eh(e),t)}(e,t)}throw Xf(e)}(e,t):Yt(e)}function Ar(e){return e<=0?()=>mn:Be((t,n)=>{let r=0;t.subscribe(Oe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Tl(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(Ar(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 xl(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 Rl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ub=le({__forward_ref__:le});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return ue(this())},e}function V(e){return Nl(e)?e():e}function Nl(e){return"function"==typeof e&&e.hasOwnProperty(ub)&&e.__forward_ref__===pe}function Fl(e){return e&&!!e.\u0275providers}const ah="https://g.co/ng/security#xss";class I extends Error{constructor(t,n){super(function ms(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function $(e){return"string"==typeof e?e:null==e?"":String(e)}function ys(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 vs(e){return lh(e,_s)||lh(e,ch)}function lh(e,t){return e.hasOwnProperty(t)?e[t]:null}function uh(e){return e&&(e.hasOwnProperty(Pl)||e.hasOwnProperty(vb))?e[Pl]:null}const _s=le({\u0275prov:le}),Pl=le({\u0275inj:le}),ch=le({ngInjectableDef:le}),vb=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 kl;function It(e){const t=kl;return kl=e,t}function dh(e,t,n){const r=vs(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 ys(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={},Ol="__NG_DI_FLAG__",Cs="ngTempTokenPath",Db=/\n/gm,fh="__source";let ko;function Tr(e){const t=ko;return ko=e,t}function bb(e,t=U.Default){if(void 0===ko)throw new I(-203,!1);return null===ko?dh(e,void 0,t):ko.get(e,t&U.Optional?null:void 0,t)}function R(e,t=U.Default){return(function _b(){return kl}()||bb)(V(e),t)}function Y(e,t=U.Default){return R(e,Ds(t))}function Ds(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ll(e){const t=[];for(let n=0;n((Ot=Ot||{})[Ot.OnPush=0]="OnPush",Ot[Ot.Default=1]="Default",Ot))(),Jt=(()=>{return(e=Jt||(Jt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Jt;var e})();const yn={},re=[],ws=le({\u0275cmp:le}),Vl=le({\u0275dir:le}),Ul=le({\u0275pipe:le}),ph=le({\u0275mod:le}),vn=le({\u0275fac:le}),Lo=le({__NG_ELEMENT_ID__:le});let Ib=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||Jt.Emulated,id:"c"+Ib++,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=yh(e.inputs,r),o.outputs=yh(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(gh).filter(mh):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(rt).filter(mh):null,o})}function gh(e){return se(e)||Ze(e)}function mh(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 yh(e,t){if(null==e)return yn;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[ws]||null}function Ze(e){return e[Vl]||null}function rt(e){return e[Ul]||null}function yt(e,t){const n=e[ph]||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 Bl(e){return 0!=(4&e.flags)}function jo(e){return e.componentOffset>-1}function Is(e){return 1==(1&e.flags)}function Ht(e){return null!==e.template}function xb(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(vn)?e[vn]:null}class Fb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function At(){return bh}function bh(e){return e.type.prototype.ngOnChanges&&(e.setInput=kb),Pb}function Pb(){const e=Sh(this),t=e?.current;if(t){const n=e.previous;if(n===yn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function kb(e,t,n,r){const o=this.declaredInputs[n],i=Sh(e)||function Ob(e,t){return e[Eh]=t}(e,{previous:yn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new Fb(l&&l.currentValue,t,a===yn),e[r]=t}At.ngInherit=!0;const Eh="__ngSimpleChanges__";function Sh(e){return e[Eh]||null}function ze(e){for(;Array.isArray(e);)e=e[0];return e}function As(e,t){return ze(t[e])}function _t(e,t){return ze(t[e.index])}function Ah(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return vt(n)?n:n[0]}function Ts(e){return 64==(64&e[2])}function Vn(e,t){return null==t?null:e[t]}function Th(e){e[18]=0}function Gl(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 G={lFrame:Uh(null),bindingsEnabled:!0};function Rh(){return G.bindingsEnabled}function b(){return G.lFrame.lView}function te(){return G.lFrame.tView}function ce(e){return G.lFrame.contextLView=e,e[8]}function de(e){return G.lFrame.contextLView=null,e}function qe(){let e=Nh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Nh(){return G.lFrame.currentTNode}function tn(e,t){const n=G.lFrame;n.currentTNode=e,n.isParent=t}function zl(){return G.lFrame.isParent}function ql(){G.lFrame.isParent=!1}function it(){const e=G.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Or(){return G.lFrame.bindingIndex++}function Zb(e,t){const n=G.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wl(t)}function Wl(e){G.lFrame.currentDirectiveIndex=e}function Oh(){return G.lFrame.currentQueryIndex}function Zl(e){G.lFrame.currentQueryIndex=e}function Xb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Lh(e,t,n){if(n&U.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&U.Host||(o=Xb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=G.lFrame=Vh();return r.currentTNode=t,r.lView=e,!0}function Ql(e){const t=Vh(),n=e[1];G.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vh(){const e=G.lFrame,t=null===e?null:e.child;return null===t?Uh(e):t}function Uh(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 Hh(){const e=G.lFrame;return G.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const jh=Hh;function Xl(){const e=Hh();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 G.lFrame.selectedIndex}function or(e){G.lFrame.selectedIndex=e}function _e(){const e=G.lFrame;return Ah(e.tView,e.selectedIndex)}function xs(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 eu(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 tu=!0;function ks(e){const t=tu;return tu=e,t}let dE=0;const nn={};function Os(e,t){const n=Zh(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,nu(r.data,e),nu(t,null),nu(r.blueprint,null));const o=ru(e,t),i=e.injectorIndex;if(qh(o)){const s=Fs(o),a=Ps(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 nu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ru(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=np(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ou(e,t,n){!function fE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lo)&&(r=n[Lo]),null==r&&(r=n[Lo]=dE++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:mE:t}(n);if("function"==typeof i){if(!Lh(t,e,r))return r&U.Host?Qh(o,0,r):Xh(t,n,r,o);try{const s=i(r);if(null!=s||r&U.Optional)return s;ys()}finally{jh()}}else if("number"==typeof i){let s=null,a=Zh(e,t),l=-1,u=r&U.Host?t[16][6]:null;for((-1===a||r&U.SkipSelf)&&(l=-1===a?ru(e,t):t[a+8],-1!==l&&tp(r,!1)?(s=t[1],a=Fs(l),t=Ps(l,t)):a=-1);-1!==a;){const c=t[1];if(ep(i,a,c.data)){const d=pE(a,t,n,s,r,u);if(d!==nn)return d}l=t[a+8],-1!==l&&tp(r,t[1].data[a+8]===u)&&ep(i,a,t)?(s=c,a=Fs(l),t=Ps(l,t)):a=-1}}return o}function pE(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Ls(a,s,n,null==r?jo(a)&&tu:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==c?ir(t,s,c,a):nn}function Ls(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 aE(e){return e instanceof $o}(o)){const s=o;s.resolving&&function cb(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():$(e)}(i[n]));const a=ks(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?It(s.injectImpl):null;Lh(e,r,U.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function iE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=bh(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),ks(a),s.resolving=!1,jh()}}return o}function ep(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[vn]||iu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[vn]||iu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function iu(e){return Nl(e)?()=>{const t=iu(V(e));return t&&t()}:rr(e)}function np(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Hr="__parameters__";function Br(e,t,n){return Ln(()=>{const r=function su(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(Hr)?l[Hr]:Object.defineProperty(l,Hr,{value:[]})[Hr];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 op(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dt(e,t,n){let r=$r(e,t);return r>=0?e[1|r]=n:(r=~r,function DE(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 lu(e,t){const n=$r(e,t);if(n>=0)return e[1|n]}function $r(e,t){return function ip(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 pu=new Map;let $E=0;const mu="__ngContext__";function Ye(e,t){vt(t)?(e[mu]=t[20],function zE(e){pu.set(e[20],e)}(t)):e[mu]=t}function vu(e,t){return undefined(e,t)}function Jo(e){const t=e[3];return Ut(t)?t[3]:t}function _u(e){return Sp(e[13])}function Cu(e){return Sp(e[4])}function Sp(e){for(;null!==e&&!Ut(e);)e=e[4];return e}function zr(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?Rp(t,n,a):ar(t,n,a,o||null,!0):1===e&&null!==n?ar(t,n,a,o||null,!0):2===e?function Iu(e,t,n){const r=$s(e,t);r&&function f0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function g0(e,t,n,r,o){const i=n[7];i!==ze(n)&&zr(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Us(e,10+t);!function r0(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 Ap(e,t){if(!(128&t[2])){const n=t[Q];n.destroyNode&&ei(e,t,n,3,null,null),function a0(e){let t=e[13];if(!t)return Eu(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)&&Eu(t[1],t),t=t[3];null===t&&(t=e),vt(t)&&Eu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Eu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function d0(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===Jt.None||i===Jt.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 Rp(e,t,n){e.appendChild(t,n)}function Np(e,t,n,r,o){null!==r?ar(e,t,n,r,o):Rp(e,t,n)}function $s(e,t){return e.parentNode(t)}let xu,Ws,kp=function Pp(e,t,n){return 40&e.type?_t(e,n):null};function Gs(e,t,n,r){const o=Tp(e,r,t),i=t[Q],a=function Fp(e,t,n){return kp(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 Ws}()?.createScriptURL(e)||e}class zp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ah})`}}function Un(e){return e instanceof zp?e.changingThisBreaksApplicationSecurity:e}function ti(e,t){const n=function I0(e){return e instanceof zp&&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 ${ah})`)}return n===t}const R0=/^(?:(?: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 qr(e){const t=ri();return t?t.sanitize(Re.URL,e)||"":ti(e,"URL")?Un(e):function Nu(e){return(e=String(e)).match(R0)?e:"unsafe:"+e}($(e))}function Yp(e){const t=ri();if(t)return Gp(t.sanitize(Re.RESOURCE_URL,e)||"");if(ti(e,"ResourceURL"))return Gp(Un(e));throw new I(904,!1)}function ri(){const e=b();return e&&e[12]}const Zs=new N("ENVIRONMENT_INITIALIZER"),eg=new N("INJECTOR",-1),tg=new N("INJECTOR_DEF_TYPES");class ng{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 z0(...e){return{\u0275providers:rg(0,e),\u0275fromNgModule:!0}}function rg(e,...t){const n=[],r=new Set;let o;return sr(t,i=>{const s=i;Ou(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&og(o,n),n}function og(e,t){for(let n=0;n{t.push(i)})}}function Ou(e,t,n,r){if(!(e=V(e)))return!1;let o=null,i=uh(e);const s=!i&&se(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=uh(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)Ou(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{sr(i.imports,c=>{Ou(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&og(u,t)}if(!a){const u=rr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:re},{provide:tg,useValue:o,multi:!0},{provide:Zs,useValue:()=>R(o),multi:!0})}const l=i.providers;null==l||a||Lu(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Lu(e,t){for(let n of e)Fl(n)&&(n=n.\u0275providers),Array.isArray(n)?Lu(n,t):t(n)}const q0=le({provide:String,useValue:le});function Vu(e){return null!==e&&"object"==typeof e&&q0 in e}function ur(e){return"function"==typeof e}const Uu=new N("Set Injector scope."),Qs={},K0={};let Hu;function Xs(){return void 0===Hu&&(Hu=new ng),Hu}class rn{}class ag extends rn{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,Bu(t,s=>this.processProvider(s)),this.records.set(eg,Wr(void 0,this)),o.has("environment")&&this.records.set(rn,Wr(void 0,this));const i=this.records.get(Uu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tg.multi,re,U.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Tr(this),r=It(void 0);try{return t()}finally{Tr(n),It(r)}}get(t,n=Po,r=U.Default){this.assertNotDestroyed(),r=Ds(r);const o=Tr(this),i=It(void 0);try{if(!(r&U.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function J0(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(t)&&vs(t);a=l&&this.injectableDefInScope(l)?Wr(ju(t),Qs):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&U.Self?Xs():this.parent).get(t,n=r&U.Optional&&n===Po?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Cs]=s[Cs]||[]).unshift(ue(t)),o)throw s;return function Sb(e,t,n,r){const o=e[Cs];throw t[fh]&&o.unshift(t[fh]),e.message=function Mb(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(Db,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Cs]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{It(i),Tr(o)}}resolveInjectorInitializers(){const t=Tr(this),n=It(void 0);try{const r=this.get(Zs.multi,re,U.Self);for(const o of r)o()}finally{Tr(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 Q0(e){return Vu(e)?Wr(void 0,e.useValue):Wr(lg(e),Qs)}(t);if(ur(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Wr(void 0,Qs,!0),o.factory=()=>Ll(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qs&&(n.value=K0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Y0(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 ju(e){const t=vs(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 Z0(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 lg(e,t,n){let r;if(ur(e)){const o=V(e);return rr(o)||ju(o)}if(Vu(e))r=()=>V(e.useValue);else if(function sg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ll(e.deps||[]));else if(function ig(e){return!(!e||!e.useExisting)}(e))r=()=>R(V(e.useExisting));else{const o=V(e&&(e.useClass||e.provide));if(!function X0(e){return!!e.deps}(e))return rr(o)||ju(o);r=()=>new o(...Ll(e.deps))}return r}function Wr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bu(e,t){for(const n of e)Array.isArray(n)?Bu(n,t):n&&Fl(n)?Bu(n.\u0275providers,t):t(n)}class e1{}class ug{}class n1{resolveComponentFactory(t){throw function t1(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 n1,e})();function r1(){return Kr(qe(),b())}function Kr(e,t){return new wt(_t(e,t))}let wt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=r1,e})();function o1(e){return e instanceof wt?e.nativeElement:e}class dg{}let bn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function i1(){const e=b(),n=Ct(qe().index,e);return(vt(n)?n:e)[Q]}(),e})(),s1=(()=>{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 a1=new ii("15.0.4"),$u={};function zu(e){return e.ngOriginalError}class Zr{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&&zu(t);for(;n&&zu(n);)n=zu(n);return n||null}}function En(e){return e instanceof Function?e():e}function hg(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 pg="ng-template";function v1(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const m=8&r?g:null;if(m&&-1!==hg(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 D1(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+=yg(i,o),o=""),r=s,i=i||!jt(r);n++}return""!==o&&(t+=yg(i,o)),t}const z={};function _(e){vg(te(),b(),st()+e,!1)}function vg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Rs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ns(t,i,0,n)}or(n)}function wg(e,t=null,n=null,r){const o=bg(e,t,n,r);return o.resolveInjectorInitializers(),o}function bg(e,t=null,n=null,r,o=new Set){const i=[n||re,z0(e)];return r=r||("object"==typeof e?void 0:ue(e)),new ag(i,t||Xs(),r||null,o)}let Bt=(()=>{class e{static create(n,r){if(Array.isArray(n))return wg({name:""},r,n,"");{const o=n.name??"";return wg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Po,e.NULL=new ng,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>R(eg)}),e.__NG_ELEMENT_ID__=-1,e})();function S(e,t=U.Default){const n=b();return null===n?R(e,t):Yh(qe(),n,V(e),t)}function Rg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&vg(e,t,22,!1),n(r,o)}finally{or(i)}}function Yu(e,t,n){if(Bl(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,z),o)}function on(e,t,n,r,o,i){const s=_t(e,t);!function oc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?$(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[Q],s,i,e.value,n,r,o)}function fS(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l0&&ic(n)}}function ic(e){for(let r=_u(e);null!==r;r=Cu(r))for(let o=10;o0&&ic(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&ic(o)}}function yS(e,t){const n=Ct(t,e),r=n[1];(function vS(e,t){for(let n=t.length;n-1&&(bu(t,r),Us(n,r))}this._attachedToViewContainer=!1}Ap(this._lView[1],this._lView)}onDestroy(t){Pg(this._lView[1],this._lView,null,t)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){na(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 s0(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 _S extends ai{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;na(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class zg extends oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=se(t);return new li(n,this.ngModule)}}function qg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class DS{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ds(r);const o=this.injector.get(t,$u,r);return o!==$u||n===$u?o:this.parentInjector.get(t,n,r)}}class li extends ug{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function I1(e){return e.map(M1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qg(this.componentDef.inputs)}get outputs(){return qg(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof rn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new DS(t,i):t,a=s.get(dg,null);if(null===a)throw new I(407,!1);const l=s.get(s1,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function X1(e,t,n){return e.selectRootElement(t,n===Jt.ShadowDom)}(u,r,this.componentDef.encapsulation):wu(u,c,function CS(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),g=this.componentDef.onPush?288:272,m=tc(0,null,null,1,0,null,null,null,null,null),y=Js(null,m,null,g,null,null,a,u,l,s,null);let C,w;Ql(y);try{const E=this.componentDef;let A,D=null;E.findHostDirectiveDefs?(A=[],D=new Map,E.findHostDirectiveDefs(E,A,D),A.push(E)):A=[E];const L=function bS(e,t){const n=e[1];return e[22]=t,Yr(n,22,2,"#host",null)}(y,d),fe=function ES(e,t,n,r,o,i,s,a){const l=o[1];!function SS(e,t,n,r){for(const o of e)t.mergedAttrs=Go(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ra(t,t.mergedAttrs,!0),null!==n&&Hp(r,n,t))}(r,e,t,s);const u=i.createRenderer(t,n),c=Js(o,Fg(n),null,n.onPush?32:16,o[e.index],e,i,u,a||null,null,null);return l.firstCreatePass&&rc(l,e,r.length-1),ta(o,c),o[e.index]=c}(L,d,E,A,y,a,u);w=Ah(m,22),d&&function IS(e,t,n,r){if(r)eu(e,n,["ng-version",a1.full]);else{const{attrs:o,classes:i}=function A1(e){const t=[],n=[];let r=1,o=2;for(;r0&&Up(e,n,i.join(" "))}}(u,E,d,r),void 0!==n&&function AS(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 uc(e){return e===yn?{}:e===re?[]:e}function RS(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function NS(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function FS(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let ia=null;function cr(){if(!ia){const e=ge.Symbol;if(e&&e.iterator)ia=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 WS(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=fm(r,t,c,i,!1);const L=n.listen(w,o,i);d.push(i,L),u&&u.push(o,A,E,E+1)}}else i=fm(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=dm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=dm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function H(e=1){return function Yb(e){return(G.lFrame.contextLView=function Jb(e,t){for(;e>0;)t=t[15],e--;return t}(e,G.lFrame.contextLView))[8]}(e)}function Mn(e,t,n,r,o){const i=b(),s=eo(i,t,n,r);return s!==z&&bt(te(),_e(),i,e,s,i[Q],o,!1),Mn}function aa(e,t){return e<<17|t<<2}function Hn(e){return e>>17&32767}function hc(e){return 2|e}function pr(e){return(131068&e)>>2}function pc(e,t){return-131069&e|t<<2}function gc(e){return 1|e}function wm(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];nM(e[a],t)&&(l=!0,e[a+1]=r?gc(c):hc(c)),a=r?Hn(c):pr(c)}l&&(e[n+1]=r?hc(i):gc(i))}function nM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&$r(e,t)>=0}function la(e,t){return function Gt(e,t,n,r){const o=b(),i=te(),s=function Dn(e){const t=G.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Rm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[st()],s=function xm(e,t){return t>=e.expandoStartIndex}(e,n);(function km(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function dM(e,t,n,r){const o=function Kl(e){const t=G.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=mc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=mc(o,e,t,n,r),null===i){let l=function fM(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=mc(null,e,t,l[1],r),l=fi(l,t.attrs,r),function hM(e,t,n,r){e[Hn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function pM(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const g=Hn(e[a+1]);e[r+1]=aa(g,a),0!==g&&(e[g+1]=pc(e[g+1],r)),e[a+1]=function YS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=aa(a,0),0!==a&&(e[a+1]=pc(e[a+1],r)),a=r;else e[r+1]=aa(l,0),0===a?a=r:e[l+1]=pc(e[l+1],r),l=r;u&&(e[r+1]=hc(e[r+1])),wm(e,c,r,!0),wm(e,c,r,!1),function tM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&$r(i,t)>=0&&(n[r+1]=gc(n[r+1]))}(t,c,e,r,i),s=aa(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==z&&Je(o,s,t)&&function Fm(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function JS(e){return 1==(1&e)}(u)?Pm(l,t,n,o,pr(u),s):void 0;ua(c)||(ua(i)||function XS(e){return 2==(2&e)}(u)&&(i=Pm(l,null,n,o,a,s)),function m0(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,As(st(),n),o,i))}(i,i.data[st()],o,o[Q],e,o[s+1]=function yM(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),la}function mc(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===z&&(g=d?re:void 0);let m=d?lu(g,r):c===r?g:void 0;if(u&&!ua(m)&&(m=lu(l,r)),ua(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=lu(l,r))}return a}function ua(e){return void 0!==e}function f(e,t=""){const n=b(),r=te(),o=e+22,i=r.firstCreatePass?Yr(r,o,1,t,null):r.data[o],s=n[o]=function Du(e,t){return e.createText(t)}(n[Q],t);Gs(r,n,s,i),tn(i,!1)}function Ce(e){return In("",e,""),Ce}function In(e,t,n){const r=b(),o=eo(r,e,t,n);return o!==z&&function Sn(e,t,n){const r=As(t,e);!function Mp(e,t,n){e.setValue(t,n)}(e[Q],r,n)}(r,st(),o),In}const co="en-US";let ry=co;function _c(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=Dc(a,t,o?c:c+g,d);-1===y?(ou(Os(u,s),i,a),Cc(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=Dc(a,t,c+g,d),y=Dc(a,t,c,c+g),C=m>=0&&n[m],w=y>=0&&n[y];if(o&&!w||!o&&!C){ou(Os(u,s),i,a);const E=function kI(e,t,n,r,o){const i=new $o(e,n,S);return i.multi=[],i.index=t,i.componentProviders=0,Ay(i,o,r&&!n),i}(o?PI:FI,n.length,o,r,l);!o&&w&&(n[y].providerFactory=E),Cc(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(E),s.push(E)}else Cc(i,e,m>-1?m:y,Ay(n[o?y:m],l,!o&&r));!o&&r&&w&&n[y].componentProviders++}}}function Cc(e,t,n,r){const o=ur(t),i=function W0(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 Ay(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function NI(e,t,n){const r=te();if(r.firstCreatePass){const o=Ht(e);_c(n,r.data,r.blueprint,o,!0),_c(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class fo{}class Ty{}class xy extends fo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zg(this);const r=yt(t);this._bootstrapComponents=En(r.bootstrap),this._r3Injector=bg(t,n,[{provide:fo,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 bc extends Ty{constructor(t){super(),this.moduleType=t}create(t){return new xy(this.moduleType,t)}}class LI extends fo{constructor(t,n,r){super(),this.componentFactoryResolver=new zg(this),this.instance=null;const o=new ag([...t,{provide:fo,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],n||Xs(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function pa(e,t,n=null){return new LI(e,t,n).injector}let VI=(()=>{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=rg(0,n.type),o=r.length>0?pa([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(rn))}),e})();function Ry(e){e.getStandaloneInjector=t=>t.get(VI).getOrCreateStandaloneInjector(e)}function ne(e,t,n){const r=it()+e,o=b();return o[r]===z?sn(o,r,n?t.call(n):t()):function ci(e,t){return e[t]}(o,r)}function Sc(e,t,n,r){return function Vy(e,t,n,r,o,i){const s=t+n;return Je(e,s,o)?sn(e,s+1,i?r.call(i,o):r(o)):function vi(e,t){const n=e[t];return n===z?void 0:n}(e,s+1)}(b(),it(),e,t,n,r)}function Mc(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class lA extends pn{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=Mc(i),o&&(o=Mc(o)),s&&(s=Mc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Et&&t.add(a),a}};function uA(){return this._results[cr()]()}class Ic{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=Ic.prototype;r[n]||(r[n]=uA)}get changes(){return this._changes||(this._changes=new Ee)}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 _E(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=fA,e})();const cA=An,dA=class extends cA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Js(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)),Xu(r,o,t),new ai(o)}};function fA(){return ga(qe(),b())}function ga(e,t){return 4&e.type?new dA(t,e,Kr(e,t)):null}let qt=(()=>{class e{}return e.__NG_ELEMENT_ID__=hA,e})();function hA(){return zy(qe(),b())}const pA=qt,$y=class extends pA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ru(this._hostTNode,this._hostLView);if(qh(t)){const n=Ps(t,this._hostLView),r=Fs(t);return new Vr(n[1].data[r+8],n)}return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Gy(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(rn,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 jb(e){return Ut(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],g=new $y(d,d[6],d[3]);g.detach(g.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function l0(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=ya,this.reject=ya,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(va,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Di=new N("AppId",{providedIn:"root",factory:function vv(){return`${Vc()}${Vc()}${Vc()}`}});function Vc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _v=new N("Platform Initializer"),Uc=new N("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Cv=new N("appBootstrapListener");let BA=(()=>{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 Tn=new N("LocaleId",{providedIn:"root",factory:()=>Y(Tn,U.Optional|U.SkipSelf)||function $A(){return typeof $localize<"u"&&$localize.locale||co}()});class zA{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Dv=(()=>{class e{compileModuleSync(n){return new bc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=En(yt(n).declarations).reduce((s,a)=>{const l=se(a);return l&&s.push(new li(l)),s},[]);return new zA(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 KA=(()=>Promise.resolve(0))();function Hc(e){typeof Zone>"u"?KA.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 ZA(){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 YA(e){const t=()=>{!function XA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bc(e),e.isCheckStableRunning=!0,jc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Ev(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Sv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Ev(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Sv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Bc(e),jc(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,QA,ya,ya);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 QA={};function jc(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 Bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ev(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sv(e){e._nesting--,jc(e)}class JA{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 Mv=new N(""),Ca=new N("");let zc,$c=(()=>{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,zc||(function eT(e){zc=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(),Hc(()=>{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())Hc(()=>{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(Gc),R(Ca))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),Gc=(()=>{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 zc?.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 Iv=new N("AllowMultipleToken"),qc=new N("PlatformDestroyListeners");class Av{constructor(t,n){this.name=t,this.token=n}}function xv(e,t,n=[]){const r=`Platform: ${t}`,o=new N(r);return(i=[])=>{let s=Wc();if(!s||s.injector.get(Iv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function rT(e){if(jn&&!jn.get(Iv,!1))throw new I(400,!1);jn=e;const t=e.get(Nv);(function Tv(e){const t=e.get(_v,null);t&&t.forEach(n=>n())})(e)}(function Rv(e=[],t){return Bt.create({name:t,providers:[{provide:Uu,useValue:"platform"},{provide:qc,useValue:new Set([()=>jn=null])},...e]})}(a,r))}return function iT(e){const t=Wc();if(!t)throw new I(401,!1);return t}()}}function Wc(){return jn?.get(Nv)??null}let Nv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Pv(e,t){let n;return n="noop"===e?new JA:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function Fv(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(Zr,null);if(!l)throw new I(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{wa(this._modules,a),u.unsubscribe()})}),function kv(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(_a);return u.runInitializers(),u.donePromise.then(()=>(function oy(e){St(e,"Expected localeId to be defined"),"string"==typeof e&&(ry=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Tn,co)||co),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Ov({},r);return function tT(e,t,n){const r=new bc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Da);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(qc,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 Ov(e,t){return Array.isArray(t)?t.reduce(Ov,e):{...e,...t}}let Da=(()=>{class e{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(),Hc(()=>{!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 ab(...e){const t=Fo(e),n=function eb(e,t){return"number"==typeof Al(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Yt(r[0]):Ir(n)(Me(r,t)):mn}(i,s.pipe(function lb(e={}){const{connector:t=(()=>new pn),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 E=l=l??t();w.add(()=>{u--,0===u&&!d&&!c&&(a=Tl(y,o))}),E.subscribe(w),s||(s=new ps({next:A=>E.next(A),error:A=>{d=!0,g(),a=Tl(m,n,A),E.error(A)},complete:()=>{c=!0,g(),a=Tl(m,r),E.complete()}}),Me(C).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ug;if(!this._injector.get(_a).done)throw!o&&function xr(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 nT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(fo),u=s.create(Bt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Mv,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),wa(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;wa(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Cv,[]);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),()=>wa(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(rn),R(Zr))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function wa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let ba=(()=>{class e{}return e.__NG_ELEMENT_ID__=aT,e})();function aT(e){return function lT(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 jv{constructor(){}supports(t){return ui(t)}create(t){return new pT(t)}}const hT=(e,t)=>t;class pT{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||hT}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<$v(r,o,i)?n:r,a=$v(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const u=a-o,c=l-o;if(u!=c){for(let g=0;g{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 gT(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 Bv),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 Bv),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 gT{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 mT{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 Bv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mT,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 $v(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 vT(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 vT{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 zv(){return new Ma([new jv])}let Ma=(()=>{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||zv()),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:zv}),e})();function qv(){return new wi([new Gv])}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||qv()),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:qv}),e})();const DT=xv(null,"core",[]);let wT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(R(Da))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();function go(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Yc=null;function un(){return Yc}class ST{}const et=new N("DocumentToken");let Jc=(()=>{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 MT(){return R(Wv)}()},providedIn:"platform"}),e})();const IT=new N("Location Initialized");let Wv=(()=>{class e extends Jc{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return un().getBaseHref(this._doc)}onPopState(n){const r=un().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=un().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){Kv()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){Kv()?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 AT(){return new Wv(R(et))}()},providedIn:"platform"}),e})();function Kv(){return!!window.history.pushState}function ed(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 Zv(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 Rn(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(Xv)},providedIn:"root"}),e})();const Qv=new N("appBaseHref");let Xv=(()=>{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 ed(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Rn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Rn(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(Jc),R(Qv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),TT=(()=>{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=ed(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Rn(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(Jc),R(Qv,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})(),td=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function NT(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(Zv(Yv(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+Rn(r))}normalize(n){return e.stripTrailingSlash(function RT(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._basePath,Yv(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+Rn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rn(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=Rn,e.joinWithSlash=ed,e.stripTrailingSlash=Zv,e.\u0275fac=function(n){return new(n||e)(R(yr))},e.\u0275prov=P({token:e,factory:function(){return function xT(){return new td(R(yr))}()},providedIn:"root"}),e})();function Yv(e){return e.replace(/\/index.html$/,"")}function a_(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 dd=(()=>{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(Ma),S(wi),S(wt),S(bn))},e.\u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class mx{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 c_=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new mx(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),d_(a,o)}});for(let o=0,i=r.length;o{d_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(S(qt),S(An),S(Ma))},e.\u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function d_(e,t){e.context.$implicit=t.item}let Oa=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new vx,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){f_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){f_("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(An))},e.\u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class vx{constructor(){this.$implicit=null,this.ngIf=null}}function f_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ue(t)}'.`)}let Wx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})();let Xx=(()=>{class e{}return e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new Yx(R(et),window)}),e})();class Yx{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 Jx(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=m_(this.window.history)||m_(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 m_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class y_{}class MR extends ST{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class vd extends MR{static makeCurrent(){!function ET(e){Yc||(Yc=e)}(new vd)}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 IR(){return Mi=Mi||document.querySelector("base"),Mi?Mi.getAttribute("href"):null}();return null==n?null:function AR(e){Va=Va||document.createElement("a"),Va.setAttribute("href",e);const t=Va.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return a_(document.cookie,t)}}let Va,Mi=null;const b_=new N("TRANSITION_ID"),xR=[{provide:va,useFactory:function TR(e,t,n){return()=>{n.get(_a).donePromise.then(()=>{const r=un(),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 Ua=new N("EventManagerPlugins");let Ha=(()=>{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 S_{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(M_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(M_))}}return e.\u0275fac=function(n){return new(n||e)(R(et))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function M_(e){un().remove(e)}const _d={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/"},Cd=/%COMP%/g;function Dd(e,t){return t.flat(100).map(n=>n.replace(Cd,e))}function T_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let wd=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new bd(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Jt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new VR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Jt.ShadowDom:return new UR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Dd(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(Ha),R(Ii),R(Di))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();class bd{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(_d[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(R_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(R_(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=_d[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=_d[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,T_(r)):this.eventManager.addEventListener(t,n,T_(r))}}function R_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class VR extends bd{constructor(t,n,r,o){super(t),this.component=r;const i=Dd(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function kR(e){return"_ngcontent-%COMP%".replace(Cd,e)}(o+"-"+r.id),this.hostAttr=function OR(e){return"_nghost-%COMP%".replace(Cd,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 UR extends bd{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=Dd(o.id,o.styles);for(let s=0;s{class e extends E_{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 N_=["alt","control","meta","shift"],jR={"\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"},BR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $R=(()=>{class e extends E_{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(()=>un().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."),N_.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=jR[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"),N_.forEach(s=>{s!==o&&(0,BR[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 WR=xv(DT,"browser",[{provide:Uc,useValue:"browser"},{provide:_v,useValue:function GR(){vd.makeCurrent()},multi:!0},{provide:et,useFactory:function qR(){return function D0(e){xu=e}(document),document},deps:[]}]),k_=new N(""),O_=[{provide:Ca,useClass:class RR{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?un().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Mv,useClass:$c,deps:[Ne,Gc,Ca]},{provide:$c,useClass:$c,deps:[Ne,Gc,Ca]}],L_=[{provide:Uu,useValue:"root"},{provide:Zr,useFactory:function zR(){return new Zr},deps:[]},{provide:Ua,useClass:HR,multi:!0,deps:[et,Ne,Uc]},{provide:Ua,useClass:$R,multi:!0,deps:[et]},{provide:wd,useClass:wd,deps:[Ha,Ii,Di]},{provide:dg,useExisting:wd},{provide:S_,useExisting:Ii},{provide:Ii,useClass:Ii,deps:[et]},{provide:Ha,useClass:Ha,deps:[Ua,Ne]},{provide:y_,useClass:NR,deps:[]},[]];let KR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Di,useValue:n.appId},{provide:b_,useExisting:Di},xR]}}}return e.\u0275fac=function(n){return new(n||e)(R(k_,12))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[...L_,...O_],imports:[Wx,wT]}),e})(),V_=(()=>{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 QR(){return new V_(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 ja{}class Md{}class Fn{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 Fn?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 Fn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Fn?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 oN{encodeKey(t){return j_(t)}encodeValue(t){return j_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const sN=/%(\d[a-f0-9])/gi,aN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j_(e){return encodeURIComponent(e).replace(sN,(t,n)=>aN[n]??t)}function Ba(e){return`${e}`}class Gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new oN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function iN(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(Ba):[Ba(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(Ba(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(Ba(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 lN{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 B_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function $_(e){return typeof Blob<"u"&&e instanceof Blob}function G_(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 uN(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 Fn),this.context||(this.context=new lN),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 Id{constructor(t,n=200,r="OK"){this.headers=t.headers||new Fn,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 Ad extends Id{constructor(t={}){super(t),this.type=ke.ResponseHeader}clone(t={}){return new Ad({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 $a extends Id{constructor(t={}){super(t),this.type=ke.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new $a({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 z_ extends Id{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 Td(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 xd=(()=>{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 Fn?o.headers:new Fn(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 $a));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,Td(o,r))}post(n,r,o={}){return this.request("POST",n,Td(o,r))}put(n,r,o={}){return this.request("PUT",n,Td(o,r))}}return e.\u0275fac=function(n){return new(n||e)(R(ja))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function q_(e,t){return t(e)}function dN(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const hN=new N("HTTP_INTERCEPTORS"),Ti=new N("HTTP_INTERCEPTOR_FNS");function pN(){let e=null;return(t,n)=>(null===e&&(e=(Y(hN,{optional:!0})??[]).reduceRight(dN,q_)),e(t,n))}let W_=(()=>{class e extends ja{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 fN(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),q_)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(R(Md),R(rn))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const vN=/^\)\]\}',?\n/;let Z_=(()=>{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 Fn(o.getAllResponseHeaders()),C=function _N(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 Ad({headers:y,status:o.status,statusText:m,url:C}),s},l=()=>{let{headers:m,status:y,statusText:C,url:w}=a(),E=null;204!==y&&(E=typeof o.response>"u"?o.responseText:o.response),0===y&&(y=E?200:0);let A=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof E){const D=E;E=E.replace(vN,"");try{E=""!==E?JSON.parse(E):null}catch(L){E=D,A&&(A=!1,E={error:L,text:E})}}A?(r.next(new $a({body:E,headers:m,status:y,statusText:C,url:w||void 0})),r.complete()):r.error(new z_({error:E,headers:m,status:y,statusText:C,url:w||void 0}))},u=m=>{const{url:y}=a(),C=new z_({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(y_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();const Rd=new N("XSRF_ENABLED"),Q_="XSRF-TOKEN",X_=new N("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Q_}),Y_="X-XSRF-TOKEN",J_=new N("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Y_});class eC{}let CN=(()=>{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=a_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(R(et),R(Uc),R(X_))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function DN(e,t){const n=e.url.toLowerCase();if(!Y(Rd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=Y(eC).getToken(),o=Y(J_);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 mo(e,t){return{\u0275kind:e,\u0275providers:t}}function wN(...e){const t=[xd,Z_,W_,{provide:ja,useExisting:W_},{provide:Md,useExisting:Z_},{provide:Ti,useValue:DN,multi:!0},{provide:Rd,useValue:!0},{provide:eC,useClass:CN}];for(const n of e)t.push(...n.\u0275providers);return function G0(e){return{\u0275providers:e}}(t)}const tC=new N("LEGACY_INTERCEPTOR_FN");function EN({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:X_,useValue:e}),void 0!==t&&n.push({provide:J_,useValue:t}),mo(Te.CustomXsrfConfiguration,n)}let SN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({providers:[wN(mo(Te.LegacyInterceptors,[{provide:tC,useFactory:pN},{provide:Ti,useExisting:tC,multi:!0}]),EN({cookieName:Q_,headerName:Y_}))]}),e})();const{isArray:MN}=Array,{getPrototypeOf:IN,prototype:AN,keys:TN}=Object;function nC(e){if(1===e.length){const t=e[0];if(MN(t))return{args:t,keys:null};if(function xN(e){return e&&"object"==typeof e&&IN(e)===AN}(t)){const n=TN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:RN}=Array;function rC(e){return W(t=>function NN(e,t){return RN(t)?e(...t):e(t)}(e,t))}function oC(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let iC=(()=>{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(bn),S(wt))},e.\u0275dir=B({type:e}),e})(),vr=(()=>{class e extends iC{}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 cn=new N("NgValueAccessor"),kN={provide:cn,useExisting:pe(()=>xi),multi:!0},LN=new N("CompositionEventMode");let xi=(()=>{class e extends iC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ON(){const e=un()?un().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(bn),S(wt),S(LN,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([kN]),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 cC(e){return zn(e.value)?{required:!0}:null}function Ga(e){return null}function mC(e){return null!=e}function yC(e){return di(e)?Me(e):e}function vC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function _C(e,t){return t.map(n=>n(e))}function CC(e){return e.map(t=>function HN(e){return!e.validate}(t)?t:n=>t.validate(n))}function Nd(e){return null!=e?function DC(e){if(!e)return null;const t=e.filter(mC);return 0==t.length?null:function(n){return vC(_C(n,t))}}(CC(e)):null}function Fd(e){return null!=e?function wC(e){if(!e)return null;const t=e.filter(mC);return 0==t.length?null:function(n){return function FN(...e){const t=rh(e),{args:n,keys:r}=nC(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?oC(r,a):a),i.complete())}))}});return t?o.pipe(rC(t)):o}(_C(n,t).map(yC)).pipe(W(vC))}}(CC(e)):null}function bC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Pd(e){return e?Array.isArray(e)?e:[e]:[]}function za(e,t){return Array.isArray(e)?e.includes(t):e===t}function MC(e,t){const n=Pd(t);return Pd(e).forEach(o=>{za(n,o)||n.push(o)}),n}function IC(e,t){return Pd(t).filter(n=>!za(e,n))}class AC{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=Nd(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Fd(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 AC{get formDirective(){return null}get path(){return null}}class Wn extends AC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class TC{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 kd=(()=>{class e extends TC{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&&la("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})(),Od=(()=>{class e extends TC{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&&la("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",Wa="INVALID",yo="PENDING",Ni="DISABLED";function Hd(e){return(Ka(e)?e.validators:e)||null}function jd(e,t){return(Ka(t)?t.asyncValidators:e)||null}function Ka(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class FC{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===Wa}get pending(){return this.status==yo}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(MC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(MC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(IC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(IC(t,this._rawAsyncValidators))}hasValidator(t){return za(this._rawValidators,t)}hasAsyncValidator(t){return za(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=yo,!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===yo)&&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=yo,this._hasOwnPendingAsyncValidator=!0;const n=yC(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?Wa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yo)?yo:this._anyControlsHaveStatus(Wa)?Wa: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){Ka(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 WN(e){return Array.isArray(e)?Nd(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function KN(e){return Array.isArray(e)?Fd(e):e||null}(this._rawAsyncValidators)}}class Bd extends FC{constructor(t,n,r){super(Hd(n),jd(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 NC(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 RC(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:()=>$d}),$d="always";function Pi(e,t,n=$d){Gd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function XN(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&PC(e,t)})}(e,t),function JN(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 YN(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&PC(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function QN(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Xa(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Gd(e,t){const n=function EC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(bC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function SC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(bC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Xa(t._rawValidators,o),Xa(t._rawAsyncValidators,o)}function PC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const oF={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 Bd({},Nd(n),Fd(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 Bd({});(function kC(e,t){Gd(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 OC(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([oF]),ae]}),e})();function LC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function VC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const UC=class extends FC{constructor(t=null,n,r){super(Hd(n),jd(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}),Ka(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=VC(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){LC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){LC(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){VC(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}},aF={provide:Wn,useExisting:pe(()=>Ja)},BC=(()=>Promise.resolve())();let Ja=(()=>{class e extends Wn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new UC,this._registered=!1,this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Wd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===xi?n=i:function nF(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 qd(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){BC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&go(r);BC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Za(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(cn,10),S(ba,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([aF]),ae,At]}),e})(),Kd=(()=>{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 uF={provide:cn,useExisting:pe(()=>Zd),multi:!0};let GC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({}),e})(),cF=(()=>{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:GC}),e})(),Zd=(()=>{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(bn),S(wt),S(cF),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([uF]),ae]}),e})();const yF={provide:cn,useExisting:pe(()=>el),multi:!0};function QC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let el=(()=>{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=QC(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 vF(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([yF]),ae]}),e})(),XC=(()=>{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(QC(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(bn),S(el,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const _F={provide:cn,useExisting:pe(()=>Jd),multi:!0};function YC(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Jd=(()=>{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(YC(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(YC(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(bn),S(Jd,9))},e.\u0275dir=B({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),_r=(()=>{class e{constructor(){this._validator=Ga}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):Ga,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 bF={provide:tt,useExisting:pe(()=>Li),multi:!0};let Li=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=go,this.createValidator=n=>cC}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([bF]),ae]}),e})();const AF={provide:tt,useExisting:pe(()=>ef),multi:!0};let ef=(()=>{class e extends _r{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>function gC(e){if(!e)return Ga;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([AF]),ae]}),e})(),TF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[GC]}),e})(),xF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Fi,useValue:n.callSetDisabledState??$d}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[TF]}),e})();class Xt extends pn{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 tl=Ro(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function lD(...e){const t=Fo(e),n=rh(e),{args:r,keys:o}=nC(e);if(0===r.length)return Me([],t);const i=new Se(function NF(e,t,n=er){return r=>{uD(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=>oC(o,s):er));return n?i.pipe(rC(n)):i}function uD(e,t,n){e?gn(n,e,t):t()}function tf(...e){return function FF(){return Ir(1)}()(Me(e,Fo(e)))}function cD(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 nf(){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 dD extends Se{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$f(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 nf()(this)}}function dn(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 nl(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 fD(e=kF){return Be((t,n)=>{let r=!1;t.subscribe(Oe(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kF(){return new tl}function Kn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,Ar(1),n?nl(t):fD(()=>new tl))}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 OF(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 hD(e,t){return Be(OF(e,t,arguments.length>=2,!0))}function rf(e){return e<=0?()=>mn: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 pD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Qt((o,i)=>e(o,i,r)):er,rf(1),n?nl(t):fD(()=>new tl))}function sf(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const X="primary",Ui=Symbol("RouteTitle");class UF{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 vo(e){return new UF(e)}function HF(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 mD(e){return Array.prototype.concat.apply([],e)}function yD(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 fc(e)?e:di(e)?Me(Promise.resolve(e)):k(e)}const rl=!1,BF={exact:function CD(e,t,n){if(!Dr(e.segments,t.segments)||!ol(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!CD(e.children[r],t.children[r],n))return!1;return!0},subset:DD},vD={exact:function $F(e,t){return fn(e,t)},subset:function GF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gD(e[n],t[n]))},ignored:()=>!0};function _D(e,t,n){return BF[n.paths](e.root,t.root,n.matrixParams)&&vD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function DD(e,t,n){return wD(e,t,t.segments,n)}function wD(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Dr(o,n)||t.hasChildren()||!ol(o,n,r))}if(e.segments.length===n.length){if(!Dr(e.segments,n)||!ol(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!DD(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)&&ol(e.segments,o,r)&&e.children[X])&&wD(e.children[X],t,i,r)}}function ol(e,t,n){return t.every((r,o)=>vD[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=vo(this.queryParams)),this._queryParamMap}toString(){return WF.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 il(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=vo(this.parameters)),this._parameterMap}toString(){return SD(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 af},providedIn:"root"}),e})();class af{parse(t){const n=new nP(t);return new Cr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Bi(t.root,!0)}`,r=function QF(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${sl(n)}=${sl(o)}`).join("&"):`${sl(n)}=${sl(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function KF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const WF=new af;function il(e){return e.segments.map(t=>SD(t)).join("/")}function Bi(e,t){if(!e.hasChildren())return il(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 qF(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]?`${il(e)}/${n[0]}`:`${il(e)}/(${n.join("//")})`}}function bD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sl(e){return bD(e).replace(/%3B/gi,";")}function lf(e){return bD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function al(e){return decodeURIComponent(e)}function ED(e){return al(e.replace(/\+/g,"%20"))}function SD(e){return`${lf(e.path)}${function ZF(e){return Object.keys(e).map(t=>`;${lf(t)}=${lf(e[t])}`).join("")}(e.parameters)}`}const XF=/^[^\/()?;=#]+/;function ll(e){const t=e.match(XF);return t?t[0]:""}const YF=/^[^=?&#]+/,eP=/^[^&#]+/;class nP{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=ll(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new I(4009,rl);return this.capture(t),new Hi(al(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=ll(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=ll(this.remaining);o&&(r=o,this.capture(r))}t[al(n)]=al(r)}parseQueryParam(t){const n=function JF(e){const t=e.match(YF);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function tP(e){const t=e.match(eP);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=ED(n),i=ED(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=ll(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,rl);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,rl)}}function uf(e){return e.segments.length>0?new J([],{[X]:e}):e}function ul(e){const t={};for(const r of Object.keys(e.children)){const i=ul(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function rP(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 sP(e,t,n,r,o){if(0===n.length)return _o(t.root,t.root,t.root,r,o);const i=function AD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ID(!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 ID(n,t,r)}(n);return i.toRoot()?_o(t.root,t.root,new J([],{}),r,o):function s(l){const u=function lP(e,t,n,r){if(e.isAbsolute)return new Co(t.root,!0,0);if(-1===r)return new Co(n,n===t.root,0);return function TD(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 Co(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):df(u.segmentGroup,u.index,i.commands);return _o(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 _o(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:MD(e,t,n);const a=uf(ul(s));return new Cr(a,i,o)}function MD(e,t,n){const r={};return Ke(e.children,(o,i)=>{r[i]=o===t?n:MD(o,t,n)}),new J(e.segments,r)}class ID{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!==yD(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Co{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function df(e,t,n){if(e||(e=new J([],{})),0===e.segments.length&&e.hasChildren())return zi(e,t,n);const r=function cP(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(!RD(l,u,s))return i;r+=2}else{if(!RD(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]=df(e.children[s],t,i))}),Ke(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new J(e.segments,o)}}function ff(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=ff(new J([],{}),0,n))}),t}function xD(e){const t={};return Ke(e,(n,r)=>t[r]=`${n}`),t}function RD(e,t,n){return e==n.path&&fn(t,n.parameters)}class Pn{constructor(t,n){this.id=t,this.url=n}}class hf 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 cl 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 ND 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 fP 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 hP 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 pP 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 gP 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 mP 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 yP{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class vP{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _P{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CP{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class DP{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class FD{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 EP=(()=>{class e{createUrlTree(n,r,o,i,s,a){return sP(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})(),SP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(t){return EP.\u0275fac(t)},providedIn:"root"}),e})();class PD{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=pf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=pf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=gf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return gf(t,this._root).map(n=>n.value)}}function pf(e,t){if(e===t.value)return t;for(const n of t.children){const r=pf(e,n);if(r)return r}return null}function gf(e,t){if(e===t.value)return[t];for(const n of t.children){const r=gf(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 Do(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class kD extends PD{constructor(t,n){super(t),this.snapshot=n,mf(this,t)}toString(){return this.snapshot.toString()}}function OD(e,t){const n=function MP(e,t){const s=new dl([],{},{},"",{},X,t,null,e.root,-1,{});return new VD("",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 kD(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=>vo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>vo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function LD(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 IP(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 dl{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 title(){return this.data?.[Ui]}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=vo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class VD extends PD{constructor(t,n){super(n),this.url=t,mf(this,n)}toString(){return UD(this._root)}}function mf(e,t){t.value._routerState=e,t.children.forEach(n=>mf(e,n))}function UD(e){const t=e.children.length>0?` { ${e.children.map(UD).join(", ")} } `:"";return`${e.value}${t}`}function yf(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,fn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),fn(t.params,n.params)||e.params.next(n.params),function jF(e,t){if(e.length!==t.length)return!1;for(let n=0;nfn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||vf(e.parent,t.parent))}function qi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function TP(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return qi(e,r,o);return qi(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=>qi(e,a)),s}}const r=function xP(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=>qi(e,i));return new kn(r,o)}}const _f="ngNavigationCancelingError";function HD(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=wr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=jD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function jD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[_f]=!0,r.cancellationCode=t,n&&(r.url=n),r}function BD(e){return $D(e)&&wr(e.url)}function $D(e){return e&&e[_f]}class RP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Wi,this.attachRef=null}}let Wi=(()=>{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 RP,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 fl=!1;let Cf=(()=>{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(Wi),this.location=Y(qt),this.changeDetector=Y(ba),this.environmentInjector=Y(rn)}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,fl);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,fl);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,fl);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,fl);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new NP(n,a,o.injector);if(r&&function FP(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 NP{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===br?this.route:t===Wi?this.childContexts:this.parent.get(t,n)}}let Df=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=mt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ry],decls:1,vars:0,template:function(n,r){1&n&&v(0,"router-outlet")},dependencies:[Cf],encapsulation:2}),e})();function GD(e,t){return e.providers&&!e._injector&&(e._injector=pa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function bf(e){const t=e.children&&e.children.map(bf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==X&&(n.component=Df),n}function Pt(e){return e.outlet||X}function zD(e,t){const n=e.filter(r=>Pt(r)===t);return n.push(...e.filter(r=>Pt(r)!==t)),n}function Ki(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 VP{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),yf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=Do(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=Do(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=Do(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=Do(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new wP(i.value.snapshot))}),t.children.length&&this.forwardEvent(new CP(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(yf(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),yf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Ki(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 qD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class hl{constructor(t,n){this.component=t,this.route=n}}function UP(e,t,n){const r=e._root;return Zi(r,t?t._root:null,n,[r.value])}function wo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function gb(e){return null!==vs(e)}(e)?t.get(e):e:r}function Zi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Do(t);return e.children.forEach(s=>{(function jP(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 BP(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)||!fn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vf(e,t)||!fn(e.queryParams,t.queryParams);default:return!vf(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new qD(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Zi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new hl(a.outlet.component,s))}else s&&Qi(t,a,o),o.canActivateChecks.push(new qD(r)),Zi(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)=>Qi(s,n.getContext(a),o)),o}function Qi(e,t,n){const r=Do(e),o=e.value;Ke(r,(i,s)=>{Qi(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new hl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Xi(e){return"function"==typeof e}function Ef(e){return e instanceof tl||"EmptyError"===e?.name}const pl=Symbol("INITIAL_VALUE");function bo(){return dn(e=>lD(e.map(t=>t.pipe(Ar(1),function PF(...e){const t=Fo(e);return Be((n,r)=>{(t?tf(e,n,t):tf(e,n)).subscribe(r)})}(pl)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===pl)return pl;if(!1===n||n instanceof Cr)return n}return!0}),Qt(t=>t!==pl),Ar(1)))}function WD(e){return function Pw(...e){return Hf(e)}(nt(t=>{if(wr(t))throw HD(0,t)}),W(t=>!0===t))}const Sf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function KD(e,t,n,r,o){const i=Mf(e,t,n);return i.matched?function ik(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=wo(s,e);return Qn(function KP(e){return e&&Xi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(bo(),WD()):k(!0)}(r=GD(t,r),t,n).pipe(W(s=>!0===s?i:{...Sf})):k(i)}function Mf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...Sf}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||HF)(n,e,t);if(!o)return{...Sf};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 gl(e,t,n,r){if(n.length>0&&function lk(e,t,n){return n.some(r=>ml(e,t,r)&&Pt(r)!==X)}(e,n,r)){const i=new J(t,function ak(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 uk(e,t,n){return n.some(r=>ml(e,t,r))}(e,n,r)){const i=new J(e.segments,function sk(e,t,n,r,o){const i={};for(const s of r)if(ml(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 ml(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function ZD(e,t,n,r){return!!(Pt(e)===r||r!==X&&ml(t,n,e))&&("**"===e.path||Mf(t,e,n).matched)}function QD(e,t,n){return 0===t.length&&!e.children[n]}const yl=!1;class vl{constructor(t){this.segmentGroup=t||null}}class XD{constructor(t){this.urlTree=t}}function Yi(e){return Vi(new vl(e))}function YD(e){return Vi(new XD(e))}class hk{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=gl(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(ul(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zn(i=>{if(i instanceof XD)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof vl?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,X).pipe(W(o=>this.createUrlTree(ul(o),t.queryParams,t.fragment))).pipe(Zn(o=>{throw o instanceof vl?this.noMatchError(o):o}))}noMatchError(t){return new I(4002,yl)}createUrlTree(t,n,r){const o=uf(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=zD(n,i);return this.expandSegmentGroup(t,a,s,i).pipe(W(l=>({segment:l,outlet:i})))}),hD((i,s)=>(i[s.outlet]=s.segment,i),{}),pD())}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 vl)return k(null);throw u}))),Kn(a=>!!a),Zn((a,l)=>{if(Ef(a))return QD(n,o,i)?k(new J([],{})):Yi(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return ZD(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):Yi(n):Yi(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("/")?YD(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}=Mf(n,o,i);if(!a)return Yi(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?YD(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=GD(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,{}))):KD(n,r,o,t).pipe(dn(({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}=gl(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)))})):Yi(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 ok(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=wo(s,e);return Qn(function GP(e){return e&&Xi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(bo(),WD())}(t,n,r).pipe($e(o=>o?this.configLoader.loadChildren(t,n).pipe(nt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function dk(e){return Vi(jD(yl,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,yl));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,yl);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 gk{}class vk{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=gl(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 dl([],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 VD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=LD(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=zD(n,o);return this.processSegmentGroup(t,s,i,o)}),hD((o,i)=>o&&i?(o.push(...i),o):null),function LF(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),nl(null),pD(),W(o=>{if(null===o)return null;const i=ew(o);return function _k(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(Ef(s))return QD(r,o,i)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!ZD(n,r,o,i))return k(null);let s;if("**"===n.path){const a=o.length>0?yD(o).parameters:{},l=nw(r)+o.length;s=k({snapshot:new dl(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,rw(n),Pt(n),n.component??n._loadedComponent??null,n,tw(r),l,ow(n)),consumedSegments:[],remainingSegments:[]})}else s=KD(r,n,o,t).pipe(W(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=nw(r)+l.length;return{snapshot:new dl(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,rw(n),Pt(n),n.component??n._loadedComponent??null,n,tw(r),d,ow(n)),consumedSegments:l,remainingSegments:u}}));return s.pipe(dn(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 Ck(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:m,slicedSegments:y}=gl(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 Dk(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function ew(e){const t=[],n=new Set;for(const r of e){if(!Dk(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=ew(r.children);t.push(new kn(r.value,o))}return t.filter(r=>!n.has(r))}function tw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function nw(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function rw(e){return e.data||{}}function ow(e){return e.resolve||{}}function iw(e){return"string"==typeof e.title||null===e.title}function If(e){return dn(t=>{const n=e(t);return n?Me(n).pipe(W(()=>t)):k(t)})}const Eo=new N("ROUTES");let Af=(()=>{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(aw),nt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),sf(()=>{this.componentLoaders.delete(n)})),o=new dD(r,()=>new pn).pipe(nf());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=mD(l.get(Eo,[],U.Self|U.Optional)));return{routes:u.map(bf),injector:l}}),sf(()=>{this.childrenLoaders.delete(r)})),s=new dD(i,()=>new pn).pipe(nf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Qn(n()).pipe(W(aw),$e(o=>o instanceof Ty||Array.isArray(o)?k(o):Me(this.compiler.compileModuleAsync(o))))}}return e.\u0275fac=function(n){return new(n||e)(R(Bt),R(Dv))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function aw(e){return function xk(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Tf=(()=>{class e{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new pn,this.configLoader=Y(Af),this.environmentInjector=Y(rn),this.urlSerializer=Y(ji),this.rootContexts=Y(Wi),this.navigationId=0,this.configLoader.onLoadEndListener=o=>this.events.next(new vP(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new yP(o))}get hasRequestedNavigation(){return 0!==this.navigationId}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:"imperative",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)})),dn(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}}),dn(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(("reload"===n.onSameUrlNavigation||l)&&n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return uw(s.source)&&(n.browserUrlTree=s.extractedUrl),k(s).pipe(dn(c=>{const d=this.transitions?.getValue();return this.events.next(new hf(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?mn:Promise.resolve(c)}),function pk(e,t,n,r){return dn(o=>function fk(e,t,n,r,o){return new hk(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 bk(e,t,n,r,o){return $e(i=>function yk(e,t,n,r,o,i,s="emptyOnly"){return new vk(e,t,n,r,o,s,i).recognize().pipe(dn(a=>null===a?function mk(e){return new Se(t=>t.error(e))}(new gk):k(a)))}(e,t,n,i.urlAfterRedirects,r.serialize(i.urlAfterRedirects),r,o).pipe(W(s=>({...i,targetSnapshot:s}))))}(this.environmentInjector,n.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 fP(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.rawUrlTree&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:d,extractedUrl:g,source:m,restoredState:y,extras:C}=s,w=new hf(d,this.urlSerializer.serialize(g),m,y);this.events.next(w);const E=OD(g,n.rootComponentType).snapshot;return k(r={...s,targetSnapshot:E,urlAfterRedirects:g,extras:{...C,skipLocationChange:!1,replaceUrl:!1}})}return n.rawUrlTree=s.rawUrl,s.resolve(null),mn}),nt(s=>{const a=new hP(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),W(s=>r={...s,guards:UP(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function QP(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 XP(e,t,n,r){return Me(e).pipe($e(o=>function rk(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=Ki(t)??o,u=wo(a,l);return Qn(function WP(e){return e&&Xi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Kn())})).pipe(bo()):k(!0)}(o.component,o.route,n,t,r)),Kn(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function $P(e){return"boolean"==typeof e}(a)?function YP(e,t,n,r){return Me(t).pipe($n(o=>tf(function ek(e,t){return null!==e&&t&&t(new _P(e)),k(!0)}(o.route.parent,r),function JP(e,t){return null!==e&&t&&t(new DP(e)),k(!0)}(o.route,r),function nk(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function HP(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=>cD(()=>k(s.guards.map(l=>{const u=Ki(s.node)??n,c=wo(l,u);return Qn(function qP(e){return e&&Xi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Kn())})).pipe(bo())));return k(i).pipe(bo())}(e,o.path,n),function tk(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>cD(()=>{const s=Ki(t)??n,a=wo(i,s);return Qn(function zP(e){return e&&Xi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Kn())}));return k(o).pipe(bo())}(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 HD(0,s.guardsResult);const a=new pP(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)),If(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(nt(a=>{const l=new gP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),dn(a=>{let l=!1;return k(a).pipe(function Ek(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 Sk(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!iw(o)&&(i[Ui]=o.title),function Mk(e,t,n,r){const o=function Ik(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return Me(o).pipe($e(s=>function Ak(e,t,n,r){const o=Ki(t)??r,i=wo(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}))),rf(1),function VF(e){return W(()=>e)}(i),Zn(s=>Ef(s)?mn:Vi(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=LD(e,n).resolve,o&&iw(o)&&(e.data[Ui]=o.title),null)))}(s.route,r,e,t)),nt(()=>i++),rf(1),$e(s=>i===o.length?k(n):mn))})}(n.paramsInheritanceStrategy,this.environmentInjector),nt({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2,n))}}))}),nt(a=>{const l=new mP(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),If(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 lD(a(s.targetSnapshot.root)).pipe(nl(),Ar(1))}),If(()=>n.afterPreactivation()),W(s=>{const a=function AP(e,t,n){const r=qi(e,t._root,n?n._root:void 0);return new kD(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 VP(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}}),sf(()=>{o||i||this.cancelNavigationTransition(r,"",1,n),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Zn(s=>{if(i=!0,$D(s)){BD(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new cl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),BD(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||uw(r.source)};n.scheduleNavigation(l,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new ND(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 mn}))}))}cancelNavigationTransition(n,r,o,i){const s=new cl(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 uw(e){return"imperative"!==e}let cw=(()=>{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(Rk)},providedIn:"root"}),e})(),Rk=(()=>{class e extends cw{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(V_))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Nk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Pk)},providedIn:"root"}),e})();class Fk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Pk=(()=>{class e extends Fk{}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 _l=new N("",{providedIn:"root",factory:()=>({})});let Ok=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=P({token:e,factory:function(){return Y(Lk)},providedIn:"root"}),e})(),Lk=(()=>{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 Vk(e){throw e}function Uk(e,t,n){return t.parse("/")}const Hk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},jk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pt=(()=>{class e{constructor(){this.disposed=!1,this.currentPageId=0,this.console=Y(BA),this.isNgZoneEnabled=!1,this.options=Y(_l,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Vk,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Uk,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>k(void 0),this.urlHandlingStrategy=Y(Ok),this.routeReuseStrategy=Y(Nk),this.urlCreationStrategy=Y(SP),this.titleStrategy=Y(cw),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=mD(Y(Eo,{optional:!0})??[]),this.navigationTransitions=Y(Tf),this.urlSerializer=Y(ji),this.location=Y(td),this.rootComponentType=null,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=OD(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const o={replaceUrl:!0},i=n.state?.navigationId?n.state:null;if(n.state){const a={...n.state};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,i,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(n){this.config=n.map(bf),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,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function Bk(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}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),c=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):c=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})(),hn=(()=>{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 pn;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=go(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=go(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=go(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 Jp(e,t,n){return function $0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Yp:qr}(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 Vs(e){return function hE(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{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(Ir()).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(Ir()).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 $k(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(bn),S(ba),S(hn,8))},e.\u0275dir=B({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&Zy(o,hn,5),2&n){let i;Ky(i=function Qy(){return function CA(e,t){return e[19].queries[t].queryList}(b(),Oh())}())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[At]}),e})();class hw{}let Gk=(()=>{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=pa(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(Ir())}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(Ir()):i})}}return e.\u0275fac=function(n){return new(n||e)(R(pt),R(Dv),R(rn),R(hw),R(Af))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const xf=new N("");let pw=(()=>{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 hf?(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 FD&&(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 FD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function xg(){throw new Error("invalid")}()},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e})();function Mo(e,t){return{\u0275kind:e,\u0275providers:t}}function mw(){const e=Y(Bt);return t=>{const n=e.get(Da);if(t!==n.components[0])return;const r=e.get(pt),o=e.get(yw);1===e.get(Nf)&&r.initialNavigation(),e.get(vw,null,U.Optional)?.setUpPreloading(),e.get(xf,null,U.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const yw=new N("",{factory:()=>new pn}),Nf=new N("",{providedIn:"root",factory:()=>1});const vw=new N("");function Zk(e){return Mo(0,[{provide:vw,useExisting:Gk},{provide:hw,useExisting:e}])}const _w=new N("ROUTER_FORROOT_GUARD"),Qk=[td,{provide:ji,useClass:af},pt,Wi,{provide:br,useFactory:function gw(e){return e.routerState.root},deps:[pt]},Af,[]];function Xk(){return new Av("Router",pt)}let Cw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Qk,[],{provide:Eo,multi:!0,useValue:n},{provide:_w,useFactory:tO,deps:[[pt,new Ko,new Zo]]},{provide:_l,useValue:r||{}},r?.useHash?{provide:yr,useClass:TT}:{provide:yr,useClass:Xv},{provide:xf,useFactory:()=>{const e=Y(Xx),t=Y(Ne),n=Y(_l),r=Y(Tf),o=Y(ji);return n.scrollOffset&&e.setOffset(n.scrollOffset),new pw(o,r,e,t,n)}},r?.preloadingStrategy?Zk(r.preloadingStrategy).\u0275providers:[],{provide:Av,multi:!0,useFactory:Xk},r?.initialNavigation?nO(r):[],[{provide:Dw,useFactory:mw},{provide:Cv,multi:!0,useExisting:Dw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Eo,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(R(_w,8))},e.\u0275mod=Lt({type:e}),e.\u0275inj=Mt({imports:[Df]}),e})();function tO(e){return"guarded"}function nO(e){return["disabled"===e.initialNavigation?Mo(3,[{provide:va,multi:!0,useFactory:()=>{const t=Y(pt);return()=>{t.setUpLocationChangeListener()}}},{provide:Nf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Mo(2,[{provide:Nf,useValue:0},{provide:va,multi:!0,deps:[Bt],useFactory:t=>{const n=t.get(IT,Promise.resolve());return()=>n.then(()=>new Promise(o=>{const i=t.get(pt),s=t.get(yw);(function r(o){t.get(pt).events.pipe(Qt(s=>s instanceof Xn||s instanceof cl||s instanceof ND),W(s=>s instanceof Xn||s instanceof cl&&(0===s.code||1===s.code)&&null),Qt(s=>null!==s),Ar(1)).subscribe(()=>{o()})})(()=>{o(!0)}),i.afterPreactivation=()=>(o(!0),s.closed?k(void 0):s),i.initialNavigation()}))}}]).\u0275providers:[]]}const Dw=new N("");class oO{constructor(){this.name="",this.email="",this.message=""}}const je_apiBaseUrl="https://www.palmmedia.de/api/";class Er{constructor(t){this.httpClient=t}postContactForm(t){return this.httpClient.post(`${je_apiBaseUrl}contact`,t)}}function iO(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 sm(e){return function kr(e,t){return e[t]}(function Wb(){return G.lFrame.contextLView}(),22+e)}(1),r=H();_(7),M("ngModel",r.contactViewModel.name),_(6),M("ngModel",r.contactViewModel.email),_(6),M("ngModel",r.contactViewModel.message),_(1),M("disabled",!n.valid||r.enableFormCountDown>0)}}function sO(e,t){1&e&&(h(0,"p"),f(1,"Thanks for your message."),p())}function aO(e,t){1&e&&(h(0,"p",16),f(1,"Something went wrong. Please try again later."),p())}Er.\u0275fac=function(t){return new(t||Er)(R(xd))},Er.\u0275prov=P({token:Er,factory:Er.\u0275fac});class es{constructor(t){this.contactService=t,this.contactViewModel=new oO,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")})}}es.\u0275fac=function(t){return new(t||es)(S(Er))},es.\u0275cmp=mt({type:es,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(),q(3,iO,22,4,"form",2),q(4,sO,2,0,"p",3),q(5,aO,2,0,"p",4),p()),2&t&&(_(3),M("ngIf",!n.success&&!n.error),_(1),M("ngIf",n.success),_(1),M("ngIf",n.error))},dependencies:[Oa,Kd,xi,kd,Od,Li,Ja,Oi],styles:[".required[_ngcontent-%COMP%]{color:#1c8eb7}"]});const ww=function(){return["/pro"]};class ts{scrollToAnchor(t){return document.querySelector(t)?.scrollIntoView(!0),!1}}ts.\u0275fac=function(t){return new(t||ts)},ts.\u0275cmp=mt({type:ts,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),M("routerLink",ne(2,ww)),_(67),M("routerLink",ne(3,ww)))},dependencies:[hn]});const kt={dotnetSDKVersion:"6.x",majorVersion:"5",version:"5.1.14"},lO=function(){return["/usage"]};class ns{constructor(){this.versions=kt}}ns.\u0275fac=function(t){return new(t||ns)},ns.\u0275cmp=mt({type:ns,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),M("routerLink",ne(5,lO)),_(23),In('\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),In('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),In("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),In("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:[hn]});const uO=function(){return["/pro"]},cO=function(){return["/usage"]},dO=function(){return["/getstarted"]},fO=function(){return["/features"]};class rs{}rs.\u0275fac=function(t){return new(t||rs)},rs.\u0275cmp=mt({type:rs,selectors:[["app-home"]],decls:138,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo_512.png","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9"],[1,"mt-5"],[1,"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,"h6","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"],[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,"div",15),f(36,"Open source"),p(),h(37,"p")(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",16),f(46,"PRO"),p(),f(47," version offers additional features."),p()(),h(48,"div",17)(49,"div",13),v(50,"i",18),p(),h(51,"div",15),f(52,"Easy to use"),p(),h(53,"p")(54,"i"),f(55,"ReportGenerator"),p(),f(56," is a command line tool which only requires a "),h(57,"a",19),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",17)(63,"div",13),v(64,"i",20),p(),h(65,"div",15),f(66,"Integration"),p(),h(67,"p")(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",21),f(74,"GitHub actions"),p(),f(75," and "),h(76,"a",22),f(77,"Azure DevOps"),p(),f(78," is available."),p()()(),h(79,"div",11)(80,"div",23)(81,"a",24),v(82,"i",25),f(83," Learn how to use"),p(),h(84,"a",26),v(85,"i",27),f(86," GitHub"),p()()()(),h(87,"section",28)(88,"div",0)(89,"h2",29),f(90,"Trusted by"),p(),h(91,"div",11)(92,"div",30),v(93,"i",31)(94,"br"),h(95,"a",32),f(96,".NET Runtime"),p()(),h(97,"div",30),v(98,"i",33)(99,"br"),h(100,"a",34),f(101,"Google Cloud"),p()(),h(102,"div",30),v(103,"i",35)(104,"br"),h(105,"a",36),f(106,"AWS Encryption SDK"),p()(),h(107,"div",37),v(108,"i",38)(109,"br"),h(110,"a",39),f(111,"Many more"),p()()()()(),h(112,"section",40)(113,"div",0)(114,"h2"),f(115,"Screenshots"),p(),h(116,"p"),f(117,"The screenshots show two snippets of the generated reports."),p(),h(118,"p"),f(119," Have a look the "),h(120,"a",19),f(121,"features page"),p(),f(122," to explore the elements in a coverage report or "),h(123,"a",41),f(124,"browse the example report"),p(),f(125,". "),v(126,"br"),f(127," You can also download "),h(128,"a",42),f(129,"sample reports"),p(),f(130," of all supported output formats."),p(),h(131,"div",1)(132,"div",43)(133,"a",44),v(134,"img",45),p()(),h(135,"div",46)(136,"a",47),v(137,"img",48),p()()()()()),2&t&&(_(45),M("routerLink",ne(4,uO)),_(12),M("routerLink",ne(5,cO)),_(24),M("routerLink",ne(6,dO)),_(39),M("routerLink",ne(7,fO)))},dependencies:[hn],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}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]});class os{}os.\u0275fac=function(t){return new(t||os)},os.\u0275cmp=mt({type:os,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 bw{constructor(){this.error=null,this.isSponsor=!1,this.license=null}}class Sr{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,"")}}Sr.\u0275fac=function(t){return new(t||Sr)},Sr.\u0275prov=P({token:Sr,factory:Sr.\u0275fac});class Mr{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 hO(e,t){1&e&&(h(0,"div",42)(1,"span",43),f(2,"Loading..."),p()())}Mr.\u0275fac=function(t){return new(t||Mr)(R(xd))},Mr.\u0275prov=P({token:Mr,factory:Mr.\u0275fac});const Ff=function(){return["/contact"]};function pO(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),M("routerLink",ne(2,Ff))}}function gO(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 mO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function yO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function vO(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())}),q(6,mO,3,0,"span",44),q(7,yO,3,0,"span",44),p()()}if(2&e){const n=H(2);_(4),Ce(n.license.license),_(2),M("ngIf",!n.licenseCopied),_(1),M("ngIf",n.licenseCopied)}}function _O(e,t){if(1&e&&(h(0,"div",21),q(1,pO,8,3,"div",44),q(2,gO,6,0,"div",44),q(3,vO,8,3,"div",44),p()),2&e){const n=H();_(1),M("ngIf",n.license.error),_(1),M("ngIf",!n.license.error&&!n.license.isSponsor),_(1),M("ngIf",!n.license.error&&n.license.isSponsor&&n.license.license)}}function CO(e,t){if(1&e){const n=Ge();h(0,"button",60),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("individual"))}),f(1,"Buy now"),p()}}function DO(e,t){1&e&&(h(0,"button",61),f(1,"Coming soon"),p())}function wO(e,t){if(1&e){const n=Ge();h(0,"button",62),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("team"))}),f(1,"Buy now"),p()}}function bO(e,t){1&e&&(h(0,"button",61),f(1,"Coming soon"),p())}function EO(e,t){if(1&e){const n=Ge();h(0,"button",63),F("click",function(){return ce(n),de(H(2).openPaddleCheckout("enterprise"))}),f(1,"Buy now"),p()}}function SO(e,t){1&e&&(h(0,"button",61),f(1,"Coming soon"),p())}function MO(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(),q(9,CO,2,0,"button",54),q(10,DO,2,0,"button",55),p(),h(11,"div",51),v(12,"img",56),h(13,"h4",53),f(14,"Team"),v(15,"br"),f(16),p(),h(17,"p"),f(18,"Annual - Up to 10 developers."),p(),q(19,wO,2,0,"button",57),q(20,bO,2,0,"button",55),p(),h(21,"div",51),v(22,"img",58),h(23,"h4",53),f(24,"Enterprise"),v(25,"br"),f(26),p(),h(27,"p"),f(28,"Annual - Unlimited developers."),p(),q(29,EO,2,0,"button",59),q(30,SO,2,0,"button",55),p()()),2&e){const n=H();_(6),Ce(n.paddleIndividualLicensePrice),_(3),M("ngIf",n.enablePaddle),_(1),M("ngIf",!n.enablePaddle),_(6),Ce(n.paddleTeamLicensePrice),_(3),M("ngIf",n.enablePaddle),_(1),M("ngIf",!n.enablePaddle),_(6),Ce(n.paddleEnterpriseLicensePrice),_(3),M("ngIf",n.enablePaddle),_(1),M("ngIf",!n.enablePaddle)}}function IO(e,t){1&e&&(fr(0),h(1,"div",42)(2,"span",43),f(3,"Loading..."),p()(),h(4,"span",65),f(5,"Your license is being generated. Please wait."),p(),hr())}function AO(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),M("routerLink",ne(2,Ff))}}function TO(e,t){1&e&&(h(0,"span"),v(1,"i",49),f(2," Copy"),p())}function xO(e,t){1&e&&(h(0,"span"),v(1,"i",50),f(2," Copied"),p())}function RO(e,t){if(1&e){const n=Ge();h(0,"div")(1,"label",67),f(2,"Thank you for buying a license. Please save your license key persistently:"),p(),h(3,"textarea",68),f(4),p(),h(5,"button",48),F("click",function(){return ce(n),de(H(3).copyPaddle())}),q(6,TO,3,0,"span",44),q(7,xO,3,0,"span",44),p()()}if(2&e){const n=H(3);_(4),Ce(n.paddleLicense.license),_(2),M("ngIf",!n.paddleLicenseCopied),_(1),M("ngIf",n.paddleLicenseCopied)}}function NO(e,t){if(1&e&&(h(0,"div",66),q(1,AO,8,3,"div",44),q(2,RO,8,3,"div",44),p()),2&e){const n=H(2);_(1),M("ngIf",n.paddleLicense.error),_(1),M("ngIf",!n.paddleLicense.error&&n.paddleLicense.license)}}function FO(e,t){if(1&e&&(h(0,"div",2),q(1,IO,6,0,"ng-container",44),q(2,NO,3,2,"div",64),p()),2&e){const n=H();_(1),M("ngIf",n.paddleLicenseRequested&&!n.paddleLicense),_(1),M("ngIf",n.paddleLicense)}}const Io=function(){return["/features"]};class is{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 bw,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 bw,this.paddleLicense.error="Unable to generate paddle license."},complete:()=>console.info("complete")})}}is.\u0275fac=function(t){return new(t||is)(S(Sr),S(Mr))},is.\u0275cmp=mt({type:is,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"],["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(),q(108,hO,3,0,"div",27),p(),q(109,_O,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(),q(115,MO,31,9,"div",30),q(116,FO,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),M("routerLink",ne(12,Io)),_(9),M("routerLink",ne(13,Io)),_(9),M("routerLink",ne(14,Io)),_(9),M("routerLink",ne(15,Io)),_(9),M("routerLink",ne(16,Io)),_(8),M("routerLink",ne(17,Io)),_(23),M("routerLink",ne(18,Ff)),_(20),M("disabled",n.licenseRequested),_(3),M("ngIf",n.licenseRequested&&!n.license),_(1),M("ngIf",n.license),_(6),M("ngIf",!n.paddleLicenseRequested),_(1),M("ngIf",n.paddleLicenseRequested))},dependencies:[Oa,hn],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}"]});class Cl{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 PO extends Cl{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 kO{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/Summary.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 Pf{constructor(t,n){this.tool=t,this.command=n}}function LO(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),M("ngModel",r.selectedEnvironment)("value",n)("checked",r.selectedEnvironment.name===n.name),_(2),Ce(n.name),_(3),Ce(n.description)}}function VO(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),M("ngModel",r.selectedPackage)("value",n),_(2),Ce(n.name),_(3),Ce(n.description)}}function UO(e,t){if(1&e&&(fr(0),q(1,VO,8,4,"div",38),hr()),2&e){const n=t.$implicit,r=H(2);_(1),M("ngIf",n.runtimes.indexOf(r.selectedEnvironment.name)>-1)}}function HO(e,t){if(1&e&&(fr(0),h(1,"h4"),f(2,"NuGet Package"),p(),q(3,UO,2,1,"ng-container",37),hr()),2&e){const n=H();_(3),M("ngForOf",n.packages)}}function jO(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 BO=function(e){return{"input-group":e}};function $O(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(),q(3,jO,3,0,"span",42),p()()}if(2&e){const n=t.index,r=H();_(1),M("ngClass",Sc(4,BO,n>0)),_(1),Mn("name","report_",n,""),M("ngModel",r.configuration.reports[n]),_(1),M("ngIf",n>0)}}function GO(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 zO(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),M("href",n.sampleReport,qr),_(3),M("href",n.sampleReport,qr)}}function qO(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(),q(5,GO,5,0,"span",47),v(6,"br"),h(7,"div",36),f(8),q(9,zO,7,2,"ng-container",5),p()()()}if(2&e){const n=t.$implicit,r=H();_(2),M("checked",n.checked),_(2),Ce(n.name),_(1),M("ngIf",n.checked&&n.requiresHistoryDir&&!r.configuration.historydir),_(3),In("",n.description," "),_(1),M("ngIf",n.sampleReport)}}function WO(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),Mn("name","sourcedir_",n,""),M("ngModel",r.configuration.sourcedirectories[n])}}function KO(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),Mn("name","plugin_",n,""),M("ngModel",r.configuration.plugins[n])}}function ZO(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),Mn("name","assemblyfilter_",n,""),M("ngModel",r.configuration.assemblyfilters[n])}}function QO(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),Mn("name","classfilter_",n,""),M("ngModel",r.configuration.classfilters[n])}}function XO(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),Mn("name","filefilter_",n,""),M("ngModel",r.configuration.filefilters[n])}}function YO(e,t){if(1&e&&(h(0,"option",58),f(1),p()),2&e){const n=t.$implicit;M("value",n),_(1),Ce(n)}}function JO(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 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 as{constructor(){this.versions=kt,this.lastResult="",this.usageCopied=!1,this.configuration=new kO,this.environments=[new Dl(".NET Core",".NET Core"),new Dl(".NET Framework","The full .NET framework"),new Dl("Azure DevOps",null),new Dl("Github Action",null)],this.packages=[new Cl("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 Pf("Package Manager",`Install-Package ReportGenerator -Version ${kt.version}`),new Pf(".NET CLI",`dotnet add package ReportGenerator --version ${kt.version}`)],[new ss(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net47\\ReportGenerator.exe`),new ss(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${kt.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new Cl("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 Pf(".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 ss(".NET Core","reportgenerator")]),new PO("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new ss("Azure DevOps","reportgenerator")]),new OO("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new ss("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}}as.\u0275fac=function(t){return new(t||as)},as.\u0275cmp=mt({type:as,selectors:[["app-usage-component"]],decls:212,vars:37,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,"d-none","d-md-block","sticky"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[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(),q(8,LO,8,5,"div",4),v(9,"hr"),q(10,HO,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(),q(18,$O,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()(),q(37,qO,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(),q(44,WO,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(),q(72,KO,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()()(),q(98,ZO,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()()(),q(124,QO,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()()(),q(150,XO,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}),q(162,YO,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(),q(193,JO,6,2,"div",28),h(194,"h4",29),f(195,"Usage"),p(),h(196,"pre",30),f(197),p()(),h(198,"div",31)(199,"h3"),f(200,"Instructions"),p(),f(201," Install "),h(202,"a",27),f(203),p(),q(204,eL,6,2,"div",28),h(205,"h4",29),f(206,"Usage"),p(),h(207,"pre",30),f(208),p(),h(209,"button",32),F("click",function(){return n.copy()}),q(210,tL,3,0,"span",5),q(211,nL,3,0,"span",5),p()()()()()),2&t&&(_(8),M("ngForOf",n.environments),_(2),M("ngIf",n.severalPackagesAvailable()),_(8),M("ngForOf",n.configuration.reports)("ngForTrackBy",n.trackByIndex),_(11),M("ngModel",n.configuration.targetdir),_(8),M("ngForOf",n.configuration.reporttypes)("ngForTrackBy",n.trackByIndex),_(7),M("ngForOf",n.configuration.sourcedirectories)("ngForTrackBy",n.trackByIndex),_(16),M("ngModel",n.configuration.historydir)("required",n.configuration.historyDirRequired()),_(12),M("ngForOf",n.configuration.plugins)("ngForTrackBy",n.trackByIndex),_(26),M("ngForOf",n.configuration.assemblyfilters)("ngForTrackBy",n.trackByIndex),_(26),M("ngForOf",n.configuration.classfilters)("ngForTrackBy",n.trackByIndex),_(26),M("ngForOf",n.configuration.filefilters)("ngForTrackBy",n.trackByIndex),_(11),M("ngModel",n.configuration.selectedverbosity),_(1),M("ngForOf",n.configuration.verbosities)("ngForTrackBy",n.trackByIndex),_(7),M("ngModel",n.configuration.title),_(7),M("ngModel",n.configuration.tag),_(6),M("routerLink",ne(36,rL)),_(3),M("ngModel",n.configuration.license),_(6),M("href",n.selectedPackage.url,qr),_(1),Ce(n.selectedPackage.name),_(1),M("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(5),M("href",n.selectedPackage.url,qr),_(1),Ce(n.selectedPackage.name),_(1),M("ngForOf",n.selectedPackage.installOptions),_(4),Ce(n.getUsage()),_(2),M("ngIf",!n.usageCopied),_(1),M("ngIf",n.usageCopied))},dependencies:[dd,c_,Oa,hn,Kd,XC,JC,xi,el,Zd,kd,Od,Li,ef,Ja,Oi],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]});const oL=[{path:"",component:rs,pathMatch:"full",title:"Home",data:{canonical:"/"}},{path:"features",component:ts,title:"Features",data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:ns,title:"Get started",data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:as,title:"Usage",data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:is,title:"PRO",data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:es,title:"Contact",data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:os,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:[Cw.forRoot(oL,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),Cw]});const Ew=function(){return["/"]},iL=function(e){return{show:e}},To=function(){return["link-active"]},Sw=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 ls{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}}ls.\u0275fac=function(t){return new(t||ls)},ls.\u0275cmp=mt({type:ls,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.png","height","48","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),M("routerLink",ne(17,Ew)),_(4),$t("aria-expanded",n.isExpanded),_(2),M("ngClass",Sc(18,iL,n.isExpanded)),_(2),M("routerLinkActive",ne(20,To))("routerLinkActiveOptions",ne(21,Sw)),_(1),M("routerLink",ne(22,Ew)),_(2),M("routerLinkActive",ne(23,To))("routerLinkActiveOptions",ne(24,Sw)),_(1),M("routerLink",ne(25,sL)),_(2),M("routerLinkActive",ne(26,To)),_(1),M("routerLink",ne(27,aL)),_(2),M("routerLinkActive",ne(28,To)),_(1),M("routerLink",ne(29,lL)),_(2),M("routerLinkActive",ne(30,To)),_(1),M("routerLink",ne(31,uL)),_(2),M("routerLinkActive",ne(32,To)),_(1),M("routerLink",ne(33,cL)))},dependencies:[dd,hn,fw],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 us{constructor(){this.years=(new Date).getFullYear()-2009}}us.\u0275fac=function(t){return new(t||us)},us.\u0275cmp=mt({type:us,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),In(" Fast forward ",n.years," years, I'm still maintaining "),_(11),M("routerLink",ne(2,dL)))},dependencies:[hn],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}"]});class cs{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)}}cs.\u0275fac=function(t){return new(t||cs)(S(et),S(pt),S(br))},cs.\u0275cmp=mt({type:cs,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:[Cf,ls,us],encapsulation:2});class xo{}xo.\u0275fac=function(t){return new(t||xo)},xo.\u0275mod=Lt({type:xo,bootstrap:[cs]}),xo.\u0275inj=Mt({providers:[Sr,Mr,Er],imports:[KR,Ao,SN,xF]}),WR().bootstrapModule(xo).catch(e=>console.error(e))}},he=>{he(he.s=304)}]); \ No newline at end of file diff --git a/docs/polyfills.215fa4dd00872c0e.js b/docs/polyfills.215fa4dd00872c0e.js new file mode 100644 index 00000000..8c8146ca --- /dev/null +++ b/docs/polyfills.215fa4dd00872c0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[429],{435:(we,ue,he)=>{he(583)},583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return V.zone}static get currentTask(){return te}static __load_patch(t,o,y=!1){if(J.hasOwnProperty(t)){if(!y&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const y=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(y,this,arguments,o)}}run(t,o,y,P){V={parent:V,zone:this};try{return this._zoneDelegate.invoke(this,t,o,y,P)}finally{V=V.parent}}runGuarded(t,o=null,y,P){V={parent:V,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,y,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{V=V.parent}}runTask(t,o,y){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,V={parent:V,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,y)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),V=V.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let y=this;for(;y;){if(y===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);y=y.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(y){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,y),y}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,y,P){return this.scheduleTask(new m(v,t,o,y,P,void 0))}scheduleMacroTask(t,o,y,P,K){return this.scheduleTask(new m(M,t,o,y,P,K))}scheduleEventTask(t,o,y,P,K){return this.scheduleTask(new m(R,t,o,y,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const y=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;PI.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,y,P)=>I.invokeTask(t,o,y,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const y=o&&o.onHasTask;(y||t&&t._hasTaskZS)&&(this._hasTaskZS=y?o:g,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=g,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=g,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=g,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,y,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,y,P):t.apply(o,y)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,y):t.callback.apply(o,y)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,y=o[p],P=o[p]=y+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=y&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,y,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=y,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&y&&y.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],G=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!G){for(G=!0;B.length;){const I=B;B=[];for(let p=0;pV,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let V={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe=typeof window<"u",pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;return je&&i===pe&&"error"===e.type?(c=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let g=Ce[_];g||(g=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[g]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[g]=T,m.addEventListener(_,qe,!1)):m[g]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[g];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;rfunction(f,_){const g=i(f,_);return g.cbIdx>=0&&"function"==typeof _[g.cbIdx]?Me(g.name,_[g.cbIdx],g,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],g=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch{}}function B(l){return l&&l.then}function G(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{V(l,s,a)}catch(h){V(l,!1,h)}}}const le=f("currentTaskTrace");function V(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{V(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),V(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{V(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==G?[]:[b]);V(a,!0,H)}catch(b){V(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return V(new this(null),A,s)}static reject(s){return V(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){V(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const y=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[y]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function K(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[y]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),g="."+r+":",T="prependListener",m="."+T+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;jfunction(c,u){c[xe]=!0,r&&r.apply(c,u)})}function gt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,g,T){return g&&g.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=g.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(g.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,g,T)},e.attachOriginToPatched(n[r],f)}const Ge=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ge,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=gt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ye(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function g(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,g);if(!B)return B;const G=B.data.handleId;return"number"==typeof G?f[G]=B:G&&(G[Ne]=B),G&&G.ref&&G.unref&&"function"==typeof G.ref&&"function"==typeof G.unref&&(B.ref=G.ref.bind(G),B.unref=G.unref.bind(G)),"number"==typeof G||G?G:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;rfunction(g,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function Mt(e,n){n.patchEventPrototype(e,n)})(e,i),function Lt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let g=0;g{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Zt(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i=typeof WebSocket<"u",r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function pt(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),typeof f.SVGElement<"u"&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ge.concat(nt),r),W(HTMLBodyElement.prototype,Ge.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const g=f.HTMLMarqueeElement;g&&W(g.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),typeof IDBIndex<"u"&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function It(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function g(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const G="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,G,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;Ifunction(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function D(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,n){const i=e.constructor.name;for(let r=0;r{const g=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(g,_),g})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const g=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(g)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.s=435)}]); \ No newline at end of file diff --git a/docs/polyfills.9a22b7af111a7897.js b/docs/polyfills.9a22b7af111a7897.js deleted file mode 100644 index 8d2e29a0..00000000 --- a/docs/polyfills.9a22b7af111a7897.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkReportGenerator_io=self.webpackChunkReportGenerator_io||[]).push([[429],{435:(we,ue,he)=>{he(583)},583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return V.zone}static get currentTask(){return te}static __load_patch(t,o,y=!1){if(J.hasOwnProperty(t)){if(!y&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const y=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(y,this,arguments,o)}}run(t,o,y,P){V={parent:V,zone:this};try{return this._zoneDelegate.invoke(this,t,o,y,P)}finally{V=V.parent}}runGuarded(t,o=null,y,P){V={parent:V,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,y,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{V=V.parent}}runTask(t,o,y){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,V={parent:V,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,y)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),V=V.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let y=this;for(;y;){if(y===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);y=y.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(y){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,y),y}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,y,P){return this.scheduleTask(new m(v,t,o,y,P,void 0))}scheduleMacroTask(t,o,y,P,K){return this.scheduleTask(new m(M,t,o,y,P,K))}scheduleEventTask(t,o,y,P,K){return this.scheduleTask(new m(R,t,o,y,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const y=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;PI.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,y,P)=>I.invokeTask(t,o,y,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const y=o&&o.onHasTask;(y||t&&t._hasTaskZS)&&(this._hasTaskZS=y?o:g,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=g,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=g,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=g,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,y,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,y,P):t.apply(o,y)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,y):t.callback.apply(o,y)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,y=o[p],P=o[p]=y+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=y&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,y,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=y,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&y&&y.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],G=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!G){for(G=!0;B.length;){const I=B;B=[];for(let p=0;pV,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let V={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe=typeof window<"u",pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let g=Ce[_];g||(g=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[g]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[g]=T,m.addEventListener(_,qe,!1)):m[g]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[g];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;rfunction(f,_){const g=i(f,_);return g.cbIdx>=0&&"function"==typeof _[g.cbIdx]?Me(g.name,_[g.cbIdx],g,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],g=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch{}}function B(l){return l&&l.then}function G(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{V(l,s,a)}catch(h){V(l,!1,h)}}}const le=f("currentTaskTrace");function V(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{V(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),V(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{V(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==G?[]:[b]);V(a,!0,H)}catch(b){V(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return V(new this(null),A,s)}static reject(s){return V(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){V(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const y=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[y]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function K(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[y]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),g="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;jfunction(c,u){c[xe]=!0,r&&r.apply(c,u)})}function gt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,g,T){return g&&g.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=g.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(g.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,g,T)},e.attachOriginToPatched(n[r],f)}const Ge=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ge,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=gt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ye(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function g(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,g);if(!B)return B;const G=B.data.handleId;return"number"==typeof G?f[G]=B:G&&(G[Ne]=B),G&&G.ref&&G.unref&&"function"==typeof G.ref&&"function"==typeof G.unref&&(B.ref=G.ref.bind(G),B.unref=G.unref.bind(G)),"number"==typeof G||G?G:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;rfunction(g,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function Mt(e,n){n.patchEventPrototype(e,n)})(e,i),function Lt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let g=0;g{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Zt(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i=typeof WebSocket<"u",r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function pt(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),typeof f.SVGElement<"u"&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ge.concat(nt),r),W(HTMLBodyElement.prototype,Ge.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const g=f.HTMLMarqueeElement;g&&W(g.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),typeof IDBIndex<"u"&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function It(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function g(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const G="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,G,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;Ifunction(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function D(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,n){const i=e.constructor.name;for(let r=0;r{const g=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(g,_),g})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const g=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(g)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.s=435)}]); \ No newline at end of file diff --git a/docs/pro.html b/docs/pro.html index 3df8bc95..7916fab2 100644 --- a/docs/pro.html +++ b/docs/pro.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/docs/resources/badge.svg b/docs/resources/badge.svg index 71c03815..d2d23fd6 100644 --- a/docs/resources/badge.svg +++ b/docs/resources/badge.svg @@ -1,28 +1,46 @@ + \ No newline at end of file diff --git a/docs/resources/input_output.png b/docs/resources/input_output.png index 79f2aeb8..0086c9d2 100644 Binary files a/docs/resources/input_output.png and b/docs/resources/input_output.png differ diff --git a/docs/resources/logo.png b/docs/resources/logo.png index 0f04dbad..467e7504 100644 Binary files a/docs/resources/logo.png and b/docs/resources/logo.png differ diff --git a/docs/resources/logo.svg b/docs/resources/logo.svg new file mode 100644 index 00000000..873756b8 --- /dev/null +++ b/docs/resources/logo.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/resources/logo_512.png b/docs/resources/logo_512.png index deb0ba25..fba22467 100644 Binary files a/docs/resources/logo_512.png and b/docs/resources/logo_512.png differ diff --git a/docs/resources/logo_cli_512.png b/docs/resources/logo_cli_512.png index 4ce4252e..7a3812c1 100644 Binary files a/docs/resources/logo_cli_512.png and b/docs/resources/logo_cli_512.png differ diff --git a/docs/resources/logo_global_512.png b/docs/resources/logo_global_512.png index 379444cd..77228c7b 100644 Binary files a/docs/resources/logo_global_512.png and b/docs/resources/logo_global_512.png differ diff --git a/docs/resources/logo_plugin_512.png b/docs/resources/logo_plugin_512.png index 5233544d..77b23b31 100644 Binary files a/docs/resources/logo_plugin_512.png and b/docs/resources/logo_plugin_512.png differ diff --git a/docs/scripts.16f9259526a5167e.js b/docs/scripts.16f9259526a5167e.js deleted file mode 100644 index 6d29e50f..00000000 --- a/docs/scripts.16f9259526a5167e.js +++ /dev/null @@ -1 +0,0 @@ -!function(H,q){"object"==typeof exports&&typeof module<"u"?module.exports=q(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],q):(H=typeof globalThis<"u"?globalThis:H||self).bootstrap=q(H.Popper)}(this,function(H){"use strict";function q(s){if(s&&s.__esModule)return s;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s)for(const e in s)if("default"!==e){const n=Object.getOwnPropertyDescriptor(s,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>s[e]})}return t.default=s,Object.freeze(t)}const rt=q(H),Tt="transitionend",Wt=s=>{let t=s.getAttribute("data-bs-target");if(!t||"#"===t){let e=s.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&"#"!==e?e.trim():null}return t},Yt=s=>{const t=Wt(s);return t&&document.querySelector(t)?t:null},T=s=>{const t=Wt(s);return t?document.querySelector(t):null},Ft=s=>{s.dispatchEvent(new Event(Tt))},b=s=>!(!s||"object"!=typeof s)&&(typeof s.jquery<"u"&&(s=s[0]),typeof s.nodeType<"u"),S=s=>b(s)?s.jquery?s[0]:s:"string"==typeof s&&s.length>0?document.querySelector(s):null,x=s=>{if(!b(s)||0===s.getClientRects().length)return!1;const t="visible"===getComputedStyle(s).getPropertyValue("visibility"),e=s.closest("details:not([open])");if(!e)return t;if(e!==s){const n=s.closest("summary");if(n&&n.parentNode!==e||null===n)return!1}return t},O=s=>!(s&&s.nodeType===Node.ELEMENT_NODE&&!s.classList.contains("disabled"))||(typeof s.disabled<"u"?s.disabled:s.hasAttribute("disabled")&&"false"!==s.getAttribute("disabled")),jt=s=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof s.getRootNode){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?jt(s.parentNode):null},at=()=>{},Bt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,bt=[],d=()=>"rtl"===document.documentElement.dir,f=s=>{(s=>{"loading"===document.readyState?(bt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of bt)t()}),bt.push(s)):s()})(()=>{const t=Bt();if(t){const e=s.NAME,n=t.fn[e];t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=()=>(t.fn[e]=n,s.jQueryInterface)}})},C=s=>{"function"==typeof s&&s()},Ut=(s,t,e=!0)=>{if(!e)return void C(s);const i=(s=>{if(!s)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(s);const n=Number.parseFloat(t),i=Number.parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})(t)+5;let a=!1;const r=({target:l})=>{l===t&&(a=!0,t.removeEventListener(Tt,r),C(s))};t.addEventListener(Tt,r),setTimeout(()=>{a||Ft(t)},i)},Ct=(s,t,e,n)=>{const i=s.length;let a=s.indexOf(t);return-1===a?!e&&n?s[i-1]:s[0]:(a+=e?1:-1,n&&(a=(a+i)%i),s[Math.max(0,Math.min(a,i-1))])},qe=/[^.]*(?=\..*)\.|.*/,Qe=/\..*/,Xe=/::\d+$/,Nt={};let Gt=1;const zt={mouseenter:"mouseover",mouseleave:"mouseout"},Ze=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function qt(s,t){return t&&`${t}::${Gt++}`||s.uidEvent||Gt++}function Qt(s){const t=qt(s);return s.uidEvent=t,Nt[t]=Nt[t]||{},Nt[t]}function Xt(s,t,e=null){return Object.values(s).find(n=>n.callable===t&&n.delegationSelector===e)}function Zt(s,t,e){const n="string"==typeof t,i=n?e:t||e;let a=te(s);return Ze.has(a)||(a=s),[n,i,a]}function Jt(s,t,e,n,i){if("string"!=typeof t||!s)return;let[a,r,l]=Zt(t,e,n);var zo;t in zt&&(zo=r,r=function(z){if(!z.relatedTarget||z.relatedTarget!==z.delegateTarget&&!z.delegateTarget.contains(z.relatedTarget))return zo.call(this,z)});const u=Qt(s),_=u[l]||(u[l]={}),h=Xt(_,r,a?e:null);if(h)return void(h.oneOff=h.oneOff&&i);const g=qt(r,t.replace(qe,"")),A=a?function ts(s,t,e){return function n(i){const a=s.querySelectorAll(t);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const l of a)if(l===r)return yt(i,{delegateTarget:r}),n.oneOff&&o.off(s,i.type,t,e),e.apply(r,[i])}}(s,e,r):function Je(s,t){return function e(n){return yt(n,{delegateTarget:s}),e.oneOff&&o.off(s,n.type,t),t.apply(s,[n])}}(s,r);A.delegationSelector=a?e:null,A.callable=r,A.oneOff=i,A.uidEvent=g,_[g]=A,s.addEventListener(l,A,a)}function vt(s,t,e,n,i){const a=Xt(t[e],n,i);!a||(s.removeEventListener(e,a,Boolean(i)),delete t[e][a.uidEvent])}function es(s,t,e,n){const i=t[e]||{};for(const a of Object.keys(i))if(a.includes(n)){const r=i[a];vt(s,t,e,r.callable,r.delegationSelector)}}function te(s){return s=s.replace(Qe,""),zt[s]||s}const o={on(s,t,e,n){Jt(s,t,e,n,!1)},one(s,t,e,n){Jt(s,t,e,n,!0)},off(s,t,e,n){if("string"!=typeof t||!s)return;const[i,a,r]=Zt(t,e,n),l=r!==t,u=Qt(s),_=u[r]||{},h=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(_).length)return;vt(s,u,r,a,i?e:null)}else{if(h)for(const g of Object.keys(u))es(s,u,g,t.slice(1));for(const g of Object.keys(_)){const A=g.replace(Xe,"");if(!l||t.includes(A)){const ot=_[g];vt(s,u,r,ot.callable,ot.delegationSelector)}}}},trigger(s,t,e){if("string"!=typeof t||!s)return null;const n=Bt();let r=null,l=!0,u=!0,_=!1;t!==te(t)&&n&&(r=n.Event(t,e),n(s).trigger(r),l=!r.isPropagationStopped(),u=!r.isImmediatePropagationStopped(),_=r.isDefaultPrevented());let h=new Event(t,{bubbles:l,cancelable:!0});return h=yt(h,e),_&&h.preventDefault(),u&&s.dispatchEvent(h),h.defaultPrevented&&r&&r.preventDefault(),h}};function yt(s,t){for(const[e,n]of Object.entries(t||{}))try{s[e]=n}catch{Object.defineProperty(s,e,{configurable:!0,get:()=>n})}return s}const D=new Map,St={set(s,t,e){D.has(s)||D.set(s,new Map);const n=D.get(s);n.has(t)||0===n.size?n.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(s,t)=>D.has(s)&&D.get(s).get(t)||null,remove(s,t){if(!D.has(s))return;const e=D.get(s);e.delete(t),0===e.size&&D.delete(s)}};function ee(s){if("true"===s)return!0;if("false"===s)return!1;if(s===Number(s).toString())return Number(s);if(""===s||"null"===s)return null;if("string"!=typeof s)return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function Ot(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const N={setDataAttribute(s,t,e){s.setAttribute(`data-bs-${Ot(t)}`,e)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${Ot(t)}`)},getDataAttributes(s){if(!s)return{};const t={},e=Object.keys(s.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of e){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=ee(s.dataset[n])}return t},getDataAttribute:(s,t)=>ee(s.getAttribute(`data-bs-${Ot(t)}`))};class X{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=b(e)?N.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...b(e)?N.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const n of Object.keys(e)){const i=e[n],a=t[n],r=b(a)?"element":null==(s=a)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${i}".`)}var s}}class p extends X{constructor(t,e){super(),(t=S(t))&&(this._element=t,this._config=this._getConfig(e),St.set(this._element,this.constructor.DATA_KEY,this))}dispose(){St.remove(this._element,this.constructor.DATA_KEY),o.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){Ut(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return St.get(S(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ct=(s,t="hide")=>{const n=s.NAME;o.on(document,`click.dismiss${s.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),O(this))return;const a=T(this)||this.closest(`.${n}`);s.getOrCreateInstance(a)[t]()})},se=".bs.alert",is=`close${se}`,os=`closed${se}`;class Z extends p{static get NAME(){return"alert"}close(){if(o.trigger(this._element,is).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),o.trigger(this._element,os),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Z.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ct(Z,"close"),f(Z);const ne='[data-bs-toggle="button"]';class J extends p{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=J.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}o.on(document,"click.bs.button.data-api",ne,s=>{s.preventDefault();const t=s.target.closest(ne);J.getOrCreateInstance(t).toggle()}),f(J);const c={find:(s,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,s)),findOne:(s,t=document.documentElement)=>Element.prototype.querySelector.call(t,s),children:(s,t)=>[].concat(...s.children).filter(e=>e.matches(t)),parents(s,t){const e=[];let n=s.parentNode.closest(t);for(;n;)e.push(n),n=n.parentNode.closest(t);return e},prev(s,t){let e=s.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(s,t){let e=s.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(e=>!O(e)&&x(e))}},K=".bs.swipe",fs=`touchstart${K}`,ps=`touchmove${K}`,Es=`touchend${K}`,ms=`pointerdown${K}`,gs=`pointerup${K}`,Ns={endCallback:null,leftCallback:null,rightCallback:null},vs={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class lt extends X{constructor(t,e){super(),this._element=t,t&<.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Ns}static get DefaultType(){return vs}static get NAME(){return"swipe"}dispose(){o.off(this._element,K)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),C(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&C(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(o.on(this._element,ms,t=>this._start(t)),o.on(this._element,gs,t=>this._end(t)),this._element.classList.add("pointer-event")):(o.on(this._element,fs,t=>this._start(t)),o.on(this._element,ps,t=>this._move(t)),o.on(this._element,Es,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const w=".bs.carousel",ie=".data-api",tt="next",W="prev",Y="left",ht="right",ws=`slide${w}`,Dt=`slid${w}`,Ls=`keydown${w}`,$s=`mouseenter${w}`,Is=`mouseleave${w}`,Ms=`dragstart${w}`,Rs=`load${w}${ie}`,Ps=`click${w}${ie}`,oe="carousel",ut="active",Us={ArrowLeft:ht,ArrowRight:Y},Gs={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},zs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class F extends p{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=c.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===oe&&this.cycle()}static get Default(){return Gs}static get DefaultType(){return zs}static get NAME(){return"carousel"}next(){this._slide(tt)}nextWhenVisible(){!document.hidden&&x(this._element)&&this.next()}prev(){this._slide(W)}pause(){this._isSliding&&Ft(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void o.one(this._element,Dt,()=>this.cycle());this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void o.one(this._element,Dt,()=>this.to(t));const n=this._getItemIndex(this._getActive());n!==t&&this._slide(t>n?tt:W,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&o.on(this._element,Ls,t=>this._keydown(t)),"hover"===this._config.pause&&(o.on(this._element,$s,()=>this.pause()),o.on(this._element,Is,()=>this._maybeEnableCycle())),this._config.touch&<.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of c.find(".carousel-item img",this._element))o.on(n,Ms,i=>i.preventDefault());this._swipeHelper=new lt(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Y)),rightCallback:()=>this._slide(this._directionToOrder(ht)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Us[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=c.findOne(".active",this._indicatorsElement);e.classList.remove(ut),e.removeAttribute("aria-current");const n=c.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(ut),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===tt,a=e||Ct(this._getItems(),n,i,this._config.wrap);if(a===n)return;const r=this._getItemIndex(a),l=ot=>o.trigger(this._element,ot,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:r});if(l(ws).defaultPrevented||!n||!a)return;const _=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=a;const h=i?"carousel-item-start":"carousel-item-end",g=i?"carousel-item-next":"carousel-item-prev";a.classList.add(g),n.classList.add(h),a.classList.add(h),this._queueCallback(()=>{a.classList.remove(h,g),a.classList.add(ut),n.classList.remove(ut,g,h),this._isSliding=!1,l(Dt)},n,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return c.findOne(".active.carousel-item",this._element)}_getItems(){return c.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return d()?t===Y?W:tt:t===Y?tt:W}_orderToDirection(t){return d()?t===W?Y:ht:t===W?ht:Y}static jQueryInterface(t){return this.each(function(){const e=F.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}o.on(document,Ps,"[data-bs-slide], [data-bs-slide-to]",function(s){const t=T(this);if(!t||!t.classList.contains(oe))return;s.preventDefault();const e=F.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(e.to(n),void e._maybeEnableCycle()):"next"===N.getDataAttribute(this,"slide")?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),o.on(window,Rs,()=>{const s=c.find('[data-bs-ride="carousel"]');for(const t of s)F.getOrCreateInstance(t)}),f(F);const et=".bs.collapse",Xs=`show${et}`,Zs=`shown${et}`,Js=`hide${et}`,tn=`hidden${et}`,en=`click${et}.data-api`,wt="show",j="collapse",_t="collapsing",nn=`:scope .${j} .${j}`,Lt='[data-bs-toggle="collapse"]',ln={parent:null,toggle:!0},hn={parent:"(null|element)",toggle:"boolean"};class B extends p{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=c.find(Lt);for(const i of n){const a=Yt(i),r=c.find(a).filter(l=>l===this._element);null!==a&&r.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ln}static get DefaultType(){return hn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(l=>l!==this._element).map(l=>B.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||o.trigger(this._element,Xs).defaultPrevented)return;for(const l of t)l.hide();const n=this._getDimension();this._element.classList.remove(j),this._element.classList.add(_t),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(j,wt),this._element.style[n]="",o.trigger(this._element,Zs)},this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||o.trigger(this._element,Js).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(_t),this._element.classList.remove(j,wt);for(const i of this._triggerArray){const a=T(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(j),o.trigger(this._element,tn)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(wt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=S(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Lt);for(const e of t){const n=T(e);n&&this._addAriaAndCollapsedClass([e],this._isShown(n))}}_getFirstLevelChildren(t){const e=c.find(nn,this._config.parent);return c.find(t,this._config.parent).filter(n=>!e.includes(n))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const n=B.getOrCreateInstance(this,e);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}o.on(document,en,Lt,function(s){("A"===s.target.tagName||s.delegateTarget&&"A"===s.delegateTarget.tagName)&&s.preventDefault();const t=Yt(this),e=c.find(t);for(const n of e)B.getOrCreateInstance(n,{toggle:!1}).toggle()}),f(B);const ce="dropdown",$=".bs.dropdown",$t=".data-api",_n="ArrowUp",he="ArrowDown",fn=`hide${$}`,pn=`hidden${$}`,En=`show${$}`,mn=`shown${$}`,ue=`click${$}${$t}`,_e=`keydown${$}${$t}`,gn=`keyup${$}${$t}`,U="show",I='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',vn=`${I}.show`,dt=".dropdown-menu",Dn=d()?"top-end":"top-start",wn=d()?"top-start":"top-end",Ln=d()?"bottom-end":"bottom-start",$n=d()?"bottom-start":"bottom-end",In=d()?"left-start":"right-start",Mn=d()?"right-start":"left-start",kn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class E extends p{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=c.next(this._element,dt)[0]||c.prev(this._element,dt)[0]||c.findOne(dt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return kn}static get DefaultType(){return Vn}static get NAME(){return ce}toggle(){return this._isShown()?this.hide():this.show()}show(){if(O(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!o.trigger(this._element,En,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const n of[].concat(...document.body.children))o.on(n,"mouseover",at);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(U),this._element.classList.add(U),o.trigger(this._element,mn,t)}}hide(){!O(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!o.trigger(this._element,fn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))o.off(n,"mouseover",at);this._popper&&this._popper.destroy(),this._menu.classList.remove(U),this._element.classList.remove(U),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),o.trigger(this._element,pn,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!b(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${ce.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof rt>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:b(this._config.reference)?t=S(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=rt.createPopper(t,this._menu,e)}_isShown(){return this._menu.classList.contains(U)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return In;if(t.classList.contains("dropstart"))return Mn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?wn:Dn:e?$n:Ln}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(N.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=c.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(i=>x(i));!n.length||Ct(n,e,t===he,!n.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=E.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=c.find(vn);for(const n of e){const i=E.getInstance(n);if(!i||!1===i._config.autoClose)continue;const a=t.composedPath(),r=a.includes(i._menu);if(a.includes(i._element)||"inside"===i._config.autoClose&&!r||"outside"===i._config.autoClose&&r||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:i._element};"click"===t.type&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[_n,he].includes(t.key);if(!i&&!n||e&&!n)return;t.preventDefault();const a=this.matches(I)?this:c.prev(this,I)[0]||c.next(this,I)[0]||c.findOne(I,t.delegateTarget.parentNode),r=E.getOrCreateInstance(a);if(i)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),a.focus())}}o.on(document,_e,I,E.dataApiKeydownHandler),o.on(document,_e,dt,E.dataApiKeydownHandler),o.on(document,ue,E.clearMenus),o.on(document,gn,E.clearMenus),o.on(document,ue,I,function(s){s.preventDefault(),E.getOrCreateInstance(this).toggle()}),f(E);const de=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fe=".sticky-top",ft="padding-right",pe="margin-right";class It{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ft,e=>e+t),this._setElementAttributes(de,ft,e=>e+t),this._setElementAttributes(fe,pe,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ft),this._resetElementAttributes(de,ft),this._resetElementAttributes(fe,pe)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+i)return;this._saveInitialAttribute(r,e);const l=window.getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,`${n(Number.parseFloat(l))}px`)})}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&N.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,i=>{const a=N.getDataAttribute(i,e);null!==a?(N.removeDataAttribute(i,e),i.style.setProperty(e,a)):i.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(b(t))e(t);else for(const n of c.find(t,this._element))e(n)}}const Ee="backdrop",ge=`mousedown.bs.${Ee}`,xn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Kn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ae extends X{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return xn}static get DefaultType(){return Kn}static get NAME(){return Ee}show(t){if(!this._config.isVisible)return void C(t);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{C(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),C(t)})):C(t)}dispose(){!this._isAppended||(o.off(this._element,ge),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=S(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),o.on(t,ge,()=>{C(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ut(t,this._getElement(),this._config.isAnimated)}}const pt=".bs.focustrap",Yn=`focusin${pt}`,Fn=`keydown.tab${pt}`,Te="backward",Un={autofocus:!0,trapElement:null},Gn={autofocus:"boolean",trapElement:"element"};class be extends X{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Un}static get DefaultType(){return Gn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),o.off(document,pt),o.on(document,Yn,t=>this._handleFocusin(t)),o.on(document,Fn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,o.off(document,pt))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=c.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===Te?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Te:"forward")}}const m=".bs.modal",Xn=`hide${m}`,Zn=`hidePrevented${m}`,Ce=`hidden${m}`,Ne=`show${m}`,Jn=`shown${m}`,ti=`resize${m}`,ei=`click.dismiss${m}`,si=`mousedown.dismiss${m}`,ni=`keydown.dismiss${m}`,ii=`click${m}.data-api`,ve="modal-open",Mt="modal-static",hi={backdrop:!0,focus:!0,keyboard:!0},ui={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class M extends p{constructor(t,e){super(t,e),this._dialog=c.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new It,this._addEventListeners()}static get Default(){return hi}static get DefaultType(){return ui}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||o.trigger(this._element,Ne,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ve),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||o.trigger(this._element,Xn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])o.off(t,m);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ae({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new be({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=c.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,o.trigger(this._element,Jn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){o.on(this._element,ni,t=>{if("Escape"===t.key){if(this._config.keyboard)return t.preventDefault(),void this.hide();this._triggerBackdropTransition()}}),o.on(window,ti,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),o.on(this._element,si,t=>{o.one(this._element,ei,e=>{if(this._element===t.target&&this._element===e.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ve),this._resetAdjustments(),this._scrollBar.reset(),o.trigger(this._element,Ce)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(o.trigger(this._element,Zn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Mt)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Mt),this._queueCallback(()=>{this._element.classList.remove(Mt),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const i=d()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!n&&t){const i=d()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const n=M.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](e)}})}}o.on(document,ii,'[data-bs-toggle="modal"]',function(s){const t=T(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),o.one(t,Ne,i=>{i.defaultPrevented||o.one(t,Ce,()=>{x(this)&&this.focus()})});const e=c.findOne(".modal.show");e&&M.getInstance(e).hide(),M.getOrCreateInstance(t).toggle(this)}),ct(M),f(M);const v=".bs.offcanvas",Se=".data-api",di=`load${v}${Se}`,De="showing",Le=".offcanvas.show",Ei=`show${v}`,mi=`shown${v}`,gi=`hide${v}`,$e=`hidePrevented${v}`,Ie=`hidden${v}`,Ai=`resize${v}`,Ti=`click${v}${Se}`,bi=`keydown.dismiss${v}`,Ni={backdrop:!0,keyboard:!0,scroll:!1},vi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class y extends p{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ni}static get DefaultType(){return vi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||o.trigger(this._element,Ei,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new It).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(De),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(De),o.trigger(this._element,mi,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!o.trigger(this._element,gi).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new It).reset(),o.trigger(this._element,Ie)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Ae({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():o.trigger(this._element,$e)}:null})}_initializeFocusTrap(){return new be({trapElement:this._element})}_addEventListeners(){o.on(this._element,bi,t=>{if("Escape"===t.key){if(!this._config.keyboard)return void o.trigger(this._element,$e);this.hide()}})}static jQueryInterface(t){return this.each(function(){const e=y.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}o.on(document,Ti,'[data-bs-toggle="offcanvas"]',function(s){const t=T(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),O(this))return;o.one(t,Ie,()=>{x(this)&&this.focus()});const e=c.findOne(Le);e&&e!==t&&y.getInstance(e).hide(),y.getOrCreateInstance(t).toggle(this)}),o.on(window,di,()=>{for(const s of c.find(Le))y.getOrCreateInstance(s).show()}),o.on(window,Ai,()=>{for(const s of c.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(s).position&&y.getOrCreateInstance(s).hide()}),ct(y),f(y);const yi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Oi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Di=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,wi=(s,t)=>{const e=s.nodeName.toLowerCase();return t.includes(e)?!yi.has(e)||Boolean(Oi.test(s.nodeValue)||Di.test(s.nodeValue)):t.filter(n=>n instanceof RegExp).some(n=>n.test(e))},Me={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ii={allowList:Me,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Mi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ri={entry:"(string|element|function|null)",selector:"(string|element)"};class Pi extends X{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ii}static get DefaultType(){return Mi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Ri)}_setContent(t,e,n){const i=c.findOne(n,t);if(i){if(!(e=this._resolvePossibleFunction(e)))return void i.remove();if(b(e))return void this._putElementInTemplate(S(e),i);if(this._config.html)return void(i.innerHTML=this._maybeSanitize(e));i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?function Li(s,t,e){if(!s.length)return s;if(e&&"function"==typeof e)return e(s);const i=(new window.DOMParser).parseFromString(s,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const r of a){const l=r.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){r.remove();continue}const u=[].concat(...r.attributes),_=[].concat(t["*"]||[],t[l]||[]);for(const h of u)wi(h,_)||r.removeAttribute(h.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Vi=new Set(["sanitize","allowList","sanitizeFn"]),Rt="fade",Et="show",Pe="hide.bs.modal",st="hover",Pt="focus",Zi={AUTO:"auto",TOP:"top",RIGHT:d()?"left":"right",BOTTOM:"bottom",LEFT:d()?"right":"left"},Ji={allowList:Me,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},to={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class R extends p{constructor(t,e){if(typeof rt>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ji}static get DefaultType(){return to}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),o.off(this._element.closest(".modal"),Pe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=o.trigger(this._element,this.constructor.eventName("show")),n=(jt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),o.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Et),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))o.on(l,"mouseover",at);this._queueCallback(()=>{o.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!o.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Et),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))o.off(i,"mouseover",at);this._activeTrigger.click=!1,this._activeTrigger[Pt]=!1,this._activeTrigger[st]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),o.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Rt,Et),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Rt),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Pi({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rt)}_isShown(){return this.tip&&this.tip.classList.contains(Et)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=Zi[e.toUpperCase()];return rt.createPopper(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)o.on(this._element,this.constructor.eventName("click"),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if("manual"!==e){const n=this.constructor.eventName(e===st?"mouseenter":"focusin"),i=this.constructor.eventName(e===st?"mouseleave":"focusout");o.on(this._element,n,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusin"===a.type?Pt:st]=!0,r._enter()}),o.on(this._element,i,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusout"===a.type?Pt:st]=r._element.contains(a.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},o.on(this._element.closest(".modal"),Pe,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");!t||(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=N.getDataAttributes(this._element);for(const n of Object.keys(e))Vi.has(n)&&delete e[n];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:S(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=R.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(R);const io={...R.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},oo={...R.DefaultType,content:"(null|string|element|function)"};class mt extends R{static get Default(){return io}static get DefaultType(){return oo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=mt.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(mt);const kt=".bs.scrollspy",co=`activate${kt}`,ke=`click${kt}`,lo=`load${kt}.data-api`,G="active",Vt="[href]",Ve=".nav-link",fo=`${Ve}, .nav-item > ${Ve}, .list-group-item`,mo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},go={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class nt extends p{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return mo}static get DefaultType(){return go}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=S(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){!this._config.smoothScroll||(o.off(this._config.target,ke),o.on(this._config.target,ke,Vt,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){return new IntersectionObserver(e=>this._observerCallback(e),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(t){const e=r=>this._targetLinks.get(`#${r.target.id}`),n=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(e(r))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const l=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&l){if(n(r),!i)return}else!a&&!l&&n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=c.find(Vt,this._config.target);for(const e of t){if(!e.hash||O(e))continue;const n=c.findOne(e.hash,this._element);x(n)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(G),this._activateParents(t),o.trigger(this._element,co,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))c.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(G);else for(const e of c.parents(t,".nav, .list-group"))for(const n of c.prev(e,fo))n.classList.add(G)}_clearActiveClass(t){t.classList.remove(G);const e=c.find(`${Vt}.${G}`,t);for(const n of e)n.classList.remove(G)}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(window,lo,()=>{for(const s of c.find('[data-bs-spy="scroll"]'))nt.getOrCreateInstance(s)}),f(nt);const P=".bs.tab",To=`hide${P}`,bo=`hidden${P}`,Co=`show${P}`,No=`shown${P}`,vo=`click${P}`,yo=`keydown${P}`,So=`load${P}`,Oo="ArrowLeft",He="ArrowRight",Do="ArrowUp",xe="ArrowDown",k="active",Ht="show",xt=":not(.dropdown-toggle)",We='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Kt=`.nav-link${xt}, .list-group-item${xt}, [role="tab"]${xt}, ${We}`,Po=`.${k}[data-bs-toggle="tab"], .${k}[data-bs-toggle="pill"], .${k}[data-bs-toggle="list"]`;class V extends p{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),o.on(this._element,yo,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?o.trigger(e,To,{relatedTarget:t}):null;o.trigger(t,Co,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(k),this._activate(T(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),o.trigger(t,No,{relatedTarget:e})):t.classList.add(Ht)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(k),t.blur(),this._deactivate(T(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),o.trigger(t,bo,{relatedTarget:e})):t.classList.remove(Ht)},t,t.classList.contains("fade")))}_keydown(t){if(![Oo,He,Do,xe].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[He,xe].includes(t.key),n=Ct(this._getChildren().filter(i=>!O(i)),t.target,e,!0);n&&(n.focus({preventScroll:!0}),V.getOrCreateInstance(n).show())}_getChildren(){return c.find(Kt,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=T(t);!e||(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(a,r)=>{const l=c.findOne(a,n);l&&l.classList.toggle(r,e)};i(".dropdown-toggle",k),i(".dropdown-menu",Ht),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(k)}_getInnerElement(t){return t.matches(Kt)?t:c.findOne(Kt,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=V.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(document,vo,We,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),!O(this)&&V.getOrCreateInstance(this).show()}),o.on(window,So,()=>{for(const s of c.find(Po))V.getOrCreateInstance(s)}),f(V);const L=".bs.toast",Vo=`mouseover${L}`,Ho=`mouseout${L}`,xo=`focusin${L}`,Ko=`focusout${L}`,Wo=`hide${L}`,Yo=`hidden${L}`,Fo=`show${L}`,jo=`shown${L}`,gt="show",At="showing",Uo={animation:"boolean",autohide:"boolean",delay:"number"},Go={animation:!0,autohide:!0,delay:5e3};class it extends p{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Go}static get DefaultType(){return Uo}static get NAME(){return"toast"}show(){o.trigger(this._element,Fo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(gt,At),this._queueCallback(()=>{this._element.classList.remove(At),o.trigger(this._element,jo),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!o.trigger(this._element,Wo).defaultPrevented&&(this._element.classList.add(At),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(At,gt),o.trigger(this._element,Yo)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gt),super.dispose()}isShown(){return this._element.classList.contains(gt)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){o.on(this._element,Vo,t=>this._onInteraction(t,!0)),o.on(this._element,Ho,t=>this._onInteraction(t,!1)),o.on(this._element,xo,t=>this._onInteraction(t,!0)),o.on(this._element,Ko,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=it.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return ct(it),f(it),{Alert:Z,Button:J,Carousel:F,Collapse:B,Dropdown:E,Modal:M,Offcanvas:y,Popover:mt,ScrollSpy:nt,Tab:V,Toast:it,Tooltip:R}}); \ No newline at end of file diff --git a/docs/scripts.2dd2975b13cf5b4a.js b/docs/scripts.2dd2975b13cf5b4a.js new file mode 100644 index 00000000..627d16bc --- /dev/null +++ b/docs/scripts.2dd2975b13cf5b4a.js @@ -0,0 +1 @@ +!function(H,q){"object"==typeof exports&&typeof module<"u"?module.exports=q(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],q):(H=typeof globalThis<"u"?globalThis:H||self).bootstrap=q(H.Popper)}(this,function(H){"use strict";function q(s){if(s&&s.__esModule)return s;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s)for(const e in s)if("default"!==e){const n=Object.getOwnPropertyDescriptor(s,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>s[e]})}return t.default=s,Object.freeze(t)}const rt=q(H),Tt="transitionend",Wt=s=>{let t=s.getAttribute("data-bs-target");if(!t||"#"===t){let e=s.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&"#"!==e?e.trim():null}return t},Yt=s=>{const t=Wt(s);return t&&document.querySelector(t)?t:null},T=s=>{const t=Wt(s);return t?document.querySelector(t):null},Ft=s=>{s.dispatchEvent(new Event(Tt))},b=s=>!(!s||"object"!=typeof s)&&(typeof s.jquery<"u"&&(s=s[0]),typeof s.nodeType<"u"),S=s=>b(s)?s.jquery?s[0]:s:"string"==typeof s&&s.length>0?document.querySelector(s):null,x=s=>{if(!b(s)||0===s.getClientRects().length)return!1;const t="visible"===getComputedStyle(s).getPropertyValue("visibility"),e=s.closest("details:not([open])");if(!e)return t;if(e!==s){const n=s.closest("summary");if(n&&n.parentNode!==e||null===n)return!1}return t},O=s=>!(s&&s.nodeType===Node.ELEMENT_NODE&&!s.classList.contains("disabled"))||(typeof s.disabled<"u"?s.disabled:s.hasAttribute("disabled")&&"false"!==s.getAttribute("disabled")),jt=s=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof s.getRootNode){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?jt(s.parentNode):null},at=()=>{},Bt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,bt=[],d=()=>"rtl"===document.documentElement.dir,f=s=>{(s=>{"loading"===document.readyState?(bt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of bt)t()}),bt.push(s)):s()})(()=>{const t=Bt();if(t){const e=s.NAME,n=t.fn[e];t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=()=>(t.fn[e]=n,s.jQueryInterface)}})},C=s=>{"function"==typeof s&&s()},Ut=(s,t,e=!0)=>{if(!e)return void C(s);const i=(s=>{if(!s)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(s);const n=Number.parseFloat(t),i=Number.parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})(t)+5;let a=!1;const r=({target:l})=>{l===t&&(a=!0,t.removeEventListener(Tt,r),C(s))};t.addEventListener(Tt,r),setTimeout(()=>{a||Ft(t)},i)},Ct=(s,t,e,n)=>{const i=s.length;let a=s.indexOf(t);return-1===a?!e&&n?s[i-1]:s[0]:(a+=e?1:-1,n&&(a=(a+i)%i),s[Math.max(0,Math.min(a,i-1))])},qe=/[^.]*(?=\..*)\.|.*/,Qe=/\..*/,Xe=/::\d+$/,Nt={};let Gt=1;const zt={mouseenter:"mouseover",mouseleave:"mouseout"},Ze=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function qt(s,t){return t&&`${t}::${Gt++}`||s.uidEvent||Gt++}function Qt(s){const t=qt(s);return s.uidEvent=t,Nt[t]=Nt[t]||{},Nt[t]}function Xt(s,t,e=null){return Object.values(s).find(n=>n.callable===t&&n.delegationSelector===e)}function Zt(s,t,e){const n="string"==typeof t,i=n?e:t||e;let a=te(s);return Ze.has(a)||(a=s),[n,i,a]}function Jt(s,t,e,n,i){if("string"!=typeof t||!s)return;let[a,r,l]=Zt(t,e,n);var zo;t in zt&&(zo=r,r=function(z){if(!z.relatedTarget||z.relatedTarget!==z.delegateTarget&&!z.delegateTarget.contains(z.relatedTarget))return zo.call(this,z)});const u=Qt(s),_=u[l]||(u[l]={}),h=Xt(_,r,a?e:null);if(h)return void(h.oneOff=h.oneOff&&i);const g=qt(r,t.replace(qe,"")),A=a?function ts(s,t,e){return function n(i){const a=s.querySelectorAll(t);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const l of a)if(l===r)return yt(i,{delegateTarget:r}),n.oneOff&&o.off(s,i.type,t,e),e.apply(r,[i])}}(s,e,r):function Je(s,t){return function e(n){return yt(n,{delegateTarget:s}),e.oneOff&&o.off(s,n.type,t),t.apply(s,[n])}}(s,r);A.delegationSelector=a?e:null,A.callable=r,A.oneOff=i,A.uidEvent=g,_[g]=A,s.addEventListener(l,A,a)}function vt(s,t,e,n,i){const a=Xt(t[e],n,i);a&&(s.removeEventListener(e,a,Boolean(i)),delete t[e][a.uidEvent])}function es(s,t,e,n){const i=t[e]||{};for(const a of Object.keys(i))if(a.includes(n)){const r=i[a];vt(s,t,e,r.callable,r.delegationSelector)}}function te(s){return s=s.replace(Qe,""),zt[s]||s}const o={on(s,t,e,n){Jt(s,t,e,n,!1)},one(s,t,e,n){Jt(s,t,e,n,!0)},off(s,t,e,n){if("string"!=typeof t||!s)return;const[i,a,r]=Zt(t,e,n),l=r!==t,u=Qt(s),_=u[r]||{},h=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(_).length)return;vt(s,u,r,a,i?e:null)}else{if(h)for(const g of Object.keys(u))es(s,u,g,t.slice(1));for(const g of Object.keys(_)){const A=g.replace(Xe,"");if(!l||t.includes(A)){const ot=_[g];vt(s,u,r,ot.callable,ot.delegationSelector)}}}},trigger(s,t,e){if("string"!=typeof t||!s)return null;const n=Bt();let r=null,l=!0,u=!0,_=!1;t!==te(t)&&n&&(r=n.Event(t,e),n(s).trigger(r),l=!r.isPropagationStopped(),u=!r.isImmediatePropagationStopped(),_=r.isDefaultPrevented());let h=new Event(t,{bubbles:l,cancelable:!0});return h=yt(h,e),_&&h.preventDefault(),u&&s.dispatchEvent(h),h.defaultPrevented&&r&&r.preventDefault(),h}};function yt(s,t){for(const[e,n]of Object.entries(t||{}))try{s[e]=n}catch{Object.defineProperty(s,e,{configurable:!0,get:()=>n})}return s}const D=new Map,St={set(s,t,e){D.has(s)||D.set(s,new Map);const n=D.get(s);n.has(t)||0===n.size?n.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(s,t)=>D.has(s)&&D.get(s).get(t)||null,remove(s,t){if(!D.has(s))return;const e=D.get(s);e.delete(t),0===e.size&&D.delete(s)}};function ee(s){if("true"===s)return!0;if("false"===s)return!1;if(s===Number(s).toString())return Number(s);if(""===s||"null"===s)return null;if("string"!=typeof s)return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function Ot(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const N={setDataAttribute(s,t,e){s.setAttribute(`data-bs-${Ot(t)}`,e)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${Ot(t)}`)},getDataAttributes(s){if(!s)return{};const t={},e=Object.keys(s.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of e){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=ee(s.dataset[n])}return t},getDataAttribute:(s,t)=>ee(s.getAttribute(`data-bs-${Ot(t)}`))};class X{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=b(e)?N.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...b(e)?N.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const n of Object.keys(e)){const i=e[n],a=t[n],r=b(a)?"element":null==(s=a)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${i}".`)}var s}}class p extends X{constructor(t,e){super(),(t=S(t))&&(this._element=t,this._config=this._getConfig(e),St.set(this._element,this.constructor.DATA_KEY,this))}dispose(){St.remove(this._element,this.constructor.DATA_KEY),o.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){Ut(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return St.get(S(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ct=(s,t="hide")=>{const n=s.NAME;o.on(document,`click.dismiss${s.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),O(this))return;const a=T(this)||this.closest(`.${n}`);s.getOrCreateInstance(a)[t]()})},se=".bs.alert",is=`close${se}`,os=`closed${se}`;class Z extends p{static get NAME(){return"alert"}close(){if(o.trigger(this._element,is).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),o.trigger(this._element,os),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Z.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ct(Z,"close"),f(Z);const ne='[data-bs-toggle="button"]';class J extends p{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=J.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}o.on(document,"click.bs.button.data-api",ne,s=>{s.preventDefault();const t=s.target.closest(ne);J.getOrCreateInstance(t).toggle()}),f(J);const c={find:(s,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,s)),findOne:(s,t=document.documentElement)=>Element.prototype.querySelector.call(t,s),children:(s,t)=>[].concat(...s.children).filter(e=>e.matches(t)),parents(s,t){const e=[];let n=s.parentNode.closest(t);for(;n;)e.push(n),n=n.parentNode.closest(t);return e},prev(s,t){let e=s.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(s,t){let e=s.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(e=>!O(e)&&x(e))}},K=".bs.swipe",fs=`touchstart${K}`,ps=`touchmove${K}`,Es=`touchend${K}`,ms=`pointerdown${K}`,gs=`pointerup${K}`,Ns={endCallback:null,leftCallback:null,rightCallback:null},vs={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class lt extends X{constructor(t,e){super(),this._element=t,t&<.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Ns}static get DefaultType(){return vs}static get NAME(){return"swipe"}dispose(){o.off(this._element,K)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),C(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&C(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(o.on(this._element,ms,t=>this._start(t)),o.on(this._element,gs,t=>this._end(t)),this._element.classList.add("pointer-event")):(o.on(this._element,fs,t=>this._start(t)),o.on(this._element,ps,t=>this._move(t)),o.on(this._element,Es,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const w=".bs.carousel",ie=".data-api",tt="next",W="prev",Y="left",ht="right",ws=`slide${w}`,Dt=`slid${w}`,Ls=`keydown${w}`,$s=`mouseenter${w}`,Is=`mouseleave${w}`,Ms=`dragstart${w}`,Rs=`load${w}${ie}`,Ps=`click${w}${ie}`,oe="carousel",ut="active",re=".active",ae=".carousel-item",Ws=re+ae,Us={ArrowLeft:ht,ArrowRight:Y},Gs={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},zs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class F extends p{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=c.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===oe&&this.cycle()}static get Default(){return Gs}static get DefaultType(){return zs}static get NAME(){return"carousel"}next(){this._slide(tt)}nextWhenVisible(){!document.hidden&&x(this._element)&&this.next()}prev(){this._slide(W)}pause(){this._isSliding&&Ft(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void o.one(this._element,Dt,()=>this.cycle());this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void o.one(this._element,Dt,()=>this.to(t));const n=this._getItemIndex(this._getActive());n!==t&&this._slide(t>n?tt:W,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&o.on(this._element,Ls,t=>this._keydown(t)),"hover"===this._config.pause&&(o.on(this._element,$s,()=>this.pause()),o.on(this._element,Is,()=>this._maybeEnableCycle())),this._config.touch&<.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of c.find(".carousel-item img",this._element))o.on(n,Ms,i=>i.preventDefault());this._swipeHelper=new lt(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Y)),rightCallback:()=>this._slide(this._directionToOrder(ht)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Us[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=c.findOne(re,this._indicatorsElement);e.classList.remove(ut),e.removeAttribute("aria-current");const n=c.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(ut),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===tt,a=e||Ct(this._getItems(),n,i,this._config.wrap);if(a===n)return;const r=this._getItemIndex(a),l=ot=>o.trigger(this._element,ot,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:r});if(l(ws).defaultPrevented||!n||!a)return;const _=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=a;const h=i?"carousel-item-start":"carousel-item-end",g=i?"carousel-item-next":"carousel-item-prev";a.classList.add(g),n.classList.add(h),a.classList.add(h),this._queueCallback(()=>{a.classList.remove(h,g),a.classList.add(ut),n.classList.remove(ut,g,h),this._isSliding=!1,l(Dt)},n,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return c.findOne(Ws,this._element)}_getItems(){return c.find(ae,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return d()?t===Y?W:tt:t===Y?tt:W}_orderToDirection(t){return d()?t===W?Y:ht:t===W?ht:Y}static jQueryInterface(t){return this.each(function(){const e=F.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}o.on(document,Ps,"[data-bs-slide], [data-bs-slide-to]",function(s){const t=T(this);if(!t||!t.classList.contains(oe))return;s.preventDefault();const e=F.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(e.to(n),void e._maybeEnableCycle()):"next"===N.getDataAttribute(this,"slide")?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),o.on(window,Rs,()=>{const s=c.find('[data-bs-ride="carousel"]');for(const t of s)F.getOrCreateInstance(t)}),f(F);const et=".bs.collapse",Xs=`show${et}`,Zs=`shown${et}`,Js=`hide${et}`,tn=`hidden${et}`,en=`click${et}.data-api`,wt="show",j="collapse",_t="collapsing",nn=`:scope .${j} .${j}`,Lt='[data-bs-toggle="collapse"]',ln={parent:null,toggle:!0},hn={parent:"(null|element)",toggle:"boolean"};class B extends p{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=c.find(Lt);for(const i of n){const a=Yt(i),r=c.find(a).filter(l=>l===this._element);null!==a&&r.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ln}static get DefaultType(){return hn}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(l=>l!==this._element).map(l=>B.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||o.trigger(this._element,Xs).defaultPrevented)return;for(const l of t)l.hide();const n=this._getDimension();this._element.classList.remove(j),this._element.classList.add(_t),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(j,wt),this._element.style[n]="",o.trigger(this._element,Zs)},this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||o.trigger(this._element,Js).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(_t),this._element.classList.remove(j,wt);for(const i of this._triggerArray){const a=T(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(_t),this._element.classList.add(j),o.trigger(this._element,tn)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(wt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=S(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Lt);for(const e of t){const n=T(e);n&&this._addAriaAndCollapsedClass([e],this._isShown(n))}}_getFirstLevelChildren(t){const e=c.find(nn,this._config.parent);return c.find(t,this._config.parent).filter(n=>!e.includes(n))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const n=B.getOrCreateInstance(this,e);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}o.on(document,en,Lt,function(s){("A"===s.target.tagName||s.delegateTarget&&"A"===s.delegateTarget.tagName)&&s.preventDefault();const t=Yt(this),e=c.find(t);for(const n of e)B.getOrCreateInstance(n,{toggle:!1}).toggle()}),f(B);const ce="dropdown",$=".bs.dropdown",$t=".data-api",_n="ArrowUp",he="ArrowDown",fn=`hide${$}`,pn=`hidden${$}`,En=`show${$}`,mn=`shown${$}`,ue=`click${$}${$t}`,_e=`keydown${$}${$t}`,gn=`keyup${$}${$t}`,U="show",I='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',vn=`${I}.${U}`,dt=".dropdown-menu",Dn=d()?"top-end":"top-start",wn=d()?"top-start":"top-end",Ln=d()?"bottom-end":"bottom-start",$n=d()?"bottom-start":"bottom-end",In=d()?"left-start":"right-start",Mn=d()?"right-start":"left-start",kn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class E extends p{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=c.next(this._element,dt)[0]||c.prev(this._element,dt)[0]||c.findOne(dt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return kn}static get DefaultType(){return Vn}static get NAME(){return ce}toggle(){return this._isShown()?this.hide():this.show()}show(){if(O(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!o.trigger(this._element,En,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const n of[].concat(...document.body.children))o.on(n,"mouseover",at);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(U),this._element.classList.add(U),o.trigger(this._element,mn,t)}}hide(){!O(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!o.trigger(this._element,fn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))o.off(n,"mouseover",at);this._popper&&this._popper.destroy(),this._menu.classList.remove(U),this._element.classList.remove(U),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),o.trigger(this._element,pn,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!b(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${ce.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof rt>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:b(this._config.reference)?t=S(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=rt.createPopper(t,this._menu,e)}_isShown(){return this._menu.classList.contains(U)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return In;if(t.classList.contains("dropstart"))return Mn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?wn:Dn:e?$n:Ln}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(N.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=c.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(i=>x(i));n.length&&Ct(n,e,t===he,!n.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=E.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=c.find(vn);for(const n of e){const i=E.getInstance(n);if(!i||!1===i._config.autoClose)continue;const a=t.composedPath(),r=a.includes(i._menu);if(a.includes(i._element)||"inside"===i._config.autoClose&&!r||"outside"===i._config.autoClose&&r||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:i._element};"click"===t.type&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[_n,he].includes(t.key);if(!i&&!n||e&&!n)return;t.preventDefault();const a=this.matches(I)?this:c.prev(this,I)[0]||c.next(this,I)[0]||c.findOne(I,t.delegateTarget.parentNode),r=E.getOrCreateInstance(a);if(i)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),a.focus())}}o.on(document,_e,I,E.dataApiKeydownHandler),o.on(document,_e,dt,E.dataApiKeydownHandler),o.on(document,ue,E.clearMenus),o.on(document,gn,E.clearMenus),o.on(document,ue,I,function(s){s.preventDefault(),E.getOrCreateInstance(this).toggle()}),f(E);const de=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fe=".sticky-top",ft="padding-right",pe="margin-right";class It{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ft,e=>e+t),this._setElementAttributes(de,ft,e=>e+t),this._setElementAttributes(fe,pe,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ft),this._resetElementAttributes(de,ft),this._resetElementAttributes(fe,pe)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+i)return;this._saveInitialAttribute(r,e);const l=window.getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,`${n(Number.parseFloat(l))}px`)})}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&N.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,i=>{const a=N.getDataAttribute(i,e);null!==a?(N.removeDataAttribute(i,e),i.style.setProperty(e,a)):i.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(b(t))e(t);else for(const n of c.find(t,this._element))e(n)}}const Ee="backdrop",ge=`mousedown.bs.${Ee}`,xn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Kn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ae extends X{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return xn}static get DefaultType(){return Kn}static get NAME(){return Ee}show(t){if(!this._config.isVisible)return void C(t);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{C(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),C(t)})):C(t)}dispose(){this._isAppended&&(o.off(this._element,ge),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=S(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),o.on(t,ge,()=>{C(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ut(t,this._getElement(),this._config.isAnimated)}}const pt=".bs.focustrap",Yn=`focusin${pt}`,Fn=`keydown.tab${pt}`,Te="backward",Un={autofocus:!0,trapElement:null},Gn={autofocus:"boolean",trapElement:"element"};class be extends X{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Un}static get DefaultType(){return Gn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),o.off(document,pt),o.on(document,Yn,t=>this._handleFocusin(t)),o.on(document,Fn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,o.off(document,pt))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=c.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===Te?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Te:"forward")}}const m=".bs.modal",Xn=`hide${m}`,Zn=`hidePrevented${m}`,Ce=`hidden${m}`,Ne=`show${m}`,Jn=`shown${m}`,ti=`resize${m}`,ei=`click.dismiss${m}`,si=`mousedown.dismiss${m}`,ni=`keydown.dismiss${m}`,ii=`click${m}.data-api`,ve="modal-open",Mt="modal-static",hi={backdrop:!0,focus:!0,keyboard:!0},ui={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class M extends p{constructor(t,e){super(t,e),this._dialog=c.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new It,this._addEventListeners()}static get Default(){return hi}static get DefaultType(){return ui}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||o.trigger(this._element,Ne,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ve),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||o.trigger(this._element,Xn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])o.off(t,m);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ae({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new be({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=c.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,o.trigger(this._element,Jn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){o.on(this._element,ni,t=>{if("Escape"===t.key){if(this._config.keyboard)return t.preventDefault(),void this.hide();this._triggerBackdropTransition()}}),o.on(window,ti,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),o.on(this._element,si,t=>{o.one(this._element,ei,e=>{if(this._element===t.target&&this._element===e.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ve),this._resetAdjustments(),this._scrollBar.reset(),o.trigger(this._element,Ce)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(o.trigger(this._element,Zn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Mt)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Mt),this._queueCallback(()=>{this._element.classList.remove(Mt),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const i=d()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!n&&t){const i=d()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const n=M.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](e)}})}}o.on(document,ii,'[data-bs-toggle="modal"]',function(s){const t=T(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),o.one(t,Ne,i=>{i.defaultPrevented||o.one(t,Ce,()=>{x(this)&&this.focus()})});const e=c.findOne(".modal.show");e&&M.getInstance(e).hide(),M.getOrCreateInstance(t).toggle(this)}),ct(M),f(M);const v=".bs.offcanvas",Se=".data-api",di=`load${v}${Se}`,De="showing",Le=".offcanvas.show",Ei=`show${v}`,mi=`shown${v}`,gi=`hide${v}`,$e=`hidePrevented${v}`,Ie=`hidden${v}`,Ai=`resize${v}`,Ti=`click${v}${Se}`,bi=`keydown.dismiss${v}`,Ni={backdrop:!0,keyboard:!0,scroll:!1},vi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class y extends p{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ni}static get DefaultType(){return vi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||o.trigger(this._element,Ei,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new It).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(De),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(De),o.trigger(this._element,mi,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!o.trigger(this._element,gi).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new It).reset(),o.trigger(this._element,Ie)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Ae({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():o.trigger(this._element,$e)}:null})}_initializeFocusTrap(){return new be({trapElement:this._element})}_addEventListeners(){o.on(this._element,bi,t=>{if("Escape"===t.key){if(!this._config.keyboard)return void o.trigger(this._element,$e);this.hide()}})}static jQueryInterface(t){return this.each(function(){const e=y.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}o.on(document,Ti,'[data-bs-toggle="offcanvas"]',function(s){const t=T(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),O(this))return;o.one(t,Ie,()=>{x(this)&&this.focus()});const e=c.findOne(Le);e&&e!==t&&y.getInstance(e).hide(),y.getOrCreateInstance(t).toggle(this)}),o.on(window,di,()=>{for(const s of c.find(Le))y.getOrCreateInstance(s).show()}),o.on(window,Ai,()=>{for(const s of c.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(s).position&&y.getOrCreateInstance(s).hide()}),ct(y),f(y);const yi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Oi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Di=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,wi=(s,t)=>{const e=s.nodeName.toLowerCase();return t.includes(e)?!yi.has(e)||Boolean(Oi.test(s.nodeValue)||Di.test(s.nodeValue)):t.filter(n=>n instanceof RegExp).some(n=>n.test(e))},Me={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ii={allowList:Me,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Mi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ri={entry:"(string|element|function|null)",selector:"(string|element)"};class Pi extends X{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ii}static get DefaultType(){return Mi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Ri)}_setContent(t,e,n){const i=c.findOne(n,t);if(i){if(!(e=this._resolvePossibleFunction(e)))return void i.remove();if(b(e))return void this._putElementInTemplate(S(e),i);if(this._config.html)return void(i.innerHTML=this._maybeSanitize(e));i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?function Li(s,t,e){if(!s.length)return s;if(e&&"function"==typeof e)return e(s);const i=(new window.DOMParser).parseFromString(s,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const r of a){const l=r.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){r.remove();continue}const u=[].concat(...r.attributes),_=[].concat(t["*"]||[],t[l]||[]);for(const h of u)wi(h,_)||r.removeAttribute(h.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Vi=new Set(["sanitize","allowList","sanitizeFn"]),Rt="fade",Et="show",Pe="hide.bs.modal",st="hover",Pt="focus",Zi={AUTO:"auto",TOP:"top",RIGHT:d()?"left":"right",BOTTOM:"bottom",LEFT:d()?"right":"left"},Ji={allowList:Me,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},to={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class R extends p{constructor(t,e){if(typeof rt>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ji}static get DefaultType(){return to}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),o.off(this._element.closest(".modal"),Pe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=o.trigger(this._element,this.constructor.eventName("show")),n=(jt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),o.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(Et),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))o.on(l,"mouseover",at);this._queueCallback(()=>{o.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!o.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Et),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))o.off(i,"mouseover",at);this._activeTrigger.click=!1,this._activeTrigger[Pt]=!1,this._activeTrigger[st]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),o.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Rt,Et),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Rt),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Pi({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rt)}_isShown(){return this.tip&&this.tip.classList.contains(Et)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=Zi[e.toUpperCase()];return rt.createPopper(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)o.on(this._element,this.constructor.eventName("click"),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if("manual"!==e){const n=this.constructor.eventName(e===st?"mouseenter":"focusin"),i=this.constructor.eventName(e===st?"mouseleave":"focusout");o.on(this._element,n,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusin"===a.type?Pt:st]=!0,r._enter()}),o.on(this._element,i,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusout"===a.type?Pt:st]=r._element.contains(a.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},o.on(this._element.closest(".modal"),Pe,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=N.getDataAttributes(this._element);for(const n of Object.keys(e))Vi.has(n)&&delete e[n];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:S(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=R.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(R);const io={...R.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},oo={...R.DefaultType,content:"(null|string|element|function)"};class mt extends R{static get Default(){return io}static get DefaultType(){return oo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=mt.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(mt);const kt=".bs.scrollspy",co=`activate${kt}`,ke=`click${kt}`,lo=`load${kt}.data-api`,G="active",Vt="[href]",Ve=".nav-link",fo=`${Ve}, .nav-item > ${Ve}, .list-group-item`,mo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},go={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class nt extends p{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return mo}static get DefaultType(){return go}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=S(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(o.off(this._config.target,ke),o.on(this._config.target,ke,Vt,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){return new IntersectionObserver(e=>this._observerCallback(e),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(t){const e=r=>this._targetLinks.get(`#${r.target.id}`),n=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(e(r))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const l=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&l){if(n(r),!i)return}else!a&&!l&&n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=c.find(Vt,this._config.target);for(const e of t){if(!e.hash||O(e))continue;const n=c.findOne(e.hash,this._element);x(n)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(G),this._activateParents(t),o.trigger(this._element,co,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))c.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(G);else for(const e of c.parents(t,".nav, .list-group"))for(const n of c.prev(e,fo))n.classList.add(G)}_clearActiveClass(t){t.classList.remove(G);const e=c.find(`${Vt}.${G}`,t);for(const n of e)n.classList.remove(G)}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(window,lo,()=>{for(const s of c.find('[data-bs-spy="scroll"]'))nt.getOrCreateInstance(s)}),f(nt);const P=".bs.tab",To=`hide${P}`,bo=`hidden${P}`,Co=`show${P}`,No=`shown${P}`,vo=`click${P}`,yo=`keydown${P}`,So=`load${P}`,Oo="ArrowLeft",He="ArrowRight",Do="ArrowUp",xe="ArrowDown",k="active",Ht="show",xt=":not(.dropdown-toggle)",We='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Kt=`.nav-link${xt}, .list-group-item${xt}, [role="tab"]${xt}, ${We}`,Po=`.${k}[data-bs-toggle="tab"], .${k}[data-bs-toggle="pill"], .${k}[data-bs-toggle="list"]`;class V extends p{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),o.on(this._element,yo,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?o.trigger(e,To,{relatedTarget:t}):null;o.trigger(t,Co,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(k),this._activate(T(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),o.trigger(t,No,{relatedTarget:e})):t.classList.add(Ht)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(k),t.blur(),this._deactivate(T(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),o.trigger(t,bo,{relatedTarget:e})):t.classList.remove(Ht)},t,t.classList.contains("fade")))}_keydown(t){if(![Oo,He,Do,xe].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[He,xe].includes(t.key),n=Ct(this._getChildren().filter(i=>!O(i)),t.target,e,!0);n&&(n.focus({preventScroll:!0}),V.getOrCreateInstance(n).show())}_getChildren(){return c.find(Kt,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=T(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(a,r)=>{const l=c.findOne(a,n);l&&l.classList.toggle(r,e)};i(".dropdown-toggle",k),i(".dropdown-menu",Ht),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(k)}_getInnerElement(t){return t.matches(Kt)?t:c.findOne(Kt,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=V.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(document,vo,We,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),!O(this)&&V.getOrCreateInstance(this).show()}),o.on(window,So,()=>{for(const s of c.find(Po))V.getOrCreateInstance(s)}),f(V);const L=".bs.toast",Vo=`mouseover${L}`,Ho=`mouseout${L}`,xo=`focusin${L}`,Ko=`focusout${L}`,Wo=`hide${L}`,Yo=`hidden${L}`,Fo=`show${L}`,jo=`shown${L}`,gt="show",At="showing",Uo={animation:"boolean",autohide:"boolean",delay:"number"},Go={animation:!0,autohide:!0,delay:5e3};class it extends p{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Go}static get DefaultType(){return Uo}static get NAME(){return"toast"}show(){o.trigger(this._element,Fo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(gt,At),this._queueCallback(()=>{this._element.classList.remove(At),o.trigger(this._element,jo),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!o.trigger(this._element,Wo).defaultPrevented&&(this._element.classList.add(At),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(At,gt),o.trigger(this._element,Yo)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gt),super.dispose()}isShown(){return this._element.classList.contains(gt)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){o.on(this._element,Vo,t=>this._onInteraction(t,!0)),o.on(this._element,Ho,t=>this._onInteraction(t,!1)),o.on(this._element,xo,t=>this._onInteraction(t,!0)),o.on(this._element,Ko,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=it.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return ct(it),f(it),{Alert:Z,Button:J,Carousel:F,Collapse:B,Dropdown:E,Modal:M,Offcanvas:y,Popover:mt,ScrollSpy:nt,Tab:V,Toast:it,Tooltip:R}}); \ No newline at end of file diff --git a/docs/usage.html b/docs/usage.html index 400ac6ed..c6341b21 100644 --- a/docs/usage.html +++ b/docs/usage.html @@ -22,5 +22,5 @@ h.appendChild(s); } - + \ No newline at end of file diff --git a/src/AzureDevopsTask/ReportGenerator/icon.png b/src/AzureDevopsTask/ReportGenerator/icon.png index 798f700f..0da71edd 100644 Binary files a/src/AzureDevopsTask/ReportGenerator/icon.png and b/src/AzureDevopsTask/ReportGenerator/icon.png differ diff --git a/src/AzureDevopsTask/icon.png b/src/AzureDevopsTask/icon.png index deb0ba25..41aee3d8 100644 Binary files a/src/AzureDevopsTask/icon.png and b/src/AzureDevopsTask/icon.png differ diff --git a/src/ReportGenerator.Console.NetCore/ProgramIcon.ico b/src/ReportGenerator.Console.NetCore/ProgramIcon.ico index 1d455f70..69bfd79d 100644 Binary files a/src/ReportGenerator.Console.NetCore/ProgramIcon.ico and b/src/ReportGenerator.Console.NetCore/ProgramIcon.ico differ diff --git a/src/ReportGenerator.Console/ProgramIcon.ico b/src/ReportGenerator.Console/ProgramIcon.ico index 6c69457b..69bfd79d 100644 Binary files a/src/ReportGenerator.Console/ProgramIcon.ico and b/src/ReportGenerator.Console/ProgramIcon.ico differ diff --git a/src/ReportGenerator.Core/ProgramIcon.ico b/src/ReportGenerator.Core/ProgramIcon.ico index 1d455f70..69bfd79d 100644 Binary files a/src/ReportGenerator.Core/ProgramIcon.ico and b/src/ReportGenerator.Core/ProgramIcon.ico differ diff --git a/src/ReportGenerator.Core/Reporting/Builders/BadgeReportBuilder.cs b/src/ReportGenerator.Core/Reporting/Builders/BadgeReportBuilder.cs index 3250c7aa..1dd85e41 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/BadgeReportBuilder.cs +++ b/src/ReportGenerator.Core/Reporting/Builders/BadgeReportBuilder.cs @@ -77,26 +77,30 @@ @keyframes fade3 {{ - - - + + + - - - + + + - - - + + + - + + + + - - - - + + + + + @@ -116,7 +120,7 @@ @keyframes fade3 {{ {4} - + {5} @@ -166,17 +170,17 @@ @keyframes fade3 {{ /// /// The template for line coverage badge in PNG format. /// - private const string LineCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAYAAACah0+BAAAHMElEQVR4Ae2ac5AcWxvGO7ax19baTDJrx5aubcS2bUuTDZexbdu2jefr51R1r4a3On/0/WaqfpXeV90159n3PaezUnx8fKEaNWr0lbkog1eDgy1ly2pK2VTdcLFcark+klEqKFWvXr2vDBy8WjaXKaMpZVJ0R2+pWrVql2RgikaNGqFdu3YYNmwYJkyYgE/7e6P8oPfwSXsPhDeJYowDG9lUurSmlE7WF6WSS12SqlatipxUk/nrq69gNBqRlJSk8vE4LxRKcoJgrhM+6OGGuFrxzLGCg42lSmlKqcX6Q0pMTERWqiUkYNLbb2NluXKYNWMG0tPTVZwn+6H44rey8caETxBXM465FnCwoWRJTSm5SH/kEtuAzz7DvgIFBHODg7Fy5UqsXbtW4DEjBGXTP8jFR6M8/9UCNG/eHLVq1fp/EZtDbAlyJ1NoFh6O/UWL4lDhwirTWrXCjh07BL5GA5xWfGqSyj+GsYZVatasieTkZNy4cQMnTpzAvXv3sH//fvzwww/0/2dZX6JENuz95MwvsVB/8NUHFIY7O+NYsWLZOFCqFFKMRhw+fBiBCyPx1jo3kzhP8WcNq2RkZGDLli2IjIxEYGAg/P390aFDB7Rq1UqNqV27Ng8nvLYVvl5gp+TCWozj/qlp06Zo3LixydgmTZqgbt26JnOZo/jsZV3x4ppSfIH+kOLi4qCw9vXXcUpu0TnZ4OIiuk+l5Fi8v9nbJB+u90FsVdYxT/369fH8+XMhjNjYWNUeFhaGiIgIsSgpKSk4f/48xS3u2aBBAyGA+/fvc+SqORs2bEC/fv3E9Qx5b3nq1Cls3boVZ86cwZdffinsK1aswMKFC3HgwAE8e/YMLVq0EJ30yJEj7KqEohaxDRs2FHEnT54U9jt37qBPnz7C98UXX4icbdu24fTp0zws0W4Xa4sV05Ri8/WHxEVXOFKhAs6VKWOSZLlrGDIS8MnOALNENohmHbP88ccfuHr1KqKiokz6u3Xrht27dyMoKAgBAQGYNGkSFi9ejOjoaLF3HDRoEOMoQDGGY2Ji0LZtW2zevJldUuR16tQJy5cvF3Hsohs3bqTI6Re2ypUri9pk/vz5GDt2rLCnpaVh8uTJotPSt2zZMvE89O3atQs//vgj64s6x48fx7fffkufzawpWlRTis7THxIXTOFUxYq4VL68SdKcP4D7jspw22+eiCZRrGOW3377DdeuXTPrZ8cYMmSI+jM7FLuMksvOw+sxY8awmwkRzpo1C0ePHsWaNWsIuxu7IuOE2Lp06cKRzVix6KNGjaJ42AmF8KdNmyZiz549y/Gq3nvp0qUUmxi1T58+xerVq9V7XLp0CV27dmWczawuUiQb9n5y5hdJ0h8SF0Fh1zvv4JqTUy6Ov/kmoo0GeB8JN8+hcEQnsI55eDh48eIFF9Wkn+/1RowYof783XffiS7C6/DwcFy4cAHffPMNhcLxRztFR7jPE3DUUiD08XVNjx491HqDBw/G3r17xRt9Pz8/DB8+HFOnTqWPYqO4lViKjYLiaKfY2E2VezCfwmWczawqXFhTCs/VHxJHmsIcV1fcev31bNx84w381CoEAadiLBK8OoY1LMJ9WWpqKk+2FIVqZwf5+++/ORIpBu5xaKeIKEA1juLYt28ftm/fTvHRxtHMfRYFQBu7GEcefYrY1HyO5dmzZ4vn4D3Y+Sg2+ri34ym5Tp06+PXXX7k3U7oi78d7sz6h8DiamWczKwsV0pRCRv0h8ctU+LZSJdx7661sTI7yQuXziah0wTJhnWJYwyqhoaFiH3b79m0hkrt37woBtWzZElWqVOEoVQ4I3L+xg6i5/G8fbvTbtGmj2pjDbnj9+nUcPHgQN2/eFKOVPu7DunfvrsbyJHnlyhUxms+dOyfG6ZQpU+gT9+Fej92TB4udO3eK/6qjjx15z549ovuxq168eJHPS5/NrChYUFMKztEfEn/Ls7LIzQ2P3n1XsNflU0Qdro6wazUts7UaImIimW8VdgZuwH18fMSIqiQL3NfXlyKknz7a2A1oV0+qhNeenp70KzbCjbtSjxt8buJp53W2WN6DNoqW/7I+c5XatHl7e4v8Y8eOcdwreYxVnosxyvPazPICBbJh7ydnfoHZ+kPi4mclUf4S9zk74/ZHH6HZ3ATE3K5vmTP1ENEgirl2wwXjIue000afVvVy1jYYDLnsrVu3psB4AGDH5fhmnCbPRZblz68p+WfpD4lfYE7i5S/098YGJN5tjMSHTcwSv7s+IupFMkf3cBxz889XGkqH1LL+0nz5NCXfTP0hyb+pF2VgivCmUYifL5++zjdFzectBTVuNUfi5gaIbp+AsHDxm/6fge/gQkJCKDzNay/Jm1dT8s7QGTPznpfkL7YPx4VVwgwISwzn9b/AQUaePJqSZ7q+yDs9by/xZ+EUnMwFGbwaHKRLkqZI03TDBZne/LPw/wFZW12Z+rcUvgAAAABJRU5ErkJggg=="; + private const string LineCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAMAAACtWb+zAAABgFBMVEUreCtOTk4QtBA+Pj4BpQFOTk49PT0StRIBpAFLS0s/Pz89PT1NTU1CQkIOsg5ISEhPT08MsAwKrgoIrAgGqgYCpgJEREQApABGRkZKSkrGDg4FqAUEpwQRtBEQsxAStRK+Bgb////EDAzBCQm8BATJEhLIERHHEBDCCwu/CAi6AwO5AgK4AQG3AAA1NTXe3t5SUlKCgoLT1NNaWlpWVlY3Nzf7KCjs7OwyMjLh4eHQ0NC5ubmysrKmpqba2trLy8vBwcGsrKygoKB6enpkZGS9vb22trY7Ozv2IiLuGRnlERHdCQnUAQH6+vr09fTw8fDl5eWUlJRfX19KTkp7OjryHR3pFRXhDQ3YBATo6OfX19fGx8Zqamo8pDw3yDdvMjIrmitzc3NwcHBCUkJ2ODgzujMxtDEtpS2MTRj8/PyampqYmJiQkJCIiIhvzm9ms2bPY188PDw2jzY1wjUvri8piSmVSiGBRBKRkZFCiEI5mzmjNjYvqS8nkCePHx+EURZSNd53AAAACXRSTlMG5+fm5YqJiYgKZ7i6AAACsUlEQVRIx83O11LbQBSAYVECWNZmnbZZpZv0pi5kyZJ7oblCigsQeodQ05NXj4SLnMxeIA+e5LtY6ZyVZn6KutQX6I3HBPfPrX/YTmN65QnBXQ+GqT6myefbYma+MBfnKcE9D/opX1ssWJubn5vxXZRbBJe9aLVBXzqX35uft+P+tzYWhvOFvbXV1aOjP+PKwj9sYx3Qlylo++u/No7X1la/zrBNAVPj81Kd7c6oLdjBma94QUEHa2qV/R+fpt9vrK9/Pz5kYUM4ClQumYRQkKErUG7d+2T57FUWYPvhGiXook2RKtKhnTb1buODbRk2tpsBDCENoFmsSoqcFyCs7UKLj+opmDalXDkf4XnZ/pnnC7swFYnqcdjhGcFVLyjsQIqhf3TSJt+enpws44ZFDWGHaKhcwkTpHaxoOFlTVTGNwzVFxQccF9/CmQTHhUVs1FU1ksKuhwTdtCGlmTbx5rSVhpe0xjP+GeMUj5ckvG0hKxKLRas4LAKEtw1eS2BdxvbI5mKxWEX8qy3YwZmveUGhhp+ttPGxb6gpsCkjR7yEUD2CQDHFy8iyBEFgUUZEaEdiuFIC6SmEwiLMKYLAYOR6TtBV28J0K21sFjWBTFRASFxMShBZcYRKUhSgRZ4BoH7WlrAADCeQaQpLugiiJQAUBbkeEFz3ggJNC1OtNNBGmwW+IJX98WLVwAAwuSQA/pJW1SyQEQEQKrxuJABOF9NGEgQMnS+Wgevi2sDCZCvNxYVgNkQDLovsE9ChrL1TQ5BT7ZU9cwwXUgFtHxHZuXW+cj2yBTs4820vKODGTbTTXDTdPF3uRPudMxmJ8XF/e++2EdzxgqJdK+Njs7R3fiEFOcL+BcENL6iBzrgVuhsHWT9p/ZLAS9ogNeTvlVcENz0YoaihAX9vvCY4f9ngCPUbjSNAsjHFfhsAAAAASUVORK5CYII="; /// /// The template for branch coverage badge in PNG format. /// - private const string BranchCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAYAAACah0+BAAAIRElEQVR4Ae2aA3Ad6xvGt7ZtI6nt2KrNa9s2ylvbZmpbsW2jjK/Tef77fDO709w9Jzn3TrX9Z2d+0+2r3dnvyft+u4nk7OxcbfTo0fNksmRQzsPBt2HDB0rD47ohq9HxRnOlvVJVycPDY54MHi7l+DRo8EBpcEx3/Cy5u7tny8AQU6dOxWeffYZly5Zhw4YN6LagHxr/0h5dP+8N6+l2jDGRcrzr13+g1D+qL+odrZctubm54Z+4y7z//PPYu3cv9u/fr9JlXV9U298Mgn3N0PGHnnAa68ycMijHq149DYlvvok/s7NR4OMDvw4daDOZekf0h+Tq6or7cXdxwaY2bXChUSPs2rEDJ0+eVDHbPBC1j7QuQcsNXeE0xom5pVDO9bp1NfyZlQVf+Vmnz5+PpI8/Vu0Jb7yBAj8/pM+dazCP1D2sO7RiW9i9O8KrVBHsGzYMFy5cwJUrVwS9dwxHw5MdNXRe1ec/LcCsWbMwduzY/1ux5cnPNH3BAhQGByPCzU3Y/Dp2xO9JSQjq3x95V68i3NHx6RGbi4sLFGZaWyOiZk1EV6+usu2jjxAYGCgYsNcCzc53M8jI16xYo0zGjBmDo0eP4u7du0hMTERhYSEiIiLw6quv0v/Ucq1OHQ2BAwaAx+0DB1SbV9Om+CMtDVFTpqAoLAxBgwYZzK1zSH/w0wcUlpuZIb5WrRJE1quHY3v3IiYmBkMO2aL11Z4GMdsyiDXK5NSpU/D19YWtrS2GDBmCQfLD/OKLL/CRLGolZty4cXw54bnJ8PMCOyUXtrQ47p9mzJiBadOmGYydPn06JkyYYCiXORqfqVytXVuDn7k5eNzcvr2EPV4eozzSFy40mEdqH9QfkpOTExSutGiB5Lp1NVw3NxfdZ8RRR3Tw6WeQTtf6w9GNdYwzadIkFBcXC2E4OjqqdisrK9jY2IhFOXbsGDIyMihucc3JkycLARQVFXHkqjnXr1/H/PnzxfmOHTuQnJwMPz8/pKam4rnnnhP28+fP49ChQ4iMjMTff/+N2bNni04aGxvLrkooahE7ZcoUEZeUlCTs+fn5mDt3rvA9++yzIsff3x8pKSl8WaL9X3GlVi0NvmZm4HFj+/YS9uSvvhL2SPneDOWRWp76Q+KiK8Q2aYL0Bg0MclTuGhanXNA1aLBRbCfbs45R3n33Xdy6dQt2dnYG/d999x1CQkIwdOhQDB48GJs2bcKRI0dgb28v9o6//PKLiKMAOYYdHBzw6aefwsfHR3RJ5n0lL9S5c+dEHLuol5cXRS78tI0cOVLUJp6enli7dq2wnzhxAps3b2anFb6zZ8/yfoQvODgYr732GuuLOgkJCXjppZfoM5nLNWtq8O3eXRWbsMkiosCKCwrwd24ursnrQbshah7QHxIXTCG5aVNkN25skBNmHdErcCR6RhjHZrod6xjl7bffxu3bt4362TGWLFnCc8IOxS6j5rLz8HzNmjWim1GEu3btQlxcHC5fvixgd2NXZBzF9s0333Bki1gu+qpVqyge0Qkp/G3btonYtLQ0jlf12mfOnBFi46j966+/cOnSJfUa2dnZ+PbbbxlnMpdq1NDg060beOScO4fU+fPFXo1HsdzFw8aMYYxRauzXHxIXQSG4bVvcbtZMQ0KrVrDfa4F+sdbGibaGvQvrGIcvB/fu3eOiGvTzu96KFSvU/7/88suii/Dc2toamZmZePHFFykUjj9hp+gI93mEo5YCoY+fa3744Qe13uLFixEWFia+6A8cOBDLly/H1q1b6aPYKG4llmKjoDjaKTZ2U+UazKdwGWcyF6tX1+DdtSvuP/7KyUH6smXwMTenv1Sq79MfEkeawp4ePZDbokUJclq2xOsfDcfgZIdSGXbJgTVKhfuy48eP882WolDt7CAffPABRyLFwD0O7RQRBajGURzh4eEICAig+GjjaOY+iwKgjV2MI48+VWxKPsfy7t27xX3wGux8FBt93NvxLXn8+PF46623uDdTuiKvx2uzPqHwOJqZZzIXqlXT4NWlC3hwZEa/8AIu1a9Pu0lU26s/JD5MhZdGjEBh69Yl2GzXFyMzXDEis3SsvnJgjTKxtLQU+7C8vDwhkoKCAiGgOXPmYNSoURyl6gsC92/sIEouf+3Djf4nn3yi2pjDbnjnzh1ERUUhJyeHo5U+sQ/7/vvv1Vi+Sd68eVOM5vT0dDFOt2zZQp+4Dvd67J58sQgKCuKv6ugTHTk0NFR0P3bVrKws3i99JnO+alUN3r16gcetw4cVm8lU3aM/JP6U38/hnj3xe7t2gjDzbrCL8YDV7TGl4+cOGwdb5pcJOwM34P379xcjaoQs8AEDBlCE9NNHG7sB7eqbKuF5nz596FdshBt3pR43+NzE087zErG8Bm0ULf9lfeYqtWnr16+fyI+Pj+e4V/IYq9wXY5T7NZlzVapoyLl4Eck//YQCfsd0cKDNZKrs1h8SF/9+XOWHGG5mhrzOnTFznwsc8iaVTupE2Ey2Y+6/hQvGRdbYaaPvwdTT1rawsNDYP/74YwqMLwDsuBzfjHsg90XOVq6s4Y/MTFxs3BhJP/6I2Hffpc1kKu/SHxIf4D9xlh/oO9Ms4FowDa6/TTeKc8gk2Ey0ZY7e4Tjm5p+fNJQO+UDrn6lUSUOkfC0KLtfLCxebNqXNZCrt1B+S/JOaJQNDWM+wg7PnOHhkzMCY4jmC0bmz4OozGfafu8DK2opxTw38Bjd8+HAK74HXPl2x4gOl4g6dsbNihiQ/2LkcF2ViZQErV2ue/wfKOVWhwgOlwnZ9UXF7xZ/En4VTcDKZMng4lHNSkh4o0jbdkCnzM/8s/H9dEHOJIDgGnQAAAABJRU5ErkJggg=="; + private const string BranchCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAMAAACtWb+zAAAB+1BMVEU+Pj4BpQFOTk49PT0StRIBpAFJSUkAqgBNTU0Psw9PT08StRJLS0s/Pz89PT1NTU1JSUkNsQ1BQUEKrgoHqwcEqARPT08CpgIApABFRUVDQ0NHR0cPsg8MrwwJrAkGqQYRtBEQsxAStRLJERG4AAC+Bga8BATACAjFDg7HEBC5AgLGDw+6AwM1NTXDDAz////CCwvBCgrEDQ2Dg4M3NzfV1dRYWFgyMjLe3t7d3d2lpaVbW1tVVVU7Ozvj4+PPz8/Ly8vBwcGgoKBoaGhSUlJQUFDy8vHn5+b55eW9vb22trazs7N6Ojr2IiLlERHdCQn6+vrY2NiUlJTji4txcXFfX19KTkozuTMqmSr6KirJKir7JibyHR3uGRnpFRXhDQ3YBATUAADu7u7q6urGx8a6urq4uLisrKyqqqp6enrTZGM3yDctpi319vT77+/s7evg4ODa2trR0dHz0NDwxMTppKSZmZmQkJDfhIR2dnbcbW1jY2PWWVl0NjbOMzNvMTEwrzDHJibKICCTSx+ITha/FRX8/Pz88/Pyycnuvr6wsLCKiop+fn5vzm9ms2bUSUlBUUE8pTw3lzc1wjUoiyiBRBL33t7O2c3qsbHrra3jk5PeeHjZcnJiYmLSUFDNRkZEVURCiEI+oz48pDw3izajNjaPHx/sHh7TBQUJLNt4AAAADHRSTlPm5YqJiYgHBufn5ub2Cs1oAAADMklEQVRIx83OV1vTUBjA8bhX08ao6DnHrUgdIUKTdO/dotJFFTd7b9kgMpQNAu69/ZhmlSD2wlR4Hn8X7/ucN7n4Yzu37s3bHGeyOP3X9m3fhW3VbZZsbSdV2I7t1sk0Go+u7NMGtp3P4pQKezDNKjdd9bnxaZlmo1wU9IcmRy8qjqqRaSM04dLmucbGDYzTC0KjiTd6ff9kQi/arwYmpxHVzYG5dDq9vPzlt7iU/9/auhKdC/rR58NdCzm0ESJNpKJ1vml8fGQknV4qI2T+aIU5wHqJ3BQLhulXxcXnQ4Odw+Izl7Zoa3D++rP798abmppGlghZjQsy1GwfQfg4QpGXImQaq1XcVpuyFIWCcvoBP/vpRKHomBoYEtjY4IuvfNq1u2PXeR+RdH2cx0+cJKKOGMtZm/0IVc0gi8nVNoDC02xpKhAzmznEsSZzYAa9i7naatEalwV8Gz976cHLogNqSG2AczoahLSrd8ZWVhaRJFkJxW1wMpQnCsI9iKsA9VUMMxtGNVU2BtkpqrYbRTwUVW1ATi/DmL1IUSTg24qKBp+0TBSJ1LUBEbTJabdvjS0CWbJS2rU9AAyYQZIF3RZgaXe7XTFQY4AAdTtNlRbgsAJQbSBK3W530AAUBYJH9FQiRD95XyA5rgYGJN8zaVdufgMy/2OruOviAHjNgAx6TRywWHw+PwEifEVPh46Ke4BjQGrjfD4d+rONpltelxfIDqqBQcnDn5m0GyVQRkZcfggNffUdCFrqIIyzLhImTToSemHEAKGnjkQ1Hjgd9SXbDNAVJ0nOBhX5gkd0S0Nh/iq1bXLcNSUtA48GTAE2pa11xJwIQl1pPYTaeCtbYRHbbJVmh9MDUTgYdtZDf4fDFEytbyunX+avcUINjMx4eFVKI9egjITdiJOUHfKTxI12/sYYCYrhT/yb0lFGhsT50W7lv4p/Kc4Jpno7P5xTHFJDaSOHfqymKXBcngrlhWuF2dfuNtVp5fv6ttBE79uc23DF0JUbJbh6Wp+XoLLcLwkaQl0TlxSH1cDWxpUM4bmw27XZzheyUJO2Bdum3Sxnsziiwg5s5zZMK/rP2rbs2PULwDaL24J71s4AAAAASUVORK5CYII="; /// /// The template for method coverage badge in PNG format. /// - private const string MethodCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAYAAACah0+BAAAILklEQVR42u2aA5DcYBiGU9u2bXvPrm3btm3bOu1dbdu2eaptvd33n/l3eut2qrSXmWcu+ZTM5r3v+5NdxcPDI0alSpXG6gjVgQh+DUcSJ/6pJN6gGkKTbEgyRtEq0ZWKFSuO1YEIfi2HEyX6qSRarzpGKxUqVAjTAVPUqVMH/fr1w7Rp07BgwQLkGF8ISSdlRPb++eFQz5kxEdjIoYQJfyoJ16mLBOsShCnly5eHIRV0dG/eHFqtFoGBgXqyzSuIGIEpIAhIgcwj8sK9igdzIrDCwQQJLKLVaLBh+nQc27ULKwcNwqqcOS3GJ1irPhQvLy98SwVPTyxKlw47kySBr7c3Nm3apCfX4qKIuzZtOFIvyA73yu7MjcACB+LHNyKwaFGsHjUK1y5dwuvXr7Fp3jz4Oznxrzg+sW8fArt3x5oMGYxy469RHcZim5AzJ85FiyYIKFUKO3fuxN69ewX5vUsj8abMRmSdVYC5303Dhg1RpUqV/05sfrVq4cj27eC2KyAA/jVqSJ9R3J6VK/H+3Tvs9PODtlw5dYvN09MTkgYODjgfOzYuxYypZ1mvXjhx4oSgiFaDFDtymKRsO3vWsErlypWxbt06PH78GDdu3MDLly9x/vx5tG3blv5/lv3x4knEqNS2b899m2E88+RxvNXqg68+IJmeKxeuxYkTjgsJEmC9VovLly+jxGonpN2X1yS5lhRjDats3rwZR44cgZOTE0qUKIFixYphwIAB6KUTtYypWrUqH064byt8vcBOyRtrMY7rp/r166Nu3bomY+vVq4fq1aubymWO9H03++LG1SO3bzsb7YbQTj+38ydO4PiePXpf3FXqQ3F3d4dkb6pUuBU/vhEHcucW3afMOjdkOlzIJFn2F4ZbedYxT82aNfHp0ychDDc3N73d3t4ejo6O4qasX78ewcHBFLc4Z61atYQAXr16JUauzDlw4ADGjRsn9r29vXHr1i0cPXoUd+7cQbNmzYR9x44dWL16NS5cuICPHz+iUaNGopNeuXKFXZVQ1CK2du3aIu7mzZvC/vz5c4wZM0b4mjZtKnKOHTuG27dv82GJ9u9ib5w4ekxsJtds90JDsX7aNGgdHYX92O7d+hpxVqoPhTddciVZMgQlSmSSdQ0bQrPZE9lPFjeLUy0X1jFL165d8eDBAzg7O5v0Dxs2DKdPn0bJkiVRvHhxLFq0CGvXroWLi4tYO06aNIlxFKAYw66urujbty8OHz7MLinyBg0ahO3btzNOdNGDBw9S5PQLW9myZVlbsHLlSsydO1fYN27ciMWLF7PTCt+2bdt4PcJ36tQptGvXjvVFnevXr6NVq1b02cye2LH1WNu2LFiAgHLlwuVQbByj8jj2CvWh8IZJbiVPjrCkSU2yMVdm5DtRFnnPm8exnjPrmKVz5854+PChWT87xpQpU+QxOxS7jMxl5xH7c+bMYTcTIvT19cXVq1exZ88ewu7Grsg4IbYhQ4ZwZDNW3PRZs2ZRPOyEQvjLli0TsXfv3hXjVZ5769atFJsYtR8+fMDu3bv15wgLC8PQoUMZZzO7Y8XSY21jjCFSbPI4VqD6UHgTJKfSp8fDFCmMuJ4mDVy0GhS64mCeSw5w8WQd8/Dh4PPnz7ypJv18rzdjxgz9cevWrdlFxL6DgwNCQkLQsmVLCoXjj3aKjnCdRzhqKRD6xOuaESNG6OtNnjwZZ8+eFW/0ixYtiunTp2Pp0qX0UWwUt4yl2CgojnaKjd1UnoP5FC7jbGZXzJh6rG2MMUSKTR7HDFAfCkeaxD9PHjxNlSocT1KnRvtepVH8lqtFSu12ZQ2LcF22YcMGPtlSFNIuOkiPHj04EikGrnFop4goQBknxHHu3DkcP36c4qONo5nrLAqANnYxjjz6pNhkvhjLfn5+vA6eg52PYqOPazvxlFytWjV06tSJazPZFXk+npv1CYXH0cw8m9kZI4YeaxtjDJFik8cxtOpD4YcpaVWmDF6mTRuOxc4FUTbYC2VCLGM/yJU1rGJnZyfWYc+ePRMiefHihRBQ48aNUa5cOY5S+YDA9Rs7iMzl1z5iod+nTx9pY47oho8ePcLFixfx5MkTjlb6xDps+PDhMlY8Sd6/f1+M5qCgIDFOlyxZQh/Pw7Ueu6d4sDh58iS/qqNPdOQzZ86w+4muGhoayuulz2Z2RI+ux9rGGEP8mzQRYpPH0f3Vh8L/8m9Zkzcv3mbIIDibOwecL1eE/cPKljlaAY6uTsy3CjsDF+CFCxcWI6qMTuBFihShCOmnjzZ2A9rlkyoR+wUKFKBf2ggX7rIeF/hcxNPO/XCxPAdtFC3/sj5zZW3aChUqJPKvXbvGcS/zGCuvizHyem1me7RoelYOHgwLW7hY/+rVce3iRVw4dUq85JX2aH7qQ5GjQeKl+xDP5cqFZ1mzokGAJ1yf1bTMnRpwrOXM3O+FN4w32dBOG30/rZ5hbY1GY2Tv3bs3BcYHAHZcjm/G/ZTrItuiRjUioHt3s2Lz9/DguzXxVZZWN9a3xool7DI3qq/6UPgBGuKh+0C71NXA60VdeL2pZxaP0zXhWMOJOWqH45iLf77SkB3yp9bfGiWKWQINRMfvRO/euoXAXr2wKVEikzlRfNSHovtPDdUBUzjUd4bHyqqoGFwflT81FlR62hBeh2vBpb8n7B3Ef/o/A9/BlS5dmsL76bW3RI5slRUDBoAbf/WxPlUqi7GRvVWGT+RgRffBjuG4sIq9BvZeDtyP4AfYHCnSTyXScnUReXnkUeJn4RScjhAdiODXsElRfirKMtUQomM0fxb+Fcne6mMQNviqAAAAAElFTkSuQmCC"; + private const string MethodCoveragePngTemplate = "iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAMAAACtWb+zAAAB3VBMVEU+Pj4BpQE9PT0StRIBpAFJSUkAqgBNTU0Psw9PT08StRJPT09OTk5AQEBLS0s9PT1OTk5JSUkOsg4MsAwKrgoHqwcEqARNTU1CQkJEREQApAD///8JrAkGqQYDpgMRtBEQsxACpQIStRLIEBBGRkZHR0e5AQHFDQ1ISEjJEhK+Bga3AADBCQm8BAQ1NTXGDw/DCwve3t5RUVG6AwPRz883NzfLv7/7KCi/CAi3t7dcXFypQ0MyMjL7+/tVVVU7Ozvm5ubi4uLa2trBwcGzs7OlpaWhoaGpVlb19vXt7e3b19fT09O7u7uVlZWCgoJiYmJXV1f2IiLuGRnlERHdCQnUAQHV1dW4nJxxcXFZWVlKTkryHR3pFRXhDQ3YBATz8/Px8fDq6urg4ODKysrGx8a9vb2/qqqpqamuf397e3t3d3esdXVnZ2c8pDw3yDcrmivMzMysrKybm5uQkJCEhISAgICqbW1ra2tCUkKrPT18Ozt5OTkzujMxtDEvrC8tpS0ojSiIThbNw8OwsLC1lJSKiopqwGrPY188ijw3lzd0Nzc1wjVxNDRtMDCwIyO2FRWBRBLO2c3JvLzBrq6urq6wh4dx1XFkrGSpYWGjNjasNDSXSSSTTB+PHx+QTRwn1+yJAAAADXRSTlPm5YmJiAcG5+fm5oqKkukDfQAAA0dJREFUSMe11Gd30lAYwPG4Z4C4uFfcJhIRIokJQti7bFyU1tG9a+2wSzvde+/1Wb23JE318MJb29+L5LlP8uJ/OJxQW3btsKyP03Wc+Gc7N22ldlt0Vqt1TdtO1nGUwCZqm1VjMo1amp9Y1069tmMEtlOmZXFb582hm82mtXJWM/3A0/tKm/eQ0NsYU1ew4dPQ0BrG2bFvH7MNjf7GhnsDr/BxNW0Mk29ofTQ7M/P8+Z9xqvQ/bel3tu60HUu/D3ZPk7YxS0y+1syj+cXFudnZmafNjEZKZMSW3CSzOqjIM2E3THjs9r0ktLZEJvJ54c2VG4vz83NzTxmNrwMoQl8/imxiDBZVn0xqba+GGKwJ3wxut9tmQ7+bG0t322SP203WxmOhSuTtE5R2+fqvW8gUX9sGLRzP04BJRLO5stoi8XznQz4pdrSX+K77laDaEhPFJr5cEcXWh3wp1tE+wq+A27Cl/1vkgd+P2vaRoDgMluXoY5x26dqPhYUprqbaBjmsKCtCKgG7xrhyhu3rVJTxPOfrDClcWBA+jHK+lCDki5w8qSixQc7gdDptmsZpdPB7nE6yNhaDMKSlXbz6fYrVVNtq95Exli2JbLXCjiZhMhaPd2RZ3ziAXEEW21JsVGXZfJEJxuPxSJE1rGhDY63tEAkK1vzU0y6c/wo1UlCFWE8BwsEYpCODYhNMJiVJYqDvNoRjOYtQSMFoCULcVpYkCwcNXq9Xb/Nifo/Xu5+E3vbyip52/g7UgMSwBGGxvy/Hw2QPhIXcMA2rooUGk0ttqR7A+1LwfkKqto+D4QJNl0PQ4HA49DYH5vc4HGRtQPPysp4GltGJVvQNKZlHolmZA8Aa7AfAXMhUMknguw1AqE2MyinA5SNdch+Q5KgYKQHD321fUNthEhTQvbikpRloIcCEAzQQwhBdAR0Io6USYAQFrfBjqxBQ8FtKTMVP8VsGl8vVq7WhMZ2V0y7XARIUvezFRZR2lyZhxpf+WFzsQdPfXNhArc0vZyfQibTN8OwCSiNnlgYZoc7+XA2uu9c+8HrpcIQEtTLu7jN6NcJhc731KV2vrfe1Nh4nsIHaaF4vp+o4SGAztWUjZV4fZ+r497INm7f+BiZYjIrB4yPmAAAAAElFTkSuQmCC"; /// /// Colors for ShiedsIo badges. diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs b/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs index 6740da27..42fe9584 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs +++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/HtmlRenderer.cs @@ -28,7 +28,7 @@ internal class HtmlRenderer : IHtmlRenderer, IDisposable - + {0} - {1} {2}
"; diff --git a/src/ReportGenerator.DotnetGlobalTool/ProgramIcon.ico b/src/ReportGenerator.DotnetGlobalTool/ProgramIcon.ico index 1d455f70..69bfd79d 100644 Binary files a/src/ReportGenerator.DotnetGlobalTool/ProgramIcon.ico and b/src/ReportGenerator.DotnetGlobalTool/ProgramIcon.ico differ