diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt new file mode 100644 index 0000000..a12a271 --- /dev/null +++ b/3rdpartylicenses.txt @@ -0,0 +1,241 @@ +@angular/common +MIT + +@angular/core +MIT + +@angular/platform-browser +MIT + +@angular/router +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-2022 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/404.html b/404.html new file mode 100644 index 0000000..485af46 --- /dev/null +++ b/404.html @@ -0,0 +1,12 @@ + + + AngularBlog + + + + + + + + + \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..997406a Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..485af46 --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + AngularBlog + + + + + + + + + \ No newline at end of file diff --git a/main.899306b379b7910e.js b/main.899306b379b7910e.js new file mode 100644 index 0000000..e5b326b --- /dev/null +++ b/main.899306b379b7910e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular_blog=self.webpackChunkangular_blog||[]).push([[179],{450:()=>{function J(e){return"function"==typeof e}function Qr(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 uo=Qr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Kr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class at{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 o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(o){t=o instanceof uo?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Id(o)}catch(s){t=t??[],s instanceof uo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new uo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Id(t);else{if(t instanceof at){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)&&Kr(n,t)}remove(t){const{_finalizers:n}=this;n&&Kr(n,t),t instanceof at&&t._removeParent(this)}}at.EMPTY=(()=>{const e=new at;return e.closed=!0,e})();const Ed=at.EMPTY;function bd(e){return e instanceof at||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Id(e){J(e)?e():e.unsubscribe()}const Sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},lo={setTimeout(e,t,...n){const{delegate:r}=lo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=lo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sd(e){lo.setTimeout(()=>{const{onUnhandledError:t}=Sn;if(!t)throw e;t(e)})}function Md(){}const BD=ca("C",void 0,void 0);function ca(e,t,n){return{kind:e,value:t,error:n}}let Mn=null;function co(e){if(Sn.useDeprecatedSynchronousErrorHandling){const t=!Mn;if(t&&(Mn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Mn;if(Mn=null,n)throw r}}else e()}class da extends at{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,bd(t)&&t.add(this)):this.destination=ZD}static create(t,n,r){return new Yr(t,n,r)}next(t){this.isStopped?ha(function HD(e){return ca("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ha(function UD(e){return ca("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ha(BD,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 GD=Function.prototype.bind;function fa(e,t){return GD.call(e,t)}class WD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){fo(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){fo(r)}else fo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){fo(n)}}}class Yr extends da{constructor(t,n,r){let i;if(super(),J(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Sn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&fa(t.next,o),error:t.error&&fa(t.error,o),complete:t.complete&&fa(t.complete,o)}):i=t}this.destination=new WD(i)}}function fo(e){Sn.useDeprecatedSynchronousErrorHandling?function zD(e){Sn.useDeprecatedSynchronousErrorHandling&&Mn&&(Mn.errorThrown=!0,Mn.error=e)}(e):Sd(e)}function ha(e,t){const{onStoppedNotification:n}=Sn;n&&lo.setTimeout(()=>n(e,t))}const ZD={closed:!0,next:Md,error:function qD(e){throw e},complete:Md},pa="function"==typeof Symbol&&Symbol.observable||"@@observable";function Tn(e){return e}function Td(e){return 0===e.length?Tn:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}let ye=(()=>{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,i){const o=function YD(e){return e&&e instanceof da||function KD(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&bd(e)}(n)?n:new Yr(n,r,i);return co(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ad(r))((i,o)=>{const s=new Yr({next:a=>{try{n(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[pa](){return this}pipe(...n){return Td(n)(this)}toPromise(n){return new(n=Ad(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Ad(e){var t;return null!==(t=e??Sn.Promise)&&void 0!==t?t:Promise}const JD=Qr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let At=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new xd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new JD}next(n){co(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){co(()=>{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(){co(()=>{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:i,observers:o}=this;return r||i?Ed:(this.currentObservers=null,o.push(n),new at(()=>{this.currentObservers=null,Kr(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new ye;return n.source=this,n}}return e.create=(t,n)=>new xd(t,n),e})();class xd extends At{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:Ed}}function Rd(e){return J(e?.lift)}function be(e){return t=>{if(Rd(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 Ie(e,t,n,r,i){return new XD(e,t,n,r,i)}class XD extends da{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=i?function(a){try{i(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 G(e,t){return be((n,r)=>{let i=0;n.subscribe(Ie(r,o=>{r.next(e.call(t,o,i++))}))})}function sn(e){return this instanceof sn?(this.v=e,this):new sn(e)}function Od(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof sn?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Fd(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 va(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(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function i(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ld=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function kd(e){return J(e?.then)}function jd(e){return J(e[pa])}function Vd(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function $d(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 Bd=function w_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ud(e){return J(e?.[Bd])}function Hd(e){return Od(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield sn(n.read());if(i)return yield sn(void 0);yield yield sn(r)}}finally{n.releaseLock()}})}function zd(e){return J(e?.getReader)}function xt(e){if(e instanceof ye)return e;if(null!=e){if(jd(e))return function C_(e){return new ye(t=>{const n=e[pa]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ld(e))return function E_(e){return new ye(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Sd)})}(e);if(Vd(e))return Gd(e);if(Ud(e))return function I_(e){return new ye(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(zd(e))return function S_(e){return Gd(Hd(e))}(e)}throw $d(e)}function Gd(e){return new ye(t=>{(function M_(e,t){var n,r,i,o;return function Pd(e,t,n,r){return new(n||(n=Promise))(function(o,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?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Fd(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Bt(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Me(e,t,n=1/0){return J(t)?Me((r,i)=>G((o,s)=>t(r,o,i,s))(xt(e(r,i))),n):("number"==typeof t&&(n=t),be((r,i)=>function T_(e,t,n,r,i,o,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{o&&t.next(g),l++;let m=!1;xt(n(g,c++)).subscribe(Ie(t,D=>{i?.(D),o?h(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;u.length&&lp(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Ie(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,n)))}function er(e=1/0){return Me(Tn,e)}const Ut=new ye(e=>e.complete());function Da(e){return e[e.length-1]}function Jr(e){return function x_(e){return e&&J(e.schedule)}(Da(e))?e.pop():void 0}function Wd(e,t=0){return be((n,r)=>{n.subscribe(Ie(r,i=>Bt(r,e,()=>r.next(i),t),()=>Bt(r,e,()=>r.complete(),t),i=>Bt(r,e,()=>r.error(i),t)))})}function qd(e,t=0){return be((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zd(e,t){if(!e)throw new Error("Iterable cannot be null");return new ye(n=>{Bt(n,t,()=>{const r=e[Symbol.asyncIterator]();Bt(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function ve(e,t){return t?function j_(e,t){if(null!=e){if(jd(e))return function N_(e,t){return xt(e).pipe(qd(t),Wd(t))}(e,t);if(Ld(e))return function F_(e,t){return new ye(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(kd(e))return function O_(e,t){return xt(e).pipe(qd(t),Wd(t))}(e,t);if(Vd(e))return Zd(e,t);if(Ud(e))return function L_(e,t){return new ye(n=>{let r;return Bt(n,t,()=>{r=e[Bd](),Bt(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>J(r?.return)&&r.return()})}(e,t);if(zd(e))return function k_(e,t){return Zd(Hd(e),t)}(e,t)}throw $d(e)}(e,t):xt(e)}function _a(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Yr({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Y(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Y).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 Ca(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const B_=K({__forward_ref__:K});function Ea(e){return e.__forward_ref__=Ea,e.toString=function(){return Y(this())},e}function R(e){return function ba(e){return"function"==typeof e&&e.hasOwnProperty(B_)&&e.__forward_ref__===Ea}(e)?e():e}class E extends Error{constructor(t,n){super(function ho(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function O(e){return"string"==typeof e?e:null==e?"":String(e)}function po(e,t){throw new E(-201,!1)}function Je(e,t){null==e&&function Z(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function an(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return Qd(e,mo)||Qd(e,Yd)}function Qd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kd(e){return e&&(e.hasOwnProperty(Ia)||e.hasOwnProperty(K_))?e[Ia]:null}const mo=K({\u0275prov:K}),Ia=K({\u0275inj:K}),Yd=K({ngInjectableDef:K}),K_=K({ngInjectorDef:K});var A=(()=>((A=A||{})[A.Default=0]="Default",A[A.Host=1]="Host",A[A.Self=2]="Self",A[A.SkipSelf=4]="SkipSelf",A[A.Optional=8]="Optional",A))();let Sa;function ut(e){const t=Sa;return Sa=e,t}function Jd(e,t,n){const r=go(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&A.Optional?null:void 0!==t?t:void po(Y(e))}function un(e){return{toString:e}.toString()}var gt=(()=>((gt=gt||{})[gt.OnPush=0]="OnPush",gt[gt.Default=1]="Default",gt))(),Rt=(()=>{return(e=Rt||(Rt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Rt;var e})();const X=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),tr={},q=[],yo=K({\u0275cmp:K}),Ma=K({\u0275dir:K}),Ta=K({\u0275pipe:K}),Xd=K({\u0275mod:K}),zt=K({\u0275fac:K}),Xr=K({__NG_ELEMENT_ID__:K});let J_=0;function Pt(e){return un(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===gt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Rt.Emulated,id:"c"+J_++,styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return i.inputs=nf(e.inputs,r),i.outputs=nf(e.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(ef).filter(tf):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(ke).filter(tf):null,i})}function ef(e){return Q(e)||Le(e)}function tf(e){return null!==e}function An(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nf(e,t){if(null==e)return tr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const xe=Pt;function Q(e){return e[yo]||null}function Le(e){return e[Ma]||null}function ke(e){return e[Ta]||null}function Xe(e,t){const n=e[Xd]||null;if(!n&&!0===t)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}const k=11;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function yt(e){return Array.isArray(e)&&!0===e[1]}function Ra(e){return 0!=(8&e.flags)}function wo(e){return 2==(2&e.flags)}function Co(e){return 1==(1&e.flags)}function vt(e){return null!==e.template}function iw(e){return 0!=(256&e[2])}function On(e,t){return e.hasOwnProperty(zt)?e[zt]:null}class aw{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Fn(){return af}function af(e){return e.type.prototype.ngOnChanges&&(e.setInput=lw),uw}function uw(){const e=lf(this),t=e?.current;if(t){const n=e.previous;if(n===tr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lw(e,t,n,r){const i=lf(e)||function cw(e,t){return e[uf]=t}(e,{previous:tr,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new aw(u&&u.currentValue,t,s===tr),e[r]=t}Fn.ngInherit=!0;const uf="__ngSimpleChanges__";function lf(e){return e[uf]||null}function he(e){for(;Array.isArray(e);)e=e[0];return e}function tt(e,t){return he(t[e.index])}function La(e,t){return e.data[t]}function nt(e,t){const n=t[e];return qe(n)?n:n[0]}function bo(e){return 64==(64&e[2])}function ln(e,t){return null==t?null:e[t]}function cf(e){e[18]=0}function ka(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const N={lFrame:_f(null),bindingsEnabled:!0};function ff(){return N.bindingsEnabled}function v(){return N.lFrame.lView}function H(){return N.lFrame.tView}function De(){let e=hf();for(;null!==e&&64===e.type;)e=e.parent;return e}function hf(){return N.lFrame.currentTNode}function Nt(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function ja(){return N.lFrame.isParent}function je(){const e=N.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ar(){return N.lFrame.bindingIndex++}function Mw(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,$a(t)}function $a(e){N.lFrame.currentDirectiveIndex=e}function Ua(e){N.lFrame.currentQueryIndex=e}function Aw(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function vf(e,t,n){if(n&A.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&A.Host||(i=Aw(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=N.lFrame=Df();return r.currentTNode=t,r.lView=e,!0}function Ha(e){const t=Df(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Df(){const e=N.lFrame,t=null===e?null:e.child;return null===t?_f(e):t}function _f(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 wf(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Cf=wf;function za(){const e=wf();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 Ve(){return N.lFrame.selectedIndex}function cn(e){N.lFrame.selectedIndex=e}function se(){const e=N.lFrame;return La(e.tView,e.selectedIndex)}function Io(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class oi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function To(e,t,n){let r=0;for(;rt){s=o-1;break}}}for(;o>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let qa=!0;function xo(e){const t=qa;return qa=e,t}let zw=0;const Ot={};function ai(e,t){const n=Qa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Za(r.data,e),Za(t,null),Za(r.blueprint,null));const i=Ro(e,t),o=e.injectorIndex;if(Mf(i)){const s=ur(i),a=lr(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function Za(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ro(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Lf(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Po(e,t,n){!function Gw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xr)&&(r=n[Xr]),null==r&&(r=n[Xr]=zw++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:Qw:t}(n);if("function"==typeof o){if(!vf(t,e,r))return r&A.Host?xf(i,0,r):Rf(t,n,r,i);try{const s=o(r);if(null!=s||r&A.Optional)return s;po()}finally{Cf()}}else if("number"==typeof o){let s=null,a=Qa(e,t),u=-1,l=r&A.Host?t[16][6]:null;for((-1===a||r&A.SkipSelf)&&(u=-1===a?Ro(e,t):t[a+8],-1!==u&&Ff(r,!1)?(s=t[1],a=ur(u),t=lr(u,t)):a=-1);-1!==a;){const c=t[1];if(Of(o,a,c.data)){const d=qw(a,t,n,s,r,l);if(d!==Ot)return d}u=t[a+8],-1!==u&&Ff(r,t[1].data[a+8]===l)&&Of(o,a,t)?(s=c,a=ur(u),t=lr(u,t)):a=-1}}return i}function qw(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function No(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(i){const h=s[u];if(h&&vt(h)&&h.type===n)return u}return null}(a,s,n,null==r?wo(a)&&qa:r!=s&&0!=(3&a.type),i&A.Host&&o===a);return null!==c?ui(t,s,c,a):Ot}function ui(e,t,n,r){let i=e[n];const o=t.data;if(function Vw(e){return e instanceof oi}(i)){const s=i;s.resolving&&function U_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(e)}(o[n]));const a=xo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?ut(s.injectImpl):null;vf(e,r,A.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function kw(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=af(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&ut(u),xo(a),s.resolving=!1,Cf()}}return i}function Of(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function Ya(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(fr)?u[fr]:Object.defineProperty(u,fr,{value:[]})[fr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class P{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=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qt(e,t){e.forEach(n=>Array.isArray(n)?qt(n,t):t(n))}function jf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const hi={},tu="__NG_DI_FLAG__",Lo="ngTempTokenPath",lC=/\n/gm,Uf="__source";let pi;function mr(e){const t=pi;return pi=e,t}function dC(e,t=A.Default){if(void 0===pi)throw new E(-203,!1);return null===pi?Jd(e,void 0,t):pi.get(e,t&A.Optional?null:void 0,t)}function M(e,t=A.Default){return(function Y_(){return Sa}()||dC)(R(e),t)}function ce(e,t=A.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),M(e,t)}function nu(e){const t=[];for(let n=0;n((Ze=Ze||{})[Ze.Important=1]="Important",Ze[Ze.DashCase=2]="DashCase",Ze))();const au=new Map;let xC=0;const lu="__ngContext__";function Ne(e,t){qe(t)?(e[lu]=t[20],function PC(e){au.set(e[20],e)}(t)):e[lu]=t}function du(e,t){return undefined(e,t)}function wi(e){const t=e[3];return yt(t)?t[3]:t}function fu(e){return lh(e[13])}function hu(e){return lh(e[4])}function lh(e){for(;null!==e&&!yt(e);)e=e[4];return e}function vr(e,t,n,r,i){if(null!=r){let o,s=!1;yt(r)?o=r:qe(r)&&(s=!0,r=r[0]);const a=he(r);0===e&&null!==n?null==i?gh(t,n,a):Ln(t,n,a,i||null,!0):1===e&&null!==n?Ln(t,n,a,i||null,!0):2===e?function _u(e,t,n){const r=Vo(e,t);r&&function eE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function rE(e,t,n,r,i){const o=n[7];o!==he(n)&&vr(t,e,r,o,i);for(let a=10;a0&&(e[n-1][4]=r[4]);const o=Oo(e,10+t);!function WC(e,t){Ci(e,t,t[k],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function fh(e,t){if(!(128&t[2])){const n=t[k];n.destroyNode&&Ci(e,t,n,3,null,null),function QC(e){let t=e[13];if(!t)return yu(e[1],e);for(;t;){let n=null;if(qe(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)qe(t)&&yu(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&yu(t[1],t),n=t&&t[4]}t=n}}(t)}}function yu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function XC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o((pe=pe||{})[pe.NONE=0]="NONE",pe[pe.HTML=1]="HTML",pe[pe.STYLE=2]="STYLE",pe[pe.SCRIPT=3]="SCRIPT",pe[pe.URL=4]="URL",pe[pe.RESOURCE_URL=5]="RESOURCE_URL",pe))();function Dr(e){const t=function Ii(){const e=v();return e&&e[12]}();return t?t.sanitize(pe.URL,e)||"":function Ei(e,t){const n=function pE(e){return e instanceof Th&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?function fn(e){return e instanceof Th?e.changingThisBreaksApplicationSecurity:e}(e):function Su(e){return(e=String(e)).match(vE)?e:"unsafe:"+e}(O(e))}const xu=new P("ENVIRONMENT_INITIALIZER"),Lh=new P("INJECTOR",-1),kh=new P("INJECTOR_DEF_TYPES");class jh{get(t,n=hi){if(n===hi){const r=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw r.name="NullInjectorError",r}return n}}function PE(...e){return{\u0275providers:Vh(0,e)}}function Vh(e,...t){const n=[],r=new Set;let i;return qt(t,o=>{const s=o;Ru(s,n,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&$h(i,n),n}function $h(e,t){for(let n=0;n{t.push(o)})}}function Ru(e,t,n,r){if(!(e=R(e)))return!1;let i=null,o=Kd(e);const s=!o&&Q(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const u=e.ngModule;if(o=Kd(u),!o)return!1;i=u}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Ru(l,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;r.add(i);try{qt(o.imports,c=>{Ru(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&$h(l,t)}if(!a){const l=On(i)||(()=>new i);t.push({provide:i,useFactory:l,deps:q},{provide:kh,useValue:i,multi:!0},{provide:xu,useValue:()=>M(i),multi:!0})}const u=o.providers;null==u||a||qt(u,c=>{t.push(c)})}}return i!==e&&void 0!==e.providers}const NE=K({provide:String,useValue:K});function Pu(e){return null!==e&&"object"==typeof e&&NE in e}function jn(e){return"function"==typeof e}const Nu=new P("Set Injector scope."),Go={},FE={};let Ou;function Wo(){return void 0===Ou&&(Ou=new jh),Ou}class hn{}class Hh extends hn{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lu(t,s=>this.processProvider(s)),this.records.set(Lh,_r(void 0,this)),i.has("environment")&&this.records.set(hn,_r(void 0,this));const o=this.records.get(Nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(kh.multi,q,A.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=mr(this),r=ut(void 0);try{return t()}finally{mr(n),ut(r)}}get(t,n=hi,r=A.Default){this.assertNotDestroyed();const i=mr(this),o=ut(void 0);try{if(!(r&A.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function $E(e){return"function"==typeof e||"object"==typeof e&&e instanceof P}(t)&&go(t);a=u&&this.injectableDefInScope(u)?_r(Fu(t),Go):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&A.Self?Wo():this.parent).get(t,n=r&A.Optional&&n===hi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Lo]=s[Lo]||[]).unshift(Y(t)),i)throw s;return function hC(e,t,n,r){const i=e[Lo];throw t[Uf]&&i.unshift(t[Uf]),e.message=function pC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Y(t);if(Array.isArray(t))i=t.map(Y).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Y(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(lC,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Lo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ut(o),mr(i)}}resolveInjectorInitializers(){const t=mr(this),n=ut(void 0);try{const r=this.get(xu.multi,q,A.Self);for(const i of r)i()}finally{mr(t),ut(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Y(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){let n=jn(t=R(t))?t:R(t&&t.provide);const r=function kE(e){return Pu(e)?_r(void 0,e.useValue):_r(function zh(e,t,n){let r;if(jn(e)){const i=R(e);return On(i)||Fu(i)}if(Pu(e))r=()=>R(e.useValue);else if(function Uh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...nu(e.deps||[]));else if(function Bh(e){return!(!e||!e.useExisting)}(e))r=()=>M(R(e.useExisting));else{const i=R(e&&(e.useClass||e.provide));if(!function jE(e){return!!e.deps}(e))return On(i)||Fu(i);r=()=>new i(...nu(e.deps))}return r}(e),Go)}(t);if(jn(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=_r(void 0,Go,!0),i.factory=()=>nu(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Go&&(n.value=FE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function VE(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=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Fu(e){const t=go(e),n=null!==t?t.factory:On(e);if(null!==n)return n;if(e instanceof P)throw new E(204,!1);if(e instanceof Function)return function LE(e){const t=e.length;if(t>0)throw function fi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new E(204,!1)}function _r(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function BE(e){return!!e.\u0275providers}function Lu(e,t){for(const n of e)Array.isArray(n)?Lu(n,t):BE(n)?Lu(n.\u0275providers,t):t(n)}class Gh{}class zE{resolveComponentFactory(t){throw function HE(e){const t=Error(`No component factory found for ${Y(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Si=(()=>{class e{}return e.NULL=new zE,e})();function GE(){return wr(De(),v())}function wr(e,t){return new pn(tt(e,t))}let pn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=GE,e})();class qh{}let ZE=(()=>{class e{}return e.\u0275prov=V({token:e,providedIn:"root",factory:()=>null}),e})();class Zo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const QE=new Zo("14.3.0"),ku={};function Vu(e){return e.ngOriginalError}class Cr{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&&Vu(t);for(;n&&Vu(n);)n=Vu(n);return n||null}}function Qt(e){return e instanceof Function?e():e}function Qh(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const Kh="ng-template";function a0(e,t,n){let r=0;for(;ro?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Qh(h,l,0)||2&r&&l!==f){if(Dt(r))return!1;s=!0}}}}else{if(!s&&!Dt(r)&&!Dt(u))return!1;if(s&&Dt(u))continue;s=!1,r=u|1&r}}return Dt(r)||s}function Dt(e){return 0==(1&e)}function c0(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Dt(s)&&(t+=Xh(o,i),i=""),r=s,o=o||!Dt(r);n++}return""!==i&&(t+=Xh(o,i)),t}const F={};function ot(e){ep(H(),v(),Ve()+e,!1)}function ep(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&So(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Mo(t,o,0,n)}cn(n)}function ip(e,t=null,n=null,r){const i=op(e,t,n,r);return i.resolveInjectorInitializers(),i}function op(e,t=null,n=null,r,i=new Set){const o=[n||q,PE(e)];return r=r||("object"==typeof e?void 0:Y(e)),new Hh(o,t||Wo(),r||null,i)}let _t=(()=>{class e{static create(n,r){if(Array.isArray(n))return ip({name:""},r,n,"");{const i=n.name??"";return ip({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=hi,e.NULL=new jh,e.\u0275prov=V({token:e,providedIn:"any",factory:()=>M(Lh)}),e.__NG_ELEMENT_ID__=-1,e})();function b(e,t=A.Default){const n=v();return null===n?M(e,t):Pf(De(),n,R(e),t)}function zu(){throw new Error("invalid")}function Cp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&ep(e,t,22,!1),n(r,i)}finally{cn(o)}}function rl(e,t,n){!ff()||(function nb(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||ai(n,t),Ne(r,t);const s=n.initialInputs;for(let a=i;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function Rp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function sb(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&ul(n)}}function ul(e){for(let r=fu(e);null!==r;r=hu(r))for(let i=10;i0&&ul(o)}const n=e[1].components;if(null!==n)for(let r=0;r0&&ul(i)}}function hb(e,t){const n=nt(t,e),r=n[1];(function pb(e,t){for(let n=t.length;n-1&&(mu(t,r),Oo(n,r))}this._attachedToViewContainer=!1}fh(this._lView[1],this._lView)}onDestroy(t){!function Sp(e,t,n,r){const i=Lp(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&kp(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){ll(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){ns(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ZC(e,t){Ci(e,t,t[k],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t}}class gb extends Mi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ns(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class fl extends Si{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Q(t);return new Ti(n,this.ngModule)}}function $p(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class yb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,ku,r);return i!==ku||n===ku?i:this.parentInjector.get(t,n,r)}}class Ti extends Gh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function m0(e){return e.map(g0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return $p(this.componentDef.inputs)}get outputs(){return $p(this.componentDef.outputs)}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof hn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new yb(t,o):t,a=s.get(qh,null);if(null===a)throw new E(407,!1);const u=s.get(ZE,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function K0(e,t,n){return e.selectRootElement(t,n===Rt.ShadowDom)}(l,r,this.componentDef.encapsulation):gu(l,c,function mb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=ol(0,null,null,1,0,null,null,null,null,null),p=Xo(null,h,null,f,null,null,a,l,u,s,null);let g,m;Ha(p);try{const D=function _b(e,t,n,r,i,o){const s=n[1];n[22]=e;const u=Ir(s,22,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(rs(u,l,!0),null!==e&&(To(i,e,l),null!==u.classes&&Cu(i,e,u.classes),null!==u.styles&&Eh(i,e,u.styles)));const c=r.createRenderer(e,t),d=Xo(n,Ip(t),null,t.onPush?32:16,n[22],u,r,c,o||null,null,null);return s.firstCreatePass&&(Po(ai(u,n),s,t.type),Pp(s,u),Np(u,n.length,1)),ts(n,d),n[22]=d}(d,this.componentDef,p,a,l);if(d)if(r)To(l,d,["ng-version",QE.full]);else{const{attrs:_,classes:y}=function y0(e){const t=[],n=[];let r=1,i=2;for(;r0&&Cu(l,d,y.join(" "))}if(m=La(h,22),void 0!==n){const _=m.projection=[];for(let y=0;ya(he(z[r.index])):r.index;let I=null;if(!a&&u&&(I=function $b(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;ou?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1;else{o=ig(r,t,d,o,!1);const z=n.listen(D,i,o);f.push(o,z),c&&c.push(i,y,_,_+1)}}else o=ig(r,t,d,o,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[i])){const m=g.length;if(m)for(let D=0;Dn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Al extends wm{constructor(t){super(),this.moduleType=t}create(t){return new Cm(this.moduleType,t)}}class AS extends zn{constructor(t,n,r){super(),this.componentFactoryResolver=new fl(this),this.instance=null;const i=new Hh([...t,{provide:zn,useValue:this},{provide:Si,useValue:this.componentFactoryResolver}],n||Wo(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ps(e,t,n=null){return new AS(e,t,n).injector}let xS=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Vh(0,n.type),i=r.length>0?ps([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=V({token:e,providedIn:"environment",factory:()=>new e(M(hn))}),e})();function Em(e){e.getStandaloneInjector=t=>t.get(xS).getOrCreateStandaloneInjector(e)}function Rl(e,t,n){const r=je()+e,i=v();return i[r]===F?Lt(i,r,n?t.call(n):t()):function xi(e,t){return e[t]}(i,r)}function Pl(e,t,n,r){return function xm(e,t,n,r,i,o){const s=t+n;return Oe(e,s,i)?Lt(e,s+1,o?r.call(o,i):r(i)):function ki(e,t){const n=e[t];return n===F?void 0:n}(e,s+1)}(v(),je(),e,t,n,r)}function Nl(e){return t=>{setTimeout(e,void 0,t)}}const ze=class eM extends At{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;i=u.next?.bind(u),o=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(o=Nl(o),i&&(i=Nl(i)),s&&(s=Nl(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof at&&t.add(a),a}};let Jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=iM,e})();const nM=Jt,rM=class extends nM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Xo(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),nl(r,i,t),new Mi(i)}};function iM(){return function gs(e,t){return 4&e.type?new rM(t,e,wr(e,t)):null}(De(),v())}let bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=oM,e})();function oM(){return function km(e,t){let n;const r=t[e.index];if(yt(r))n=r;else{let i;if(8&e.type)i=he(r);else{const o=t[k];i=o.createComment("");const s=tt(e,t);Ln(o,Vo(o,s),i,function tE(e,t){return e.nextSibling(t)}(o,s),!1)}t[e.index]=n=Fp(r,t,i,e),ts(t,n)}return new Fm(n,e,t)}(De(),v())}const sM=bt,Fm=class extends sM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wr(this._hostTNode,this._hostLView)}get injector(){return new cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ro(this._hostTNode,this._hostLView);if(Mf(t)){const n=lr(t,this._hostLView),r=ur(t);return new cr(n[1].data[r+8],n)}return new cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Lm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=t.createEmbeddedView(n||{},o);return this.insert(s,i),s}createComponent(t,n,r,i,o){const s=t&&!function di(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const u=s?t:new Ti(Q(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule){const f=(s?l:this.parentInjector).get(hn,null);f&&(o=f)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(function yw(e){return yt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Fm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function KC(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r{class e{constructor(n){this.appInits=n,this.resolve=ys,this.reject=ys,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(M(vs,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $i=new P("AppId",{providedIn:"root",factory:function ay(){return`${Zl()}${Zl()}${Zl()}`}});function Zl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const uy=new P("Platform Initializer"),ly=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),cy=new P("appBootstrapListener");let LM=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Xt=new P("LocaleId",{providedIn:"root",factory:()=>ce(Xt,A.Optional|A.SkipSelf)||function kM(){return typeof $localize<"u"&&$localize.locale||jr}()});class VM{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Ql=(()=>{class e{compileModuleSync(n){return new Al(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Qt(Xe(n).declarations).reduce((s,a)=>{const u=Q(a);return u&&s.push(new Ti(u)),s},[]);return new VM(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const UM=(()=>Promise.resolve(0))();function Kl(e){typeof Zone>"u"?UM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",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 ze(!1),this.onMicrotaskEmpty=new ze(!1),this.onStable=new ze(!1),this.onError=new ze(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function HM(){let e=X.requestAnimationFrame,t=X.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function WM(e){const t=()=>{!function GM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(X,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jl(e),e.isCheckStableRunning=!0,Yl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return hy(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),py(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return hy(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),py(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Jl(e),Yl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ce.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(Ce.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,zM,ys,ys);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zM={};function Yl(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 Jl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function py(e){e._nesting--,Yl(e)}class qM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ze,this.onMicrotaskEmpty=new ze,this.onStable=new ze,this.onError=new ze}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,i){return t.apply(n,r)}}const gy=new P(""),_s=new P("");let tc,Xl=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,tc||(function ZM(e){tc=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ce.assertNotInAngularZone(),Kl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Kl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(M(Ce),M(ec),M(_s))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})(),ec=(()=>{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 tc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),vn=null;const my=new P("AllowMultipleToken"),nc=new P("PlatformDestroyListeners");class yy{constructor(t,n){this.name=t,this.token=n}}function Dy(e,t,n=[]){const r=`Platform: ${t}`,i=new P(r);return(o=[])=>{let s=rc();if(!s||s.injector.get(my,!1)){const a=[...n,...o,{provide:i,useValue:!0}];e?e(a):function YM(e){if(vn&&!vn.get(my,!1))throw new E(400,!1);vn=e;const t=e.get(wy);(function vy(e){const t=e.get(uy,null);t&&t.forEach(n=>n())})(e)}(function _y(e=[],t){return _t.create({name:t,providers:[{provide:Nu,useValue:"platform"},{provide:nc,useValue:new Set([()=>vn=null])},...e]})}(a,r))}return function XM(e){const t=rc();if(!t)throw new E(401,!1);return t}()}}function rc(){return vn?.get(wy)??null}let wy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Ey(e,t){let n;return n="noop"===e?new qM:("zone.js"===e?void 0:e)||new Ce(t),n}(r?.ngZone,function Cy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ce,useValue:i}];return i.run(()=>{const s=_t.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Cr,null);if(!u)throw new E(402,!1);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Cs(this._modules,a),l.unsubscribe()})}),function by(e,t,n){try{const r=n();return as(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,i,()=>{const l=a.injector.get(Ds);return l.runInitializers(),l.donePromise.then(()=>(function Kg(e){Je(e,"Expected localeId to be defined"),"string"==typeof e&&(Qg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Xt,jr)||jr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=Iy({},r);return function QM(e,t,n){const r=new Al(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(ws);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new E(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 E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(nc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(M(_t))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Iy(e,t){return Array.isArray(t)?t.reduce(Iy,e):{...e,...t}}let ws=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ye(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ye(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{Ce.assertNotInAngularZone(),Kl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function V_(...e){const t=Jr(e),n=function P_(e,t){return"number"==typeof Da(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?xt(r[0]):er(n)(ve(r,t)):Ut}(o,s.pipe(function $_(e={}){const{connector:t=(()=>new At),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return be((g,m)=>{l++,!d&&!c&&f();const D=u=u??t();m.add(()=>{l--,0===l&&!d&&!c&&(a=_a(p,i))}),D.subscribe(m),!s&&l>0&&(s=new Yr({next:_=>D.next(_),error:_=>{d=!0,f(),a=_a(h,n,_),D.error(_)},complete:()=>{c=!0,f(),a=_a(h,r),D.complete()}}),xt(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Gh;if(!this._injector.get(Ds).done)throw!i&&function nr(e){const t=Q(e)||Le(e)||ke(e);return null!==t&&t.standalone}(n),new E(405,false);let s;s=i?n:this._injector.get(Si).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function KM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(zn),l=s.create(_t.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(gy,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Cs(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Cs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(cy,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(M(Ce),M(hn),M(Cr))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Cs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let My=!0,ic=(()=>{class e{}return e.__NG_ELEMENT_ID__=nT,e})();function nT(e){return function rT(e,t,n){if(wo(e)&&!n){const r=nt(e.index,t);return new Mi(r,r)}return 47&e.type?new Mi(t[16],t):null}(De(),v(),16==(16&e))}class Py{constructor(){}supports(t){return Ai(t)}create(t){return new lT(t)}}const uT=(e,t)=>t;class lT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||uT}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new cT(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ny),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ny),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class cT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class dT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Ny{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new dT,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Oy(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ly()),deps:[[e,new yi,new mi]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new E(901,!1)}}return e.\u0275prov=V({token:e,providedIn:"root",factory:Ly}),e})();const mT=Dy(null,"core",[]);let yT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(M(ws))},e.\u0275mod=An({type:e}),e.\u0275inj=an({}),e})();function Br(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Ss=null;function Dn(){return Ss}const Qe=new P("DocumentToken");let lc=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:function(){return function wT(){return M(jy)}()},providedIn:"platform"}),e})();const CT=new P("Location Initialized");let jy=(()=>{class e extends lc{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dn().getBaseHref(this._doc)}onPopState(n){const r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Dn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,i){Vy()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){Vy()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(M(Qe))},e.\u0275prov=V({token:e,factory:function(){return function ET(){return new jy(M(Qe))}()},providedIn:"platform"}),e})();function Vy(){return!!window.history.pushState}function cc(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function $y(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function tn(e){return e&&"?"!==e[0]?"?"+e:e}let Wn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:function(){return ce(Uy)},providedIn:"root"}),e})();const By=new P("appBaseHref");let Uy=(()=>{class e extends Wn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??ce(Qe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return cc(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+tn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+tn(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+tn(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(M(lc),M(By,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),bT=(()=>{class e extends Wn{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=cc(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+tn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+tn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(M(lc),M(By,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})(),dc=(()=>{class e{constructor(n){this._subject=new ze,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=$y(Hy(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+tn(r))}normalize(n){return e.stripTrailingSlash(function ST(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Hy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=tn,e.joinWithSlash=cc,e.stripTrailingSlash=$y,e.\u0275fac=function(n){return new(n||e)(M(Wn))},e.\u0275prov=V({token:e,factory:function(){return function IT(){return new dc(M(Wn))}()},providedIn:"root"}),e})();function Hy(e){return e.replace(/\/index.html$/,"")}class fA{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let wc=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fA(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),ev(a,i)}});for(let i=0,o=r.length;i{ev(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(b(bt),b(Jt),b(Is))},e.\u0275dir=xe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function ev(e,t){e.context.$implicit=t.item}let UA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=An({type:e}),e.\u0275inj=an({}),e})();let WA=(()=>{class e{}return e.\u0275prov=V({token:e,providedIn:"root",factory:()=>new qA(M(Qe),window)}),e})();class qA{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function ZA(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=ov(this.window.history)||ov(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ov(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Tc extends class Cx extends class _T{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function DT(e){Ss||(Ss=e)}(new Tc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Ex(){return Gi=Gi||document.querySelector("base"),Gi?Gi.getAttribute("href"):null}();return null==n?null:function bx(e){js=js||document.createElement("a"),js.setAttribute("href",e);const t=js.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Gi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function lA(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let js,Gi=null;const cv=new P("TRANSITION_ID"),Sx=[{provide:vs,useFactory:function Ix(e,t,n){return()=>{n.get(Ds).donePromise.then(()=>{const r=Dn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();const Vs=new P("EventManagerPlugins");let $s=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})(),Wi=(()=>{class e extends fv{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(hv),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(hv))}}return e.\u0275fac=function(n){return new(n||e)(M(Qe))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();function hv(e){Dn().remove(e)}const Ac={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/"},xc=/%COMP%/g;function Bs(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Rc=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Pc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Rt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new Ox(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Rt.ShadowDom:return new Fx(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Bs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(M($s),M(Wi),M($i))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();class Pc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Ac[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(vv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(vv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=Ac[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Ac[r];i?t.removeAttributeNS(i,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,i){i&(Ze.DashCase|Ze.Important)?t.style.setProperty(n,r,i&Ze.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ze.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,mv(r)):this.eventManager.addEventListener(t,n,mv(r))}}function vv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Ox extends Pc{constructor(t,n,r,i){super(t),this.component=r;const o=Bs(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function Rx(e){return"_ngcontent-%COMP%".replace(xc,e)}(i+"-"+r.id),this.hostAttr=function Px(e){return"_nghost-%COMP%".replace(xc,e)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class Fx extends Pc{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Bs(i.id,i.styles,[]);for(let s=0;s{class e extends dv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(M(Qe))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();const Dv=["alt","control","meta","shift"],kx={"\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"},jx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Vx=(()=>{class e extends dv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Dv.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=kx[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Dv.forEach(s=>{s!==i&&(0,jx[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(M(Qe))},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();const Hx=Dy(mT,"browser",[{provide:ly,useValue:"browser"},{provide:uy,useValue:function $x(){Tc.makeCurrent()},multi:!0},{provide:Qe,useFactory:function Ux(){return function uE(e){bu=e}(document),document},deps:[]}]),Cv=new P(""),Ev=[{provide:_s,useClass:class Mx{addToWindow(t){X.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},X.getAllAngularTestabilities=()=>t.getAllTestabilities(),X.getAllAngularRootElements=()=>t.getAllRootElements(),X.frameworkStabilizers||(X.frameworkStabilizers=[]),X.frameworkStabilizers.push(r=>{const i=X.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Dn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:gy,useClass:Xl,deps:[Ce,ec,_s]},{provide:Xl,useClass:Xl,deps:[Ce,ec,_s]}],bv=[{provide:Nu,useValue:"root"},{provide:Cr,useFactory:function Bx(){return new Cr},deps:[]},{provide:Vs,useClass:Lx,multi:!0,deps:[Qe,Ce,ly]},{provide:Vs,useClass:Vx,multi:!0,deps:[Qe]},{provide:Rc,useClass:Rc,deps:[$s,Wi,$i]},{provide:qh,useExisting:Rc},{provide:fv,useExisting:Wi},{provide:Wi,useClass:Wi,deps:[Qe]},{provide:$s,useClass:$s,deps:[Vs,Ce]},{provide:class QA{},useClass:Tx,deps:[]},[]];let zx=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:$i,useValue:n.appId},{provide:cv,useExisting:$i},Sx]}}}return e.\u0275fac=function(n){return new(n||e)(M(Cv,12))},e.\u0275mod=An({type:e}),e.\u0275inj=an({providers:[...bv,...Ev],imports:[UA,yT]}),e})(),Iv=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(M(Qe))},e.\u0275prov=V({token:e,factory:function(n){let r=null;return r=n?new n:function Wx(){return new Iv(M(Qe))}(),r},providedIn:"root"}),e})();function S(...e){return ve(e,Jr(e))}typeof window<"u"&&window;class Tt extends At{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Us=Qr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:eR}=Array,{getPrototypeOf:tR,prototype:nR,keys:rR}=Object;const{isArray:sR}=Array;function Tv(...e){const t=Jr(e),n=function R_(e){return J(Da(e))?e.pop():void 0}(e),{args:r,keys:i}=function iR(e){if(1===e.length){const t=e[0];if(eR(t))return{args:t,keys:null};if(function oR(e){return e&&"object"==typeof e&&tR(e)===nR}(t)){const n=rR(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return ve([],t);const o=new ye(function cR(e,t,n=Tn){return r=>{Av(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u{const l=ve(e[u],t);let c=!1;l.subscribe(Ie(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function lR(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):Tn));return n?o.pipe(function uR(e){return G(t=>function aR(e,t){return sR(t)?e(...t):e(t)}(e,t))}(n)):o}function Av(e,t,n){e?Bt(n,e,t):t()}function Fc(...e){return function dR(){return er(1)}()(ve(e,Jr(e)))}function xv(e){return new ye(t=>{xt(e()).subscribe(t)})}function qi(e,t){const n=J(e)?e:()=>e,r=i=>i.error(n());return new ye(t?i=>t.schedule(r,0,i):r)}function Lc(){return be((e,t)=>{let n=null;e._refCount++;const r=Ie(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class Rv extends ye{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Rd(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new at;const n=this.getSubject();t.add(this.source.subscribe(Ie(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=at.EMPTY)}return t}refCount(){return Lc()(this)}}function Vt(e,t){return be((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(Ie(r,u=>{i?.unsubscribe();let l=0;const c=o++;xt(e(u,c)).subscribe(i=Ie(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Zi(e){return e<=0?()=>Ut:be((t,n)=>{let r=0;t.subscribe(Ie(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function wn(e,t){return be((n,r)=>{let i=0;n.subscribe(Ie(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Hs(e){return be((t,n)=>{let r=!1;t.subscribe(Ie(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function Pv(e=hR){return be((t,n)=>{let r=!1;t.subscribe(Ie(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function hR(){return new Us}function Cn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((i,o)=>e(i,o,r)):Tn,Zi(1),n?Hs(t):Pv(()=>new Us))}function qn(e,t){return J(t)?Me(e,t,1):Me(e,1)}function Fe(e,t,n){const r=J(e)||t||n?{next:e,error:t,complete:n}:e;return r?be((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Ie(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Tn}function En(e){return be((t,n)=>{let o,r=null,i=!1;r=t.subscribe(Ie(n,void 0,void 0,s=>{o=xt(e(s,En(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function pR(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(Ie(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Nv(e,t){return be(pR(e,t,arguments.length>=2,!0))}function kc(e){return e<=0?()=>Ut:be((t,n)=>{let r=[];t.subscribe(Ie(n,i=>{r.push(i),e{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Ov(e,t){const n=arguments.length>=2;return r=>r.pipe(e?wn((i,o)=>e(i,o,r)):Tn,kc(1),n?Hs(t):Pv(()=>new Us))}function jc(e){return be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const $="primary",Qi=Symbol("RouteTitle");class yR{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Ur(e){return new yR(e)}function vR(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[o]===i)}return e===t}function Lv(e){return Array.prototype.concat.apply([],e)}function kv(e){return e.length>0?e[e.length-1]:null}function Te(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function bn(e){return eg(e)?e:as(e)?ve(Promise.resolve(e)):S(e)}const wR={exact:function $v(e,t,n){if(!Qn(e.segments,t.segments)||!zs(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!$v(e.children[r],t.children[r],n))return!1;return!0},subset:Bv},jv={exact:function CR(e,t){return $t(e,t)},subset:function ER(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Fv(e[n],t[n]))},ignored:()=>!0};function Vv(e,t,n){return wR[n.paths](e.root,t.root,n.matrixParams)&&jv[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Bv(e,t,n){return Uv(e,t,t.segments,n)}function Uv(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!Qn(i,n)||t.hasChildren()||!zs(i,n,r))}if(e.segments.length===n.length){if(!Qn(e.segments,n)||!zs(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!Bv(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(Qn(e.segments,i)&&zs(e.segments,i,r)&&e.children[$])&&Uv(e.children[$],t,o,r)}}function zs(e,t,n){return t.every((r,i)=>jv[n](e[i].parameters,r.parameters))}class Zn{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ur(this.queryParams)),this._queryParamMap}toString(){return SR.serialize(this)}}class B{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Te(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Gs(this)}}class Ki{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Ur(this.parameters)),this._parameterMap}toString(){return Wv(this)}}function Qn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let Hv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:function(){return new $c},providedIn:"root"}),e})();class $c{parse(t){const n=new FR(t);return new Zn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Yi(t.root,!0)}`,r=function AR(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${Ws(n)}=${Ws(i)}`).join("&"):`${Ws(n)}=${Ws(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function MR(e){return encodeURI(e)}(t.fragment)}`:""}`}}const SR=new $c;function Gs(e){return e.segments.map(t=>Wv(t)).join("/")}function Yi(e,t){if(!e.hasChildren())return Gs(e);if(t){const n=e.children[$]?Yi(e.children[$],!1):"",r=[];return Te(e.children,(i,o)=>{o!==$&&r.push(`${o}:${Yi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function IR(e,t){let n=[];return Te(e.children,(r,i)=>{i===$&&(n=n.concat(t(r,i)))}),Te(e.children,(r,i)=>{i!==$&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===$?[Yi(e.children[$],!1)]:[`${i}:${Yi(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[$]?`${Gs(e)}/${n[0]}`:`${Gs(e)}/(${n.join("//")})`}}function zv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ws(e){return zv(e).replace(/%3B/gi,";")}function Bc(e){return zv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qs(e){return decodeURIComponent(e)}function Gv(e){return qs(e.replace(/\+/g,"%20"))}function Wv(e){return`${Bc(e.path)}${function TR(e){return Object.keys(e).map(t=>`;${Bc(t)}=${Bc(e[t])}`).join("")}(e.parameters)}`}const xR=/^[^\/()?;=#]+/;function Zs(e){const t=e.match(xR);return t?t[0]:""}const RR=/^[^=?&#]+/,NR=/^[^&#]+/;class FR{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[$]=new B(t,n)),r}parseSegment(){const t=Zs(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new Ki(qs(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Zs(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=Zs(this.remaining);i&&(r=i,this.capture(r))}t[qs(n)]=qs(r)}parseQueryParam(t){const n=function PR(e){const t=e.match(RR);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function OR(e){const t=e.match(NR);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=Gv(n),o=Gv(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Zs(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=$);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[$]:new B([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}}function Uc(e){return e.segments.length>0?new B([],{[$]:e}):e}function Qs(e){const t={};for(const r of Object.keys(e.children)){const o=Qs(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function LR(e){if(1===e.numberOfChildren&&e.children[$]){const t=e.children[$];return new B(e.segments.concat(t.segments),t.children)}return e}(new B(e.segments,t))}function Kn(e){return e instanceof Zn}function VR(e,t,n,r,i){if(0===n.length)return Hr(t.root,t.root,t.root,r,i);const o=function Qv(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Zv(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Te(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new Zv(n,t,r)}(n);return o.toRoot()?Hr(t.root,t.root,new B([],{}),r,i):function s(u){const l=function BR(e,t,n,r){if(e.isAbsolute)return new zr(t.root,!0,0);if(-1===r)return new zr(n,n===t.root,0);return function Kv(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new zr(r,!1,i-o)}(n,r+(Ji(e.commands[0])?0:1),e.numberOfDoubleDots)}(o,t,e.snapshot?._urlSegment,u),c=l.processChildren?eo(l.segmentGroup,l.index,o.commands):zc(l.segmentGroup,l.index,o.commands);return Hr(t.root,l.segmentGroup,c,r,i)}(e.snapshot?._lastPathIndex)}function Ji(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Xi(e){return"object"==typeof e&&null!=e&&e.outlets}function Hr(e,t,n,r,i){let s,o={};r&&Te(r,(u,l)=>{o[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:qv(e,t,n);const a=Uc(Qs(s));return new Zn(a,o,i)}function qv(e,t,n){const r={};return Te(e.children,(i,o)=>{r[o]=i===t?n:qv(i,t,n)}),new B(e.segments,r)}class Zv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ji(r[0]))throw new E(4003,!1);const i=r.find(Xi);if(i&&i!==kv(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zr{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function zc(e,t,n){if(e||(e=new B([],{})),0===e.segments.length&&e.hasChildren())return eo(e,t,n);const r=function HR(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;const s=e.segments[i],a=n[r];if(Xi(a))break;const u=`${a}`,l=r0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Jv(u,l,s))return o;r+=2}else{if(!Jv(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=zc(e.children[s],t,o))}),Te(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new B(e.segments,i)}}function Gc(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Gc(new B([],{}),0,n))}),t}function Yv(e){const t={};return Te(e,(n,r)=>t[r]=`${n}`),t}function Jv(e,t,n){return e==n.path&&$t(t,n.parameters)}class rn{constructor(t,n){this.id=t,this.url=n}}class Wc extends rn{constructor(t,n,r="imperative",i=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yn extends rn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ks extends rn{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xv extends rn{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class GR extends rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WR extends rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qR extends rn{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ZR extends rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class QR extends rn{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class KR{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class YR{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class JR{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class XR{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eP{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tP{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class eD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class tD{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=qc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=qc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Zc(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return Zc(t,this._root).map(n=>n.value)}}function qc(e,t){if(e===t.value)return t;for(const n of t.children){const r=qc(e,n);if(r)return r}return null}function Zc(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Zc(e,n);if(r.length)return r.unshift(t),r}return[]}class on{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Gr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class nD extends tD{constructor(t,n){super(t),this.snapshot=n,Qc(this,t)}toString(){return this.snapshot.toString()}}function rD(e,t){const n=function rP(e,t){const s=new Ys([],{},{},"",{},$,t,null,e.root,-1,{});return new oD("",new on(s,[]))}(e,t),r=new Tt([new Ki("",{})]),i=new Tt({}),o=new Tt({}),s=new Tt({}),a=new Tt(""),u=new In(r,i,s,a,o,$,t,n.root);return u.snapshot=n.root,new nD(new on(u,[]),n)}class In{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(G(l=>l[Qi]))??S(void 0),this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(G(t=>Ur(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(t=>Ur(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function iD(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function iP(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Ys{constructor(t,n,r,i,o,s,a,u,l,c,d,f){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[Qi],this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._correctedLastPathIndex=f??c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ur(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ur(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class oD extends tD{constructor(t,n){super(n),this.url=t,Qc(this,n)}toString(){return sD(this._root)}}function Qc(e,t){t.value._routerState=e,t.children.forEach(n=>Qc(e,n))}function sD(e){const t=e.children.length>0?` { ${e.children.map(sD).join(", ")} } `:"";return`${e.value}${t}`}function Kc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,$t(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),$t(t.params,n.params)||e.params.next(n.params),function DR(e,t){if(e.length!==t.length)return!1;for(let n=0;n$t(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Yc(e.parent,t.parent))}function to(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function sP(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return to(e,r,i);return to(e,r)})}(e,t,n);return new on(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>to(e,a)),s}}const r=function aP(e){return new In(new Tt(e.url),new Tt(e.params),new Tt(e.queryParams),new Tt(e.fragment),new Tt(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>to(e,o));return new on(r,i)}}const Jc="ngNavigationCancelingError";function aD(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Kn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=uD(!1,0,t);return i.url=n,i.navigationBehaviorOptions=r,i}function uD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Jc]=!0,r.cancellationCode=t,n&&(r.url=n),r}function lD(e){return cD(e)&&Kn(e.url)}function cD(e){return e&&e[Jc]}class uP{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new no,this.attachRef=null}}let no=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new uP,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Js=!1;let Xc=(()=>{class e{constructor(n,r,i,o,s){this.parentContexts=n,this.location=r,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ze,this.deactivateEvents=new ze,this.attachEvents=new ze,this.detachEvents=new ze,this.name=i||$,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,Js);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,Js);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,Js);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new E(4013,Js);this._activatedRoute=n;const i=this.location,s=n._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new lP(n,a,i.injector);if(r&&function cP(e){return!!e.resolveComponentFactory}(r)){const l=r.resolveComponentFactory(s);this.activated=i.createComponent(l,i.length,u)}else this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(b(no),b(bt),function li(e){return function Ww(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["ng-component"]],standalone:!0,features:[Em],decls:1,vars:0,template:function(n,r){1&n&&Be(0,"router-outlet")},dependencies:[Xc],encapsulation:2}),e})();function dD(e,t){return e.providers&&!e._injector&&(e._injector=ps(e.providers,t,`Route: ${e.path}`)),e._injector??t}function nd(e){const t=e.children&&e.children.map(nd),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=ed),n}function pt(e){return e.outlet||$}function fD(e,t){const n=e.filter(r=>pt(r)===t);return n.push(...e.filter(r=>pt(r)!==t)),n}function ro(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class gP{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Kc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=Gr(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Te(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Gr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Gr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=Gr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new tP(o.value.snapshot))}),t.children.length&&this.forwardEvent(new XR(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(Kc(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Kc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ro(i.snapshot),u=a?.get(Si)??null;s.attachRef=null,s.route=i,s.resolver=u,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class hD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Xs{constructor(t,n){this.component=t,this.route=n}}function mP(e,t,n){const r=e._root;return io(r,t?t._root:null,n,[r.value])}function Wr(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function q_(e){return null!==go(e)}(e)?t.get(e):e:r}function io(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Gr(t);return e.children.forEach(s=>{(function vP(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function DP(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Qn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Qn(e.url,t.url)||!$t(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yc(e,t)||!$t(e.queryParams,t.queryParams);default:return!Yc(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new hD(r)):(o.data=s.data,o._resolvedData=s._resolvedData),io(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Xs(a.outlet.component,s))}else s&&oo(t,a,i),i.canActivateChecks.push(new hD(r)),io(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Te(o,(s,a)=>oo(s,n.getContext(a),i)),i}function oo(e,t,n){const r=Gr(e),i=e.value;Te(r,(o,s)=>{oo(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Xs(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function so(e){return"function"==typeof e}function rd(e){return e instanceof Us||"EmptyError"===e?.name}const ea=Symbol("INITIAL_VALUE");function qr(){return Vt(e=>Tv(e.map(t=>t.pipe(Zi(1),function fR(...e){const t=Jr(e);return be((n,r)=>{(t?Fc(e,n,t):Fc(e,n)).subscribe(r)})}(ea)))).pipe(G(t=>{for(const n of t)if(!0!==n){if(n===ea)return ea;if(!1===n||n instanceof Zn)return n}return!0}),wn(t=>t!==ea),Zi(1)))}function pD(e){return function QD(...e){return Td(e)}(Fe(t=>{if(Kn(t))throw aD(0,t)}),G(t=>!0===t))}const id={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gD(e,t,n,r,i){const o=od(e,t,n);return o.matched?function LP(e,t,n,r){const i=t.canMatch;return i&&0!==i.length?S(i.map(s=>{const a=Wr(s,e);return bn(function IP(e){return e&&so(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(qr(),pD()):S(!0)}(r=dD(t,r),t,n).pipe(G(s=>!0===s?o:{...id})):S(o)}function od(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...id}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(t.matcher||vR)(n,e,t);if(!i)return{...id};const o={};Te(i.posParams,(a,u)=>{o[u]=a.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ta(e,t,n,r,i="corrected"){if(n.length>0&&function VP(e,t,n){return n.some(r=>na(e,t,r)&&pt(r)!==$)}(e,n,r)){const s=new B(t,function jP(e,t,n,r){const i={};i[$]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&pt(o)!==$){const s=new B([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[pt(o)]=s}return i}(e,t,r,new B(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function $P(e,t,n){return n.some(r=>na(e,t,r))}(e,n,r)){const s=new B(e.segments,function kP(e,t,n,r,i,o){const s={};for(const a of r)if(na(e,n,a)&&!i[pt(a)]){const u=new B([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[pt(a)]=u}return{...i,...s}}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const o=new B(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function na(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function mD(e,t,n,r){return!!(pt(e)===r||r!==$&&na(t,n,e))&&("**"===e.path||od(t,e,n).matched)}function yD(e,t,n){return 0===t.length&&!e.children[n]}const ra=!1;class ia{constructor(t){this.segmentGroup=t||null}}class vD{constructor(t){this.urlTree=t}}function ao(e){return qi(new ia(e))}function DD(e){return qi(new vD(e))}class zP{constructor(t,n,r,i,o){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0}apply(){const t=ta(this.urlTree.root,[],[],this.config).segmentGroup,n=new B(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,$).pipe(G(o=>this.createUrlTree(Qs(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(En(o=>{if(o instanceof vD)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ia?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,$).pipe(G(i=>this.createUrlTree(Qs(i),t.queryParams,t.fragment))).pipe(En(i=>{throw i instanceof ia?this.noMatchError(i):i}))}noMatchError(t){return new E(4002,ra)}createUrlTree(t,n,r){const i=Uc(t);return new Zn(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(G(o=>new B([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return ve(i).pipe(qn(o=>{const s=r.children[o],a=fD(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(G(u=>({segment:u,outlet:o})))}),Nv((o,s)=>(o[s.outlet]=s.segment,o),{}),Ov())}expandSegment(t,n,r,i,o,s){return ve(r).pipe(qn(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(En(l=>{if(l instanceof ia)return S(null);throw l}))),Cn(a=>!!a),En((a,u)=>{if(rd(a))return yD(n,i,o)?S(new B([],{})):ao(n);throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return mD(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):ao(n):ao(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?DD(o):this.lineralizeSegments(r,o).pipe(Me(s=>{const a=new B(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,remainingSegments:l,positionalParamSegments:c}=od(n,i,o);if(!a)return ao(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?DD(d):this.lineralizeSegments(i,d).pipe(Me(f=>this.expandSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){return"**"===r.path?(t=dD(r,t),r.loadChildren?(r._loadedRoutes?S({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(G(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new B(i,{})))):S(new B(i,{}))):gD(n,r,i,t).pipe(Vt(({matched:s,consumedSegments:a,remainingSegments:u})=>s?this.getChildConfig(t=r._injector??t,r,i).pipe(Me(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=ta(n,a,u,f),g=new B(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe(G(y=>new B(a,y)));if(0===f.length&&0===p.length)return S(new B(a,{}));const m=pt(r)===o;return this.expandSegment(d,g,f,p,m?$:o,!0).pipe(G(_=>new B(a.concat(_.segments),_.children)))})):ao(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?S({routes:n._loadedRoutes,injector:n._loadedInjector}):function FP(e,t,n,r){const i=t.canLoad;return void 0===i||0===i.length?S(!0):S(i.map(s=>{const a=Wr(s,e);return bn(function wP(e){return e&&so(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(qr(),pD())}(t,n,r).pipe(Me(i=>i?this.configLoader.loadChildren(t,n).pipe(Fe(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):function UP(e){return qi(uD(ra,3))}())):S({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return S(r);if(i.numberOfChildren>1||!i.children[$])return qi(new E(4e3,ra));i=i.children[$]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new Zn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Te(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Te(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new B(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new E(4001,ra);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}class WP{}class QP{constructor(t,n,r,i,o,s,a,u){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=u}recognize(){const t=ta(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,$).pipe(G(n=>{if(null===n)return null;const r=new Ys([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new on(r,n),o=new oD(this.url,i);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const n=t.value,r=iD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,i)}processChildren(t,n,r){return ve(Object.keys(r.children)).pipe(qn(i=>{const o=r.children[i],s=fD(n,i);return this.processSegmentGroup(t,s,o,i)}),Nv((i,o)=>i&&o?(i.push(...o),i):null),function gR(e,t=!1){return be((n,r)=>{let i=0;n.subscribe(Ie(r,o=>{const s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}(i=>null!==i),Hs(null),Ov(),G(i=>{if(null===i)return null;const o=_D(i);return function KP(e){e.sort((t,n)=>t.value.outlet===$?-1:n.value.outlet===$?1:t.value.outlet.localeCompare(n.value.outlet))}(o),o}))}processSegment(t,n,r,i,o){return ve(n).pipe(qn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,i,o)),Cn(s=>!!s),En(s=>{if(rd(s))return yD(r,i,o)?S([]):S(null);throw s}))}processSegmentAgainstRoute(t,n,r,i,o){if(n.redirectTo||!mD(n,r,i,o))return S(null);let s;if("**"===n.path){const a=i.length>0?kv(i).parameters:{},u=CD(r)+i.length;s=S({snapshot:new Ys(i,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bD(n),pt(n),n.component??n._loadedComponent??null,n,wD(r),u,ID(n),u),consumedSegments:[],remainingSegments:[]})}else s=gD(r,n,i,t).pipe(G(({matched:a,consumedSegments:u,remainingSegments:l,parameters:c})=>{if(!a)return null;const d=CD(r)+u.length;return{snapshot:new Ys(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bD(n),pt(n),n.component??n._loadedComponent??null,n,wD(r),d,ID(n),d),consumedSegments:u,remainingSegments:l}}));return s.pipe(Vt(a=>{if(null===a)return S(null);const{snapshot:u,consumedSegments:l,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function YP(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=ta(r,l,c,f.filter(m=>void 0===m.redirectTo),this.relativeLinkResolution);if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe(G(m=>null===m?null:[new on(u,m)]));if(0===f.length&&0===p.length)return S([new on(u,[])]);const g=pt(n)===o;return this.processSegment(d,f,h,p,g?$:o).pipe(G(m=>null===m?null:[new on(u,m)]))}))}}function JP(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function _D(e){const t=[],n=new Set;for(const r of e){if(!JP(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=_D(r.children);t.push(new on(r.value,i))}return t.filter(r=>!n.has(r))}function wD(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function CD(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function bD(e){return e.data||{}}function ID(e){return e.resolve||{}}function SD(e){return"string"==typeof e.title||null===e.title}function sd(e){return Vt(t=>{const n=e(t);return n?ve(n).pipe(G(()=>t)):S(t)})}let MD=(()=>{class e{buildTitle(n){let r,i=n.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===$);return r}getResolvedTitleForRoute(n){return n.data[Qi]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:function(){return ce(TD)},providedIn:"root"}),e})(),TD=(()=>{class e extends MD{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(M(Iv))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class sN{}class uN extends class aN{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const sa=new P("",{providedIn:"root",factory:()=>({})}),ad=new P("ROUTES");let ud=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=bn(n.loadComponent()).pipe(Fe(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),jc(()=>{this.componentLoaders.delete(n)})),i=new Rv(r,()=>new At).pipe(Lc());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(G(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let u,l,c=!1;Array.isArray(a)?l=a:(u=a.create(n).injector,l=Lv(u.get(ad,[],A.Self|A.Optional)));return{routes:l.map(nd),injector:u}}),jc(()=>{this.childrenLoaders.delete(r)})),s=new Rv(o,()=>new At).pipe(Lc());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return bn(n()).pipe(Me(r=>r instanceof wm||Array.isArray(r)?S(r):ve(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)(M(_t),M(Ql))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class cN{}class dN{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function fN(e){throw e}function hN(e,t,n){return t.parse("/")}const pN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function xD(){const e=ce(Hv),t=ce(no),n=ce(dc),r=ce(_t),i=ce(Ql),o=ce(ad,{optional:!0})??[],s=ce(sa,{optional:!0})??{},a=ce(TD),u=ce(MD,{optional:!0}),l=ce(cN,{optional:!0}),c=ce(sN,{optional:!0}),d=new Ae(null,e,t,n,r,i,Lv(o));return l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),d.titleStrategy=u??a,function mN(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,d),d}let Ae=(()=>{class e{constructor(n,r,i,o,s,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new At,this.errorHandler=fN,this.malformedUriErrorHandler=hN,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>S(void 0),this.urlHandlingStrategy=new dN,this.routeReuseStrategy=new uN,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(ud),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new YR(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new KR(f)),this.ngModule=s.get(zn),this.console=s.get(LM);const d=s.get(Ce);this.isNgZoneEnabled=d instanceof Ce&&Ce.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function _R(){return new Zn(new B([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=rD(this.currentUrlTree,this.rootComponentType),this.transitions=new Tt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(wn(i=>0!==i.id),G(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Vt(i=>{let o=!1,s=!1;return S(i).pipe(Fe(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Vt(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return RD(a.source)&&(this.browserUrlTree=a.extractedUrl),S(a).pipe(Vt(d=>{const f=this.transitions.getValue();return r.next(new Wc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Ut:Promise.resolve(d)}),function GP(e,t,n,r){return Vt(i=>function HP(e,t,n,r,i){return new zP(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(G(o=>({...i,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Fe(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},i.urlAfterRedirects=d.urlAfterRedirects}),function eN(e,t,n,r,i,o){return Me(s=>function ZP(e,t,n,r,i,o,s="emptyOnly",a="legacy"){return new QP(e,t,n,r,i,s,a,o).recognize().pipe(Vt(u=>null===u?function qP(e){return new ye(t=>t.error(e))}(new WP):S(u)))}(e,t,n,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,i,o).pipe(G(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Fe(d=>{if(i.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new GR(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:m}=a,D=new Wc(f,this.serializeUrl(h),p,g);r.next(D);const _=rD(h,this.rootComponentType).snapshot;return S(i={...a,targetSnapshot:_,urlAfterRedirects:h,extras:{...m,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Ut}),Fe(a=>{const u=new WR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),G(a=>i={...a,guards:mP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function MP(e,t){return Me(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?S({...n,guardsResult:!0}):function TP(e,t,n,r){return ve(e).pipe(Me(i=>function OP(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?S(o.map(a=>{const u=ro(t)??i,l=Wr(a,u);return bn(function bP(e){return e&&so(e.canDeactivate)}(l)?l.canDeactivate(e,t,n,r):u.runInContext(()=>l(e,t,n,r))).pipe(Cn())})).pipe(qr()):S(!0)}(i.component,i.route,n,t,r)),Cn(i=>!0!==i,!0))}(s,r,i,e).pipe(Me(a=>a&&function _P(e){return"boolean"==typeof e}(a)?function AP(e,t,n,r){return ve(t).pipe(qn(i=>Fc(function RP(e,t){return null!==e&&t&&t(new JR(e)),S(!0)}(i.route.parent,r),function xP(e,t){return null!==e&&t&&t(new eP(e)),S(!0)}(i.route,r),function NP(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function yP(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>xv(()=>S(s.guards.map(u=>{const l=ro(s.node)??n,c=Wr(u,l);return bn(function EP(e){return e&&so(e.canActivateChild)}(c)?c.canActivateChild(r,e):l.runInContext(()=>c(r,e))).pipe(Cn())})).pipe(qr())));return S(o).pipe(qr())}(e,i.path,n),function PP(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return S(!0);const i=r.map(o=>xv(()=>{const s=ro(t)??n,a=Wr(o,s);return bn(function CP(e){return e&&so(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Cn())}));return S(i).pipe(qr())}(e,i.route,n))),Cn(i=>!0!==i,!0))}(r,o,e,t):S(a)),G(a=>({...n,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Fe(a=>{if(i.guardsResult=a.guardsResult,Kn(a.guardsResult))throw aD(0,a.guardsResult);const u=new qR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),wn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),sd(a=>{if(a.guards.canActivateChecks.length)return S(a).pipe(Fe(u=>{const l=new ZR(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),Vt(u=>{let l=!1;return S(u).pipe(function tN(e,t){return Me(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return S(n);let o=0;return ve(i).pipe(qn(s=>function nN(e,t,n,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!SD(i)&&(o[Qi]=i.title),function rN(e,t,n,r){const i=function iN(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return S({});const o={};return ve(i).pipe(Me(s=>function oN(e,t,n,r){const i=ro(t)??r,o=Wr(e,i);return bn(o.resolve?o.resolve(t,n):i.runInContext(()=>o(t,n)))}(e[s],t,n,r).pipe(Cn(),Fe(a=>{o[s]=a}))),kc(1),function mR(e){return G(()=>e)}(o),En(s=>rd(s)?Ut:qi(s)))}(o,e,t,r).pipe(G(s=>(e._resolvedData=s,e.data=iD(e,n).resolve,i&&SD(i)&&(e.data[Qi]=i.title),null)))}(s.route,r,e,t)),Fe(()=>o++),kc(1),Me(s=>o===i.length?S(n):Ut))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Fe({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"",2))}}))}),Fe(u=>{const l=new QR(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),sd(a=>{const u=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Fe(d=>{l.component=d}),G(()=>{})));for(const d of l.children)c.push(...u(d));return c};return Tv(u(a.targetSnapshot.root)).pipe(Hs(),Zi(1))}),sd(()=>this.afterPreactivation()),G(a=>{const u=function oP(e,t,n){const r=to(e,t._root,n?n._root:void 0);return new nD(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:u}}),Fe(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>G(r=>(new gP(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Fe({next(){o=!0},complete(){o=!0}}),jc(()=>{o||s||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),En(a=>{if(s=!0,cD(a)){lD(a)||(this.navigated=!0,this.restoreHistory(i,!0));const u=new Ks(i.id,this.serializeUrl(i.extractedUrl),a.message,a.cancellationCode);if(r.next(u),lD(a)){const l=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||RD(i.source)};this.scheduleNavigation(l,"imperative",null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new Xv(i.id,this.serializeUrl(i.extractedUrl),a,i.targetSnapshot??void 0);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return Ut}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next({...this.transitions.value,...n})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const i={replaceUrl:!0},o=n.state?.navigationId?n.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(i.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,o,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(nd),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,c=u?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),VR(l,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Kn(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function yN(e){for(let t=0;t{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Yn(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,l;s?(a=s.resolve,u=s.reject,l=s.promise):l=new Promise((f,h)=>{a=f,u=h});const c=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),d=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:c,targetPageId:d,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:a,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===i?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r,i){const o=new Ks(n.id,this.serializeUrl(n.extractedUrl),r,i);this.triggerEvent(o),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){zu()},e.\u0275prov=V({token:e,factory:function(){return xD()},providedIn:"root"}),e})();function RD(e){return"imperative"!==e}let Jn=(()=>{class e{constructor(n,r,i){this.router=n,this.route=r,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new At,this.subscription=n.events.subscribe(o=>{o instanceof Yn&&this.updateTargetUrlAndHref()})}set preserveFragment(n){this._preserveFragment=Br(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=Br(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=Br(n)}get replaceUrl(){return this._replaceUrl}set routerLink(n){this.commands=null!=n?Array.isArray(n)?n:[n]:null}ngOnChanges(n){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(n,r,i,o,s){return!!(0!==n||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(b(Ae),b(In),b(Wn))},e.\u0275dir=xe({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(n,r){1&n&&us("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&n&&gl("target",r.target)("href",r.href,Dr)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Fn]}),e})();class PD{}let _N=(()=>{class e{constructor(n,r,i,o,s){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(wn(n=>n instanceof Yn),qn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=ps(o.providers,n,`Route: ${o.path}`));const s=o._injector??n,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?i.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return ve(i).pipe(er())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):S(null);const o=i.pipe(Me(s=>null===s?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?ve([o,this.loader.loadComponent(r)]).pipe(er()):o})}}return e.\u0275fac=function(n){return new(n||e)(M(Ae),M(Ql),M(hn),M(PD),M(ud))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const cd=new P("");let ND=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof Wc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Yn&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof eD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new eD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){zu()},e.\u0275prov=V({token:e,factory:e.\u0275fac}),e})();function Zr(e,t){return{\u0275kind:e,\u0275providers:t}}function dd(e){return[{provide:ad,multi:!0,useValue:e}]}function FD(){const e=ce(_t);return t=>{const n=e.get(ws);if(t!==n.components[0])return;const r=e.get(Ae),i=e.get(LD);1===e.get(fd)&&r.initialNavigation(),e.get(kD,null,A.Optional)?.setUpPreloading(),e.get(cd,null,A.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.unsubscribe())}}const LD=new P("",{factory:()=>new At}),fd=new P("",{providedIn:"root",factory:()=>1});const kD=new P("");function bN(e){return Zr(0,[{provide:kD,useExisting:_N},{provide:PD,useExisting:e}])}const jD=new P("ROUTER_FORROOT_GUARD"),IN=[dc,{provide:Hv,useClass:$c},{provide:Ae,useFactory:xD},no,{provide:In,useFactory:function OD(e){return e.routerState.root},deps:[Ae]},ud];function SN(){return new yy("Router",Ae)}let VD=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[IN,[],dd(n),{provide:jD,useFactory:xN,deps:[[Ae,new mi,new yi]]},{provide:sa,useValue:r||{}},r?.useHash?{provide:Wn,useClass:bT}:{provide:Wn,useClass:Uy},{provide:cd,useFactory:()=>{const e=ce(Ae),t=ce(WA),n=ce(sa);return n.scrollOffset&&t.setOffset(n.scrollOffset),new ND(e,t,n)}},r?.preloadingStrategy?bN(r.preloadingStrategy).\u0275providers:[],{provide:yy,multi:!0,useFactory:SN},r?.initialNavigation?RN(r):[],[{provide:$D,useFactory:FD},{provide:cy,multi:!0,useExisting:$D}]]}}static forChild(n){return{ngModule:e,providers:[dd(n)]}}}return e.\u0275fac=function(n){return new(n||e)(M(jD,8))},e.\u0275mod=An({type:e}),e.\u0275inj=an({imports:[ed]}),e})();function xN(e){return"guarded"}function RN(e){return["disabled"===e.initialNavigation?Zr(3,[{provide:vs,multi:!0,useFactory:()=>{const t=ce(Ae);return()=>{t.setUpLocationChangeListener()}}},{provide:fd,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Zr(2,[{provide:fd,useValue:0},{provide:vs,multi:!0,deps:[_t],useFactory:t=>{const n=t.get(CT,Promise.resolve());let r=!1;return()=>n.then(()=>new Promise(o=>{const s=t.get(Ae),a=t.get(LD);(function i(o){t.get(Ae).events.pipe(wn(a=>a instanceof Yn||a instanceof Ks||a instanceof Xv),G(a=>a instanceof Yn||a instanceof Ks&&(0===a.code||1===a.code)&&null),wn(a=>null!==a),Zi(1)).subscribe(()=>{o()})})(()=>{o(!0),r=!0}),s.afterPreactivation=()=>(o(!0),r||a.closed?S(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const $D=new P("");let NN=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-menu-title"]],decls:5,vars:0,consts:[[1,"container__menu-title"]],template:function(n,r){1&n&&(re(0,"div",0),Be(1,"hr"),re(2,"h1"),Ue(3,"ERICA AKIRA"),te(),Be(4,"hr"),te())},styles:[".container__menu-title[_ngcontent-%COMP%]{color:#fff}.container__menu-title[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px;font-size:6rem;font-weight:700;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;display:flex;justify-content:center}.container__menu-title[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:5px}","@media screen and (max-width:700px){.container__menu-title[_ngcontent-%COMP%]{width:90%;margin:auto}.container__menu-title[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{font-size:3rem}}"]}),e})();const hd=[{id:"1",photo:"https://s2-g1.glbimg.com/hT4uikZ4aa3qQl4cSrjhIYxsFNg=/0x0:1920x1080/984x0/smart/filters:strip_icc()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2023/2/n/JsWJOERby7AuZBbvxMPA/nc-florada-cerejeira-300723.jpg3.jpg",title:"Cerejeiras em Sorocaba",description:"texto texto texto"},{id:"2",photo:"https://www.folhadelondrina.com.br/img/inline/2990000/0x800/Cerejeiras-florescem-e-embelezam-ruas-de-Apucarana0299618800202006181742.webp?fallback=https%3A%2F%2Fwww.folhadelondrina.com.br%2Fimg%2Finline%2F2990000%2FCerejeiras-florescem-e-embelezam-ruas-de-Apucarana0299618800202006181742.jpg%3Fxid%3D5228320&xid=5228320",title:"Florada da cerejeira embeleza Apucarana",description:"texto2 texto2 texto2"},{id:"3",photo:"https://veja.abril.com.br/wp-content/uploads/2016/12/cerejeira-cherry-blossom-sakura-20160420-005.jpg?quality=70&strip=all",title:"Sakura, a cerejeira do Jap\xe3o",description:"texto3 texto3 texto3"},{id:"4",photo:"https://imagens-revista.vivadecora.com.br/uploads/2022/05/A-flor-de-cerejeira-significado-%C3%A9-amor-beleza-e-esperanca-Foto-iStock.jpg",title:"Flor de cerejeira: Significado, lendas e + 35 ideias de decora\xe7\xe3o.",description:"texto4 texto4 texto4"},{id:"5",photo:"https://s2-g1.glbimg.com/hT4uikZ4aa3qQl4cSrjhIYxsFNg=/0x0:1920x1080/984x0/smart/filters:strip_icc()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2023/2/n/JsWJOERby7AuZBbvxMPA/nc-florada-cerejeira-300723.jpg3.jpg",title:"5 Cerejeiras em Sorocaba",description:"texto5 texto5 texto5"}],ON=function(e){return["content",e]};function FN(e,t){if(1&e&&(re(0,"div",1)(1,"div",2),Be(2,"img",3),te(),re(3,"div",4)(4,"h1")(5,"a",5),Ue(6),te()()(),re(7,"div",6)(8,"p")(9,"a",7),Ue(10),te()()()()),2&e){const n=t.$implicit;ot(2),Bn("src",n.photo,Dr),Bn("alt",n.title),ot(3),yn("routerLink",Pl(5,ON,n.id)),ot(1),Un(n.title),ot(4),Un(n.description)}}let LN=(()=>{class e{constructor(){this.Id="0",this.bigCard=hd.slice(-1)}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-big-card"]],inputs:{Id:"Id"},decls:1,vars:1,consts:[["class","container__big-card",4,"ngFor","ngForOf"],[1,"container__big-card"],[1,"big-card__pic"],["srcset","",3,"src","alt"],[1,"big-card__title"],[3,"routerLink"],[1,"big-card__description"],["href","#"]],template:function(n,r){1&n&&ml(0,FN,11,7,"div",0),2&n&&yn("ngForOf",r.bigCard)},dependencies:[wc,Jn],styles:[".container__big-card[_ngcontent-%COMP%]{width:400px;height:500px;margin-left:10px;margin-right:10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.big-card__pic[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;min-width:400px}.big-card__title[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{margin-top:10px;font-size:20px}.big-card__description[_ngcontent-%COMP%]{margin-top:10px}.big-card__description[_ngcontent-%COMP%] > p[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:gray}","@media screen and (max-width:700px){.container__big-card[_ngcontent-%COMP%]{width:90%;height:100%;margin:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.big-card__pic[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;min-width:200px}.big-card__description[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:15px}}"]}),e})();const kN=function(e){return["content",e]};function jN(e,t){if(1&e&&(re(0,"div",1)(1,"div",2)(2,"div",3),Be(3,"img",4),te(),re(4,"div",5)(5,"h1")(6,"a",6),Ue(7),te()()()(),re(8,"div",7),Be(9,"hr"),te()()),2&e){const n=t.$implicit;ot(3),Bn("src",n.photo,Dr),Bn("alt",n.title),ot(3),yn("routerLink",Pl(4,kN,n.id)),ot(1),Un(n.title)}}let VN=(()=>{class e{constructor(){this.Id="0",this.aux=hd.slice(-4),this.reverse=this.aux.reverse(),this.smallCards=this.reverse.slice(-3)}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-small-card"]],inputs:{Id:"Id"},decls:1,vars:1,consts:[["class","container__small-card",4,"ngFor","ngForOf"],[1,"container__small-card"],[1,"container__small-card__content"],[1,"small-card__pic"],["srcset","",3,"src","alt"],[1,"small-card__title"],[3,"routerLink"],[1,"container__small-card__separator"]],template:function(n,r){1&n&&ml(0,jN,10,6,"div",0),2&n&&yn("ngForOf",r.smallCards)},dependencies:[wc,Jn],styles:[".container__small-card[_ngcontent-%COMP%]{width:500px}.container__small-card__content[_ngcontent-%COMP%]{display:flex;flex-direction:row}.container__small-card__separator[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}.small-card__pic[_ngcontent-%COMP%]{width:40%;display:flex}.small-card__pic[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;min-width:200px;margin-right:20px}.small-card__title[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-size:10px;margin-left:20px}","@media screen and (max-width:700px){.container__small-card[_ngcontent-%COMP%]{width:90%;margin:auto}.container__small-card__content[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.small-card__pic[_ngcontent-%COMP%]{width:40%;display:flex}.small-card__pic[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;min-width:120px;margin-right:20px}.small-card__title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:10px}}"]}),e})();const BN=function(){return[""]},UN=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-home"]],decls:6,vars:0,consts:[[1,"container__articles"],[1,"articles__main"],[1,"articles__other"]],template:function(n,r){1&n&&(Be(0,"app-menu-title"),re(1,"div",0)(2,"div",1),Be(3,"app-big-card"),te(),re(4,"div",2),Be(5,"app-small-card"),te()())},dependencies:[NN,LN,VN],styles:[".container__articles[_ngcontent-%COMP%]{margin-top:30px;display:flex;flex-direction:row;justify-content:center}","@media screen and (max-width:700px){.container__articles[_ngcontent-%COMP%]{margin-top:30px;display:flex;flex-direction:column;justify-content:center}}"]}),e})()},{path:"content/:id",component:(()=>{class e{constructor(n){this.route=n,this.photoCover="",this.contentTitle="",this.contentDescription="",this.id="0"}ngOnInit(){this.route.paramMap.subscribe(n=>this.id=n.get("id")),this.setValuesToComponent(this.id)}setValuesToComponent(n){const r=hd.filter(i=>i.id==n)[0];this.contentTitle=r.title,this.contentDescription=r.description,this.photoCover=r.photo}}return e.\u0275fac=function(n){return new(n||e)(b(In))},e.\u0275cmp=Pt({type:e,selectors:[["app-content"]],decls:12,vars:5,consts:[[1,"container__content"],[1,"content__cover"],["alt","",3,"src"],[1,"content__title"],[1,"content_description"],[3,"routerLink"]],template:function(n,r){1&n&&(re(0,"div",0)(1,"div",1),Be(2,"img",2),te(),re(3,"div",3)(4,"h1"),Ue(5),te(),Be(6,"hr"),te(),re(7,"div",4)(8,"p"),Ue(9),te()(),re(10,"a",5),Ue(11,"<< Voltar para Home"),te()()),2&n&&(ot(2),Bn("src",r.photoCover,Dr),ot(3),Un(r.contentTitle),ot(4),Un(r.contentDescription),ot(1),yn("routerLink",Rl(4,BN)))},dependencies:[Jn],styles:[".container__content[_ngcontent-%COMP%]{border:1px solid white;width:100%;height:100vh;margin-top:20px;display:flex;flex-direction:column;align-items:center}.content__cover[_ngcontent-%COMP%]{border:1px solid white}.content__cover[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{border:1px solid red;width:500px;min-width:500px;height:300px}.content_description[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{color:gray}"]}),e})()}];let HN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=An({type:e}),e.\u0275inj=an({imports:[VD.forRoot(UN),VD]}),e})();const zN=function(){return[""]};let GN=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-menu-bar"]],decls:23,vars:2,consts:[[1,"container__menu-bar"],[3,"routerLink"],["href","https://www.linkedin.com/in/ericasuguimoto/"],["href","https://github.com/EricaSugui"],["href","https://www.youtube.com/@EricaAkiraSuguimoto"]],template:function(n,r){1&n&&(re(0,"div",0)(1,"ul")(2,"li")(3,"a",1),Ue(4,"Home"),te()(),re(5,"li")(6,"span"),Ue(7,"*"),te()(),re(8,"li")(9,"a",2),Ue(10,"LinkedIn"),te()(),re(11,"li")(12,"span"),Ue(13,"*"),te()(),re(14,"li")(15,"a",3),Ue(16,"GitHub"),te()(),re(17,"li")(18,"span"),Ue(19,"*"),te()(),re(20,"li")(21,"a",4),Ue(22,"YouTube"),te()()()()),2&n&&(ot(3),yn("routerLink",Rl(1,zN)))},dependencies:[Jn],styles:[".container__menu-bar[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{display:flex;flex-direction:row}.container__menu-bar[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin-right:50px;list-style:none}","@media screen and (max-width:700px){.container__menu-bar[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin-right:10px;list-style:none}}"]}),e})(),WN=(()=>{class e{constructor(){this.title="angular-blog"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pt({type:e,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){1&n&&(re(0,"header"),Be(1,"app-menu-bar"),te(),Be(2,"router-outlet"))},dependencies:[Xc,GN],styles:["header[_ngcontent-%COMP%]{margin-top:15px;display:flex;justify-content:center}"]}),e})(),qN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=An({type:e,bootstrap:[WN]}),e.\u0275inj=an({imports:[zx,HN]}),e})();(function tT(){My=!1})(),Hx().bootstrapModule(qN).catch(e=>console.error(e))}},J=>{J(J.s=450)}]); \ No newline at end of file diff --git a/polyfills.e1f99951addee5e3.js b/polyfills.e1f99951addee5e3.js new file mode 100644 index 0000000..42a626f --- /dev/null +++ b/polyfills.e1f99951addee5e3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular_blog=self.webpackChunkangular_blog||[]).push([[429],{435:(ie,Ee,de)=>{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;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:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==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 L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;EU,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)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{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 m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}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 e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.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 X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=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=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=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(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],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[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,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 P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(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 yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=435)}]); \ No newline at end of file diff --git a/runtime.0da17a01f9512df0.js b/runtime.0da17a01f9512df0.js new file mode 100644 index 0000000..f40a5a2 --- /dev/null +++ b/runtime.0da17a01f9512df0.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,t,f)=>{if(!r){var c=1/0;for(l=0;l=f)&&Object.keys(n.O).every(i=>n.O[i](r[u]))?r.splice(u--,1):(s=!1,f0&&e[l-1][2]>f;l--)e[l]=e[l-1];e[l]=[r,t,f]},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=t=>0===e[t];var a=(t,f)=>{var u,o,[l,c,s]=f,v=0;if(l.some(h=>0!==e[h])){for(u in c)n.o(c,u)&&(n.m[u]=c[u]);if(s)var d=s(n)}for(t&&t(f);v