diff --git a/dist/qr_vitanova.7z b/dist/qr_vitanova.7z
new file mode 100644
index 0000000..1bcda52
Binary files /dev/null and b/dist/qr_vitanova.7z differ
diff --git a/dist/qr_vitanova/3rdpartylicenses.txt b/dist/qr_vitanova/3rdpartylicenses.txt
new file mode 100644
index 0000000..46d354e
--- /dev/null
+++ b/dist/qr_vitanova/3rdpartylicenses.txt
@@ -0,0 +1,355 @@
+
+--------------------------------------------------------------------------------
+Package: @angular/core
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: rxjs
+License: "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.
+
+
+--------------------------------------------------------------------------------
+Package: tslib
+License: "0BSD"
+
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+--------------------------------------------------------------------------------
+Package: @angular/common
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: @angular/platform-browser
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: @angular/router
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: @angular/forms
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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/dist/qr_vitanova/browser/favicon.ico b/dist/qr_vitanova/browser/favicon.ico
new file mode 100644
index 0000000..57614f9
Binary files /dev/null and b/dist/qr_vitanova/browser/favicon.ico differ
diff --git a/dist/qr_vitanova/browser/favicon.svg b/dist/qr_vitanova/browser/favicon.svg
new file mode 100644
index 0000000..4efb04e
--- /dev/null
+++ b/dist/qr_vitanova/browser/favicon.svg
@@ -0,0 +1,4 @@
+
+
+ ₽
+
diff --git a/dist/qr_vitanova/browser/index.html b/dist/qr_vitanova/browser/index.html
new file mode 100644
index 0000000..0a5183c
--- /dev/null
+++ b/dist/qr_vitanova/browser/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Оплата через СБП
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dist/qr_vitanova/browser/main-EGLB7S7A.js b/dist/qr_vitanova/browser/main-EGLB7S7A.js
new file mode 100644
index 0000000..e3cef5c
--- /dev/null
+++ b/dist/qr_vitanova/browser/main-EGLB7S7A.js
@@ -0,0 +1,5 @@
+var sm=Object.defineProperty,am=Object.defineProperties;var cm=Object.getOwnPropertyDescriptors;var Pu=Object.getOwnPropertySymbols;var lm=Object.prototype.hasOwnProperty,um=Object.prototype.propertyIsEnumerable;var Lu=(e,t,n)=>t in e?sm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})lm.call(t,n)&&Lu(e,n,t[n]);if(Pu)for(var n of Pu(t))um.call(t,n)&&Lu(e,n,t[n]);return e},R=(e,t)=>am(e,cm(t));var se=null,Po=!1,Xs=1,dm=null,ce=Symbol("SIGNAL");function _(e){let t=se;return se=e,t}function Vo(){return se}var mn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vn(e){if(Po)throw new Error("");if(se===null)return;se.consumerOnSignalRead(e);let t=se.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=se.recomputing;if(r&&(n=t!==void 0?t.nextProducer:se.producers,n!==void 0&&n.producer===e)){se.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===se&&(!r||hm(o,se)))return;let i=En(se),s={producer:e,consumer:se,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};se.producersTail=s,t!==void 0?t.nextProducer=s:se.producers=s,i&&Uu(e,s)}function Fu(){Xs++}function Uo(e){if(!(En(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xs)){if(!e.producerMustRecompute(e)&&!Ho(e)){jo(e);return}e.producerRecomputeValue(e),jo(e)}}function ea(e){if(e.consumers===void 0)return;let t=Po;Po=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||fm(r)}}finally{Po=t}}function ta(){return se?.consumerAllowSignalWrites!==!1}function fm(e){e.dirty=!0,ea(e),e.consumerMarkedDirty?.(e)}function jo(e){e.dirty=!1,e.lastCleanEpoch=Xs}function yn(e){return e&&ju(e),_(e)}function ju(e){e.producersTail=void 0,e.recomputing=!0}function mr(e,t){_(t),e&&Vu(e)}function Vu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(En(e))do n=na(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ho(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Uo(n),r!==n.version))return!0}return!1}function vr(e){if(En(e)){let t=e.producers;for(;t!==void 0;)t=na(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Uu(e,t){let n=e.consumersTail,r=En(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Uu(o.producer,o)}function na(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!En(t)){let i=t.producers;for(;i!==void 0;)i=na(i)}return n}function En(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bo(e){dm?.(e)}function hm(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function $o(e,t){return Object.is(e,t)}function zo(e,t){let n=Object.create(pm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Uo(n),vn(n),n.value===gr)throw n.error;return n.value};return r[ce]=n,Bo(n),r}var Lo=Symbol("UNSET"),Fo=Symbol("COMPUTING"),gr=Symbol("ERRORED"),pm=R(g({},mn),{value:Lo,dirty:!0,error:null,equal:$o,kind:"computed",producerMustRecompute(e){return e.value===Lo||e.value===Fo},producerRecomputeValue(e){if(e.value===Fo)throw new Error("");let t=e.value;e.value=Fo;let n=yn(e),r,o=!1;try{r=e.computation(),_(null),o=t!==Lo&&t!==gr&&r!==gr&&e.equal(t,r)}catch(i){r=gr,e.error=i}finally{mr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function gm(){throw new Error}var Hu=gm;function Bu(e){Hu(e)}function ra(e){Hu=e}var mm=null;function oa(e,t){let n=Object.create(Go);n.value=e,t!==void 0&&(n.equal=t);let r=()=>$u(n);return r[ce]=n,Bo(n),[r,s=>In(n,s),s=>ia(n,s)]}function $u(e){return vn(e),e.value}function In(e,t){ta()||Bu(e),e.equal(e.value,t)||(e.value=t,vm(e))}function ia(e,t){ta()||Bu(e),In(e,t(e.value))}var Go=R(g({},mn),{equal:$o,value:void 0,kind:"signal"});function vm(e){e.version++,Fu(),ea(e),mm?.(e)}function C(e){return typeof e=="function"}function Dn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Wo=Dn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
+${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function yr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(C(r))try{r()}catch(i){t=i instanceof Wo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{zu(i)}catch(s){t=t??[],s instanceof Wo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)zu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&yr(n,t)}remove(t){let{_finalizers:n}=this;n&&yr(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var sa=J.EMPTY;function qo(e){return e instanceof J||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function zu(e){C(e)?e():e.unsubscribe()}var ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wn={setTimeout(e,t,...n){let{delegate:r}=wn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zo(e){wn.setTimeout(()=>{let{onUnhandledError:t}=ke;if(t)t(e);else throw e})}function Er(){}var Gu=aa("C",void 0,void 0);function Wu(e){return aa("E",void 0,e)}function qu(e){return aa("N",e,void 0)}function aa(e,t,n){return{kind:e,value:t,error:n}}var kt=null;function _n(e){if(ke.useDeprecatedSynchronousErrorHandling){let t=!kt;if(t&&(kt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=kt;if(kt=null,n)throw r}}else e()}function Zu(e){ke.useDeprecatedSynchronousErrorHandling&&kt&&(kt.errorThrown=!0,kt.error=e)}var Pt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qo(t)&&t.add(this)):this.destination=Im}static create(t,n,r){return new Cn(t,n,r)}next(t){this.isStopped?la(qu(t),this):this._next(t)}error(t){this.isStopped?la(Wu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?la(Gu,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()}}},ym=Function.prototype.bind;function ca(e,t){return ym.call(e,t)}var ua=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Qo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Qo(r)}else Qo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Qo(n)}}},Cn=class extends Pt{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ke.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ca(t.next,i),error:t.error&&ca(t.error,i),complete:t.complete&&ca(t.complete,i)}):o=t}this.destination=new ua(o)}};function Qo(e){ke.useDeprecatedSynchronousErrorHandling?Zu(e):Zo(e)}function Em(e){throw e}function la(e,t){let{onStoppedNotification:n}=ke;n&&wn.setTimeout(()=>n(e,t))}var Im={closed:!0,next:Er,error:Em,complete:Er};var bn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Pe(e){return e}function da(...e){return fa(e)}function fa(e){return e.length===0?Pe:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=wm(n)?n:new Cn(n,r,o);return _n(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Qu(r),new r((o,i)=>{let s=new Cn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[bn](){return this}pipe(...n){return fa(n)(this)}toPromise(n){return n=Qu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Qu(e){var t;return(t=e??ke.Promise)!==null&&t!==void 0?t:Promise}function Dm(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function wm(e){return e&&e instanceof Pt||Dm(e)&&qo(e)}function _m(e){return C(e?.lift)}function k(e){return t=>{if(_m(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 P(e,t,n,r,o){return new ha(e,t,n,r,o)}var ha=class extends Pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}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()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Yu=Dn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Y=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Yo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Yu}next(n){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?sa:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,yr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new Yo(t,n),e})(),Yo=class extends Y{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:sa}};var X=class extends Y{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ee=new x(e=>e.complete());function Ku(e){return e&&C(e.schedule)}function Ju(e){return e[e.length-1]}function Ko(e){return C(Ju(e))?e.pop():void 0}function gt(e){return Ku(Ju(e))?e.pop():void 0}function ed(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Xu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")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.")}function Lt(e){return this instanceof Lt?(this.v=e,this):new Lt(e)}function td(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(A){return new Promise(function(I,D){i.push([f,A,I,D])>1||c(f,A)})},m&&(o[f]=m(o[f])))}function c(f,m){try{l(r[f](m))}catch(A){h(i[0][3],A)}}function l(f){f.value instanceof Lt?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function nd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Xu=="function"?Xu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Jo=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xo(e){return C(e?.then)}function ei(e){return C(e[bn])}function ti(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function ni(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Cm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ri=Cm();function oi(e){return C(e?.[ri])}function ii(e){return td(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Lt(n.read());if(o)return yield Lt(void 0);yield yield Lt(r)}}finally{n.releaseLock()}})}function si(e){return C(e?.getReader)}function z(e){if(e instanceof x)return e;if(e!=null){if(ei(e))return bm(e);if(Jo(e))return Mm(e);if(Xo(e))return Tm(e);if(ti(e))return rd(e);if(oi(e))return Sm(e);if(si(e))return Nm(e)}throw ni(e)}function bm(e){return new x(t=>{let n=e[bn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Mm(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Zo)})}function Sm(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function rd(e){return new x(t=>{Rm(e,t).catch(n=>t.error(n))})}function Nm(e){return rd(ii(e))}function Rm(e,t){var n,r,o,i;return ed(this,void 0,void 0,function*(){try{for(n=nd(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function pe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ai(e,t=0){return k((n,r)=>{n.subscribe(P(r,o=>pe(r,e,()=>r.next(o),t),()=>pe(r,e,()=>r.complete(),t),o=>pe(r,e,()=>r.error(o),t)))})}function ci(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function od(e,t){return z(e).pipe(ci(t),ai(t))}function id(e,t){return z(e).pipe(ci(t),ai(t))}function sd(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ad(e,t){return new x(n=>{let r;return pe(n,t,()=>{r=e[ri](),pe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>C(r?.return)&&r.return()})}function li(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function cd(e,t){return li(ii(e),t)}function ld(e,t){if(e!=null){if(ei(e))return od(e,t);if(Jo(e))return sd(e,t);if(Xo(e))return id(e,t);if(ti(e))return li(e,t);if(oi(e))return ad(e,t);if(si(e))return cd(e,t)}throw ni(e)}function H(e,t){return t?ld(e,t):z(e)}function S(...e){let t=gt(e);return H(e,t)}function pa(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function ui(e){return!!e&&(e instanceof x||C(e.lift)&&C(e.subscribe))}var Ft=Dn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function j(e,t){return k((n,r)=>{let o=0;n.subscribe(P(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:xm}=Array;function Am(e,t){return xm(t)?e(...t):e(t)}function di(e){return j(t=>Am(e,t))}var{isArray:Om}=Array,{getPrototypeOf:km,prototype:Pm,keys:Lm}=Object;function fi(e){if(e.length===1){let t=e[0];if(Om(t))return{args:t,keys:null};if(Fm(t)){let n=Lm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Fm(e){return e&&typeof e=="object"&&km(e)===Pm}function hi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ga(...e){let t=gt(e),n=Ko(e),{args:r,keys:o}=fi(e);if(r.length===0)return H([],t);let i=new x(jm(r,t,o?s=>hi(o,s):Pe));return n?i.pipe(di(n)):i}function jm(e,t,n=Pe){return r=>{ud(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=H(e[c],t),u=!1;l.subscribe(P(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ud(e,t,n){e?pe(n,e,t):t()}function dd(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&t.complete()},f=A=>l{i&&t.next(A),l++;let I=!1;z(n(A,u++)).subscribe(P(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&lm(D)):m(D)}h()}catch(D){t.error(D)}}))};return e.subscribe(P(t,f,()=>{d=!0,h()})),()=>{a?.()}}function le(e,t,n=1/0){return C(t)?le((r,o)=>j((i,s)=>t(r,i,o,s))(z(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>dd(r,o,e,n)))}function fd(e=1/0){return le(Pe,e)}function hd(){return fd(1)}function Mn(...e){return hd()(H(e,gt(e)))}function Ir(e){return new x(t=>{z(e()).subscribe(t)})}function ma(...e){let t=Ko(e),{args:n,keys:r}=fi(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?hi(r,a):a),i.complete())}))}});return t?o.pipe(di(t)):o}function Le(e,t){return k((n,r)=>{let o=0;n.subscribe(P(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Dr(e){return k((t,n)=>{let r=null,o=!1,i;r=t.subscribe(P(n,void 0,void 0,s=>{i=z(e(s,Dr(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Tn(e,t){return C(t)?le(e,t,1):le(e,1)}function pd(e){return k((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function et(e){return e<=0?()=>ee:k((t,n)=>{let r=0;t.subscribe(P(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function gd(e=Vm){return k((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Vm(){return new Ft}function wr(e){return k((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function tt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):Pe,et(1),n?pd(t):gd(()=>new Ft))}function pi(e){return e<=0?()=>ee:k((t,n)=>{let r=[];t.subscribe(P(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function va(...e){let t=gt(e);return k((n,r)=>{(t?Mn(e,n,t):Mn(e,n)).subscribe(r)})}function ve(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;z(e(c,u)).subscribe(o=P(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _r(e){return k((t,n)=>{z(e).subscribe(P(n,()=>n.complete(),Er)),!n.closed&&t.subscribe(n)})}function we(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Pe}var ya;function gi(){return ya}function Ze(e){let t=ya;return ya=e,t}var md=Symbol("NotFound");function Sn(e){return e===md||e?.name==="\u0275NotFound"}function vd(e){let t=_(null);try{return e()}finally{_(t)}}var Oa="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(t,n){super(Rn(t,n)),this.code=t}};function Bm(e){return`NG0${Math.abs(e)}`}function Rn(e,t){return`${Bm(e)}${t?": "+t:""}`}function L(e){for(let t in e)if(e[t]===L)return t;throw Error("")}function wd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Nr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Nr).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
+`);return r>=0?n.slice(0,r):n}function ka(e,t){return e?t?`${e} ${t}`:e:t||""}var $m=L({__forward_ref__:L});function ot(e){return e.__forward_ref__=ot,e}function te(e){return Pa(e)?e():e}function Pa(e){return typeof e=="function"&&e.hasOwnProperty($m)&&e.__forward_ref__===ot}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rr(e){return zm(e,Ii)}function La(e){return Rr(e)!==null}function zm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Gm(e){let t=e?.[Ii]??null;return t||null}function Ia(e){return e&&e.hasOwnProperty(vi)?e[vi]:null}var Ii=L({\u0275prov:L}),vi=L({\u0275inj:L}),v=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fa(e){return e&&!!e.\u0275providers}var ja=L({\u0275cmp:L}),Va=L({\u0275dir:L}),Ua=L({\u0275pipe:L}),Ha=L({\u0275mod:L}),br=L({\u0275fac:L}),zt=L({__NG_ELEMENT_ID__:L}),yd=L({__NG_ENV_ID__:L});function Ba(e){return Di(e,"@NgModule"),e[Ha]||null}function yt(e){return Di(e,"@Component"),e[ja]||null}function $a(e){return Di(e,"@Directive"),e[Va]||null}function _d(e){return Di(e,"@Pipe"),e[Ua]||null}function Di(e,t){if(e==null)throw new y(-919,!1)}function za(e){return typeof e=="string"?e:e==null?"":String(e)}var Cd=L({ngErrorCode:L}),Wm=L({ngErrorMessage:L}),qm=L({ngTokenPath:L});function Ga(e,t){return bd("",-200,t)}function wi(e,t){throw new y(-201,!1)}function bd(e,t,n){let r=new y(t,e);return r[Cd]=t,r[Wm]=e,n&&(r[qm]=n),r}function Zm(e){return e[Cd]}var Da;function Md(){return Da}function ye(e){let t=Da;return Da=e,t}function Wa(e,t,n){let r=Rr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;wi(e,"")}var Qm={},jt=Qm,Ym="__NG_DI_FLAG__",wa=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Vt(n)||0;try{return this.injector.get(t,r&8?null:jt,r)}catch(o){if(Sn(o))return o;throw o}}};function Km(e,t=0){let n=gi();if(n===void 0)throw new y(-203,!1);if(n===null)return Wa(e,void 0,t);{let r=Jm(t),o=n.retrieve(e,r);if(Sn(o)){if(r.optional)return null;throw o}return o}}function w(e,t=0){return(Md()||Km)(te(e),t)}function p(e,t){return w(e,Vt(t))}function Vt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Jm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function _a(e){let t=[];for(let n=0;nArray.isArray(n)?_i(n,t):t(n))}function qa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Td(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Sd(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,Td(e,r,t,n)),r}function Ci(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return ev(e,t,1)}function ev(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return _i(t,s=>{let a=s;yi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&xd(o,i),n}function xd(e,t){for(let n=0;n{t(i,r)})}}function yi(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=Ia(e),s=!i&&yt(e);if(!i&&!s){let c=e.ngModule;if(i=Ia(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)yi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;_i(i.imports,u=>{yi(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&xd(l,t)}if(!a){let l=Ut(o)||(()=>new o);t({provide:o,useFactory:l,deps:Ee},o),t({provide:Qa,useValue:o,multi:!0},o),t({provide:Gt,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ka(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ka(e,t){for(let n of e)Fa(n)&&(n=n.\u0275providers),Array.isArray(n)?Ka(n,t):t(n)}var tv=L({provide:String,useValue:L});function Ad(e){return e!==null&&typeof e=="object"&&tv in e}function nv(e){return!!(e&&e.useExisting)}function rv(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function Od(e){return!!e.useClass}var Ar=new v(""),mi={},Ed={},Ea;function Or(){return Ea===void 0&&(Ea=new Mr),Ea}var B=class{},Bt=class extends B{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ba(t,s=>this.processProvider(s)),this.records.set(Za,Nn(void 0,this)),o.has("environment")&&this.records.set(B,Nn(void 0,this));let i=this.records.get(Ar);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qa,Ee,{self:!0}))}retrieve(t,n){let r=Vt(n)||0;try{return this.get(t,jt,r)}catch(o){if(Sn(o))return o;throw o}}destroy(){Cr(this),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return Cr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Cr(this);let n=Ze(this),r=ye(void 0),o;try{return t()}finally{Ze(n),ye(r)}}get(t,n=jt,r){if(Cr(this),t.hasOwnProperty(yd))return t[yd](this);let o=Vt(r),i,s=Ze(this),a=ye(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=cv(t)&&Rr(t);u&&this.injectableDefInScope(u)?l=Nn(Ca(t),mi):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Or():this.parent;return n=o&8&&n===jt?null:n,c.get(t,n)}catch(c){let l=Zm(c);throw l===-200||l===-201?new y(l,null):c}finally{ye(a),Ze(s)}}resolveInjectorInitializers(){let t=_(null),n=Ze(this),r=ye(void 0),o;try{let i=this.get(Gt,Ee,{self:!0});for(let s of i)s()}finally{Ze(n),ye(r),_(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=te(t);let n=Ht(t)?t:te(t&&t.provide),r=iv(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Nn(void 0,mi,!0),o.factory=()=>_a(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=_(null);try{if(n.value===Ed)throw Ga("");return n.value===mi&&(n.value=Ed,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&av(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ca(e){let t=Rr(e),n=t!==null?t.factory:Ut(e);if(n!==null)return n;if(e instanceof v)throw new y(-204,!1);if(e instanceof Function)return ov(e);throw new y(-204,!1)}function ov(e){if(e.length>0)throw new y(-204,!1);let n=Gm(e);return n!==null?()=>n.factory(e):()=>new e}function iv(e){if(Ad(e))return Nn(void 0,e.useValue);{let t=Ja(e);return Nn(t,mi)}}function Ja(e,t,n){let r;if(Ht(e)){let o=te(e);return Ut(o)||Ca(o)}else if(Ad(e))r=()=>te(e.useValue);else if(rv(e))r=()=>e.useFactory(..._a(e.deps||[]));else if(nv(e))r=(o,i)=>w(te(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=te(e&&(e.useClass||e.provide));if(sv(e))r=()=>new o(..._a(e.deps));else return Ut(o)||Ca(o)}return r}function Cr(e){if(e.destroyed)throw new y(-205,!1)}function Nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sv(e){return!!e.deps}function av(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function cv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ba(e,t){for(let n of e)Array.isArray(n)?ba(n,t):n&&Fa(n)?ba(n.\u0275providers,t):t(n)}function K(e,t){let n;e instanceof Bt?(Cr(e),n=e):n=new wa(e);let r,o=Ze(n),i=ye(void 0);try{return t()}finally{Ze(o),ye(i)}}function kd(){return Md()!==void 0||gi()!=null}var je=0,M=1,b=2,ne=3,_e=4,Ce=5,kr=6,An=7,ae=8,Dt=9,Qe=10,G=11,On=12,Xa=13,Wt=14,be=15,qt=16,Zt=17,Qt=18,wt=19,ec=20,nt=21,bi=22,Pr=23,Ie=24,Mi=25,kn=26,ue=27,Pd=1;var _t=7,Lr=8,Fr=9,de=10;function it(e){return Array.isArray(e)&&typeof e[Pd]=="object"}function Ve(e){return Array.isArray(e)&&e[Pd]===!0}function tc(e){return(e.flags&4)!==0}function st(e){return e.componentOffset>-1}function Ti(e){return(e.flags&1)===1}function Ye(e){return!!e.template}function Pn(e){return(e[b]&512)!==0}function Yt(e){return(e[b]&256)===256}var nc="svg",Ld="math";function Me(e){for(;Array.isArray(e);)e=e[je];return e}function rc(e,t){return Me(t[e])}function Ue(e,t){return Me(t[e.index])}function Si(e,t){return e.data[t]}function Te(e,t){let n=t[e];return it(n)?n:n[je]}function Ni(e){return(e[b]&128)===128}function Fd(e){return Ve(e[ne])}function Ln(e,t){return t==null?null:e[t]}function oc(e){e[Zt]=0}function ic(e){e[b]&1024||(e[b]|=1024,Ni(e)&&Vr(e))}function jd(e,t){for(;e>0;)t=t[Wt],e--;return t}function jr(e){return!!(e[b]&9216||e[Ie]?.dirty)}function Ri(e){e[Qe].changeDetectionScheduler?.notify(8),e[b]&64&&(e[b]|=1024),jr(e)&&Vr(e)}function Vr(e){e[Qe].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!Ni(t)));)t=mt(t)}function sc(e,t){if(Yt(e))throw new y(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Vd(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function mt(e){let t=e[ne];return Ve(t)?t[ne]:t}function Ud(e){return e[An]??=[]}function Hd(e){return e.cleanup??=[]}var N={lFrame:of(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ma=!1;function Bd(){return N.lFrame.elementDepthCount}function $d(){N.lFrame.elementDepthCount++}function zd(){N.lFrame.elementDepthCount--}function Gd(){return N.bindingsEnabled}function Wd(){return N.skipHydrationRootTNode!==null}function qd(e){return N.skipHydrationRootTNode===e}function Zd(){N.skipHydrationRootTNode=null}function U(){return N.lFrame.lView}function Se(){return N.lFrame.tView}function He(){let e=ac();for(;e!==null&&e.type===64;)e=e.parent;return e}function ac(){return N.lFrame.currentTNode}function Qd(){let e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fn(e,t){let n=N.lFrame;n.currentTNode=e,n.isParent=t}function cc(){return N.lFrame.isParent}function Yd(){N.lFrame.isParent=!1}function lc(){return Ma}function uc(e){let t=Ma;return Ma=e,t}function Kd(e){return N.lFrame.bindingIndex=e}function Ur(){return N.lFrame.bindingIndex++}function Jd(e){let t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xd(){return N.lFrame.inI18n}function ef(e,t){let n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,xi(t)}function tf(){return N.lFrame.currentDirectiveIndex}function xi(e){N.lFrame.currentDirectiveIndex=e}function nf(e){let t=N.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function dc(e){N.lFrame.currentQueryIndex=e}function lv(e){let t=e[M];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function fc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=lv(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=N.lFrame=rf();return r.currentTNode=t,r.lView=e,!0}function Ai(e){let t=rf(),n=e[M];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rf(){let e=N.lFrame,t=e===null?null:e.child;return t===null?of(e):t}function of(e){let 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 e!==null&&(e.child=t),t}function sf(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var hc=sf;function Oi(){let e=sf();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 af(e){return(N.lFrame.contextLView=jd(e,N.lFrame.contextLView))[ae]}function Kt(){return N.lFrame.selectedIndex}function Ct(e){N.lFrame.selectedIndex=e}function pc(){let e=N.lFrame;return Si(e.tView,e.selectedIndex)}function Hr(){N.lFrame.currentNamespace=nc}function ki(){uv()}function uv(){N.lFrame.currentNamespace=null}function cf(){return N.lFrame.currentNamespace}var lf=!0;function Pi(){return lf}function Li(e){lf=e}function Ta(e,t=null,n=null,r){let o=gc(e,t,n,r);return o.resolveInjectorInitializers(),o}function gc(e,t=null,n=null,r,o=new Set){let i=[n||Ee,Rd(e)],s;return new Bt(i,t||Or(),s||null,o)}var Fe=class e{static THROW_IF_NOT_FOUND=jt;static NULL=new Mr;static create(t,n){if(Array.isArray(t))return Ta({name:""},n,t,"");{let r=t.name??"";return Ta({name:r},t.parent,t.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>w(Za)});static __NG_ELEMENT_ID__=-1},$=new v(""),Ke=(()=>{class e{static __NG_ELEMENT_ID__=dv;static __NG_ENV_ID__=n=>n}return e})(),Sa=class extends Ke{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Yt(this._lView)}onDestroy(t){let n=this._lView;return sc(n,t),()=>Vd(n,t)}};function dv(){return new Sa(U())}var uf=!1,df=new v(""),at=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new X(!1);debugTaskTracker=p(df,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Na=class extends Y{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,kd()&&(this.destroyRef=p(Ke,{optional:!0})??void 0,this.pendingTasks=p(at,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof J&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},q=Na;function Ei(...e){}function mc(e){let t,n;function r(){e=Ei;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ff(e){return queueMicrotask(()=>e()),()=>{e=Ei}}var vc="isAngularZone",Tr=vc+"_ID",fv=0,ge=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new q(!1);onMicrotaskEmpty=new q(!1);onStable=new q(!1);onError=new q(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=uf}=t;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,hv,Ei,Ei);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},hv={};function yc(e){if(e._nesting==0&&!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 pv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){mc(()=>{e.callbackScheduled=!1,Ra(e),e.isCheckStableRunning=!0,yc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ra(e)}function gv(e){let t=()=>{pv(e)},n=fv++;e._inner=e._inner.fork({name:"angular",properties:{[vc]:!0,[Tr]:n,[Tr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(mv(c))return r.invokeTask(i,s,a,c);try{return Id(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Dd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Id(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vv(c)&&t(),Dd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ra(e),yc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ra(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Id(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dd(e){e._nesting--,yc(e)}var Sr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new q;onMicrotaskEmpty=new q;onStable=new q;onError=new q;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function mv(e){return hf(e,"__ignore_ng_zone__")}function vv(e){return hf(e,"__scheduler_tick__")}function hf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var rt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Be=new v("",{factory:()=>{let e=p(ge),t=p(B),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(rt),n.handleError(r))})}}}),pf={provide:Gt,useValue:()=>{let e=p(rt,{optional:!0})},multi:!0},yv=new v("",{factory:()=>{let e=p($).defaultView;if(!e)return;let t=p(Be),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(Ke).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Ec(){return It([Nd(()=>{p(yv)})])}function me(e,t){let[n,r,o]=oa(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=gf.bind(i),i}function gf(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}var $t=class{},Br=new v("",{factory:()=>!0});var Ic=new v(""),Fi=(()=>{class e{internalPendingTasks=p(at);scheduler=p($t);errorHandler=p(Be);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Dc=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new xa})}return e})(),xa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Aa=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};function Yr(e){return{toString:e}.toString()}function Sv(e){return typeof e=="function"}function qf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Bi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Gn=(()=>{let e=()=>Zf;return e.ngInherit=!0,e})();function Zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Rv),Nv}function Nv(){let e=Yf(this),t=e?.current;if(t){let n=e.previous;if(n===Et)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Rv(e,t,n,r,o){let i=this.declaredInputs[r],s=Yf(e)||xv(e,{previous:Et,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Bi(l&&l.currentValue,n,c===Et),qf(e,t,o,n)}var Qf="__ngSimpleChanges__";function Yf(e){return e[Qf]||null}function xv(e,t){return e[Qf]=t}var mf=[];var V=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[Zt]+=65536),(a>14>16&&(e[b]&3)===t&&(e[b]+=16384,vf(a,i)):vf(a,i)}var Vn=-1,Xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Pv(e){return(e.flags&8)!==0}function Lv(e){return(e.flags&16)!==0}function Fv(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function zi(e,t){let n=Uv(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var Ac=!0;function Ef(e){let t=Ac;return Ac=e,t}var Hv=256,Xf=Hv-1,eh=5,Bv=0,Je={};function $v(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(zt)&&(r=n[zt]),r==null&&(r=n[zt]=Bv++);let o=r&Xf,i=1<>eh)]|=i}function Gi(e,t){let n=th(e,t);if(n!==-1)return n;let r=t[M];r.firstCreatePass&&(e.injectorIndex=t.length,_c(r.data,e),_c(t,null),_c(r.blueprint,null));let o=Yc(e,t),i=e.injectorIndex;if(Jf(o)){let s=$i(o),a=zi(o,t),c=a[M].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function _c(e,t){e.push(0,0,0,0,0,0,0,0,t)}function th(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Yc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=sh(o),r===null)return Vn;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Vn}function Oc(e,t,n){$v(e,t,n)}function nh(e,t,n){if(n&8||e!==void 0)return e;wi(t,"NodeInjector")}function rh(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Dt],i=ye(void 0);try{return o?o.get(t,r,n&8):Wa(t,r,n&8)}finally{ye(i)}}return nh(r,t,n)}function oh(e,t,n,r=0,o){if(e!==null){if(t[b]&2048&&!(r&2)){let s=Zv(e,t,n,r,Je);if(s!==Je)return s}let i=ih(e,t,n,r,Je);if(i!==Je)return i}return rh(t,n,r,o)}function ih(e,t,n,r,o){let i=Wv(n);if(typeof i=="function"){if(!fc(t,e,r))return r&1?nh(o,n,r):rh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))wi(n);else return s}finally{hc()}}else if(typeof i=="number"){let s=null,a=th(e,t),c=Vn,l=r&1?t[be][Ce]:null;for((a===-1||r&4)&&(c=a===-1?Yc(e,t):t[a+8],c===Vn||!Df(r,!1)?a=-1:(s=t[M],a=$i(c),t=zi(c,t)));a!==-1;){let u=t[M];if(If(i,a,u.data)){let d=zv(a,t,n,s,r,l);if(d!==Je)return d}c=t[a+8],c!==Vn&&Df(r,t[M].data[a+8]===l)&&If(i,a,t)?(s=u,a=$i(c),t=zi(c,t)):a=-1}}return o}function zv(e,t,n,r,o,i){let s=t[M],a=s.data[e+8],c=r==null?st(a)&&Ac:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Gv(a,s,n,c,l);return u!==null?Wi(t,s,u,a,o):Je}function Gv(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let f=d;f=c&&m.type===n)return f}if(o){let f=s[c];if(f&&Ye(f)&&f.type===n)return c}return null}function Wi(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Xt){let a=i;if(a.resolving)throw Ga("");let c=Ef(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ye(a.injectImpl):null,h=fc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Av(n,s[n],t)}finally{d!==null&&ye(d),Ef(c),a.resolving=!1,hc()}}return i}function Wv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(zt)?e[zt]:void 0;return typeof t=="number"?t>=0?t&Xf:qv:t}function If(e,t,n){let r=1<>eh)]&r)}function Df(e,t){return!(e&2)&&!(e&1&&t)}var Jt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return oh(this._tNode,this._lView,t,Vt(r),n)}};function qv(){return new Jt(He(),U())}function lt(e){return Yr(()=>{let t=e.prototype.constructor,n=t[br]||kc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[br]||kc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function kc(e){return Pa(e)?()=>{let t=kc(te(e));return t&&t()}:Ut(e)}function Zv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!Pn(s);){let a=ih(i,s,n,r|2,Je);if(a!==Je)return a;let c=i.parent;if(!c){let l=s[ec];if(l){let u=l.get(n,Je,r&-5);if(u!==Je)return u}c=sh(s),s=s[Wt]}i=c}return o}function sh(e){let t=e[M],n=t.type;return n===2?t.declTNode:n===1?e[Ce]:null}function Qv(){return Kc(He(),U())}function Kc(e,t){return new Kr(Ue(e,t))}var Kr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Qv}return e})();function ah(e){return(e.flags&128)===128}var Jc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Jc||{}),ch=new Map,Yv=0;function Kv(){return Yv++}function Jv(e){ch.set(e[wt],e)}function Pc(e){ch.delete(e[wt])}var wf="__ngContext__";function Un(e,t){it(t)?(e[wf]=t[wt],Jv(t)):e[wf]=t}function lh(e){return dh(e[On])}function uh(e){return dh(e[_e])}function dh(e){for(;e!==null&&!Ve(e);)e=e[_e];return e}var Xv;function Xc(e){Xv=e}var ts=new v("",{factory:()=>ey}),ey="ng";var ns=new v(""),Jr=new v("",{providedIn:"platform",factory:()=>"unknown"});var Xr=new v("",{factory:()=>p($).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var fh=!1,hh=new v("",{factory:()=>fh});var ty=(e,t,n,r)=>{};function ny(e,t,n,r){ty(e,t,n,r)}function el(e){return(e.flags&32)===32}var ry=()=>null;function ph(e,t,n=!1){return ry(e,t,n)}function gh(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if($e(r))return!1;s=!0}}}}return $e(r)||s}function $e(e){return(e&1)===0}function hy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!$e(s)&&(t+=Cf(i,o),o=""),r=s,i=i||!$e(r);n++}return o!==""&&(t+=Cf(i,o)),t}function yy(e){return e.map(vy).join(",")}function Ey(e){let t=[],n=[],r=1,o=2;for(;r=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),$r.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function by(e,t){let n=Vc.get(e);n?n.includes(t)||n.push(t):Vc.set(e,[t])}var Hn=new Set,sl=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(sl||{}),Mt=new v(""),bf=new Set;function Wn(e){bf.has(e)||(bf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})();var My=new v("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(B)})});function Th(e,t,n){let r=e.get(My);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Ty(e,t){for(let[n,r]of t)Th(e,r.animateFns)}function Mf(e,t,n,r){let o=e?.[kn]?.enter;t!==null&&o&&o.has(n.index)&&Ty(r,o)}function jn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ve(o)?c=o:it(o)&&(l=!0,o=o[je]);let u=Me(o);e===0&&r!==null?(Mf(a,r,i,n),s==null?Eh(t,r,u):qi(t,r,u,s||null,!0)):e===1&&r!==null?(Mf(a,r,i,n),qi(t,r,u,s||null,!0),Cy(i,u)):e===2?(a?.[kn]?.leave?.has(i.index)&&by(i,u),$r.delete(u),Tf(a,i,n,d=>{if($r.has(u)){$r.delete(u);return}sy(t,u,l,d)})):e===3&&($r.delete(u),Tf(a,i,n,()=>{t.destroyNode(u)})),c!=null&&Uy(t,e,n,c,i,r,s)}}function Sy(e,t){Sh(e,t),t[je]=null,t[Ce]=null}function Ny(e,t,n,r,o,i){r[je]=o,r[Ce]=t,os(e,r,n,1,o,i)}function Sh(e,t){t[Qe].changeDetectionScheduler?.notify(9),os(e,t,t[G],2,null,null)}function Ry(e){let t=e[On];if(!t)return Cc(e[M],e);for(;t;){let n=null;if(it(t))n=t[On];else{let r=t[de];r&&(n=r)}if(!n){for(;t&&!t[_e]&&t!==e;)it(t)&&Cc(t[M],t),t=t[ne];t===null&&(t=e),it(t)&&Cc(t[M],t),n=t&&t[_e]}t=n}}function al(e,t){let n=e[Fr],r=n.indexOf(t);n.splice(r,1)}function cl(e,t){if(Yt(t))return;let n=t[G];n.destroyNode&&os(e,t,n,3,null,null),Ry(t)}function Cc(e,t){if(Yt(t))return;let n=_(null);try{t[b]&=-129,t[b]|=256,t[Ie]&&vr(t[Ie]),Oy(e,t),Ay(e,t),t[M].type===1&&t[G].destroy();let r=t[qt];if(r!==null&&Ve(t[ne])){r!==t[ne]&&al(r,t);let o=t[Qt];o!==null&&o.detachView(e)}Pc(t)}finally{_(n)}}function Tf(e,t,n,r){let o=e?.[kn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Hn.add(e[wt]),Th(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c{e[kn].running=void 0,Hn.delete(e[wt]),t(!0)});return}t(!1)}function Ay(e,t){let n=e.cleanup,r=t[An];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[An]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let s=0;sue&&bh(e,t,ue,!1);let a=s?O.TemplateUpdateStart:O.TemplateCreateStart;V(a,o,n),n(r,o)}finally{Ct(i);let a=s?O.TemplateUpdateEnd:O.TemplateCreateEnd;V(a,o,n)}}function xh(e,t,n){Qy(e,t,n),(n.flags&64)===64&&Yy(e,t,n)}function Ah(e,t,n=Ue){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function Gy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Wy(e,t,n,r,o,i){let s=t[M];if(dl(e,s,t,n,r)){st(e)&&Zy(t,e.index);return}e.type&3&&(n=Gy(n)),qy(e,t,n,r,o,i)}function qy(e,t,n,r,o,i){if(e.type&3){let s=Ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Zy(e,t){let n=Te(t,e);n[b]&16||(n[b]|=64)}function Qy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;st(n)&&wy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Gi(n,t);let i=n.initialInputs;for(let s=r;s{Vr(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function hE(e){let t=e[Ie]??Object.create(pE);return t.lView=e,t}var pE=R(g({},mn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!Lh(t[M]);)t=mt(t);t&&ic(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function Lh(e){return e.type!==2}function Fh(e){if(e[Pr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Pr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[b]&8192)}}var gE=100;function jh(e,t=0){let r=e[Qe].rendererFactory,o=!1;o||r.begin?.();try{mE(e,t)}finally{o||r.end?.()}}function mE(e,t){let n=lc();try{uc(!0),Bc(e,t);let r=0;for(;jr(e);){if(r===gE)throw new y(103,!1);r++,Bc(e,1)}}finally{uc(n)}}function vE(e,t,n,r){if(Yt(t))return;let o=t[b],i=!1,s=!1;Ai(t);let a=!0,c=null,l=null;i||(Lh(e)?(l=lE(t),c=yn(l)):Vo()===null?(a=!1,l=hE(t),c=yn(l)):t[Ie]&&(vr(t[Ie]),t[Ie]=null));try{oc(t),Kd(e.bindingStartIndex),n!==null&&Rh(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Vi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ui(t,f,0,null),wc(t,0)}if(s||yE(t),Fh(t),Vh(t,0),e.contentQueries!==null&&gh(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Vi(t,f)}else{let f=e.contentHooks;f!==null&&Ui(t,f,1),wc(t,1)}IE(e,t);let d=e.components;d!==null&&Hh(t,d,0);let h=e.viewQuery;if(h!==null&&Lc(2,h,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Vi(t,f)}else{let f=e.viewHooks;f!==null&&Ui(t,f,2),wc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bi]){for(let f of t[bi])f();t[bi]=null}i||(kh(t),t[b]&=-73)}catch(u){throw i||Vr(t),u}finally{l!==null&&(mr(l,c),a&&dE(l)),Oi()}}function Vh(e,t){for(let n=lh(e);n!==null;n=uh(n))for(let r=de;r0&&(e[n-1][_e]=r[_e]);let i=xr(e,de+t);Sy(r[M],r);let s=i[Qt];s!==null&&s.detachView(i[M]),r[ne]=null,r[_e]=null,r[b]&=-129}return r}function _E(e,t,n,r){let o=de+r,i=n.length;r>0&&(n[o-1][_e]=t),r-1&&(Zi(t,r),xr(n,r))}this._attachedToViewContainer=!1}cl(this._lView[M],this._lView)}onDestroy(t){sc(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){Ri(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,jh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Pn(this._lView),n=this._lView[qt];n!==null&&!t&&al(n,this._lView),Sh(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Pn(this._lView),r=this._lView[qt];r!==null&&!n&&zh(r,this._lView),Ri(this._lView)}};function pl(e,t,n,r,o){let i=e.data[t];if(i===null)i=CE(e,t,n,r,o),Xd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Qd();i.injectorIndex=s===null?-1:s.injectorIndex}return Fn(i,!0),i}function CE(e,t,n,r,o){let i=ac(),s=cc(),a=s?i:i&&i.parent,c=e.data[t]=ME(e,a,n,t,r,o);return bE(e,c,i,s),c}function bE(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ME(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wd()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var TE=()=>null,SE=()=>null;function Nf(e,t){return TE(e,t)}function NE(e,t,n){return SE(e,t,n)}var Gh=class{},is=class{},$c=class{resolveComponentFactory(t){throw new y(917,!1)}},eo=class{static NULL=new $c},tn=class{},ss=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>RE()}return e})();function RE(){let e=U(),t=He(),n=Te(t.index,e);return(it(n)?n:e)[G]}var Wh=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var Hi={},zc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Hi,r);return o!==Hi||n===Hi?o:this.parentInjector.get(t,n,r)}};function Rf(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let h=0;h0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function VE(e,t,n){if(n){if(t.exportAs)for(let r=0;rr(Me(A[e.index])):e.index;Yh(m,t,n,i,a,f,!1)}}return l}function BE(e){return e.startsWith("animation")||e.startsWith("transition")}function $E(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Yh(e,t,n,r,o,i,s){let a=t.firstCreatePass?Hd(t):null,c=Ud(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Pf(e,t,n,r,o,i){let s=t[n],a=t[M],l=a.data[n].outputs[r],d=s[l].subscribe(i);Yh(e.index,a,t,o,i,d,!0)}var Gc=Symbol("BINDING");function Kh(e){return e.debugInfo?.className||e.type.name||null}var Qi=class extends eo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=yt(t);return new Bn(n,this.ngModule)}};function zE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&rs.SignalBased)!==0};return o&&(i.transform=o),i})}function GE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function WE(e,t,n){let r=t instanceof B?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new zc(n,r):n}function qE(e){let t=e.get(tn,null);if(t===null)throw new y(407,!1);let n=e.get(Wh,null),r=e.get($t,null),o=e.get(Mt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function ZE(e,t){let n=Jh(e);return yh(t,n,n==="svg"?nc:n==="math"?Ld:null)}function Jh(e){return(e.selectors[0][0]||"div").toLowerCase()}var Bn=class extends is{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=zE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=GE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=yy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){V(O.DynamicComponentStart);let a=_(null);try{let c=this.componentDef,l=WE(c,o||this.ngModule,t),u=qE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Kh(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{_(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=QE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?By(l,o,a.encapsulation,n):ZE(a,l),d=s?.some(Lf)||i?.some(m=>typeof m!="function"&&m.bindings.some(Lf)),h=rl(null,c,null,512|_h(a),null,null,t,l,n,null,ph(u,n,!0));h[ue]=u,Ai(h);let f=null;try{let m=Zh(ue,h,2,"#host",()=>c.directiveRegistry,!0,0);Ih(l,u,m),Un(u,h),xh(c,h,m),mh(c,m,h),Qh(c,m),r!==void 0&&KE(m,this.ngContentSelectors,r),f=Te(m.index,h),h[ae]=f[ae],fl(c,h,null)}catch(m){throw f!==null&&Pc(f),Pc(h),m}finally{V(O.DynamicComponentEnd),Oi()}return new Yi(this.componentType,h,!!d)}};function QE(e,t,n,r){let o=e?["ng-version","21.2.9"]:Ey(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Gc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Lf(e){let t=e[Gc].kind;return t==="input"||t==="twoWay"}var Yi=class extends Gh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Si(n[M],ue),this.location=Kc(this._tNode,n),this.instance=Te(this._tNode.index,n)[ae],this.hostView=this.changeDetectorRef=new en(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=dl(r,o[M],o,t,n);this.previousInputValues.set(t,n);let s=Te(r.index,o);hl(s,1)}get injector(){return new Jt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function KE(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=JE}return e})();function JE(){let e=He();return XE(e,U())}var Wc=class e extends as{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kc(this._hostTNode,this._hostLView)}get injector(){return new Jt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Yc(this._hostTNode,this._hostLView);if(Jf(t)){let n=zi(t,this._hostLView),r=$i(t),o=n[M].data[r+8];return new Jt(o,n)}else return new Jt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ff(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-de}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Nf(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Hc(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Sv(t),l;if(c)l=n;else{let I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let u=c?t:new Bn(yt(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(B,null);D&&(i=D)}let h=yt(u.componentType??{}),f=Nf(this._lContainer,h?.id??null),m=f?.firstChild??null,A=u.create(d,o,m,i,s,a);return this.insertImpl(A.hostView,l,Hc(this._hostTNode,f)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Fd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],l=new e(c,c[Ce],c[ne]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return $h(s,o,i,r),t.attachToViewContainerRef(),qa(Mc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ff(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Zi(this._lContainer,n);r&&(xr(Mc(this._lContainer),n),cl(r[M],r))}detach(t){let n=this._adjustIndex(t,-1),r=Zi(this._lContainer,n);return r&&xr(Mc(this._lContainer),n)!=null?new en(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ff(e){return e[Lr]}function Mc(e){return e[Lr]||(e[Lr]=[])}function XE(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=Bh(r,t,null,e),t[e.index]=n,ol(t,n)),tI(n,t,e,r),new Wc(n,e,t)}function eI(e,t){let n=e[G],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return qi(n,i,r,n.nextSibling(o),!1),r}var tI=oI,nI=()=>!1;function rI(e,t,n){return nI(e,t,n)}function oI(e,t,n,r){if(e[_t])return;let o;n.type&8?o=Me(r):o=eI(t,n),e[_t]=o}var $n=class{},cs=class{};var Ki=class extends $n{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Qi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ba(t);this._bootstrapComponents=Dh(i.bootstrap),this._r3Injector=gc(t,n,[{provide:$n,useValue:this},{provide:eo,useValue:this.componentFactoryResolver},...r],Nr(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ji=class extends cs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ki(this.moduleType,t,[])}};var Zr=class extends $n{injector;componentFactoryResolver=new Qi(this);instance=null;constructor(t){super();let n=new Bt([...t.providers,{provide:$n,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],t.parent||Or(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function no(e,t,n=null){return new Zr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var iI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ya(!1,n.type),o=r.length>0?no([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(w(B))})}return e})();function ro(e){return Yr(()=>{let t=Xh(e),n=R(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Jc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(iI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ze.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Wn("NgStandalone"),ep(n);let r=e.dependencies;return n.directiveDefs=jf(r,sI),n.pipeDefs=jf(r,_d),n.id=lI(n),n})}function sI(e){return yt(e)||$a(e)}function rn(e){return Yr(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function aI(e,t){if(e==null)return Et;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=rs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function cI(e){if(e==null)return Et;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ne(e){return Yr(()=>{let t=Xh(e);return ep(t),t})}function Xh(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Et,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:aI(e.inputs,t),outputs:cI(e.outputs),debugInfo:null}}function ep(e){e.features?.forEach(t=>t(e))}function jf(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function lI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function uI(e){return Object.getPrototypeOf(e.prototype).constructor}function dt(e){let t=uI(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new y(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Tc(e.inputs),s.declaredInputs=Tc(e.declaredInputs),s.outputs=Tc(e.outputs);let a=o.hostBindings;a&&gI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&hI(e,c),l&&pI(e,l),dI(e,o),wd(e.outputs,o.outputs),Ye(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Wr(o.hostAttrs,n=Wr(n,o.hostAttrs))}}function Tc(e){return e===Et?{}:e===Ee?[]:e}function hI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function pI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function gI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function mI(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Wr(e.mergedAttrs,e.attrs);let u=e.tView=nl(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Fn(e,!1);let c=vI(n,t,e,r);Pi()&&ll(n,t,c,e),Un(c,t);let l=Bh(c,t,c,e);t[r+ue]=l,ol(t,l),rI(l,e,t)}function tp(e,t,n,r,o,i,s,a,c,l,u){let d=n+ue,h;if(t.firstCreatePass){if(h=pl(t,d,4,s||null,a||null),l!=null){let f=Ln(t.consts,l);h.localNames=[];for(let m=0;m{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ml=new v("");function on(e){return!!e&&typeof e.then=="function"}function np(e){return!!e&&typeof e.subscribe=="function"}var rp=new v("");var vl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(rp,{optional:!0})??[];injector=p(Fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=K(this.injector,o);if(on(i))n.push(i);else if(np(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ls=new v("");function op(){ra(()=>{let e="";throw new y(600,e)})}function ip(e){return e.isBoundToModule}var EI=10;var sn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Be);afterRenderManager=p(Mh);zonelessEnabled=p(Br);rootEffectScheduler=p(Dc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Y;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(at);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(j(n=>!n))}constructor(){p(Mt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(B);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Fe.NULL){return this._injector.get(ge).run(()=>{V(O.BootstrapComponentStart);let s=n instanceof is;if(!this._injector.get(vl).done){let m="";throw new y(405,m)}let c;s?c=n:c=this._injector.get(eo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=ip(c)?void 0:this._injector.get($n),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,f=d.injector.get(ml,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Gr(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),V(O.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(O.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(sl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw V(O.ChangeDetectionEnd),new y(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,_(n),this.afterTick.next(),V(O.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(tn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++jr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Gr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ls,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Gr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function us(e,t,n,r){let o=U(),i=Ur();if(to(o,i,t)){let s=Se(),a=pc();Xy(a,o,e,t,n,r)}return us}function yl(e,t,n,r,o,i,s,a){Wn("NgControlFlow");let c=U(),l=Se(),u=Ln(l.consts,i);return tp(c,l,e,t,n,r,o,u,256,s,a),El}function El(e,t,n,r,o,i,s,a){Wn("NgControlFlow");let c=U(),l=Se(),u=Ln(l.consts,i);return tp(c,l,e,t,n,r,o,u,512,s,a),El}function Il(e,t){Wn("NgControlFlow");let n=U(),r=Ur(),o=n[r]!==ut?n[r]:-1,i=o!==-1?Vf(n,ue+o):void 0,s=0;if(to(n,r,e)){let a=_(null);try{if(i!==void 0&&wE(i,s),e!==-1){let c=ue+e,l=Vf(n,c),u=II(n[M],c),d=NE(l,u,n),h=cE(n,u,t,{dehydratedView:d});$h(l,h,s,Hc(u,d))}}finally{_(a)}}else if(i!==void 0){let a=DE(i,s);a!==void 0&&(a[ae]=t)}}function Vf(e,t){return e[t]}function II(e,t){return Si(e,t)}function oo(e,t,n){let r=U(),o=Ur();if(to(r,o,t)){let i=Se(),s=pc();Wy(s,r,e,t,r[G],n)}return oo}function Uf(e,t,n,r,o){dl(t,e,n,o?"class":"style",r)}function W(e,t,n,r){let o=U(),i=o[M],s=e+ue,a=i.firstCreatePass?Zh(s,o,2,t,Jy,Gd(),n,r):i.data[s];if(st(a)){let c=o[Qe].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Kh(l),()=>(Hf(e,t,o,a,r),W))}}return Hf(e,t,o,a,r),W}function Hf(e,t,n,r,o){if(nE(r,n,e,t,DI),Ti(r)){let i=n[M];xh(i,n,r),mh(i,r,n)}o!=null&&Ah(n,r)}function Z(){let e=Se(),t=He(),n=rE(t);return e.firstCreatePass&&Qh(e,n),qd(n)&&Zd(),zd(),n.classesWithoutHost!=null&&Pv(n)&&Uf(e,n,U(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Lv(n)&&Uf(e,n,U(),n.stylesWithoutHost,!1),Z}function Tt(e,t,n,r){return W(e,t,n,r),Z(),Tt}var DI=(e,t,n,r,o)=>(Li(!0),yh(t[G],r,cf()));var io="en-US";var wI=io;function sp(e){typeof e=="string"&&(wI=e.toLowerCase().replace(/_/g,"-"))}function St(e,t,n){let r=U(),o=Se(),i=He();return _I(o,r,r[G],i,e,t,n),St}function _I(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=bc(r,t,i),HE(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function CI(e){return(e&2)==2}function bI(e,t){return e&131071|t<<17}function qc(e){return e|2}function zn(e){return(e&131068)>>2}function Sc(e,t){return e&-131069|t<<2}function MI(e){return(e&1)===1}function Zc(e){return e|1}function TI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=nn(s),c=zn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||xn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let h=nn(e[a+1]);e[r+1]=ji(h,a),h!==0&&(e[h+1]=Sc(e[h+1],r)),e[a+1]=bI(e[a+1],r)}else e[r+1]=ji(a,0),a!==0&&(e[a+1]=Sc(e[a+1],r)),a=r;else e[r+1]=ji(c,0),a===0?a=r:e[c+1]=Sc(e[c+1],r),c=r;l&&(e[r+1]=qc(e[r+1])),Bf(e,u,r,!0),Bf(e,u,r,!1),SI(t,u,e,r,i),s=ji(a,c),i?t.classBindings=s:t.styleBindings=s}function SI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=Zc(n[r+1]))}function Bf(e,t,n,r){let o=e[n+1],i=t===null,s=r?nn(o):zn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];NI(c,t)&&(a=!0,e[s+1]=r?Zc(l):qc(l)),s=r?nn(l):zn(l)}a&&(e[n+1]=r?qc(o):Zc(o))}function NI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}function qn(e,t){return RI(e,t,null,!0),qn}function RI(e,t,n,r){let o=U(),i=Se(),s=Jd(2);if(i.firstUpdatePass&&AI(i,e,s,r),t!==ut&&to(o,s,t)){let a=i.data[Kt()];FI(i,a,o,o[G],e,o[s+1]=jI(t,n),r,s)}}function xI(e,t){return t>=e.expandoStartIndex}function AI(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Kt()],s=xI(e,n);VI(i,r)&&t===null&&!s&&(t=!1),t=OI(o,i,t,r),TI(o,i,t,n,s,r)}}function OI(e,t,n,r){let o=nf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Nc(null,e,t,n,r),n=Qr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Nc(o,e,t,n,r),i===null){let c=kI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Nc(null,e,t,c[1],r),c=Qr(c,t.attrs,r),PI(e,t,r,c))}else i=LI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function kI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zn(r)!==0)return e[nn(r)]}function PI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[nn(o)]=r}function LI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[o+1];h===ut&&(h=d?Ee:void 0);let f=d?Ci(h,r):u===r?h:void 0;if(l&&!Xi(f)&&(f=Ci(c,r)),Xi(f)&&(a=f,s))return a;let m=e[o+1];o=s?nn(m):zn(m)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ci(c,r))}return a}function Xi(e){return e!==void 0}function jI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Nr(vh(e)))),e}function VI(e,t){return(e.flags&(t?8:16))!==0}function Re(e,t=""){let n=U(),r=Se(),o=e+ue,i=r.firstCreatePass?pl(r,o,1,t,null):r.data[o],s=UI(r,n,i,t);n[o]=s,Pi()&&ll(r,n,s,i),Fn(i,!1)}var UI=(e,t,n,r)=>(Li(!0),oy(t[G],r));function HI(e,t,n,r=""){return to(e,Ur(),n)?t+za(n)+r:ut}function ds(e){return so("",e),ds}function so(e,t,n){let r=U(),o=HI(r,e,t,n);return o!==ut&&BI(r,Kt(),o),so}function BI(e,t,n){let r=rc(t,e);iy(e[G],r,n)}function zf(e,t,n){let r=Se();r.firstCreatePass&&ap(t,r.data,r.blueprint,Ye(e),n)}function ap(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i>20;if(Ht(e)||!e.multi){let f=new Xt(l,o,re,null),m=xc(c,t,o?u:u+h,d);m===-1?(Oc(Gi(a,s),i,c),Rc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=xc(c,t,u+h,d),m=xc(c,t,u,u+h),A=f>=0&&n[f],I=m>=0&&n[m];if(o&&!I||!o&&!A){Oc(Gi(a,s),i,c);let D=GI(o?zI:$I,n.length,o,r,l,e);!o&&I&&(n[m].providerFactory=D),Rc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else{let D=cp(n[o?m:f],l,!o&&r);Rc(i,e,f>-1?f:m,D)}!o&&r&&I&&n[m].componentProviders++}}}function Rc(e,t,n,r){let o=Ht(t),i=Od(t);if(o||i){let c=(i?te(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function cp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function xc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>zf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>zf(r,o?o(t):t,!0))}}var es=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},wl=(()=>{class e{compileModuleSync(n){return new Ji(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ba(n),i=Dh(o.declarations).reduce((s,a)=>{let c=yt(a);return c&&s.push(new Bn(c)),s},[]);return new es(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var lp=(()=>{class e{applicationErrorHandler=p(Be);appRef=p(sn);taskService=p(at);ngZone=p(ge);zonelessEnabled=p(Br);tracing=p(Mt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Ic,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?ff:mc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function up(){return[{provide:$t,useExisting:lp},{provide:ge,useClass:Sr},{provide:Br,useValue:!0}]}function WI(){return typeof $localize<"u"&&$localize.locale||io}var _l=new v("",{factory:()=>p(_l,{optional:!0,skipSelf:!0})||WI()});function fe(e){return vd(e)}function an(e,t){return zo(e,t?.equal)}var fp=Symbol("InputSignalNode#UNSET"),oD=R(g({},Go),{transformFn:void 0,applyValueToInputSignal(e,t){In(e,t)}});function hp(e,t){let n=Object.create(oD);n.value=e,n.transformFn=t?.transform;function r(){if(vn(n),n.value===fp){let o=null;throw new y(-950,o)}return n.value}return r[ce]=n,r}function dp(e,t){return hp(e,t)}function iD(e){return hp(fp,e)}var pp=(dp.required=iD,dp);var Cl=new v(""),sD=new v("");function ao(e){return!e.moduleRef}function aD(e){let t=ao(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ge);return n.run(()=>{ao(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Be),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ao(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Cl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Cl);s.add(i),e.moduleRef.onDestroy(()=>{Gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return lD(r,n,()=>{let i=t.get(at),s=i.add(),a=t.get(vl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(_l,io);if(sp(c||io),!t.get(sD,!0))return ao(e)?t.get(sn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ao(e)){let u=t.get(sn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return cD?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var cD;function lD(e,t,n){try{let r=n();return on(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var fs=null;function uD(e=[],t){return Fe.create({name:t,providers:[{provide:Ar,useValue:"platform"},{provide:Cl,useValue:new Set([()=>fs=null])},...e]})}function dD(e=[]){if(fs)return fs;let t=uD(e);return fs=t,op(),fD(t),t}function fD(e){let t=e.get(ns,null);K(e,()=>{t?.forEach(n=>n())})}var hD=1e4;var BF=hD-1e3;var hs=(()=>{class e{static __NG_ELEMENT_ID__=pD}return e})();function pD(e){return gD(He(),U(),(e&16)===16)}function gD(e,t,n){if(st(e)&&!n){let r=Te(e.index,t);return new en(r,r)}else if(e.type&175){let r=t[be];return new en(r,t)}return null}function gp(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;V(O.BootstrapApplicationStart);try{let i=o?.injector??dD(r),s=[up(),pf,...n||[]],a=new Zr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return aD({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{V(O.BootstrapApplicationEnd)}}function Ml(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var mp=null;function xe(){return mp}function Tl(e){mp??=e}var co=class{},Qn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(vp),providedIn:"platform"})}return e})();var vp=(()=>{class e extends Qn{_location;_history;_doc=p($);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xe().getBaseHref(this._doc)}onPopState(n){let r=xe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=xe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ip(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function yp(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Nt(e){return e&&e[0]!=="?"?`?${e}`:e}var ps=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(vD),providedIn:"root"})}return e})(),mD=new v(""),vD=(()=>{class e extends ps{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p($).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 Ip(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Nt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(w(Qn),w(mD,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yn=(()=>{class e{_subject=new Y;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ID(yp(Ep(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nt(r))}normalize(n){return e.stripTrailingSlash(ED(this._basePath,Ep(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Nt;static joinWithSlash=Ip;static stripTrailingSlash=yp;static \u0275fac=function(r){return new(r||e)(w(ps))};static \u0275prov=E({token:e,factory:()=>yD(),providedIn:"root"})}return e})();function yD(){return new Yn(w(ps))}function ED(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ep(e){return e.replace(/\/index.html$/,"")}function ID(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function lo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var cn=class{};var Dp="browser";var uo=class{_doc;constructor(t){this._doc=t}manager},gs=(()=>{class e extends uo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(w($))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),ys=new v(""),xl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof gs));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof gs);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(w(ys),w(ge))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Sl="ng-app-id";function wp(e){for(let t of e)t.remove()}function _p(e,t){let n=t.createElement("style");return n.textContent=e,n}function DD(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Sl}="${t}"],link[${Sl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Sl),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Rl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Al=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,DD(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,_p);r?.forEach(o=>this.addUsage(o,this.external,Rl))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(wp(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])wp(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,_p(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Rl(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(w($),w(ts),w(Xr,8),w(Jr))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Nl={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/Math/MathML"},Ol=/%COMP%/g;var bp="%COMP%",wD=`_nghost-${bp}`,_D=`_ngcontent-${bp}`,CD=!0,bD=new v("",{factory:()=>CD});function MD(e){return _D.replace(Ol,e)}function TD(e){return wD.replace(Ol,e)}function Mp(e,t){return t.map(n=>n.replace(Ol,e))}var kl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new fo(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof vs?o.applyToHost(n):o instanceof ho&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case ze.Emulated:i=new vs(c,l,r,this.appId,u,s,a,d);break;case ze.ShadowDom:return new ms(c,n,r,s,a,this.nonce,d,l);case ze.ExperimentalIsolatedShadowDom:return new ms(c,n,r,s,a,this.nonce,d);default:i=new ho(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(w(xl),w(Al),w(ts),w(bD),w($),w(ge),w(Xr),w(Mt,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),fo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Nl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Cp(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Cp(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Nl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Nl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ct.DashCase|ct.Important)?t.style.setProperty(n,r,o&ct.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ct.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=xe().getGlobalEventTarget(this.doc,t),!t))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Cp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ms=class extends fo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Mp(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Rl(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},ho=class extends fo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Mp(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Hn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vs=class extends ho{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=MD(l),this.hostAttr=TD(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Es=class e extends co{supportsDOMEvents=!0;static makeCurrent(){Tl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.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 n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=SD();return n==null?null:ND(n)}resetBaseElement(){po=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return lo(document.cookie,t)}},po=null;function SD(){return po=po||document.head.querySelector("base"),po?po.getAttribute("href"):null}function ND(e){return new URL(e,document.baseURI).pathname}var RD=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Tp=["alt","control","meta","shift"],xD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},AD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Sp=(()=>{class e extends uo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xe().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Tp.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=xD[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Tp.forEach(s=>{if(s!==o){let a=AD[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(w($))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();async function Pl(e,t,n){let r=g({rootComponent:e},OD(t,n));return gp(r)}function OD(e,t){return{platformRef:t?.platformRef,appProviders:[...jD,...e?.providers??[]],platformProviders:FD}}function kD(){Es.makeCurrent()}function PD(){return new rt}function LD(){return Xc(document),document}var FD=[{provide:Jr,useValue:Dp},{provide:ns,useValue:kD,multi:!0},{provide:$,useFactory:LD}];var jD=[{provide:Ar,useValue:"root"},{provide:rt,useFactory:PD},{provide:ys,useClass:gs,multi:!0},{provide:ys,useClass:Sp,multi:!0},kl,Al,xl,{provide:tn,useExisting:kl},{provide:cn,useClass:RD},[]];var Rt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
+`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ds=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},ws=class{encodeKey(t){return Np(t)}encodeValue(t){return Np(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function VD(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var UD=/%(\d[a-f0-9])/gi,HD={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Np(e){return encodeURIComponent(e).replace(UD,(t,n)=>HD[n]??t)}function Is(e){return`${e}`}var ht=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ws,t.fromString){if(t.fromObject)throw new y(2805,!1);this.map=VD(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Is):[Is(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Is(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Is(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function BD(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xp(e){return typeof Blob<"u"&&e instanceof Blob}function Ap(e){return typeof FormData<"u"&&e instanceof FormData}function $D(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Op="Content-Type",kp="Accept",Pp="text/plain",Lp="application/json",zD=`${Lp}, ${Pp}, */*`,Kn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(BD(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Rt,this.context??=new Ds,!this.params)this.params=new ht,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":apr.set(Ot,t.setHeaders[Ot]),Oe)),t.setParams&&(Q=Object.keys(t.setParams).reduce((pr,Ot)=>pr.set(Ot,t.setParams[Ot]),Q)),new e(n,r,I,{params:Q,headers:Oe,context:hr,reportProgress:ie,responseType:o,withCredentials:D,transferCache:m,keepalive:i,cache:a,priority:s,timeout:A,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:f})}},ln=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(ln||{}),Xn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Rt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},_s=class e extends Xn{constructor(t={}){super(t)}type=ln.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},go=class e extends Xn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=ln.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Jn=class extends Xn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},GD=200,WD=204;var qD=new v("");var ZD=/^\)\]\}',?\n/;var Fl=(()=>{class e{xhrFactory;tracingService=p(Mt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return S(null).pipe(ve(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((I,D)=>s.setRequestHeader(I,D.join(","))),n.headers.has(kp)||s.setRequestHeader(kp,zD),!n.headers.has(Op)){let I=n.detectContentTypeHeader();I!==null&&s.setRequestHeader(Op,I)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let I=n.responseType.toLowerCase();s.responseType=I!=="json"?I:"text"}let a=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let I=s.statusText||"OK",D=new Rt(s.getAllResponseHeaders()),ie=s.responseURL||n.url;return c=new _s({headers:D,status:s.status,statusText:I,url:ie}),c},u=this.maybePropagateTrace(()=>{let{headers:I,status:D,statusText:ie,url:Oe}=l(),Q=null;D!==WD&&(Q=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=Q?GD:0);let hr=D>=200&&D<300;if(n.responseType==="json"&&typeof Q=="string"){let pr=Q;Q=Q.replace(ZD,"");try{Q=Q!==""?JSON.parse(Q):null}catch(Ot){Q=pr,hr&&(hr=!1,Q={error:Ot,text:Q})}}hr?(i.next(new go({body:Q,headers:I,status:D,statusText:ie,url:Oe||void 0})),i.complete()):i.error(new Jn({error:Q,headers:I,status:D,statusText:ie,url:Oe||void 0}))}),d=this.maybePropagateTrace(I=>{let{url:D}=l(),ie=new Jn({error:I,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(ie)}),h=d;n.timeout&&(h=this.maybePropagateTrace(I=>{let{url:D}=l(),ie=new Jn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(ie)}));let f=!1,m=this.maybePropagateTrace(I=>{f||(i.next(l()),f=!0);let D={type:ln.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(D.total=I.total),n.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)}),A=this.maybePropagateTrace(I=>{let D={type:ln.UploadProgress,loaded:I.loaded};I.lengthComputable&&(D.total=I.total),i.next(D)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(a),i.next({type:ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(w(cn))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QD(e,t){return t(e)}function YD(e,t,n){return(r,o)=>K(n,()=>t(r,i=>e(i,o)))}var Fp=new v("",{factory:()=>[]}),jp=new v(""),Vp=new v("",{factory:()=>!0});var jl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(Fl),o},providedIn:"root"})}return e})();var Cs=(()=>{class e{backend;injector;chain=null;pendingTasks=p(Fi);contributeToStability=p(Vp);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Fp),...this.injector.get(jp,[])]));this.chain=r.reduceRight((o,i)=>YD(o,i,this.injector),QD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(wr(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(w(jl),w(B))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(Cs),o},providedIn:"root"})}return e})();function Ll(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var bs=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Kn)i=n;else{let c;o.headers instanceof Rt?c=o.headers:c=new Rt(o.headers);let l;o.params&&(o.params instanceof ht?l=o.params:l=new ht({fromObject:o.params})),i=new Kn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=S(i).pipe(Tn(c=>this.handler.handle(c)));if(n instanceof Kn||o.observe==="events")return s;let a=s.pipe(Le(c=>c instanceof go));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(j(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(j(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(j(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(j(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ht().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ll(o,r))}post(n,r,o={}){return this.request("POST",n,Ll(o,r))}put(n,r,o={}){return this.request("PUT",n,Ll(o,r))}static \u0275fac=function(r){return new(r||e)(w(Vl))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var KD=new v("",{factory:()=>!0}),JD="XSRF-TOKEN",XD=new v("",{factory:()=>JD}),ew="X-XSRF-TOKEN",tw=new v("",{factory:()=>ew}),nw=(()=>{class e{cookieName=p(XD);doc=p($);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=lo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Up=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(nw),o},providedIn:"root"})}return e})();function rw(e,t){if(!p(KD)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=p(Qn).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}let n=p(Up).getToken(),r=p(tw);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function Ul(...e){let t=[bs,Cs,{provide:Vl,useExisting:Cs},{provide:jl,useFactory:()=>p(qD,{optional:!0})??p(Fl)},{provide:Fp,useValue:rw,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return It(t)}var Hp=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(w($))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var T="primary",To=Symbol("RouteTitle"),Gl=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function rr(e){return new Gl(e)}function Hl(e,t,n){for(let r=0;re.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthe.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return!Hl(i,e.slice(0,i.length),a)||!Hl(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function xs(e){return new Promise((t,n)=>{e.pipe(tt()).subscribe({next:r=>t(r),error:r=>n(r)})})}function sw(e,t){if(e.length!==t.length)return!1;for(let n=0;nr[i]===o)}else return e===t}function aw(e){return e.length>0?e[e.length-1]:null}function pn(e){return ui(e)?e:on(e)?H(Promise.resolve(e)):S(e)}function Yp(e){return ui(e)?xs(e):Promise.resolve(e)}var cw={exact:Xp,subset:eg},Kp={exact:lw,subset:uw,ignored:()=>!0},Jp={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ql={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Bp(e,t,n){return cw[n.paths](e.root,t.root,n.matrixParams)&&Kp[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function lw(e,t){return Xe(e,t)}function Xp(e,t,n){if(!dn(e.segments,t.segments)||!Ss(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Xp(e.children[r],t.children[r],n))return!1;return!0}function uw(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Qp(e[n],t[n]))}function eg(e,t,n){return tg(e,t,t.segments,n)}function tg(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!dn(o,n)||t.hasChildren()||!Ss(o,n,r))}else if(e.segments.length===n.length){if(!dn(e.segments,n)||!Ss(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!eg(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!dn(e.segments,o)||!Ss(e.segments,o,r)||!e.children[T]?!1:tg(e.children[T],t,i,r)}}function Ss(e,t,n){return t.every((r,o)=>Kp[n](e[o].parameters,r.parameters))}var qe=class{root;queryParams;fragment;_queryParamMap;constructor(t=new F([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=rr(this.queryParams),this._queryParamMap}toString(){return hw.serialize(this)}},F=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ns(this)}},un=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=rr(this.parameters),this._parameterMap}toString(){return rg(this)}};function dw(e,t){return dn(e,t)&&e.every((n,r)=>Xe(n.parameters,t[r].parameters))}function dn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function fw(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===T&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==T&&(n=n.concat(t(o,r)))}),n}var Hs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new fn,providedIn:"root"})}return e})(),fn=class{parse(t){let n=new Ql(t);return new qe(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${mo(t.root,!0)}`,r=mw(t.queryParams),o=typeof t.fragment=="string"?`#${pw(t.fragment)}`:"";return`${n}${r}${o}`}},hw=new fn;function Ns(e){return e.segments.map(t=>rg(t)).join("/")}function mo(e,t){if(!e.hasChildren())return Ns(e);if(t){let n=e.children[T]?mo(e.children[T],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==T&&r.push(`${o}:${mo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=fw(e,(r,o)=>o===T?[mo(e.children[T],!1)]:[`${o}:${mo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[T]!=null?`${Ns(e)}/${n[0]}`:`${Ns(e)}/(${n.join("//")})`}}function ng(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ms(e){return ng(e).replace(/%3B/gi,";")}function pw(e){return encodeURI(e)}function Zl(e){return ng(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rs(e){return decodeURIComponent(e)}function $p(e){return Rs(e.replace(/\+/g,"%20"))}function rg(e){return`${Zl(e.path)}${gw(e.parameters)}`}function gw(e){return Object.entries(e).map(([t,n])=>`;${Zl(t)}=${Zl(n)}`).join("")}function mw(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ms(n)}=${Ms(o)}`).join("&"):`${Ms(n)}=${Ms(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var vw=/^[^\/()?;#]+/;function Bl(e){let t=e.match(vw);return t?t[0]:""}var yw=/^[^\/()?;=#]+/;function Ew(e){let t=e.match(yw);return t?t[0]:""}var Iw=/^[^=?]+/;function Dw(e){let t=e.match(Iw);return t?t[0]:""}var ww=/^[^]+/;function _w(e){let t=e.match(ww);return t?t[0]:""}var Ql=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new y(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,t));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[T]=new F(n,r)),o}parseSegment(){let t=Bl(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new un(Rs(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=Ew(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Bl(this.remaining);o&&(r=o,this.capture(r))}t[Rs(n)]=Rs(r)}parseQueryParam(t){let n=Dw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=_w(this.remaining);s&&(r=s,this.capture(r))}let o=$p(n),i=$p(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t,n){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Bl(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=T);let a=this.parseChildren(n+1);r[s??T]=Object.keys(a).length===1&&a[T]?a[T]:new F([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new y(4011,!1)}};function og(e){return e.segments.length>0?new F([],{[T]:e}):e}function ig(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=ig(o);if(r===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new F(e.segments,t);return Cw(n)}function Cw(e){if(e.numberOfChildren===1&&e.children[T]){let t=e.children[T];return new F(e.segments.concat(t.segments),t.children)}return e}function or(e){return e instanceof qe}function bw(e,t,n=null,r=null,o=new fn){let i=sg(e);return ag(i,t,n,r,o)}function sg(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new F(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=og(r);return t??o}function ag(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return $l(i,i,i,n,r,o);let s=Mw(t);if(s.toRoot())return $l(i,i,new F([],{}),n,r,o);let a=Tw(s,i,e),c=a.processChildren?yo(a.segmentGroup,a.index,s.commands):lg(a.segmentGroup,a.index,s.commands);return $l(i,a.segmentGroup,c,n,r,o)}function As(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Do(e){return typeof e=="object"&&e!=null&&e.outlets}function zp(e,t,n){e||="\u0275";let r=new qe;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function $l(e,t,n,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>zp(l,d,i)):zp(l,u,i);let a;e===t?a=n:a=cg(e,t,n);let c=og(ig(a));return new qe(c,s,o)}function cg(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=cg(i,t,n)}),new F(e.segments,r)}var Os=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&As(r[0]))throw new y(4003,!1);let o=r.find(Do);if(o&&o!==aw(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Mw(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Os(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Os(n,t,r)}var tr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Tw(e,t,n){if(e.isAbsolute)return new tr(t,!0,0);if(!n)return new tr(t,!1,NaN);if(n.parent===null)return new tr(n,!0,0);let r=As(e.commands[0])?0:1,o=n.segments.length-1+r;return Sw(n,o,e.numberOfDoubleDots)}function Sw(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new tr(r,!1,o-i)}function Nw(e){return Do(e[0])?e[0].outlets:{[T]:e}}function lg(e,t,n){if(e??=new F([],{}),e.segments.length===0&&e.hasChildren())return yo(e,t,n);let r=Rw(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==T)&&e.children[T]&&e.numberOfChildren===1&&e.children[T].segments.length===0){let i=yo(e.children[T],t,n);return new F(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=lg(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new F(e.segments,o)}}function Rw(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(Do(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Wp(c,l,s))return i;r+=2}else{if(!Wp(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Yl(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Yl(new F([],{}),0,r))}),t}function Gp(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Wp(e,t,n){return e==n.path&&Xe(t,n.parameters)}var Eo="imperative",oe=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(oe||{}),Ae=class{id;url;constructor(t,n){this.id=t,this.url=n}},ir=class extends Ae{type=oe.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xt=class extends Ae{urlAfterRedirects;type=oe.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},he=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(he||{}),ks=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ks||{}),Ge=class extends Ae{reason;code;type=oe.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ug(e){return e instanceof Ge&&(e.code===he.Redirect||e.code===he.SupersededByNewNavigation)}var At=class extends Ae{reason;code;type=oe.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},sr=class extends Ae{error;target;type=oe.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ps=class extends Ae{urlAfterRedirects;state;type=oe.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kl=class extends Ae{urlAfterRedirects;state;type=oe.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jl=class extends Ae{urlAfterRedirects;state;shouldActivate;type=oe.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Xl=class extends Ae{urlAfterRedirects;state;type=oe.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eu=class extends Ae{urlAfterRedirects;state;type=oe.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tu=class{route;type=oe.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nu=class{route;type=oe.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ru=class{snapshot;type=oe.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ou=class{snapshot;type=oe.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},iu=class{snapshot;type=oe.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},su=class{snapshot;type=oe.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ar=class{},wo=class{},cr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Aw(e){return!(e instanceof ar)&&!(e instanceof cr)&&!(e instanceof wo)}var au=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new So(this.rootInjector)}},So=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let 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 au(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(w(B))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ls=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=cu(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=cu(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=lu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return lu(t,this._root).map(n=>n.value)}};function cu(e,t){if(e===t.value)return t;for(let n of t.children){let r=cu(e,n);if(r)return r}return null}function lu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=lu(e,n);if(r.length)return r.unshift(t),r}return[]}var De=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function er(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Fs=class extends Ls{snapshot;constructor(t,n){super(t),this.snapshot=n,Eu(this,t)}toString(){return this.snapshot.toString()}};function dg(e,t){let n=Ow(e,t),r=new X([new un("",{})]),o=new X({}),i=new X({}),s=new X({}),a=new X(""),c=new hn(r,o,s,a,i,T,e,n.root);return c.snapshot=n.root,new Fs(new De(c,[]),n)}function Ow(e,t){let n={},r={},o={},s=new _o([],n,o,"",r,T,e,null,{},t);return new js("",new De(s,[]))}var hn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(j(l=>l[To]))??S(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(j(t=>rr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(j(t=>rr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function yu(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&hg(o)&&(r.resolve[To]=o.title),r}var _o=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[To]}constructor(t,n,r,o,i,s,a,c,l,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=rr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rr(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},js=class extends Ls{url;constructor(t,n){super(n),this.url=t,Eu(this,n)}toString(){return fg(this._root)}};function Eu(e,t){t.value._routerState=e,t.children.forEach(n=>Eu(e,n))}function fg(e){let t=e.children.length>0?` { ${e.children.map(fg).join(", ")} } `:"";return`${e.value}${t}`}function zl(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Xe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Xe(t.params,n.params)||e.paramsSubject.next(n.params),sw(t.url,n.url)||e.urlSubject.next(n.url),Xe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function uu(e,t){let n=Xe(e.params,t.params)&&dw(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||uu(e.parent,t.parent))}function hg(e){return typeof e.title=="string"||e.title===null}var kw=new v(""),pg=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=T;activateEvents=new q;deactivateEvents=new q;attachEvents=new q;detachEvents=new q;routerOutletData=pp();parentContexts=p(So);location=p(as);changeDetector=p(hs);inputBinder=p(Bs,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new du(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Gn]})}return e})(),du=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===hn?this.route:t===So?this.childContexts:t===kw?this.outletData:this.parent.get(t,n)}},Bs=new v("");var gg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ro({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Tt(0,"router-outlet")},dependencies:[pg],encapsulation:2})}return e})();function Iu(e){let t=e.children&&e.children.map(Iu),n=t?R(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==T&&(n.component=gg),n}function Pw(e,t,n){let r=Co(e,t._root,n?n._root:void 0);return new Fs(r,t)}function Co(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=Lw(e,t,n);return new De(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Co(e,a)),s}}let r=Fw(t.value),o=t.children.map(i=>Co(e,i));return new De(r,o)}}function Lw(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Co(e,r,o);return Co(e,r)})}function Fw(e){return new hn(new X(e.url),new X(e.params),new X(e.queryParams),new X(e.fragment),new X(e.data),e.outlet,e.component,e)}var bo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},mg="ngNavigationCancelingError";function Vs(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=or(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=vg(!1,he.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function vg(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[mg]=!0,n.cancellationCode=t,n}function jw(e){return yg(e)&&or(e.url)}function yg(e){return!!e&&e[mg]}var fu=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),zl(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=er(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=er(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=er(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=er(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new su(i.value.snapshot))}),t.children.length&&this.forwardEvent(new ou(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(zl(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zl(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Us=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},nr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Vw(e,t,n){let r=e._root,o=t?t._root:null;return vo(r,o,n,[r.value])}function Uw(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ur(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!La(e)?e:t.get(e):r}function vo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=er(t);return e.children.forEach(s=>{Hw(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Io(a,n.getContext(s),o)),o}function Hw(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Bw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Us(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?vo(e,t,a?a.children:null,r,o):vo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new nr(a.outlet.component,s))}else s&&Io(t,a,o),o.canActivateChecks.push(new Us(r)),i.component?vo(e,null,a?a.children:null,r,o):vo(e,null,n,r,o);return o}function Bw(e,t,n){if(typeof n=="function")return K(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!dn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!dn(e.url,t.url)||!Xe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uu(e,t)||!Xe(e.queryParams,t.queryParams);default:return!uu(e,t)}}function Io(e,t,n){let r=er(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Io(s,t.children.getContext(i),n):Io(s,null,n):Io(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new nr(t.outlet.component,o)):n.canDeactivateChecks.push(new nr(null,o)):n.canDeactivateChecks.push(new nr(null,o))}function No(e){return typeof e=="function"}function $w(e){return typeof e=="boolean"}function zw(e){return e&&No(e.canLoad)}function Gw(e){return e&&No(e.canActivate)}function Ww(e){return e&&No(e.canActivateChild)}function qw(e){return e&&No(e.canDeactivate)}function Zw(e){return e&&No(e.canMatch)}function Eg(e){return e instanceof Ft||e?.name==="EmptyError"}var Ts=Symbol("INITIAL_VALUE");function lr(){return ve(e=>ga(e.map(t=>t.pipe(et(1),va(Ts)))).pipe(j(t=>{for(let n of t)if(n!==!0){if(n===Ts)return Ts;if(n===!1||Qw(n))return n}return!0}),Le(t=>t!==Ts),et(1)))}function Qw(e){return or(e)||e instanceof bo}function Ig(e){return e.aborted?S(void 0).pipe(et(1)):new x(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function Dg(e){return _r(Ig(e))}function Yw(e){return le(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?S(R(g({},t),{guardsResult:!0})):Kw(i,n,r).pipe(le(s=>s&&$w(s)?Jw(n,o,e):S(s)),j(s=>R(g({},t),{guardsResult:s})))})}function Kw(e,t,n){return H(e).pipe(le(r=>r_(r.component,r.route,n,t)),tt(r=>r!==!0,!0))}function Jw(e,t,n){return H(t).pipe(Tn(r=>Mn(e_(r.route.parent,n),Xw(r.route,n),n_(e,r.path),t_(e,r.route))),tt(r=>r!==!0,!0))}function Xw(e,t){return e!==null&&t&&t(new iu(e)),S(!0)}function e_(e,t){return e!==null&&t&&t(new ru(e)),S(!0)}function t_(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return S(!0);let r=n.map(o=>Ir(()=>{let i=t._environmentInjector,s=ur(o,i),a=Gw(s)?s.canActivate(t,e):K(i,()=>s(t,e));return pn(a).pipe(tt())}));return S(r).pipe(lr())}function n_(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>Uw(i)).filter(i=>i!==null).map(i=>Ir(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=ur(a,c),u=Ww(l)?l.canActivateChild(n,e):K(c,()=>l(n,e));return pn(u).pipe(tt())});return S(s).pipe(lr())}));return S(o).pipe(lr())}function r_(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=t._environmentInjector,c=ur(s,a),l=qw(c)?c.canDeactivate(e,t,n,r):K(a,()=>c(e,t,n,r));return pn(l).pipe(tt())});return S(i).pipe(lr())}function o_(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return S(!0);let s=i.map(a=>{let c=ur(a,e),l=zw(c)?c.canLoad(t,n):K(e,()=>c(t,n)),u=pn(l);return o?u.pipe(Dg(o)):u});return S(s).pipe(lr(),wg(r))}function wg(e){return da(we(t=>{if(typeof t!="boolean")throw Vs(e,t)}),j(t=>t===!0))}function i_(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return S(!0);let a=s.map(c=>{let l=ur(c,e),u=Zw(l)?l.canMatch(t,n,o):K(e,()=>l(t,n,o));return pn(u).pipe(Dg(i))});return S(a).pipe(lr(),wg(r))}var pt=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},Mo=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function s_(e){throw new y(4e3,!1)}function a_(e){throw vg(!1,he.GuardRejected)}var hu=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}async lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[T])throw s_(`${t.redirectTo}`);o=o.children[T]}}async applyRedirectCommands(t,n,r,o,i){let s=await c_(n,o,i);if(s instanceof qe)throw new Mo(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Mo(a);return a}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new qe(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new F(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function c_(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return xs(pn(K(n,()=>r(t))))}function l_(e,t){return e.providers&&!e._injector&&(e._injector=no(e.providers,t,`Route: ${e.path}`)),e._injector??t}function We(e){return e.outlet||T}function u_(e,t){let n=e.filter(r=>We(r)===t);return n.push(...e.filter(r=>We(r)!==t)),n}var pu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _g(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function d_(e,t,n,r,o,i,s){let a=Cg(e,t,n);if(!a.matched)return S(a);let c=_g(i(a));return r=l_(t,r),i_(r,t,n,o,c,s).pipe(j(l=>l===!0?a:g({},pu)))}function Cg(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},pu):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||iw)(n,e,t);if(!o)return g({},pu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function qp(e,t,n,r,o){return n.length>0&&p_(e,n,r,o)?{segmentGroup:new F(t,h_(r,new F(n,e.children))),slicedSegments:[]}:n.length===0&&g_(e,n,r)?{segmentGroup:new F(e.segments,f_(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new F(e.segments,e.children),slicedSegments:n}}function f_(e,t,n,r){let o={};for(let i of n)if($s(e,t,i)&&!r[We(i)]){let s=new F([],{});o[We(i)]=s}return g(g({},r),o)}function h_(e,t){let n={};n[T]=t;for(let r of e)if(r.path===""&&We(r)!==T){let o=new F([],{});n[We(r)]=o}return n}function p_(e,t,n,r){return n.some(o=>!$s(e,t,o)||!(We(o)!==T)?!1:!(r!==void 0&&We(o)===r))}function g_(e,t,n){return n.some(r=>$s(e,t,r))}function $s(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function m_(e,t,n){return t.length===0&&!e.children[n]}var gu=class{};async function v_(e,t,n,r,o,i,s="emptyOnly",a){return new mu(e,t,n,r,o,s,i,a).recognize()}var y_=31,mu=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new hu(this.urlSerializer,this.urlTree)}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}async recognize(){let t=qp(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=await this.match(t),o=new De(r,n),i=new js("",o),s=bw(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(t){let n=new _o([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,t,T,n),rootSnapshot:n}}catch(r){if(r instanceof Mo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof pt?this.noMatchError(r):r}}async processSegmentGroup(t,n,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=await this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof De?[s]:[]}async processChildren(t,n,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=u_(n,c),d=await this.processSegmentGroup(t,u,l,c,o);s.push(...d)}let a=bg(s);return E_(a),a}async processSegment(t,n,r,o,i,s,a){for(let c of n)try{return await this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(l){if(l instanceof pt||Eg(l))continue;throw l}if(m_(r,o,i))return new gu;throw new pt(r)}async processSegmentAgainstRoute(t,n,r,o,i,s,a,c){if(We(r)!==s&&(s===T||!$s(o,i,r)))throw new pt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new pt(o)}async expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=Cg(n,o,i);if(!c)throw new pt(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>y_&&(this.allowRedirects=!1));let f=this.createSnapshot(t,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,_g(f),t),A=await this.applyRedirects.lineralizeSegments(o,m);return this.processSegment(t,r,n,A.concat(h),s,!1,a)}createSnapshot(t,n,r,o,i){let s=new _o(r,o,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,D_(n),We(n),n.component??n._loadedComponent??null,n,w_(n),t),a=yu(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(t,n,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=Oe=>this.createSnapshot(t,r,Oe.consumedSegments,Oe.parameters,s),c=await xs(d_(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new pt(n);t=r._injector??t;let{routes:l}=await this.getChildConfig(t,r,o),u=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=this.createSnapshot(t,r,h,d,s),{segmentGroup:A,slicedSegments:I}=qp(n,h,f,l,i);if(I.length===0&&A.hasChildren()){let Oe=await this.processChildren(u,l,A,m);return new De(m,Oe)}if(l.length===0&&I.length===0)return new De(m,[]);let D=We(r)===i,ie=await this.processSegment(u,l,A,I,D?T:i,!0,m);return new De(m,ie instanceof De?[ie]:[])}async getChildConfig(t,n,r){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await xs(o_(t,n,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw a_(n)}return{routes:[],injector:t}}};function E_(e){e.sort((t,n)=>t.value.outlet===T?-1:n.value.outlet===T?1:t.value.outlet.localeCompare(n.value.outlet))}function I_(e){let t=e.value.routeConfig;return t&&t.path===""}function bg(e){let t=[],n=new Set;for(let r of e){if(!I_(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=bg(r.children);t.push(new De(r.value,o))}return t.filter(r=>!n.has(r))}function D_(e){return e.data||{}}function w_(e){return e.resolve||{}}function __(e,t,n,r,o,i,s){return le(async a=>{let{state:c,tree:l}=await v_(e,t,n,r,a.extractedUrl,o,i,s);return R(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function C_(e){return le(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return S(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Mg(a))i.add(c);let s=0;return H(i).pipe(Tn(a=>o.has(a)?b_(a,n,e):(a.data=yu(a,a.parent,e).resolve,S(void 0))),we(()=>s++),pi(1),le(a=>s===i.size?S(t):ee))})}function Mg(e){let t=e.children.map(n=>Mg(n)).flat();return[e,...t]}function b_(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!hg(r)&&(o[To]=r.title),Ir(()=>(e.data=yu(e,e.parent,n).resolve,M_(o,e,t).pipe(j(i=>(e._resolvedData=i,e.data=g(g({},e.data),i),null)))))}function M_(e,t,n){let r=Wl(e);if(r.length===0)return S({});let o={};return H(r).pipe(le(i=>T_(e[i],t,n).pipe(tt(),we(s=>{if(s instanceof bo)throw Vs(new fn,s);o[i]=s}))),pi(1),j(()=>o),Dr(i=>Eg(i)?ee:pa(i)))}function T_(e,t,n){let r=t._environmentInjector,o=ur(e,r),i=o.resolve?o.resolve(t,n):K(r,()=>o(t,n));return pn(i)}function Zp(e){return ve(t=>{let n=e(t);return n?H(n).pipe(j(()=>t)):S(t)})}var Tg=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===T);return r}getResolvedTitleForRoute(n){return n.data[To]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(S_),providedIn:"root"})}return e})(),S_=(()=>{class e extends Tg{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(w(Hp))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zs=new v("",{factory:()=>({})}),Gs=new v(""),Sg=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(wl);async loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await Yp(K(n,()=>r.loadComponent())),s=await Rg(Ng(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await N_(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function N_(e,t,n,r){let o=await Yp(K(n,()=>e.loadChildren())),i=await Rg(Ng(o)),s;i instanceof cs||Array.isArray(i)?s=i:s=await t.compileModuleAsync(i),r&&r(e);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(n).injector,u=s,c=a.get(Gs,[],{optional:!0,self:!0}).flat()),{routes:c.map(Iu),injector:a,factory:u}}function R_(e){return e&&typeof e=="object"&&"default"in e}function Ng(e){return R_(e)?e.default:e}async function Rg(e){return e}var Du=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(x_),providedIn:"root"})}return e})(),x_=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xg=new v("");var A_=()=>{},Ag=new v(""),Og=(()=>{class e{currentNavigation=me(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=me(null);events=new Y;transitionAbortWithErrorSubject=new Y;configLoader=p(Sg);environmentInjector=p(B);destroyRef=p(Ke);urlSerializer=p(Hs);rootContexts=p(So);location=p(Yn);inputBindingEnabled=p(Bs,{optional:!0})!==null;titleStrategy=p(Tg);options=p(zs,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Du);createViewTransition=p(xg,{optional:!0});navigationErrorHandler=p(Ag,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new tu(o)),r=o=>this.events.next(new nu(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;fe(()=>{this.transitions?.next(R(g({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new X(null),this.transitions.pipe(Le(r=>r!==null),ve(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return S(r).pipe(ve(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",he.SupersededByNewNavigation),ee;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?R(g({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new At(a.id,this.urlSerializer.serialize(a.rawUrl),"",ks.IgnoredSameUrlNavigation)),a.resolve(!1),ee;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return S(a).pipe(ve(d=>(this.events.next(new ir(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?ee:Promise.resolve(d))),__(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),we(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new wo)}),ve(d=>H(r.routesRecognizeHandler.deferredHandle??S(void 0)).pipe(j(()=>d))),we(()=>{let d=new Ps(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:A}=a,I=new ir(d,this.urlSerializer.serialize(h),f,m);this.events.next(I);let D=dg(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=R(g({},a),{targetSnapshot:D,urlAfterRedirects:h,extras:R(g({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ie=>(ie.finalUrl=h,ie)),S(r)}else return this.events.next(new At(a.id,this.urlSerializer.serialize(a.extractedUrl),"",ks.IgnoredByUrlHandlingStrategy)),a.resolve(!1),ee}),j(a=>{let c=new Kl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=R(g({},a),{guards:Vw(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),Yw(a=>this.events.next(a)),ve(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Vs(this.urlSerializer,a.guardsResult);let c=new Jl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return ee;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",he.GuardRejected),ee;if(a.guards.canActivateChecks.length===0)return S(a);let l=new Xl(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return ee;let u=!1;return S(a).pipe(C_(this.paramsInheritanceStrategy),we({next:()=>{u=!0;let d=new eu(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",he.NoDataFromResolver)}}))}),Zp(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let h=u._environmentInjector;d.push(this.configLoader.loadComponent(h,u.routeConfig).then(f=>{u.component=f}))}for(let h of u.children)d.push(...c(h));return d},l=c(a.targetSnapshot.root);return l.length===0?S(a):H(Promise.all(l).then(()=>a))}),Zp(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?H(l).pipe(j(()=>r)):S(r)}),et(1),ve(a=>{let c=Pw(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=R(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new ar);let l=r.beforeActivateHandler.deferredHandle;return l?H(l.then(()=>a)):S(a)}),we(a=>{new fu(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=A_,c)),this.lastSuccessfulNavigation.set(fe(this.currentNavigation)),this.events.next(new xt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),_r(Ig(i.signal).pipe(Le(()=>!o&&!r.targetRouterState),we(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",he.Aborted)}))),we({complete:()=>{o=!0}}),_r(this.transitionAbortWithErrorSubject.pipe(we(a=>{throw a}))),wr(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",he.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Dr(a=>{if(o=!0,this.destroyed)return r.resolve(!1),ee;if(yg(a))this.events.next(new Ge(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),jw(a)?this.events.next(new cr(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new sr(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=K(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof bo){let{message:u,cancellationCode:d}=Vs(this.urlSerializer,l);this.events.next(new Ge(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new cr(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return ee}))}))}cancelNavigationTransition(n,r,o){let i=new Ge(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=fe(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function O_(e){return e!==Eo}var kg=new v("");var k_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(P_),providedIn:"root"})}return e})(),vu=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}},P_=(()=>{class e extends vu{static \u0275fac=(()=>{let n;return function(o){return(n||(n=lt(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wu=(()=>{class e{urlSerializer=p(Hs);options=p(zs,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Yn);urlHandlingStrategy=p(Du);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new qe;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof qe?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=dg(null,p(B));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(L_),providedIn:"root"})}return e})(),L_=(()=>{class e extends wu{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(n,r){n instanceof ir?this.updateStateMemento():n instanceof At?this.commitTransition(r):n instanceof Ps?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ar?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ge&&!ug(n)?this.restoreHistory(r):n instanceof sr?this.restoreHistory(r,!0):n instanceof xt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=g(g({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=lt(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pg(e,t){e.events.pipe(Le(n=>n instanceof xt||n instanceof Ge||n instanceof sr||n instanceof At),j(n=>n instanceof xt||n instanceof At?0:(n instanceof Ge?n.code===he.Redirect||n.code===he.SupersededByNewNavigation:!1)?2:1),Le(n=>n!==2),et(1)).subscribe(()=>{t()})}var _u=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(gl);stateManager=p(wu);options=p(zs,{optional:!0})||{};pendingTasks=p(at);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Og);urlSerializer=p(Hs);location=p(Yn);urlHandlingStrategy=p(Du);injector=p(B);_events=new Y;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(k_);injectorCleanup=p(kg,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Gs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Bs,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new J;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=fe(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ge&&r.code!==he.Redirect&&r.code!==he.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof xt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof cr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||O_(o.source)},s);this.scheduleNavigation(a,Eo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Aw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Eo,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i)=>{this.navigateToSyncWithBrowser(n,o,r,i)})}navigateToSyncWithBrowser(n,r,o,i){let s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Be)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return fe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Iu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=sg(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return ag(d,n,u,l??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=or(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Eo,null,r)}navigate(n,r={skipLocationChange:!1}){return F_(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(Rn(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=g({},Jp):r===!1?o=g({},ql):o=g(g({},ql),r),or(n))return Bp(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Bp(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,h)=>{a=d,c=h});let u=this.pendingTasks.add();return Pg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F_(e){for(let t=0;tn.\u0275providers)])}function V_(){return p(_u).routerState.root}function U_(){let e=p(Fe);return t=>{let n=e.get(sn);if(t!==n.components[0])return;let r=e.get(_u),o=e.get(H_);e.get(B_)===1&&r.initialNavigation(),e.get($_,null,{optional:!0})?.setUpPreloading(),e.get(j_,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var H_=new v("",{factory:()=>new Y}),B_=new v("",{factory:()=>1});var $_=new v("");var Lg=[];var Fg={providers:[Ec(),Cu(Lg),Ul()]};var Wg=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(re(ss),re(Kr))};static \u0275dir=Ne({type:e})}return e})(),qg=(()=>{class e extends Wg{static \u0275fac=(()=>{let n;return function(o){return(n||(n=lt(e)))(o||e)}})();static \u0275dir=Ne({type:e,features:[dt]})}return e})(),Ru=new v("");var G_={provide:Ru,useExisting:ot(()=>Ys),multi:!0};function W_(){let e=xe()?xe().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var q_=new v(""),Ys=(()=>{class e extends Wg{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!W_())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(re(ss),re(Kr),re(q_,8))};static \u0275dir=Ne({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&St("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Zn([G_]),dt]})}return e})();var Zg=new v(""),Z_=new v("");function Q_(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n{t=n!=null?g(g({},t),n):t}),Object.keys(t).length===0?null:t}function Jg(e,t){return t.map(n=>n(e))}function Y_(e){return!e.validate}function Xg(e){return e.map(t=>Y_(t)?t:n=>t.validate(n))}function K_(e){if(!e)return null;let t=e.filter(Qg);return t.length==0?null:function(n){return Kg(Jg(n,t))}}function em(e){return e!=null?K_(Xg(e)):null}function J_(e){if(!e)return null;let t=e.filter(Qg);return t.length==0?null:function(n){let r=Jg(n,t).map(Yg);return ma(r).pipe(j(Kg))}}function tm(e){return e!=null?J_(Xg(e)):null}function Vg(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function X_(e){return e._rawValidators}function eC(e){return e._rawAsyncValidators}function bu(e){return e?Array.isArray(e)?e:[e]:[]}function qs(e,t){return Array.isArray(e)?e.includes(t):e===t}function Ug(e,t){let n=bu(t);return bu(e).forEach(o=>{qs(n,o)||n.push(o)}),n}function Hg(e,t){return bu(t).filter(n=>!qs(e,n))}var Zs=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=em(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=tm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control?.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},Mu=class extends Zs{name;get formDirective(){return null}get path(){return null}},ko=class extends Zs{_parent=null;name=null;valueAccessor=null},Tu=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var nm=(()=>{class e extends Tu{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(re(ko,2))};static \u0275dir=Ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&qn("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[dt]})}return e})();var Ro="VALID",Ws="INVALID",dr="PENDING",xo="DISABLED",gn=class{},Qs=class extends gn{value;source;constructor(t,n){super(),this.value=t,this.source=n}},Ao=class extends gn{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},Oo=class extends gn{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},fr=class extends gn{status;source;constructor(t,n){super(),this.status=t,this.source=n}};var Su=class extends gn{source;constructor(t){super(),this.source=t}};function tC(e){return(Ks(e)?e.validators:e)||null}function nC(e){return Array.isArray(e)?em(e):e||null}function rC(e,t){return(Ks(t)?t.asyncValidators:e)||null}function oC(e){return Array.isArray(e)?tm(e):e||null}function Ks(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var Nu=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return fe(this.statusReactive)}set status(t){fe(()=>this.statusReactive.set(t))}_status=an(()=>this.statusReactive());statusReactive=me(void 0);get valid(){return this.status===Ro}get invalid(){return this.status===Ws}get pending(){return this.status===dr}get disabled(){return this.status===xo}get enabled(){return this.status!==xo}errors;get pristine(){return fe(this.pristineReactive)}set pristine(t){fe(()=>this.pristineReactive.set(t))}_pristine=an(()=>this.pristineReactive());pristineReactive=me(!0);get dirty(){return!this.pristine}get touched(){return fe(this.touchedReactive)}set touched(t){fe(()=>this.touchedReactive.set(t))}_touched=an(()=>this.touchedReactive());touchedReactive=me(!1);get untouched(){return!this.touched}_events=new Y;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ug(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ug(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Hg(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Hg(t,this._rawAsyncValidators))}hasValidator(t){return qs(this._rawValidators,t)}hasAsyncValidator(t){return qs(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(R(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Oo(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),t.onlySelf||this._parent?._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new Oo(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(R(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Ao(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),t.onlySelf||this._parent?._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Ao(!0,r))}markAsPending(t={}){this.status=dr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new fr(this.status,n)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(R(g({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=xo,this.errors=null,this._forEachChild(o=>{o.disable(R(g({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Qs(this.value,r)),this._events.next(new fr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(R(g({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Ro,this._forEachChild(r=>{r.enable(R(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(R(g({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},n),this._parent?._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ro||this.status===dr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Qs(this.value,n)),this._events.next(new fr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(R(g({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xo:Ro}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=dr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=Yg(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r?.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new fr(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?xo:this.errors?Ws:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dr)?dr:this._anyControlsHaveStatus(Ws)?Ws:Ro}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,t.onlySelf||this._parent?._updatePristine(t,n),o&&this._events.next(new Ao(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Oo(this.touched,n)),t.onlySelf||this._parent?._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ks(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=nC(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=oC(this._rawAsyncValidators)}};var rm=new v("",{factory:()=>xu}),xu="always";function iC(e,t){return[...t.path,e]}function sC(e,t,n=xu){cC(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),lC(e,t),dC(e,t),uC(e,t),aC(e,t)}function Bg(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function aC(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function cC(e,t){let n=X_(e);t.validator!==null?e.setValidators(Vg(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=eC(e);t.asyncValidator!==null?e.setAsyncValidators(Vg(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Bg(t._rawValidators,o),Bg(t._rawAsyncValidators,o)}function lC(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&om(e,t)})}function uC(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&om(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function om(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function dC(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function fC(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function hC(e){return Object.getPrototypeOf(e.constructor)===qg}function pC(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Ys?n=i:hC(i)?r=i:o=i}),o||r||n||null}function $g(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zg(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var gC=class extends Nu{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(tC(n),rC(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ks(n)&&(n.nonNullable||n.initialValueIsDefault)&&(zg(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),n.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,n?.emitEvent!==!1&&this._events.next(new Su(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){$g(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){$g(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){zg(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var mC={provide:ko,useExisting:ot(()=>Au)},Gg=Promise.resolve(),Au=(()=>{class e extends ko{_changeDetectorRef;callSetDisabledState;control=new gC;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new q;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=pC(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),fC(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){sC(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Gg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Ml(r);Gg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?iC(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(re(Mu,9),re(Zg,10),re(Z_,10),re(Ru,10),re(hs,8),re(rm,8))};static \u0275dir=Ne({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Zn([mC]),dt,Gn]})}return e})();var vC={provide:Ru,useExisting:ot(()=>Ou),multi:!0},Ou=(()=>{class e extends qg{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=lt(e)))(o||e)}})();static \u0275dir=Ne({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&St("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Zn([vC]),dt]})}return e})();function yC(e){return typeof e=="number"?e:parseFloat(e)}var EC=(()=>{class e{_validator=jg;_onChange;_enabled;ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):jg,this._onChange?.()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ne({type:e,features:[Gn]})}return e})();var IC={provide:Zg,useExisting:ot(()=>ku),multi:!0},ku=(()=>{class e extends EC{min;inputName="min";normalizeInput=n=>yC(n);createValidator=n=>Q_(n);static \u0275fac=(()=>{let n;return function(o){return(n||(n=lt(e)))(o||e)}})();static \u0275dir=Ne({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&us("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Zn([IC]),dt]})}return e})();var DC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=rn({type:e});static \u0275inj=vt({})}return e})();var im=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:rm,useValue:n.callSetDisabledState??xu}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=rn({type:e});static \u0275inj=vt({imports:[DC]})}return e})();function _C(e,t){if(e&1&&(W(0,"span",13),Re(1),Z()),e&2){let n=Dl();bt(),ds(n.error())}}var CC="https://qr.vitanova.network:567/qr",Js=class e{http=p(bs);amount=me(10);error=me("");loading=me(!1);get paymentId(){return new URLSearchParams(window.location.search).get("id")}goToPayment(){let t=this.amount();if(!t||t<=0){this.error.set("\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443");return}let n=this.paymentId;if(n===null){this.error.set("\u041D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u043B\u0430\u0442\u0435\u0436\u0430 (\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 id)");return}this.error.set(""),this.loading.set(!0),this.http.post(CC,{payment:"sbp",amount:t,currency:"rub",id:n}).subscribe({next:r=>{this.loading.set(!1),r?.payload&&(window.location.href=r.payload)},error:()=>{this.loading.set(!1),this.error.set("\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u043F\u043B\u0430\u0442\u0435\u0436\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.")}})}onAmountChange(t){this.amount.set(t),t>0&&this.error.set("")}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=ro({type:e,selectors:[["app-root"]],decls:36,vars:6,consts:[[1,"page"],[1,"card"],[1,"card__header"],[1,"sbp-logo"],["src","https://sbp.nspk.ru/storage/settings/common/logo/0645d335-8b62-43a1-9a33-0d4c9d1dc0e0.svg","alt","\u0421\u0411\u041F"],[1,"card__title"],[1,"card__subtitle"],[1,"card__body"],[1,"field"],["for","amount",1,"field__label"],[1,"input-wrap"],[1,"input-wrap__prefix"],["id","amount","type","number","min","1","step","1","inputmode","numeric","placeholder","0","autofocus","",1,"input-wrap__input",3,"ngModelChange","ngModel"],[1,"field__error"],[1,"currency-badge"],[1,"currency-badge__flag"],[1,"currency-badge__code"],[1,"currency-badge__name"],[1,"pay-btn",3,"click","disabled"],[1,"pay-btn__icon"],["width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","stroke-linecap","round","stroke-linejoin","round"],["x","1","y","4","width","22","height","16","rx","2","ry","2"],["x1","1","y1","10","x2","23","y2","10"],[1,"card__footer"],[1,"secure-badge"],["width","14","height","14","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"]],template:function(n,r){n&1&&(W(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),Tt(4,"img",4),Z(),W(5,"h1",5),Re(6,"\u041E\u043F\u043B\u0430\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u0421\u0411\u041F"),Z(),W(7,"p",6),Re(8,"\u0421\u0438\u0441\u0442\u0435\u043C\u0430 \u0431\u044B\u0441\u0442\u0440\u044B\u0445 \u043F\u043B\u0430\u0442\u0435\u0436\u0435\u0439"),Z()(),W(9,"div",7)(10,"div",8)(11,"label",9),Re(12,"\u0421\u0443\u043C\u043C\u0430 \u043F\u043B\u0430\u0442\u0435\u0436\u0430"),Z(),W(13,"div",10)(14,"span",11),Re(15,"\u20BD"),Z(),W(16,"input",12),St("ngModelChange",function(i){return r.onAmountChange(i)}),Z()(),yl(17,_C,2,1,"span",13),Z(),W(18,"div",14)(19,"span",15),Re(20,"\u{1F1F7}\u{1F1FA}"),Z(),W(21,"span",16),Re(22,"RUB"),Z(),W(23,"span",17),Re(24,"\u0420\u043E\u0441\u0441\u0438\u0439\u0441\u043A\u0438\u0439 \u0440\u0443\u0431\u043B\u044C"),Z()(),W(25,"button",18),St("click",function(){return r.goToPayment()}),W(26,"span",19),Hr(),W(27,"svg",20),Tt(28,"rect",21)(29,"line",22),Z()(),Re(30),Z()(),ki(),W(31,"div",23)(32,"span",24),Hr(),W(33,"svg",25),Tt(34,"path",26),Z(),Re(35," \u0417\u0430\u0449\u0438\u0449\u0451\u043D\u043D\u043E\u0435 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 "),Z()()()()),n&2&&(bt(13),qn("input-wrap--error",r.error()),bt(3),oo("ngModel",r.amount()),bt(),Il(r.error()?17:-1),bt(8),oo("disabled",r.loading()),bt(5),so(" ",r.loading()?"\u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435...":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u043B\u0430\u0442\u0435"," "))},dependencies:[im,Ys,Ou,nm,ku,Au],styles:[".page[_ngcontent-%COMP%]{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(135deg,#1e40af,#2563eb 40%,#0ea5e9)}@media(max-width:480px){.page[_ngcontent-%COMP%]{align-items:flex-end;padding:0;min-height:50dvh}}.card[_ngcontent-%COMP%]{background:#fff;border-radius:24px;width:100%;max-width:400px;box-shadow:0 24px 60px #0000002e;overflow:hidden}@media(max-width:480px){.card[_ngcontent-%COMP%]{border-radius:24px 24px 0 0;max-width:100%;box-shadow:0 -8px 40px #00000026}}.card__header[_ngcontent-%COMP%]{background:linear-gradient(135deg,#1e40af,#2563eb);padding:32px 28px 28px;text-align:center}@media(max-width:480px){.card__header[_ngcontent-%COMP%]{padding:28px 24px 24px}}.card__title[_ngcontent-%COMP%]{color:#fff;font-size:22px;font-weight:700;margin:14px 0 4px;letter-spacing:-.3px}.card__subtitle[_ngcontent-%COMP%]{color:#ffffffb3;font-size:13px;margin:0}.card__body[_ngcontent-%COMP%]{padding:28px 28px 20px}@media(max-width:480px){.card__body[_ngcontent-%COMP%]{padding:24px 20px 16px}}.card__footer[_ngcontent-%COMP%]{padding:0 28px 24px;display:flex;justify-content:center}@media(max-width:480px){.card__footer[_ngcontent-%COMP%]{padding:0 20px 32px}}.sbp-logo[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;background:#ffffff26;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:16px;padding:12px 20px;border:1px solid rgba(255,255,255,.25)}.sbp-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:40px;display:block}@media(max-width:480px){.sbp-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:34px}}.field[_ngcontent-%COMP%]{margin-bottom:16px}.field__label[_ngcontent-%COMP%]{display:block;font-size:13px;font-weight:600;color:#64748b;margin-bottom:8px;text-transform:uppercase;letter-spacing:.6px}.field__error[_ngcontent-%COMP%]{display:block;margin-top:6px;font-size:13px;color:#ef4444;font-weight:500}.input-wrap[_ngcontent-%COMP%]{display:flex;align-items:center;border:2px solid #e2e8f0;border-radius:14px;background:#f8fafc;transition:border-color .2s,box-shadow .2s,background .2s}.input-wrap[_ngcontent-%COMP%]:focus-within{border-color:#2563eb;box-shadow:0 0 0 4px #2563eb1f;background:#fff}.input-wrap--error[_ngcontent-%COMP%]{border-color:#ef4444;box-shadow:0 0 0 4px #ef44441a}.input-wrap__prefix[_ngcontent-%COMP%]{padding:0 4px 0 18px;font-size:26px;font-weight:700;color:#2563eb;-webkit-user-select:none;user-select:none;line-height:1}.input-wrap__input[_ngcontent-%COMP%]{flex:1;border:none;background:transparent;padding:16px 16px 16px 8px;font-size:32px;font-weight:700;color:#0f172a;outline:none;min-width:0;font-family:inherit}.input-wrap__input[_ngcontent-%COMP%]::placeholder{color:#cbd5e1}.input-wrap__input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .input-wrap__input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.input-wrap__input[_ngcontent-%COMP%]{-moz-appearance:textfield}@media(max-width:480px){.input-wrap__input[_ngcontent-%COMP%]{font-size:28px;padding:14px 14px 14px 6px}}.currency-badge[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;background:#f1f5f9;border-radius:12px;padding:12px 16px;margin-bottom:20px}.currency-badge__flag[_ngcontent-%COMP%]{font-size:22px;line-height:1}.currency-badge__code[_ngcontent-%COMP%]{font-size:15px;font-weight:700;color:#0f172a}.currency-badge__name[_ngcontent-%COMP%]{font-size:13px;color:#64748b;margin-left:auto}.pay-btn[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:17px 24px;background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;border:none;border-radius:14px;font-size:17px;font-weight:700;letter-spacing:.2px;cursor:pointer;transition:opacity .15s,transform .1s,box-shadow .15s;box-shadow:0 6px 20px #2563eb61;font-family:inherit}@media(max-width:480px){.pay-btn[_ngcontent-%COMP%]{padding:16px 24px;font-size:16px}}.pay-btn[_ngcontent-%COMP%]:hover{opacity:.92;box-shadow:0 8px 28px #2563eb73}.pay-btn[_ngcontent-%COMP%]:active{transform:scale(.98);opacity:.88}.pay-btn__icon[_ngcontent-%COMP%]{display:flex;align-items:center}.secure-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#94a3b8;font-weight:500}.secure-badge[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{flex-shrink:0}"]})};Pl(Js,Fg).catch(e=>console.error(e));
diff --git a/dist/qr_vitanova/browser/styles-4STSJS4C.css b/dist/qr_vitanova/browser/styles-4STSJS4C.css
new file mode 100644
index 0000000..37fe311
--- /dev/null
+++ b/dist/qr_vitanova/browser/styles-4STSJS4C.css
@@ -0,0 +1 @@
+*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#1e40af}
diff --git a/dist/qr_vitanova/prerendered-routes.json b/dist/qr_vitanova/prerendered-routes.json
new file mode 100644
index 0000000..3226541
--- /dev/null
+++ b/dist/qr_vitanova/prerendered-routes.json
@@ -0,0 +1,3 @@
+{
+ "routes": {}
+}
\ No newline at end of file