From b3500c82dec76858a39f95acc6d47f9220faae23 Mon Sep 17 00:00:00 2001 From: Gabri432 Date: Tue, 4 Jun 2024 21:44:00 +0200 Subject: [PATCH] Updating prod distribution. --- .../education/university-or-not/index.html | 2 +- .../index.html | 2 +- .../the-best-games-of-my-life/index.html | 2 +- .../index.html | 2 +- .../road-to-a-minimum-wage/index.html | 2 +- .../index.html | 2 +- .../programming/why-i-love-angular/index.html | 2 +- .../index.html | 2 +- .../why-less-nba-games-is-good/index.html | 2 +- .../italy-is-not-for-young-people/index.html | 2 +- .../stories/the-power-of-free-time/index.html | 2 +- docs/blog/stories/this-is-my-story/index.html | 2 +- docs/blogs/education/index.html | 2 +- docs/blogs/gaming/index.html | 2 +- docs/blogs/index.html | 2 +- docs/blogs/music/index.html | 2 +- docs/blogs/politics/index.html | 2 +- docs/blogs/programming/index.html | 2 +- docs/blogs/sport/index.html | 2 +- docs/blogs/stories/index.html | 2 +- docs/index.html | 2 +- docs/main.5a583de999abd37d.js | 1 + docs/projects/index.html | 2 +- scully.log | 23 +++++++++++++++++++ 24 files changed, 46 insertions(+), 22 deletions(-) create mode 100644 docs/main.5a583de999abd37d.js diff --git a/docs/blog/education/university-or-not/index.html b/docs/blog/education/university-or-not/index.html index d0565fc..7a73701 100644 --- a/docs/blog/education/university-or-not/index.html +++ b/docs/blog/education/university-or-not/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/education/what-is-the-best-renewable-energy/index.html b/docs/blog/education/what-is-the-best-renewable-energy/index.html index d0565fc..7a73701 100644 --- a/docs/blog/education/what-is-the-best-renewable-energy/index.html +++ b/docs/blog/education/what-is-the-best-renewable-energy/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/gaming/the-best-games-of-my-life/index.html b/docs/blog/gaming/the-best-games-of-my-life/index.html index d0565fc..7a73701 100644 --- a/docs/blog/gaming/the-best-games-of-my-life/index.html +++ b/docs/blog/gaming/the-best-games-of-my-life/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/gaming/why-boom-beach-is-better-than-clash-of-clans/index.html b/docs/blog/gaming/why-boom-beach-is-better-than-clash-of-clans/index.html index d0565fc..7a73701 100644 --- a/docs/blog/gaming/why-boom-beach-is-better-than-clash-of-clans/index.html +++ b/docs/blog/gaming/why-boom-beach-is-better-than-clash-of-clans/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/politics/road-to-a-minimum-wage/index.html b/docs/blog/politics/road-to-a-minimum-wage/index.html index d0565fc..7a73701 100644 --- a/docs/blog/politics/road-to-a-minimum-wage/index.html +++ b/docs/blog/politics/road-to-a-minimum-wage/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/programming/what-programming-language-you-should-learn/index.html b/docs/blog/programming/what-programming-language-you-should-learn/index.html index d0565fc..7a73701 100644 --- a/docs/blog/programming/what-programming-language-you-should-learn/index.html +++ b/docs/blog/programming/what-programming-language-you-should-learn/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/programming/why-i-love-angular/index.html b/docs/blog/programming/why-i-love-angular/index.html index d0565fc..7a73701 100644 --- a/docs/blog/programming/why-i-love-angular/index.html +++ b/docs/blog/programming/why-i-love-angular/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/sport/italian-basketball-team-journey/index.html b/docs/blog/sport/italian-basketball-team-journey/index.html index d0565fc..7a73701 100644 --- a/docs/blog/sport/italian-basketball-team-journey/index.html +++ b/docs/blog/sport/italian-basketball-team-journey/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/sport/why-less-nba-games-is-good/index.html b/docs/blog/sport/why-less-nba-games-is-good/index.html index d0565fc..7a73701 100644 --- a/docs/blog/sport/why-less-nba-games-is-good/index.html +++ b/docs/blog/sport/why-less-nba-games-is-good/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/stories/italy-is-not-for-young-people/index.html b/docs/blog/stories/italy-is-not-for-young-people/index.html index d0565fc..7a73701 100644 --- a/docs/blog/stories/italy-is-not-for-young-people/index.html +++ b/docs/blog/stories/italy-is-not-for-young-people/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/stories/the-power-of-free-time/index.html b/docs/blog/stories/the-power-of-free-time/index.html index d0565fc..7a73701 100644 --- a/docs/blog/stories/the-power-of-free-time/index.html +++ b/docs/blog/stories/the-power-of-free-time/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blog/stories/this-is-my-story/index.html b/docs/blog/stories/this-is-my-story/index.html index d0565fc..7a73701 100644 --- a/docs/blog/stories/this-is-my-story/index.html +++ b/docs/blog/stories/this-is-my-story/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/education/index.html b/docs/blogs/education/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/education/index.html +++ b/docs/blogs/education/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/gaming/index.html b/docs/blogs/gaming/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/gaming/index.html +++ b/docs/blogs/gaming/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/index.html b/docs/blogs/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/index.html +++ b/docs/blogs/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/music/index.html b/docs/blogs/music/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/music/index.html +++ b/docs/blogs/music/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/politics/index.html b/docs/blogs/politics/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/politics/index.html +++ b/docs/blogs/politics/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/programming/index.html b/docs/blogs/programming/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/programming/index.html +++ b/docs/blogs/programming/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/sport/index.html b/docs/blogs/sport/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/sport/index.html +++ b/docs/blogs/sport/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/blogs/stories/index.html b/docs/blogs/stories/index.html index d0565fc..7a73701 100644 --- a/docs/blogs/stories/index.html +++ b/docs/blogs/stories/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d0565fc..7a73701 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/docs/main.5a583de999abd37d.js b/docs/main.5a583de999abd37d.js new file mode 100644 index 0000000..87aecc0 --- /dev/null +++ b/docs/main.5a583de999abd37d.js @@ -0,0 +1 @@ +(self.webpackChunkangular_personal_website=self.webpackChunkangular_personal_website||[]).push([[179],{91:(mt,xt,Fe)=>{"use strict";function j(e){return"function"==typeof e}function K(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 ot=K(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 ie(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class be{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(j(r))try{r()}catch(i){t=i instanceof ot?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ne(i)}catch(s){t=t??[],s instanceof ot?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ot(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ne(t);else{if(t instanceof be){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)&&ie(n,t)}remove(t){const{_finalizers:n}=this;n&&ie(n,t),t instanceof be&&t._removeParent(this)}}be.EMPTY=(()=>{const e=new be;return e.closed=!0,e})();const He=be.EMPTY;function it(e){return e instanceof be||e&&"closed"in e&&j(e.remove)&&j(e.add)&&j(e.unsubscribe)}function Ne(e){j(e)?e():e.unsubscribe()}const w={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$={setTimeout(e,t,...n){const{delegate:r}=$;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=$;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Z(e){$.setTimeout(()=>{const{onUnhandledError:t}=w;if(!t)throw e;t(e)})}function ee(){}const F=Ue("C",void 0,void 0);function Ue(e,t,n){return{kind:e,value:t,error:n}}let Ae=null;function b(e){if(w.useDeprecatedSynchronousErrorHandling){const t=!Ae;if(t&&(Ae={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Ae;if(Ae=null,n)throw r}}else e()}class te extends be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,it(t)&&t.add(this)):this.destination=or}static create(t,n,r){return new $t(t,n,r)}next(t){this.isStopped?on(function ke(e){return Ue("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?on(function xe(e){return Ue("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?on(F,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 re=Function.prototype.bind;function Ie(e,t){return re.call(e,t)}class Pe{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ve(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ve(r)}else Ve(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ve(n)}}}class $t extends te{constructor(t,n,r){let o;if(super(),j(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&w.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ie(t.next,i),error:t.error&&Ie(t.error,i),complete:t.complete&&Ie(t.complete,i)}):o=t}this.destination=new Pe(o)}}function Ve(e){w.useDeprecatedSynchronousErrorHandling?function O(e){w.useDeprecatedSynchronousErrorHandling&&Ae&&(Ae.errorThrown=!0,Ae.error=e)}(e):Z(e)}function on(e,t){const{onStoppedNotification:n}=w;n&&$.setTimeout(()=>n(e,t))}const or={closed:!0,next:ee,error:function Bn(e){throw e},complete:ee},ir="function"==typeof Symbol&&Symbol.observable||"@@observable";function sn(e){return e}function di(e){return 0===e.length?sn:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let me=(()=>{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 Us(e){return e&&e instanceof te||function Yr(e){return e&&j(e.next)&&j(e.error)&&j(e.complete)}(e)&&it(e)}(n)?n:new $t(n,r,o);return b(()=>{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=fi(r))((o,i)=>{const s=new $t({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)}[ir](){return this}pipe(...n){return di(n)(this)}toPromise(n){return new(n=fi(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function fi(e){var t;return null!==(t=e??w.Promise)&&void 0!==t?t:Promise}const Kr=K(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let st=(()=>{class e extends me{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ir(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Kr}next(n){b(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){b(()=>{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(){b(()=>{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?He:(this.currentObservers=null,i.push(n),new be(()=>{this.currentObservers=null,ie(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new me;return n.source=this,n}}return e.create=(t,n)=>new Ir(t,n),e})();class Ir extends st{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:He}}class Ce extends st{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function at(e){return j(e?.lift)}function _e(e){return t=>{if(at(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 ye(e,t,n,r,o){return new Mr(e,t,n,r,o)}class Mr extends te{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 _e((n,r)=>{let o=0;n.subscribe(ye(r,i=>{r.next(e.call(t,i,o++))}))})}function qe(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())})}function wt(e){return this instanceof wt?(this.v=e,this):new wt(e)}function pi(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 Dn(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)})}}}"function"==typeof SuppressedError&&SuppressedError;const gi=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qs(e){return j(e?.then)}function Ys(e){return j(e[ir])}function mi(e){return Symbol.asyncIterator&&j(e?.[Symbol.asyncIterator])}function Ks(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 lt=function ea(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function an(e){return j(e?.[lt])}function yi(e){return function lr(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof wt?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield wt(n.read());if(o)return yield wt(void 0);yield yield wt(r)}}finally{n.releaseLock()}})}function ta(e){return j(e?.getReader)}function Jt(e){if(e instanceof me)return e;if(null!=e){if(Ys(e))return function M_(e){return new me(t=>{const n=e[ir]();if(j(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(gi(e))return function T_(e){return new me(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Z)})}(e);if(mi(e))return Uh(e);if(an(e))return function A_(e){return new me(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(ta(e))return function R_(e){return Uh(yi(e))}(e)}throw Ks(e)}function Uh(e){return new me(t=>{(function O_(e,t){var n,r,o,i;return qe(this,void 0,void 0,function*(){try{for(n=pi(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 Hn(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 tt(e,t,n=1/0){return j(t)?tt((r,o)=>W((i,s)=>t(r,i,o,s))(Jt(e(r,o))),n):("number"==typeof t&&(n=t),_e((r,o)=>function N_(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=g=>u{i&&t.next(g),u++;let y=!1;Jt(n(g,c++)).subscribe(ye(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&up(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(ye(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function ro(e=1/0){return tt(sn,e)}const bn=new me(e=>e.complete());function Vh(e){return e&&j(e.schedule)}function Pu(e){return e[e.length-1]}function vi(e){return Vh(Pu(e))?e.pop():void 0}function zh(e,t=0){return _e((n,r)=>{n.subscribe(ye(r,o=>Hn(r,e,()=>r.next(o),t),()=>Hn(r,e,()=>r.complete(),t),o=>Hn(r,e,()=>r.error(o),t)))})}function Gh(e,t=0){return _e((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function qh(e,t){if(!e)throw new Error("Iterable cannot be null");return new me(n=>{Hn(n,t,()=>{const r=e[Symbol.asyncIterator]();Hn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ye(e,t){return t?function U_(e,t){if(null!=e){if(Ys(e))return function L_(e,t){return Jt(e).pipe(Gh(t),zh(t))}(e,t);if(gi(e))return function $_(e,t){return new me(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qs(e))return function j_(e,t){return Jt(e).pipe(Gh(t),zh(t))}(e,t);if(mi(e))return qh(e,t);if(an(e))return function B_(e,t){return new me(n=>{let r;return Hn(n,t,()=>{r=e[lt](),Hn(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)}),()=>j(r?.return)&&r.return()})}(e,t);if(ta(e))return function H_(e,t){return qh(yi(e),t)}(e,t)}throw Ks(e)}(e,t):Jt(e)}function Wh(...e){const t=vi(e),n=function F_(e,t){return"number"==typeof Pu(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Jt(r[0]):ro(n)(Ye(r,t)):bn}function L(...e){return Ye(e,vi(e))}function Fu(e={}){const{connector:t=(()=>new st),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return _e((g,y)=>{u++,!d&&!c&&f();const v=l=l??t();y.add(()=>{u--,0===u&&!d&&!c&&(a=Lu(p,o))}),v.subscribe(y),!s&&u>0&&(s=new $t({next:m=>v.next(m),error:m=>{d=!0,f(),a=Lu(h,n,m),v.error(m)},complete:()=>{c=!0,f(),a=Lu(h,r),v.complete()}}),Jt(g).subscribe(s))})(i)}}function Lu(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new $t({next:()=>{r.unsubscribe(),e()}});return Jt(t(...n)).subscribe(r)}function Dt(e,t){return _e((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(ye(r,l=>{o?.unsubscribe();let u=0;const c=i++;Jt(e(l,c)).subscribe(o=ye(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Zh(e,t=sn){return e=e??V_,_e((n,r)=>{let o,i=!0;n.subscribe(ye(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function V_(e,t){return e===t}function he(e){for(let t in e)if(e[t]===he)return t;throw Error("Could not find renamed property on target object.")}function We(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(We).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 ju(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const z_=he({__forward_ref__:he});function $u(e){return e.__forward_ref__=$u,e.toString=function(){return We(this())},e}function H(e){return Bu(e)?e():e}function Bu(e){return"function"==typeof e&&e.hasOwnProperty(z_)&&e.__forward_ref__===$u}function Hu(e){return e&&!!e.\u0275providers}const Xh="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function ra(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function U(e){return"string"==typeof e?e:null==e?"":String(e)}function oa(e,t){throw new C(-201,!1)}function Qt(e,t){null==e&&function se(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ia(e){return Jh(e,sa)||Jh(e,Yh)}function Jh(e,t){return e.hasOwnProperty(t)?e[t]:null}function Qh(e){return e&&(e.hasOwnProperty(Uu)||e.hasOwnProperty(Y_))?e[Uu]:null}const sa=he({\u0275prov:he}),Uu=he({\u0275inj:he}),Yh=he({ngInjectableDef:he}),Y_=he({ngInjectorDef:he});var J=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(J||{});let Vu;function At(e){const t=Vu;return Vu=e,t}function ep(e,t,n){const r=ia(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&J.Optional?null:void 0!==t?t:void oa(We(e))}const ve=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),wi={},zu="__NG_DI_FLAG__",aa="ngTempTokenPath",e0=/\n/gm,tp="__source";let oo;function ur(e){const t=oo;return oo=e,t}function r0(e,t=J.Default){if(void 0===oo)throw new C(-203,!1);return null===oo?ep(e,void 0,t):oo.get(e,t&J.Optional?null:void 0,t)}function E(e,t=J.Default){return(function Kh(){return Vu}()||r0)(H(e),t)}function I(e,t=J.Default){return E(e,la(t))}function la(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gu(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==ip(h,u,0)||2&r&&u!==f){if(un(r))return!1;s=!0}}}}else{if(!s&&!un(r)&&!un(l))return!1;if(s&&un(l))continue;s=!1,r=l|1&r}}return un(r)||s}function un(e){return 0==(1&e)}function d0(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&&!un(s)&&(t+=fp(i,o),o=""),r=s,i=i||!un(r);n++}return""!==o&&(t+=fp(i,o)),t}function Yt(e){return Un(()=>{const t=pp(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ua.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ln.Emulated,styles:e.styles||oe,_:null,schemas:e.schemas||null,tView:null,id:""};gp(n);const r=e.dependencies;return n.directiveDefs=da(r,!1),n.pipeDefs=da(r,!0),n.id=function E0(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function D0(e){return ae(e)||ct(e)}function b0(e){return null!==e}function Rt(e){return Un(()=>({type:e.type,bootstrap:e.bootstrap||oe,declarations:e.declarations||oe,imports:e.imports||oe,exports:e.exports||oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hp(e,t){if(null==e)return Cn;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}function Ct(e){return Un(()=>{const t=pp(e);return gp(t),t})}function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ae(e){return e[ca]||null}function ct(e){return e[qu]||null}function Ot(e){return e[Wu]||null}function Ut(e,t){const n=e[rp]||null;if(!n&&!0===t)throw new Error(`Type ${We(e)} does not have '\u0275mod' property.`);return n}function pp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hp(e.inputs,t),outputs:hp(e.outputs)}}function gp(e){e.features?.forEach(t=>t(e))}function da(e,t){if(!e)return null;const n=t?Ot:D0;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(b0)}const Ze=0,S=1,V=2,Re=3,cn=4,_i=5,dt=6,so=7,Le=8,ao=9,Or=10,z=11,Ei=12,mp=13,lo=14,je=15,Si=16,uo=17,_n=18,Ii=19,yp=20,cr=21,zn=22,fa=23,ha=24,Y=25,Xu=1,vp=2,En=7,co=9,ft=11;function Vt(e){return Array.isArray(e)&&"object"==typeof e[Xu]}function Nt(e){return Array.isArray(e)&&!0===e[Xu]}function Ju(e){return 0!=(4&e.flags)}function Nr(e){return e.componentOffset>-1}function ga(e){return 1==(1&e.flags)}function dn(e){return!!e.template}function Qu(e){return 0!=(512&e[V])}function kr(e,t){return e.hasOwnProperty(Vn)?e[Vn]:null}let A0=ve.WeakRef??class x0{constructor(t){this.ref=t}deref(){return this.ref}},O0=0,Sn=null,ma=!1;function Ke(e){const t=Sn;return Sn=e,t}class _p{constructor(){this.id=O0++,this.ref=function R0(e){return new A0(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=ma;ma=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{ma=t}}producerAccessed(){if(ma)throw new Error("");if(null===Sn)return;let t=Sn.producers.get(this.id);void 0===t?(t={consumerNode:Sn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Sn.trackingVersion},Sn.producers.set(this.id,t),this.consumers.set(Sn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Sn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Sn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let Ep=null;function Sp(e){const t=Ke(null);try{return e()}finally{Ke(t)}}const Ip=()=>{};class F0 extends _p{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=Ip,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Ke(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Ip,this.watch(this.registerOnCleanup)}finally{Ke(t)}}cleanup(){this.cleanupFn()}}class L0{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function dr(){return Mp}function Mp(e){return e.type.prototype.ngOnChanges&&(e.setInput=$0),j0}function j0(){const e=xp(this),t=e?.current;if(t){const n=e.previous;if(n===Cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $0(e,t,n,r){const o=this.declaredInputs[n],i=xp(e)||function B0(e,t){return e[Tp]=t}(e,{previous:Cn,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new L0(l&&l.currentValue,t,a===Cn),e[r]=t}dr.ngInherit=!0;const Tp="__ngSimpleChanges__";function xp(e){return e[Tp]||null}const In=function(e,t,n){};function Me(e){for(;Array.isArray(e);)e=e[Ze];return e}function wa(e,t){return Me(t[e])}function kt(e,t){return Me(t[e.index])}function Op(e,t){return e.data[t]}function zt(e,t){const n=t[e];return Vt(n)?n:n[Ze]}function fr(e,t){return null==t?null:e[t]}function Np(e){e[uo]=0}function W0(e){1024&e[V]||(e[V]|=1024,Pp(e,1))}function kp(e){1024&e[V]&&(e[V]&=-1025,Pp(e,-1))}function Pp(e,t){let n=e[Re];if(null===n)return;n[_i]+=t;let r=n;for(n=n[Re];null!==n&&(1===t&&1===r[_i]||-1===t&&0===r[_i]);)n[_i]+=t,r=n,n=n[Re]}const B={lFrame:Zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jp(){return B.bindingsEnabled}function ho(){return null!==B.skipHydrationRootTNode}function D(){return B.lFrame.lView}function ne(){return B.lFrame.tView}function nt(){let e=Hp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hp(){return B.lFrame.currentTNode}function Mn(e,t){const n=B.lFrame;n.currentTNode=e,n.isParent=t}function rc(){return B.lFrame.isParent}function oc(){B.lFrame.isParent=!1}function _t(){const e=B.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function po(){return B.lFrame.bindingIndex++}function iE(e,t){const n=B.lFrame;n.bindingIndex=n.bindingRootIndex=e,ic(t)}function ic(e){B.lFrame.currentDirectiveIndex=e}function ac(e){B.lFrame.currentQueryIndex=e}function aE(e){const t=e[S];return 2===t.type?t.declTNode:1===t.type?e[dt]:null}function qp(e,t,n){if(n&J.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&J.Host||(o=aE(i),null===o||(i=i[lo],10&o.type))););if(null===o)return!1;t=o,e=i}const r=B.lFrame=Wp();return r.currentTNode=t,r.lView=e,!0}function lc(e){const t=Wp(),n=e[S];B.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wp(){const e=B.lFrame,t=null===e?null:e.child;return null===t?Zp(e):t}function Zp(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 Xp(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Jp=Xp;function uc(){const e=Xp();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 Et(){return B.lFrame.selectedIndex}function Pr(e){B.lFrame.selectedIndex=e}function Oe(){const e=B.lFrame;return Op(e.tView,e.selectedIndex)}let Yp=!0;function Da(){return Yp}function hr(e){Yp=e}function ba(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[uo]+=65536),(a>13>16&&(3&e[V])===t&&(e[V]+=8192,eg(a,i)):eg(a,i)}const go=-1;class xi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function tg(e){return e!==go}function Ea(e){return 32767&e}function Sa(e,t){let n=function wE(e){return e>>16}(e),r=t;for(;n>0;)r=r[lo],n--;return r}let fc=!0;function Ia(e){const t=fc;return fc=e,t}const ng=255,rg=5;let DE=0;const Tn={};function Ma(e,t){const n=og(e,t);if(-1!==n)return n;const r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,hc(r.data,e),hc(t,null),hc(r.blueprint,null));const o=pc(e,t),i=e.injectorIndex;if(tg(o)){const s=Ea(o),a=Sa(o,t),l=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function hc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function og(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function pc(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=fg(o),null===r)return go;if(n++,o=o[lo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return go}function gc(e,t,n){!function bE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(bi)&&(r=n[bi]),null==r&&(r=n[bi]=DE++);const o=r&ng;t.data[e+(o>>rg)]|=1<=0?t&ng:SE:t}(n);if("function"==typeof i){if(!qp(t,e,r))return r&J.Host?ig(o,0,r):sg(t,n,r,o);try{const s=i(r);if(null!=s||r&J.Optional)return s;oa()}finally{Jp()}}else if("number"==typeof i){let s=null,a=og(e,t),l=go,u=r&J.Host?t[je][dt]:null;for((-1===a||r&J.SkipSelf)&&(l=-1===a?pc(e,t):t[a+8],l!==go&&cg(r,!1)?(s=t[S],a=Ea(l),t=Sa(l,t)):a=-1);-1!==a;){const c=t[S];if(ug(i,a,c.data)){const d=_E(a,t,n,s,r,u);if(d!==Tn)return d}l=t[a+8],l!==go&&cg(r,t[S].data[a+8]===u)&&ug(i,a,t)?(s=c,a=Ea(l),t=Sa(l,t)):a=-1}}return o}function _E(e,t,n,r,o,i){const s=t[S],a=s.data[e+8],c=function Ta(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&dn(h)&&h.type===n)return l}return null}(a,s,n,null==r?Nr(a)&&fc:r!=s&&0!=(3&a.type),o&J.Host&&i===a);return null!==c?Fr(t,s,c,a):Tn}function Fr(e,t,n,r){let o=e[n];const i=t.data;if(function mE(e){return e instanceof xi}(o)){const s=o;s.resolving&&function G_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():U(e)}(i[n]));const a=Ia(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?At(s.injectImpl):null;qp(e,r,J.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function pE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Mp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&At(l),Ia(a),s.resolving=!1,Jp()}}return o}function ug(e,t,n){return!!(n[t+(e>>rg)]&1<{const t=mc(H(e));return t&&t()}:kr(e)}function fg(e){const t=e[S],n=t.type;return 2===n?t.declTNode:1===n?e[dt]:null}const vo="__parameters__";function Do(e,t,n){return Un(()=>{const r=function yc(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(vo)?l[vo]:Object.defineProperty(l,vo,{value:[]})[vo];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})}function Ri(e,t){e.forEach(n=>Array.isArray(n)?Ri(n,t):t(n))}function pg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Aa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Oi(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function NE(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 vc(e,t){const n=Co(e,t);if(n>=0)return e[1|n]}function Co(e,t){return function gg(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<0&&(e[n-1][cn]=r[cn]);const i=Aa(e,ft+t);!function mS(e,t){Li(e,t,t[z],2,null,null),t[Ze]=null,t[dt]=null}(r[S],r);const s=i[_n];null!==s&&s.detachView(i[S]),r[Re]=null,r[cn]=null,r[V]&=-129}return r}function Bg(e,t){if(!(256&t[V])){const n=t[z];t[fa]?.destroy(),t[ha]?.destroy(),n.destroyNode&&Li(e,t,n,3,null,null),function wS(e){let t=e[Ei];if(!t)return Ac(e[S],e);for(;t;){let n=null;if(Vt(t))n=t[Ei];else{const r=t[ft];r&&(n=r)}if(!n){for(;t&&!t[cn]&&t!==e;)Vt(t)&&Ac(t[S],t),t=t[Re];null===t&&(t=e),Vt(t)&&Ac(t[S],t),n=t&&t[cn]}t=n}}(t)}}function Ac(e,t){if(!(256&t[V])){t[V]&=-129,t[V]|=256,function _S(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[so]=null);const o=t[cr];if(null!==o){t[cr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===ln.None||i===ln.Emulated)return null}return kt(r,n)}}(e,t.parent,n)}function Lr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ug(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,r,o){null!==r?Lr(e,t,n,r,o):Ug(e,t,n)}function Ua(e,t){return e.parentNode(t)}function zg(e,t,n){return qg(e,t,n)}let Oc,Ga,Fc,qa,qg=function Gg(e,t,n){return 40&e.type?kt(e,n):null};function Va(e,t,n,r){const o=Rc(e,r,t),i=t[z],a=zg(r.parent||t[dt],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ga}()?.createHTML(e)||e}function tm(e){return function Lc(){if(void 0===qa&&(qa=null,ve.trustedTypes))try{qa=ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qa}()?.createScriptURL(e)||e}class jr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xh})`}}class kS extends jr{getTypeName(){return"HTML"}}class PS extends jr{getTypeName(){return"Style"}}class FS extends jr{getTypeName(){return"Script"}}class LS extends jr{getTypeName(){return"URL"}}class jS extends jr{getTypeName(){return"ResourceURL"}}function qt(e){return e instanceof jr?e.changingThisBreaksApplicationSecurity:e}function xn(e,t){const n=function $S(e){return e instanceof jr&&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 ${Xh})`)}return n===t}class GS{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Io(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class qS{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Io(t),n}}const ZS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(ZS)?e:"unsafe:"+e}function Wn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function $i(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const rm=Wn("area,br,col,hr,img,wbr"),om=Wn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),im=Wn("rp,rt"),jc=$i(rm,$i(om,Wn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),$i(im,Wn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),$i(im,om)),$c=Wn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sm=$i($c,Wn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Wn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),XS=Wn("script,style,template");class JS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!jc.hasOwnProperty(n))return this.sanitizedSomething=!0,!XS.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();jc.hasOwnProperty(n)&&!rm.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(am(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const QS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,YS=/([^\#-~ |!])/g;function am(e){return e.replace(/&/g,"&").replace(QS,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(YS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Za;function lm(e,t){let n=null;try{Za=Za||function nm(e){const t=new qS(e);return function WS(){try{return!!(new window.DOMParser).parseFromString(Io(""),"text/html")}catch{return!1}}()?new GS(t):t}(e);let r=t?String(t):"";n=Za.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Za.getInertBodyElement(r)}while(r!==i);return Io((new JS).sanitizeChildren(Bc(n)||n))}finally{if(n){const r=Bc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Bc(e){return"content"in e&&function KS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ft=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ft||{});function Hc(e){const t=Bi();return t?t.sanitize(Ft.URL,e)||"":xn(e,"URL")?qt(e):Wa(U(e))}function um(e){const t=Bi();if(t)return tm(t.sanitize(Ft.RESOURCE_URL,e)||"");if(xn(e,"ResourceURL"))return tm(qt(e));throw new C(904,!1)}function Bi(){const e=D();return e&&e[Or].sanitizer}class T{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=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Hi=new T("ENVIRONMENT_INITIALIZER"),dm=new T("INJECTOR",-1),fm=new T("INJECTOR_DEF_TYPES");class hm{get(t,n=wi){if(n===wi){const r=new Error(`NullInjectorError: No provider for ${We(t)}!`);throw r.name="NullInjectorError",r}return n}}function sI(...e){return{\u0275providers:pm(0,e),\u0275fromNgModule:!0}}function pm(e,...t){const n=[],r=new Set;let o;return Ri(t,i=>{const s=i;Vc(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&gm(o,n),n}function gm(e,t){for(let n=0;n{t.push(i)})}}function Vc(e,t,n,r){if(!(e=H(e)))return!1;let o=null,i=Qh(e);const s=!i&&ae(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Qh(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)Vc(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{Ri(i.imports,c=>{Vc(c,t,n,r)&&(u||=[],u.push(c))})}finally{}void 0!==u&&gm(u,t)}if(!a){const u=kr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:oe},{provide:fm,useValue:o,multi:!0},{provide:Hi,useValue:()=>E(o),multi:!0})}const l=i.providers;null==l||a||zc(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function zc(e,t){for(let n of e)Hu(n)&&(n=n.\u0275providers),Array.isArray(n)?zc(n,t):t(n)}const aI=he({provide:String,useValue:he});function Gc(e){return null!==e&&"object"==typeof e&&aI in e}function $r(e){return"function"==typeof e}const qc=new T("Set Injector scope."),Xa={},uI={};let Wc;function Ja(){return void 0===Wc&&(Wc=new hm),Wc}class An{}class Zc extends An{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,Jc(t,s=>this.processProvider(s)),this.records.set(dm,Mo(void 0,this)),o.has("environment")&&this.records.set(An,Mo(void 0,this));const i=this.records.get(qc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fm.multi,oe,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=ur(this),r=At(void 0);try{return t()}finally{ur(n),At(r)}}get(t,n=wi,r=J.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(op))return t[op](this);r=la(r);const o=ur(this),i=At(void 0);try{if(!(r&J.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function pI(e){return"function"==typeof e||"object"==typeof e&&e instanceof T}(t)&&ia(t);a=l&&this.injectableDefInScope(l)?Mo(Xc(t),Xa):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&J.Self?Ja():this.parent).get(t,n=r&J.Optional&&n===wi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[aa]=s[aa]||[]).unshift(We(t)),o)throw s;return function s0(e,t,n,r){const o=e[aa];throw t[tp]&&o.unshift(t[tp]),e.message=function a0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=We(t);if(Array.isArray(t))o=t.map(We).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):We(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(e0,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[aa]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{At(i),ur(o)}}resolveInjectorInitializers(){const t=ur(this),n=At(void 0);try{const r=this.get(Hi.multi,oe,J.Self);for(const o of r)o()}finally{ur(t),At(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(We(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=$r(t=H(t))?t:H(t&&t.provide);const r=function dI(e){return Gc(e)?Mo(void 0,e.useValue):Mo(function vm(e,t,n){let r;if($r(e)){const o=H(e);return kr(o)||Xc(o)}if(Gc(e))r=()=>H(e.useValue);else if(function ym(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gu(e.deps||[]));else if(function mm(e){return!(!e||!e.useExisting)}(e))r=()=>E(H(e.useExisting));else{const o=H(e&&(e.useClass||e.provide));if(!function fI(e){return!!e.deps}(e))return kr(o)||Xc(o);r=()=>new o(...Gu(e.deps))}return r}(e),Xa)}(t);if($r(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Mo(void 0,Xa,!0),o.factory=()=>Gu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xa&&(n.value=uI,n.value=n.factory()),"object"==typeof n.value&&n.value&&function hI(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=H(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Xc(e){const t=ia(e),n=null!==t?t.factory:kr(e);if(null!==n)return n;if(e instanceof T)throw new C(204,!1);if(e instanceof Function)return function cI(e){const t=e.length;if(t>0)throw Oi(t,"?"),new C(204,!1);const n=function Q_(e){return e&&(e[sa]||e[Yh])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Mo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Jc(e,t){for(const n of e)Array.isArray(n)?Jc(n,t):n&&Hu(n)?Jc(n.\u0275providers,t):t(n)}const Qa=new T("AppId",{providedIn:"root",factory:()=>gI}),gI="ng",wm=new T("Platform Initializer"),gr=new T("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Dm=new T("CSP nonce",{providedIn:"root",factory:()=>function ji(){if(void 0!==Fc)return Fc;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Cm=(e,t)=>null;function _m(e,t){return Cm(e,t)}class EI{}class Im{}class II{resolveComponentFactory(t){throw function SI(e){const t=Error(`No component factory found for ${We(e)}.`);return t.ngComponent=e,t}(t)}}let nl=(()=>{class e{}return e.NULL=new II,e})();function MI(){return xo(nt(),D())}function xo(e,t){return new Rn(kt(e,t))}let Rn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=MI,e})();class Tm{}let rl=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function xI(){const e=D(),n=zt(nt().index,e);return(Vt(n)?n:e)[z]}(),e})(),AI=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>null}),e})();class ol{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const RI=new ol("16.1.7"),ad={};function zi(e){for(;e;){e[V]|=64;const t=Pi(e);if(Qu(e)&&!t)return e;e=t}return null}function ld(e){return e.ngOriginalError}class Br{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&&ld(t);for(;n&&ld(n);)n=ld(n);return n||null}}const Rm=new T("",{providedIn:"root",factory:()=>!1});function Zn(e){return e instanceof Function?e():e}class Fm extends _p{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){zi(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Ke(this);this.trackingVersion++;try{t(n,r)}finally{Ke(o)}}destroy(){this.trackingVersion++}}let sl=null;function Lm(){return sl??=new Fm,sl}function jm(e,t){return e[t]??Lm()}function $m(e,t){const n=Lm();n.hasReadASignal&&(e[t]=sl,n.lView=e,sl=new Fm)}const G={};function ze(e){Bm(ne(),D(),Et()+e,!1)}function Bm(e,t,n,r){if(!r)if(3==(3&t[V])){const i=e.preOrderCheckHooks;null!==i&&Ca(t,i,n)}else{const i=e.preOrderHooks;null!==i&&_a(t,i,0,n)}Pr(n)}function zm(e,t=null,n=null,r){const o=Gm(e,t,n,r);return o.resolveInjectorInitializers(),o}function Gm(e,t=null,n=null,r,o=new Set){const i=[n||oe,sI(e)];return r=r||("object"==typeof e?void 0:We(e)),new Zc(i,t||Ja(),r||null,o)}let On=(()=>{class e{static create(n,r){if(Array.isArray(n))return zm({name:""},r,n,"");{const o=n.name??"";return zm({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=wi,e.NULL=new hm,e.\u0275prov=A({token:e,providedIn:"any",factory:()=>E(dm)}),e.__NG_ELEMENT_ID__=-1,e})();function R(e,t=J.Default){const n=D();return null===n?E(e,t):ag(nt(),n,H(e),t)}function al(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[Ze]=o,d[V]=140|r,(null!==u||e&&2048&e[V])&&(d[V]|=2048),Np(d),d[Re]=d[lo]=e,d[Le]=n,d[Or]=s||e&&e[Or],d[z]=a||e&&e[z],d[ao]=l||e&&e[ao]||null,d[dt]=i,d[Ii]=function oS(){return rS++}(),d[zn]=c,d[yp]=u,d[je]=2==t.type?e[je]:d,d}function Ro(e,t,n,r,o){let i=e.data[t];if(null===i)i=function ud(e,t,n,r,o){const i=Hp(),s=rc(),l=e.data[t]=function YI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ho()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function oE(){return B.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ti(){const e=B.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Mn(i,!0),i}function Gi(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iY&&Bm(e,t,Y,!1),In(a?2:0,o),a)i.runInContext(n,r,o);else{const u=Ke(null);try{n(r,o)}finally{Ke(u)}}}finally{a&&null===t[fa]&&$m(t,fa),Pr(s),In(a?3:1,o)}}function cd(e,t,n){if(Ju(t)){const r=Ke(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Jm(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Qm(n,t,o,i):r.hasOwnProperty(o)&&Qm(n,t,r[o],i)}return n}function Qm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Wt(e,t,n,r,o,i,s,a){const l=kt(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(vd(e,n,c,r,o),Nr(t)&&function tM(e,t){const n=zt(t,e);16&n[V]||(n[V]|=64)}(n,t.index)):3&t.type&&(r=function eM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function pd(e,t,n,r){if(jp()){const o=null===r?null:{"":-1},i=function aM(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Gi(e,n,o.hostVars,G),o)}function Nn(e,t,n,r,o,i){const s=kt(e,t);!function md(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?U(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[z],s,i,e.value,n,r,o)}function hM(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new F0(n,u=>{this.all.has(u)&&this.queue.set(u,i)},o);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e}),e})();function ul(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0){uy(e,1);const o=e[S].components;null!==o&&dy(e,o,1)}}function dy(e,t,n){for(let r=0;r-1&&(xc(t,r),Aa(n,r))}this._attachedToViewContainer=!1}Bg(this._lView[S],this._lView)}onDestroy(t){!function Fp(e,t){if(256==(256&e[V]))throw new C(911,!1);null===e[cr]&&(e[cr]=[]),e[cr].push(t)}(this._lView,t)}markForCheck(){zi(this._cdRefInjectingView||this._lView)}detach(){this._lView[V]&=-129}reattach(){this._lView[V]|=128}detectChanges(){cl(this._lView[S],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vS(e,t){Li(e,t,t[z],2,null,null)}(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class EM extends Wi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;cl(t[S],t,t[Le],!1)}checkNoChanges(){}get context(){return null}}class fy extends nl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ae(t);return new Zi(n,this.ngModule)}}function hy(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class IM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=la(r);const o=this.injector.get(t,ad,r);return o!==ad||n===ad?o:this.parentInjector.get(t,n,r)}}class Zi extends Im{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=hy(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return hy(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function y0(e){return e.map(m0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof An?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new IM(t,i):t,a=s.get(Tm,null);if(null===a)throw new C(407,!1);const c={rendererFactory:a,sanitizer:s.get(AI,null),effectManager:s.get(ay,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function WI(e,t,n,r){const i=r.get(Rm,!1)||n===ln.ShadowDom,s=e.selectRootElement(t,i);return function ZI(e){Xm(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Ha(d,f,function SM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528,v=hd(0,null,null,1,0,null,null,null,null,null,null),m=al(null,v,null,y,null,null,c,d,s,null,null);let _,x;lc(m);try{const N=this.componentDef;let de,vn=null;N.findHostDirectiveDefs?(de=[],vn=new Map,N.findHostDirectiveDefs(N,de,vn),de.push(N)):de=[N];const Hs=function TM(e,t){const n=e[S],r=Y;return e[r]=t,Ro(n,r,2,"#host",null)}(m,h),c2=function xM(e,t,n,r,o,i,s){const a=o[S];!function AM(e,t,n,r){for(const o of e)t.mergedAttrs=Ci(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ul(t,t.mergedAttrs,!0),null!==n&&Yg(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=_m(t,o[ao]));const u=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=al(o,Zm(n),null,c,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&gd(a,e,r.length-1),ll(o,d),o[e.index]=d}(Hs,h,N,de,m,c,d);x=Op(v,Y),h&&function OM(e,t,n,r){if(r)Zu(e,n,["ng-version",RI.full]);else{const{attrs:o,classes:i}=function v0(e){const t=[],n=[];let r=1,o=2;for(;r0&&Qg(e,n,i.join(" "))}}(d,N,h,r),void 0!==n&&function NM(e,t,n){const r=e.projection=[];for(let o=0;o(hr(!0),Ha(r,o,function Qp(){return B.lFrame.currentNamespace}()));function yl(e){return!!e&&"function"==typeof e.then}function jy(e){return!!e&&"function"==typeof e.subscribe}function es(e,t,n,r){const o=D(),i=ne(),s=nt();return function By(e,t,n,r,o,i,s){const a=ga(r),u=e.firstCreatePass&&function oy(e){return e.cleanup||(e.cleanup=[])}(e),c=t[Le],d=function ry(e){return e[so]||(e[so]=[])}(t);let f=!0;if(3&r.type||s){const g=kt(r,t),y=s?s(g):g,v=d.length,m=s?x=>s(Me(x[r.index])):r.index;let _=null;if(!s&&a&&(_=function DT(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!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=i,_.__ngLastListenerFn__=i,f=!1;else{i=Uy(r,t,c,i,!1);const x=n.listen(y,o,i);d.push(i,x),u&&u.push(o,m,v,v+1)}}else i=Uy(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y-1?zt(e.index,t):t);let l=Hy(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Hy(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function vl(e=1){return function lE(e){return(B.lFrame.contextLView=function uE(e,t){for(;e>0;)t=t[lo],e--;return t}(e,B.lFrame.contextLView))[Le]}(e)}function bT(e,t){let n=null;const r=function f0(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o>17&32767}function Ad(e){return 2|e}function Ur(e){return(131068&e)>>2}function Rd(e,t){return-131069&e|t<<2}function Od(e){return 1|e}function Ky(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?mr(i):Ur(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];MT(e[a],t)&&(l=!0,e[a+1]=r?Od(c):Ad(c)),a=r?mr(c):Ur(c)}l&&(e[n+1]=r?Ad(i):Od(i))}function MT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Co(e,t)>=0}function Nd(e,t){return function fn(e,t,n,r){const o=D(),i=ne(),s=function qn(e){const t=B.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function lv(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Et()],s=function av(e,t){return t>=e.expandoStartIndex}(e,n);(function fv(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function FT(e,t,n,r){const o=function sc(e){const t=B.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=ns(n=kd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=kd(o,e,t,n,r),null===i){let l=function LT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ur(r))return e[mr(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=kd(null,e,t,l[1],r),l=ns(l,t.attrs,r),function jT(e,t,n,r){e[mr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function $T(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 f=mr(e[a+1]);e[r+1]=Dl(f,a),0!==f&&(e[f+1]=Rd(e[f+1],r)),e[a+1]=function _T(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Dl(a,0),0!==a&&(e[a+1]=Rd(e[a+1],r)),a=r;else e[r+1]=Dl(l,0),0===a?a=r:e[l+1]=Rd(e[l+1],r),l=r;u&&(e[r+1]=Ad(e[r+1])),Ky(e,c,r,!0),Ky(e,c,r,!1),function IT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Co(i,t)>=0&&(n[r+1]=Od(n[r+1]))}(t,c,e,r,i),s=Dl(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==G&&pt(o,s,t)&&function cv(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function ET(e){return 1==(1&e)}(u)?dv(l,t,n,o,Ur(u),s):void 0;bl(c)||(bl(i)||function CT(e){return 2==(2&e)}(u)&&(i=dv(l,null,n,o,a,s)),function TS(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:pr.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=pr.Important),e.setStyle(n,r,o,i))}}(r,s,wa(Et(),n),o,i))}(i,i.data[Et()],o,o[z],e,o[s+1]=function VT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=We(qt(e)))),e}(t,n),r,s)}(e,t,null,!0),Nd}function kd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===G&&(f=d?oe:void 0);let h=d?vc(f,r):c===r?f:void 0;if(u&&!bl(h)&&(h=vc(l,r)),bl(h)&&(a=h,s))return a;const p=e[o+1];o=s?mr(p):Ur(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=vc(l,r))}return a}function bl(e){return void 0!==e}function le(e,t=""){const n=D(),r=ne(),o=e+Y,i=r.firstCreatePass?Ro(r,o,1,t,null):r.data[o],s=hv(r,n,i,t,e);n[o]=s,Da()&&Va(r,n,s,i),Mn(i,!1)}let hv=(e,t,n,r,o)=>(hr(!0),function Ba(e,t){return e.createText(t)}(t[z],r));function Uo(e){return Vo("",e,""),Uo}function Vo(e,t,n){const r=D(),o=No(r,e,t,n);return o!==G&&function Xn(e,t,n){const r=wa(t,e);!function jg(e,t,n){e.setValue(t,n)}(e[z],r,n)}(r,Et(),o),Vo}const Go="en-US";let Pv=Go;class qo{}class aw{}class Hd extends qo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fy(this);const o=Ut(t);this._bootstrapComponents=Zn(o.bootstrap),this._r3Injector=Gm(t,n,[{provide:qo,useValue:this},{provide:nl,useValue:this.componentFactoryResolver},...r],We(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 Ud extends aw{constructor(t){super(),this.moduleType=t}create(t){return new Hd(this.moduleType,t,[])}}class lw extends qo{constructor(t){super(),this.componentFactoryResolver=new fy(this),this.instance=null;const n=new Zc([...t.providers,{provide:qo,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],t.parent||Ja(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Vd(e,t,n=null){return new lw({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let hA=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=pm(0,n.type),o=r.length>0?Vd([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(E(An))}),e})();function uw(e){e.getStandaloneInjector=t=>t.get(hA).getOrCreateStandaloneInjector(e)}function Gd(e,t,n){const r=_t()+e,o=D();return o[r]===G?kn(o,r,n?t.call(n):t()):function Xi(e,t){return e[t]}(o,r)}function mw(e,t,n,r,o,i){const s=t+n;return pt(e,s,o)?kn(e,s+1,i?r.call(i,o):r(o)):function ls(e,t){const n=e[t];return n===G?void 0:n}(e,s+1)}function qd(e,t){const n=ne();let r;const o=e+Y;n.firstCreatePass?(r=function RA(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=kr(r.type)),s=At(R);try{const a=Ia(!1),l=i();return Ia(a),function fT(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{At(s)}}function Wd(e,t,n){const r=e+Y,o=D(),i=function fo(e,t){return e[t]}(o,r);return function us(e,t){return e[S].data[t].pure}(o,r)?mw(o,_t(),t,i.transform,n,i):i.transform(n)}function Zd(e){return t=>{setTimeout(e,void 0,t)}}const et=class FA extends st{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=Zd(i),o&&(o=Zd(o)),s&&(s=Zd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof be&&t.add(a),a}};let Jn=(()=>{class e{}return e.__NG_ELEMENT_ID__=BA,e})();const jA=Jn,$A=class extends jA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const s=this._declarationTContainer.tView,a=al(this._declarationLView,s,t,4096&this._declarationLView[V]?4096:16,null,s.declTNode,null,null,null,n||null,r||null);a[Si]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[_n];return null!==u&&(a[_n]=u.createEmbeddedView(s)),wd(s,a,t),new Wi(a)}};function BA(){return function Il(e,t){return 4&e.type?new $A(t,e,xo(e,t)):null}(nt(),D())}let Zt=(()=>{class e{}return e.__NG_ELEMENT_ID__=WA,e})();function WA(){return function Iw(e,t){let n;const r=t[e.index];return Nt(r)?n=r:(n=ty(r,t,null,e),t[e.index]=n,ll(t,n)),Mw(n,t,e,r),new Ew(n,e,t)}(nt(),D())}const ZA=Zt,Ew=class extends ZA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return xo(this._hostTNode,this._hostLView)}get injector(){return new mo(this._hostTNode,this._hostLView)}get parentInjector(){const t=pc(this._hostTNode,this._hostLView);if(tg(t)){const n=Sa(t,this._hostLView),r=Ea(t);return new mo(n[S].data[r+8],n)}return new mo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sw(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ft}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Ai(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const l=s?t:new Zi(ae(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const y=(s?u:this.parentInjector).get(An,null);y&&(i=y)}ae(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[S];if(function q0(e){return Nt(e[Re])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const u=o[Re],c=new Ew(u,u[dt],u[Re]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function DS(e,t,n,r){const o=ft+r,i=n.length;r>0&&(n[o-1][cn]=t),r{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=I(cf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(yl(i))n.push(i);else if(jy(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Kw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Qn=new T("LocaleId",{providedIn:"root",factory:()=>I(Qn,J.Optional|J.SkipSelf)||function IR(){return typeof $localize<"u"&&$localize.locale||Go}()});let Tl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ce(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class xR{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eD=(()=>{class e{compileModuleSync(n){return new Ud(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Zn(Ut(n).declarations).reduce((s,a)=>{const l=ae(a);return l&&s.push(new Zi(l)),s},[]);return new xR(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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function rD(...e){}class Te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new et(!1),this.onMicrotaskEmpty=new et(!1),this.onStable=new et(!1),this.onError=new et(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function OR(){const e="function"==typeof ve.requestAnimationFrame;let t=ve[e?"requestAnimationFrame":"setTimeout"],n=ve[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function PR(e){const t=()=>{!function kR(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ve,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hf(e),e.isCheckStableRunning=!0,ff(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return oD(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),iD(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return oD(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),iD(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,hf(e),ff(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(!Te.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(Te.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,NR,rD,rD);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 NR={};function ff(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 hf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function oD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function iD(e){e._nesting--,ff(e)}class FR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new et,this.onMicrotaskEmpty=new et,this.onStable=new et,this.onError=new et}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 sD=new T("",{providedIn:"root",factory:aD});function aD(){const e=I(Te);let t=!0;return Wh(new me(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new me(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Te.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Te.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Fu()))}const lD=new T(""),xl=new T("");let mf,pf=(()=>{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,mf||(function LR(e){mf=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:()=>{Te.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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)(E(Te),E(gf),E(xl))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),gf=(()=>{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 mf?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),yr=null;const uD=new T("AllowMultipleToken"),yf=new T("PlatformDestroyListeners"),vf=new T("appBootstrapListener");class dD{constructor(t,n){this.name=t,this.token=n}}function hD(e,t,n=[]){const r=`Platform: ${t}`,o=new T(r);return(i=[])=>{let s=wf();if(!s||s.injector.get(uD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function BR(e){if(yr&&!yr.get(uD,!1))throw new C(400,!1);(function cD(){!function k0(e){Ep=e}(()=>{throw new C(600,!1)})})(),yr=e;const t=e.get(gD);(function fD(e){e.get(wm,null)?.forEach(n=>n())})(e)}(function pD(e=[],t){return On.create({name:t,providers:[{provide:qc,useValue:"platform"},{provide:yf,useValue:new Set([()=>yr=null])},...e]})}(a,r))}return function UR(e){const t=wf();if(!t)throw new C(401,!1);return t}()}}function wf(){return yr?.get(gD)??null}let gD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function VR(e="zone.js",t){return"noop"===e?new FR:"zone.js"===e?new Te(t):e}(r?.ngZone,function mD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function fA(e,t,n){return new Hd(e,t,n)}(n.moduleType,this.injector,function bD(e){return[{provide:Te,useFactory:e},{provide:Hi,multi:!0,useFactory:()=>{const t=I(GR,{optional:!0});return()=>t.initialize()}},{provide:DD,useFactory:zR},{provide:sD,useFactory:aD}]}(()=>o)),s=i.injector.get(Br,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Al(this._modules,i),a.unsubscribe()})}),function yD(e,t,n){try{const r=n();return yl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(df);return a.runInitializers(),a.donePromise.then(()=>(function Fv(e){Qt(e,"Expected localeId to be defined"),"string"==typeof e&&(Pv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Qn,Go)||Go),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=vD({},r);return function jR(e,t,n){const r=new Ud(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Xo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-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 C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yf,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)(E(On))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function vD(e,t){return Array.isArray(t)?t.reduce(vD,e):{...e,...t}}let Xo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(DD),this.zoneIsStable=I(sD),this.componentTypes=[],this.components=[],this.isStable=I(Tl).hasPendingTasks.pipe(Dt(n=>n?L(!1):this.zoneIsStable),Zh(),Fu()),this._injector=I(An)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Im;if(!this._injector.get(df).done)throw!o&&function io(e){const t=ae(e)||ct(e)||Ot(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(nl).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function $R(e){return e.isBoundToModule}(s)?void 0:this._injector.get(qo),u=s.create(On.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(lD,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Al(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Al(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(vf,[]);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())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Al(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Al(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const DD=new T("",{providedIn:"root",factory:()=>I(Br).handleError.bind(void 0)});function zR(){const e=I(Te),t=I(Br);return n=>e.runOutsideAngular(()=>t.handleError(n))}let GR=(()=>{class e{constructor(){this.zone=I(Te),this.applicationRef=I(Xo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Df=(()=>{class e{}return e.__NG_ELEMENT_ID__=WR,e})();function WR(e){return function ZR(e,t,n){if(Nr(e)&&!n){const r=zt(e.index,t);return new Wi(r,r)}return 47&e.type?new Wi(t[je],t):null}(nt(),D(),16==(16&e))}class SD{constructor(){}supports(t){return fl(t)}create(t){return new eO(t)}}const KR=(e,t)=>t;class eO{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||KR}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 tO(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 ID),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 ID),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 tO{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 nO{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 ID{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new nO,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 MD(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{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||xD()),deps:[[e,new Na,new Oa]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=A({token:e,providedIn:"root",factory:xD}),e})();const aO=hD(null,"core",[]);let lO=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(E(Xo))},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({}),e})();function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Tf=null;function Jo(){return Tf}class DO{}const rt=new T("DocumentToken");let xf=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return I(CO)},providedIn:"platform"}),e})();const bO=new T("Location Initialized");let CO=(()=>{class e extends xf{constructor(){super(),this._doc=I(rt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jo().getBaseHref(this._doc)}onPopState(n){const r=Jo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Jo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function Af(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 LD(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 Yn(e){return e&&"?"!==e[0]?"?"+e:e}let Gr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return I($D)},providedIn:"root"}),e})();const jD=new T("appBaseHref");let $D=(()=>{class e extends Gr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(rt).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 Af(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Yn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Yn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Yn(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)(E(xf),E(jD,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_O=(()=>{class e extends Gr{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=Af(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Yn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Yn(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)(E(xf),E(jD,8))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),fs=(()=>{class e{constructor(n){this._subject=new et,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function IO(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(LD(BD(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+Yn(r))}normalize(n){return e.stripTrailingSlash(function SO(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,BD(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+Yn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Yn(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=Yn,e.joinWithSlash=Af,e.stripTrailingSlash=LD,e.\u0275fac=function(n){return new(n||e)(E(Gr))},e.\u0275prov=A({token:e,factory:function(){return function EO(){return new fs(E(Gr))}()},providedIn:"root"}),e})();function BD(e){return e.replace(/\/index.html$/,"")}function XD(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}class h1{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 Hf=(()=>{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 h1(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),YD(a,o)}});for(let o=0,i=r.length;o{YD(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(R(Zt),R(Jn),R(Nl))},e.\u0275dir=Ct({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function YD(e,t){e.context.$implicit=t.item}class v1{createSubscription(t,n){return Sp(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Sp(()=>t.unsubscribe())}}class w1{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const D1=new w1,b1=new v1;let tb=(()=>{class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(yl(n))return D1;if(jy(n))return b1;throw function mn(e,t){return new C(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return e.\u0275fac=function(n){return new(n||e)(R(Df,16))},e.\u0275pipe=ut({name:"async",type:e,pure:!1,standalone:!0}),e})(),gs=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({}),e})();const rb="browser";function Yo(e){return e===rb}function ob(e){return"server"===e}let U1=(()=>{class e{}return e.\u0275prov=A({token:e,providedIn:"root",factory:()=>new V1(E(rt),window)}),e})();class V1{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 z1(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof 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=ib(this.window.history)||ib(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 ib(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class sb{}class hN extends DO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Zf extends hN{static makeCurrent(){!function wO(e){Tf||(Tf=e)}(new Zf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function pN(){return ys=ys||document.querySelector("base"),ys?ys.getAttribute("href"):null}();return null==n?null:function gN(e){Wl=Wl||document.createElement("a"),Wl.setAttribute("href",e);const t=Wl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ys=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return XD(document.cookie,t)}}let Wl,ys=null,yN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const Xf=new T("EventManagerPlugins");let db=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(E(Xf),E(Te))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class fb{constructor(t){this._doc=t}}const Jf="ng-app-id";let hb=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ob(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Jf}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Jf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Jf,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(E(rt),E(Qa),E(Dm,8),E(gr))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const Qf={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/"},Yf=/%COMP%/g,bN=new T("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function gb(e,t){return t.map(n=>n.replace(Yf,e))}let mb=(()=>{class e{constructor(n,r,o,i,s,a,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=ob(a),this.defaultRenderer=new Kf(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ln.ShadowDom&&(r={...r,encapsulation:ln.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof vb?o.applyToHost(n):o instanceof eh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case ln.Emulated:i=new vb(l,u,r,this.appId,c,s,a,d);break;case ln.ShadowDom:return new SN(l,u,n,r,s,a,this.nonce,d);default:i=new eh(l,u,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(E(db),E(hb),E(Qa),E(bN),E(rt),E(gr),E(Te),E(Dm))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();class Kf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Qf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(yb(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(yb(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Qf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Qf[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&(pr.DashCase|pr.Important)?t.style.setProperty(n,r,o&pr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&pr.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){if("string"==typeof t&&!(t=Jo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function yb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class SN extends Kf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=gb(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class eh extends Kf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?gb(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class vb extends eh{constructor(t,n,r,o,i,s,a,l){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,u),this.contentAttr=function CN(e){return"_ngcontent-%COMP%".replace(Yf,e)}(u),this.hostAttr=function _N(e){return"_nghost-%COMP%".replace(Yf,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let IN=(()=>{class e extends fb{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)(E(rt))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const wb=["alt","control","meta","shift"],MN={"\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"},TN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let xN=(()=>{class e extends fb{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(()=>Jo().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."),wb.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=MN[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"),wb.forEach(s=>{s!==o&&(0,TN[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)(E(rt))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const NN=hD(aO,"browser",[{provide:gr,useValue:rb},{provide:wm,useValue:function AN(){Zf.makeCurrent()},multi:!0},{provide:rt,useFactory:function ON(){return function NS(e){Fc=e}(document),document},deps:[]}]),kN=new T(""),Cb=[{provide:xl,useClass:class mN{addToWindow(t){ve.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},ve.getAllAngularTestabilities=()=>t.getAllTestabilities(),ve.getAllAngularRootElements=()=>t.getAllRootElements(),ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(r=>{const o=ve.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Jo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:lD,useClass:pf,deps:[Te,gf,xl]},{provide:pf,useClass:pf,deps:[Te,gf,xl]}],_b=[{provide:qc,useValue:"root"},{provide:Br,useFactory:function RN(){return new Br},deps:[]},{provide:Xf,useClass:IN,multi:!0,deps:[rt,Te,gr]},{provide:Xf,useClass:xN,multi:!0,deps:[rt]},mb,hb,db,{provide:Tm,useExisting:mb},{provide:sb,useClass:yN,deps:[]},[]];let PN=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Qa,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(E(kN,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({providers:[..._b,...Cb],imports:[gs,lO]}),e})(),Eb=(()=>{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)(E(rt))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function LN(){return new Eb(E(rt))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;let nh=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new(n||e):E(Mb),r},providedIn:"root"}),e})(),Mb=(()=>{class e extends nh{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case Ft.NONE:return r;case Ft.HTML:return xn(r,"HTML")?qt(r):lm(this._doc,String(r)).toString();case Ft.STYLE:return xn(r,"Style")?qt(r):r;case Ft.SCRIPT:if(xn(r,"Script"))return qt(r);throw new C(5200,!1);case Ft.URL:return xn(r,"URL")?qt(r):Wa(String(r));case Ft.RESOURCE_URL:if(xn(r,"ResourceURL"))return qt(r);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return function BS(e){return new kS(e)}(n)}bypassSecurityTrustStyle(n){return function HS(e){return new PS(e)}(n)}bypassSecurityTrustScript(n){return function US(e){return new FS(e)}(n)}bypassSecurityTrustUrl(n){return function VS(e){return new LS(e)}(n)}bypassSecurityTrustResourceUrl(n){return function zS(e){return new jS(e)}(n)}}return e.\u0275fac=function(n){return new(n||e)(E(rt))},e.\u0275prov=A({token:e,factory:function(n){let r=null;return r=n?new n:function HN(e){return new Mb(e.get(rt))}(E(On)),r},providedIn:"root"}),e})();const{isArray:VN}=Array,{getPrototypeOf:zN,prototype:GN,keys:qN}=Object;const{isArray:XN}=Array;function rh(...e){const t=vi(e),n=function P_(e){return j(Pu(e))?e.pop():void 0}(e),{args:r,keys:o}=function WN(e){if(1===e.length){const t=e[0];if(VN(t))return{args:t,keys:null};if(function ZN(e){return e&&"object"==typeof e&&zN(e)===GN}(t)){const n=qN(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ye([],t);const i=new me(function KN(e,t,n=sn){return r=>{xb(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Ye(e[l],t);let c=!1;u.subscribe(ye(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function YN(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):sn));return n?i.pipe(function QN(e){return W(t=>function JN(e,t){return XN(t)?e(...t):e(t)}(e,t))}(n)):i}function xb(e,t,n){e?Hn(n,e,t):t()}const vs=K(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function oh(...e){return function ek(){return ro(1)}()(Ye(e,vi(e)))}function Ab(e){return new me(t=>{Jt(e()).subscribe(t)})}function ws(e,t){const n=j(e)?e:()=>e,r=o=>o.error(n());return new me(t?o=>t.schedule(r,0,o):r)}function ih(){return _e((e,t)=>{let n=null;e._refCount++;const r=ye(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 Rb extends me{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,at(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 be;const n=this.getSubject();t.add(this.source.subscribe(ye(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=be.EMPTY)}return t}refCount(){return ih()(this)}}function Ko(e){return e<=0?()=>bn:_e((t,n)=>{let r=0;t.subscribe(ye(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ob(...e){const t=vi(e);return _e((n,r)=>{(t?oh(e,n,t):oh(e,n)).subscribe(r)})}function jt(e,t){return _e((n,r)=>{let o=0;n.subscribe(ye(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Zl(e){return _e((t,n)=>{let r=!1;t.subscribe(ye(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Nb(e=tk){return _e((t,n)=>{let r=!1;t.subscribe(ye(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function tk(){return new vs}function tr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?jt((o,i)=>e(o,i,r)):sn,Ko(1),n?Zl(t):Nb(()=>new vs))}function ei(e,t){return j(t)?tt(e,t,1):tt(e,1)}function Qe(e,t,n){const r=j(e)||t||n?{next:e,error:t,complete:n}:e;return r?_e((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(ye(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)}))}):sn}function wr(e){return _e((t,n)=>{let i,r=null,o=!1;r=t.subscribe(ye(n,void 0,void 0,s=>{i=Jt(e(s,wr(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function sh(e){return e<=0?()=>bn:_e((t,n)=>{let r=[];t.subscribe(ye(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function kb(e){return W(()=>e)}function Ds(e){return _e((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const q="primary",bs=Symbol("RouteTitle");class ik{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 ti(e){return new ik(e)}function sk(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 Fb(e){return e.length>0?e[e.length-1]:null}function Dr(e){return function UN(e){return!!e&&(e instanceof me||j(e.lift)&&j(e.subscribe))}(e)?e:yl(e)?Ye(Promise.resolve(e)):L(e)}const lk={exact:function $b(e,t,n){if(!qr(e.segments,t.segments)||!Xl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!$b(e.children[r],t.children[r],n))return!1;return!0},subset:Bb},Lb={exact:function uk(e,t){return Ln(e,t)},subset:function ck(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Pb(e[n],t[n]))},ignored:()=>!0};function jb(e,t,n){return lk[n.paths](e.root,t.root,n.matrixParams)&&Lb[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Bb(e,t,n){return Hb(e,t,t.segments,n)}function Hb(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!qr(o,n)||t.hasChildren()||!Xl(o,n,r))}if(e.segments.length===n.length){if(!qr(e.segments,n)||!Xl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!Bb(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!!(qr(e.segments,o)&&Xl(e.segments,o,r)&&e.children[q])&&Hb(e.children[q],t,i,r)}}function Xl(e,t,n){return t.every((r,o)=>Lb[n](e[o].parameters,r.parameters))}class ni{constructor(t=new pe([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ti(this.queryParams)),this._queryParamMap}toString(){return hk.serialize(this)}}class pe{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Jl(this)}}class Cs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=ti(this.parameters)),this._parameterMap}toString(){return zb(this)}}function qr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let _s=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return new ah},providedIn:"root"}),e})();class ah{parse(t){const n=new Ek(t);return new ni(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Es(t.root,!0)}`,r=function mk(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Ql(n)}=${Ql(o)}`).join("&"):`${Ql(n)}=${Ql(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function pk(e){return encodeURI(e)}(t.fragment)}`:""}`}}const hk=new ah;function Jl(e){return e.segments.map(t=>zb(t)).join("/")}function Es(e,t){if(!e.hasChildren())return Jl(e);if(t){const n=e.children[q]?Es(e.children[q],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==q&&r.push(`${o}:${Es(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function fk(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===q&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==q&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===q?[Es(e.children[q],!1)]:[`${o}:${Es(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[q]?`${Jl(e)}/${n[0]}`:`${Jl(e)}/(${n.join("//")})`}}function Ub(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ql(e){return Ub(e).replace(/%3B/gi,";")}function lh(e){return Ub(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yl(e){return decodeURIComponent(e)}function Vb(e){return Yl(e.replace(/\+/g,"%20"))}function zb(e){return`${lh(e.path)}${function gk(e){return Object.keys(e).map(t=>`;${lh(t)}=${lh(e[t])}`).join("")}(e.parameters)}`}const yk=/^[^\/()?;#]+/;function uh(e){const t=e.match(yk);return t?t[0]:""}const vk=/^[^\/()?;=#]+/,Dk=/^[^=?&#]+/,Ck=/^[^&#]+/;class Ek{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new pe([],{}):new pe([],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[q]=new pe(t,n)),r}parseSegment(){const t=uh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new Cs(Yl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function wk(e){const t=e.match(vk);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=uh(this.remaining);o&&(r=o,this.capture(r))}t[Yl(n)]=Yl(r)}parseQueryParam(t){const n=function bk(e){const t=e.match(Dk);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function _k(e){const t=e.match(Ck);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Vb(n),i=Vb(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=uh(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=q);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[q]:new pe([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,!1)}}function Gb(e){return e.segments.length>0?new pe([],{[q]:e}):e}function qb(e){const t={};for(const r of Object.keys(e.children)){const i=qb(e.children[r]);if(r===q&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function Sk(e){if(1===e.numberOfChildren&&e.children[q]){const t=e.children[q];return new pe(e.segments.concat(t.segments),t.children)}return e}(new pe(e.segments,t))}function Wr(e){return e instanceof ni}function Wb(e){let t;const o=Gb(function n(i){const s={};for(const l of i.children){const u=n(l);s[l.outlet]=u}const a=new pe(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function Zb(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return ch(o,o,o,n,r);const i=function Mk(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Jb(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,u])=>{a[l]="string"==typeof u?u.split("/"):u}),[...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 Jb(n,t,r)}(t);if(i.toRoot())return ch(o,o,new pe([],{}),n,r);const s=function Tk(e,t,n){if(e.isAbsolute)return new eu(t,!0,0);if(!n)return new eu(t,!1,NaN);if(null===n.parent)return new eu(n,!0,0);const r=Kl(e.commands[0])?0:1;return function xk(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,!1);o=r.segments.length}return new eu(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Is(s.segmentGroup,s.index,i.commands):Qb(s.segmentGroup,s.index,i.commands);return ch(o,s.segmentGroup,a,n,r)}function Kl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ss(e){return"object"==typeof e&&null!=e&&e.outlets}function ch(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,u])=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:Xb(e,t,n);const a=Gb(qb(s));return new ni(a,i,o)}function Xb(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:Xb(i,t,n)}),new pe(e.segments,r)}class Jb{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Kl(r[0]))throw new C(4003,!1);const o=r.find(Ss);if(o&&o!==Fb(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class eu{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function Qb(e,t,n){if(e||(e=new pe([],{})),0===e.segments.length&&e.hasChildren())return Is(e,t,n);const r=function Rk(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(Ss(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!Kb(l,u,s))return i;r+=2}else{if(!Kb(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 s&&(s=[s]),null!==s&&(o[i]=Qb(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new pe(e.segments,o)}}function dh(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=dh(new pe([],{}),0,r))}),t}function Yb(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Kb(e,t,n){return e==n.path&&Ln(t,n.parameters)}const Ms="imperative";class jn{constructor(t,n){this.id=t,this.url=n}}class tu extends jn{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 br extends jn{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 nu extends jn{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 Ts extends jn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class fh extends jn{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 Nk extends jn{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 kk extends jn{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 eC extends jn{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 Pk extends jn{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 Fk extends jn{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 Lk{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class jk{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $k{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bk{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hk{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Uk{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tC{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Vk{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new xs,this.attachRef=null}}let xs=(()=>{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 Vk,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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class nC{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=hh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=hh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ph(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return ph(t,this._root).map(n=>n.value)}}function hh(e,t){if(e===t.value)return t;for(const n of t.children){const r=hh(e,n);if(r)return r}return null}function ph(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ph(e,n);if(r.length)return r.unshift(t),r}return[]}class nr{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function ri(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class rC extends nC{constructor(t,n){super(t),this.snapshot=n,gh(this,t)}toString(){return this.snapshot.toString()}}function oC(e,t){const n=function zk(e,t){const s=new ru([],{},{},"",{},q,t,null,{});return new sC("",new nr(s,[]))}(0,t),r=new Ce([new Cs("",{})]),o=new Ce({}),i=new Ce({}),s=new Ce({}),a=new Ce(""),l=new Zr(r,o,s,a,i,q,t,n.root);return l.snapshot=n.root,new rC(new nr(l,[]),n)}class Zr{constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(W(u=>u[bs]))??L(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(W(t=>ti(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>ti(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function iC(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 Gk(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 ru{get title(){return this.data?.[bs]}constructor(t,n,r,o,i,s,a,l,u){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._resolve=u}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=ti(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ti(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class sC extends nC{constructor(t,n){super(n),this.url=t,gh(this,n)}toString(){return aC(this._root)}}function gh(e,t){t.value._routerState=e,t.children.forEach(n=>gh(e,n))}function aC(e){const t=e.children.length>0?` { ${e.children.map(aC).join(", ")} } `:"";return`${e.value}${t}`}function mh(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ln(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ln(t.params,n.params)||e.paramsSubject.next(n.params),function ak(e,t){if(e.length!==t.length)return!1;for(let n=0;nLn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||yh(e.parent,t.parent))}let vh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new et,this.deactivateEvents=new et,this.attachEvents=new et,this.detachEvents=new et,this.parentContexts=I(xs),this.location=I(Zt),this.changeDetector=I(Df),this.environmentInjector=I(An),this.inputBinder=I(ou,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new qk(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Ct({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[dr]}),e})();class qk{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Zr?this.route:t===xs?this.childContexts:this.parent.get(t,n)}}const ou=new T("");let lC=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=rh([r.queryParams,r.params,r.data]).pipe(Dt(([i,s,a],l)=>(a={...i,...s,...a},0===l?L(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function vO(e){const t=ae(e);if(!t)return null;const n=new Zi(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function As(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function Zk(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return As(e,r,o);return As(e,r)})}(e,t,n);return new nr(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=>As(e,a)),s}}const r=function Xk(e){return new Zr(new Ce(e.url),new Ce(e.params),new Ce(e.queryParams),new Ce(e.fragment),new Ce(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>As(e,i));return new nr(r,o)}}const wh="ngNavigationCancelingError";function uC(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Wr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=cC(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function cC(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[wh]=!0,r.cancellationCode=t,n&&(r.url=n),r}function dC(e){return fC(e)&&Wr(e.url)}function fC(e){return e&&e[wh]}let hC=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["ng-component"]],standalone:!0,features:[uw],decls:1,vars:0,template:function(n,r){1&n&&ge(0,"router-outlet")},dependencies:[vh],encapsulation:2}),e})();function Dh(e){const t=e.children&&e.children.map(Dh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==q&&(n.component=hC),n}function yn(e){return e.outlet||q}function Rs(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 nP{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),mh(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=ri(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ri(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=ri(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.route=null)}activateChildRoutes(t,n,r){const o=ri(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Uk(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Bk(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(mh(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),mh(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Rs(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class pC{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class iu{constructor(t,n){this.component=t,this.route=n}}function rP(e,t,n){const r=e._root;return Os(r,t?t._root:null,n,[r.value])}function oi(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function J_(e){return null!==ia(e)}(e)?t.get(e):e:r}function Os(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=ri(t);return e.children.forEach(s=>{(function iP(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 sP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!qr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!qr(e.url,t.url)||!Ln(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yh(e,t)||!Ln(e.queryParams,t.queryParams);default:return!yh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new pC(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Os(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new iu(a.outlet.component,s))}else s&&Ns(t,a,o),o.canActivateChecks.push(new pC(r)),Os(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ns(a,n.getContext(s),o)),o}function Ns(e,t,n){const r=ri(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ns(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new iu(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ks(e){return"function"==typeof e}function gC(e){return e instanceof vs||"EmptyError"===e?.name}const su=Symbol("INITIAL_VALUE");function ii(){return Dt(e=>rh(e.map(t=>t.pipe(Ko(1),Ob(su)))).pipe(W(t=>{for(const n of t)if(!0!==n){if(n===su)return su;if(!1===n||n instanceof ni)return n}return!0}),jt(t=>t!==su),Ko(1)))}function mC(e){return function Qr(...e){return di(e)}(Qe(t=>{if(Wr(t))throw uC(0,t)}),W(t=>!0===t))}class au{constructor(t){this.segmentGroup=t||null}}class yC{constructor(t){this.urlTree=t}}function si(e){return ws(new au(e))}function vC(e){return ws(new yC(e))}class IP{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new C(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return L(r);if(o.numberOfChildren>1||!o.children[q])return ws(new C(4e3,!1));o=o.children[q]}}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 ni(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new pe(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new C(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const bh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function MP(e,t,n,r,o){const i=Ch(e,t,n);return i.matched?(r=function Jk(e,t){return e.providers&&!e._injector&&(e._injector=Vd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function _P(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?L(o.map(s=>{const a=oi(s,e);return Dr(function fP(e){return e&&ks(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(ii(),mC()):L(!0)}(r,t,n).pipe(W(s=>!0===s?i:{...bh}))):L(i)}function Ch(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...bh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||sk)(n,e,t);if(!o)return{...bh};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.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 wC(e,t,n,r){return n.length>0&&function AP(e,t,n){return n.some(r=>lu(e,t,r)&&yn(r)!==q)}(e,n,r)?{segmentGroup:new pe(t,xP(r,new pe(n,e.children))),slicedSegments:[]}:0===n.length&&function RP(e,t,n){return n.some(r=>lu(e,t,r))}(e,n,r)?{segmentGroup:new pe(e.segments,TP(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new pe(e.segments,e.children),slicedSegments:n}}function TP(e,t,n,r,o){const i={};for(const s of r)if(lu(e,n,s)&&!o[yn(s)]){const a=new pe([],{});i[yn(s)]=a}return{...o,...i}}function xP(e,t){const n={};n[q]=t;for(const r of e)if(""===r.path&&yn(r)!==q){const o=new pe([],{});n[yn(r)]=o}return n}function lu(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class PP{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new IP(this.urlSerializer,this.urlTree)}noMatchError(t){return new C(4002,!1)}recognize(){const t=wC(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe(wr(n=>{if(n instanceof yC)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof au?this.noMatchError(n):n}),W(n=>{const r=new ru([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),o=new nr(r,n),i=new sC("",o),s=function Ik(e,t,n=null,r=null){return Zb(Wb(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe(wr(r=>{throw r instanceof au?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=iC(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,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Ye(o).pipe(ei(i=>{const s=r.children[i],a=function eP(e,t){const n=e.filter(r=>yn(r)===t);return n.push(...e.filter(r=>yn(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function rk(e,t){return _e(function nk(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(ye(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()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Zl(null),function ok(e,t){const n=arguments.length>=2;return r=>r.pipe(e?jt((o,i)=>e(o,i,r)):sn,sh(1),n?Zl(t):Nb(()=>new vs))}(),tt(i=>{if(null===i)return si(r);const s=DC(i);return function FP(e){e.sort((t,n)=>t.value.outlet===q?-1:n.value.outlet===q?1:t.value.outlet.localeCompare(n.value.outlet))}(s),L(s)}))}processSegment(t,n,r,o,i,s){return Ye(n).pipe(ei(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(wr(l=>{if(l instanceof au)return L(null);throw l}))),tr(a=>!!a),wr(a=>{if(gC(a))return function NP(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?L([]):si(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function OP(e,t,n,r){return!!(yn(e)===r||r!==q&&lu(t,n,e))&&("**"===e.path||Ch(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):si(o):si(o)}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.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?vC(i):this.applyRedirects.lineralizeSegments(r,i).pipe(tt(s=>{const a=new pe(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Ch(n,o,i);if(!a)return si(n);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?vC(d):this.applyRedirects.lineralizeSegments(o,d).pipe(tt(f=>this.processSegment(t,r,n,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const l=o.length>0?Fb(o).parameters:{};a=L({snapshot:new ru(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bC(r),yn(r),r.component??r._loadedComponent??null,r,CC(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=MP(n,r,o,t).pipe(W(({matched:l,consumedSegments:u,remainingSegments:c,parameters:d})=>l?{snapshot:new ru(u,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bC(r),yn(r),r.component??r._loadedComponent??null,r,CC(r)),consumedSegments:u,remainingSegments:c}:null));return a.pipe(Dt(l=>null===l?si(n):this.getChildConfig(t=r._injector??t,r,o).pipe(Dt(({routes:u})=>{const c=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:g}=wC(n,f,h,u);if(0===g.length&&p.hasChildren())return this.processChildren(c,u,p).pipe(W(v=>null===v?null:[new nr(d,v)]));if(0===u.length&&0===g.length)return L([new nr(d,[])]);const y=yn(r)===i;return this.processSegment(c,u,p,g,y?q:i,!0).pipe(W(v=>[new nr(d,v)]))}))))}getChildConfig(t,n,r){return n.children?L({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?L({routes:n._loadedRoutes,injector:n._loadedInjector}):function CP(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?L(!0):L(o.map(s=>{const a=oi(s,e);return Dr(function lP(e){return e&&ks(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(ii(),mC())}(t,n,r).pipe(tt(o=>o?this.configLoader.loadChildren(t,n).pipe(Qe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function SP(e){return ws(cC(!1,3))}())):L({routes:[],injector:t})}}function LP(e){const t=e.value.routeConfig;return t&&""===t.path}function DC(e){const t=[],n=new Set;for(const r of e){if(!LP(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=DC(r.children);t.push(new nr(r.value,o))}return t.filter(r=>!n.has(r))}function bC(e){return e.data||{}}function CC(e){return e.resolve||{}}function _C(e){return"string"==typeof e.title||null===e.title}function _h(e){return Dt(t=>{const n=e(t);return n?Ye(n).pipe(W(()=>t)):L(t)})}const ai=new T("ROUTES");let Eh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(eD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return L(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=Dr(n.loadComponent()).pipe(W(EC),Qe(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Ds(()=>{this.componentLoaders.delete(n)})),o=new Rb(r,()=>new st).pipe(ih());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({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;return Array.isArray(a)?u=a:(l=a.create(n).injector,u=l.get(ai,[],J.Self|J.Optional).flat()),{routes:u.map(Dh),injector:l}}),Ds(()=>{this.childrenLoaders.delete(r)})),s=new Rb(i,()=>new st).pipe(ih());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return Dr(n()).pipe(W(EC),tt(r=>r instanceof aw||Array.isArray(r)?L(r):Ye(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function EC(e){return function zP(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let uu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new st,this.configLoader=I(Eh),this.environmentInjector=I(An),this.urlSerializer=I(_s),this.rootContexts=I(xs),this.inputBindingEnabled=null!==I(ou,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new jk(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Lk(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 Ce({id: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:Ms,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(jt(r=>0!==r.id),W(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),Dt(r=>{let o=!1,i=!1;return L(r).pipe(Qe(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}}),Dt(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 Ts(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),bn}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return SC(s.source)&&(n.browserUrlTree=s.extractedUrl),L(s).pipe(Dt(c=>{const d=this.transitions?.getValue();return this.events.next(new tu(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?bn:Promise.resolve(c)}),function jP(e,t,n,r,o,i){return tt(s=>function kP(e,t,n,r,o,i,s="emptyOnly"){return new PP(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(W(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),Qe(c=>{if(r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new Nk(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:f,restoredState:h,extras:p}=s,g=new tu(c,this.urlSerializer.serialize(d),f,h);this.events.next(g);const y=oC(0,this.rootComponentType).snapshot;return L(r={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new Ts(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),bn}}),Qe(s=>{const a=new kk(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),W(s=>r={...s,guards:rP(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function pP(e,t){return tt(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?L({...n,guardsResult:!0}):function gP(e,t,n,r){return Ye(e).pipe(tt(o=>function bP(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?L(i.map(a=>{const l=Rs(t)??o,u=oi(a,l);return Dr(function dP(e){return e&&ks(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(tr())})).pipe(ii()):L(!0)}(o.component,o.route,n,t,r)),tr(o=>!0!==o,!0))}(s,r,o,e).pipe(tt(a=>a&&function aP(e){return"boolean"==typeof e}(a)?function mP(e,t,n,r){return Ye(t).pipe(ei(o=>oh(function vP(e,t){return null!==e&&t&&t(new $k(e)),L(!0)}(o.route.parent,r),function yP(e,t){return null!==e&&t&&t(new Hk(e)),L(!0)}(o.route,r),function DP(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function oP(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=>Ab(()=>L(s.guards.map(l=>{const u=Rs(s.node)??n,c=oi(l,u);return Dr(function cP(e){return e&&ks(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(tr())})).pipe(ii())));return L(i).pipe(ii())}(e,o.path,n),function wP(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const o=r.map(i=>Ab(()=>{const s=Rs(t)??n,a=oi(i,s);return Dr(function uP(e){return e&&ks(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(tr())}));return L(o).pipe(ii())}(e,o.route,n))),tr(o=>!0!==o,!0))}(r,i,e,t):L(a)),W(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Qe(s=>{if(r.guardsResult=s.guardsResult,Wr(s.guardsResult))throw uC(0,s.guardsResult);const a=new eC(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),jt(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),_h(s=>{if(s.guards.canActivateChecks.length)return L(s).pipe(Qe(a=>{const l=new Pk(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Dt(a=>{let l=!1;return L(a).pipe(function $P(e,t){return tt(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return L(n);let i=0;return Ye(o).pipe(ei(s=>function BP(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!_C(o)&&(i[bs]=o.title),function HP(e,t,n,r){const o=function UP(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return L({});const i={};return Ye(o).pipe(tt(s=>function VP(e,t,n,r){const o=Rs(t)??r,i=oi(e,o);return Dr(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(tr(),Qe(a=>{i[s]=a}))),sh(1),kb(i),wr(s=>gC(s)?bn:ws(s)))}(i,e,t,r).pipe(W(s=>(e._resolvedData=s,e.data=iC(e,n).resolve,o&&_C(o)&&(e.data[bs]=o.title),null)))}(s.route,r,e,t)),Qe(()=>i++),sh(1),tt(s=>i===o.length?L(n):bn))})}(n.paramsInheritanceStrategy,this.environmentInjector),Qe({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Qe(a=>{const l=new Fk(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),_h(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(Qe(c=>{l.component=c}),W(()=>{})));for(const c of l.children)u.push(...a(c));return u};return rh(a(s.targetSnapshot.root)).pipe(Zl(),Ko(1))}),_h(()=>this.afterPreactivation()),W(s=>{const a=function Wk(e,t,n){const r=As(e,t._root,n?n._root:void 0);return new rC(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Qe(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,r)=>W(o=>(new nP(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Ko(1),Qe({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new br(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Ds(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),wr(s=>{if(i=!0,fC(s)){dC(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new nu(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),dC(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||SC(r.source)};n.scheduleNavigation(l,Ms,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new fh(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 bn}))}))}cancelNavigationTransition(n,r,o){const i=new nu(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function SC(e){return e!==Ms}let IC=(()=>{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===q);return r}getResolvedTitleForRoute(n){return n.data[bs]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return I(GP)},providedIn:"root"}),e})(),GP=(()=>{class e extends IC{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)(E(Eb))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return I(ZP)},providedIn:"root"}),e})();class WP{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let ZP=(()=>{class e extends WP{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function dg(e){return Un(()=>{const t=e.prototype.constructor,n=t[Vn]||mc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Vn]||mc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const cu=new T("",{providedIn:"root",factory:()=>({})});let XP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:function(){return I(JP)},providedIn:"root"}),e})(),JP=(()=>{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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Ps=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Ps||{});function MC(e,t){e.events.pipe(jt(n=>n instanceof br||n instanceof nu||n instanceof fh||n instanceof Ts),W(n=>n instanceof br||n instanceof Ts?Ps.COMPLETE:n instanceof nu&&(0===n.code||1===n.code)?Ps.REDIRECTING:Ps.FAILED),jt(n=>n!==Ps.REDIRECTING),Ko(1)).subscribe(()=>{t()})}function QP(e){throw e}function YP(e,t,n){return t.parse("/")}const KP={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eF={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Tt=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(Kw),this.isNgZoneEnabled=!1,this.options=I(cu,{optional:!0})||{},this.pendingTasks=I(Tl),this.errorHandler=this.options.errorHandler||QP,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||YP,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(XP),this.routeReuseStrategy=I(qP),this.titleStrategy=I(IC),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=I(ai,{optional:!0})?.flat()??[],this.navigationTransitions=I(uu),this.urlSerializer=I(_s),this.location=I(fs),this.componentInputBindingEnabled=!!I(ou,{optional:!0}),this.isNgZoneEnabled=I(Te)instanceof Te&&Te.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ni,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=oC(0,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},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),Ms,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}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Dh),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 d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=Wb(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return Zb(d,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,Ms,null,r)}navigate(n,r={skipLocationChange:!1}){return function tF(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;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,l=f});const c=this.pendingTasks.add();return MC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject: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);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-(this.browserPageId??this.currentPageId);0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}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=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),li=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new st,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof br&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){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 cm(e,t,n){return function iI(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?um:Hc}(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)(R(Tt),R(Zr),function xa(e){return function CE(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.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(jt(n=>n instanceof br),ei(()=>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=Vd(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 Ye(o).pipe(ro())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):L(null);const i=o.pipe(tt(s=>null===s?L(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Ye([i,this.loader.loadComponent(r)]).pipe(ro()):i})}}return e.\u0275fac=function(n){return new(n||e)(E(Tt),E(eD),E(An),E(TC),E(Eh))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Sh=new T("");let xC=(()=>{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 tu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof br?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ts&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof tC&&(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 tC(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function qm(){throw new Error("invalid")}()},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function rr(e,t){return{\u0275kind:e,\u0275providers:t}}function RC(){const e=I(On);return t=>{const n=e.get(Xo);if(t!==n.components[0])return;const r=e.get(Tt),o=e.get(OC);1===e.get(Ih)&&r.initialNavigation(),e.get(NC,null,J.Optional)?.setUpPreloading(),e.get(Sh,null,J.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const OC=new T("",{factory:()=>new st}),Ih=new T("",{providedIn:"root",factory:()=>1}),NC=new T("");function lF(e){return rr(0,[{provide:NC,useExisting:oF},{provide:TC,useExisting:e}])}const kC=new T("ROUTER_FORROOT_GUARD"),cF=[fs,{provide:_s,useClass:ah},Tt,xs,{provide:Zr,useFactory:function AC(e){return e.routerState.root},deps:[Tt]},Eh,[]];function dF(){return new dD("Router",Tt)}let du=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[cF,[],{provide:ai,multi:!0,useValue:n},{provide:kC,useFactory:gF,deps:[[Tt,new Oa,new Na]]},{provide:cu,useValue:r||{}},r?.useHash?{provide:Gr,useClass:_O}:{provide:Gr,useClass:$D},{provide:Sh,useFactory:()=>{const e=I(U1),t=I(Te),n=I(cu),r=I(uu),o=I(_s);return n.scrollOffset&&e.setOffset(n.scrollOffset),new xC(o,r,e,t,n)}},r?.preloadingStrategy?lF(r.preloadingStrategy).\u0275providers:[],{provide:dD,multi:!0,useFactory:dF},r?.initialNavigation?mF(r):[],r?.bindToComponentInputs?rr(8,[lC,{provide:ou,useExisting:lC}]).\u0275providers:[],[{provide:PC,useFactory:RC},{provide:vf,multi:!0,useExisting:PC}]]}}static forChild(n){return{ngModule:e,providers:[{provide:ai,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(E(kC,8))},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({}),e})();function gF(e){return"guarded"}function mF(e){return["disabled"===e.initialNavigation?rr(3,[{provide:cf,multi:!0,useFactory:()=>{const t=I(Tt);return()=>{t.setUpLocationChangeListener()}}},{provide:Ih,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?rr(2,[{provide:Ih,useValue:0},{provide:cf,multi:!0,deps:[On],useFactory:t=>{const n=t.get(bO,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Tt),i=t.get(OC);MC(o,()=>{r(!0)}),t.get(uu).afterPreactivation=()=>(r(!0),i.closed?L(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const PC=new T("");var vF=Fe(506),wF=Fe.n(vF),DF=Fe(71),bF=Fe.n(DF);const fu={production:!0,apiUrl:"https://gabri432.github.io/angular-personal-website/",nonce:""};let FC=(()=>{class e{constructor(){}static stringGen(n){let r="";for(var i=0;i{class e{ngOnInit(){document.querySelector("meta[name='keywords']").setAttribute("content","Gabriele Gatti, Gabriele, Gabri432"),document.querySelector("meta[name='description']").setAttribute("content","A personal website and blog made with Angular 16+ by Gabriele Gatti"),location.pathname.includes("projects")&&document.querySelector("link[rel='canonical']").setAttribute("href","https://gabri432.github.io/angular-personal-website/projects/")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-project-displayer"]],inputs:{proj:"proj"},decls:9,vars:4,consts:[["id","project-displayer"],["target","_blank","title","Visit the project on Github",3,"href"],["id","name"],["id","description"],["id","languages"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"a",1)(2,"div",2),le(3),Q(),X(4,"div",3),le(5),Q(),ge(6,"br"),X(7,"div",4),le(8),Q()()()),2&n&&(ze(1),wl("href",r.proj.link,Hc),ze(2),Uo(r.proj.name),ze(2),Uo(r.proj.description),ze(3),Vo("#",r.proj.languages,""))},styles:["#project-displayer[_ngcontent-%COMP%]{border:1px solid lightgrey;border-radius:5px;margin:5px}#project-displayer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#000}#project-displayer[_ngcontent-%COMP%] #name[_ngcontent-%COMP%]{background-color:#d3d3d3;color:#000;font-size:22px;padding:1%}#project-displayer[_ngcontent-%COMP%] #description[_ngcontent-%COMP%], #project-displayer[_ngcontent-%COMP%] #languages[_ngcontent-%COMP%]{padding:2%}#project-displayer[_ngcontent-%COMP%] #description[_ngcontent-%COMP%]{height:15vh}"]}),e})();function _F(e,t){if(1&e&&(X(0,"div"),ge(1,"app-project-displayer",3),Q()),2&e){const n=t.$implicit;ze(1),tn("proj",n)}}let LC=(()=>{class e{constructor(){this.displayProjects=[],this.projects=[{name:"TypoChecker.java",description:"A Java program that, given a typo, will suggest the closest matching words.",link:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/TypoChecker.java",languages:["Java"]},{name:"RelationSet.java",description:"A Java program that classifies the property of a given mathematical set.",link:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/RelationSet.java",languages:["Java"]},{name:"CommandLine.java",description:"A Java program that simulates the behavior of a command line to perform simple math operations.",link:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/CommandLine.java",languages:["Java"]},{name:"equation-solver",description:"A program written in Go that can solve any linear, quadratic or cubic equation.",link:"https://github.com/Gabri432/equation-solver",languages:["Go"]},{name:"gophysics",description:"A library written in Go that contains a list of several famous Physics formula to make calculations.",link:"https://github.com/Gabri432/gophysics",languages:["Go"]},{name:"LaplaceExpansion",description:"A program written in Go to calculate the determinant of 3x3 and 4x4 matrices using the Laplace Theorem.",link:"https://github.com/Gabri432/LaplaceExpansion",languages:["Go"]},{name:"angular-personal-website",description:"A personal website (this one you are using) made with the Angular framework (16+).",link:"https://github.com/Gabri432/angular-personal-website",languages:["Angular","Typescript"]}],this.otherProjects=[{name:"angular-cv-builder",description:"A website that helps create your resume.",link:"https://angular-cv-builder.pages.dev/",languages:["Angular","Typescript"]}]}ngOnInit(){this.displayProjects=this.projects,window.location.pathname.includes("/projects")&&(this.projects.push(...this.otherProjects),this.displayProjects=this.projects,this.changeJSONLDSchema())}changeJSONLDSchema(){document.querySelector("script[type='application/ld+json']").remove();const r=document.createElement("script");r.setAttribute("type","application/ld+json"),r.textContent=JSON.stringify({"@context":"http://schema.org","@type":"CollectionPage",mainEntity:[{"@type":"SoftwareSourceCode",name:"TypoChecker.java",description:"A Java program that, given a typo, will suggest the closest matching words.",codeRepository:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/TypoChecker.java"},{"@type":"SoftwareSourceCode",name:"RelationSet.java",description:"A Java program that classifies the property of a given mathematical set.",codeRepository:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/RelationSet.java"},{"@type":"SoftwareSourceCode",name:"CommandLine.java",description:"A Java program that simulates the behavior of a command line to perform simple math operations.",codeRepository:"https://github.com/Gabri432/java-unimi/blob/master/random_programs/CommandLine.java"},{"@type":"SoftwareSourceCode",name:"equation-solver",description:"A program written in Go that can solve any linear, quadratic or cubic equation.",codeRepository:"https://github.com/Gabri432/equation-solver"},{"@type":"SoftwareSourceCode",name:"gophysics",description:"A library written in Go that contains a list of several famous Physics formula to make calculations.",codeRepository:"https://github.com/Gabri432/gophysics"},{"@type":"SoftwareSourceCode",name:"angular-cv-builder",description:"A website that helps create your resume.",url:"https://angular-cv-builder.pages.dev/"}]}),document.head.appendChild(r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-my-projects"]],inputs:{displayProjects:"displayProjects"},decls:5,vars:1,consts:[["id","project-section"],["id","project-grid"],[4,"ngFor","ngForOf"],[3,"proj"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"h2"),le(2,"My projects"),Q(),X(3,"div",1),Ki(4,_F,2,1,"div",2),Q()()),2&n&&(ze(4),tn("ngForOf",r.displayProjects))},dependencies:[Hf,CF],styles:["#project-section[_ngcontent-%COMP%]{text-align:center;padding-top:5%;padding-bottom:5%}#project-section[_ngcontent-%COMP%] #project-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);text-align:left;width:80%;margin-left:10%}#project-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:gray;font-size:34px}@media only screen and (max-width: 899px){#project-section[_ngcontent-%COMP%] #project-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);text-align:left;width:80%;margin-left:10%}}@media only screen and (max-width: 499px){#project-section[_ngcontent-%COMP%]{padding-top:20%}#project-section[_ngcontent-%COMP%] #project-grid[_ngcontent-%COMP%]{display:block;width:80%;margin-left:10%}}"]}),e})();const hu=[{id:1,title:"This is my story, so far...",description:"The story of how I started write my first lines of code",author:"Gabriele Gatti",topics:["about-me","hi","stories"],link:"/blog/stories/this-is-my-story",creationDate:"2023-09-02",lastUpdateDate:"2024-06-02"},{id:2,title:"University or not?",description:"Discussing the pros and cons of attending a university",author:"Gabriele Gatti",topics:["university","education","future"],link:"/blog/education/university-or-not",creationDate:"2023-09-03",lastUpdateDate:"2023-09-03"},{id:3,title:"Italian Basketball team journey",description:"Commenting about the journey of the italian basketball team in the 2023 FIBA world cup",author:"Gabriele Gatti",topics:["basketball","sport","world-cup","FIBA"],link:"/blog/sport/italian-basketball-team-journey",creationDate:"2023-09-05",lastUpdateDate:"2024-06-02"},{id:4,title:"Italy is not for young people",description:"Analizing the reasons why it is hard to be young in Italy",author:"Gabriele Gatti",topics:["stories","italy","young people"],link:"/blog/stories/italy-is-not-for-young-people",creationDate:"2023-09-09",lastUpdateDate:"2024-06-02"},{id:5,title:"Why I like Angular so much",description:"Describing the reasons why I love Angular and why you may love it too",author:"Gabriele Gatti",topics:["angular","programming","web-development"],link:"/blog/programming/why-i-love-angular",creationDate:"2023-09-02",lastUpdateDate:"2023-09-02"},{id:6,title:"Why Boom Beach is better than Clash of Clans",description:"Describing the reasons why I think Boom Beach is superior than Clash of Clans.",author:"Gabriele Gatti",topics:["gaming","boom beach","clash of clans"],link:"/blog/gaming/why-boom-beach-is-better-than-clash-of-clans",creationDate:"2023-09-28",lastUpdateDate:"2023-09-28"},{id:7,title:"Road to a minimum wage",description:"Analysing some key problems related to setting a minimum wage.",author:"Gabriele Gatti",topics:["politics","economy","minimum wage"],link:"/blog/politics/road-to-a-minimum-wage",creationDate:"2024-05-15",lastUpdateDate:"2024-05-15"},{id:8,title:"The best games of my life",description:"Reviewing some of my favourite games that I used to play in my childhood, and later...",author:"Gabriele Gatti",topics:["gaming","childhood","old but gold"],link:"/blog/gaming/the-best-games-of-my-life",creationDate:"2024-05-21",lastUpdateDate:"2024-05-21"},{id:9,title:"The power of free time",description:"Free time, when used properly, is the most powerful thing you can have. Here are some tips to making the best use of it.",author:"Gabriele Gatti",topics:["free time","power","stories"],link:"/blog/stories/the-power-of-free-time",creationDate:"2024-05-22",lastUpdateDate:"2024-05-22"},{id:10,title:"What programming language you should learn",description:"What programming language is the best for you? What if you pick the wrong language? Is it easy or hard? I'm going to break down all the steps that will lead to the right choice.",author:"Gabriele Gatti",topics:["programming","programming languages","learn programming"],link:"/blog/programming/what-programming-language-you-should-learn",creationDate:"2024-05-25",lastUpdateDate:"2024-05-25"},{id:13,title:"What is the best renewable energy source?",description:"In this article I'm going to analyze and compare the most common types of renewable energy sources, such as Solar energy, Wind energy and Hydro energy.",author:"Gabriele Gatti",topics:["renewable energy","green energy","clean energy","education"],link:"/blog/education/what-is-the-best-renewable-energy",creationDate:"2024-05-31",lastUpdateDate:"2024-06-02"}];let EF=(()=>{class e{constructor(){}static filterBlogs(n){let r=[];for(let o of hu)o.topics.includes(n)&&r.push(o);return r}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const SF=["programming","sport","education","stories","gaming","music","politics"];function IF(e,t){if(1&e&&(X(0,"a",5),le(1),Q()),2&e){const n=t.$implicit,r=vl();ts("routerLink","/blogs/",n,"/."),wl("id",r.colors[r.optionBar.indexOf(n)]),ze(1),Vo("",n," ")}}function MF(e,t){if(1&e&&(X(0,"span"),le(1),ge(2,"br"),Q()),2&e){const n=t.$implicit;ze(1),Vo("#",n,"")}}function TF(e,t){if(1&e){const n=function Ly(){return D()}();X(0,"div",6)(1,"a",7),es("click",function(){const i=function $p(e){return B.lFrame.contextLView=e,e[Le]}(n).$implicit;return function Bp(e){return B.lFrame.contextLView=null,e}(vl().changeRoute(i.link))}),ge(2,"div",8),X(3,"div",9),le(4),Q(),X(5,"div",10),Ki(6,MF,3,1,"span",11),Q()()()}if(2&e){const n=t.$implicit,r=vl();ze(1),tn("routerLink","/"+n.link+"/."),ze(1),ts("id","image-",r.colors[r.optionBar.indexOf(r.getTopic(n.topics))],""),ze(2),Uo(n.title),ze(2),tn("ngForOf",n.topics)}}let pu=(()=>{class e{constructor(n){this.router=n,this.displayBlogs=[],this.blogs=[],this.otherBlogs=[],this.optionBar=[...SF],this.colors=["red","orange","yellow","green","blue","pink","purple"],this.router.events.subscribe(()=>{this.displayPostByRoute()})}ngOnInit(){document.getElementById("blog-options").style.display="none",0==this.displayBlogs.length&&this.limitPostsToShow(3),window.location.pathname.includes("/blogs")&&(this.displayDefaultPosts(),this.displayPostByRoute())}limitPostsToShow(n){for(let r of hu){if(this.displayBlogs.length>n)break;this.displayBlogs.push(r)}}displayDefaultPosts(){this.displayBlogs=hu,document.getElementById("blog-options").style.display="block",document.querySelector("meta[name='keywords']").setAttribute("content","Gabriele Gatti, Gabriele, Gabri432"),document.querySelector("meta[name='description']").setAttribute("content","A personal website and blog made with Angular 16+ by Gabriele Gatti")}displayPostByRoute(){if(document.querySelector("link[rel='canonical']").setAttribute("href","https://gabri432.github.io"+location.pathname),window.location.pathname.includes("/blogs/")){const n=window.location.pathname.replace("/angular-personal-website/blogs/","").replace("/","");""!=n&&(this.displayBlogs=EF.filterBlogs(n))}}changeRoute(n){window.location.href="/angular-personal-website"+n+"/."}getTopic(n){for(let r of n)if(this.optionBar.includes(r))return r;return""}}return e.\u0275fac=function(n){return new(n||e)(R(Tt))},e.\u0275cmp=Yt({type:e,selectors:[["app-blog-displayer"]],inputs:{displayBlogs:"displayBlogs"},decls:7,vars:2,consts:[["id","container"],["id","blog-options"],["class","option",3,"routerLink","id",4,"ngFor","ngForOf"],["id","blog-grid"],["id","blog-displayer",4,"ngFor","ngForOf"],[1,"option",3,"routerLink","id"],["id","blog-displayer"],[3,"routerLink","click"],[1,"image",3,"id"],[1,"title"],[1,"topics"],[4,"ngFor","ngForOf"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"h2"),le(2,"My blogs"),Q(),X(3,"div",1),Ki(4,IF,2,3,"a",2),Q(),X(5,"div",3),Ki(6,TF,7,4,"div",4),Q()()),2&n&&(ze(4),tn("ngForOf",r.optionBar),ze(2),tn("ngForOf",r.displayBlogs.reverse()))},dependencies:[Hf,li],styles:["#container[_ngcontent-%COMP%]{margin-top:10%;min-height:100vh}h2[_ngcontent-%COMP%]{color:gray;font-size:34px;text-align:center}#blog-options[_ngcontent-%COMP%]{text-align:center;min-height:10vh;width:80%;margin-left:10%;word-break:break-word;line-height:2.5}#blog-options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{border:1px solid grey;padding:5px;text-align:center;margin:5px;border-radius:5px;min-width:8ch;text-decoration:none;color:#000}#blog-options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:hover{background-color:#000;color:#fff}#blog-options[_ngcontent-%COMP%] #red[_ngcontent-%COMP%]{border-color:red}#blog-options[_ngcontent-%COMP%] #orange[_ngcontent-%COMP%]{border-color:orange}#blog-options[_ngcontent-%COMP%] #yellow[_ngcontent-%COMP%]{border-color:#ff0}#blog-options[_ngcontent-%COMP%] #green[_ngcontent-%COMP%]{border-color:green}#blog-options[_ngcontent-%COMP%] #blue[_ngcontent-%COMP%]{border-color:#00f}#blog-options[_ngcontent-%COMP%] #purple[_ngcontent-%COMP%]{border-color:purple}#blog-options[_ngcontent-%COMP%] #pink[_ngcontent-%COMP%]{border-color:pink}#blog-displayer[_ngcontent-%COMP%]{border-radius:5px;margin:5px;background-color:#fff;border:1px solid lightgrey;cursor:pointer}#blog-displayer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#000}#blog-displayer[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{height:20vh;background-color:gray}#blog-displayer[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#000;font-size:22px;padding:5%;height:10vh}#blog-displayer[_ngcontent-%COMP%] .topics[_ngcontent-%COMP%]{color:#000;padding:5%}#blog-displayer[_ngcontent-%COMP%] #image-red[_ngcontent-%COMP%]{background-color:red}#blog-displayer[_ngcontent-%COMP%] #image-orange[_ngcontent-%COMP%]{background-color:orange}#blog-displayer[_ngcontent-%COMP%] #image-yellow[_ngcontent-%COMP%]{background-color:#ff0}#blog-displayer[_ngcontent-%COMP%] #image-green[_ngcontent-%COMP%]{background-color:green}#blog-displayer[_ngcontent-%COMP%] #image-blue[_ngcontent-%COMP%]{background-color:#00f}#blog-displayer[_ngcontent-%COMP%] #image-purple[_ngcontent-%COMP%]{background-color:purple}#blog-displayer[_ngcontent-%COMP%] #image-pink[_ngcontent-%COMP%]{background-color:pink}#blog-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);text-align:left;width:80%;margin-left:10%}@media only screen and (max-width: 899px){#blog-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);text-align:left}}@media only screen and (max-width: 499px){#blog-grid[_ngcontent-%COMP%]{display:block}#container[_ngcontent-%COMP%]{padding-top:10%}}"]}),e})(),jC=(()=>{class e{ngOnInit(){this.changeURLcanonical()}setNounce(){FC.generateNonce();let n=document.querySelector("meta[http-equiv='Content-Security-Policy']").getAttribute("content");n.includes("sha512-")||(n=n.concat(";\nscript-src 'self' 'sha512-"+fu.nonce+"'"),document.querySelector("meta[http-equiv='Content-Security-Policy']").setAttribute("content",n))}changeURLcanonical(){document.querySelector("link[rel='canonical']").setAttribute("href",""),document.querySelector("link[rel='canonical']").setAttribute("href","https://gabri432.github.io/angular-personal-website/"),this.changeJSONLDSchema()}changeJSONLDSchema(){document.querySelector("script[type='application/ld+json']").remove();const r=document.createElement("script");r.setAttribute("type","application/ld+json"),r.textContent=JSON.stringify({"@context":"http://schema.org","@type":"WebSite",url:"https://gabri432.github.io/angular-personal-website/",breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,item:{"@id":"https://gabri432.github.io/angular-personal-website/",name:"Home page of Gabriele Gatti personal website, Welcome!"}},{"@type":"ListItem",position:2,item:{"@id":"https://gabri432.github.io/angular-personal-website/projects",name:"Page of all the coding projects made by Gabriele Gatti, Welcome!"}},{"@type":"ListItem",position:3,item:{"@id":"https://gabri432.github.io/angular-personal-website/blogs",name:"Page of all blog posts made by Gabriele Gatti, Welcome!"}}]}}),document.head.appendChild(r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-home"]],decls:40,vars:0,consts:[["id","home"],["id","about-me"],["href","https://www.linkedin.com/in/gabriele-gatti-87b321190/","title","Go to my Linkedin profile"],[1,"fa","fa-linkedin-square"],["href","https://github.com/Gabri432","title","Go to my Github profile"],[1,"fa","fa-github-square"],["id","description"],["id","more-me"],["id","my-projects-section"],["id","my-blog-section"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"div",1)(2,"h2"),le(3," Hi there, "),ge(4,"br"),le(5," I'm Gabriele! "),ge(6,"br"),X(7,"a",2),ge(8,"i",3),Q(),X(9,"a",4),ge(10,"i",5),Q()(),X(11,"div",6)(12,"p"),le(13," I'm an italian aspiring software developer. "),Q()()(),X(14,"div",7)(15,"h2"),le(16,"About me"),Q(),X(17,"p"),le(18," I'm currently studying computer science at the University of Milan. "),ge(19,"br"),le(20," My favourite programming language is Java, but I also enjoy Python, Go, and Typescript. "),ge(21,"br"),le(22," Among the tools that I use the most there are Angular, Github and VSCode. "),ge(23,"br")(24,"br"),le(25," Among my passions there are sports such as Basketball, Olympic Lifting and Rugby. "),ge(26,"br"),le(27," Other than that I love Math and Science. "),ge(28,"br")(29,"br"),le(30," Other than my native language, italian, I do speak english and little french. "),ge(31,"br"),le(32," I can also read some spanish. "),Q()(),ge(33,"hr"),X(34,"div",8),ge(35,"app-my-projects"),Q(),ge(36,"hr"),X(37,"div",9),ge(38,"app-blog-displayer"),Q(),ge(39,"br"),Q())},dependencies:[LC,pu],styles:["#home[_ngcontent-%COMP%]{margin-bottom:50px;text-align:center}#home[_ngcontent-%COMP%] #about-me[_ngcontent-%COMP%]{background-color:#000;color:#fff;display:grid;grid-template-columns:repeat(2,1fr);height:100vh;font-size:35px;top:50%;justify-content:center;align-items:center}#home[_ngcontent-%COMP%] #about-me[_ngcontent-%COMP%] #description[_ngcontent-%COMP%]{text-align:left}#home[_ngcontent-%COMP%] #about-me[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;margin:3px}#home[_ngcontent-%COMP%] #more-me[_ngcontent-%COMP%]{margin-top:10%;margin-bottom:10%;width:60%;margin-left:20%}#home[_ngcontent-%COMP%] #more-me[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left;font-size:20px}#home[_ngcontent-%COMP%] #more-me[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:gray;font-size:34px}#home[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{width:70%;margin-left:15%;border:1px solid lightgrey}@media only screen and (max-width: 499px){#home[_ngcontent-%COMP%]{margin-bottom:150px}#home[_ngcontent-%COMP%] #about-me[_ngcontent-%COMP%]{display:block;padding:40% 2% 2%}#home[_ngcontent-%COMP%] #more-me[_ngcontent-%COMP%]{width:80%;margin-left:10%}}"]}),e})();class xF extends be{constructor(t,n){super()}schedule(t,n=0){return this}}const gu={setInterval(e,t,...n){const{delegate:r}=gu;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=gu;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},Mh={now:()=>(Mh.delegate||Date).now(),delegate:void 0};class Fs{constructor(t,n=Fs.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Fs.now=Mh.now;const OF=new class RF extends Fs{constructor(t,n=Fs.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class AF extends xF{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return gu.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&gu.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,ie(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});class PF extends st{constructor(t=1/0,n=1/0,r=Mh){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;snew PF(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ls(e){return(Ls="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}let Xr={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const HC=/[&<>"']/,HF=new RegExp(HC.source,"g"),UC=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,UF=new RegExp(UC.source,"g"),VF={"&":"&","<":"<",">":">",'"':""","'":"'"},VC=e=>VF[e];function gt(e,t){if(t){if(HC.test(e))return e.replace(HF,VC)}else if(UC.test(e))return e.replace(UF,VC);return e}const zF=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function zC(e){return e.replace(zF,(t,n)=>"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):"")}const GF=/(^|[^\[])\^/g;function De(e,t){e="string"==typeof e?e:e.source,t=t||"";const n={replace:(r,o)=>(o=(o=o.source||o).replace(GF,"$1"),e=e.replace(r,o),n),getRegex:()=>new RegExp(e,t)};return n}const qF=/[^\w:]/g,WF=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function GC(e,t,n){if(e){let r;try{r=decodeURIComponent(zC(n)).replace(qF,"").toLowerCase()}catch{return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!WF.test(n)&&(n=function QF(e,t){mu[" "+e]||(mu[" "+e]=ZF.test(e)?e+"/":vu(e,"/",!0));const n=-1===(e=mu[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(XF,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(JF,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const mu={},ZF=/^[^:]+:\/*[^/]*$/,XF=/^([^:]+:)[\s\S]*$/,JF=/^([^:]+:\/*[^/]*)[\s\S]*$/,yu={exec:function(){}};function qC(e,t){const r=e.replace(/\|/g,(i,s,a)=>{let l=!1,u=s;for(;--u>=0&&"\\"===a[u];)l=!l;return l?"|":" |"}).split(/ \|/);let o=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function ZC(e,t,n,r){const o=t.href,i=t.title?gt(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const a={type:"link",raw:n,href:o,title:i,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:o,title:i,text:gt(s)}}class Th{constructor(t){this.options=t||Xr}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:vu(r,"\n")}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],o=function eL(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map(o=>{const i=o.match(/^\s+/);if(null===i)return o;const[s]=i;return s.length>=r.length?o.slice(r.length):o}).join("\n")}(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:o}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const o=vu(r,"#");(this.options.pedantic||!o||/ $/.test(o))&&(r=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const r=n[0].replace(/^ *>[ \t]?/gm,""),o=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(r);return this.lexer.state.top=o,{type:"blockquote",raw:n[0],tokens:i,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r,o,i,s,a,l,u,c,d,f,h,p,g=n[1].trim();const y=g.length>1,v={type:"list",raw:"",ordered:y,start:y?+g.slice(0,-1):"",loose:!1,items:[]};g=y?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=y?g:"[*+-]");const m=new RegExp(`^( {0,3}${g})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;t&&(p=!1,(n=m.exec(t))&&!this.rules.block.hr.test(t));){if(r=n[0],t=t.substring(r.length),c=n[2].split("\n",1)[0].replace(/^\t+/,x=>" ".repeat(3*x.length)),d=t.split("\n",1)[0],this.options.pedantic?(s=2,h=c.trimLeft()):(s=n[2].search(/[^ ]/),s=s>4?1:s,h=c.slice(s),s+=n[1].length),l=!1,!c&&/^ *$/.test(d)&&(r+=d+"\n",t=t.substring(d.length+1),p=!0),!p){const x=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),N=new RegExp(`^ {0,${Math.min(3,s-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),de=new RegExp(`^ {0,${Math.min(3,s-1)}}(?:\`\`\`|~~~)`),vn=new RegExp(`^ {0,${Math.min(3,s-1)}}#`);for(;t&&(f=t.split("\n",1)[0],d=f,this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(de.test(d)||vn.test(d)||x.test(d)||N.test(t)));){if(d.search(/[^ ]/)>=s||!d.trim())h+="\n"+d.slice(s);else{if(l||c.search(/[^ ]/)>=4||de.test(c)||vn.test(c)||N.test(c))break;h+="\n"+d}!l&&!d.trim()&&(l=!0),r+=f+"\n",t=t.substring(f.length+1),c=d.slice(s)}}v.loose||(u?v.loose=!0:/\n *\n *$/.test(r)&&(u=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(h),o&&(i="[ ] "!==o[0],h=h.replace(/^\[[ xX]\] +/,""))),v.items.push({type:"list_item",raw:r,task:!!o,checked:i,loose:!1,text:h}),v.raw+=r}v.items[v.items.length-1].raw=r.trimRight(),v.items[v.items.length-1].text=h.trimRight(),v.raw=v.raw.trimRight();const _=v.items.length;for(a=0;a<_;a++)if(this.lexer.state.top=!1,v.items[a].tokens=this.lexer.blockTokens(v.items[a].text,[]),!v.loose){const x=v.items[a].tokens.filter(de=>"space"===de.type),N=x.length>0&&x.some(de=>/\n.*\n/.test(de.raw));v.loose=N}if(v.loose)for(a=0;a<_;a++)v.items[a].loose=!0;return v}}html(t){const n=this.rules.block.html.exec(t);if(n){const r={type:"html",raw:n[0],pre:!this.options.sanitizer&&("pre"===n[1]||"script"===n[1]||"style"===n[1]),text:n[0]};if(this.options.sanitize){const o=this.options.sanitizer?this.options.sanitizer(n[0]):gt(n[0]);r.type="paragraph",r.text=o,r.tokens=this.lexer.inline(o)}return r}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),o=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:o,title:i}}}table(t){const n=this.rules.block.table.exec(t);if(n){const r={type:"table",header:qC(n[1]).map(o=>({text:o})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=n[0];let i,s,a,l,o=r.align.length;for(i=0;i({text:u}));for(o=r.header.length,s=0;s/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):gt(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const s=vu(r.slice(0,-1),"\\");if((r.length-s.length)%2==0)return}else{const s=function YF(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,o=0;for(;o-1){const l=(0===n[0].indexOf("!")?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let o=n[2],i="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s&&(o=s[1],i=s[3])}else i=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^$/.test(r)?o.slice(1):o.slice(1,-1)),ZC(n,{href:o&&o.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let o=(r[2]||r[1]).replace(/\s+/g," ");if(o=n[o.toLowerCase()],!o){const i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return ZC(r,o,r[0],this.lexer)}}emStrong(t,n,r=""){let o=this.rules.inline.emStrong.lDelim.exec(t);if(!o||o[3]&&r.match(/[\p{L}\p{N}]/u))return;const i=o[1]||o[2]||"";if(!i||i&&(""===r||this.rules.inline.punctuation.exec(r))){const s=o[0].length-1;let a,l,u=s,c=0;const d="*"===o[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,n=n.slice(-1*t.length+s);null!=(o=d.exec(n));){if(a=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!a)continue;if(l=a.length,o[3]||o[4]){u+=l;continue}if((o[5]||o[6])&&s%3&&!((s+l)%3)){c+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+c);const f=t.slice(0,s+o.index+(o[0].length-a.length)+l);if(Math.min(s,l)%2){const p=f.slice(1,-1);return{type:"em",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}const h=f.slice(2,-2);return{type:"strong",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const o=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return o&&i&&(r=r.substring(1,r.length-1)),r=gt(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t,n){const r=this.rules.inline.autolink.exec(t);if(r){let o,i;return"@"===r[2]?(o=gt(this.options.mangle?n(r[1]):r[1]),i="mailto:"+o):(o=gt(r[1]),i=o),{type:"link",raw:r[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}url(t,n){let r;if(r=this.rules.inline.url.exec(t)){let o,i;if("@"===r[2])o=gt(this.options.mangle?n(r[0]):r[0]),i="mailto:"+o;else{let s;do{s=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(s!==r[0]);o=gt(r[0]),i="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t,n){const r=this.rules.inline.text.exec(t);if(r){let o;return o=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):gt(r[0]):r[0]:gt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:o}}}}const k={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:yu,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};k.def=De(k.def).replace("label",k._label).replace("title",k._title).getRegex(),k.bullet=/(?:[*+-]|\d{1,9}[.)])/,k.listItemStart=De(/^( *)(bull) */).replace("bull",k.bullet).getRegex(),k.list=De(k.list).replace(/bull/g,k.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+k.def.source+")").getRegex(),k._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",k._comment=/|$)/,k.html=De(k.html,"i").replace("comment",k._comment).replace("tag",k._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),k.paragraph=De(k._paragraph).replace("hr",k.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",k._tag).getRegex(),k.blockquote=De(k.blockquote).replace("paragraph",k.paragraph).getRegex(),k.normal={...k},k.gfm={...k.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},k.gfm.table=De(k.gfm.table).replace("hr",k.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",k._tag).getRegex(),k.gfm.paragraph=De(k._paragraph).replace("hr",k.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",k.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",k._tag).getRegex(),k.pedantic={...k.normal,html:De("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",k._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:yu,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:De(k.normal._paragraph).replace("hr",k.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",k.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const M={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:yu,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:yu,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(r="x"+r.toString(16)),t+="&#"+r+";";return t}M._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",M.punctuation=De(M.punctuation).replace(/punctuation/g,M._punctuation).getRegex(),M.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,M.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,M._comment=De(k._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),M.emStrong.lDelim=De(M.emStrong.lDelim).replace(/punct/g,M._punctuation).getRegex(),M.emStrong.rDelimAst=De(M.emStrong.rDelimAst,"g").replace(/punct/g,M._punctuation).getRegex(),M.emStrong.rDelimUnd=De(M.emStrong.rDelimUnd,"g").replace(/punct/g,M._punctuation).getRegex(),M._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,M._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,M._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,M.autolink=De(M.autolink).replace("scheme",M._scheme).replace("email",M._email).getRegex(),M._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,M.tag=De(M.tag).replace("comment",M._comment).replace("attribute",M._attribute).getRegex(),M._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,M._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,M._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,M.link=De(M.link).replace("label",M._label).replace("href",M._href).replace("title",M._title).getRegex(),M.reflink=De(M.reflink).replace("label",M._label).replace("ref",k._label).getRegex(),M.nolink=De(M.nolink).replace("ref",k._label).getRegex(),M.reflinkSearch=De(M.reflinkSearch,"g").replace("reflink",M.reflink).replace("nolink",M.nolink).getRegex(),M.normal={...M},M.pedantic={...M.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:De(/^!?\[(label)\]\((.*?)\)/).replace("label",M._label).getRegex(),reflink:De(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",M._label).getRegex()},M.gfm={...M.normal,escape:De(M.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(u.length));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(r=a.call({lexer:this},t,n))&&(t=t.substring(r.raw.length),n.push(r),!0)))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),1===r.raw.length&&n.length>0?n[n.length-1].raw+="\n":n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),o=n[n.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?n.push(r):(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),o=n[n.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(o.raw+="\n"+r.raw,o.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text);continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let u;this.options.extensions.startBlock.forEach(function(c){u=c.call({lexer:this},l),"number"==typeof u&&u>=0&&(a=Math.min(a,u))}),a<1/0&&a>=0&&(i=t.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){o=n[n.length-1],s&&"paragraph"===o.type?(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(r),s=i.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),o=n[n.length-1],o&&"text"===o.type?(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(r);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,o,i,a,l,u,s=t;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+WC("a",a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+WC("a",a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(s));)s=s.slice(0,a.index+a[0].length-2)+"++"+s.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>!!(r=c.call({lexer:this},t,n))&&(t=t.substring(r.raw.length),n.push(r),!0)))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),o=n[n.length-1],o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),o=n[n.length-1],o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,s,u)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t,XC)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t,XC))){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const d=t.slice(1);let f;this.options.extensions.startInline.forEach(function(h){f=h.call({lexer:this},d),"number"==typeof f&&f>=0&&(c=Math.min(c,f))}),c<1/0&&c>=0&&(i=t.substring(0,c+1))}if(r=this.tokenizer.inlineText(i,tL)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(u=r.raw.slice(-1)),l=!0,o=n[n.length-1],o&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}return n}}class js{constructor(t){this.options=t||Xr}code(t,n,r){const o=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(t,o);null!=i&&i!==t&&(r=!0,t=i)}return t=t.replace(/\n$/,"")+"\n",o?'
'+(r?t:gt(t,!0))+"
\n":"
"+(r?t:gt(t,!0))+"
\n"}blockquote(t){return`
\n${t}
\n`}html(t){return t}heading(t,n,r,o){return this.options.headerIds?`${t}\n`:`${t}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(t,n,r){const o=n?"ol":"ul";return"<"+o+(n&&1!==r?' start="'+r+'"':"")+">\n"+t+"\n"}listitem(t){return`
  • ${t}
  • \n`}checkbox(t){return" "}paragraph(t){return`

    ${t}

    \n`}table(t,n){return n&&(n=`${n}`),"\n\n"+t+"\n"+n+"
    \n"}tablerow(t){return`\n${t}\n`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`\n`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
    ":"
    "}del(t){return`${t}`}link(t,n,r){if(null===(t=GC(this.options.sanitize,this.options.baseUrl,t)))return r;let o='",o}image(t,n,r){if(null===(t=GC(this.options.sanitize,this.options.baseUrl,t)))return r;let o=`${r}":">",o}text(t){return t}}class JC{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class QC{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let r=t,o=0;if(this.seen.hasOwnProperty(r)){o=this.seen[t];do{o++,r=t+"-"+o}while(this.seen.hasOwnProperty(r))}return n||(this.seen[t]=o,this.seen[r]=0),r}slug(t,n={}){const r=this.serialize(t);return this.getNextSafeSlug(r,n.dryrun)}}class _r{constructor(t){this.options=t||Xr,this.options.renderer=this.options.renderer||new js,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new JC,this.slugger=new QC}static parse(t,n){return new _r(n).parse(t)}static parseInline(t,n){return new _r(n).parseInline(t)}parse(t,n=!0){let o,i,s,a,l,u,c,d,f,h,p,g,y,v,m,_,x,N,de,r="";const vn=t.length;for(o=0;o0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=N+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=N+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:N}):v+=N),v+=this.parse(m.tokens,y),f+=this.renderer.listitem(v,x,_);r+=this.renderer.list(f,p,g);continue;case"html":r+=this.renderer.html(h.text);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(f=h.tokens?this.parseInline(h.tokens):h.text;o+1{"function"==typeof r&&(o=r,r=null);const i={...r},s=function nL(e,t,n){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const o="

    An error occurred:

    "+gt(r.message+"",!0)+"
    ";return t?Promise.resolve(o):n?void n(null,o):o}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}((r={...P.defaults,...i}).silent,r.async,o);if(typeof n>"u"||null===n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function KF(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(r),r.hooks&&(r.hooks.options=r),o){const a=r.highlight;let l;try{r.hooks&&(n=r.hooks.preprocess(n)),l=e(n,r)}catch(d){return s(d)}const u=function(d){let f;if(!d)try{r.walkTokens&&P.walkTokens(l,r.walkTokens),f=t(l,r),r.hooks&&(f=r.hooks.postprocess(f))}catch(h){d=h}return r.highlight=a,d?s(d):o(null,f)};if(!a||a.length<3||(delete r.highlight,!l.length))return u();let c=0;return P.walkTokens(l,function(d){"code"===d.type&&(c++,setTimeout(()=>{a(d.text,d.lang,function(f,h){if(f)return u(f);null!=h&&h!==d.text&&(d.text=h,d.escaped=!0),c--,0===c&&u()})},0))}),void(0===c&&u())}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(a=>e(a,r)).then(a=>r.walkTokens?Promise.all(P.walkTokens(a,r.walkTokens)).then(()=>a):a).then(a=>t(a,r)).then(a=>r.hooks?r.hooks.postprocess(a):a).catch(s);try{r.hooks&&(n=r.hooks.preprocess(n));const a=e(n,r);r.walkTokens&&P.walkTokens(a,r.walkTokens);let l=t(a,r);return r.hooks&&(l=r.hooks.postprocess(l)),l}catch(a){return s(a)}}}function P(e,t,n){return YC(Cr.lex,_r.parse)(e,t,n)}!function $F(e,t,n){(t=function jF(e){var t=function LF(e,t){if("object"!==Ls(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ls(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ls(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(wu,"passThroughHooks",new Set(["preprocess","postprocess"])),P.options=P.setOptions=function(e){return function BF(e){Xr=e}(P.defaults={...P.defaults,...e}),P},P.getDefaults=function BC(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},P.defaults=Xr,P.use=function(...e){const t=P.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(n=>{const r={...n};if(r.async=P.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if(o.renderer){const i=t.renderers[o.name];t.renderers[o.name]=i?function(...s){let a=o.renderer.apply(this,s);return!1===a&&(a=i.apply(this,s)),a}:o.renderer}if(o.tokenizer){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");t[o.level]?t[o.level].unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),n.renderer){const o=P.defaults.renderer||new js;for(const i in n.renderer){const s=o[i];o[i]=(...a)=>{let l=n.renderer[i].apply(o,a);return!1===l&&(l=s.apply(o,a)),l}}r.renderer=o}if(n.tokenizer){const o=P.defaults.tokenizer||new Th;for(const i in n.tokenizer){const s=o[i];o[i]=(...a)=>{let l=n.tokenizer[i].apply(o,a);return!1===l&&(l=s.apply(o,a)),l}}r.tokenizer=o}if(n.hooks){const o=P.defaults.hooks||new wu;for(const i in n.hooks){const s=o[i];o[i]=wu.passThroughHooks.has(i)?a=>{if(P.defaults.async)return Promise.resolve(n.hooks[i].call(o,a)).then(u=>s.call(o,u));const l=n.hooks[i].call(o,a);return s.call(o,l)}:(...a)=>{let l=n.hooks[i].apply(o,a);return!1===l&&(l=s.apply(o,a)),l}}r.hooks=o}if(n.walkTokens){const o=P.defaults.walkTokens;r.walkTokens=function(i){let s=[];return s.push(n.walkTokens.call(this,i)),o&&(s=s.concat(o.call(this,i))),s}}P.setOptions(r)})},P.walkTokens=function(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(P,r)),r.type){case"table":for(const o of r.header)n=n.concat(P.walkTokens(o.tokens,t));for(const o of r.rows)for(const i of o)n=n.concat(P.walkTokens(i.tokens,t));break;case"list":n=n.concat(P.walkTokens(r.items,t));break;default:P.defaults.extensions&&P.defaults.extensions.childTokens&&P.defaults.extensions.childTokens[r.type]?P.defaults.extensions.childTokens[r.type].forEach(function(o){n=n.concat(P.walkTokens(r[o],t))}):r.tokens&&(n=n.concat(P.walkTokens(r.tokens,t)))}return n},P.parseInline=YC(Cr.lexInline,_r.parseInline),P.Parser=_r,P.parser=_r.parse,P.Renderer=js,P.TextRenderer=JC,P.Lexer=Cr,P.lexer=Cr.lex,P.Tokenizer=Th,P.Slugger=QC,P.Hooks=wu,P.parse=P;class Du{}class bu{}class $n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof $n?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 $n;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof $n?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class rL{encodeKey(t){return KC(t)}encodeValue(t){return KC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const iL=/%(\d[a-f0-9])/gi,sL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function KC(e){return encodeURIComponent(e).replace(iL,(t,n)=>sL[n]??t)}function Cu(e){return`${e}`}class Er{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new rL,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oL(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(Cu):[Cu(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 Er({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(Cu(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(Cu(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 aL{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 e_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function t_(e){return typeof Blob<"u"&&e instanceof Blob}function n_(e){return typeof FormData<"u"&&e instanceof FormData}class $s{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 lL(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 $n),this.context||(this.context=new aL),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(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new $s(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var ui=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ui||{});class xh{constructor(t,n=200,r="OK"){this.headers=t.headers||new $n,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 Ah extends xh{constructor(t={}){super(t),this.type=ui.ResponseHeader}clone(t={}){return new Ah({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 ci extends xh{constructor(t={}){super(t),this.type=ui.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ci({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 r_ extends xh{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 Rh(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 _u=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof $s)i=n;else{let l,u;l=o.headers instanceof $n?o.headers:new $n(o.headers),o.params&&(u=o.params instanceof Er?o.params:new Er({fromObject:o.params})),i=new $s(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=L(i).pipe(ei(l=>this.handler.handle(l)));if(n instanceof $s||"events"===o.observe)return s;const a=s.pipe(jt(l=>l instanceof ci));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 Er).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,Rh(o,r))}post(n,r,o={}){return this.request("POST",n,Rh(o,r))}put(n,r,o={}){return this.request("PUT",n,Rh(o,r))}}return e.\u0275fac=function(n){return new(n||e)(E(Du))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function s_(e,t){return t(e)}function dL(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const hL=new T(""),Bs=new T(""),a_=new T("");function pL(){let e=null;return(t,n)=>{null===e&&(e=(I(hL,{optional:!0})??[]).reduceRight(dL,s_));const r=I(Tl),o=r.add();return e(t,n).pipe(Ds(()=>r.remove(o)))}}let l_=(()=>{class e extends Du{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=I(Tl)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Bs),...this.injector.get(a_,[])]));this.chain=o.reduceRight((i,s)=>function fL(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),s_)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ds(()=>this.pendingTasks.remove(r)))}}return e.\u0275fac=function(n){return new(n||e)(E(bu),E(An))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const vL=/^\)\]\}',?\n/;let c_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ye(r.\u0275loadImpl()):L(null)).pipe(Dt(()=>new me(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const g=s.statusText||"OK",y=new $n(s.getAllResponseHeaders()),v=function wL(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new Ah({headers:y,status:s.status,statusText:g,url:v}),l},c=()=>{let{headers:g,status:y,statusText:v,url:m}=u(),_=null;204!==y&&(_=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=_?200:0);let x=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof _){const N=_;_=_.replace(vL,"");try{_=""!==_?JSON.parse(_):null}catch(de){_=N,x&&(x=!1,_={error:de,text:_})}}x?(i.next(new ci({body:_,headers:g,status:y,statusText:v,url:m||void 0})),i.complete()):i.error(new r_({error:_,headers:g,status:y,statusText:v,url:m||void 0}))},d=g=>{const{url:y}=u(),v=new r_({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(u()),f=!0);let y={type:ui.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:ui.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:ui.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}}return e.\u0275fac=function(n){return new(n||e)(E(sb))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const Oh=new T("XSRF_ENABLED"),d_=new T("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),f_=new T("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class h_{}let CL=(()=>{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=XD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(E(rt),E(gr),E(d_))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();function _L(e,t){const n=e.url.toLowerCase();if(!I(Oh)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=I(h_).getToken(),o=I(f_);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Sr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Sr||{});function Jr(e,t){return{\u0275kind:e,\u0275providers:t}}function EL(...e){const t=[_u,c_,l_,{provide:Du,useExisting:l_},{provide:bu,useExisting:c_},{provide:Bs,useValue:_L,multi:!0},{provide:Oh,useValue:!0},{provide:h_,useClass:CL}];for(const n of e)t.push(...n.\u0275providers);return function Uc(e){return{\u0275providers:e}}(t)}const p_=new T("LEGACY_INTERCEPTOR_FN");let g_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({providers:[EL(Jr(Sr.LegacyInterceptors,[{provide:p_,useFactory:pL},{provide:Bs,useExisting:p_,multi:!0}]))]}),e})();const RL=["*"];let m_=(()=>{class e{constructor(){this._buttonClick$=new st,this.copied$=this._buttonClick$.pipe(Dt(()=>Wh(L(!0),function kF(e=0,t,n=OF){let r=-1;return null!=t&&(Vh(t)?n=t:r=t),new me(o=>{let i=function NF(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}(3e3).pipe(kb(!1)))),Zh(),$C(1)),this.copiedText$=this.copied$.pipe(Ob(!1),W(n=>n?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(n,r){1&n&&(X(0,"button",0),es("click",function(){return r.onCopyToClipboardClick()}),qd(1,"async"),le(2),qd(3,"async"),Q()),2&n&&(Nd("copied",Wd(1,3,r.copied$)),ze(2),Uo(Wd(3,5,r.copiedText$)))},dependencies:[tb],encapsulation:2,changeDetection:0}),e})();class kL{}var Nh=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(Nh||{});class FL{}const y_=new T("SECURITY_CONTEXT");let kh=(()=>{class e{get options(){return this._options}set options(n){this._options={...this.DEFAULT_MARKED_OPTIONS,...n}}get renderer(){return this.options.renderer}set renderer(n){this.options.renderer=n}constructor(n,r,o,i,s,a){this.platform=n,this.securityContext=r,this.http=o,this.clipboardOptions=i,this.sanitizer=a,this.DEFAULT_MARKED_OPTIONS={renderer:new js},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new st,this.reload$=this._reload$.asObservable(),this.options=s}parse(n,r=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:o,inline:i,emoji:s,mermaid:a,disableSanitizer:l}=r,u={...this.options,...r.markedOptions};a&&(this.renderer=this.extendRenderer(u.renderer||new js));const c=this.trimIndentation(n),d=o?this.decodeHtml(c):c,f=s?this.parseEmoji(d):d,h=this.parseMarked(f,u,i);return(l?h:this.sanitizer.sanitize(this.securityContext,h))||""}render(n,r=this.DEFAULT_RENDER_OPTIONS,o){const{clipboard:i,clipboardOptions:s,katex:a,katexOptions:l,mermaid:u,mermaidOptions:c}=r;i&&this.renderClipboard(n,o,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),a&&this.renderKatex(n,{...this.DEFAULT_KATEX_OPTIONS,...l}),u&&this.renderMermaid(n,{...this.DEFAULT_MERMAID_OPTIONS,...c}),this.highlight(n)}reload(){this._reload$.next()}getSource(n){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(n,{responseType:"text"}).pipe(W(r=>this.handleExtension(n,r)))}highlight(n){if(!Yo(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;n||(n=document);const r=n.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(r,o=>o.classList.add("language-none")),Prism.highlightAllUnder(n)}decodeHtml(n){if(!Yo(this.platform))return n;const r=document.createElement("textarea");return r.innerHTML=n,r.value}extendRenderer(n){const r=n;if(!0===r.\u0275NgxMarkdownRendererExtended)return n;const o=n.code;return n.code=function(i,s,a){return"mermaid"===s?`
    ${i}
    `:o.call(this,i,s,a)},r.\u0275NgxMarkdownRendererExtended=!0,n}handleExtension(n,r){const o=n.lastIndexOf("://"),i=o>-1?n.substring(o+4):n,s=i.lastIndexOf("/"),a=s>-1?i.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),u=l>-1?a.substring(l+1):"";return u&&"md"!==u?"```"+u+"\n"+r+"\n```":r}parseMarked(n,r,o=!1){return o?P.parseInline(n,r):P.parse(n,r)}parseEmoji(n){if(!Yo(this.platform))return n;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(n)}renderKatex(n,r){if(Yo(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(n,r)}}renderClipboard(n,r,o){if(!Yo(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!r)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:i,buttonTemplate:s}=o,a=n.querySelectorAll("pre");for(let l=0;ld.style.opacity="1",u.onmouseout=()=>d.style.opacity="0",f=i?r.createComponent(i).hostView:s?r.createEmbeddedView(s):r.createComponent(m_).hostView,f.rootNodes.forEach(p=>{p.onmouseover=()=>d.style.opacity="1",d.appendChild(p),h=new ClipboardJS(p,{text:()=>u.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(n,r=this.DEFAULT_MERMAID_OPTIONS){if(!Yo(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.init>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const o=n.querySelectorAll(".mermaid");0!==o.length&&(mermaid.initialize(r),mermaid.init(o))}trimIndentation(n){if(!n)return"";let r;return n.split("\n").map(o=>{let i=r;return o.length>0&&(i=isNaN(i)?o.search(/\S|$/):Math.min(o.search(/\S|$/),i)),isNaN(r)&&(r=i),i?o.substring(i):o}).join("\n")}}return e.\u0275fac=function(n){return new(n||e)(E(gr),E(y_),E(_u,8),E(kL,8),E(FL,8),E(nh))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),v_=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(n){this._disableSanitizer=this.coerceBooleanProperty(n)}get inline(){return this._inline}set inline(n){this._inline=this.coerceBooleanProperty(n)}get srcRelativeLink(){return this._srcRelativeLink}set srcRelativeLink(n){this._srcRelativeLink=this.coerceBooleanProperty(n)}get clipboard(){return this._clipboard}set clipboard(n){this._clipboard=this.coerceBooleanProperty(n)}get emoji(){return this._emoji}set emoji(n){this._emoji=this.coerceBooleanProperty(n)}get katex(){return this._katex}set katex(n){this._katex=this.coerceBooleanProperty(n)}get mermaid(){return this._mermaid}set mermaid(n){this._mermaid=this.coerceBooleanProperty(n)}get lineHighlight(){return this._lineHighlight}set lineHighlight(n){this._lineHighlight=this.coerceBooleanProperty(n)}get lineNumbers(){return this._lineNumbers}set lineNumbers(n){this._lineNumbers=this.coerceBooleanProperty(n)}get commandLine(){return this._commandLine}set commandLine(n){this._commandLine=this.coerceBooleanProperty(n)}constructor(n,r,o){this.element=n,this.markdownService=r,this.viewContainerRef=o,this.error=new et,this.load=new et,this.ready=new et,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this._srcRelativeLink=!1,this.destroyed$=new st}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(function FF(e){return _e((t,n)=>{Jt(e).subscribe(ye(n,()=>n.complete(),ee)),!n.closed&&t.subscribe(n)})}(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(n,r=!1){let o;this.src&&this.srcRelativeLink&&(o={baseUrl:new URL(this.src,location.origin).pathname});const s={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=this.markdownService.parse(n,{decodeHtml:r,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,markedOptions:o,disableSanitizer:this.disableSanitizer});this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()}coerceBooleanProperty(n){return null!=n&&"false"!=`${String(n)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:n=>{this.render(n),this.load.emit(n)},error:n=>this.error.emit(n)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Nh.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Nh.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(n,r){const o=n.querySelectorAll("pre");for(let i=0;i{const a=r[s];if(a){const l=this.toLispCase(s);o.item(i).setAttribute(l,a.toString())}})}toLispCase(n){const r=n.match(/([A-Z])/g);if(!r)return n;let o=n.toString();for(let i=0,s=r.length;i{class e{static forRoot(n){return{ngModule:e,providers:[kh,n&&n.loader||[],n&&n.clipboardOptions||[],n&&n.markedOptions||[],{provide:y_,useValue:n&&null!=n.sanitize?n.sanitize:Ft.HTML}]}}static forChild(){return{ngModule:e}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[gs]}),e})();var w_;!function(e){let t;var o;let n,r;(o=t=e.SecurityLevel||(e.SecurityLevel={})).Strict="strict",o.Loose="loose",o.Antiscript="antiscript",o.Sandbox="sandbox",function(o){o.Base="base",o.Forest="forest",o.Dark="dark",o.Default="default",o.Neutral="neutral"}(n=e.Theme||(e.Theme={})),function(o){o[o.Debug=1]="Debug",o[o.Info=2]="Info",o[o.Warn=3]="Warn",o[o.Error=4]="Error",o[o.Fatal=5]="Fatal"}(r=e.LogLevel||(e.LogLevel={}))}(w_||(w_={}));const zL=[{path:"",component:jC,title:"About Gabriele Gatti"},{path:"projects/.",component:LC,title:"My Projects"},{path:"blogs/.",component:pu,title:"My Blogs"},{path:"blogs/:topic/.",component:pu,title:"My Blogs"},{path:"blog/:topic/:title/.",component:(()=>{class e{constructor(n){this.route=n,this.blogsToShow=[],this.blogPost=""}ngOnInit(){let n=this.route.snapshot.paramMap.get("title").replace("/",""),r=this.route.snapshot.paramMap.get("topic").replace("/",""),o="../../../assets/blog-content/"+r+"/";if(fu.production&&(o="./assets/blog-content/"+r+"/"),this.blogPost=o+n+".md",null!=n){const i=this.searchPostByTitle(n);document.querySelector("meta[name='keywords']").setAttribute("content",i.topics.toString()),document.querySelector("meta[name='description']").setAttribute("content",i.description),document.title=i.title||"My Blog",this.changeJSONLDSchema(i)}}searchPostByTitle(n){for(let r of hu)if(r.link.split("/")[3]==n)return this.changeURLcanonical(),r;return{id:0,title:".",description:"A personal website and blog made with Angular 16+ by Gabriele Gatti",author:"",topics:["Gabriele Gatti","Gabriele","Gabri432"],link:"/blog/"}}setNounce(){FC.generateNonce();let n=document.querySelector("meta[http-equiv='Content-Security-Policy']").getAttribute("content");n.includes("sha512-")||(n=n.concat(";\nscript-src 'self' 'sha512-"+fu.nonce+"'"),document.querySelector("meta[http-equiv='Content-Security-Policy']").setAttribute("content",n))}changeURLcanonical(){document.querySelector("link[rel='canonical']").setAttribute("href","https://gabri432.github.io"+location.pathname)}changeJSONLDSchema(n){document.querySelector("script[type='application/ld+json']").remove();const r={"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":"https://gabri432.github.io"+location.pathname},headline:n.title,datePublished:n.creationDate+"T08:00:00+00:00",dateModified:n.lastUpdateDate+"T09:20:00+00:00",author:{"@type":"Person",name:"Gabriele Gatti"},publisher:{"@type":"Person",name:"Gabriele Gatti"},description:n.description},o=document.createElement("script");o.setAttribute("type","application/ld+json"),o.textContent=JSON.stringify(r),document.head.appendChild(o)}}return e.\u0275fac=function(n){return new(n||e)(R(Zr))},e.\u0275cmp=Yt({type:e,selectors:[["app-blog"]],decls:6,vars:2,consts:[["id","blog-container"],["markdown","",3,"src"],[3,"displayBlogs"],["id","margin"]],template:function(n,r){1&n&&(X(0,"div",0),ge(1,"div",1),Q(),ge(2,"br")(3,"hr")(4,"app-blog-displayer",2)(5,"div",3)),2&n&&(ze(1),tn("src",r.blogPost),ze(3),tn("displayBlogs",r.blogsToShow))},dependencies:[v_,pu],styles:["#blog-container[_ngcontent-%COMP%]{margin-top:10%;width:60%;margin-left:20%;min-height:100vh;font-size:22px;line-height:1.5}app-blog-displayer[_ngcontent-%COMP%]{text-align:center}#margin[_ngcontent-%COMP%]{height:20vh}hr[_ngcontent-%COMP%]{width:70%;margin-left:15%;border:1px solid lightgrey}@media only screen and (max-width: 499px){#blog-container[_ngcontent-%COMP%]{margin-top:25vh;width:80%;margin-left:10%}}"]}),e})(),title:"My Blogs"},{path:"**",component:jC}];let GL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[du.forRoot(zL,{scrollPositionRestoration:"enabled"}),du]}),e})();const qL=function(){return[""]};let WL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-header"]],decls:11,vars:2,consts:[["id","header"],["id","my-name"],["title","Go to Home page",3,"routerLink"],["id","nav-section"],["routerLink","/projects/.","title","Check out my best projects!"],["routerLink","/blogs/.","title","Check out my blog!"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"div",1)(2,"nav")(3,"a",2),le(4,"Gabriele Gatti"),Q()()(),X(5,"div",3)(6,"nav")(7,"a",4),le(8,"Projects"),Q(),X(9,"a",5),le(10,"Blog"),Q()()()()),2&n&&(ze(3),tn("routerLink",Gd(1,qL)))},dependencies:[li],styles:["html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%;scroll-behavior:smooth}body[_ngcontent-%COMP%]{margin:0;font-family:Verdana,sans-serif}[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#373737}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}#header[_ngcontent-%COMP%]{background-color:#000;display:grid;grid-template-columns:repeat(2,1fr);position:fixed;width:100%;top:0;margin:0;font-size:24px;color:#fff}#header[_ngcontent-%COMP%] #my-name[_ngcontent-%COMP%]{padding:2% 2% 2% 10%}#header[_ngcontent-%COMP%] #nav-section[_ngcontent-%COMP%]{text-align:right;padding:2% 10% 2% 2%}a[_ngcontent-%COMP%]{color:#fff;text-decoration:none;margin-right:25px}a[_ngcontent-%COMP%]:hover{text-decoration:underline}"]}),e})();const ZL=function(){return[""]};let XL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-footer"]],decls:30,vars:2,consts:[["id","footer"],["id","upper-footer"],["id","my-about"],["routerLink","/blog/stories/this-is-my-story/","title","This is me, this is my story!","target","_blank"],["id","quick-links"],["title","Go to Home page",3,"routerLink"],["routerLink","/projects/.","title","Check out my best projects!"],["routerLink","/blogs/.","title","Check out my blog!"],["id","lower-footer"],["id","my-socials"],["href","https://www.linkedin.com/in/gabriele-gatti-87b321190/","title","Go to my Linkedin profile","target","_blank"],[1,"fa","fa-linkedin-square"],["href","https://github.com/Gabri432","title","Go to my Github profile","target","_blank"],[1,"fa","fa-github-square"],["href","https://gabri432.github.io/angular-personal-website/feed.xml","title","Opens feed.xml","target","_blank"],[1,"fa","fa-feed"],["id","copyright"]],template:function(n,r){1&n&&(X(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5"),le(4,"More about me"),Q(),X(5,"nav")(6,"a",3),le(7,"About Gabriele Gatti"),Q()()(),X(8,"div",4)(9,"h5"),le(10,"Quick links"),Q(),X(11,"nav")(12,"a",5),le(13,"Home"),Q(),X(14,"a",6),le(15,"My Projects"),Q(),X(16,"a",7),le(17,"My Blog"),Q()()()(),X(18,"div",8)(19,"div",9)(20,"nav")(21,"a",10),ge(22,"i",11),Q(),X(23,"a",12),ge(24,"i",13),Q(),X(25,"a",14),ge(26,"i",15),Q()(),X(27,"div")(28,"div",16),le(29," \xa9 2024 Gabriele Gatti "),Q()()()()()),2&n&&(ze(12),tn("routerLink",Gd(1,ZL)))},dependencies:[li],styles:["html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%;scroll-behavior:smooth}body[_ngcontent-%COMP%]{margin:0;font-family:Verdana,sans-serif}[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#373737}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}#footer[_ngcontent-%COMP%]{background-color:#000;font-size:18px;color:#fff;padding:2%}#footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}#footer[_ngcontent-%COMP%] #upper-footer[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);width:80%;margin-left:10%;padding-bottom:10px;border-bottom:1px solid white}#footer[_ngcontent-%COMP%] #upper-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}#footer[_ngcontent-%COMP%] #lower-footer[_ngcontent-%COMP%]{padding-top:10px;font-size:20px;text-align:center}#footer[_ngcontent-%COMP%] #lower-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:5px;font-size:35px}"]}),e})(),JL=(()=>{class e{constructor(){this.title="angular-personal-website"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Yt({type:e,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&ge(0,"app-header")(1,"router-outlet")(2,"app-footer")},dependencies:[vh,WL,XL]}),e})(),QL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[gs,du]}),e})(),YL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[gs]}),e})(),KL=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[gs,g_,du,VL.forRoot({loader:_u,sanitize:Ft.NONE})]}),e})();const D_=new me(ee);function b_(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return W(n=>{let r=n;for(let o=0;o{const i=new $t({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new vs)}});e.subscribe(i)})}const Iu={useTransferState:!0,alwaysMonitor:!1,manualIdle:!1,baseURIForScullyContent:"http://localhost:1668"},C_=new T("scullyLibConfig",{factory:()=>Iu}),Ph=e=>(e.includes("#")&&(e=e.split("#")[0]),e.includes("?")&&(e=e.split("?")[0]),e.endsWith("/")?e.slice(0,-1):e),Fh=()=>window&&"running"===window.ScullyIO,Lh=()=>window&&"generated"===window.ScullyIO;function __(e,t){return(e=e??"").endsWith("/")&&t.startsWith("/")?`${e}${t.substr(1)}`:e.endsWith("/")||t.startsWith("/")?`${e}${t}`:`${e}/${t}`}const jh="ScullyIO-transfer-state",$h="/** ___SCULLY_STATE_START___ */",Bh="/** ___SCULLY_STATE_END___ */";let n2=(()=>{class e{constructor(n,r,o){this.document=n,this.router=r,this.http=o,this.inlineOnly=!1,this.currentBaseUrl="//",this.stateBS=new Ce({}),this.state$=this.stateBS.pipe(jt(i=>void 0!==i)),this.nextUrl=this.router.events.pipe(jt(i=>i instanceof tu),Dt(i=>Ph(this.initialUrl)===Ph(i.url)?(this.initialUrl="__done__with__Initial__navigation__",D_):L(i)),Qe(()=>this.stateBS.next(void 0)),Dt(i=>this.router.events.pipe(jt(s=>s instanceof eC&&s.url===i.url),tr())),W(i=>Ph(i.urlAfterRedirects||i.url)),$C(1))}startMonitoring(){window&&window["ScullyIO-injected"]&&window["ScullyIO-injected"].inlineStateOnly&&(this.inlineOnly=!0),this.setupEnvForTransferState(),this.setupStartNavMonitoring()}setupEnvForTransferState(){if(Fh()){this.injectScript();const n=window["ScullyIO-exposed"]||{};n.transferState&&(this.stateBS.next(n.transferState),this.saveState(n.transferState))}else this.initialUrl=window.location.pathname||"__no_NO_no__",this.initialUrl="/"!==this.initialUrl&&this.initialUrl.endsWith("/")?this.initialUrl.slice(0,-1):this.initialUrl,Lh()&&this.stateBS.next(window&&window[jh]||{})}injectScript(){this.script=this.document.createElement("script"),this.script.setAttribute("id",jh);let n=this.document.body.lastChild;for(;"SCRIPT"===n.previousSibling.nodeName;)n=n.previousSibling;this.document.body.insertBefore(this.script,n)}getState(n){return this.fetchTransferState(),this.state$.pipe(b_(n))}stateHasKey(n){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(n)}stateKeyHasValue(n){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(n)&&null!=this.stateBS.value[n]}setState(n,r){const o=Object.assign(Object.assign({},this.stateBS.value),{[n]:r});this.stateBS.next(o),this.saveState(o)}saveState(n){Fh()&&(this.script.textContent=`{window['${jh}']=_u(String.raw\`${$h}${function r2(e){const t={"'":"_~q~",$:"_~o~","`":"_~b~","/":"_~s~","<":"_~l~",">":"_~g~"};return e.replace(/[\$`'<>\/]/g,n=>t[n]).replace(/\\\"/g,"_~d~")}(JSON.stringify(n))}${Bh}\`);function _u(t){t=t.split('${$h}')[1].split('${Bh}')[0];const u={'_~b~': "\`",'_~q~': "'",'_~o~': '$','_~s~': '/','_~l~': '<','_~g~': '>'};return JSON.parse(t.replace(/_~d~/g,'\\\\"').replace(/_~[^]~/g, (s) => u[s]).replace(/\\n/g,'\\\\n').replace(/\\t/g,'\\\\t').replace(/\\r/g,'\\\\r'));}}`)}setupStartNavMonitoring(){Lh()&&this.nextUrl.subscribe()}useScullyTransferState(n,r){return Lh()?this.getState(n):r.pipe(Qe(o=>this.setState(n,o)))}fetchTransferState(){return qe(this,void 0,void 0,function*(){const n=i=>i.split("/").filter(s=>""!==s.trim())[0];yield new Promise(i=>setTimeout(i,0));const r=yield Su(this.nextUrl),o=n(r);this.currentBaseUrl!==o&&(this.currentBaseUrl=o,this.nextUrl.pipe(function e2(e,t=!1){return _e((n,r)=>{let o=0;n.subscribe(ye(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(i=>n(i)===this.currentBaseUrl),Dt(i=>this.inlineOnly?this.readFromIndex(i):this.readFromJson(i)),wr(i=>(console.warn("Error while loading of parsing Scully state:",i),L({}))),Qe(i=>{this.stateBS.next(i)})).subscribe({complete:()=>{this.currentBaseUrl="//"}}))})}readFromJson(n){return Su(this.http.get(E_(__(n,"/data.json"))))}readFromIndex(n){return Su(this.http.get(E_(__(n,"/index.html")),{responseType:"text"})).then(r=>{const o=r.split($h)[1].split(Bh)[0];return JSON.parse(function o2(e){const t={"_~q~":"'","_~b~":"`","_~o~":"$","_~s~":"/","_~l~":"<","_~g~":">"};return e.replace(/_~d~/g,'\\"').replace(/_~[^]~/g,n=>t[n]).replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(o))})}}return e.\u0275fac=function(n){return new(n||e)(E(rt),E(Tt),E(_u))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function E_(e){return e.startsWith("/")?e.slice(1):e}let s2=(()=>{class e{constructor(n,r,o,i,s){this.zone=n,this.router=r,this.document=i,this.initialUrl=function a2(e){return e.endsWith("/")?e.slice(0,-1):e}(window&&window.location&&window.location.pathname)||"",this.imState=new Ce({idle:!1,timeOut:5e3}),this.idle$=this.imState.pipe(b_("idle")),this.initApp=new Event("AngularInitialized",{bubbles:!0,cancelable:!1}),this.appReady=new Event("AngularReady",{bubbles:!0,cancelable:!1}),this.appTimeout=new Event("AngularTimeout",{bubbles:!0,cancelable:!1}),this.scullyLibConfig=Object.assign({},Iu,o);const l=!!(window["ScullyIO-exposed"]||{}).manualIdle;!this.scullyLibConfig.manualIdle&&window&&(this.scullyLibConfig.alwaysMonitor||Fh())&&(this.document.dispatchEvent(this.initApp),this.router.events.pipe(jt(u=>u instanceof br&&void 0!==u.urlAfterRedirects),jt(u=>!l||u.urlAfterRedirects!==this.initialUrl),Qe(()=>this.zoneIdleCheck())).subscribe()),this.scullyLibConfig.manualIdle&&this.document.dispatchEvent(this.initApp),this.scullyLibConfig.useTransferState&&s.startMonitoring()}fireManualMyAppReadyEvent(){return qe(this,void 0,void 0,function*(){return this.document.dispatchEvent(this.appReady)})}init(){return Su(this.idle$)}zoneIdleCheck(){return qe(this,void 0,void 0,function*(){if(void 0===Zone)return this.simpleTimeout();const n=Zone.current.get("TaskTrackingZone");if(void 0===n)return this.simpleTimeout();this.imState.value.idle&&(yield this.setState("idle",!1)),this.zone.runOutsideAngular(()=>{let r,o=0;const i=Date.now(),s=()=>{clearTimeout(r),Date.now()-i>3e4?this.document.dispatchEvent(this.appTimeout):n.macroTasks.length>0&&void 0!==n.macroTasks.find(a=>a.source.includes("XMLHttpRequest"))||o<1?r=setTimeout(()=>{o+=1,s()},50):this.zone.run(()=>{setTimeout(()=>{this.document.dispatchEvent(this.appReady),this.setState("idle",!0)},250)})};s()})})}simpleTimeout(){return qe(this,void 0,void 0,function*(){console.warn("Scully is using timeouts, add the needed polyfills instead!"),yield new Promise(n=>setTimeout(n,this.imState.value.timeOut)),this.document.dispatchEvent(this.appReady)})}setPupeteerTimeoutValue(n){this.imState.next(Object.assign(Object.assign({},this.imState.value),{timeOut:n}))}setState(n,r){this.imState.next(Object.assign(Object.assign({},this.imState.value),{[n]:r}))}}return e.\u0275fac=function(n){return new(n||e)(E(Te),E(Tt),E(C_),E(rt),E(n2))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),S_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({}),e})(),l2=(()=>{class e{constructor(n){this.idle=n}static forRoot(n=Iu){return n=Object.assign({},Iu,n),{ngModule:e,providers:[{provide:C_,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(E(s2))},e.\u0275mod=Rt({type:e}),e.\u0275inj=bt({imports:[[S_,g_],S_]}),e})(),u2=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e,bootstrap:[JL]}),e.\u0275inj=bt({imports:[PN,GL,QL,YL,KL,l2]}),e})();const I_=fs.stripTrailingSlash;fs.stripTrailingSlash=function(e){e.endsWith("/")||(e+="/");const t=e.match(/([^?]*)?(.*)/);return t[2].length>0?/[^\/]\/$/.test(t[1])?t[1]+"."+t[2]:I_(e):/[^\/]\/$/.test(e)?e+".":I_(e)},NN().bootstrapModule(u2).catch(e=>console.error(e))},12:function(mt,xt,Fe){var j;mt.exports=(j=j||function(K,ot){var ie;if(typeof window<"u"&&window.crypto&&(ie=window.crypto),typeof self<"u"&&self.crypto&&(ie=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ie=globalThis.crypto),!ie&&typeof window<"u"&&window.msCrypto&&(ie=window.msCrypto),!ie&&typeof global<"u"&&global.crypto&&(ie=global.crypto),!ie)try{ie=Fe(480)}catch{}var be=function(){if(ie){if("function"==typeof ie.getRandomValues)try{return ie.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof ie.randomBytes)try{return ie.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},He=Object.create||function(){function b(){}return function(O){var te;return b.prototype=O,te=new b,b.prototype=null,te}}(),it={},Ne=it.lib={},w=Ne.Base={extend:function(b){var O=He(this);return b&&O.mixIn(b),(!O.hasOwnProperty("init")||this.init===O.init)&&(O.init=function(){O.$super.init.apply(this,arguments)}),O.init.prototype=O,O.$super=this,O},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var O in b)b.hasOwnProperty(O)&&(this[O]=b[O]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}},$=Ne.WordArray=w.extend({init:function(b,O){b=this.words=b||[],this.sigBytes=null!=O?O:4*b.length},toString:function(b){return(b||ee).stringify(this)},concat:function(b){var O=this.words,te=b.words,re=this.sigBytes,Ie=b.sigBytes;if(this.clamp(),re%4)for(var Pe=0;Pe>>2]|=(te[Pe>>>2]>>>24-Pe%4*8&255)<<24-(re+Pe)%4*8;else for(var Ve=0;Ve>>2]=te[Ve>>>2];return this.sigBytes+=Ie,this},clamp:function(){var b=this.words,O=this.sigBytes;b[O>>>2]&=4294967295<<32-O%4*8,b.length=K.ceil(O/4)},clone:function(){var b=w.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var O=[],te=0;te>>2]>>>24-Ie%4*8&255;re.push((Pe>>>4).toString(16)),re.push((15&Pe).toString(16))}return re.join("")},parse:function(b){for(var O=b.length,te=[],re=0;re>>3]|=parseInt(b.substr(re,2),16)<<24-re%8*4;return new $.init(te,O/2)}},F=Z.Latin1={stringify:function(b){for(var O=b.words,te=b.sigBytes,re=[],Ie=0;Ie>>2]>>>24-Ie%4*8&255));return re.join("")},parse:function(b){for(var O=b.length,te=[],re=0;re>>2]|=(255&b.charCodeAt(re))<<24-re%4*8;return new $.init(te,O)}},xe=Z.Utf8={stringify:function(b){try{return decodeURIComponent(escape(F.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return F.parse(unescape(encodeURIComponent(b)))}},ke=Ne.BufferedBlockAlgorithm=w.extend({reset:function(){this._data=new $.init,this._nDataBytes=0},_append:function(b){"string"==typeof b&&(b=xe.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var O,te=this._data,re=te.words,Ie=te.sigBytes,Pe=this.blockSize,Ve=Ie/(4*Pe),Bn=(Ve=b?K.ceil(Ve):K.max((0|Ve)-this._minBufferSize,0))*Pe,on=K.min(4*Bn,Ie);if(Bn){for(var or=0;or>>2]>>>24-F%4*8&255)<<16|(w[F+1>>>2]>>>24-(F+1)%4*8&255)<<8|w[F+2>>>2]>>>24-(F+2)%4*8&255,b=0;b<4&&F+.75*b<$;b++)ee.push(Z.charAt(Ae>>>6*(3-b)&63));var O=Z.charAt(64);if(O)for(;ee.length%4;)ee.push(O);return ee.join("")},parse:function(Ne){var w=Ne.length,$=this._map,Z=this._reverseMap;if(!Z){Z=this._reverseMap=[];for(var ee=0;ee<$.length;ee++)Z[$.charCodeAt(ee)]=ee}var F=$.charAt(64);if(F){var xe=Ne.indexOf(F);-1!==xe&&(w=xe)}return function it(Ne,w,$){for(var Z=[],ee=0,F=0;F>>6-F%4*2;Z[ee>>>2]|=(xe|ke)<<24-ee%4*8,ee++}return ie.create(Z,ee)}(Ne,w,Z)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},j.enc.Base64)},71:function(mt,xt,Fe){var j;mt.exports=(j=Fe(12),Fe(802),Fe(870),Fe(990),j.HmacSHA512)},990:function(mt,xt,Fe){var j,He;mt.exports=(j=Fe(12),He=j.enc.Utf8,void(j.algo.HMAC=j.lib.Base.extend({init:function(w,$){w=this._hasher=new w.init,"string"==typeof $&&($=He.parse($));var Z=w.blockSize,ee=4*Z;$.sigBytes>ee&&($=w.finalize($)),$.clamp();for(var F=this._oKey=$.clone(),xe=this._iKey=$.clone(),ke=F.words,Ue=xe.words,Ae=0;Ae>>1|Dn<<31)^(ar>>>8|Dn<<24)^(ar>>>7|Dn<<25),qs=Z[Bt-2],wt=qs.high,lr=qs.low,pi=(lr>>>19|wt<<13)^(lr<<3|wt>>>29)^(lr>>>6|wt<<26),Ws=Z[Bt-7],Zs=Z[Bt-16],Xs=Zs.low;sr.high=wn=(wn=(wn=((Dn>>>1|ar<<31)^(Dn>>>8|ar<<24)^Dn>>>7)+Ws.high+((qe=Gs+Ws.low)>>>0>>0?1:0))+((wt>>>19|lr<<13)^(wt<<3|lr>>>29)^wt>>>6)+((qe+=pi)>>>0>>0?1:0))+Zs.high+((qe+=Xs)>>>0>>0?1:0),sr.low=qe}var lt,Ou=yt&eo^~yt&hi,Js=vt&Ar^~vt&to,Nu=Ce&_e^Ce&Mr^_e&Mr,gi=(at>>>28|Ce<<4)^(at<<30|Ce>>>2)^(at<<25|Ce>>>7),mi=$[Bt],ea=mi.low,an=Vs+((yt>>>14|vt<<18)^(yt>>>18|vt<<14)^(yt<<23|vt>>>9))+((lt=no+((vt>>>14|yt<<18)^(vt>>>18|yt<<14)^(vt<<23|yt>>>9)))>>>0>>0?1:0),yi=gi+(at&ye^at&W^ye&W);Vs=hi,no=to,hi=eo,to=Ar,eo=yt,Ar=vt,yt=Tr+(an=(an=(an=an+Ou+((lt+=Js)>>>0>>0?1:0))+mi.high+((lt+=ea)>>>0>>0?1:0))+wn+((lt+=qe)>>>0>>0?1:0))+((vt=xr+lt|0)>>>0>>0?1:0)|0,Tr=Mr,xr=W,Mr=_e,W=ye,_e=Ce,ye=at,Ce=an+(((Ce>>>28|at<<4)^(Ce<<30|at>>>2)^(Ce<<25|at>>>7))+Nu+(yi>>>0>>0?1:0))+((at=lt+yi|0)>>>0>>0?1:0)|0}Ve=Ue.low=Ve+at,Ue.high=$t+Ce+(Ve>>>0>>0?1:0),on=Ae.low=on+ye,Ae.high=Bn+_e+(on>>>0>>0?1:0),ir=b.low=ir+W,b.high=or+Mr+(ir>>>0>>0?1:0),Qr=O.low=Qr+xr,O.high=sn+Tr+(Qr>>>0>>0?1:0),me=te.low=me+vt,te.high=di+yt+(me>>>0>>0?1:0),Yr=re.low=Yr+Ar,re.high=fi+eo+(Yr>>>0>>0?1:0),Kr=Ie.low=Kr+to,Ie.high=Us+hi+(Kr>>>0>>0?1:0),Ir=Pe.low=Ir+no,Pe.high=st+Vs+(Ir>>>0>>0?1:0)},_doFinalize:function(){var F=this._data,xe=F.words,ke=8*this._nDataBytes,Ue=8*F.sigBytes;return xe[Ue>>>5]|=128<<24-Ue%32,xe[30+(Ue+128>>>10<<5)]=Math.floor(ke/4294967296),xe[31+(Ue+128>>>10<<5)]=ke,F.sigBytes=4*xe.length,this._process(),this._hash.toX32()},clone:function(){var F=ie.clone.call(this);return F._hash=this._hash.clone(),F},blockSize:32});K.SHA512=ie._createHelper(ee),K.HmacSHA512=ie._createHmacHelper(ee)}(),j.SHA512)},802:function(mt,xt,Fe){var ie,be,He,it,j;mt.exports=(j=Fe(12),be=(ie=j.lib).Base,He=ie.WordArray,(it=j.x64={}).Word=be.extend({init:function($,Z){this.high=$,this.low=Z}}),it.WordArray=be.extend({init:function($,Z){$=this.words=$||[],this.sigBytes=null!=Z?Z:8*$.length},toX32:function(){for(var $=this.words,Z=$.length,ee=[],F=0;F{}},mt=>{mt(mt.s=91)}]); \ No newline at end of file diff --git a/docs/projects/index.html b/docs/projects/index.html index d0565fc..7a73701 100644 --- a/docs/projects/index.html +++ b/docs/projects/index.html @@ -57,6 +57,6 @@ - + \ No newline at end of file diff --git a/scully.log b/scully.log index 72f6a2f..8350bdb 100644 --- a/scully.log +++ b/scully.log @@ -1030,3 +1030,26 @@ Folder "./scully" doesn't seem to contain custom plugins Deprecation Notice: +Folder "./scully" doesn't seem to contain custom plugins Deprecation Notice: + ====================================================================== + From now on, the plugin that is being used to render a route is + able to be changed by the user. You can do this by adding or + enabling the plugin your scully.angular-personal-website.config.ts + file. For your convenience, we loaded the Puppeteer plugin for you. + + To disable this warning enable the plugin of your choice. + for Puppeteer please add: + import '@scullyio/scully-plugin-puppeteer'; + to your scully.angular-personal-website.config.ts file. + + When you get this warning while not using scully-plugin-puppeteer + you need to set the defaultRouteRenderer to the name of your plugin. + The defaultRouteRenderer is now set to 'routeRenderer'. + ====================================================================== + +----------------------------------Using stored unhandled routes!. To discover new routes in the angular app use "npx scully --scanRoutes"----------------------------------No configuration for route "/blogs/:topic" found. SkippingNo configuration for route "/blog/:topic/:title" found. Skipping + + + + +