diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt
index d0b80ce..10c1925 100644
--- a/3rdpartylicenses.txt
+++ b/3rdpartylicenses.txt
@@ -1,13 +1,20 @@
+@angular/common
+MIT
---------------------------------------------------------------------------------
-Package: @angular/core
-License: "MIT"
+@angular/core
+MIT
+@angular/forms
+MIT
---------------------------------------------------------------------------------
-Package: rxjs
-License: "Apache-2.0"
+@angular/platform-browser
+MIT
+@angular/router
+MIT
+
+rxjs
+Apache-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -211,46 +218,9 @@ License: "Apache-2.0"
limitations under the License.
---------------------------------------------------------------------------------
-Package: tslib
-License: "0BSD"
-
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
---------------------------------------------------------------------------------
-Package: @angular/common
-License: "MIT"
-
-
---------------------------------------------------------------------------------
-Package: @angular/platform-browser
-License: "MIT"
-
-
---------------------------------------------------------------------------------
-Package: @angular/router
-License: "MIT"
-
-
---------------------------------------------------------------------------------
-Package: @angular/forms
-License: "MIT"
-
-
---------------------------------------------------------------------------------
-Package: zone.js
-License: "MIT"
+zone.js
+MIT
The MIT License
Copyright (c) 2010-2023 Google LLC. https://angular.io/license
@@ -272,5 +242,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-
---------------------------------------------------------------------------------
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..9f7f6c9
--- /dev/null
+++ b/404.html
@@ -0,0 +1,13 @@
+
+
+
+
+ JsMonthlyCalculator
+
+
+
+
+
+
+
+
diff --git a/browser/main-XIQ5ACL5.js b/browser/main-XIQ5ACL5.js
deleted file mode 100644
index 5c4523b..0000000
--- a/browser/main-XIQ5ACL5.js
+++ /dev/null
@@ -1,44 +0,0 @@
-var Rh=Object.defineProperty,Fh=Object.defineProperties;var Ph=Object.getOwnPropertyDescriptors;var Tu=Object.getOwnPropertySymbols;var kh=Object.prototype.hasOwnProperty,Lh=Object.prototype.propertyIsEnumerable;var xu=(t,e,r)=>e in t?Rh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,g=(t,e)=>{for(var r in e||={})kh.call(e,r)&&xu(t,r,e[r]);if(Tu)for(var r of Tu(e))Lh.call(e,r)&&xu(t,r,e[r]);return t},k=(t,e)=>Fh(t,Ph(e));var Au=null;var vo=1;function ue(t){let e=Au;return Au=t,e}var Nu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Vh(t){if(!(Co(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===vo)){if(!t.producerMustRecompute(t)&&!yo(t)){t.dirty=!1,t.lastCleanEpoch=vo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=vo}}function Ou(t){return t&&(t.nextProducerIndex=0),ue(t)}function Ru(t,e){if(ue(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Co(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function yo(t){Ir(t);for(let e=0;e0}function Ir(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function jh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function $h(){throw new Error}var Bh=$h;function Pu(t){Bh=t}function I(t){return typeof t=="function"}function Pt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var br=Pt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
-${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
- `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Mn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(I(n))try{n()}catch(o){e=o instanceof br?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{ku(o)}catch(s){e=e??[],s instanceof br?e=[...e,...s.errors]:e.push(s)}}if(e)throw new br(e)}}add(e){var r;if(e&&e!==this)if(this.closed)ku(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Mn(r,e)}remove(e){let{_finalizers:r}=this;r&&Mn(r,e),e instanceof t&&e._removeParent(this)}};z.EMPTY=(()=>{let t=new z;return t.closed=!0,t})();var wo=z.EMPTY;function Mr(t){return t instanceof z||t&&"closed"in t&&I(t.remove)&&I(t.add)&&I(t.unsubscribe)}function ku(t){I(t)?t():t.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var kt={setTimeout(t,e,...r){let{delegate:n}=kt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=kt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function _r(t){kt.setTimeout(()=>{let{onUnhandledError:e}=De;if(e)e(t);else throw t})}function _n(){}var Lu=(()=>Eo("C",void 0,void 0))();function Vu(t){return Eo("E",void 0,t)}function ju(t){return Eo("N",t,void 0)}function Eo(t,e,r){return{kind:t,value:e,error:r}}var pt=null;function Lt(t){if(De.useDeprecatedSynchronousErrorHandling){let e=!pt;if(e&&(pt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=pt;if(pt=null,r)throw n}}else t()}function $u(t){De.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=t)}var gt=class extends z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Mr(e)&&e.add(this)):this.destination=Gh}static create(e,r,n){return new $e(e,r,n)}next(e){this.isStopped?bo(ju(e),this):this._next(e)}error(e){this.isStopped?bo(Vu(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?bo(Lu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Uh=Function.prototype.bind;function Io(t,e){return Uh.call(t,e)}var Mo=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Sr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Sr(n)}else Sr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Sr(r)}}},$e=class extends gt{constructor(e,r,n){super();let i;if(I(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&De.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Io(e.next,o),error:e.error&&Io(e.error,o),complete:e.complete&&Io(e.complete,o)}):i=e}this.destination=new Mo(i)}};function Sr(t){De.useDeprecatedSynchronousErrorHandling?$u(t):_r(t)}function Hh(t){throw t}function bo(t,e){let{onStoppedNotification:r}=De;r&&kt.setTimeout(()=>r(t,e))}var Gh={closed:!0,next:_n,error:Hh,complete:_n};var Vt=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function Y(t){return t}function _o(...t){return So(t)}function So(t){return t.length===0?Y:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var N=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Wh(r)?r:new $e(r,n,i);return Lt(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Bu(n),new n((i,o)=>{let s=new $e({next:a=>{try{r(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Vt](){return this}pipe(...r){return So(r)(this)}toPromise(r){return r=Bu(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Bu(t){var e;return(e=t??De.Promise)!==null&&e!==void 0?e:Promise}function zh(t){return t&&I(t.next)&&I(t.error)&&I(t.complete)}function Wh(t){return t&&t instanceof gt||zh(t)&&Mr(t)}function To(t){return I(t?.lift)}function _(t){return e=>{if(To(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(t,e,r,n,i){return new xo(t,e,r,n,i)}var xo=class extends gt{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=i?function(a){try{i(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function jt(){return _((t,e)=>{let r=null;t._refCount++;let n=S(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var $t=class extends N{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,To(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new z;let r=this.getSubject();e.add(this.source.subscribe(S(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=z.EMPTY)}return e}refCount(){return jt()(this)}};var Uu=Pt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class t extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Tr(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Uu}next(r){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?wo:(this.currentObservers=null,o.push(r),new z(()=>{this.currentObservers=null,Mn(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new N;return r.source=this,r}}return t.create=(e,r)=>new Tr(e,r),t})(),Tr=class extends Q{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:wo}};var q=class extends Q{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var oe=new N(t=>t.complete());function Hu(t){return t&&I(t.schedule)}function Ao(t){return t[t.length-1]}function xr(t){return I(Ao(t))?t.pop():void 0}function Se(t){return Hu(Ao(t))?t.pop():void 0}function Gu(t,e){return typeof Ao(t)=="number"?t.pop():e}function Wu(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?o(l.value):i(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function zu(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function mt(t){return this instanceof mt?(this.v=t,this):new mt(t)}function qu(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,b){o.push([f,h,m,b])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(m){d(o[0][3],m)}}function u(f){f.value instanceof mt?Promise.resolve(f.value.v).then(c,l):d(o[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Zu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof zu=="function"?zu(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,u){s=t[o](s),i(a,u,s.done,s.value)})}}function i(o,s,a,u){Promise.resolve(u).then(function(c){o({value:c,done:a})},s)}}var Ar=t=>t&&typeof t.length=="number"&&typeof t!="function";function Nr(t){return I(t?.then)}function Or(t){return I(t[Vt])}function Rr(t){return Symbol.asyncIterator&&I(t?.[Symbol.asyncIterator])}function Fr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function qh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pr=qh();function kr(t){return I(t?.[Pr])}function Lr(t){return qu(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield mt(r.read());if(i)return yield mt(void 0);yield yield mt(n)}}finally{r.releaseLock()}})}function Vr(t){return I(t?.getReader)}function V(t){if(t instanceof N)return t;if(t!=null){if(Or(t))return Zh(t);if(Ar(t))return Yh(t);if(Nr(t))return Qh(t);if(Rr(t))return Yu(t);if(kr(t))return Kh(t);if(Vr(t))return Jh(t)}throw Fr(t)}function Zh(t){return new N(e=>{let r=t[Vt]();if(I(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Yh(t){return new N(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,_r)})}function Kh(t){return new N(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Yu(t){return new N(e=>{Xh(t,e).catch(r=>e.error(r))})}function Jh(t){return Yu(Lr(t))}function Xh(t,e){var r,n,i,o;return Wu(this,void 0,void 0,function*(){try{for(r=Zu(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function se(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function jr(t,e=0){return _((r,n)=>{r.subscribe(S(n,i=>se(n,t,()=>n.next(i),e),()=>se(n,t,()=>n.complete(),e),i=>se(n,t,()=>n.error(i),e)))})}function $r(t,e=0){return _((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Qu(t,e){return V(t).pipe($r(e),jr(e))}function Ku(t,e){return V(t).pipe($r(e),jr(e))}function Ju(t,e){return new N(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Xu(t,e){return new N(r=>{let n;return se(r,e,()=>{n=t[Pr](),se(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>I(n?.return)&&n.return()})}function Br(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(r=>{se(r,e,()=>{let n=t[Symbol.asyncIterator]();se(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function ec(t,e){return Br(Lr(t),e)}function tc(t,e){if(t!=null){if(Or(t))return Qu(t,e);if(Ar(t))return Ju(t,e);if(Nr(t))return Ku(t,e);if(Rr(t))return Br(t,e);if(kr(t))return Xu(t,e);if(Vr(t))return ec(t,e)}throw Fr(t)}function j(t,e){return e?tc(t,e):V(t)}function w(...t){let e=Se(t);return j(t,e)}function Bt(t,e){let r=I(t)?t:()=>t,n=i=>i.error(r());return new N(e?i=>e.schedule(n,0,i):n)}function No(t){return!!t&&(t instanceof N||I(t.lift)&&I(t.subscribe))}var Be=Pt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function O(t,e){return _((r,n)=>{let i=0;r.subscribe(S(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:ep}=Array;function tp(t,e){return ep(e)?t(...e):t(e)}function Ur(t){return O(e=>tp(t,e))}var{isArray:np}=Array,{getPrototypeOf:rp,prototype:ip,keys:op}=Object;function Hr(t){if(t.length===1){let e=t[0];if(np(e))return{args:e,keys:null};if(sp(e)){let r=op(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function sp(t){return t&&typeof t=="object"&&rp(t)===ip}function Gr(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Sn(...t){let e=Se(t),r=xr(t),{args:n,keys:i}=Hr(t);if(n.length===0)return j([],e);let o=new N(ap(n,e,i?s=>Gr(i,s):Y));return r?o.pipe(Ur(r)):o}function ap(t,e,r=Y){return n=>{nc(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let u=0;u{let c=j(t[u],e),l=!1;c.subscribe(S(n,d=>{o[u]=d,l||(l=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function nc(t,e,r){t?se(r,t,e):e()}function rc(t,e,r,n,i,o,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=b=>c{o&&e.next(b),c++;let $=!1;V(r(b,l++)).subscribe(S(e,x=>{i?.(x),o?h(x):e.next(x)},()=>{$=!0},void 0,()=>{if($)try{for(c--;u.length&&cm(x)):m(x)}f()}catch(x){e.error(x)}}))};return t.subscribe(S(e,h,()=>{d=!0,f()})),()=>{a?.()}}function B(t,e,r=1/0){return I(e)?B((n,i)=>O((o,s)=>e(n,o,i,s))(V(t(n,i))),r):(typeof e=="number"&&(r=e),_((n,i)=>rc(n,i,t,r)))}function Xe(t=1/0){return B(Y,t)}function ic(){return Xe(1)}function Ut(...t){return ic()(j(t,Se(t)))}function zr(t){return new N(e=>{V(t()).subscribe(e)})}function Oo(...t){let e=xr(t),{args:r,keys:n}=Hr(t),i=new N(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||o.next(n?Gr(n,a):a),o.complete())}))}});return e?i.pipe(Ur(e)):i}function Ro(...t){let e=Se(t),r=Gu(t,1/0),n=t;return n.length?n.length===1?V(n[0]):Xe(r)(j(n,e)):oe}function fe(t,e){return _((r,n)=>{let i=0;r.subscribe(S(n,o=>t.call(e,o,i++)&&n.next(o)))})}function et(t){return _((e,r)=>{let n=null,i=!1,o;n=e.subscribe(S(r,void 0,void 0,s=>{o=V(t(s,et(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function oc(t,e,r,n,i){return(o,s)=>{let a=r,u=e,c=0;o.subscribe(S(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function vt(t,e){return I(e)?B(t,e,1):B(t,1)}function tt(t){return _((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Ue(t){return t<=0?()=>oe:_((e,r)=>{let n=0;e.subscribe(S(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Fo(t){return O(()=>t)}function Po(t,e=Y){return t=t??up,_((r,n)=>{let i,o=!0;r.subscribe(S(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function up(t,e){return t===e}function Wr(t=cp){return _((e,r)=>{let n=!1;e.subscribe(S(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function cp(){return new Be}function Tn(t){return _((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Te(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):Y,Ue(1),r?tt(e):Wr(()=>new Be))}function Ht(t){return t<=0?()=>oe:_((e,r)=>{let n=[];e.subscribe(S(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function ko(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):Y,Ht(1),r?tt(e):Wr(()=>new Be))}function Lo(t,e){return _(oc(t,e,arguments.length>=2,!0))}function jo(t={}){let{connector:e=()=>new Q,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},m=()=>{let b=s;h(),b?.unsubscribe()};return _((b,$)=>{c++,!d&&!l&&f();let x=u=u??e();$.add(()=>{c--,c===0&&!d&&!l&&(a=Vo(m,i))}),x.subscribe($),!s&&c>0&&(s=new $e({next:re=>x.next(re),error:re=>{d=!0,f(),a=Vo(h,r,re),x.error(re)},complete:()=>{l=!0,f(),a=Vo(h,n),x.complete()}}),V(b).subscribe(s))})(o)}}function Vo(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new $e({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function $o(...t){let e=Se(t);return _((r,n)=>{(e?Ut(t,r,e):Ut(t,r)).subscribe(n)})}function ae(t,e){return _((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(S(n,u=>{i?.unsubscribe();let c=0,l=o++;V(t(u,l)).subscribe(i=S(n,d=>n.next(e?e(u,d,l,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Bo(t){return _((e,r)=>{V(t).subscribe(S(r,()=>r.complete(),_n)),!r.closed&&e.subscribe(r)})}function W(t,e,r){let n=I(t)||e||r?{next:t,error:e,complete:r}:t;return n?_((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(S(o,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),o.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),o.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),o.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Y}function P(t){for(let e in t)if(t[e]===P)return e;throw Error("Could not find renamed property on target object.")}function qr(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function J(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(J).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
-`);return r===-1?e:e.substring(0,r)}function sc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var lp=P({__forward_ref__:P});function $n(t){return t.__forward_ref__=$n,t.toString=function(){return J(this())},t}function K(t){return Hc(t)?t():t}function Hc(t){return typeof t=="function"&&t.hasOwnProperty(lp)&&t.__forward_ref__===$n}function Gc(t){return t&&!!t.\u0275providers}var dp="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Vs(e,r)),this.code=e}};function Vs(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var fp=P({\u0275cmp:P}),hp=P({\u0275dir:P}),pp=P({\u0275pipe:P}),gp=P({\u0275mod:P}),ri=P({\u0275fac:P}),xn=P({__NG_ELEMENT_ID__:P}),ac=P({__NG_ENV_ID__:P});function mp(t){return typeof t=="string"?t:t==null?"":String(t)}function vp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():mp(t)}function yp(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function js(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function Dp(t,e){t==null&&Cp(e,t,null,"!=")}function Cp(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ee(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ei(t){return uc(t,Wc)||uc(t,qc)}function zc(t){return Ei(t)!==null}function uc(t,e){return t.hasOwnProperty(e)?t[e]:null}function wp(t){let e=t&&(t[Wc]||t[qc]);return e||null}function cc(t){return t&&(t.hasOwnProperty(lc)||t.hasOwnProperty(Ep))?t[lc]:null}var Wc=P({\u0275prov:P}),lc=P({\u0275inj:P}),qc=P({ngInjectableDef:P}),Ep=P({ngInjectorDef:P}),T=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(T||{}),ns;function Zc(){return ns}function he(t){let e=ns;return ns=t,e}function Yc(t,e,r){let n=Ei(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&T.Optional)return null;if(e!==void 0)return e;js(J(t),"Injector")}var ce=globalThis;var C=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=D({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var Ip={},Nn=Ip,rs="__NG_DI_FLAG__",ii="ngTempTokenPath",bp="ngTokenPath",Mp=/\n/gm,_p="\u0275",dc="__source",Zt;function Sp(){return Zt}function nt(t){let e=Zt;return Zt=t,e}function Tp(t,e=T.Default){if(Zt===void 0)throw new v(-203,!1);return Zt===null?Yc(t,void 0,e):Zt.get(t,e&T.Optional?null:void 0,e)}function y(t,e=T.Default){return(Zc()||Tp)(K(t),e)}function p(t,e=T.Default){return y(t,Ii(e))}function Ii(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function is(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):J(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Mp,`
- `)}`}function Bn(t){return{toString:t}.toString()}var Kc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Kc||{}),Ne=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Ne||{}),Qt={},pe=[];function Jc(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function os(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let h=n&8?f:null;if(h&&Jc(h,c,0)!==-1||n&2&&c!==f){if(Ce(n))return!1;s=!0}}}}return Ce(n)||s}function Ce(t){return(t&1)===0}function Lp(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Ce(s)&&(e+=hc(o,i),i=""),n=s,o=o||!Ce(n);r++}return i!==""&&(e+=hc(o,i)),e}function Up(t){return t.map(Bp).join(",")}function Hp(t){let e=[],r=[],n=1,i=2;for(;n{let e=ol(t),r=k(g({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ne.Emulated,styles:t.styles||pe,_:null,schemas:t.schemas||null,tView:null,id:""});sl(r);let n=t.dependencies;return r.directiveDefs=gc(n,!1),r.pipeDefs=gc(n,!0),r.id=Wp(r),r})}function Gp(t){return ot(t)||tl(t)}function zp(t){return t!==null}function te(t){return Bn(()=>({type:t.type,bootstrap:t.bootstrap||pe,declarations:t.declarations||pe,imports:t.imports||pe,exports:t.exports||pe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function pc(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function ze(t){return Bn(()=>{let e=ol(t);return sl(e),e})}function ot(t){return t[fp]||null}function tl(t){return t[hp]||null}function nl(t){return t[pp]||null}function rl(t){let e=ot(t)||tl(t)||nl(t);return e!==null?e.standalone:!1}function il(t,e){let r=t[gp]||null;if(!r&&e===!0)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return r}function ol(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pc(t.inputs,e),outputs:pc(t.outputs),debugInfo:null}}function sl(t){t.features?.forEach(e=>e(t))}function gc(t,e){if(!t)return null;let r=e?nl:Gp;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(zp)}function Wp(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var We=0,A=1,E=2,G=3,we=4,Ie=5,oi=6,Rn=7,He=8,Kt=9,Fn=10,X=11,Pn=12,mc=13,Un=14,Oe=15,$s=16,Gt=17,Bs=18,bi=19,al=20,rt=21,Uo=22,Dt=23,Ct=25,ul=1;var wt=7,si=8,ai=9,ge=10,Jt=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Jt||{});function it(t){return Array.isArray(t)&&typeof t[ul]=="object"}function Ee(t){return Array.isArray(t)&&t[ul]===!0}function cl(t){return(t.flags&4)!==0}function Mi(t){return t.componentOffset>-1}function ll(t){return(t.flags&1)===1}function st(t){return!!t.template}function qp(t){return(t[E]&512)!==0}function Xt(t,e){let r=t.hasOwnProperty(ri);return r?t[ri]:null}var ss=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function un(){return dl}function dl(t){return t.type.prototype.ngOnChanges&&(t.setInput=Yp),Zp}un.ngInherit=!0;function Zp(){let t=hl(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Yp(t,e,r,n){let i=this.declaredInputs[r],o=hl(t)||Qp(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,u=a[i];s[i]=new ss(u&&u.currentValue,e,a===Qt),t[n]=e}var fl="__ngSimpleChanges__";function hl(t){return t[fl]||null}function Qp(t,e){return t[fl]=e}var vc=null;var xe=function(t,e,r){vc?.(t,e,r)},Kp="svg",Jp="math";function Re(t){for(;Array.isArray(t);)t=t[We];return t}function Xp(t,e){return Re(e[t])}function be(t,e){return Re(e[t.index])}function pl(t,e){return t.data[e]}function ut(t,e){let r=e[t];return it(r)?r:r[We]}function Us(t){return(t[E]&128)===128}function eg(t){return Ee(t[G])}function yc(t,e){return e==null?null:t[e]}function gl(t){t[Gt]=0}function tg(t){t[E]&1024||(t[E]|=1024,Us(t)&&_i(t))}function ml(t){return t[E]&9216||t[Dt]?.dirty}function vl(t){ml(t)&&_i(t)}function _i(t){let e=t[G];for(;e!==null&&!(Ee(e)&&e[E]&Jt.HasChildViewsToRefresh||it(e)&&e[E]&8192);){if(Ee(e))e[E]|=Jt.HasChildViewsToRefresh;else if(e[E]|=8192,!Us(e))break;e=e[G]}}function yl(t,e){if((t[E]&256)===256)throw new v(911,!1);t[rt]===null&&(t[rt]=[]),t[rt].push(e)}function ng(t,e){if(t[rt]===null)return;let r=t[rt].indexOf(e);r!==-1&&t[rt].splice(r,1)}var R={lFrame:Ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function rg(){return R.lFrame.elementDepthCount}function ig(){R.lFrame.elementDepthCount++}function og(){R.lFrame.elementDepthCount--}function Dl(){return R.bindingsEnabled}function sg(){return R.skipHydrationRootTNode!==null}function ag(t){return R.skipHydrationRootTNode===t}function ug(){R.skipHydrationRootTNode=null}function Z(){return R.lFrame.lView}function qe(){return R.lFrame.tView}function Me(){let t=Cl();for(;t!==null&&t.type===64;)t=t.parent;return t}function Cl(){return R.lFrame.currentTNode}function cg(){let t=R.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Si(t,e){let r=R.lFrame;r.currentTNode=t,r.isParent=e}function wl(){return R.lFrame.isParent}function lg(){R.lFrame.isParent=!1}function dg(t){return R.lFrame.bindingIndex=t}function fg(){return R.lFrame.bindingIndex++}function hg(t){let e=R.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function pg(){return R.lFrame.inI18n}function gg(t,e){let r=R.lFrame;r.bindingIndex=r.bindingRootIndex=t,as(e)}function mg(){return R.lFrame.currentDirectiveIndex}function as(t){R.lFrame.currentDirectiveIndex=t}function vg(t){let e=R.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function El(t){R.lFrame.currentQueryIndex=t}function yg(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Ie]:null}function Il(t,e,r){if(r&T.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&T.Host);)if(i=yg(o),i===null||(o=o[Un],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=R.lFrame=bl();return n.currentTNode=e,n.lView=t,!0}function Hs(t){let e=bl(),r=t[A];R.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function bl(){let t=R.lFrame,e=t===null?null:t.child;return e===null?Ml(t):e}function Ml(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function _l(){let t=R.lFrame;return R.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Sl=_l;function Gs(){let t=_l();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Hn(){return R.lFrame.selectedIndex}function Et(t){R.lFrame.selectedIndex=t}function Dg(){let t=R.lFrame;return pl(t.tView,t.selectedIndex)}function Cg(){return R.lFrame.currentNamespace}var Tl=!0;function xl(){return Tl}function Al(t){Tl=t}function wg(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=dl(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Nl(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[u]<0&&(t[Gt]+=65536),(a>14>16&&(t[E]&3)===e&&(t[E]+=16384,Dc(a,o)):Dc(a,o)}var Yt=-1,It=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Ig(t){return t instanceof It}function bg(t){return(t.flags&8)!==0}function Mg(t){return(t.flags&16)!==0}function Rl(t){return t!==Yt}function ui(t){let e=t&32767;return t&32767}function _g(t){return t>>16}function ci(t,e){let r=_g(t),n=e;for(;r>0;)n=n[Un],r--;return n}var us=!0;function Cc(t){let e=us;return us=t,e}var Sg=256,Fl=Sg-1,Pl=5,Tg=0,Ae={};function xg(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(xn)&&(n=r[xn]),n==null&&(n=r[xn]=Tg++);let i=n&Fl,o=1<>Pl)]|=o}function li(t,e){let r=kl(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Go(n.data,t),Go(e,null),Go(n.blueprint,null));let i=zs(t,e),o=t.injectorIndex;if(Rl(i)){let s=ui(i),a=ci(i,e),u=a[A].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|u[s+c]}return e[o+8]=i,o}function Go(t,e){t.push(0,0,0,0,0,0,0,0,e)}function kl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function zs(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Bl(i),n===null)return Yt;if(r++,i=i[Un],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Yt}function cs(t,e,r){xg(t,e,r)}function Ll(t,e,r){if(r&T.Optional||t!==void 0)return t;js(e,"NodeInjector")}function Vl(t,e,r,n){if(r&T.Optional&&n===void 0&&(n=null),!(r&(T.Self|T.Host))){let i=t[Kt],o=he(void 0);try{return i?i.get(e,n,r&T.Optional):Yc(e,n,r&T.Optional)}finally{he(o)}}return Ll(n,e,r)}function jl(t,e,r,n=T.Default,i){if(t!==null){if(e[E]&2048&&!(n&T.Self)){let s=Fg(t,e,r,n,Ae);if(s!==Ae)return s}let o=$l(t,e,r,n,Ae);if(o!==Ae)return o}return Vl(e,r,n,i)}function $l(t,e,r,n,i){let o=Og(r);if(typeof o=="function"){if(!Il(e,t,n))return n&T.Host?Ll(i,r,n):Vl(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&T.Optional))js(r);else return s}finally{Sl()}}else if(typeof o=="number"){let s=null,a=kl(t,e),u=Yt,c=n&T.Host?e[Oe][Ie]:null;for((a===-1||n&T.SkipSelf)&&(u=a===-1?zs(t,e):e[a+8],u===Yt||!Ec(n,!1)?a=-1:(s=e[A],a=ui(u),e=ci(u,e)));a!==-1;){let l=e[A];if(wc(o,a,l.data)){let d=Ag(a,e,r,s,n,c);if(d!==Ae)return d}u=e[a+8],u!==Yt&&Ec(n,e[A].data[a+8]===c)&&wc(o,a,e)?(s=l,a=ui(u),e=ci(u,e)):a=-1}}return i}function Ag(t,e,r,n,i,o){let s=e[A],a=s.data[t+8],u=n==null?Mi(a)&&us:n!=s&&(a.type&3)!==0,c=i&T.Host&&o===a,l=Ng(a,s,r,u,c);return l!==null?en(e,s,l,a):Ae}function Ng(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,c=t.directiveEnd,l=o>>20,d=n?a:a+l,f=i?a+l:c;for(let h=d;h=u&&m.type===r)return h}if(i){let h=s[u];if(h&&st(h)&&h.type===r)return u}return null}function en(t,e,r,n){let i=t[r],o=e.data;if(Ig(i)){let s=i;s.resolving&&yp(vp(o[r]));let a=Cc(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?he(s.injectImpl):null,l=Il(t,n,T.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&wg(r,o[r],e)}finally{c!==null&&he(c),Cc(a),s.resolving=!1,Sl()}}return i}function Og(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(xn)?t[xn]:void 0;return typeof e=="number"?e>=0?e&Fl:Rg:e}function wc(t,e,r){let n=1<>Pl)]&n)}function Ec(t,e){return!(t&T.Self)&&!(t&T.Host&&e)}var yt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return jl(this._tNode,this._lView,e,Ii(n),r)}};function Rg(){return new yt(Me(),Z())}function Gn(t){return Bn(()=>{let e=t.prototype.constructor,r=e[ri]||ls(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ri]||ls(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ls(t){return Hc(t)?()=>{let e=ls(K(t));return e&&e()}:Xt(t)}function Fg(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=$l(o,s,r,n|T.Self,Ae);if(a!==Ae)return a;let u=o.parent;if(!u){let c=s[al];if(c){let l=c.get(r,Ae,n);if(l!==Ae)return l}u=Bl(s),s=s[Un]}o=u}return i}function Bl(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Ie]:null}var Zr="__parameters__";function Pg(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Ul(t,e,r){return Bn(()=>{let n=Pg(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Zr)?u[Zr]:Object.defineProperty(u,Zr,{value:[]})[Zr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function kg(t){let e=ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Lg(t){return typeof t=="function"}function Ws(t,e){t.forEach(r=>Array.isArray(r)?Ws(r,e):e(r))}function Hl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function di(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Vg(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function $g(t,e,r){let n=zn(t,e);return n>=0?t[n|1]=r:(n=~n,jg(t,n,e,r)),n}function zo(t,e){let r=zn(t,e);if(r>=0)return t[r|1]}function zn(t,e){return Bg(t,e,1)}function Bg(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(c=>{i.template=c}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let c=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(c=>{a.push(c),i.styleUrl=void 0}));let u=Promise.all(s).then(()=>qg(o));e.push(u)}),Gg(),Promise.all(e).then(()=>{})}var fi=new Map,Hg=new Set;function Gg(){let t=fi;return fi=new Map,t}function zg(){return fi.size===0}function Wg(t){return typeof t=="string"?t:t.text()}function qg(t){Hg.delete(t)}var Wn=new C("ENVIRONMENT_INITIALIZER"),zl=new C("INJECTOR",-1),Wl=new C("INJECTOR_DEF_TYPES"),hi=class{get(e,r=Nn){if(r===Nn){let n=new Error(`NullInjectorError: No provider for ${J(e)}!`);throw n.name="NullInjectorError",n}return r}};function Zg(...t){return{\u0275providers:ql(!0,t),\u0275fromNgModule:!0}}function ql(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Ws(e,s=>{let a=s;ds(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Zl(i,o),r}function Zl(t,e){for(let r=0;r{e(o,n)})}}function ds(t,e,r,n){if(t=K(t),!t)return!1;let i=null,o=cc(t),s=!o&&ot(t);if(!o&&!s){let u=t.ngModule;if(o=cc(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ds(c,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let c;try{Ws(o.imports,l=>{ds(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Zl(c,e)}if(!a){let c=Xt(i)||(()=>new i);e({provide:i,useFactory:c,deps:pe},i),e({provide:Wl,useValue:i,multi:!0},i),e({provide:Wn,useValue:()=>y(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let c=t;Zs(u,l=>{e(l,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Zs(t,e){for(let r of t)Gc(r)&&(r=r.\u0275providers),Array.isArray(r)?Zs(r,e):e(r)}var Yg=P({provide:String,useValue:P});function Yl(t){return t!==null&&typeof t=="object"&&Yg in t}function Qg(t){return!!(t&&t.useExisting)}function Kg(t){return!!(t&&t.useFactory)}function tn(t){return typeof t=="function"}function Jg(t){return!!t.useClass}var Ti=new C("Set Injector scope."),ei={},Xg={},Wo;function Ys(){return Wo===void 0&&(Wo=new hi),Wo}var le=class{},kn=class extends le{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hs(e,s=>this.processProvider(s)),this.records.set(zl,zt(void 0,this)),i.has("environment")&&this.records.set(le,zt(void 0,this));let o=this.records.get(Ti);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Wl,pe,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=nt(this),n=he(void 0),i;try{return e()}finally{nt(r),he(n)}}get(e,r=Nn,n=T.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(ac))return e[ac](this);n=Ii(n);let i,o=nt(this),s=he(void 0);try{if(!(n&T.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=im(e)&&Ei(e);c&&this.injectableDefInScope(c)?u=zt(fs(e),ei):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&T.Self?Ys():this.parent;return r=n&T.Optional&&r===Nn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ii]=a[ii]||[]).unshift(J(e)),o)throw a;return Ap(a,e,"R3InjectorError",this.source)}else throw a}finally{he(s),nt(o)}}resolveInjectorInitializers(){let e=nt(this),r=he(void 0),n;try{let i=this.get(Wn,pe,T.Self);for(let o of i)o()}finally{nt(e),he(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(J(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=K(e);let r=tn(e)?e:K(e&&e.provide),n=tm(e);if(!tn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=zt(void 0,ei,!0),i.factory=()=>is(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===ei&&(r.value=Xg,r.value=r.factory()),typeof r.value=="object"&&r.value&&rm(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=K(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function fs(t){let e=Ei(t),r=e!==null?e.factory:Xt(t);if(r!==null)return r;if(t instanceof C)throw new v(204,!1);if(t instanceof Function)return em(t);throw new v(204,!1)}function em(t){let e=t.length;if(e>0){let n=Vg(e,"?");throw new v(204,!1)}let r=wp(t);return r!==null?()=>r.factory(t):()=>new t}function tm(t){if(Yl(t))return zt(void 0,t.useValue);{let e=Ql(t);return zt(e,ei)}}function Ql(t,e,r){let n;if(tn(t)){let i=K(t);return Xt(i)||fs(i)}else if(Yl(t))n=()=>K(t.useValue);else if(Kg(t))n=()=>t.useFactory(...is(t.deps||[]));else if(Qg(t))n=()=>y(K(t.useExisting));else{let i=K(t&&(t.useClass||t.provide));if(nm(t))n=()=>new i(...is(t.deps));else return Xt(i)||fs(i)}return n}function zt(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function nm(t){return!!t.deps}function rm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function im(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function hs(t,e){for(let r of t)Array.isArray(r)?hs(r,e):r&&Gc(r)?hs(r.\u0275providers,e):e(r)}function ct(t,e){t instanceof kn&&t.assertNotDestroyed();let r,n=nt(t),i=he(void 0);try{return e()}finally{nt(n),he(i)}}function om(t){if(!Zc()&&!Sp())throw new v(-203,!1)}function Ic(t,e=null,r=null,n){let i=Kl(t,e,r,n);return i.resolveInjectorInitializers(),i}function Kl(t,e=null,r=null,n,i=new Set){let o=[r||pe,Zg(t)];return n=n||(typeof t=="object"?void 0:J(t)),new kn(o,e||Ys(),n||null,i)}var me=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return Ic({name:""},i,n,"");{let o=n.name??"";return Ic({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Nn,e.NULL=new hi,e.\u0275prov=D({token:e,providedIn:"any",factory:()=>y(zl)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ps;function Jl(t){ps=t}function sm(){if(ps!==void 0)return ps;if(typeof document<"u")return document;throw new v(210,!1)}var xi=new C("AppId",{providedIn:"root",factory:()=>am}),am="ng",Qs=new C("Platform Initializer"),_t=new C("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Ks=new C("CSP nonce",{providedIn:"root",factory:()=>sm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Xl(t){return t instanceof Function?t():t}function um(t){return(t??p(me)).get(_t)==="browser"}function ed(t){return(t.flags&128)===128}var Ge=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ge||{});var td=new Map,cm=0;function lm(){return cm++}function dm(t){td.set(t[bi],t)}function fm(t){td.delete(t[bi])}var bc="__ngContext__";function nn(t,e){it(e)?(t[bc]=e[bi],dm(e)):t[bc]=e}var hm;function Js(t,e){return hm(t,e)}function Xs(t){let e=t[G];return Ee(e)?e[G]:e}function nd(t){return id(t[Pn])}function rd(t){return id(t[we])}function id(t){for(;t!==null&&!Ee(t);)t=t[we];return t}function Wt(t,e,r,n,i){if(n!=null){let o,s=!1;Ee(n)?o=n:it(n)&&(s=!0,n=n[We]);let a=Re(n);t===0&&r!==null?i==null?ud(e,r,a):pi(e,r,a,i||null,!0):t===1&&r!==null?pi(e,r,a,i||null,!0):t===2?Am(e,a,s):t===3&&e.destroyNode(a),o!=null&&Om(e,t,o,r,i)}}function pm(t,e){return t.createText(e)}function od(t,e,r){return t.createElement(e,r)}function gm(t,e){let r=e[X];qn(t,e,r,2,null,null),e[We]=null,e[Ie]=null}function mm(t,e,r,n,i,o){n[We]=i,n[Ie]=e,qn(t,n,r,1,i,o)}function vm(t,e){qn(t,e,e[X],2,null,null)}function ym(t){let e=t[Pn];if(!e)return qo(t[A],t);for(;e;){let r=null;if(it(e))r=e[Pn];else{let n=e[ge];n&&(r=n)}if(!r){for(;e&&!e[we]&&e!==t;)it(e)&&qo(e[A],e),e=e[G];e===null&&(e=t),it(e)&&qo(e[A],e),r=e&&e[we]}e=r}}function Dm(t,e,r,n){let i=ge+n,o=r.length;n>0&&(r[i-1][we]=e),n0&&(t[r-1][we]=n[we]);let o=di(t,ge+e);gm(n[A],n);let s=o[Bs];s!==null&&s.detachView(o[A]),n[G]=null,n[we]=null,n[E]&=-129}return n}function ad(t,e){if(!(e[E]&256)){let r=e[X];r.destroyNode&&qn(t,e,r,3,null,null),ym(e)}}function qo(t,e){if(!(e[E]&256)){e[E]&=-129,e[E]|=256,e[Dt]&&Fu(e[Dt]),Em(t,e),wm(t,e),e[A].type===1&&e[X].destroy();let r=e[$s];if(r!==null&&Ee(e[G])){r!==e[G]&&sd(r,e);let n=e[Bs];n!==null&&n.detachView(t)}fm(e)}}function wm(t,e){let r=t.cleanup,n=e[Rn];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Rn]=null);let i=e[rt];if(i!==null){e[rt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Ne.None||o===Ne.Emulated)return null}return be(n,r)}}function pi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function ud(t,e,r){t.appendChild(e,r)}function Mc(t,e,r,n,i){n!==null?pi(t,e,r,n,i):ud(t,e,r)}function Mm(t,e,r,n){t.removeChild(e,r,n)}function ea(t,e){return t.parentNode(e)}function _m(t,e){return t.nextSibling(e)}function Sm(t,e,r){return xm(t,e,r)}function Tm(t,e,r){return t.type&40?be(t,r):null}var xm=Tm,_c;function cd(t,e,r,n){let i=Im(t,n,e),o=e[X],s=n.parent||e[Ie],a=Sm(s,n,e);if(i!=null)if(Array.isArray(r))for(let u=0;unull;function ra(t,e,r=!1){return Lm(t,e,r)}var ys=class{},gi=class{};function Vm(t){let e=Error(`No component factory found for ${J(t)}.`);return e[jm]=t,e}var jm="ngComponent";var Ds=class{resolveComponentFactory(e){throw Vm(e)}},Ai=(()=>{let e=class e{};e.NULL=new Ds;let t=e;return t})();function $m(){return ia(Me(),Z())}function ia(t,e){return new St(be(t,e))}var St=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=$m;let t=e;return t})();var Ln=class{},cn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Bm();let t=e;return t})();function Bm(){let t=Z(),e=Me(),r=ut(e.index,t);return(it(r)?r:t)[X]}var Um=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),bt=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Hm=new bt("17.0.7"),Zo={};function mi(t,e,r,n,i=!1){for(;r!==null;){let o=e[r.index];o!==null&&n.push(Re(o)),Ee(o)&&Gm(o,n);let s=r.type;if(s&8)mi(t,e,r.child,n);else if(s&32){let a=Js(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=ld(e,r);if(Array.isArray(a))n.push(...a);else{let u=Xs(e[Oe]);mi(u[A],u,a,n,!0)}}r=i?r.projectionNext:r.next}return n}function Gm(t,e){for(let r=ge;r{_i(t.lView)},consumerOnSignalRead(){this.lView[Dt]=this}}),Ym="ngOriginalError";function Yo(t){return t[Ym]}var Fe=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Yo(e);for(;r&&Yo(r);)r=Yo(r);return r||null}},pd=new C("",{providedIn:"root",factory:()=>p(Fe).handleError.bind(void 0)});var gd=!1,Qm=new C("",{providedIn:"root",factory:()=>gd});var Ni={};function Oi(t){md(qe(),Z(),Hn()+t,!1)}function md(t,e,r,n){if(!n)if((e[E]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Jr(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Xr(e,o,0,r)}Et(r)}function U(t,e=T.Default){let r=Z();if(r===null)return y(t,e);let n=Me();return jl(n,r,K(t),e)}function vd(){let t="invalid";throw new Error(t)}function Km(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;nCt&&md(t,e,Ct,!1),xe(s?2:0,i),r(n,i)}finally{Et(o),xe(s?3:1,i)}}function Cd(t,e,r){if(cl(e)){let n=ue(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function ov(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return sg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Sc(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?Tc(r,e,i,o):n.hasOwnProperty(i)&&Tc(r,e,n[i],o)}return r}function Tc(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function sv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function hv(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Mi(r)&&Cv(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||li(r,e),nn(n,e);let s=r.initialInputs;for(let a=i;a-1&&(gs(e,n),di(r,n))}this._attachedToViewContainer=!1}ad(this._lView[A],this._lView)}onDestroy(e){yl(this._lView,e)}markForCheck(){ca(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){vl(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Sv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vm(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e}},ln=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Rv;let t=e;return t})();function Rv(t){return Fv(Me(),Z(),(t&16)===16)}function Fv(t,e,r){if(Mi(t)&&!r){let n=ut(t.index,e);return new rn(n,n)}else if(t.type&47){let n=e[Oe];return new rn(n,e)}return null}var Nd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Pv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Is=class extends Nd{constructor(e){super(),this._lView=e}onDestroy(e){return yl(this._lView,e),()=>ng(this._lView,e)}};function Pv(){return new Is(Z())}var xc=new Set;function la(t){xc.has(t)||(xc.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var bs=class extends Q{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=Qo(o),i&&(i=Qo(i)),s&&(s=Qo(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof z&&e.add(a),a}};function Qo(t){return e=>{setTimeout(t,void 0,e)}}var H=bs;function Ac(...t){}function kv(){let t=typeof ce.requestAnimationFrame=="function",e=ce[t?"requestAnimationFrame":"setTimeout"],r=ce[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var L=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new H(!1),this.onMicrotaskEmpty=new H(!1),this.onStable=new H(!1),this.onError=new H(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=kv().nativeRequestAnimationFrame,jv(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Lv,Ac,Ac);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Lv={};function da(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Vv(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ms(t),t.isCheckStableRunning=!0,da(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ms(t))}function jv(t){let e=()=>{Vv(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if($v(a))return r.invokeTask(i,o,s,a);try{return Nc(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Oc(t)}},onInvoke:(r,n,i,o,s,a,u)=>{try{return Nc(t),r.invoke(i,o,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Oc(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Ms(t),da(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Ms(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Nc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Oc(t){t._nesting--,da(t)}var _s=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new H,this.onMicrotaskEmpty=new H,this.onStable=new H,this.onError=new H}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},Od=new C("",{providedIn:"root",factory:Rd});function Rd(){let t=p(L),e=!0,r=new N(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new N(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{L.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return Ro(r,n.pipe(jo()))}function $v(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function Bv(t="zone.js",e){return t==="noop"?new _s:t==="zone.js"?new L(e):t}var qt=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(qt||{}),Uv={destroy(){}};function fa(t,e){!e&&om(fa);let r=e?.injector??p(me);if(!um(r))return Uv;la("NgAfterNextRender");let n=r.get(Fd),i=n.handler??=new Ts,o=e?.phase??qt.MixedReadWrite,s=()=>{i.unregister(u),a()},a=r.get(Nd).onDestroy(s),u=new Ss(r,o,()=>{s(),t()});return i.register(u),{destroy:s}}var Ss=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(L),this.errorHandler=e.get(Fe,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Ts=class{constructor(){this.executingCallbacks=!1,this.buckets={[qt.EarlyRead]:new Set,[qt.Write]:new Set,[qt.MixedReadWrite]:new Set,[qt.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new v(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Fd=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Hv(t,e){let r=ut(e,t),n=r[A];Gv(n,r);let i=r[We];i!==null&&r[oi]===null&&(r[oi]=ra(i,r[Kt])),Pd(n,r,r[He])}function Gv(t,e){for(let r=e.length;r0&&dd(t,r,o.join(" "))}}function Jv(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=On(i.hostAttrs,r=On(r,i.hostAttrs))}}function Yr(t){return t===Qt?{}:t===pe?[]:t}function ny(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function ry(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function iy(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function kd(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Qr(t,e){return t<<17|e<<2}function Mt(t){return t>>17&32767}function oy(t){return(t&2)==2}function sy(t,e){return t&131071|e<<17}function Os(t){return t|2}function sn(t){return(t&131068)>>2}function Ko(t,e){return t&-131069|e<<2}function ay(t){return(t&1)===1}function Rs(t){return t|1}function uy(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Mt(s),u=sn(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||zn(d,l)>0)&&(c=!0)}else l=r;if(i)if(u!==0){let f=Mt(t[a+1]);t[n+1]=Qr(f,a),f!==0&&(t[f+1]=Ko(t[f+1],n)),t[a+1]=sy(t[a+1],n)}else t[n+1]=Qr(a,0),a!==0&&(t[a+1]=Ko(t[a+1],n)),a=n;else t[n+1]=Qr(u,0),a===0?a=n:t[u+1]=Ko(t[u+1],n),u=n;c&&(t[n+1]=Os(t[n+1])),Fc(t,l,n,!0,o),Fc(t,l,n,!1,o),cy(e,l,t,n,o),s=Qr(a,u),o?e.classBindings=s:e.styleBindings=s}function cy(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&zn(o,e)>=0&&(r[n+1]=Rs(r[n+1]))}function Fc(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?Mt(o):sn(o),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];ly(c,e)&&(u=!0,t[a+1]=n?Rs(l):Os(l)),a=n?Mt(l):sn(l)}u&&(t[r+1]=n?Os(o):Rs(o))}function ly(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?zn(t,e)>=0:!1}function Zn(t,e,r){let n=Z(),i=fg();if(kd(n,i,e)){let o=qe(),s=Dg();uv(o,s,n,t,e,n[X],r,!1)}return Zn}function Pc(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";ua(t,r,o[s],s,n)}function ha(t,e){return dy(t,e,null,!0),ha}function dy(t,e,r,n){let i=Z(),o=qe(),s=hg(2);if(o.firstUpdatePass&&hy(o,t,s,n),e!==Ni&&kd(i,s,e)){let a=o.data[Hn()];yy(o,a,i,i[X],t,i[s+1]=Dy(e,r),n,s)}}function fy(t,e){return e>=t.expandoStartIndex}function hy(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Hn()],s=fy(t,r);Cy(o,n)&&e===null&&!s&&(e=!1),e=py(i,o,e,n),uy(i,o,e,r,s,n)}}function py(t,e,r,n){let i=vg(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Jo(null,t,e,r,n),r=Vn(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Jo(i,t,e,r,n),o===null){let u=gy(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Jo(null,t,e,u[1],n),u=Vn(u,e.attrs,n),my(t,e,n,u))}else o=vy(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function gy(t,e,r){let n=r?e.classBindings:e.styleBindings;if(sn(n)!==0)return t[Mt(n)]}function my(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Mt(i)]=n}function vy(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let u=t[i],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[i+1];f===Ni&&(f=d?pe:void 0);let h=d?zo(f,n):l===n?f:void 0;if(c&&!yi(h)&&(h=zo(u,n)),yi(h)&&(a=h,s))return a;let m=t[i+1];i=s?Mt(m):sn(m)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=zo(u,n))}return a}function yi(t){return t!==void 0}function Dy(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=J(na(t)))),t}function Cy(t,e){return(t.flags&(e?8:16))!==0}var SS=new RegExp(`^(\\d+)*(${km}|${Pm})*(.*)`);var wy=(t,e)=>null;function Lc(t,e){return wy(t,e)}function Vc(t,e){return!e||e.firstChild===null||ed(t)}function Ey(t,e,r,n=!0){let i=e[A];if(Dm(i,e,t,r),n){let s=ms(r,t),a=e[X],u=ea(a,t[wt]);u!==null&&mm(i,t[Ie],a,e,u,s)}let o=e[oi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}var Ri=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Iy;let t=e;return t})();function Iy(){let t=Me();return My(t,Z())}var by=Ri,Ld=class extends by{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new yt(this._hostTNode,this._hostLView)}get parentInjector(){let e=zs(this._hostTNode,this._hostLView);if(Rl(e)){let r=ci(e,this._hostLView),n=ui(e),i=r[A].data[n+8];return new yt(i,r)}else return new yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=jc(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Lc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Vc(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Lg(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let u=s?e:new on(ot(e)),c=n||this.parentInjector;if(!o&&u.ngModule==null){let b=(s?c:this.parentInjector).get(le,null);b&&(o=b)}let l=ot(u.componentType??{}),d=Lc(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,i,f,o);return this.insertImpl(h.hostView,a,Vc(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(eg(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=i[G],c=new Ld(u,u[Ie],u[G]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Ey(s,i,o,n),e.attachToViewContainerRef(),Hl(Xo(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=jc(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);n&&(di(Xo(this._lContainer),r),ad(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);return n&&di(Xo(this._lContainer),r)!=null?new rn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function jc(t){return t[si]}function Xo(t){return t[si]||(t[si]=[])}function My(t,e){let r,n=e[t.index];return Ee(n)?r=n:(r=Iv(n,e,null,t),e[t.index]=r,aa(e,r)),Sy(r,e,t,n),new Ld(r,t,e)}function _y(t,e){let r=t[X],n=r.createComment(""),i=be(e,t),o=ea(r,i);return pi(r,o,n,_m(r,i),!1),n}var Sy=Ty;function Ty(t,e,r,n){if(t[wt])return;let i;r.type&8?i=Re(n):i=_y(e,r),t[wt]=i}function xy(t,e,r,n,i,o){let s=e.consts,a=yc(s,i),u=sa(e,t,2,n,a);return lv(e,r,u,yc(s,o)),u.attrs!==null&&xs(u,u.attrs,!1),u.mergedAttrs!==null&&xs(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Ze(t,e,r,n){let i=Z(),o=qe(),s=Ct+t,a=i[X],u=o.firstCreatePass?xy(s,o,i,e,r,n):o.data[s],c=Ay(o,i,u,a,e,t);i[s]=c;let l=ll(u);return Si(u,!0),fd(a,c,u),(u.flags&32)!==32&&xl()&&cd(o,i,c,u),rg()===0&&nn(c,i),ig(),l&&(Xm(o,i,u),Cd(o,u,i)),n!==null&&ev(i,u),Ze}function Pe(){let t=Me();wl()?lg():(t=t.parent,Si(t,!1));let e=t;ag(e)&&ug(),og();let r=qe();return r.firstCreatePass&&(Nl(r,t),cl(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&bg(e)&&Pc(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Mg(e)&&Pc(r,e,Z(),e.stylesWithoutHost,!1),Pe}function Ye(t,e,r,n){return Ze(t,e,r,n),Pe(),Ye}var Ay=(t,e,r,n,i,o)=>(Al(!0),od(n,i,Cg()));var Di="en-US";var Ny=Di;function Oy(t){Dp(t,"Expected localeId to be defined"),typeof t=="string"&&(Ny=t.toLowerCase().replace(/_/g,"-"))}function Tt(t){return!!t&&typeof t.then=="function"}function Vd(t){return!!t&&typeof t.subscribe=="function"}function _e(t,e,r,n){let i=Z(),o=qe(),s=Me();return Fy(o,i,i[X],s,t,e,n),_e}function Ry(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ou?a[u]:null}typeof s=="string"&&(o+=2)}return null}function Fy(t,e,r,n,i,o,s){let a=ll(n),c=t.firstCreatePass&&Mv(t),l=e[He],d=bv(e),f=!0;if(n.type&3||s){let b=be(n,e),$=s?s(b):b,x=d.length,re=s?je=>s(Re(je[n.index])):n.index,ie=null;if(!s&&a&&(ie=Ry(t,e,i,n.index)),ie!==null){let je=ie.__ngLastListenerFn__||ie;je.__ngNextListenerFn__=o,ie.__ngLastListenerFn__=o,f=!1}else{o=Bc(n,e,l,o,!1);let je=r.listen($,i,o);d.push(o,je),c&&c.push(i,re,x,x+1)}}else o=Bc(n,e,l,o,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let b=m.length;if(b)for(let $=0;$-1?ut(t.index,e):e;ca(a);let u=$c(e,r,n,s),c=o.__ngNextListenerFn__;for(;c;)u=$c(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return i&&u===!1&&s.preventDefault(),u}}function Fi(t,e=""){let r=Z(),n=qe(),i=t+Ct,o=n.firstCreatePass?sa(n,i,1,e,null):n.data[i],s=Py(n,r,o,e,t);r[i]=s,xl()&&cd(n,r,s,o),Si(o,!1)}var Py=(t,e,r,n,i)=>(Al(!0),pm(e[X],n));function ky(t,e,r){let n=qe();if(n.firstCreatePass){let i=st(t);Fs(r,n.data,n.blueprint,i,!0),Fs(e,n.data,n.blueprint,i,!1)}}function Fs(t,e,r,n,i){if(t=K(t),Array.isArray(t))for(let o=0;o>20;if(tn(t)||!t.multi){let h=new It(c,i,U),m=ts(u,e,i?l:l+f,d);m===-1?(cs(li(a,s),o,u),es(o,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=ts(u,e,l+f,d),m=ts(u,e,l,l+f),b=h>=0&&r[h],$=m>=0&&r[m];if(i&&!$||!i&&!b){cs(li(a,s),o,u);let x=jy(i?Vy:Ly,r.length,i,n,c);!i&&$&&(r[m].providerFactory=x),es(o,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(x),s.push(x)}else{let x=jd(r[i?m:h],c,!i&&n);es(o,t,h>-1?h:m,x)}!i&&n&&$&&r[m].componentProviders++}}}function es(t,e,r,n){let i=tn(e),o=Jg(e);if(i||o){let u=(o?K(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function jd(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ts(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>ky(n,i?i(t):t,e)}}var at=class{},jn=class{};var Ci=class extends at{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vi(this);let i=il(e);this._bootstrapComponents=Xl(i.bootstrap),this._r3Injector=Kl(e,r,[{provide:at,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver},...n],J(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},wi=class extends jn{constructor(e){super(),this.moduleType=e}create(e){return new Ci(this.moduleType,e,[])}};function $y(t,e,r){return new Ci(t,e,r)}var ks=class extends at{constructor(e){super(),this.componentFactoryResolver=new vi(this),this.instance=null;let r=new kn([...e.providers,{provide:at,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],e.parent||Ys(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Pi(t,e,r=null){return new ks({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var By=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=ql(!1,n.type),o=i.length>0?Pi([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(y(le))});let t=e;return t})();function $d(t){la("NgStandalone"),t.getStandaloneInjector=e=>e.get(By).getOrCreateStandaloneInjector(t)}var Kr=null;function Uy(t){Kr!==null&&(t.defaultEncapsulation!==Kr.defaultEncapsulation||t.preserveWhitespaces!==Kr.preserveWhitespaces)||(Kr=t)}var ki=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),ga=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new q(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ls=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Li=(()=>{let e=class e{compileModuleSync(n){return new wi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=il(n),s=Xl(o.declarations).reduce((a,u)=>{let c=ot(u);return c&&a.push(new on(c)),a},[]);return new Ls(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hy=new C("compilerOptions");var ma=new C(""),Yn=new C(""),Vi=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,va||(Gy(o),o.addToWindow(i)),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:()=>{L.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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){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(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,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,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(y(L),y(ji),y(Yn))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),ji=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return va?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Gy(t){va=t}var va,$i=new C("Application Initializer"),Bd=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=p($i,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Tt(s))n.push(s);else if(Vd(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ya=new C("appBootstrapListener");function zy(t,e,r){let n=new wi(r);return Promise.resolve(n)}function Wy(){Pu(()=>{throw new v(600,!1)})}function qy(t){return t.isBoundToModule}function Zy(t,e,r){try{let n=r();return Tt(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Ud(t,e){return Array.isArray(e)?e.reduce(Ud,t):g(g({},t),e)}var fn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(pd),this.zoneIsStable=p(Od),this.componentTypes=[],this.components=[],this.isStable=p(ga).hasPendingTasks.pipe(ae(n=>n?w(!1):this.zoneIsStable),Po()),this._injector=p(le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof gi;if(!this._injector.get(Bd).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&rl(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;o?a=n:a=this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=qy(a)?void 0:this._injector.get(at),c=i||a.selector,l=a.create(me.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ma,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ni(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(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){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ni(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(ya,[]);[...this._bootstrapListeners,...i].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),()=>ni(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ni(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Uc(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Yy=(()=>{let e=class e{constructor(){this.zone=p(L),this.applicationRef=p(fn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qy(t){return[{provide:L,useFactory:t},{provide:Wn,multi:!0,useFactory:()=>{let e=p(Yy,{optional:!0});return()=>e.initialize()}},{provide:pd,useFactory:Ky},{provide:Od,useFactory:Rd}]}function Ky(){let t=p(L),e=p(Fe);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Jy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Xy(){return typeof $localize<"u"&&$localize.locale||Di}var Da=new C("LocaleId",{providedIn:"root",factory:()=>p(Da,T.Optional|T.SkipSelf)||Xy()});var Hd=new C("PlatformDestroyListeners"),Gd=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=Bv(i?.ngZone,Jy({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=$y(n.moduleType,this.injector,Qy(()=>o)),a=s.injector.get(Fe,null);return o.runOutsideAngular(()=>{let u=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{ni(this._modules,s),u.unsubscribe()})}),Zy(a,o,()=>{let u=s.injector.get(Bd);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(Da,Di);return Oy(c||Di),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Ud({},i);return zy(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(fn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Hd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(y(me))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),An=null,zd=new C("AllowMultipleToken");function eD(t){if(An&&!An.get(zd,!1))throw new v(400,!1);Wy(),An=t;let e=t.get(Gd);return rD(t),e}function Ca(t,e,r=[]){let n=`Platform: ${e}`,i=new C(n);return(o=[])=>{let s=Wd();if(!s||s.injector.get(zd,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):eD(tD(a,n))}return nD(i)}}function tD(t=[],e){return me.create({name:e,providers:[{provide:Ti,useValue:"platform"},{provide:Hd,useValue:new Set([()=>An=null])},...t]})}function nD(t){let e=Wd();if(!e)throw new v(401,!1);return e}function Wd(){return An?.get(Gd)??null}function rD(t){t.get(Qs,null)?.forEach(r=>r())}var qd=Ca(null,"core",[]),Zd=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(y(fn))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function Bi(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Yd(t){let e=ot(t);if(!e)return null;let r=new on(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var wa=null;function ke(){return wa}function Jd(t){wa||(wa=t)}var Ui=class{},ne=new C("DocumentToken"),Ia=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(sD))(),providedIn:"platform"});let t=e;return t})(),Xd=new C("Location Initialized"),sD=(()=>{let e=class e extends Ia{constructor(){super(),this._doc=p(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ke().getBaseHref(this._doc)}onPopState(n){let i=ke().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=ke().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.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,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function ba(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Qd(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Ke(t){return t&&t[0]!=="?"?"?"+t:t}var xt=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(Ma))(),providedIn:"root"});let t=e;return t})(),ef=new C("appBaseHref"),Ma=(()=>{let e=class e extends xt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(ne).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 ba(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Ke(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ia),y(ef,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tf=(()=>{let e=class e extends xt{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}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 i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=ba(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ke(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ia),y(ef,8))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),hn=(()=>{let e=class e{constructor(n){this._subject=new H,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=cD(Qd(Kd(i))),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,i=""){return this.path()==this.normalize(n+Ke(i))}normalize(n){return e.stripTrailingSlash(uD(this._basePath,Kd(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ke(i)),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(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=Ke,e.joinWithSlash=ba,e.stripTrailingSlash=Qd,e.\u0275fac=function(i){return new(i||e)(y(xt))},e.\u0275prov=D({token:e,factory:()=>aD(),providedIn:"root"});let t=e;return t})();function aD(){return new hn(y(xt))}function uD(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Kd(t){return t.replace(/\/index.html$/,"")}function cD(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function nf(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var rf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})(),of="browser",lD="server";function _a(t){return t===lD}var sf=(()=>{let e=class e{};e.\u0275prov=D({token:e,providedIn:"root",factory:()=>new Ea(y(ne),window)});let t=e;return t})(),Ea=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=dD(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function dD(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Hi=class{};var xa=class extends Ui{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Aa=class t extends xa{static makeCurrent(){Jd(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=hD();return r==null?null:pD(r)}resetBaseElement(){Qn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nf(document.cookie,e)}},Qn=null;function hD(){return Qn=Qn||document.querySelector("base"),Qn?Qn.getAttribute("href"):null}function pD(t){return new URL(t,document.baseURI).pathname}var Na=class{addToWindow(e){ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new v(5103,!1);return o},ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(u){s=s||u,o--,o==0&&n(s)};i.forEach(u=>{u.whenStable(a)})};ce.frameworkStabilizers||(ce.frameworkStabilizers=[]),ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?ke().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},gD=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Oa=new C("EventManagerPlugins"),lf=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new v(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(y(Oa),y(L))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Gi=class{constructor(e){this._doc=e}},Sa="ng-app-id",df=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_a(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Sa}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Sa),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Sa,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(y(ne),y(xi),y(Ks,8),y(_t))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Ta={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/"},Fa=/%COMP%/g,ff="%COMP%",mD=`_nghost-${ff}`,vD=`_ngcontent-${ff}`,yD=!0,DD=new C("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>yD});function CD(t){return vD.replace(Fa,t)}function wD(t){return mD.replace(Fa,t)}function hf(t,e){return e.map(r=>r.replace(Fa,t))}var af=(()=>{let e=class e{constructor(n,i,o,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=_a(u),this.defaultRenderer=new Kn(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ne.ShadowDom&&(i=k(g({},i),{encapsulation:Ne.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof zi?o.applyToHost(n):o instanceof Jn&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Ne.Emulated:s=new zi(c,l,i,this.appId,d,a,u,f);break;case Ne.ShadowDom:return new Ra(c,l,n,i,a,u,this.nonce,f);default:s=new Jn(c,l,i,d,a,u,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(y(lf),y(df),y(xi),y(DD),y(ne),y(_t),y(L),y(Ks))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),Kn=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Ta[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(uf(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(uf(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Ta[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Ta[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ge.DashCase|Ge.Important)?e.style.setProperty(r,n,i&Ge.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ge.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=ke().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function uf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ra=class extends Kn{constructor(e,r,n,i,o,s,a,u){super(e,o,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=hf(i.id,i.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Jn=class extends Kn{constructor(e,r,n,i,o,s,a,u){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=u?hf(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},zi=class extends Jn{constructor(e,r,n,i,o,s,a,u){let c=i+"-"+n.id;super(e,r,n,o,s,a,u,c),this.contentAttr=CD(c),this.hostAttr=wD(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},ED=(()=>{let e=class e extends Gi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})(),cf=["alt","control","meta","shift"],ID={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},bD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},MD=(()=>{let e=class e extends Gi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ke().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),a="code."),cf.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let o=ID[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cf.forEach(a=>{if(a!==o){let u=bD[a];u(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function _D(){Aa.makeCurrent()}function SD(){return new Fe}function TD(){return Jl(document),document}var xD=[{provide:_t,useValue:of},{provide:Qs,useValue:_D,multi:!0},{provide:ne,useFactory:TD,deps:[]}],pf=Ca(qd,"browser",xD),AD=new C(""),ND=[{provide:Yn,useClass:Na,deps:[]},{provide:ma,useClass:Vi,deps:[L,ji,Yn]},{provide:Vi,useClass:Vi,deps:[L,ji,Yn]}],OD=[{provide:Ti,useValue:"root"},{provide:Fe,useFactory:SD,deps:[]},{provide:Oa,useClass:ED,multi:!0,deps:[ne,L,_t]},{provide:Oa,useClass:MD,multi:!0,deps:[ne]},af,df,lf,{provide:Ln,useExisting:af},{provide:Hi,useClass:gD,deps:[]},[]],gf=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:xi,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(y(AD,12))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[...OD,...ND],imports:[rf,Zd]});let t=e;return t})();function RD(){return new Pa(y(ne))}var Pa=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(y(ne))},e.\u0275prov=D({token:e,factory:function(i){let o=null;return i?o=new i:o=RD(),o},providedIn:"root"});let t=e;return t})();var M="primary",hr=Symbol("RouteTitle"),$a=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function yn(t){return new $a(t)}function PD(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function _f(t){return t.length>0?t[t.length-1]:null}function ht(t){return No(t)?t:Tt(t)?j(Promise.resolve(t)):w(t)}var LD={exact:Tf,subset:xf},Sf={exact:VD,subset:jD,ignored:()=>!0};function vf(t,e,r){return LD[r.paths](t.root,e.root,r.matrixParams)&&Sf[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function VD(t,e){return Le(t,e)}function Tf(t,e,r){if(!Nt(t.segments,e.segments)||!Zi(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Tf(t.children[n],e.children[n],r))return!1;return!0}function jD(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Mf(t[r],e[r]))}function xf(t,e,r){return Af(t,e,e.segments,r)}function Af(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Nt(i,r)||e.hasChildren()||!Zi(i,r,n))}else if(t.segments.length===r.length){if(!Nt(t.segments,r)||!Zi(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!xf(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Nt(t.segments,i)||!Zi(t.segments,i,n)||!t.children[M]?!1:Af(t.children[M],e,o,n)}}function Zi(t,e,r){return e.every((n,i)=>Sf[r](t[i].parameters,n.parameters))}var lt=class{constructor(e=new F([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){return UD.serialize(this)}},F=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yi(this)}},At=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=yn(this.parameters)),this._parameterMap}toString(){return Of(this)}};function $D(t,e){return Nt(t,e)&&t.every((r,n)=>Le(r.parameters,e[n].parameters))}function Nt(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function BD(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===M&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==M&&(r=r.concat(e(i,n)))}),r}var pr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>new or)(),providedIn:"root"});let t=e;return t})(),or=class{parse(e){let r=new Ha(e);return new lt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Xn(e.root,!0)}`,n=zD(e.queryParams),i=typeof e.fragment=="string"?`#${HD(e.fragment)}`:"";return`${r}${n}${i}`}},UD=new or;function Yi(t){return t.segments.map(e=>Of(e)).join("/")}function Xn(t,e){if(!t.hasChildren())return Yi(t);if(e){let r=t.children[M]?Xn(t.children[M],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==M&&n.push(`${i}:${Xn(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=BD(t,(n,i)=>i===M?[Xn(t.children[M],!1)]:[`${i}:${Xn(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[M]!=null?`${Yi(t)}/${r[0]}`:`${Yi(t)}/(${r.join("//")})`}}function Nf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wi(t){return Nf(t).replace(/%3B/gi,";")}function HD(t){return encodeURI(t)}function Ua(t){return Nf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qi(t){return decodeURIComponent(t)}function yf(t){return Qi(t.replace(/\+/g,"%20"))}function Of(t){return`${Ua(t.path)}${GD(t.parameters)}`}function GD(t){return Object.keys(t).map(e=>`;${Ua(e)}=${Ua(t[e])}`).join("")}function zD(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${Wi(r)}=${Wi(i)}`).join("&"):`${Wi(r)}=${Wi(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var WD=/^[^\/()?;#]+/;function ka(t){let e=t.match(WD);return e?e[0]:""}var qD=/^[^\/()?;=#]+/;function ZD(t){let e=t.match(qD);return e?e[0]:""}var YD=/^[^=?]+/;function QD(t){let e=t.match(YD);return e?e[0]:""}var KD=/^[^]+/;function JD(t){let e=t.match(KD);return e?e[0]:""}var Ha=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[M]=new F(e,r)),n}parseSegment(){let e=ka(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new At(Qi(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ZD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=ka(this.remaining);i&&(n=i,this.capture(n))}e[Qi(r)]=Qi(n)}parseQueryParam(e){let r=QD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=JD(this.remaining);s&&(n=s,this.capture(n))}let i=yf(r),o=yf(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ka(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new v(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new F([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Rf(t){return t.segments.length>0?new F([],{[M]:t}):t}function Ff(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=Ff(i);if(n===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new F(t.segments,e);return XD(r)}function XD(t){if(t.numberOfChildren===1&&t.children[M]){let e=t.children[M];return new F(t.segments.concat(e.segments),e.children)}return t}function Dn(t){return t instanceof lt}function eC(t,e,r=null,n=null){let i=Pf(t);return kf(i,e,r,n)}function Pf(t){let e;function r(o){let s={};for(let u of o.children){let c=r(u);s[u.outlet]=c}let a=new F(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Rf(n);return e??i}function kf(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return La(i,i,i,r,n);let o=tC(e);if(o.toRoot())return La(i,i,new F([],{}),r,n);let s=nC(o,i,t),a=s.processChildren?nr(s.segmentGroup,s.index,o.commands):Vf(s.segmentGroup,s.index,o.commands);return La(i,s.segmentGroup,a,r,n)}function Ki(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function sr(t){return typeof t=="object"&&t!=null&&t.outlets}function La(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=Lf(t,e,r);let a=Rf(Ff(s));return new lt(a,o,i)}function Lf(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Lf(o,e,r)}),new F(t.segments,n)}var Ji=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ki(n[0]))throw new v(4003,!1);let i=n.find(sr);if(i&&i!==_f(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function tC(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ji(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ji(r,e,n)}var mn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function nC(t,e,r){if(t.isAbsolute)return new mn(e,!0,0);if(!r)return new mn(e,!1,NaN);if(r.parent===null)return new mn(r,!0,0);let n=Ki(t.commands[0])?0:1,i=r.segments.length-1+n;return rC(r,i,t.numberOfDoubleDots)}function rC(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new v(4005,!1);i=n.segments.length}return new mn(n,!1,i-o)}function iC(t){return sr(t[0])?t[0].outlets:{[M]:t}}function Vf(t,e,r){if(t||(t=new F([],{})),t.segments.length===0&&t.hasChildren())return nr(t,e,r);let n=oC(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==M)&&t.children[M]&&t.numberOfChildren===1&&t.children[M].segments.length===0){let o=nr(t.children[M],e,r);return new F(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Vf(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new F(t.segments,i)}}function oC(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(sr(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Cf(u,c,s))return o;n+=2}else{if(!Cf(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ga(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ga(new F([],{}),0,n))}),e}function Df(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Cf(t,e,r){return t==r.path&&Le(e,r.parameters)}var rr="imperative",ve=class{constructor(e,r){this.id=e,this.url=r}},Cn=class extends ve{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends ve{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},dt=class extends ve{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ft=class extends ve{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},ar=class extends ve{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Xi=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wa=class extends ve{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qa=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Za=class extends ve{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ya=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qa=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ka=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ja=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xa=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eu=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eo=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},ur=class{},cr=class{constructor(e){this.url=e}};var tu=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gr,this.attachRef=null}},gr=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new tu,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),to=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=nu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=nu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=ru(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return ru(e,this._root).map(r=>r.value)}};function nu(t,e){if(t===e.value)return e;for(let r of e.children){let n=nu(t,r);if(n)return n}return null}function ru(t,e){if(t===e.value)return[e];for(let r of e.children){let n=ru(t,r);if(n.length)return n.unshift(e),n}return[]}var de=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function gn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var no=class extends to{constructor(e,r){super(e),this.snapshot=r,hu(this,e)}toString(){return this.snapshot.toString()}};function jf(t,e){let r=aC(t,e),n=new q([new At("",{})]),i=new q({}),o=new q({}),s=new q({}),a=new q(""),u=new wn(n,i,s,a,o,M,e,r.root);return u.snapshot=r.root,new no(new de(u,[]),r)}function aC(t,e){let r={},n={},i={},o="",s=new lr([],r,i,o,n,M,e,null,{});return new ro("",new de(s,[]))}var wn=class{constructor(e,r,n,i,o,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(O(c=>c[hr]))??w(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}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(O(e=>yn(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>yn(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function fu(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:g(g({},e.params),t.params),data:g(g({},e.data),t.data),resolve:g(g(g(g({},t.data),e.data),i?.data),t._resolvedData)}:n={params:t.params,data:t.data,resolve:g(g({},t.data),t._resolvedData??{})},i&&Bf(i)&&(n.resolve[hr]=i.title),n}var lr=class{get title(){return this.data?.[hr]}constructor(e,r,n,i,o,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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=yn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yn(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ro=class extends to{constructor(e,r){super(r),this.url=e,hu(this,r)}toString(){return $f(this._root)}};function hu(t,e){e.value._routerState=t,e.children.forEach(r=>hu(t,r))}function $f(t){let e=t.children.length>0?` { ${t.children.map($f).join(", ")} } `:"";return`${t.value}${e}`}function Va(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Le(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Le(e.params,r.params)||t.paramsSubject.next(r.params),kD(e.url,r.url)||t.urlSubject.next(r.url),Le(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function iu(t,e){let r=Le(t.params,e.params)&&$D(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||iu(t.parent,e.parent))}function Bf(t){return typeof t.title=="string"||t.title===null}var pu=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new H,this.deactivateEvents=new H,this.attachEvents=new H,this.detachEvents=new H,this.parentContexts=p(gr),this.location=p(Ri),this.changeDetector=p(ln),this.environmentInjector=p(le),this.inputBinder=p(uo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)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;let 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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new ou(n,u,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ze({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[un]});let t=e;return t})(),ou=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===wn?this.route:e===gr?this.childContexts:this.parent.get(e,r)}},uo=new C(""),wf=(()=>{let e=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){let{activatedRoute:i}=n,o=Sn([i.queryParams,i.params,i.data]).pipe(ae(([s,a,u],c)=>(u=g(g(g({},s),a),u),c===0?w(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Yd(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function uC(t,e,r){let n=dr(t,e._root,r?r._root:void 0);return new no(n,e)}function dr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=cC(t,e,r);return new de(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>dr(t,a)),s}}let n=lC(e.value),i=e.children.map(o=>dr(t,o));return new de(n,i)}}function cC(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return dr(t,n,i);return dr(t,n)})}function lC(t){return new wn(new q(t.url),new q(t.params),new q(t.queryParams),new q(t.fragment),new q(t.data),t.outlet,t.component,t)}var Uf="ngNavigationCancelingError";function Hf(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Dn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Gf(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function Gf(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Uf]=!0,n.cancellationCode=e,r&&(n.url=r),n}function dC(t){return zf(t)&&Dn(t.url)}function zf(t){return t&&t[Uf]}var fC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=an({type:e,selectors:[["ng-component"]],standalone:!0,features:[$d],decls:1,vars:0,template:function(i,o){i&1&&Ye(0,"router-outlet")},dependencies:[pu],encapsulation:2});let t=e;return t})();function hC(t,e){return t.providers&&!t._injector&&(t._injector=Pi(t.providers,e,`Route: ${t.path}`)),t._injector??e}function gu(t){let e=t.children&&t.children.map(gu),r=e?k(g({},t),{children:e}):g({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=fC),r}function Ve(t){return t.outlet||M}function pC(t,e){let r=t.filter(n=>Ve(n)===e);return r.push(...t.filter(n=>Ve(n)!==e)),r}function mr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var gC=(t,e,r,n)=>O(i=>(new su(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),su=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Va(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=gn(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=gn(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=gn(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=gn(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new eu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ja(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Va(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Va(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=mr(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},io=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vn=class{constructor(e,r){this.component=e,this.route=r}};function mC(t,e,r){let n=t._root,i=e?e._root:null;return er(n,i,r,[n.value])}function vC(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function In(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!zc(t)?t:e.get(t):n}function er(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=gn(e);return t.children.forEach(s=>{yC(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ir(a,r.getContext(s),i)),i}function yC(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=DC(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new io(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?er(t,e,a?a.children:null,n,i):er(t,e,r,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vn(a.outlet.component,s))}else s&&ir(e,a,i),i.canActivateChecks.push(new io(n)),o.component?er(t,null,a?a.children:null,n,i):er(t,null,r,n,i);return i}function DC(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Nt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Nt(t.url,e.url)||!Le(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!iu(t,e)||!Le(t.queryParams,e.queryParams);case"paramsChange":default:return!iu(t,e)}}function ir(t,e,r){let n=gn(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?ir(s,e.children.getContext(o),r):ir(s,null,r):ir(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new vn(e.outlet.component,i)):r.canDeactivateChecks.push(new vn(null,i)):r.canDeactivateChecks.push(new vn(null,i))}function vr(t){return typeof t=="function"}function CC(t){return typeof t=="boolean"}function wC(t){return t&&vr(t.canLoad)}function EC(t){return t&&vr(t.canActivate)}function IC(t){return t&&vr(t.canActivateChild)}function bC(t){return t&&vr(t.canDeactivate)}function MC(t){return t&&vr(t.canMatch)}function Wf(t){return t instanceof Be||t?.name==="EmptyError"}var qi=Symbol("INITIAL_VALUE");function En(){return ae(t=>Sn(t.map(e=>e.pipe(Ue(1),$o(qi)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===qi)return qi;if(r===!1||r instanceof lt)return r}return!0}),fe(e=>e!==qi),Ue(1)))}function _C(t,e){return B(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?w(k(g({},r),{guardsResult:!0})):SC(s,n,i,t).pipe(B(a=>a&&CC(a)?TC(n,o,t,e):w(a)),O(a=>k(g({},r),{guardsResult:a})))})}function SC(t,e,r,n){return j(t).pipe(B(i=>RC(i.component,i.route,r,e,n)),Te(i=>i!==!0,!0))}function TC(t,e,r,n){return j(e).pipe(vt(i=>Ut(AC(i.route.parent,n),xC(i.route,n),OC(t,i.path,r),NC(t,i.route,r))),Te(i=>i!==!0,!0))}function xC(t,e){return t!==null&&e&&e(new Xa(t)),w(!0)}function AC(t,e){return t!==null&&e&&e(new Ka(t)),w(!0)}function NC(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return w(!0);let i=n.map(o=>zr(()=>{let s=mr(e)??r,a=In(o,s),u=EC(a)?a.canActivate(e,t):ct(s,()=>a(e,t));return ht(u).pipe(Te())}));return w(i).pipe(En())}function OC(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>vC(s)).filter(s=>s!==null).map(s=>zr(()=>{let a=s.guards.map(u=>{let c=mr(s.node)??r,l=In(u,c),d=IC(l)?l.canActivateChild(n,t):ct(c,()=>l(n,t));return ht(d).pipe(Te())});return w(a).pipe(En())}));return w(o).pipe(En())}function RC(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return w(!0);let s=o.map(a=>{let u=mr(e)??i,c=In(a,u),l=bC(c)?c.canDeactivate(t,e,r,n):ct(u,()=>c(t,e,r,n));return ht(l).pipe(Te())});return w(s).pipe(En())}function FC(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return w(!0);let o=i.map(s=>{let a=In(s,t),u=wC(a)?a.canLoad(e,r):ct(t,()=>a(e,r));return ht(u)});return w(o).pipe(En(),qf(n))}function qf(t){return _o(W(e=>{if(Dn(e))throw Hf(t,e)}),O(e=>e===!0))}function PC(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return w(!0);let o=i.map(s=>{let a=In(s,t),u=MC(a)?a.canMatch(e,r):ct(t,()=>a(e,r));return ht(u)});return w(o).pipe(En(),qf(n))}var fr=class{constructor(e){this.segmentGroup=e||null}},oo=class extends Error{constructor(e){super(),this.urlTree=e}};function pn(t){return Bt(new fr(t))}function kC(t){return Bt(new v(4e3,!1))}function LC(t){return Bt(Gf(!1,3))}var au=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return w(n);if(i.numberOfChildren>1||!i.children[M])return kC(e.redirectTo);i=i.children[M]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new oo(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new lt(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(e,u,n,i)}),new F(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new v(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},uu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function VC(t,e,r,n,i){let o=mu(t,e,r);return o.matched?(n=hC(e,n),PC(n,e,r,i).pipe(O(s=>s===!0?o:g({},uu)))):w(o)}function mu(t,e,r){if(e.path==="**")return jC(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?g({},uu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||PD)(r,t,e);if(!i)return g({},uu);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jC(t){return{matched:!0,parameters:t.length>0?_f(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Ef(t,e,r,n){return r.length>0&&UC(t,r,n)?{segmentGroup:new F(e,BC(n,new F(r,t.children))),slicedSegments:[]}:r.length===0&&HC(t,r,n)?{segmentGroup:new F(t.segments,$C(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new F(t.segments,t.children),slicedSegments:r}}function $C(t,e,r,n,i){let o={};for(let s of n)if(co(t,r,s)&&!i[Ve(s)]){let a=new F([],{});o[Ve(s)]=a}return g(g({},i),o)}function BC(t,e){let r={};r[M]=e;for(let n of t)if(n.path===""&&Ve(n)!==M){let i=new F([],{});r[Ve(n)]=i}return r}function UC(t,e,r){return r.some(n=>co(t,e,n)&&Ve(n)!==M)}function HC(t,e,r){return r.some(n=>co(t,e,n))}function co(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function GC(t,e,r,n){return Ve(t)!==n&&(n===M||!co(e,r,t))?!1:mu(e,t,r).matched}function zC(t,e,r){return e.length===0&&!t.children[r]}var cu=class{};function WC(t,e,r,n,i,o,s="emptyOnly"){return new lu(t,e,r,n,i,s,o).recognize()}var qC=31,lu=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new au(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=Ef(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(O(r=>{let n=new lr([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),i=new de(n,r),o=new ro("",i),s=eC(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(et(n=>{if(n instanceof oo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof fr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=fu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(O(o=>o instanceof de?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return j(i).pipe(vt(o=>{let s=n.children[o],a=pC(r,o);return this.processSegmentGroup(e,a,s,o)}),Lo((o,s)=>(o.push(...s),o)),tt(null),ko(),B(o=>{if(o===null)return pn(n);let s=Zf(o);return ZC(s),w(s)}))}processSegment(e,r,n,i,o,s){return j(r).pipe(vt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(et(u=>{if(u instanceof fr)return w(null);throw u}))),Te(a=>!!a),et(a=>{if(Wf(a))return zC(n,i,o)?w(new cu):pn(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return GC(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):pn(i):pn(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=mu(r,i,o);if(!a)return pn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>qC&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(B(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=VC(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ae(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(ae(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new lr(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,QC(n),Ve(n),n.component??n._loadedComponent??null,n,KC(n)),{segmentGroup:m,slicedSegments:b}=Ef(r,l,d,u);if(b.length===0&&m.hasChildren())return this.processChildren(c,u,m).pipe(O(x=>x===null?null:new de(h,x)));if(u.length===0&&b.length===0)return w(new de(h,[]));let $=Ve(n)===o;return this.processSegment(c,u,m,b,$?M:o,!0).pipe(O(x=>new de(h,x instanceof de?[x]:[])))}))):pn(r)))}getChildConfig(e,r,n){return r.children?w({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?w({routes:r._loadedRoutes,injector:r._loadedInjector}):FC(e,r,n,this.urlSerializer).pipe(B(i=>i?this.configLoader.loadChildren(e,r).pipe(W(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):LC(r))):w({routes:[],injector:e})}};function ZC(t){t.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function YC(t){let e=t.value.routeConfig;return e&&e.path===""}function Zf(t){let e=[],r=new Set;for(let n of t){if(!YC(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Zf(n.children);e.push(new de(n.value,i))}return e.filter(n=>!r.has(n))}function QC(t){return t.data||{}}function KC(t){return t.resolve||{}}function JC(t,e,r,n,i,o){return B(s=>WC(t,e,r,n,s.extractedUrl,i,o).pipe(O(({state:a,tree:u})=>k(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function XC(t,e){return B(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return w(r);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Yf(u))s.add(c);let a=0;return j(s).pipe(vt(u=>o.has(u)?ew(u,n,t,e):(u.data=fu(u,u.parent,t).resolve,w(void 0))),W(()=>a++),Ht(1),B(u=>a===s.size?w(r):oe))})}function Yf(t){let e=t.children.map(r=>Yf(r)).flat();return[t,...e]}function ew(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Bf(i)&&(o[hr]=i.title),tw(o,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=fu(t,t.parent,r).resolve,null)))}function tw(t,e,r,n){let i=Ba(t);if(i.length===0)return w({});let o={};return j(i).pipe(B(s=>nw(t[s],e,r,n).pipe(Te(),W(a=>{o[s]=a}))),Ht(1),Fo(o),et(s=>Wf(s)?oe:Bt(s)))}function nw(t,e,r,n){let i=mr(e)??n,o=In(t,i),s=o.resolve?o.resolve(e,r):ct(i,()=>o(e,r));return ht(s)}function ja(t){return ae(e=>{let r=t(e);return r?j(r).pipe(O(()=>e)):w(e)})}var Qf=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===M);return i}getResolvedTitleForRoute(n){return n.data[hr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(rw))(),providedIn:"root"});let t=e;return t})(),rw=(()=>{let e=class e extends Qf{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(y(Pa))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yr=new C("",{providedIn:"root",factory:()=>({})}),so=new C("ROUTES"),vu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Li)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return w(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=ht(n.loadComponent()).pipe(O(Kf),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Tn(()=>{this.componentLoaders.delete(n)})),o=new $t(i,()=>new Q).pipe(jt());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return w({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=iw(i,this.compiler,n,this.onLoadEndListener).pipe(Tn(()=>{this.childrenLoaders.delete(i)})),a=new $t(s,()=>new Q).pipe(jt());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iw(t,e,r,n){return ht(t.loadChildren()).pipe(O(Kf),B(i=>i instanceof jn||Array.isArray(i)?w(i):j(e.compileModuleAsync(i))),O(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(so,[],{optional:!0,self:!0}).flat()),{routes:s.map(gu),injector:o}}))}function ow(t){return t&&typeof t=="object"&&"default"in t}function Kf(t){return ow(t)?t.default:t}var yu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(sw))(),providedIn:"root"});let t=e;return t})(),sw=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jf=new C(""),Xf=new C("");function aw(t,e,r){let n=t.get(Xf),i=t.get(ne);return t.get(L).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),uw(t))),{onViewTransitionCreated:u}=n;return u&&ct(t,()=>u({transition:a,from:e,to:r})),s})}function uw(t){return new Promise(e=>{fa(e,{injector:t})})}var Du=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=p(vu),this.environmentInjector=p(le),this.urlSerializer=p(pr),this.rootContexts=p(gr),this.location=p(hn),this.inputBindingEnabled=p(uo,{optional:!0})!==null,this.titleStrategy=p(Qf),this.options=p(yr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(yu),this.createViewTransition=p(Jf,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Ya(o)),i=o=>this.events.next(new Qa(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(k(g(g({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new q({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:rr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),O(s=>k(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ae(s=>{this.currentTransition=s;let a=!1,u=!1;return w(s).pipe(W(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?k(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ae(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new ft(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),oe}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return w(c).pipe(ae(f=>{let h=this.transitions?.getValue();return this.events.next(new Cn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?oe:Promise.resolve(f)}),JC(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=k(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Xi(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:b,extras:$}=c,x=new Cn(f,this.urlSerializer.serialize(h),m,b);this.events.next(x);let re=jf(h,this.rootComponentType).snapshot;return this.currentTransition=s=k(g({},c),{targetSnapshot:re,urlAfterRedirects:h,extras:k(g({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new ft(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),oe}}),W(c=>{let l=new za(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),O(c=>(this.currentTransition=s=k(g({},c),{guards:mC(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),_C(this.environmentInjector,c=>this.events.next(c)),W(c=>{if(s.guardsResult=c.guardsResult,Dn(c.guardsResult))throw Hf(this.urlSerializer,c.guardsResult);let l=new Wa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),fe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),ja(c=>{if(c.guards.canActivateChecks.length)return w(c).pipe(W(l=>{let d=new qa(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ae(l=>{let d=!1;return w(l).pipe(XC(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),W(l=>{let d=new Za(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ja(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(h=>{d.component=h}),O(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Sn(l(c.targetSnapshot.root)).pipe(tt(),Ue(1))}),ja(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?j(d).pipe(O(()=>s)):w(s)}),O(c=>{let l=uC(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=k(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new ur)}),gC(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ue(1),W({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Bo(this.transitionAbortSubject.pipe(W(c=>{throw c}))),Tn(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),et(c=>{if(u=!0,zf(c))this.events.next(new dt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),dC(c)?this.events.next(new cr(c.url)):s.resolve(!1);else{this.events.next(new ar(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){s.reject(l)}}return oe}))}))}cancelNavigationTransition(n,i,o){let s=new dt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function cw(t){return t!==rr}var lw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(dw))(),providedIn:"root"});let t=e;return t})(),du=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},dw=(()=>{let e=class e extends du{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:()=>(()=>p(fw))(),providedIn:"root"});let t=e;return t})(),fw=(()=>{let e=class e extends eh{constructor(){super(...arguments),this.location=p(hn),this.urlSerializer=p(pr),this.options=p(yr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(yu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new lt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jf(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Cn)this.stateMemento=this.createStateMemento();else if(n instanceof ft)this.rawUrlTree=i.initialUrl;else if(n instanceof Xi){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof ur?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof dt&&(n.code===3||n.code===2)?this.restoreHistory(i):n instanceof ar?this.restoreHistory(i,!0):n instanceof Je&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=g(g({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(tr||{});function th(t,e){t.events.pipe(fe(r=>r instanceof Je||r instanceof dt||r instanceof ar||r instanceof ft),O(r=>r instanceof Je||r instanceof ft?tr.COMPLETE:(r instanceof dt?r.code===0||r.code===1:!1)?tr.REDIRECTING:tr.FAILED),fe(r=>r!==tr.REDIRECTING),Ue(1)).subscribe(()=>{e()})}function hw(t){throw t}var pw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ot=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(ki),this.stateManager=p(eh),this.options=p(yr,{optional:!0})||{},this.pendingTasks=p(ga),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Du),this.urlSerializer=p(pr),this.location=p(hn),this.urlHandlingStrategy=p(yu),this._events=new Q,this.errorHandler=this.options.errorHandler||hw,this.navigated=!1,this.routeReuseStrategy=p(lw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(so,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(uo,{optional:!0}),this.eventsSubscription=new z,this.isNgZoneEnabled=p(L)instanceof L&&L.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof dt&&i.code!==0&&i.code!==1)this.navigated=!0;else if(i instanceof Je)this.navigated=!0;else if(i instanceof cr){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||cw(o.source)};this.scheduleNavigation(a,rr,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}vw(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(gu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=Pf(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return kf(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Dn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,rr,null,i)}navigate(n,i={skipLocationChange:!1}){return mw(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=g({},pw):i===!1?o=g({},gw):o=i,Dn(n))return vf(this.currentUrlTree,n,o);let s=this.parseUrl(n);return vf(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return th(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function mw(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof Je),vt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Pi(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(u,s.children??s._loadedRoutes))}return j(o).pipe(Xe())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=w(null);let s=o.pipe(B(a=>a===null?w(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return j([s,a]).pipe(Xe())}else return s})}};e.\u0275fac=function(i){return new(i||e)(y(Ot),y(Li),y(le),y(ao),y(vu))},e.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nh=new C(""),Dw=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Cn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Je?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ft&&n.code===0&&(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 eo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new eo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){vd()},e.\u0275prov=D({token:e,factory:e.\u0275fac});let t=e;return t})();function Cw(t){return t.routerState.root}function Dr(t,e){return{\u0275kind:t,\u0275providers:e}}function ww(){let t=p(me);return e=>{let r=t.get(fn);if(e!==r.components[0])return;let n=t.get(Ot),i=t.get(rh);t.get(Cu)===1&&n.initialNavigation(),t.get(ih,null,T.Optional)?.setUpPreloading(),t.get(nh,null,T.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var rh=new C("",{factory:()=>new Q}),Cu=new C("",{providedIn:"root",factory:()=>1});function Ew(){return Dr(2,[{provide:Cu,useValue:0},{provide:$i,multi:!0,deps:[me],useFactory:e=>{let r=e.get(Xd,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ot),o=e.get(rh);th(i,()=>{n(!0)}),e.get(Du).afterPreactivation=()=>(n(!0),o.closed?w(void 0):o),i.initialNavigation()}))}}])}function Iw(){return Dr(3,[{provide:$i,multi:!0,useFactory:()=>{let e=p(Ot);return()=>{e.setUpLocationChangeListener()}}},{provide:Cu,useValue:2}])}var ih=new C("");function bw(t){return Dr(0,[{provide:ih,useExisting:yw},{provide:ao,useExisting:t}])}function Mw(){return Dr(8,[wf,{provide:uo,useExisting:wf}])}function _w(t){let e=[{provide:Jf,useValue:aw},{provide:Xf,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Dr(9,e)}var If=new C("ROUTER_FORROOT_GUARD"),Sw=[hn,{provide:pr,useClass:or},Ot,gr,{provide:wn,useFactory:Cw,deps:[Ot]},vu,[]],wu=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[Sw,[],{provide:so,multi:!0,useValue:n},{provide:If,useFactory:Nw,deps:[[Ot,new qs,new Gl]]},{provide:yr,useValue:i||{}},i?.useHash?xw():Aw(),Tw(),i?.preloadingStrategy?bw(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Ow(i):[],i?.bindToComponentInputs?Mw().\u0275providers:[],i?.enableViewTransitions?_w().\u0275providers:[],Rw()]}}static forChild(n){return{ngModule:e,providers:[{provide:so,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(y(If,8))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();function Tw(){return{provide:nh,useFactory:()=>{let t=p(sf),e=p(L),r=p(yr),n=p(Du),i=p(pr);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Dw(i,n,t,e,r)}}}function xw(){return{provide:xt,useClass:tf}}function Aw(){return{provide:xt,useClass:Ma}}function Nw(t){return"guarded"}function Ow(t){return[t.initialNavigation==="disabled"?Iw().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ew().\u0275providers:[]]}var bf=new C("");function Rw(){return[{provide:bf,useFactory:ww},{provide:ya,multi:!0,useExisting:bf}]}var oh=(()=>{let e=class e{constructor(){this.newMonth="",this.monthlyTotal=""}calculateFunct(n){let i=n.split(`
-`),o=[],s=0,a=0,u=parseInt(n.split(`
-`)[0].split(":")[0].split("/")[1]),c=parseInt(n.split(`
-`)[0].split(":")[0].split("/")[2]);for(let h of i){let m=0;if(h.match("/")<2){a=a+s,s=0,o.push(h);continue}if(h.match(":")>1){m=parseFloat(h.split(" : ")[2].replace(",","")),s=s+m,o.push(h);continue}let b=h.split(" : ")[1];if(b.split(" + ").length>1&&b.split(" + ")[0]!=""){for(let x of b.split(" + "))m=m+parseFloat(x.replace(",",""));let $=(m+"").replace(".00","");o.push(h+" : "+$),s=s+m}else b.split(" + ")[0]!=""?(o.push(h+" : "+b.split(" + ")[0]),s=s+parseFloat(b.split(" + ")[0].replace(",",""))):o.push(h);a=a+s}let l=(s+"").replace(".00","");o.push(`
------------------------- `+l+" : "+l+` -------------------------
-`);let d=[],f=31;c=u==12?c+1:c,u=u<12?u+1:1,[1,3,5,7,8,10,12].includes(u)?f=32:u==2&&(f=29);for(let h=1;h{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(U(cn),U(St))},e.\u0275dir=ze({type:e});let t=e;return t})(),kw=(()=>{let e=class e extends hh{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gn(e)))(o||e)}})(),e.\u0275dir=ze({type:e,features:[dn]});let t=e;return t})(),ph=new C("NgValueAccessor");var Lw={provide:ph,useExisting:$n(()=>po),multi:!0};function Vw(){let t=ke()?ke().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var jw=new C("CompositionEventMode"),po=(()=>{let e=class e extends hh{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Vw())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(U(cn),U(St),U(jw,8))},e.\u0275dir=ze({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&_e("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[pa([Lw]),dn]});let t=e;return t})();var $w=new C("NgValidators"),Bw=new C("NgAsyncValidators");function gh(t){return t!=null}function mh(t){return Tt(t)?j(t):t}function vh(t){let e={};return t.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function yh(t,e){return e.map(r=>r(t))}function Uw(t){return!t.validate}function Dh(t){return t.map(e=>Uw(e)?e:r=>e.validate(r))}function Hw(t){if(!t)return null;let e=t.filter(gh);return e.length==0?null:function(r){return vh(yh(r,e))}}function Ch(t){return t!=null?Hw(Dh(t)):null}function Gw(t){if(!t)return null;let e=t.filter(gh);return e.length==0?null:function(r){let n=yh(r,e).map(mh);return Oo(n).pipe(O(vh))}}function wh(t){return t!=null?Gw(Dh(t)):null}function sh(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function zw(t){return t._rawValidators}function Ww(t){return t._rawAsyncValidators}function Eu(t){return t?Array.isArray(t)?t:[t]:[]}function fo(t,e){return Array.isArray(t)?t.includes(e):t===e}function ah(t,e){let r=Eu(e);return Eu(t).forEach(i=>{fo(r,i)||r.push(i)}),r}function uh(t,e){return Eu(e).filter(r=>!fo(t,r))}var ho=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Ch(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=wh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Iu=class extends ho{get formDirective(){return null}get path(){return null}},Er=class extends ho{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},bu=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},qw={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},ux=k(g({},qw),{"[class.ng-submitted]":"isSubmitted"}),Eh=(()=>{let e=class e extends bu{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(U(Er,2))},e.\u0275dir=ze({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&ha("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[dn]});let t=e;return t})();var Cr="VALID",lo="INVALID",bn="PENDING",wr="DISABLED";function Zw(t){return(go(t)?t.validators:t)||null}function Yw(t){return Array.isArray(t)?Ch(t):t||null}function Qw(t,e){return(go(e)?e.asyncValidators:t)||null}function Kw(t){return Array.isArray(t)?wh(t):t||null}function go(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Mu=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Cr}get invalid(){return this.status===lo}get pending(){return this.status==bn}get disabled(){return this.status===wr}get enabled(){return this.status!==wr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ah(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ah(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(uh(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(uh(e,this._rawAsyncValidators))}hasValidator(e){return fo(this._rawValidators,e)}hasAsyncValidator(e){return fo(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=bn,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=wr,this.errors=null,this._forEachChild(n=>{n.disable(k(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Cr,this._forEachChild(n=>{n.enable(k(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(k(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cr||this.status===bn)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wr:Cr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=bn,this._hasOwnPendingAsyncValidator=!0;let r=mh(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?wr:this.errors?lo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bn)?bn:this._anyControlsHaveStatus(lo)?lo:Cr}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){go(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Yw(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Kw(this._rawAsyncValidators)}};var Ih=new C("CallSetDisabledState",{providedIn:"root",factory:()=>_u}),_u="always";function Jw(t,e){return[...e.path,t]}function Xw(t,e,r=_u){tE(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),nE(t,e),iE(t,e),rE(t,e),eE(t,e)}function ch(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function eE(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function tE(t,e){let r=zw(t);e.validator!==null?t.setValidators(sh(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Ww(t);e.asyncValidator!==null?t.setAsyncValidators(sh(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();ch(e._rawValidators,i),ch(e._rawAsyncValidators,i)}function nE(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&bh(t,e)})}function rE(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&bh(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function bh(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function iE(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function oE(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function sE(t){return Object.getPrototypeOf(t.constructor)===kw}function aE(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===po?r=o:sE(o)?n=o:i=o}),i||n||r||null}function lh(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function dh(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uE=class extends Mu{constructor(e=null,r,n){super(Zw(r),Qw(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),go(r)&&(r.nonNullable||r.initialValueIsDefault)&&(dh(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){lh(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){lh(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){dh(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var cE={provide:Er,useExisting:$n(()=>Su)},fh=(()=>Promise.resolve())(),Su=(()=>{let e=class e extends Er{constructor(n,i,o,s,a,u){super(),this._changeDetectorRef=a,this.callSetDisabledState=u,this.control=new uE,this._registered=!1,this.name="",this.update=new H,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=aE(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),oE(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Xw(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){fh.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Bi(i);fh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Jw(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(U(Iu,9),U($w,10),U(Bw,10),U(ph,10),U(ln,8),U(Ih,8))},e.\u0275dir=ze({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pa([cE]),dn,un]});let t=e;return t})();var lE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let t=e;return t})();var dE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[lE]});let t=e;return t})();var Mh=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ih,useValue:n.callSetDisabledState??_u}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[dE]});let t=e;return t})();var _h=(()=>{let e=class e{constructor(n){this.homeService=n,this.inputData=`1/11/20 : 500 + 3,000 + 240
- 2/11/20 : 83 + 2,436.52 + 129
- 3/11/20 : 4,649
- 4/11/20 :
- 5/11/20 :
- 6/11/20 : 590
- 7/11/20 :
- 8/11/20 :
- 9/11/20 :
- 10/11/20 :
- 11/11/20 :
- 12/11/20 : 220
- 13/11/20 :
- 14/11/20 :
- 15/11/20 :
- 16/11/20 : 3,034 + 4,479
- 17/11/20 :
- 18/11/20 :
- 19/11/20 : 3,479
- 20/11/20 :
- 21/11/20 :
- 22/11/20 :
- 23/11/20 :
- 24/11/20 :
- 25/11/20 :
- 26/11/20 :
- 27/11/20 : 49
- 28/11/20 :
- 29/11/20 :
- 30/11/20 : `,this.newMonth="",this.monthlyTotal="",this.generateButtonClicked=!1}ngOnInit(){}generate(){this.generateButtonClicked=!0,this.homeService.calculateFunct(this.inputData),this.newMonth=this.homeService.newMonth,this.monthlyTotal=this.homeService.monthlyTotal}copyFunc(n){this.generateButtonClicked?n==="new"?this.homeService.copyText(this.newMonth):n==="total"&&this.homeService.copyText(this.monthlyTotal):alert("Click Generate then Copy !!")}};e.\u0275fac=function(i){return new(i||e)(U(oh))},e.\u0275cmp=an({type:e,selectors:[["app-home"]],decls:13,vars:3,consts:[[2,"display","flex"],["name","","id","","cols","30","rows","31",3,"ngModel","ngModelChange"],[2,"width","50px"],["name","","id","","cols","40","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"margin-left","20px","width","150px","height","50px",3,"click"],["name","","id","monthlyTotal","cols","25","rows","31","readonly","",3,"ngModel","ngModelChange"],["name","","id","",2,"width","100px","height","50px","margin-top","100px",3,"click"]],template:function(i,o){i&1&&(Ze(0,"div",0)(1,"textarea",1),_e("ngModelChange",function(a){return o.inputData=a}),Pe(),Ye(2,"p",2),Ze(3,"textarea",3),_e("ngModelChange",function(a){return o.monthlyTotal=a}),Pe(),Ze(4,"button",4),_e("click",function(){return o.copyFunc("total")}),Fi(5,"Copy Monthly Total"),Pe(),Ye(6,"p",2),Ze(7,"textarea",5),_e("ngModelChange",function(a){return o.newMonth=a}),Pe(),Ze(8,"button",4),_e("click",function(){return o.copyFunc("new")}),Fi(9,"Copy New Month"),Pe(),Ye(10,"p",2),Pe(),Ze(11,"button",6),_e("click",function(){return o.generate()}),Fi(12,"Generate"),Pe()),i&2&&(Oi(1),Zn("ngModel",o.inputData),Oi(2),Zn("ngModel",o.monthlyTotal),Oi(4),Zn("ngModel",o.newMonth))},dependencies:[po,Eh,Su]});let t=e;return t})();var hE=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"home",component:_h}],Sh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[wu.forRoot(hE),wu]});let t=e;return t})();var Th=(()=>{let e=class e{constructor(){this.title="js-monthly-calculator"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=an({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,o){i&1&&Ye(0,"router-outlet")},dependencies:[pu]});let t=e;return t})();var xh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=te({type:e,bootstrap:[Th]}),e.\u0275inj=ee({imports:[gf,Sh,Mh]});let t=e;return t})();var Ah={production:!1};Ah.production&&void 0;pf().bootstrapModule(xh).catch(t=>console.error(t));
diff --git a/browser/polyfills-LZBJRJJE.js b/browser/polyfills-LZBJRJJE.js
deleted file mode 100644
index 57d4c33..0000000
--- a/browser/polyfills-LZBJRJJE.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let oe=class oe{static assertZonePatched(){if(e.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=oe.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return te}static __load_patch(t,s,o=!1){if(re.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),re[t]=s(e,oe,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=te;te=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,te=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new m(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new m(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new m(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let u={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,u)}}}class m{constructor(t,s,o,v,F,u){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=u,!o)throw new Error("callback is not defined");this.callback=o;let f=this;t===K&&v&&v.useG?this.invoke=m.invokeTask:this.invoke=function(){return m.invokeTask.call(e,f,this,arguments)}}static invokeTask(t,s,o){t||(t=this),Q++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{Q==1&&E(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),Z=l("Promise"),O=l("then"),B=[],A=!1,J;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let t=J[O];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){Q===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!A){for(A=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},te=null,Q=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var me=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,it=Object.create,ct=Array.prototype.slice,Me="addEventListener",Le="removeEventListener",Se=Zone.__symbol__(Me),De=Zone.__symbol__(Le),ie="true",ce="false",pe=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function je(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,at="removeAttribute";function He(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function lt(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,He(arguments,c+"."+a))};return ae(b,_),b})(l)}}}function Ye(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",xe=!we&&!$e&&!!(Pe&&Te.HTMLElement),Je=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!$e&&!!(Pe&&Te.HTMLElement),be={},We=function(e){if(e=e||Y.event,!e)return;let n=be[e.type];n||(n=be[e.type]=j("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(xe&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function qe(e,n,c){let r=me(e,n);if(!r&&c&&me(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=j("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=be[_];b||(b=be[_]=j("ON_PROPERTY"+_)),r.set=function(k){let m=this;if(!m&&e===Y&&(m=Y),!m)return;typeof m[b]=="function"&&m.removeEventListener(_,We),y&&y.call(m,null),m[b]=k,typeof k=="function"&&m.addEventListener(_,We,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let m=k[b];if(m)return m;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[at]=="function"&&k.removeAttribute(n),I}return null},Ne(e,n,r),e[a]=!0}function Ke(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?je(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function ae(e,n){e[j("OriginalDelegate")]=n}var Xe=!1,Ze=!1;function ft(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function ht(){if(Xe)return Ze;Xe=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(u){if(u&&u.toString===Object.prototype.toString){let f=u.constructor&&u.constructor.name;return(f||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),m=y("then"),I="__creationTrace__";c.onUnhandledError=u=>{if(c.showUncaughtError()){let f=u&&u.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(u)}},c.microtaskDrainDone=()=>{for(;_.length;){let u=_.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(f){O(f)}}};let Z=y("unhandledPromiseRejectionHandler");function O(u){c.onUnhandledError(u);try{let f=n[Z];typeof f=="function"&&f.call(this,u)}catch{}}function B(u){return u&&u.then}function A(u){return u}function J(u){return t.reject(u)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(u,f){return i=>{try{z(u,f,i)}catch(h){z(u,!1,h)}}}let P=function(){let u=!1;return function(i){return function(){u||(u=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",re=y("currentTaskTrace");function z(u,f,i){let h=P();if(u===i)throw new TypeError(K);if(u[q]===M){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(w){return h(()=>{z(u,!1,w)})(),u}if(f!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)te(i),z(u,i[q],i[R]);else if(f!==x&&typeof g=="function")try{g.call(i,h(N(u,f)),h(N(u,!1)))}catch(w){h(()=>{z(u,!1,w)})()}else{u[q]=f;let w=u[R];if(u[R]=i,u[E]===E&&f===T&&(u[q]=u[H],u[R]=u[$]),f===x&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];p&&a(i,re,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let C=u[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=f.run(p,void 0,S&&p!==J&&p!==A?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",oe=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(f){return z(new this(null),T,f)}static reject(f){return z(new this(null),x,f)}static any(f){if(!f||typeof f[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let p of f)h++,i.push(t.resolve(p))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let g=!1,w=[];return new t((p,C)=>{for(let S=0;S{g||(g=!0,p(D))},D=>{w.push(D),h--,h===0&&(g=!0,C(new L(w,"All promises were rejected")))})})}static race(f){let i,h,g=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function p(C){h(C)}for(let C of f)B(C)||(C=this.resolve(C)),C.then(w,p);return g}static all(f){return t.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof t?this:t).allWithCallback(f,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(f,i){let h,g,w=new this((D,G)=>{h=D,g=G}),p=2,C=0,S=[];for(let D of f){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,p--,p===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),p--,p===0&&h(S)):g(V)})}catch(V){g(V)}p++,C++}return p-=2,p===0&&h(S),w}constructor(f){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();f&&f(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(f,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let g=new h(oe),w=n.current;return this[q]==M?this[R].push(w,g,f,i):Q(this,w,g,f,i),g}catch(f){return this.then(null,f)}finally(f){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(oe);h[E]=E;let g=n.current;return this[q]==M?this[R].push(g,h,f,f):Q(this,g,h,f,f),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(u){let f=u.prototype,i=r(f,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=f.then;f[m]=h,u.prototype.then=function(g,w){return new t((C,S)=>{h.call(this,C,S)}).then(g,w)},u[o]=!0}c.patchThen=v;function F(u){return function(f,i){let h=u.apply(f,i);if(h instanceof t)return h;let g=h.constructor;return g[o]||v(g),h}}return s&&(v(s),le(e,"fetch",u=>F(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=j("OriginalDelegate"),r=j("Promise"),a=j("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let m=e[r];if(m)return n.call(m)}if(this===Error){let m=e[a];if(m)return n.call(m)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var dt={useG:!0},ee={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=j("propagationStopped");function nt(e,n){let c=(n?n(e):e)+ce,r=(n?n(e):e)+ie,a=pe+c,l=pe+r;ee[e]={},ee[e][ce]=a,ee[e][ie]=l}function _t(e,n,c,r){let a=r&&r.add||Me,l=r&&r.rm||Le,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=j(a),k="."+a+":",m="prependListener",I="."+m+":",Z=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function O(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[ee[E.type][$?ie:ce]];if(X){let M=[];if(X.length===1){let T=Z(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return O(this,R,!1)},A=function(R){return O(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Ie(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[j(l)]=T[l],K=T[j(y)]=T[y],re=T[j(_)]=T[_],z;E&&E.prepend&&(z=T[j(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let te=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?A:B,d.options)},Q=function(i){if(!i.isRemoved){let h=ee[i.eventName],g;h&&(g=h[i.capture?ie:ce]);let w=g&&i.target[g];if(w){for(let p=0;pfunction(a,l){a[tt]=!0,r&&r.apply(a,l)})}function Tt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(m){let I=`${c}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){let O=e.ObjectGetOwnPropertyDescriptor(Z,m);O&&O.value?(O.value=e.wrapWithCurrentZone(O.value,I),e._redefineProperty(b.prototype,m,O)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function ot(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function ze(e,n,c,r){if(!e)return;let a=ot(e,n,c);Ke(e,a,r)}function Oe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function yt(e,n){if(we&&!Je||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(xe){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ft()?[{target:a,ignoreProperties:["error"]}]:[];ze(a,Oe(a),c&&c.concat(l),Ie(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Oe(e);c.patchOnProperties=Ke,c.patchMethod=le,c.bindArguments=He,c.patchMacroTask=ut;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Et,c.patchEventTarget=_t,c.isIEOrEdge=ht,c.ObjectDefineProperty=Ne,c.ObjectGetOwnPropertyDescriptor=me,c.ObjectCreate=it,c.ArraySlice=ct,c.patchClass=ge,c.wrapWithCurrentZone=Ae,c.filterProperties=ot,c.attachOriginToPatched=ae,c._redefineProperty=Object.defineProperty,c.patchCallbacks=Tt,c.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:ee,eventNames:r,isBrowser:xe,isMix:Je,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Le})});function mt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var ve=j("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let m=k.data;return m.args[0]=function(){return k.invoke.apply(this,arguments)},m.handleId=a.apply(e,m.args),k}function b(k){return l.call(e,k.data.handleId)}a=le(e,n,k=>function(m,I){if(typeof I[0]=="function"){let Z={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},O=I[0];I[0]=function(){try{return O.apply(this,arguments)}finally{Z.isPeriodic||(typeof Z.handleId=="number"?delete y[Z.handleId]:Z.handleId&&(Z.handleId[ve]=null))}};let B=je(n,I[0],Z,_,b);if(!B)return B;let A=B.data.handleId;return typeof A=="number"?y[A]=B:A&&(A[ve]=B),A&&A.ref&&A.unref&&typeof A.ref=="function"&&typeof A.unref=="function"&&(B.ref=A.ref.bind(A),B.unref=A.unref.bind(A)),typeof A=="number"||A?A:B}else return k.apply(e,I)}),l=le(e,c,k=>function(m,I){let Z=I[0],O;typeof Z=="number"?O=y[Z]:(O=Z&&Z[ve],O||(O=Z)),O&&typeof O.type=="string"?O.state!=="notScheduled"&&(O.cancelFn&&O.data.isPeriodic||O.runCount===0)&&(typeof Z=="number"?delete y[Z]:Z&&(Z[ve]=null),O.zone.cancelTask(O)):k.apply(e,I)})}function pt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function gt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{kt(e,c),gt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ge("MutationObserver"),ge("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ge("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ge("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{yt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{pt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=j("xhrTask"),r=j("xhrSync"),a=j("xhrListener"),l=j("xhrScheduled"),y=j("xhrURL"),_=j("xhrErrorBeforeScheduled");function b(k){let m=k.XMLHttpRequest;if(!m)return;let I=m.prototype;function Z(d){return d[c]}let O=I[Se],B=I[De];if(!O){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;O=N[Se],B=N[De]}}let A="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];O||(O=P[Se],B=P[De]),K&&B.call(P,A,K);let re=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let te=d.invoke;d.invoke=function(){let Q=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=j("fetchTaskAborting"),M=j("fetchTaskScheduling"),T=le(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=je(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=le(I,"abort",()=>function(d,N){let P=Z(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&<(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){rt(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[j("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{mt(e,c)});
diff --git a/browser/favicon.ico b/favicon.ico
similarity index 100%
rename from browser/favicon.ico
rename to favicon.ico
diff --git a/browser/index.html b/index.html
similarity index 53%
rename from browser/index.html
rename to index.html
index 29b22e4..9f7f6c9 100644
--- a/browser/index.html
+++ b/index.html
@@ -6,8 +6,8 @@
-
+
-
+