diff --git a/angular.json b/angular.json index 589bce9..c35bd6a 100644 --- a/angular.json +++ b/angular.json @@ -26,16 +26,16 @@ "outputPath": "docs/", "baseHref": "/tax-calculator/", "index": "src/index.html", - "main": "src/tax-calculator/main.ts", - "polyfills": "src/tax-calculator/polyfills.ts", + "main": "src/main.ts", + "polyfills": "src//polyfills.ts", "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ - "src/tax-calculator/favicon.ico", + "src/favicon.ico", "src/assets" ], "styles": [ - "src/tax-calculator/styles.scss" + "src/styles.scss" ], "scripts": [] }, diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt new file mode 100644 index 0000000..874b6f7 --- /dev/null +++ b/docs/3rdpartylicenses.txt @@ -0,0 +1,241 @@ +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/platform-browser +MIT + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2023 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +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/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000..997406a Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..3a20198 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,14 @@ + + + + + Tax Estimator Calculator + + + + + + + + + diff --git a/docs/main.66dcdc8ce2ff120d.js b/docs/main.66dcdc8ce2ff120d.js new file mode 100644 index 0000000..b82a4c3 --- /dev/null +++ b/docs/main.66dcdc8ce2ff120d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunktd_calc=self.webpackChunktd_calc||[]).push([[179],{394:()=>{let _e=null,nr=1;const rr=Symbol("SIGNAL");function pe(e){const t=_e;return _e=e,t}function lf(e){if((!lo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==nr)){if(!e.producerMustRecompute(e)&&!$a(e))return e.dirty=!1,void(e.lastCleanEpoch=nr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=nr}}function $a(e){or(e);for(let t=0;t0}function or(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let _f=null;function Fe(e){return"function"==typeof e}function Cf(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ga=Cf(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function za(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Dt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Fe(r))try{r()}catch(i){t=i instanceof Ga?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{If(i)}catch(s){t=t??[],s instanceof Ga?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ga(t)}}add(t){var n;if(t&&t!==this)if(this.closed)If(t);else{if(t instanceof Dt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&za(n,t)}remove(t){const{_finalizers:n}=this;n&&za(n,t),t instanceof Dt&&t._removeParent(this)}}Dt.EMPTY=(()=>{const e=new Dt;return e.closed=!0,e})();const wf=Dt.EMPTY;function Ef(e){return e instanceof Dt||e&&"closed"in e&&Fe(e.remove)&&Fe(e.add)&&Fe(e.unsubscribe)}function If(e){Fe(e)?e():e.unsubscribe()}const Nn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bi={setTimeout(e,t,...n){const{delegate:r}=bi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=bi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bf(e){bi.setTimeout(()=>{const{onUnhandledError:t}=Nn;if(!t)throw e;t(e)})}function Mf(){}const ow=Wa("C",void 0,void 0);function Wa(e,t,n){return{kind:e,value:t,error:n}}let xn=null;function Mi(e){if(Nn.useDeprecatedSynchronousErrorHandling){const t=!xn;if(t&&(xn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=xn;if(xn=null,n)throw r}}else e()}class qa extends Dt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ef(t)&&t.add(this)):this.destination=dw}static create(t,n,r){return new Qa(t,n,r)}next(t){this.isStopped?Ya(function sw(e){return Wa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ya(function iw(e){return Wa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ya(ow,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const uw=Function.prototype.bind;function Za(e,t){return uw.call(e,t)}class lw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Si(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Si(r)}else Si(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Si(n)}}}class Qa extends qa{constructor(t,n,r){let o;if(super(),Fe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Nn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Za(t.next,i),error:t.error&&Za(t.error,i),complete:t.complete&&Za(t.complete,i)}):o=t}this.destination=new lw(o)}}function Si(e){Nn.useDeprecatedSynchronousErrorHandling?function aw(e){Nn.useDeprecatedSynchronousErrorHandling&&xn&&(xn.errorThrown=!0,xn.error=e)}(e):bf(e)}function Ya(e,t){const{onStoppedNotification:n}=Nn;n&&bi.setTimeout(()=>n(e,t))}const dw={closed:!0,next:Mf,error:function cw(e){throw e},complete:Mf},Ka="function"==typeof Symbol&&Symbol.observable||"@@observable";function fw(e){return e}let ht=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function pw(e){return e&&e instanceof qa||function hw(e){return e&&Fe(e.next)&&Fe(e.error)&&Fe(e.complete)}(e)&&Ef(e)}(n)?n:new Qa(n,r,o);return Mi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Tf(r))((o,i)=>{const s=new Qa({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ka](){return this}pipe(...n){return function Sf(e){return 0===e.length?fw:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Tf(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Tf(e){var t;return null!==(t=e??Nn.Promise)&&void 0!==t?t:Promise}const gw=Cf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ja=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Af(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gw}next(n){Mi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Mi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Mi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?wf:(this.currentObservers=null,i.push(n),new Dt(()=>{this.currentObservers=null,za(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ht;return n.source=this,n}}return e.create=(t,n)=>new Af(t,n),e})();class Af extends Ja{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:wf}}class mw extends Ja{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Xa(e){return t=>{if(function yw(e){return Fe(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function eu(e,t,n,r,o){return new _w(e,t,n,r,o)}class _w extends qa{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function tu(e,t){return Xa((n,r)=>{let o=0;n.subscribe(eu(r,i=>{r.next(e.call(t,i,o++))}))})}class D extends Error{constructor(t,n){super(function ir(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function Dw(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function nu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Cw=J({__forward_ref__:J});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return Se(this())},e}function A(e){return Ti(e)?e():e}function Ti(e){return"function"==typeof e&&e.hasOwnProperty(Cw)&&e.__forward_ref__===ne}function ru(e){return e&&!!e.\u0275providers}const co=J({\u0275cmp:J}),ou=J({\u0275dir:J}),iu=J({\u0275pipe:J}),Ff=J({\u0275mod:J}),Wt=J({\u0275fac:J}),fo=J({__NG_ELEMENT_ID__:J}),Pf=J({__NG_ENV_ID__:J});function F(e){return"string"==typeof e?e:null==e?"":String(e)}function su(e,t){throw new D(-201,!1)}function et(e,t){null==e&&function N(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ai(e){return Rf(e,xi)||Rf(e,kf)}function Rf(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ni(e){return e&&(e.hasOwnProperty(au)||e.hasOwnProperty(Aw))?e[au]:null}const xi=J({\u0275prov:J}),au=J({\u0275inj:J}),kf=J({ngInjectableDef:J}),Aw=J({ngInjectorDef:J});var H=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(H||{});let uu;function tt(e){const t=uu;return uu=e,t}function Vf(e,t,n){const r=Ai(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&H.Optional?null:void 0!==t?t:void su()}const re=globalThis;class S{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ho={},hu="__NG_DI_FLAG__",Oi="ngTempTokenPath",Ow=/\n/gm,Bf="__source";let sr;function fn(e){const t=sr;return sr=e,t}function Rw(e,t=H.Default){if(void 0===sr)throw new D(-203,!1);return null===sr?Vf(e,void 0,t):sr.get(e,t&H.Optional?null:void 0,t)}function G(e,t=H.Default){return(function Lf(){return uu}()||Rw)(A(e),t)}function $(e,t=H.Default){return G(e,Fi(t))}function Fi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pu(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==$f(h,l,0)||2&r&&l!==f){if(wt(r))return!1;s=!0}}}}else{if(!s&&!wt(r)&&!wt(u))return!1;if(s&&wt(u))continue;s=!1,r=u|1&r}}return wt(r)||s}function wt(e){return 0==(1&e)}function $w(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!wt(s)&&(t+=Qf(i,o),o=""),r=s,i=i||!wt(r);n++}return""!==o&&(t+=Qf(i,o)),t}function Yf(e){return Zt(()=>{const t=Jf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||W,_:null,schemas:e.schemas||null,tView:null,id:""};Xf(n);const r=e.dependencies;return n.directiveDefs=Ri(r,!1),n.pipeDefs=Ri(r,!0),n.id=function Xw(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Yw(e){return B(e)||Te(e)}function Kw(e){return null!==e}function hn(e){return Zt(()=>({type:e.type,bootstrap:e.bootstrap||W,declarations:e.declarations||W,imports:e.imports||W,exports:e.exports||W,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Kf(e,t){if(null==e)return xt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=ge.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==ge.None?[r,a]:r,t[i]=s):n[i]=r}return n}function R(e){return Zt(()=>{const t=Jf(e);return Xf(t),t})}function nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function B(e){return e[co]||null}function Te(e){return e[ou]||null}function Re(e){return e[iu]||null}function Jf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||xt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||W,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Kf(e.inputs,t),outputs:Kf(e.outputs),debugInfo:null}}function Xf(e){e.features?.forEach(t=>t(e))}function Ri(e,t){if(!e)return null;const n=t?Re:Yw;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Kw)}const me=0,v=1,T=2,ve=3,Et=4,Le=5,It=6,ar=7,oe=8,ze=9,Qt=10,k=11,mo=12,eh=13,ur=14,he=15,yo=16,lr=17,Ot=18,_o=19,th=20,pn=21,ki=22,Fn=23,P=25,mu=1,Ft=7,cr=9,De=10;var yu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(yu||{});function Ve(e){return Array.isArray(e)&&"object"==typeof e[mu]}function je(e){return Array.isArray(e)&&!0===e[mu]}function _u(e){return 0!=(4&e.flags)}function Pn(e){return e.componentOffset>-1}function Vi(e){return 1==(1&e.flags)}function bt(e){return!!e.template}function vu(e){return 0!=(512&e[T])}function Rn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}class rE{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ih(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Yt(){return sh}function sh(e){return e.type.prototype.ngOnChanges&&(e.setInput=iE),oE}function oE(){const e=uh(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function iE(e,t,n,r,o){const i=this.declaredInputs[r],s=uh(e)||function sE(e,t){return e[ah]=t}(e,{previous:xt,current:null}),a=s.current||(s.current={}),u=s.previous,l=u[i];a[i]=new rE(l&&l.currentValue,n,u===xt),ih(e,t,o,n)}Yt.ngInherit=!0;const ah="__ngSimpleChanges__";function uh(e){return e[ah]||null}const Pt=function(e,t,n){};let dh=!1;function ie(e){for(;Array.isArray(e);)e=e[me];return e}function Do(e,t){return ie(t[e])}function We(e,t){return ie(t[e.index])}function Co(e,t){return e.data[t]}function dr(e,t){return e[t]}function ut(e,t){const n=t[e];return Ve(n)?n:n[me]}function Iu(e){return 128==(128&e[T])}function Rt(e,t){return null==t?null:e[t]}function fh(e){e[lr]=0}function fE(e){1024&e[T]||(e[T]|=1024,Iu(e)&&wo(e))}function ph(e){return 9216&e[T]||e[Fn]?.dirty}function bu(e){ph(e)?wo(e):64&e[T]&&(function uE(){return dh}()?(e[T]|=1024,wo(e)):e[Qt].changeDetectionScheduler?.notify())}function wo(e){e[Qt].changeDetectionScheduler?.notify();let t=kn(e);for(;null!==t&&!(8192&t[T])&&(t[T]|=8192,Iu(t));)t=kn(t)}function kn(e){const t=e[ve];return je(t)?t[ve]:t}const x={lFrame:Ih(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function mh(){return x.bindingsEnabled}function m(){return x.lFrame.lView}function U(){return x.lFrame.tView}function qe(e){return x.lFrame.contextLView=e,e[oe]}function Ze(e){return x.lFrame.contextLView=null,e}function ee(){let e=yh();for(;null!==e&&64===e.type;)e=e.parent;return e}function yh(){return x.lFrame.currentTNode}function kt(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function Su(){return x.lFrame.isParent}function Qe(){const e=x.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Lt(){return x.lFrame.bindingIndex++}function Jt(e){const t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function EE(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Au(t)}function Au(e){x.lFrame.currentDirectiveIndex=e}function xu(e){x.lFrame.currentQueryIndex=e}function bE(e){const t=e[v];return 2===t.type?t.declTNode:1===t.type?e[Le]:null}function wh(e,t,n){if(n&H.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&H.Host||(o=bE(i),null===o||(i=i[ur],10&o.type))););if(null===o)return!1;t=o,e=i}const r=x.lFrame=Eh();return r.currentTNode=t,r.lView=e,!0}function Ou(e){const t=Eh(),n=e[v];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Eh(){const e=x.lFrame,t=null===e?null:e.child;return null===t?Ih(e):t}function Ih(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function bh(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mh=bh;function Fu(){const e=bh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Be(){return x.lFrame.selectedIndex}function Ln(e){x.lFrame.selectedIndex=e}let Th=!0;function Bi(){return Th}function gn(e){Th=e}function Hi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[lr]+=65536),(a>14>16&&(3&e[T])===t&&(e[T]+=16384,Nh(a,i)):Nh(a,i)}const hr=-1;class Io{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ku(e){return e!==hr}function bo(e){return 32767&e}function Mo(e,t){let n=function LE(e){return e>>16}(e),r=t;for(;n>0;)r=r[ur],n--;return r}let Lu=!0;function Gi(e){const t=Lu;return Lu=e,t}const xh=255,Oh=5;let VE=0;const Vt={};function zi(e,t){const n=Fh(e,t);if(-1!==n)return n;const r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Vu(r.data,e),Vu(t,null),Vu(r.blueprint,null));const o=Wi(e,t),i=e.injectorIndex;if(ku(o)){const s=bo(o),a=Mo(o,t),u=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Vu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Bh(o),null===r)return hr;if(n++,o=o[ur],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return hr}function ju(e,t,n){!function jE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(fo)&&(r=n[fo]),null==r&&(r=n[fo]=VE++);const o=r&xh;t.data[e+(o>>Oh)]|=1<=0?t&xh:UE:t}(n);if("function"==typeof i){if(!wh(t,e,r))return r&H.Host?Ph(o,0,r):Rh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&H.Optional)return s;su()}finally{Mh()}}else if("number"==typeof i){let s=null,a=Fh(e,t),u=hr,l=r&H.Host?t[he][Le]:null;for((-1===a||r&H.SkipSelf)&&(u=-1===a?Wi(e,t):t[a+8],u!==hr&&jh(r,!1)?(s=t[v],a=bo(u),t=Mo(u,t)):a=-1);-1!==a;){const c=t[v];if(Vh(i,a,c.data)){const d=HE(a,t,n,s,r,l);if(d!==Vt)return d}u=t[a+8],u!==hr&&jh(r,t[v].data[a+8]===l)&&Vh(i,a,t)?(s=c,a=bo(u),t=Mo(u,t)):a=-1}}return o}function HE(e,t,n,r,o,i){const s=t[v],a=s.data[e+8],c=function qi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&bt(h)&&h.type===n)return u}return null}(a,s,n,null==r?Pn(a)&&Lu:r!=s&&0!=(3&a.type),o&H.Host&&i===a);return null!==c?Vn(t,s,c,a):Vt}function Vn(e,t,n,r){let o=e[n];const i=t.data;if(function FE(e){return e instanceof Io}(o)){const s=o;s.resolving&&function Ew(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Q(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():F(e)}(i[n]));const a=Gi(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?tt(s.injectImpl):null;wh(e,r,H.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=sh(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&tt(l),Gi(a),s.resolving=!1,Mh()}}return o}function Vh(e,t,n){return!!(n[t+(e>>Oh)]&1<{const t=e.prototype.constructor,n=t[Wt]||Bu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||Bu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bu(e){return Ti(e)?()=>{const t=Bu(A(e));return t&&t()}:Rn(e)}function Bh(e){const t=e[v],n=t.type;return 2===n?t.declTNode:1===n?e[Le]:null}function Cr(e,t){e.forEach(n=>Array.isArray(n)?Cr(n,t):t(n))}function $h(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lt(e,t,n){let r=wr(e,t);return r>=0?e[1|r]=n:(r=~r,function Uh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Gu(e,t){const n=wr(e,t);if(n>=0)return e[1|n]}function wr(e,t){return function Gh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return Cr(t,s=>{const a=s;Xi(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Yh(o,i),n}function Yh(e,t){for(let n=0;n{t(i,r)})}}function Xi(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=Ni(e);const s=!i&&B(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Ni(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Xi(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Cr(i.imports,c=>{Xi(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Yh(l,t)}if(!a){const l=Rn(o)||(()=>new o);t({provide:o,useFactory:l,deps:W},o),t({provide:Qu,useValue:o,multi:!0},o),t({provide:Ir,useValue:()=>G(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Ku(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Ku(e,t){for(let n of e)ru(n)&&(n=n.\u0275providers),Array.isArray(n)?Ku(n,t):t(n)}const hI=J({provide:String,useValue:J});function Ju(e){return null!==e&&"object"==typeof e&&hI in e}function jn(e){return"function"==typeof e}const Xu=new S("Set Injector scope."),es={},gI={};let el;function ts(){return void 0===el&&(el=new Ji),el}class Xt{}class br extends Xt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nl(t,s=>this.processProvider(s)),this.records.set(Zh,Mr(void 0,this)),o.has("environment")&&this.records.set(Xt,Mr(void 0,this));const i=this.records.get(Xu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qu,W,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=fn(this),r=tt(void 0);try{return t()}finally{fn(n),tt(r)}}get(t,n=ho,r=H.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Pf))return t[Pf](this);r=Fi(r);const i=fn(this),s=tt(void 0);try{if(!(r&H.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function DI(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(t)&&Ai(t);u=l&&this.injectableDefInScope(l)?Mr(tl(t),es):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&H.Self?ts():this.parent).get(t,n=r&H.Optional&&n===ho?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Oi]=a[Oi]||[]).unshift(Se(t)),i)throw a;return function Lw(e,t,n,r){const o=e[Oi];throw t[Bf]&&o.unshift(t[Bf]),e.message=function Vw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(t);if(Array.isArray(t))o=t.map(Se).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ow,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Oi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tt(s),fn(i)}}resolveInjectorInitializers(){const t=fn(this),n=tt(void 0);try{const o=this.get(Ir,W,H.Self);for(const i of o)i()}finally{fn(t),tt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let n=jn(t=A(t))?t:A(t&&t.provide);const r=function yI(e){return Ju(e)?Mr(void 0,e.useValue):Mr(Xh(e),es)}(t);if(!jn(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Mr(void 0,es,!0),o.factory=()=>pu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===es&&(n.value=gI,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function tl(e){const t=Ai(e),n=null!==t?t.factory:Rn(e);if(null!==n)return n;if(e instanceof S)throw new D(204,!1);if(e instanceof Function)return function mI(e){if(e.length>0)throw new D(204,!1);const n=function Tw(e){return e&&(e[xi]||e[kf])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new D(204,!1)}function Xh(e,t,n){let r;if(jn(e)){const o=A(e);return Rn(o)||tl(o)}if(Ju(e))r=()=>A(e.useValue);else if(function Jh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...pu(e.deps||[]));else if(function Kh(e){return!(!e||!e.useExisting)}(e))r=()=>G(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function _I(e){return!!e.deps}(e))return Rn(o)||tl(o);r=()=>new o(...pu(e.deps))}return r}function Mr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nl(e,t){for(const n of e)Array.isArray(n)?nl(n,t):n&&ru(n)?nl(n.\u0275providers,t):t(n)}function rp(e,t=null,n=null,r){const o=op(e,t,n,r);return o.resolveInjectorInitializers(),o}function op(e,t=null,n=null,r,o=new Set){const i=[n||W,fI(e)];return r=r||("object"==typeof e?void 0:Se(e)),new br(i,t||ts(),r||null,o)}let il,pt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=ho;static#t=this.NULL=new Ji;static create(n,r){if(Array.isArray(n))return rp({name:""},r,n,"");{const o=n.name??"";return rp({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=z({token:e,providedIn:"any",factory:()=>G(Zh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const rs=new S("AppId",{providedIn:"root",factory:()=>AI}),AI="ng",sp=new S("Platform Initializer"),Sr=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ap=new S("CSP nonce",{providedIn:"root",factory:()=>function mn(){if(void 0!==il)return il;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function as(e){return 128==(128&e.flags)}var vn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(vn||{});const cl=new Map;let $I=0;const fl="__ngContext__";function $e(e,t){Ve(t)?(e[fl]=t[_o],function GI(e){cl.set(e[_o],e)}(t)):e[fl]=t}let hl;function pl(e,t){return hl(e,t)}function Ar(e,t,n,r,o){if(null!=r){let i,s=!1;je(r)?i=r:Ve(r)&&(s=!0,r=r[me]);const a=ie(r);0===e&&null!==n?null==o?Ap(t,n,a):Hn(t,n,a,o||null,!0):1===e&&null!==n?Hn(t,n,a,o||null,!0):2===e?function ps(e,t,n){const r=fs(e,t);r&&function sb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function lb(e,t,n,r,o){const i=n[Ft];i!==ie(n)&&Ar(t,e,r,i,o);for(let a=De;a0&&(e[n-1][Et]=r[Et]);const i=Zi(e,De+t);!function XI(e,t){Mp(e,t),t[me]=null,t[Le]=null}(r[v],r);const s=i[Ot];null!==s&&s.detachView(i[v]),r[ve]=null,r[Et]=null,r[T]&=-129}return r}function ds(e,t){if(!(256&t[T])){const n=t[k];n.destroyNode&&gs(e,t,n,3,null,null),function tb(e){let t=e[mo];if(!t)return ml(e[v],e);for(;t;){let n=null;if(Ve(t))n=t[mo];else{const r=t[De];r&&(n=r)}if(!n){for(;t&&!t[Et]&&t!==e;)Ve(t)&&ml(t[v],t),t=t[ve];null===t&&(t=e),Ve(t)&&ml(t[v],t),n=t&&t[Et]}t=n}}(t)}}function ml(e,t){if(!(256&t[T])){t[T]&=-129,t[T]|=256,t[Fn]&&function gf(e){if(or(e),lo(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[ar]=null);const o=t[pn];if(null!==o){t[pn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ct.None||i===Ct.Emulated)return null}return We(r,n)}}(e,t.parent,n)}function Hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ap(e,t,n){e.appendChild(t,n)}function Np(e,t,n,r,o){null!==r?Hn(e,t,n,r,o):Ap(e,t,n)}function fs(e,t){return e.parentNode(t)}let _l,Fp=function Op(e,t,n){return 40&e.type?We(e,n):null};function hs(e,t,n,r){const o=yl(e,r,t),i=t[k],a=function xp(e,t,n){return Fp(e,t,n)}(r.parent||t[Le],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;unull;function Pl(e,t,n=!1){return Xp(e,t,n)}class Wb{}class ng{}class Zb{resolveComponentFactory(t){throw function qb(e){const t=Error(`No component factory found for ${Se(e)}.`);return t.ngComponent=e,t}(t)}}let Is=(()=>{class e{static#e=this.NULL=new Zb}return e})();function Qb(){return Pr(ee(),m())}function Pr(e,t){return new Mt(We(e,t))}let Mt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Qb}return e})();class og{}let $n=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Kb(){const e=m(),n=ut(ee().index,e);return(Ve(n)?n:e)[k]}()}return e})(),Jb=(()=>{class e{static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>null})}return e})();const Ll={};function Bo(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(ie(i)),je(i)&&fg(i,r);const s=n.type;if(8&s)Bo(e,t,n.child,r);else if(32&s){const a=pl(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Rp(t,n);if(Array.isArray(a))r.push(...a);else{const u=kn(t[he]);Bo(u[v],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function fg(e,t){for(let n=De;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{wo(e.lView)},consumerOnSignalRead(){this.lView[Fn]=this}};function pg(e){return mg(e[mo])}function gg(e){return mg(e[Et])}function mg(e){for(;null!==e&&!je(e);)e=e[Et];return e}function Bl(e){return e.ngOriginalError}class tn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Bl(t);for(;n&&Bl(n);)n=Bl(n);return n||null}}const _g=new S("",{providedIn:"root",factory:()=>$(tn).handleError.bind(void 0)}),Dg=new S("",{providedIn:"root",factory:()=>!1}),L={};function V(e=1){Ig(U(),m(),Be()+e,!1)}function Ig(e,t,n,r){if(!r)if(3==(3&t[T])){const i=e.preOrderCheckHooks;null!==i&&$i(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ui(t,i,0,n)}Ln(n)}function C(e,t=H.Default){const n=m();return null===n?G(e,t):kh(ee(),n,A(e),t)}function bg(e,t,n,r,o,i){const s=pe(null);try{let a=null;o&ge.SignalBased&&(a=t[r][rr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&ge.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):ih(t,a,r,i)}finally{pe(s)}}function Ts(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[me]=o,d[T]=204|r,(null!==l||e&&2048&e[T])&&(d[T]|=2048),fh(d),d[ve]=d[ur]=e,d[oe]=n,d[Qt]=s||e&&e[Qt],d[k]=a||e&&e[k],d[ze]=u||e&&e[ze]||null,d[Le]=i,d[_o]=function UI(){return $I++}(),d[It]=c,d[th]=l,d[he]=2==t.type?e[he]:d,d}function Rr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Hl(e,t,n,r,o){const i=yh(),s=Su(),u=e.data[t]=function AM(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function fr(){return null!==x.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function wE(){return x.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Eo(){const e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return kt(i,!0),i}function Ho(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iP&&Ig(e,t,P,!1),Pt(s?2:0,o),n(r,o)}finally{Ln(i),Pt(s?3:1,o)}}function $l(e,t,n){if(_u(t)){const r=pe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Ag(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,u=ge.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Ng(r,n,l,a,u):Ng(r,n,l,a)}return r}function Ng(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Wl(e,t,n,r){if(mh()){const o=null===r?null:{"":-1},i=function VM(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Ho(e,n,o.hostVars,L),o)}function GM(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function fM(e){e.lView[Fn]!==e&&(e.lView=null,hg.push(e))}(a)),Fu()}}function Vg(e,t){for(let n=pg(e);null!==n;n=gg(n))for(let r=De;r-1&&(Fo(t,r),Zi(n,r))}this._attachedToViewContainer=!1}ds(this._lView[v],this._lView)}onDestroy(t){!function ji(e,t){if(256==(256&e[T]))throw new D(911,!1);null===e[pn]&&(e[pn]=[]),e[pn].push(t)}(this._lView,t)}markForCheck(){$o(this._cdRefInjectingView||this._lView)}detach(){this._lView[T]&=-129}reattach(){bu(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,function Kl(e,t=!0){const n=e[Qt],r=n.rendererFactory;r.begin?.();try{!function qM(e){Jl(e,0);let t=0;for(;ph(e);){if(100===t)throw new D(103,!1);t++,Jl(e,1)}}(e)}catch(i){throw t&&Ns(e,i),i}finally{r.end?.(),n.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Mp(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t,bu(this._lView)}}let Xl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=JM}return e})();function JM(e){return function XM(e,t,n){if(Pn(e)&&!n){const r=ut(e.index,t);return new Uo(r,r)}return 47&e.type?new Uo(t[he],t):null}(ee(),m(),16==(16&e))}function tc(e){return t=>{setTimeout(e,void 0,t)}}const Ue=class l0 extends Ja{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=tc(i),o&&(o=tc(o)),s&&(s=tc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Dt&&t.add(a),a}};function $g(...e){}class ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function c0(){const e="function"==typeof re.requestAnimationFrame;let t=re[e?"requestAnimationFrame":"setTimeout"],n=re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function h0(e){const t=()=>{!function f0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,rc(e),e.isCheckStableRunning=!0,nc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),rc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function p0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Ug(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Gg(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ug(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Gg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,rc(e),nc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,d0,$g,$g);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const d0={};function nc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ug(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gg(e){e._nesting--,nc(e)}class zg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Go=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e})}return e})();function _0(e,t){const n=ut(t,e),r=n[v];!function v0(e,t){for(let n=t.length;n0&&Vp(e,n,i.join(" "))}}(f,j,p,r),void 0!==n&&function A0(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=go(o.hostAttrs,n=go(n,o.hostAttrs))}}(r)}function x0(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Os(e){return e===xt?{}:e===W?[]:e}function F0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function P0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function R0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Lr(e,t){return!t||null===t.firstChild||as(e)}function Ko(e,t,n,r=!0){const o=t[v];if(function nb(e,t,n,r){const o=De+r,i=n.length;r>0&&(n[o-1][Et]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=lS}return e})();function lS(){return function dm(e,t){let n;const r=t[e.index];return je(r)?n=r:(n=Fg(r,t,null,e),t[e.index]=n,As(t,n)),fm(n,t,e,r),new lm(n,e,t)}(ee(),m())}const cS=Bt,lm=class extends cS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Ae(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wi(this._hostTNode,this._hostLView);if(ku(t)){const n=Mo(t,this._hostLView),r=bo(t);return new Ae(n[v].data[r+8],n)}return new Ae(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=cm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-De}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Lr(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function So(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const u=s?t:new zo(B(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const g=(s?l:this.parentInjector).get(Xt,null);g&&(i=g)}B(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,Lr(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function dE(e){return je(e[ve])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const u=o[ve],l=new lm(u,u[Le],u[ve]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Ko(s,o,i,r),t.attachToViewContainerRef(),$h(dc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=cm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fo(this._lContainer,n);r&&(Zi(dc(this._lContainer),n),ds(r[v],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fo(this._lContainer,n);return r&&null!=Zi(dc(this._lContainer),n)?new Uo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function cm(e){return e[8]}function dc(e){return e[8]||(e[8]=[])}let fm=function pm(e,t,n,r){if(e[Ft])return;let o;o=8&n.type?ie(r):function dS(e,t){const n=e[k],r=n.createComment(""),o=We(t,e);return Hn(n,fs(n,o),r,function ab(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ft]=o},fc=()=>!1;function Ht(e,t,n){return e[t]=n}function Ee(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zn(e,t,n,r){const o=Ee(e,t,n);return Ee(e,t+1,r)||o}function it(e,t,n,r,o,i,s,a){const u=m(),l=U(),c=e+P,d=l.firstCreatePass?function gS(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Rr(t,e,4,s||null,Rt(l,a));Wl(t,n,c,Rt(l,u)),Hi(t,c);const d=c.tView=zl(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];kt(d,!1);const f=gm(l,u,d,e);Bi()&&hs(l,u,f,d),$e(f,u);const h=Fg(f,u,f,d);return u[c]=h,As(u,h),function hm(e,t,n){return fc(e,t,n)}(h,d,u),Vi(d)&&Ul(l,u,d),null!=s&&Gl(u,d,a),it}let gm=function mm(e,t,n,r){return gn(!0),t[k].createComment("")};function Wr(e,t,n,r,o,i){const a=zn(e,function Kt(){return x.lFrame.bindingIndex}(),n,o);return Jt(2),a?t+F(n)+r+F(o)+i:L}function Us(e,t){return e<<17|t<<2}function wn(e){return e>>17&32767}function Cc(e){return 2|e}function qn(e){return(131068&e)>>2}function wc(e,t){return-131069&e|t<<2}function Ec(e){return 1|e}function Zm(e,t,n,r){const o=e[n+1],i=null===t;let s=r?wn(o):qn(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];XS(e[s],t)&&(a=!0,e[s+1]=r?Ec(l):Cc(l)),s=r?wn(l):qn(l)}a&&(e[n+1]=r?Cc(o):Ec(o))}function XS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wr(e,t)>=0}function q(e,t,n){const r=m();return Ee(r,Lt(),t)&&function dt(e,t,n,r,o,i,s,a){const u=We(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Yl(e,n,c,r,o),Pn(t)&&function OM(e,t){const n=ut(t,e);16&n[T]||(n[T]|=64)}(n,t.index)):3&t.type&&(r=function xM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}(U(),function le(){const e=x.lFrame;return Co(e.tView,e.selectedIndex)}(),r,e,t,r[k],n,!1),q}function Ic(e,t,n,r,o){const s=o?"class":"style";Yl(e,n,t.inputs[s],s,r)}function Gs(e,t){return function St(e,t,n,r){const o=m(),i=U(),s=Jt(2);i.firstUpdatePass&&function ry(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Be()],s=function ny(e,t){return t>=e.expandoStartIndex}(e,n);(function ay(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function uT(e,t,n,r){const o=function Nu(e){const t=x.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=ni(n=bc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=bc(o,e,t,n,r),null===i){let u=function lT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==qn(r))return e[wn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=bc(null,e,t,u[1],r),u=ni(u,t.attrs,r),function cT(e,t,n,r){e[wn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function dT(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):c=n,o)if(0!==u){const f=wn(e[a+1]);e[r+1]=Us(f,a),0!==f&&(e[f+1]=wc(e[f+1],r)),e[a+1]=function QS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Us(a,0),0!==a&&(e[a+1]=wc(e[a+1],r)),a=r;else e[r+1]=Us(u,0),0===a?a=r:e[u+1]=wc(e[u+1],r),u=r;l&&(e[r+1]=Cc(e[r+1])),Zm(e,c,r,!0),Zm(e,c,r,!1),function JS(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&wr(i,t)>=0&&(n[r+1]=Ec(n[r+1]))}(t,c,e,r,i),s=Us(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==L&&Ee(o,s,t)&&function iy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function YS(e){return 1==(1&e)}(l)?sy(u,t,n,o,qn(l),s):void 0;zs(c)||(zs(i)||function ZS(e){return 2==(2&e)}(l)&&(i=sy(u,null,n,o,a,s)),function cb(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:vn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=vn.Important),e.setStyle(n,r,o,i))}}(r,s,Do(Be(),n),o,i))}(i,i.data[Be()],o,o[k],e,o[s+1]=function gT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Se(function Dn(e){return e instanceof Up?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),Gs}function bc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===L&&(f=d?W:void 0);let h=d?Gu(f,r):c===r?f:void 0;if(l&&!zs(h)&&(h=Gu(u,r)),zs(h)&&(a=h,s))return a;const p=e[o+1];o=s?wn(p):qn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Gu(u,r))}return a}function zs(e){return void 0!==e}function w(e,t,n,r){const o=m(),i=U(),s=P+e,a=o[k],u=i.firstCreatePass?function VT(e,t,n,r,o,i){const s=t.consts,u=Rr(t,e,2,r,Rt(s,o));return Wl(t,n,u,Rt(s,i)),null!==u.attrs&&xs(u,u.attrs,!1),null!==u.mergedAttrs&&xs(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=dy(i,o,u,a,t,e);o[s]=l;const c=Vi(u);return kt(u,!0),jp(a,l,u),32!=(32&u.flags)&&Bi()&&hs(i,o,l,u),0===function hE(){return x.lFrame.elementDepthCount}()&&$e(l,o),function pE(){x.lFrame.elementDepthCount++}(),c&&(Ul(i,o,u),$l(i,u,o)),null!==r&&Gl(o,u),w}function E(){let e=ee();Su()?function Tu(){x.lFrame.isParent=!1}():(e=e.parent,kt(e,!1));const t=e;(function mE(e){return x.skipHydrationRootTNode===e})(t)&&function DE(){x.skipHydrationRootTNode=null}(),function gE(){x.lFrame.elementDepthCount--}();const n=U();return n.firstCreatePass&&(Hi(n,e),_u(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function RE(e){return 0!=(8&e.flags)}(t)&&Ic(n,t,m(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function kE(e){return 0!=(16&e.flags)}(t)&&Ic(n,t,m(),t.stylesWithoutHost,!1),E}function Ws(e,t,n,r){return w(e,t,n,r),E(),Ws}let dy=(e,t,n,r,o,i)=>(gn(!0),cs(r,o,function Sh(){return x.lFrame.currentNamespace}()));function yt(){return m()}const Zn=void 0;var zT=["en",[["a","p"],["AM","PM"],Zn],[["AM","PM"],Zn,Zn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zn,"{1} 'at' {0}",Zn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function GT(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let eo={};function Ye(e){const t=function WT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=yy(t);if(n)return n;const r=t.split("-")[0];if(n=yy(r),n)return n;if("en"===r)return zT;throw new D(701,!1)}function yy(e){return e in eo||(eo[e]=re.ng&&re.ng.common&&re.ng.common.locales&&re.ng.common.locales[e]),eo[e]}var se=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(se||{});const to="en-US";let _y=to;function Ks(e){return!!e&&"function"==typeof e.then}function Uy(e){return!!e&&"function"==typeof e.subscribe}function de(e,t,n,r){const o=m(),i=U(),s=ee();return function zy(e,t,n,r,o,i,s){const a=Vi(r),l=e.firstCreatePass&&function kg(e){return e.cleanup||(e.cleanup=[])}(e),c=t[oe],d=function Rg(e){return e[ar]||(e[ar]=[])}(t);let f=!0;if(3&r.type||s){const g=We(r,t),_=s?s(g):g,I=d.length,y=s?O=>s(ie(O[r.index])):r.index;let M=null;if(!s&&a&&(M=function BA(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,f=!1;else{i=qy(r,t,c,i,!1);const O=n.listen(_,o,i);d.push(i,O),l&&l.push(o,y,I,I+1)}}else i=qy(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let _=0;_-1?ut(e.index,t):t);let u=Wy(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Wy(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Z(e=1){return function ME(e){return(x.lFrame.contextLView=function hh(e,t){for(;e>0;)t=t[ur],e--;return t}(e,x.lFrame.contextLView))[oe]}(e)}Symbol;let on=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=qA}return e})();const zA=on,WA=class extends zA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Yo(e,t,n,r){const o=t.tView,a=Ts(e,o,n,4096&e[T]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[yo]=e[t.index];const l=e[Ot];return null!==l&&(a[Ot]=l.createEmbeddedView(o)),oc(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Uo(o)}};function qA(){return function Js(e,t){return 4&e.type?new WA(t,e,Pr(e,t)):null}(ee(),m())}function b(e,t=""){const n=m(),r=U(),o=e+P,i=r.firstCreatePass?Rr(r,o,1,t,null):r.data[o],s=y_(r,n,i,t,e);n[o]=s,Bi()&&hs(r,n,s,i),kt(i,!1)}let y_=(e,t,n,r,o)=>(gn(!0),function ls(e,t){return e.createText(t)}(t[k],r));function sn(e){return En("",e,""),sn}function En(e,t,n){const r=m(),o=function zr(e,t,n,r){return Ee(e,Lt(),n)?t+F(n)+r:L}(r,e,t,n);return o!==L&&nn(r,Be(),o),En}function Gt(e,t,n,r,o){const i=m(),s=Wr(i,e,t,n,r,o);return s!==L&&nn(i,Be(),s),Gt}function Hc(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i>20;if(jn(e)||!e.multi){const h=new Io(l,o,C),p=Uc(u,t,o?c:c+f,d);-1===p?(ju(zi(a,s),i,u),$c(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Uc(u,t,c+f,d),p=Uc(u,t,c,c+f),_=p>=0&&n[p];if(o&&!_||!o&&!(h>=0&&n[h])){ju(zi(a,s),i,u);const I=function DN(e,t,n,r,o){const i=new Io(e,n,C);return i.multi=[],i.index=t,i.componentProviders=0,b_(i,o,r&&!n),i}(o?vN:_N,n.length,o,r,l);!o&&_&&(n[p].providerFactory=I),$c(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else $c(i,e,h>-1?h:p,b_(n[o?p:h],l,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function $c(e,t,n,r){const o=jn(t),i=function pI(e){return!!e.useClass}(t);if(o||i){const u=(i?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function b_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Uc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function yN(e,t,n){const r=U();if(r.firstCreatePass){const o=bt(e);Hc(n,r.data,r.blueprint,o,!0),Hc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Qn{}class CN{}class zc extends Qn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yg(this);const o=function ke(e,t){const n=e[Ff]||null;if(!n&&!0===t)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function ct(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=op(t,n,[{provide:Qn,useValue:this},{provide:Is,useValue:this.componentFactoryResolver},...r],Se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Wc extends CN{constructor(t){super(),this.moduleType=t}create(t){return new zc(this.moduleType,t,[])}}function ui(e,t){const n=e[t];return n===L?void 0:n}function V_(e,t,n,r,o,i,s,a,u){const l=t+n;return function gt(e,t,n,r,o,i){const s=zn(e,t,n,r);return zn(e,t+2,o,i)||s}(e,l,o,i,s,a)?Ht(e,l+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):ui(e,l+4)}function ae(e,t){const n=U();let r;const o=e+P;n.firstCreatePass?(r=function qN(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Rn(r.type)),a=tt(C);try{const u=Gi(!1),l=i();return Gi(u),function oN(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,m(),o,l),l}finally{tt(a)}}function an(e,t,n,r){const o=e+P,i=m(),s=dr(i,o);return li(i,o)?function k_(e,t,n,r,o,i,s){const a=t+n;return zn(e,a,o,i)?Ht(e,a+2,s?r.call(s,o,i):r(o,i)):ui(e,a+2)}(i,Qe(),t,s.transform,n,r,s):s.transform(n,r)}function Pe(e,t,n,r,o,i){const s=e+P,a=m(),u=dr(a,s);return li(a,s)?V_(a,Qe(),t,u.transform,n,r,o,i,u):u.transform(n,r,o,i)}function li(e,t){return e[v].data[t].pure}let Jc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new mw(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iv=new S(""),oa=new S("");let nd,ed=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,nd||(function qx(e){nd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(G(ce),G(td),G(oa))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})(),td=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return nd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Zx=new S("Application Initializer");let rd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=$(Zx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ks(i))n.push(i);else if(Uy(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const sv=new S("appBootstrapListener");function lv(e,t){return Array.isArray(t)?t.reduce(lv,e):{...e,...t}}let oo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$(_g),this.afterRenderEffectManager=$(Go),this.componentTypes=[],this.components=[],this.isStable=$(Jc).hasPendingTasks.pipe(tu(n=>!n)),this._injector=$(Xt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ng;if(!this._injector.get(rd).done)throw!o&&function On(e){const t=B(e)||Te(e)||Re(e);return null!==t&&t.standalone}(n),new D(405,!1);let s;s=o?n:this._injector.get(Is).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function Yx(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Qn),l=s.create(pt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(iv,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),ia(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ia(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(sv,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ia(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ia(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Jx=(()=>{class e{constructor(){this.zone=$(ce),this.applicationRef=$(oo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xx(){const e=$(ce),t=$(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let t1=(()=>{class e{constructor(){this.subscription=new Dt,this.initialized=!1,this.zone=$(ce),this.pendingTasks=$(Jc)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const un=new S("LocaleId",{providedIn:"root",factory:()=>$(un,H.Optional|H.SkipSelf)||function n1(){return typeof $localize<"u"&&$localize.locale||to}()}),r1=new S("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),od=new S("PlatformDestroyListeners");let hv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function g0(e="zone.js",t){return"noop"===e?new zg:"zone.js"===e?new ce(t):e}(r?.ngZone,function fv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function EN(e,t,n){return new zc(e,t,n)}(n.moduleType,this.injector,function dv(e){return[{provide:ce,useFactory:e},{provide:Ir,multi:!0,useFactory:()=>{const t=$(Jx,{optional:!0});return()=>t.initialize()}},{provide:Ir,multi:!0,useFactory:()=>{const t=$(t1);return()=>{t.initialize()}}},{provide:_g,useFactory:Xx}]}(()=>o)),s=i.injector.get(tn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{ia(this._modules,i),a.unsubscribe()})}),function uv(e,t,n){try{const r=n();return Ks(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(rd);return a.runInitializers(),a.donePromise.then(()=>(function vy(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(_y=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(un,to)||to),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=lv({},r);return function Qx(e,t,n){const r=new Wc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(oo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(od,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(G(pt))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),In=null;const pv=new S("AllowMultipleToken");function gv(e,t,n=[]){const r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=id();if(!s||s.injector.get(pv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function i1(e){if(In&&!In.get(pv,!1))throw new D(400,!1);(function av(){!function XC(e){_f=e}(()=>{throw new D(600,!1)})})(),In=e;const t=e.get(hv);(function yv(e){e.get(sp,null)?.forEach(n=>n())})(e)}(function mv(e=[],t){return pt.create({name:t,providers:[{provide:Xu,useValue:"platform"},{provide:od,useValue:new Set([()=>In=null])},...e]})}(a,r))}return function s1(e){const t=id();if(!t)throw new D(401,!1);return t}()}}function id(){return In?.get(hv)??null}const f1=gv(null,"core",[]);let h1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(G(oo))};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({})}return e})();let hd=null;function pi(){return hd}class $1{}const Kn=new S("DocumentToken"),Hv={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var pa=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(pa||{}),we=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(we||{});function _t(e,t){const n=Ye(e),r=n[se.NumberSymbols][t];if(typeof r>"u"){if(t===we.CurrencyDecimal)return n[se.NumberSymbols][we.Decimal];if(t===we.CurrencyGroup)return n[se.NumberSymbols][we.Group]}return r}function pd(e,t){return Ye(e)[se.NumberFormats][t]}const yO=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Wv=22,Ea=".",mi="0",_O=";",vO=",",_d="#";function vd(e,t,n,r,o,i,s=!1){let a="",u=!1;if(isFinite(e)){let l=function bO(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(Ea))>-1&&(t=t.replace(Ea,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===mi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===mi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Wv&&(r=r.splice(0,Wv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function IO(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const y=i.match(yO);if(null===y)throw new Error(`${i} is not a valid digit info`);const M=y[1],O=y[3],j=y[5];null!=M&&(c=Cd(M)),null!=O&&(d=Cd(O)),null!=j?f=Cd(j):null!=O&&d>f&&(f=d)}!function MO(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=l?p.pop():u=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const g=l.exponent;let _=[];for(u=h.every(y=>!y);p0?_=h.splice(p,h.length):(_=h,h=[0]);const I=[];for(h.length>=t.lgSize&&I.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)I.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&I.unshift(h.join("")),a=I.join(_t(n,r)),_.length&&(a+=_t(n,o)+_.join("")),g&&(a+=_t(n,we.Exponential)+"+"+g)}else a=_t(n,we.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Dd(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(_O),o=r[0],i=r[1],s=-1!==o.indexOf(Ea)?o.split(Ea):[o.substring(0,o.lastIndexOf(mi)+1),o.substring(o.lastIndexOf(mi)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(_d));for(let c=0;c{class e{constructor(n,r){this._viewContainer=n,this._context=new FO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Xv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Xv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(Bt),C(on))};static#t=this.\u0275dir=R({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class FO{constructor(){this.$implicit=null,this.ngIf=null}}function Xv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Se(t)}'.`)}function Nt(e,t){return new D(2100,!1)}let nD=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!Md(n))return null;o=o||this._locale;try{return function wO(e,t,n){return vd(e,Dd(pd(t,pa.Percent),_t(t,we.MinusSign)),t,we.Group,we.Decimal,n,!0).replace(new RegExp("%","g"),_t(t,we.PercentSign))}(Sd(n),o,r)}catch(i){throw Nt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(un,16))};static#t=this.\u0275pipe=nt({name:"percent",type:e,pure:!0,standalone:!0})}return e})(),rD=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!Md(n))return null;s=s||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function tO(e,t,n="en"){const r=function K1(e){return Ye(e)[se.Currencies]}(n)[e]||Hv[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function CO(e,t,n,r,o){const s=Dd(pd(t,pa.Currency),_t(t,we.MinusSign));return s.minFrac=function rO(e){let t;const n=Hv[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,vd(e,s,t,we.CurrencyGroup,we.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(Sd(n),s,a,r,i)}catch(u){throw Nt()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(un,16),C(r1,16))};static#t=this.\u0275pipe=nt({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function Md(e){return!(null==e||""===e||e!=e)}function Sd(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let rF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({})}return e})();function iD(e){return"server"===e}class xF extends $1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Nd extends xF{static makeCurrent(){!function H1(e){hd||(hd=e)}(new Nd)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function OF(){return _i=_i||document.querySelector("base"),_i?_i.getAttribute("href"):null}();return null==n?null:function FF(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){_i=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function TO(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let _i=null,RF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const xd=new S("EventManagerPlugins");let lD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(G(xd),G(ce))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class cD{constructor(t){this._doc=t}}const Od="ng-app-id";let dD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=iD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Od}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Od),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Od,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(G(Kn),G(rs),G(ap,8),G(Sr))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const Fd={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/"},Pd=/%COMP%/g,jF=new S("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function hD(e,t){return t.map(n=>n.replace(Pd,e))}let pD=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=iD(a),this.defaultRenderer=new Rd(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ct.ShadowDom&&(r={...r,encapsulation:Ct.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof mD?o.applyToHost(n):o instanceof kd&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ct.Emulated:i=new mD(u,l,r,this.appId,c,s,a,d);break;case Ct.ShadowDom:return new UF(u,l,n,r,s,a,this.nonce,d);default:i=new kd(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(G(lD),G(dD),G(rs),G(jF),G(Kn),G(Sr),G(ce),G(ap))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();class Rd{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Fd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(gD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(gD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Fd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Fd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(vn.DashCase|vn.Important)?t.style.setProperty(n,r,o&vn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&vn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=pi().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function gD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class UF extends Rd{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=hD(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class kd extends Rd{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?hD(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mD extends kd{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function BF(e){return"_ngcontent-%COMP%".replace(Pd,e)}(l),this.hostAttr=function HF(e){return"_nghost-%COMP%".replace(Pd,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let GF=(()=>{class e extends cD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(G(Kn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const yD=["alt","control","meta","shift"],zF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},WF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let qF=(()=>{class e extends cD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pi().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),yD.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=zF[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),yD.forEach(s=>{s!==o&&(0,WF[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(G(Kn))};static#t=this.\u0275prov=z({token:e,factory:e.\u0275fac})}return e})();const KF=gv(f1,"browser",[{provide:Sr,useValue:"browser"},{provide:sp,useValue:function ZF(){Nd.makeCurrent()},multi:!0},{provide:Kn,useFactory:function YF(){return function TI(e){il=e}(document),document},deps:[]}]),JF=new S(""),DD=[{provide:oa,useClass:class PF{addToWindow(t){re.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new D(5103,!1);return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?pi().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:iv,useClass:ed,deps:[ce,td,oa]},{provide:ed,useClass:ed,deps:[ce,td,oa]}],CD=[{provide:Xu,useValue:"root"},{provide:tn,useFactory:function QF(){return new tn},deps:[]},{provide:xd,useClass:GF,multi:!0,deps:[Kn,ce,Sr]},{provide:xd,useClass:qF,multi:!0,deps:[Kn]},pD,dD,lD,{provide:og,useExisting:pD},{provide:class uF{},useClass:RF,deps:[]},[]];let XF=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:rs,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(G(JF,12))};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({providers:[...CD,...DD],imports:[rF,h1]})}return e})();function Mn(e){return this instanceof Mn?(this.v=e,this):new Mn(e)}function TD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Hd(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}typeof window<"u"&&window,"function"==typeof SuppressedError&&SuppressedError;const AD=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ND(e){return Fe(e?.then)}function xD(e){return Fe(e[Ka])}function OD(e){return Symbol.asyncIterator&&Fe(e?.[Symbol.asyncIterator])}function FD(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const PD=function SP(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function RD(e){return Fe(e?.[PD])}function kD(e){return function SD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Mn(n.read());if(o)return yield Mn(void 0);yield yield Mn(r)}}finally{n.releaseLock()}})}function LD(e){return Fe(e?.getReader)}function Ma(e){if(e instanceof ht)return e;if(null!=e){if(xD(e))return function TP(e){return new ht(t=>{const n=e[Ka]();if(Fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(AD(e))return function AP(e){return new ht(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,bf)})}(e);if(OD(e))return VD(e);if(RD(e))return function xP(e){return new ht(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(LD(e))return function OP(e){return VD(kD(e))}(e)}throw FD(e)}function VD(e){return new ht(t=>{(function FP(e,t){var n,r,o,i;return function bD(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=TD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Jn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function jD(e,t=0){return Xa((n,r)=>{n.subscribe(eu(r,o=>Jn(r,e,()=>r.next(o),t),()=>Jn(r,e,()=>r.complete(),t),o=>Jn(r,e,()=>r.error(o),t)))})}function BD(e,t=0){return Xa((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function HD(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(n=>{Jn(n,t,()=>{const r=e[Symbol.asyncIterator]();Jn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}const{isArray:HP}=Array,{getPrototypeOf:$P,prototype:UP,keys:GP}=Object;const{isArray:ZP}=Array;function KP(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function JP(...e){const t=function qP(e){return Fe(function $d(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:n,keys:r}=function zP(e){if(1===e.length){const t=e[0];if(HP(t))return{args:t,keys:null};if(function WP(e){return e&&"object"==typeof e&&$P(e)===UP}(t)){const n=GP(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new ht(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?KP(r,a):a),i.complete())}))}});return t?o.pipe(function YP(e){return tu(t=>function QP(e,t){return ZP(t)?e(...t):e(t)}(e,t))}(t)):o}let $D=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(C($n),C(Mt))};static#t=this.\u0275dir=R({type:e})}return e})(),Xn=(()=>{class e extends $D{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=He(e)))(o||e)}})();static#t=this.\u0275dir=R({type:e,features:[X]})}return e})();const zt=new S("NgValueAccessor"),eR={provide:zt,useExisting:ne(()=>Sa),multi:!0},nR=new S("CompositionEventMode");let Sa=(()=>{class e extends $D{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function tR(){const e=pi()?pi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C($n),C(Mt),C(nR,8))};static#t=this.\u0275dir=R({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(r,o){1&r&&de("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[fe([eR]),X]})}return e})();const Ge=new S("NgValidators"),Tn=new S("NgAsyncValidators");function XD(e){return null!=e}function eC(e){return Ks(e)?function BP(e,t){return t?function jP(e,t){if(null!=e){if(xD(e))return function PP(e,t){return Ma(e).pipe(BD(t),jD(t))}(e,t);if(AD(e))return function kP(e,t){return new ht(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ND(e))return function RP(e,t){return Ma(e).pipe(BD(t),jD(t))}(e,t);if(OD(e))return HD(e,t);if(RD(e))return function LP(e,t){return new ht(n=>{let r;return Jn(n,t,()=>{r=e[PD](),Jn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Fe(r?.return)&&r.return()})}(e,t);if(LD(e))return function VP(e,t){return HD(kD(e),t)}(e,t)}throw FD(e)}(e,t):Ma(e)}(e):e}function tC(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function nC(e,t){return t.map(n=>n(e))}function rC(e){return e.map(t=>function oR(e){return!e.validate}(t)?t:n=>t.validate(n))}function Ud(e){return null!=e?function oC(e){if(!e)return null;const t=e.filter(XD);return 0==t.length?null:function(n){return tC(nC(n,t))}}(rC(e)):null}function Gd(e){return null!=e?function iC(e){if(!e)return null;const t=e.filter(XD);return 0==t.length?null:function(n){return JP(nC(n,t).map(eC)).pipe(tu(tC))}}(rC(e)):null}function sC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function zd(e){return e?Array.isArray(e)?e:[e]:[]}function Aa(e,t){return Array.isArray(e)?e.includes(t):e===t}function lC(e,t){const n=zd(t);return zd(e).forEach(o=>{Aa(n,o)||n.push(o)}),n}function cC(e,t){return zd(t).filter(n=>!Aa(e,n))}class dC{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ud(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Gd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Xe extends dC{get formDirective(){return null}get path(){return null}}class An extends dC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class fC{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let hC=(()=>{class e extends fC{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(C(An,2))};static#t=this.\u0275dir=R({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Gs("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:[X]})}return e})();const Di="VALID",xa="INVALID",ao="PENDING",Ci="DISABLED";function Oa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class yC{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Di}get invalid(){return this.status===xa}get pending(){return this.status==ao}get disabled(){return this.status===Ci}get enabled(){return this.status!==Ci}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(lC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(lC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(cC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(cC(t,this._rawAsyncValidators))}hasValidator(t){return Aa(this._rawValidators,t)}hasAsyncValidator(t){return Aa(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ao,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ci,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Di,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Di||this.status===ao)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ci:Di}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ao,this._hasOwnPendingAsyncValidator=!0;const n=eC(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ue,this.statusChanges=new Ue}_calculateStatus(){return this._allControlsDisabled()?Ci:this.errors?xa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ao)?ao:this._anyControlsHaveStatus(xa)?xa:Di}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Oa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function lR(e){return Array.isArray(e)?Ud(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function cR(e){return Array.isArray(e)?Gd(e):e||null}(this._rawAsyncValidators)}}const uo=new S("CallSetDisabledState",{providedIn:"root",factory:()=>Fa}),Fa="always";function wi(e,t,n=Fa){(function Kd(e,t){const n=function aC(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(sC(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function uC(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(sC(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ka(t._rawValidators,o),ka(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function hR(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&_C(e,t)})}(e,t),function gR(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function pR(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&_C(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function fR(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ka(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function _C(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function CC(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const EC=class extends yC{constructor(t=null,n,r){super(function Zd(e){return(Oa(e)?e.validators:e)||null}(n),function Qd(e,t){return(Oa(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Oa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=wC(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){CC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){CC(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){wC(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},ER={provide:An,useExisting:ne(()=>nf)},MC=Promise.resolve();let nf=(()=>{class e extends An{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new EC,this._registered=!1,this.name="",this.update=new Ue,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function ef(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Sa?n=i:function _R(e){return Object.getPrototypeOf(e.constructor)===Xn}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Xd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){MC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function fd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);MC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Pa(e,t){return[...t.path,e]}(n,this._parent):[n]}static#e=this.\u0275fac=function(r){return new(r||e)(C(Xe,9),C(Ge,10),C(Tn,10),C(zt,10),C(Xl,8),C(uo,8))};static#t=this.\u0275dir=R({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[ge.None,"disabled","isDisabled"],model:[ge.None,"ngModel","model"],options:[ge.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[fe([ER]),X,Yt]})}return e})(),TC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({})}return e})();const PR={provide:zt,useExisting:ne(()=>Va),multi:!0};function RC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Va=(()=>{class e extends Xn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=RC(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function RR(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=He(e)))(o||e)}})();static#t=this.\u0275dir=R({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&de("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[fe([PR]),X]})}return e})(),kC=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(RC(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mt),C($n),C(Va,9))};static#t=this.\u0275dir=R({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const kR={provide:zt,useExisting:ne(()=>af),multi:!0};function LC(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let af=(()=>{class e extends Xn{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let n;return function(o){return(n||(n=He(e)))(o||e)}})();static#t=this.\u0275dir=R({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&de("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[fe([kR]),X]})}return e})(),VC=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(LC(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(LC(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(C(Mt),C($n),C(af,9))};static#t=this.\u0275dir=R({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),WR=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({imports:[TC]})}return e})(),ZR=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:uo,useValue:n.callSetDisabledState??Fa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=hn({type:e});static#n=this.\u0275inj=qt({imports:[WR]})}return e})();function QR(e,t){if(1&e){const n=yt();w(0,"button",20),de("click",function(){return qe(n),Ze(Z(2).toggleSelfEmploymentIncome())}),b(1,"Add"),E()}2&e&&q("disabled",Z(2).taxesCalculated)}function YR(e,t){if(1&e){const n=yt();w(0,"input",17),de("ngModelChange",function(o){return qe(n),Ze(Z(2).self_employment_income=o)}),E()}if(2&e){const n=Z(2);q("disabled",n.taxesCalculated)("ngModel",n.self_employment_income)}}function KR(e,t){if(1&e){const n=yt();w(0,"button",20),de("click",function(){return qe(n),Ze(Z(2).toggleRetirementContributions())}),b(1,"Add"),E()}2&e&&q("disabled",Z(2).taxesCalculated)}function JR(e,t){if(1&e){const n=yt();w(0,"input",17),de("ngModelChange",function(o){return qe(n),Ze(Z(2).traditional_retirement_contributions=o)}),E()}if(2&e){const n=Z(2);q("disabled",n.taxesCalculated)("ngModel",n.traditional_retirement_contributions)}}function XR(e,t){if(1&e){const n=yt();w(0,"button",20),de("click",function(){return qe(n),Ze(Z(2).toggleHSAContributions())}),b(1,"Add"),E()}2&e&&q("disabled",Z(2).taxesCalculated)}function ek(e,t){if(1&e){const n=yt();w(0,"input",17),de("ngModelChange",function(o){return qe(n),Ze(Z(2).hsa_contributions=o)}),E()}if(2&e){const n=Z(2);q("disabled",n.taxesCalculated)("ngModel",n.hsa_contributions)}}function tk(e,t){if(1&e){const n=yt();w(0,"button",20),de("click",function(){return qe(n),Ze(Z(2).toggleInsurancePremiums())}),b(1,"Add"),E()}2&e&&q("disabled",Z(2).taxesCalculated)}function nk(e,t){if(1&e){const n=yt();w(0,"input",17),de("ngModelChange",function(o){return qe(n),Ze(Z(2).insurance_premiums=o)}),E()}if(2&e){const n=Z(2);q("disabled",n.taxesCalculated)("ngModel",n.insurance_premiums)}}function rk(e,t){if(1&e){const n=yt();w(0,"div")(1,"div",13)(2,"div",14)(3,"h3"),b(4,"Tax Year"),E()(),w(5,"div",9)(6,"select",15),de("ngModelChange",function(o){return qe(n),Ze(Z().tax_year=o)}),w(7,"option",16),b(8,"2024"),E(),w(9,"option"),b(10,"2023"),E(),w(11,"option"),b(12,"2022"),E()()()(),w(13,"div",13)(14,"div",14)(15,"h3"),b(16,"Filing Status"),E()(),w(17,"div",9)(18,"select",15),de("ngModelChange",function(o){return qe(n),Ze(Z().filing_status=o)}),w(19,"option"),b(20,"Single"),E(),w(21,"option"),b(22,"Married Filing Jointly"),E(),w(23,"option"),b(24,"Married Filing Separately"),E()()()(),w(25,"div",13)(26,"div",14)(27,"h3"),b(28,"Gross Income"),E()(),w(29,"div",9)(30,"input",17),de("ngModelChange",function(o){return qe(n),Ze(Z().gross_income=o)}),E()()(),w(31,"div",13)(32,"div",14)(33,"h3"),b(34,"State"),E()(),w(35,"div",9)(36,"select",15),de("ngModelChange",function(o){return qe(n),Ze(Z().filing_state=o)}),w(37,"option"),b(38,"WV"),E()()()(),w(39,"div",13)(40,"div",14)(41,"h3"),b(42,"Self Employment Income"),E()(),w(43,"div",9),it(44,QR,2,1,"button",18)(45,YR,1,2,"input",19),E()(),w(46,"div",13)(47,"div",14)(48,"h3"),b(49,"401K (Traditional)"),E()(),w(50,"div",9),it(51,KR,2,1,"button",18)(52,JR,1,2,"input",19),E()(),w(53,"div",13)(54,"div",14)(55,"h3"),b(56,"HSA Contributions"),E()(),w(57,"div",9),it(58,XR,2,1,"button",18)(59,ek,1,2,"input",19),E()(),w(60,"div",13)(61,"div",14)(62,"h3"),b(63,"Insurance Premiums"),E()(),w(64,"div",9),it(65,tk,2,1,"button",18)(66,nk,1,2,"input",19),E()()()}if(2&e){const n=Z();V(6),q("disabled",n.taxesCalculated)("ngModel",n.tax_year),V(12),q("disabled",n.taxesCalculated)("ngModel",n.filing_status),V(12),q("disabled",n.taxesCalculated)("ngModel",n.gross_income),V(6),q("disabled",!0)("ngModel",n.filing_state),V(8),q("ngIf",!n.hasSelfEmploymentIncome),V(),q("ngIf",n.hasSelfEmploymentIncome),V(6),q("ngIf",!n.hasRetirementContributions),V(),q("ngIf",n.hasRetirementContributions),V(6),q("ngIf",!n.hasHSAContributions),V(),q("ngIf",n.hasHSAContributions),V(6),q("ngIf",!n.hasInsurancePremiums),V(),q("ngIf",n.hasInsurancePremiums)}}function ok(e,t){if(1&e){const n=yt();w(0,"div",21)(1,"div",22)(2,"button",23),de("click",function(){return qe(n),Ze(Z().calculateTaxes())}),b(3,"Calculate Taxes"),E()()()}if(2&e){const n=Z();V(2),q("disabled",!(n.tax_year&&n.gross_income&&n.filing_status&&n.filing_state))}}function ik(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"Self Employment Income: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),E()()()()),2&e){const n=Z(2);V(7),sn(Pe(8,1,n.self_employment_income,"USD","symbol","1.0-0"))}}function sk(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"Trad. 401k Deduction: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),E()()()()),2&e){const n=Z(2);V(7),En("-",Pe(8,1,n.traditional_retirement_contributions,"USD","symbol","1.0-0"),"")}}function ak(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"HSA Deduction: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),E()()()()),2&e){const n=Z(2);V(7),En("-",Pe(8,1,n.hsa_contributions,"USD","symbol","1.0-0"),"")}}function uk(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"Insurance Premiums: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),E()()()()),2&e){const n=Z(2);V(7),En("-",Pe(8,1,n.insurance_premiums,"USD","symbol","1.0-0"),"")}}function lk(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"401k Contributions: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),ae(9,"percent"),E()()()()),2&e){const n=Z(2);let r;V(7),Gt("-",Pe(8,2,n.traditional_retirement_contributions,"USD","symbol","1.0-0")," (",an(9,7,(null!==(r=n.traditional_retirement_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function ck(e,t){if(1&e&&(w(0,"div",26)(1,"div",27)(2,"div",9)(3,"h3"),b(4,"HSA Contributions: "),E()(),w(5,"div",9)(6,"h3"),b(7),ae(8,"currency"),ae(9,"percent"),E()()()()),2&e){const n=Z(2);let r;V(7),Gt("-",Pe(8,2,n.hsa_contributions,"USD","symbol","1.0-0")," (",an(9,7,(null!==(r=n.hsa_contributions)&&void 0!==r?r:0)/(null!==(r=n.gross_income)&&void 0!==r?r:0),"1.2-2"),")")}}function dk(e,t){if(1&e){const n=yt();w(0,"div",24)(1,"div",22)(2,"h2",25),b(3,"Taxable Income:"),E(),w(4,"div",26)(5,"div",27)(6,"div",9)(7,"h3"),b(8,"Gross Income: "),E()(),w(9,"div",9)(10,"h3"),b(11),ae(12,"currency"),E()()()(),it(13,ik,9,6,"div",28),w(14,"h2",25),b(15,"Deductions:"),E(),w(16,"div",26)(17,"div",27)(18,"div",9)(19,"h3"),b(20,"Standard Deduction: "),E()(),w(21,"div",9)(22,"h3"),b(23),ae(24,"currency"),E()()()(),it(25,sk,9,6,"div",28)(26,ak,9,6,"div",28)(27,uk,9,6,"div",28),w(28,"h2",25),b(29,"Taxable Income:"),E(),w(30,"div",26)(31,"div",27)(32,"div",9)(33,"h3"),b(34,"Taxable Income: "),E()(),w(35,"div",9)(36,"h3"),b(37),ae(38,"currency"),E()()()(),Ws(39,"hr"),w(40,"h2",25),b(41,"Estimated Taxes:"),E(),w(42,"div",26)(43,"div",27)(44,"div",9)(45,"h3"),b(46,"Federal Taxes: "),E()(),w(47,"div",9)(48,"h3"),b(49),ae(50,"currency"),ae(51,"percent"),E()()()(),w(52,"div",26)(53,"div",27)(54,"div",9)(55,"h3"),b(56,"State Taxes: "),E()(),w(57,"div",9)(58,"h3"),b(59),ae(60,"currency"),ae(61,"percent"),E()()()(),w(62,"div",26)(63,"div",27)(64,"div",9)(65,"h3"),b(66,"Social Security Taxes: "),E()(),w(67,"div",9)(68,"h3"),b(69),ae(70,"currency"),ae(71,"percent"),E()()()(),w(72,"div",26)(73,"div",27)(74,"div",9)(75,"h3"),b(76,"Medicare Taxes: "),E()(),w(77,"div",9)(78,"h3"),b(79),ae(80,"currency"),ae(81,"percent"),E()()()(),w(82,"div",29)(83,"div",27)(84,"div",9)(85,"h3"),b(86,"Employer FICA Contrubtions: "),E()(),w(87,"div",9)(88,"h3"),b(89),ae(90,"currency"),E()()()(),Ws(91,"hr"),w(92,"h2",25),b(93,"Summary Breakdown:"),E(),w(94,"div",26)(95,"div",27)(96,"div",9)(97,"h3"),b(98,"Total Income: "),E()(),w(99,"div",9)(100,"h3"),b(101),ae(102,"currency"),E()()()(),w(103,"div",26)(104,"div",27)(105,"div",9)(106,"h3"),b(107,"Total Taxes: "),E()(),w(108,"div",9)(109,"h3"),b(110),ae(111,"currency"),ae(112,"percent"),E()()()(),it(113,lk,10,10,"div",28)(114,ck,10,10,"div",28),w(115,"div",26)(116,"div",27)(117,"div",9)(118,"h3"),b(119,"Net Income: "),E()(),w(120,"div",9)(121,"h3"),b(122),ae(123,"currency"),ae(124,"percent"),E()()()(),w(125,"button",30),de("click",function(){return qe(n),Ze(Z().resetData())}),b(126,"Reset"),E()()()}if(2&e){const n=Z();let r,o,i,s,a,u;V(11),sn(Pe(12,23,n.gross_income,"USD","symbol","1.0-0")),V(2),q("ngIf",n.self_employment_income),V(10),En("-",Pe(24,28,n.standard_deduction,"USD","symbol","1.0-0"),""),V(2),q("ngIf",n.hasRetirementContributions),V(),q("ngIf",n.hasHSAContributions),V(),q("ngIf",n.hasInsurancePremiums),V(10),sn(Pe(38,33,n.taxable_income,"USD","symbol","1.0-0")),V(12),Gt("",Pe(50,38,n.estimated_taxes,"USD","symbol","1.0-0")," (",an(51,43,(null!==(r=n.estimated_taxes)&&void 0!==r?r:0)/(null!==(r=n.taxable_income)&&void 0!==r?r:0),"1.2-2"),")"),V(10),Gt("",Pe(60,46,n.estimated_state_taxes,"USD","symbol","1.0-0")," (",an(61,51,(null!==(o=n.estimated_state_taxes)&&void 0!==o?o:0)/(null!==(o=n.taxable_income)&&void 0!==o?o:0),"1.2-2"),")"),V(10),Gt("",Pe(70,54,n.estimated_social_security_taxes,"USD","symbol","1.0-0")," (",an(71,59,(null!==(i=n.estimated_social_security_taxes)&&void 0!==i?i:0)/(null!==(i=n.gross_income)&&void 0!==i?i:0),"1.2-2"),")"),V(10),Gt("",Pe(80,62,n.estimated_medicare_taxes,"USD","symbol","1.0-0")," (",an(81,67,(null!==(s=n.estimated_medicare_taxes)&&void 0!==s?s:0)/(null!==(s=n.gross_income)&&void 0!==s?s:0),"1.2-2"),")"),V(10),En("-",Pe(90,70,n.estimated_employer_fica_contribution,"USD","symbol","1.0-0"),""),V(12),sn(Pe(102,75,n.gross_income,"USD","symbol","1.0-0")),V(9),Gt("-",Pe(111,80,n.estimated_total_taxes,"USD","symbol","1.0-0")," (",an(112,85,(null!==(a=n.estimated_total_taxes)&&void 0!==a?a:0)/(null!==(a=n.gross_income)&&void 0!==a?a:0),"1.2-2"),")"),V(3),q("ngIf",n.hasRetirementContributions),V(),q("ngIf",n.hasHSAContributions),V(8),Gt("",Pe(123,88,n.estimated_net_income,"USD","symbol","1.0-0")," (",an(124,93,(null!==(u=n.estimated_net_income)&&void 0!==u?u:0)/(null!==(u=n.gross_income)&&void 0!==u?u:0),"1.2-2"),")")}}let fk=(()=>{class e{constructor(){this.taxesCalculated=!1,this.hasSelfEmploymentIncome=!1,this.hasRetirementContributions=!1,this.hasHSAContributions=!1,this.hasInsurancePremiums=!1}ngOnInit(){this.filing_state="WV",this.tax_year=2024}updateStandardDeduction(){if(2024==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=14600;break;case"Married Filing Jointly":this.standard_deduction=29200}if(2023==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=13850;break;case"Married Filing Jointly":this.standard_deduction=27700}if(2022==this.tax_year)switch(this.filing_status){case"Single":case"Married Filing Separately":this.standard_deduction=12950;break;case"Married Filing Jointly":this.standard_deduction=25900}}updateTaxableIncome(){this.gross_income&&this.standard_deduction&&(this.self_employment_income?(this.taxable_income=+this.gross_income+ +this.self_employment_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=+this.gross_income+ +this.self_employment_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)):(this.taxable_income=this.gross_income-this.standard_deduction-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0),this.state_taxable_income=this.gross_income-2e3-(this.traditional_retirement_contributions??0)-(this.hsa_contributions??0)-(this.insurance_premiums??0)))}toggleSelfEmploymentIncome(){this.hasSelfEmploymentIncome=!0}toggleRetirementContributions(){this.hasRetirementContributions=!0}toggleHSAContributions(){this.hasHSAContributions=!0}toggleInsurancePremiums(){this.hasInsurancePremiums=!0}calculateTaxes(){if(this.updateStandardDeduction(),this.updateTaxableIncome(),console.log(this.gross_income),console.log(this.standard_deduction),console.log(this.taxable_income),console.log(this.gross_income),console.log(this.state_taxable_income),console.log(this.filing_status),console.log(this.tax_year),console.log(this.self_employment_income),this.taxable_income){if(this.hasSelfEmploymentIncome&&!this.self_employment_income&&(this.hasSelfEmploymentIncome=!1),this.hasRetirementContributions&&!this.traditional_retirement_contributions&&(this.hasRetirementContributions=!1),this.hasHSAContributions&&!this.hsa_contributions&&(this.hasHSAContributions=!1),this.hasInsurancePremiums&&!this.insurance_premiums&&(this.hasInsurancePremiums=!1),this.taxesCalculated=!0,this.calculateStateTaxes(),this.calculateFica(),2024==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11600))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1160,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11600)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4266,!(this.taxable_income>100525))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-47149)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11743,!(this.taxable_income>191950))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-100525)),void this.calculateTotalTaxes();this.estimated_taxes+=21942}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2023==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>11e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1100,!(this.taxable_income>44725))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-11e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=4047,!(this.taxable_income>95375))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-44725)),void this.calculateTotalTaxes();if(this.estimated_taxes+=11143,!(this.taxable_income>182100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-95375)),void this.calculateTotalTaxes();this.estimated_taxes+=20814}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>22e3))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2200,!(this.taxable_income>89450))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-22e3)),void this.calculateTotalTaxes();if(this.estimated_taxes+=8094,!(this.taxable_income>190750))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-89450)),void this.calculateTotalTaxes();if(this.estimated_taxes+=22286,!(this.taxable_income>364200))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-190750)),void this.calculateTotalTaxes();this.estimated_taxes+=41628}if(2022==this.tax_year)if("Single"==this.filing_status||"Married Filing Separately"==this.filing_status){if(!(this.taxable_income>10275))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=1027.5,!(this.taxable_income>41775))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-10275)),void this.calculateTotalTaxes();if(this.estimated_taxes+=3780,!(this.taxable_income>89075))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-41775)),void this.calculateTotalTaxes();if(this.estimated_taxes+=10406,!(this.taxable_income>170050))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-89075)),void this.calculateTotalTaxes();this.estimated_taxes+=19434}else if("Married Filing Jointly"==this.filing_status){if(!(this.taxable_income>20550))return this.estimated_taxes=Math.round(.1*this.taxable_income),void this.calculateTotalTaxes();if(this.estimated_taxes=2055,!(this.taxable_income>83550))return this.estimated_taxes+=Math.round(.12*(this.taxable_income-20550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=7560,!(this.taxable_income>178150))return this.estimated_taxes+=Math.round(.22*(this.taxable_income-83550)),void this.calculateTotalTaxes();if(this.estimated_taxes+=20812,!(this.taxable_income>340100))return this.estimated_taxes+=Math.round(.24*(this.taxable_income-178150)),void this.calculateTotalTaxes();this.estimated_taxes+=38868}}}calculateStateTaxes(){if(this.state_taxable_income){if(2024==this.tax_year){if(!(this.state_taxable_income>1e4))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=236,!(this.state_taxable_income>25e3))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-1e4)));if(this.estimated_state_taxes+=472.5,!(this.state_taxable_income>4e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-25e3)));if(this.estimated_state_taxes+=531,!(this.state_taxable_income>6e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-6e4)));this.estimated_state_taxes+=944,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-6e4))}if(2023==this.tax_year){if(!(this.state_taxable_income>5e3))return void(this.estimated_state_taxes=Math.round(.0236*this.state_taxable_income));if(this.estimated_state_taxes=118,!(this.state_taxable_income>12500))return void(this.estimated_state_taxes+=Math.round(.0315*(this.state_taxable_income-5e3)));if(this.estimated_state_taxes+=236.25,!(this.state_taxable_income>2e4))return void(this.estimated_state_taxes+=Math.round(.0354*(this.state_taxable_income-12500)));if(this.estimated_state_taxes+=265.5,!(this.state_taxable_income>3e4))return void(this.estimated_state_taxes+=Math.round(.0472*(this.state_taxable_income-2e4)));this.estimated_state_taxes+=472,this.estimated_state_taxes+=Math.round(.0512*(this.state_taxable_income-3e4))}}}calculateFica(){this.gross_income&&(this.estimated_social_security_taxes=.062*this.gross_income,this.estimated_medicare_taxes=.0145*this.gross_income,this.self_employment_income&&(this.estimated_self_employed_social_security_taxes=.124*this.self_employment_income,this.estimated_self_employed_medicare_taxes=.029*this.self_employment_income,this.estimated_social_security_taxes+=this.estimated_self_employed_social_security_taxes,this.estimated_medicare_taxes+=this.estimated_self_employed_medicare_taxes))}calculateTotalTaxes(){this.gross_income&&(this.estimated_total_taxes=(this.estimated_state_taxes??0)+(this.estimated_social_security_taxes??0)+(this.estimated_medicare_taxes??0)+(this.estimated_taxes??0),this.estimated_net_income=this.gross_income-this.estimated_total_taxes-(this.hsa_contributions??0)-(this.traditional_retirement_contributions??0))}resetData(){this.estimated_net_income=void 0,this.estimated_taxes=void 0,this.estimated_total_taxes=void 0,this.estimated_state_taxes=void 0,this.estimated_social_security_taxes=void 0,this.estimated_medicare_taxes=void 0,this.estimated_self_employed_social_security_taxes=void 0,this.estimated_self_employed_medicare_taxes=void 0,this.estimated_employer_fica_contribution=void 0,this.taxesCalculated=!1,this.self_employment_income||(this.hasSelfEmploymentIncome=!1),this.traditional_retirement_contributions||(this.hasRetirementContributions=!1),this.hsa_contributions||(this.hasHSAContributions=!1),this.insurance_premiums||(this.hasInsurancePremiums=!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Yf({type:e,selectors:[["app-root"]],decls:40,vars:6,consts:[[1,"col-12","offset-0","col-md-6","offset-md-3"],[1,"container","my-3","pt-3","border","shadow"],[1,"row","border-bottom"],[1,"col-12","text-center","p-2"],[1,"row","py-1"],[4,"ngIf"],[1,"d-none"],[1,"row","my-2"],[1,"col-8"],[1,"col"],[1,"form-control","bg-secondary","text-white"],["class","row border-top mt-2",4,"ngIf"],["class","row mt-1",4,"ngIf"],[1,"row","my-1"],[1,"col-7"],[1,"form-select","w-75","m-auto","text-center",3,"disabled","ngModel","ngModelChange"],["sel",""],["type","tel","step","1000",1,"text-center","w-75","m-auto","form-control",3,"disabled","ngModel","ngModelChange"],["class","btn btn-success w-50",3,"disabled","click",4,"ngIf"],["type","tel","step","1000","class","text-center w-75 m-auto form-control",3,"disabled","ngModel","ngModelChange",4,"ngIf"],[1,"btn","btn-success","w-50",3,"disabled","click"],[1,"row","border-top","mt-2"],[1,"col-10","m-auto","py-3"],[1,"btn","w-100","btn-success","p-2","fs-3",3,"disabled","click"],[1,"row","mt-1"],[1,"text-start","text-decoration-underline"],[1,"w-100"],[1,"row","py-3"],["class","w-100",4,"ngIf"],[1,"w-100","d-none"],[1,"btn","w-100","btn-danger","p-2","fs-4",3,"click"]],template:function(r,o){1&r&&(w(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),b(5,"2024 Tax Estimator Calculator"),E()()(),w(6,"div",4)(7,"div",3),it(8,rk,67,16,"div",5),w(9,"div",6)(10,"div",7)(11,"div",8)(12,"h3"),b(13,"Standard Deduction"),E()(),w(14,"div",9)(15,"label",10),b(16),E()()(),w(17,"div",7)(18,"div",8)(19,"h3"),b(20,"Federal Taxable Income"),E()(),w(21,"div",9)(22,"label",10),b(23),E()()(),w(24,"div",7)(25,"div",8)(26,"h3"),b(27,"Standard Deduction (WV)"),E()(),w(28,"div",9)(29,"label",10),b(30,"2000"),E()()(),w(31,"div",7)(32,"div",8)(33,"h3"),b(34,"State Taxable Income"),E()(),w(35,"div",9)(36,"label",10),b(37),E()()()(),it(38,ok,4,1,"div",11)(39,dk,127,96,"div",12),E()()()()),2&r&&(V(8),q("ngIf",!o.taxesCalculated),V(8),sn(o.standard_deduction),V(7),sn(o.taxable_income),V(14),sn(o.state_taxable_income),V(),q("ngIf",!o.taxesCalculated),V(),q("ngIf",o.taxesCalculated))},dependencies:[Jv,kC,VC,Sa,Va,hC,nf,nD,rD],styles:["@media only screen and (max-width: 500px){.container[_ngcontent-%COMP%]{border:0px!important;margin-top:0!important}}"]})}return e})(),hk=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=hn({type:e,bootstrap:[fk]});static#n=this.\u0275inj=qt({imports:[XF,ZR]})}return e})();KF().bootstrapModule(hk).catch(e=>console.error(e))}},Ba=>{Ba(Ba.s=394)}]); \ No newline at end of file diff --git a/docs/polyfills.76d5513bb096a376.js b/docs/polyfills.76d5513bb096a376.js new file mode 100644 index 0000000..f1014a4 --- /dev/null +++ b/docs/polyfills.76d5513bb096a376.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunktd_calc=self.webpackChunktd_calc||[]).push([[429],{321:(ce,Ee,de)=>{de(332)},332:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.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 e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(j,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("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};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,me=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[A("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let m=null;try{("object"==typeof s||"function"==typeof s)&&(m=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof m)try{m.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(g,void 0,S&&g!==J&&g!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let g of l)f++,s.push(e.resolve(g))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let m=!1;const w=[];return new e((g,D)=>{for(let S=0;S{m||(m=!0,g(O))},O=>{w.push(O),f--,0===f&&(m=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,m=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function g(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,g);return m}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,m,w=new this((O,V)=>{f=O,m=V}),g=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,g--,0===g&&f(S)},F=>{s?(S[V]=s.errorCallback(F),g--,0===g&&f(S)):m(F)})}catch(F){m(F)}g++,D++}return g-=2,0===g&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const m=new f(L),w=n.current;return this[q]==j?this[R].push(w,m,l,s):te(this,w,m,l,s),m}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const m=n.current;return this[q]==j?this[R].push(m,f,l,l):te(this,m,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(m,w){return new e((D,S)=>{f.call(this,D,S)}).then(m,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let m=f.constructor;return m[k]||C(m),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const E=Z(z[0],x,_);E&&j.push(E)}else{const E=z.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let X;_&&_.prepend&&(X=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let m;f&&(m=f[s.capture?ae:le]);const w=m&&s.target[m];if(w)for(let g=0;g{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?ge.unshift(ie):ge.push(ie),g?S:void 0}};return E[c]=l(I,v,e,r,j),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const m=arguments[2],w=!!m&&("boolean"==typeof m||m.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(x&&!x(P,g,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=me,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function mt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function gt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=321)}]); \ No newline at end of file diff --git a/docs/runtime.be747780a686e7cd.js b/docs/runtime.be747780a686e7cd.js new file mode 100644 index 0000000..be7ec6a --- /dev/null +++ b/docs/runtime.be747780a686e7cd.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},d={};function n(e){var a=d[e];if(void 0!==a)return a.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,c,l)=>{if(!r){var o=1/0;for(f=0;f=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(s=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,c,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=c=>0===e[c];var a=(c,l)=>{var t,u,[f,o,s]=l,v=0;if(f.some(h=>0!==e[h])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(s)var b=s(n)}for(c&&c(l);v