diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 0000000..e69de29
diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt
new file mode 100644
index 0000000..677d8c3
--- /dev/null
+++ b/3rdpartylicenses.txt
@@ -0,0 +1,278 @@
+@angular/common
+MIT
+
+@angular/core
+MIT
+
+@angular/platform-browser
+MIT
+
+@angular/router
+MIT
+
+crypto-js
+MIT
+# License
+
+[The MIT License (MIT)](http://opensource.org/licenses/MIT)
+
+Copyright (c) 2009-2013 Jeff Mott
+Copyright (c) 2013-2016 Evan Vosberg
+
+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.
+
+
+ngx-clipboard
+MIT
+
+ngx-window-token
+MIT
+
+open-iconic
+MIT License
+
+rxjs
+Apache-2.0
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
+zone.js
+MIT
+The MIT License
+
+Copyright (c) 2010-2023 Google LLC. https://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..de9d5f3
--- /dev/null
+++ b/404.html
@@ -0,0 +1,18 @@
+
+
+
+
+ SpotifyBrowser
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CNAME b/CNAME
new file mode 100644
index 0000000..382dc1e
--- /dev/null
+++ b/CNAME
@@ -0,0 +1 @@
+browsify.aallard.net
\ No newline at end of file
diff --git a/assets/logo.svg b/assets/logo.svg
new file mode 100644
index 0000000..2568ef3
--- /dev/null
+++ b/assets/logo.svg
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..0de64d8
Binary files /dev/null and b/favicon.ico differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..de9d5f3
--- /dev/null
+++ b/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+ SpotifyBrowser
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/main.83b81ceab7275eb5.js b/main.83b81ceab7275eb5.js
new file mode 100644
index 0000000..c75eea9
--- /dev/null
+++ b/main.83b81ceab7275eb5.js
@@ -0,0 +1 @@
+(self.webpackChunkbrowsify=self.webpackChunkbrowsify||[]).push([[590],{80:(re,oe,N)=>{"use strict";function T(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(u){return void n(u)}a.done?t(c):Promise.resolve(c).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){T(i,r,o,s,a,"next",c)}function a(c){T(i,r,o,s,a,"throw",c)}s(void 0)})}}let F=null,A=1;const L=Symbol("SIGNAL");function h(e){const t=F;return F=e,t}function E(e){if((!Z(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==A)){if(!e.producerMustRecompute(e)&&!S(e))return e.dirty=!1,void(e.lastCleanEpoch=A);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=A}}function S(e){ee(e);for(let t=0;t0}function ee(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ae=null;function Re(e){return"function"==typeof e}function Nr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const sr=Nr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Or(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class yt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Re(r))try{r()}catch(i){t=i instanceof sr?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Xt(i)}catch(s){t=t??[],s instanceof sr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new sr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xt(t);else{if(t instanceof yt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Or(n,t)}remove(t){const{_finalizers:n}=this;n&&Or(n,t),t instanceof yt&&t._removeParent(this)}}yt.EMPTY=(()=>{const e=new yt;return e.closed=!0,e})();const Vo=yt.EMPTY;function Pr(e){return e instanceof yt||e&&"closed"in e&&Re(e.remove)&&Re(e.add)&&Re(e.unsubscribe)}function Xt(e){Re(e)?e():e.unsubscribe()}const xt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},an={setTimeout(e,t,...n){const{delegate:r}=an;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=an;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function uo(e){an.setTimeout(()=>{const{onUnhandledError:t}=xt;if(!t)throw e;t(e)})}function Uo(){}const kr=$o("C",void 0,void 0);function $o(e,t,n){return{kind:e,value:t,error:n}}let Un=null;function An(e){if(xt.useDeprecatedSynchronousErrorHandling){const t=!Un;if(t&&(Un={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Un;if(Un=null,n)throw r}}else e()}class ds extends yt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Pr(t)&&t.add(this)):this.destination=Ml}static create(t,n,r){return new zo(t,n,r)}next(t){this.isStopped?Go(function _l(e){return $o("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Go(function lo(e){return $o("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Go(kr,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ga=Function.prototype.bind;function Ho(e,t){return Ga.call(e,t)}class Al{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ho(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ho(r)}else ho(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ho(n)}}}class zo extends ds{constructor(t,n,r){let o;if(super(),Re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&xt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ho(t.next,i),error:t.error&&Ho(t.error,i),complete:t.complete&&Ho(t.complete,i)}):o=t}this.destination=new Al(o)}}function ho(e){xt.useDeprecatedSynchronousErrorHandling?function fo(e){xt.useDeprecatedSynchronousErrorHandling&&Un&&(Un.errorThrown=!0,Un.error=e)}(e):uo(e)}function Go(e,t){const{onStoppedNotification:n}=xt;n&&an.setTimeout(()=>n(e,t))}const Ml={closed:!0,next:Uo,error:function Sl(e){throw e},complete:Uo},Wo="function"==typeof Symbol&&Symbol.observable||"@@observable";function ar(e){return e}function Wa(e){return 0===e.length?ar:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let lt=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Za(e){return e&&e instanceof ds||function Rl(e){return e&&Re(e.next)&&Re(e.error)&&Re(e.complete)}(e)&&Pr(e)}(n)?n:new zo(n,r,o);return An(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=qa(r))((o,i)=>{const s=new zo({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Wo](){return this}pipe(...n){return Wa(n)(this)}toPromise(n){return new(n=qa(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function qa(e){var t;return null!==(t=e??xt.Promise)&&void 0!==t?t:Promise}const Fl=Nr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Kt=(()=>{class e extends lt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ot(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Fl}next(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Vo:(this.currentObservers=null,i.push(n),new yt(()=>{this.currentObservers=null,Or(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new lt;return n.source=this,n}}return e.create=(t,n)=>new Ot(t,n),e})();class Ot extends Kt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Vo}}class dt extends Kt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function fs(e){return Re(e?.lift)}function Et(e){return t=>{if(fs(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 Mt(e,t,n,r,o){return new Nw(e,t,n,r,o)}class Nw extends ds{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()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ve(e,t){return Et((n,r)=>{let o=0;n.subscribe(Mt(r,i=>{r.next(e.call(t,i,o++))}))})}const sp="https://g.co/ng/security#xss";class X extends Error{constructor(t,n){super(function qo(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Nl(e){return t=>{setTimeout(e,void 0,t)}}const Tt=class Ow extends Kt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Nl(i),o&&(o=Nl(o)),s&&(s=Nl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof yt&&t.add(a),a}};var Oe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Oe||{});function wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(wt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ol(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Ya=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ya||{}),Sn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Sn||{});function cr(e){return{toString:e}.toString()}const ze=globalThis,$n={},Le=[];function Ge(e){for(let t in e)if(e[t]===Ge)return t;throw Error("Could not find renamed property on target object.")}const hs=Ge({\u0275cmp:Ge}),Pl=Ge({\u0275dir:Ge}),kl=Ge({\u0275pipe:Ge}),up=Ge({\u0275mod:Ge}),ur=Ge({\u0275fac:Ge}),ps=Ge({__NG_ELEMENT_ID__:Ge}),lp=Ge({__NG_ENV_ID__:Ge});var xn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(xn||{});function dp(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Bl(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==dp(p,u,0)||2&r&&u!==f){if(Mn(r))return!1;s=!0}}}}else{if(!s&&!Mn(r)&&!Mn(c))return!1;if(s&&Mn(c))continue;s=!1,r=c|1&r}}return Mn(r)||s}function Mn(e){return 0==(1&e)}function $w(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Mn(s)&&(t+=yp(i,o),o=""),r=s,i=i||!Mn(r);n++}return""!==o&&(t+=yp(i,o)),t}function ln(e){return cr(()=>{const t=Dp(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ya.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Sn.Emulated,styles:e.styles||Le,_:null,schemas:e.schemas||null,tView:null,id:""};Cp(n);const r=e.dependencies;return n.directiveDefs=Xa(r,!1),n.pipeDefs=Xa(r,!0),n.id=function Jw(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Yw(e){return Fe(e)||bt(e)}function Xw(e){return null!==e}function lr(e){return cr(()=>({type:e.type,bootstrap:e.bootstrap||Le,declarations:e.declarations||Le,imports:e.imports||Le,exports:e.exports||Le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xp(e,t){if(null==e)return $n;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=xn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==xn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Pt(e){return cr(()=>{const t=Dp(e);return Cp(t),t})}function Fe(e){return e[hs]||null}function bt(e){return e[Pl]||null}function Ft(e){return e[kl]||null}function kt(e,t){const n=e[up]||null;if(!n&&!0===t)throw new Error(`Type ${wt(e)} does not have '\u0275mod' property.`);return n}function Dp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||$n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xp(e.inputs,t),outputs:xp(e.outputs),debugInfo:null}}function Cp(e){e.features?.forEach(t=>t(e))}function Xa(e,t){if(!e)return null;const n=t?Ft:Yw;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Xw)}const at=0,J=1,he=2,ft=3,Tn=4,Bt=5,Rn=6,Zo=7,et=8,Lt=9,dr=10,we=11,ms=12,Ep=13,Qo=14,ct=15,vs=16,Yo=17,fr=18,ys=19,wp=20,jr=21,Ka=22,po=23,be=25,Ll=1,Hn=7,Xo=9,ht=10;var jl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jl||{});function jt(e){return Array.isArray(e)&&"object"==typeof e[Ll]}function Vt(e){return Array.isArray(e)&&!0===e[Ll]}function Vl(e){return 0!=(4&e.flags)}function go(e){return e.componentOffset>-1}function ec(e){return 1==(1&e.flags)}function Fn(e){return!!e.template}function Ul(e){return 0!=(512&e[he])}let Mp=!1;function Qe(e){for(;Array.isArray(e);)e=e[at];return e}function Wt(e,t){return Qe(t[e.index])}function Cs(e,t){return e.data[t]}function dn(e,t){const n=t[e];return jt(n)?n:n[at]}function Gl(e){return 128==(128&e[he])}function zn(e,t){return null==t?null:e[t]}function Tp(e){e[Yo]=0}function ab(e){1024&e[he]||(e[he]|=1024,Gl(e)&&Es(e))}function Wl(e){return!!(9216&e[he]||e[po]?.dirty)}function ql(e){Wl(e)?Es(e):64&e[he]&&(function rb(){return Mp}()?(e[he]|=1024,Es(e)):e[dr].changeDetectionScheduler?.notify())}function Es(e){e[dr].changeDetectionScheduler?.notify();let t=mo(e);for(;null!==t&&!(8192&t[he])&&(t[he]|=8192,Gl(t));)t=mo(t)}function tc(e,t){if(256==(256&e[he]))throw new X(911,!1);null===e[jr]&&(e[jr]=[]),e[jr].push(t)}function mo(e){const t=e[ft];return Vt(t)?t[ft]:t}const De={lFrame:Vp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Np(){return De.bindingsEnabled}function U(){return De.lFrame.lView}function Pe(){return De.lFrame.tView}function hr(e){return De.lFrame.contextLView=e,e[et]}function pr(e){return De.lFrame.contextLView=null,e}function We(){let e=Op();for(;null!==e&&64===e.type;)e=e.parent;return e}function Op(){return De.lFrame.currentTNode}function Gn(e,t){const n=De.lFrame;n.currentTNode=e,n.isParent=t}function Ql(){return De.lFrame.isParent}function Yl(){De.lFrame.isParent=!1}function Nn(){return De.lFrame.bindingIndex++}function yb(e,t){const n=De.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xl(t)}function Xl(e){De.lFrame.currentDirectiveIndex=e}function Jl(){return De.lFrame.currentQueryIndex}function nc(e){De.lFrame.currentQueryIndex=e}function Db(e){const t=e[J];return 2===t.type?t.declTNode:1===t.type?e[Bt]:null}function Lp(e,t,n){if(n&Oe.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Oe.Host||(o=Db(i),null===o||(i=i[Qo],10&o.type))););if(null===o)return!1;t=o,e=i}const r=De.lFrame=jp();return r.currentTNode=t,r.lView=e,!0}function ed(e){const t=jp(),n=e[J];De.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jp(){const e=De.lFrame,t=null===e?null:e.child;return null===t?Vp(e):t}function Vp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Up(){const e=De.lFrame;return De.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $p=Up;function td(){const e=Up();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 Ut(){return De.lFrame.selectedIndex}function vo(e){De.lFrame.selectedIndex=e}function tt(){const e=De.lFrame;return Cs(e.tView,e.selectedIndex)}let zp=!0;function rc(){return zp}function Vr(e){zp=e}function _b(){return ei(We(),U())}function ei(e,t){return new vr(Wt(e,t))}let id,vr=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=_b}return e})();function Gp(e){return e instanceof vr?e.nativeElement:e}function ti(e,t){e.forEach(n=>Array.isArray(n)?ti(n,t):t(n))}function Wp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sb(){return this._results[Symbol.iterator]()}class od{static#e=Symbol.iterator;get changes(){return this._changes??=new Tt}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=od.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Sb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function en(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ab(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rOb}),Ob="ng",Jp=new ce(""),$r=new ce("",{providedIn:"platform",factory:()=>"unknown"}),eg=new ce("",{providedIn:"root",factory:()=>function Ur(){if(void 0!==id)return id;if(typeof document<"u")return document;throw new X(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bb=Ge({__forward_ref__:Ge});function ad(e){return e.__forward_ref__=ad,e.toString=function(){return wt(this())},e}function xe(e){return fc(e)?e():e}function fc(e){return"function"==typeof e&&e.hasOwnProperty(Bb)&&e.__forward_ref__===ad}function fd(e){return e&&!!e.\u0275providers}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function hd(e,t){throw new X(-201,!1)}let pd;function ng(){return pd}function tn(e){const t=pd;return pd=e,t}function rg(e,t,n){const r=cc(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Oe.Optional?null:void 0!==t?t:void hd()}const Is={},gd="__NG_DI_FLAG__",hc="ngTempTokenPath",Hb=/\n/gm,og="__source";let ri;function Hr(e){const t=ri;return ri=e,t}function Wb(e,t=Oe.Default){if(void 0===ri)throw new X(-203,!1);return null===ri?rg(e,void 0,t):ri.get(e,t&Oe.Optional?null:void 0,t)}function de(e,t=Oe.Default){return(ng()||Wb)(xe(e),t)}function K(e,t=Oe.Default){return de(e,pc(t))}function pc(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function md(e){const t=[];for(let n=0;nnull;function bd(e,t,n=!1){return sg(e,t,n)}const ci="__parameters__";function li(e,t,n){return cr(()=>{const r=function Sd(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,u,l){const d=c.hasOwnProperty(ci)?c[ci]:Object.defineProperty(c,ci,{value:[]})[ci];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Dc=_s(li("Optional"),8),Cc=_s(li("SkipSelf"),4);function yo(e,t){return e.hasOwnProperty(ur)?e[ur]:null}const xo=new ce(""),fg=new ce("",-1),Md=new ce("");class Ec{get(t,n=Is){if(n===Is){const r=new Error(`NullInjectorError: No provider for ${wt(t)}!`);throw r.name="NullInjectorError",r}return n}}function aI(...e){return{\u0275providers:hg(0,e),\u0275fromNgModule:!0}}function hg(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return ti(t,s=>{const a=s;bc(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&pg(o,i),n}function pg(e,t){for(let n=0;n{t(i,r)})}}function bc(e,t,n,r){if(!(e=xe(e)))return!1;let o=null,i=uc(e);const s=!i&&Fe(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=uc(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of c)bc(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{ti(i.imports,l=>{bc(l,t,n,r)&&(u||=[],u.push(l))})}finally{}void 0!==u&&pg(u,t)}if(!a){const u=yo(o)||(()=>new o);t({provide:o,useFactory:u,deps:Le},o),t({provide:Md,useValue:o,multi:!0},o),t({provide:xo,useValue:()=>de(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const u=e;Td(c,l=>{t(l,u)})}}}return o!==e&&void 0!==e.providers}function Td(e,t){for(let n of e)fd(n)&&(n=n.\u0275providers),Array.isArray(n)?Td(n,t):t(n)}const cI=Ge({provide:String,useValue:Ge});function Rd(e){return null!==e&&"object"==typeof e&&cI in e}function Do(e){return"function"==typeof e}const Fd=new ce(""),Ic={},lI={};let Nd;function _c(){return void 0===Nd&&(Nd=new Ec),Nd}class hn{}class di extends hn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pd(t,s=>this.processProvider(s)),this.records.set(fg,fi(void 0,this)),o.has("environment")&&this.records.set(hn,fi(void 0,this));const i=this.records.get(Fd);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Md,Le,Oe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Hr(this),r=tn(void 0);try{return t()}finally{Hr(n),tn(r)}}get(t,n=Is,r=Oe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(lp))return t[lp](this);r=pc(r);const i=Hr(this),s=tn(void 0);try{if(!(r&Oe.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function gI(e){return"function"==typeof e||"object"==typeof e&&e instanceof ce}(t)&&cc(t);c=u&&this.injectableDefInScope(u)?fi(Od(t),Ic):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&Oe.Self?_c():this.parent).get(t,n=r&Oe.Optional&&n===Is?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[hc]=a[hc]||[]).unshift(wt(t)),i)throw a;return function Zb(e,t,n,r){const o=e[hc];throw t[og]&&o.unshift(t[og]),e.message=function Qb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=wt(t);if(Array.isArray(t))o=t.map(wt).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):wt(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Hb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hc]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tn(s),Hr(i)}}resolveInjectorInitializers(){const t=Hr(this),n=tn(void 0);try{const o=this.get(xo,Le,Oe.Self);for(const i of o)i()}finally{Hr(t),tn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(wt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processProvider(t){let n=Do(t=xe(t))?t:xe(t&&t.provide);const r=function fI(e){return Rd(e)?fi(void 0,e.useValue):fi(function vg(e,t,n){let r;if(Do(e)){const o=xe(e);return yo(o)||Od(o)}if(Rd(e))r=()=>xe(e.useValue);else if(function mg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...md(e.deps||[]));else if(function gg(e){return!(!e||!e.useExisting)}(e))r=()=>de(xe(e.useExisting));else{const o=xe(e&&(e.useClass||e.provide));if(!function hI(e){return!!e.deps}(e))return yo(o)||Od(o);r=()=>new o(...md(e.deps))}return r}(e),Ic)}(t);if(!Do(t)&&!0===t.multi){let o=this.records.get(n);o||(o=fi(void 0,Ic,!0),o.factory=()=>md(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ic&&(n.value=lI,n.value=n.factory()),"object"==typeof n.value&&n.value&&function pI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=xe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Od(e){const t=cc(e),n=null!==t?t.factory:yo(e);if(null!==n)return n;if(e instanceof ce)throw new X(204,!1);if(e instanceof Function)return function dI(e){if(e.length>0)throw new X(204,!1);const n=function Fb(e){return e&&(e[lc]||e[Kp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new X(204,!1)}function fi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Pd(e,t){for(const n of e)Array.isArray(n)?Pd(n,t):n&&fd(n)?Pd(n.\u0275providers,t):t(n)}function zr(e,t){e instanceof di&&e.assertNotDestroyed();const r=Hr(e),o=tn(void 0);try{return t()}finally{Hr(r),tn(o)}}class II{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function xg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Co(){return Dg}function Dg(e){return e.type.prototype.ngOnChanges&&(e.setInput=AI),_I}function _I(){const e=Eg(this),t=e?.current;if(t){const n=e.previous;if(n===$n)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AI(e,t,n,r,o){const i=this.declaredInputs[r],s=Eg(e)||function SI(e,t){return e[Cg]=t}(e,{previous:$n,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new II(u&&u.currentValue,n,c===$n),xg(e,t,o,n)}Co.ngInherit=!0;const Cg="__ngSimpleChanges__";function Eg(e){return e[Cg]||null}const qn=function(e,t,n){};function Sc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Yo]+=65536),(a>14>16&&(3&e[he])===t&&(e[he]+=16384,bg(a,i)):bg(a,i)}const pi=-1;class Rs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ud(e){return e!==pi}function Fs(e){return 32767&e}function Ns(e,t){let n=function kI(e){return e>>16}(e),r=t;for(;n>0;)r=r[Qo],n--;return r}let $d=!0;function Rc(e){const t=$d;return $d=e,t}const Ig=255,_g=5;let BI=0;const Zn={};function Fc(e,t){const n=Ag(e,t);if(-1!==n)return n;const r=t[J];r.firstCreatePass&&(e.injectorIndex=t.length,Hd(r.data,e),Hd(t,null),Hd(r.blueprint,null));const o=Nc(e,t),i=e.injectorIndex;if(Ud(o)){const s=Fs(o),a=Ns(o,t),c=a[J].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Hd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ag(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Nc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Og(o),null===r)return pi;if(n++,o=o[Qo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return pi}function zd(e,t,n){!function LI(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ps)&&(r=n[ps]),null==r&&(r=n[ps]=BI++);const o=r&Ig;t.data[e+(o>>_g)]|=1<=0?t&Ig:$I:t}(n);if("function"==typeof i){if(!Lp(t,e,r))return r&Oe.Host?Sg(o,0,r):Mg(t,n,r,o);try{let s;if(s=i(r),null!=s||r&Oe.Optional)return s;hd()}finally{$p()}}else if("number"==typeof i){let s=null,a=Ag(e,t),c=pi,u=r&Oe.Host?t[ct][Bt]:null;for((-1===a||r&Oe.SkipSelf)&&(c=-1===a?Nc(e,t):t[a+8],c!==pi&&Ng(r,!1)?(s=t[J],a=Fs(c),t=Ns(c,t)):a=-1);-1!==a;){const l=t[J];if(Fg(i,a,l.data)){const d=VI(a,t,n,s,r,u);if(d!==Zn)return d}c=t[a+8],c!==pi&&Ng(r,t[J].data[a+8]===u)&&Fg(i,a,t)?(s=l,a=Fs(c),t=Ns(c,t)):a=-1}}return o}function VI(e,t,n,r,o,i){const s=t[J],a=s.data[e+8],l=Oc(a,s,n,null==r?go(a)&&$d:r!=s&&0!=(3&a.type),o&Oe.Host&&i===a);return null!==l?Eo(t,s,l,a):Zn}function Oc(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let p=r?a:a+l;p=c&&C.type===n)return p}if(o){const p=s[c];if(p&&Fn(p)&&p.type===n)return c}return null}function Eo(e,t,n,r){let o=e[n];const i=t.data;if(function FI(e){return e instanceof Rs}(o)){const s=o;s.resolving&&function Vb(e,t){throw t&&t.join(" > "),new X(-200,e)}(function Ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}(i[n]));const a=Rc(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?tn(s.injectImpl):null;Lp(e,r,Oe.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function TI(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Dg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==u&&tn(u),Rc(a),s.resolving=!1,$p()}}return o}function Fg(e,t,n){return!!(n[t+(e>>_g)]&1<{const t=e.prototype.constructor,n=t[ur]||Wd(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[ur]||Wd(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wd(e){return fc(e)?()=>{const t=Wd(xe(e));return t&&t()}:yo(e)}function Og(e){const t=e[J],n=t.type;return 2===n?t.declTNode:1===n?e[Bt]:null}function jg(e,t=null,n=null,r){const o=Vg(e,t,n,r);return o.resolveInjectorInitializers(),o}function Vg(e,t=null,n=null,r,o=new Set){const i=[n||Le,aI(e)];return r=r||("object"==typeof e?void 0:wt(e)),new di(i,t||_c(),r||null,o)}let pn=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Is;static#t=this.NULL=new Ec;static create(n,r){if(Array.isArray(n))return jg({name:""},r,n,"");{const o=n.name??"";return jg({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=le({token:e,providedIn:"any",factory:()=>de(fg)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Zd(e){return e.ngOriginalError}class yr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Zd(t);for(;n&&Zd(n);)n=Zd(n);return n||null}}const $g=new ce("",{providedIn:"root",factory:()=>K(yr).handleError.bind(void 0)}),zg=new ce("",{providedIn:"root",factory:()=>!1});let jc;function qg(e){return function Yd(){if(void 0===jc&&(jc=null,ze.trustedTypes))try{jc=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jc}()?.createScriptURL(e)||e}class Zg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sp})`}}function Gr(e){return e instanceof Zg?e.changingThisBreaksApplicationSecurity:e}function Os(e,t){const n=function o_(e){return e instanceof Zg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${sp})`)}return n===t}const c_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var yi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(yi||{});function ks(e){const t=Bs();return t?t.sanitize(yi.URL,e)||"":Os(e,"URL")?Gr(e):function Xd(e){return(e=String(e)).match(c_)?e:"unsafe:"+e}(Ie(e))}function tm(e){const t=Bs();if(t)return qg(t.sanitize(yi.RESOURCE_URL,e)||"");if(Os(e,"ResourceURL"))return qg(Gr(e));throw new X(904,!1)}function Bs(){const e=U();return e&&e[dr].sanitizer}const C_=/^>|^->||--!>|)/g,w_="\u200b$1\u200b";const tf=new Map;let S_=0;const rf="__ngContext__";function $t(e,t){jt(t)?(e[rf]=t[ys],function T_(e){tf.set(e[ys],e)}(t)):e[rf]=t}function gn(e){return e instanceof Function?e():e}var qr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(qr||{});let uf;function lf(e,t){return uf(e,t)}function Di(e,t,n,r,o){if(null!=r){let i,s=!1;Vt(r)?i=r:jt(r)&&(s=!0,r=r[at]);const a=Qe(r);0===e&&null!==n?null==o?Cm(t,n,a):wo(t,n,a,o||null,!0):1===e&&null!==n?wo(t,n,a,o||null,!0):2===e?function Zc(e,t,n){const r=Wc(e,t);r&&function K_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function tA(e,t,n,r,o){const i=n[Hn];i!==Qe(n)&&Di(t,e,r,i,o);for(let a=ht;at.replace(E_,w_))}(t))}function zc(e,t,n){return e.createElement(t,n)}function ym(e,t){Qc(e,t,t[we],2,null,null)}function xm(e,t){const n=e[Xo],r=n.indexOf(t);n.splice(r,1)}function js(e,t){if(e.length<=ht)return;const n=ht+t,r=e[n];if(r){const o=r[vs];null!==o&&o!==e&&xm(o,r),t>0&&(e[n-1][Tn]=r[Tn]);const i=oc(e,ht+t);!function G_(e,t){ym(e,t),t[at]=null,t[Bt]=null}(r[J],r);const s=i[fr];null!==s&&s.detachView(i[J]),r[ft]=null,r[Tn]=null,r[he]&=-129}return r}function Gc(e,t){if(!(256&t[he])){const n=t[we];n.destroyNode&&Qc(e,t,n,3,null,null),function q_(e){let t=e[ms];if(!t)return ff(e[J],e);for(;t;){let n=null;if(jt(t))n=t[ms];else{const r=t[ht];r&&(n=r)}if(!n){for(;t&&!t[Tn]&&t!==e;)jt(t)&&ff(t[J],t),t=t[ft];null===t&&(t=e),jt(t)&&ff(t[J],t),n=t&&t[Tn]}t=n}}(t)}}function ff(e,t){if(!(256&t[he])){t[he]&=-129,t[he]|=256,t[po]&&function k(e){if(ee(e),Z(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Zo]=null);const o=t[jr];if(null!==o){t[jr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Sn.None||i===Sn.Emulated)return null}return Wt(r,n)}}(e,t.parent,n)}function wo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Cm(e,t,n){e.appendChild(t,n)}function Em(e,t,n,r,o){null!==r?wo(e,t,n,r,o):Cm(e,t,n)}function Wc(e,t){return e.parentNode(t)}let pf,Im=function bm(e,t,n){return 40&e.type?Wt(e,n):null};function qc(e,t,n,r){const o=hf(e,r,t),i=t[we],a=function wm(e,t,n){return Im(e,t,n)}(r.parent||t[Bt],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cbe&&Fm(e,t,be,!1),qn(s?2:0,o),n(r,o)}finally{vo(i),qn(s?3:1,o)}}function yf(e,t,n){if(Vl(t)){const r=h(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Lm(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,c=xn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(null!==o){if(!o.hasOwnProperty(i))continue;u=o[i]}0===e?jm(r,n,u,a,c):jm(r,n,u,a)}return r}function jm(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Ef(e,t,n,r){if(Np()){const o=null===r?null:{"":-1},i=function DA(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Us(e,n,o.hostVars,_e),o)}function Qn(e,t,n,r,o,i){const s=Wt(e,t);!function bf(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?Ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[we],s,i,e.value,n,r,o)}function _A(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][Tn]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Es(e.lView)},consumerOnSignalRead(){this.lView[po]=this}};function Ym(e){return Km(e[ms])}function Xm(e){return Km(e[Tn])}function Km(e){for(;null!==e&&!Vt(e);)e=e[Tn];return e}function Jc(e,t=!0,n=0){const r=e[dr],o=r.rendererFactory;o.begin?.();try{!function BA(e,t){Mf(e,t);let n=0;for(;Wl(e);){if(100===n)throw new X(103,!1);n++,Mf(e,1)}}(e,n)}catch(s){throw t&&Kc(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function LA(e,t,n,r){const o=t[he];if(256==(256&o))return;t[dr].inlineEffectRunner?.flush(),ed(t);let s=null,a=null;(function jA(e){return 2!==e.type})(e)&&(a=function RA(e){return e[po]??function FA(e){const t=Qm.pop()??Object.create(OA);return t.lView=e,t}(e)}(t),s=function x(e){return e&&(e.nextProducerIndex=0),h(e)}(a));try{Tp(t),function kp(e){return De.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Pm(e,t,n,2,r);const c=3==(3&o);if(c){const d=e.preOrderCheckHooks;null!==d&&Mc(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Tc(t,d,0,null),jd(t,0)}if(function VA(e){for(let t=Ym(e);null!==t;t=Xm(t)){if(!(t[he]&jl.HasTransplantedViews))continue;const n=t[Xo];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function NA(e){e.lView[po]!==e&&(e.lView=null,Qm.push(e))}(a)),td()}}function ev(e,t){for(let n=Ym(e);null!==n;n=Xm(n))for(let r=ht;r-1&&(js(t,r),oc(n,r))}this._attachedToViewContainer=!1}Gc(this._lView[J],this._lView)}onDestroy(t){tc(this._lView,t)}markForCheck(){Gs(this._cdRefInjectingView||this._lView)}detach(){this._lView[he]&=-129}reattach(){ql(this._lView),this._lView[he]|=128}detectChanges(){this._lView[he]|=1024,Jc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ym(this._lView[J],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=t,ql(this._lView)}}let Cr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=zA}return e})();const $A=Cr,HA=class extends $A{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function $s(e,t,n,r){const o=t.tView,a=Yc(e,o,n,4096&e[he]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[vs]=e[t.index];const u=e[fr];return null!==u&&(a[fr]=u.createEmbeddedView(o)),Af(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Ws(o)}};function zA(){return eu(We(),U())}function eu(e,t){return 4&e.type?new HA(t,e,ei(e,t)):null}class uv{}class fS{}class lv{}class pS{resolveComponentFactory(t){throw function hS(e){const t=Error(`No component factory found for ${wt(e)}.`);return t.ngComponent=e,t}(t)}}let iu=(()=>{class e{static#e=this.NULL=new pS}return e})();class fv{}let Xs=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function gS(){const e=U(),n=dn(We().index,e);return(jt(n)?n:e)[we]}()}return e})(),mS=(()=>{class e{static#e=this.\u0275prov=le({token:e,providedIn:"root",factory:()=>null})}return e})();const Pf={};function su(e){return!!function kf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class mv{constructor(){}supports(t){return su(t)}create(t){return new ES(t)}}const CS=(e,t)=>t;class ES{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||CS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new wS(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new vv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class wS{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class bS{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class vv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new bS,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function yv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{static#e=this.\u0275prov=le({token:e,providedIn:"root",factory:Dv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dv()),deps:[[e,new Cc,new Dc]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new X(901,!1)}}return e})(),cu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=SS}return e})();function SS(e){return function MS(e,t,n){if(go(e)&&!n){const r=dn(e.index,t);return new Ws(r,r)}return 47&e.type?new Ws(t[ct],t):null}(We(),U(),16==(16&e))}let uu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=NS;static#t=this.__NG_ENV_ID__=n=>n}return e})();class FS extends uu{constructor(t){super(),this._lView=t}onDestroy(t){return tc(this._lView,t),()=>function Zl(e,t){if(null===e[jr])return;const n=e[jr].indexOf(t);-1!==n&&e[jr].splice(n,1)}(this._lView,t)}}function NS(){return new FS(U())}const Ev=new Set;function bo(e){Ev.has(e)||(Ev.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function wv(...e){}class je{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tt(!1),this.onMicrotaskEmpty=new Tt(!1),this.onStable=new Tt(!1),this.onError=new Tt(!1),typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function jS(){const e="function"==typeof ze.requestAnimationFrame;let t=ze[e?"requestAnimationFrame":"setTimeout"],n=ze[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function $S(e){const t=()=>{!function US(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jf(e),e.isCheckStableRunning=!0,Lf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function HS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return bv(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Iv(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return bv(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Iv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,jf(e),Lf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!je.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(je.isInAngularZone())throw new X(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,VS,wv,wv);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const VS={};function Lf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Iv(e){e._nesting--,Lf(e)}class _v{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tt,this.onMicrotaskEmpty=new Tt,this.onStable=new Tt,this.onError=new Tt}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)}}var Io=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Io||{});const Av={destroy(){}};function Mv(e,t){!t&&function kd(e){if(!ng()&&!function Gb(){return ri}())throw new X(-203,!1)}();const n=t?.injector??K(pn);if(!function Wr(e){return"browser"===(e??K(pn)).get($r)}(n))return Av;bo("NgAfterNextRender");const r=n.get(Ks),o=r.handler??=new Rv,i=t?.phase??Io.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(uu).onDestroy(s),c=new Tv(n,i,()=>{s(),e()});return o.register(c),{destroy:s}}class Tv{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(je),this.errorHandler=t.get(yr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Rv{constructor(){this.executingCallbacks=!1,this.buckets={[Io.EarlyRead]:new Set,[Io.Write]:new Set,[Io.MixedReadWrite]:new Set,[Io.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ks=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=le({token:e,providedIn:"root",factory:()=>new e})}return e})();function du(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Tm(e,n,i.join(" "))}}(f,Ee,C,r),void 0!==n&&function nM(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=oM}return e})();function oM(){return Lv(We(),U())}const iM=On,kv=class extends iM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ei(this._hostTNode,this._hostLView)}get injector(){return new _t(this._hostTNode,this._hostLView)}get parentInjector(){const t=Nc(this._hostTNode,this._hostLView);if(Ud(t)){const n=Ns(t,this._hostLView),r=Fs(t);return new _t(n[J].data[r+8],n)}return new _t(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Bv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ht}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Ei(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Ts(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const C=n||{};a=C.index,r=C.injector,o=C.projectableNodes,i=C.environmentInjector||C.ngModuleRef}const c=s?t:new ta(Fe(t)),u=r||this.parentInjector;if(!i&&null==c.ngModule){const I=(s?u:this.parentInjector).get(hn,null);I&&(i=I)}Fe(c.componentType??{});const p=c.create(u,o,null,i);return this.insertImpl(p.hostView,a,Ei(this._hostTNode,null)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function sb(e){return Vt(e[ft])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[ft],u=new kv(c,c[Bt],c[ft]);u.detach(u.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Hs(s,o,i,r),t.attachToViewContainerRef(),Wp($f(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Bv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=js(this._lContainer,n);r&&(oc($f(this._lContainer),n),Gc(r[J],r))}detach(t){const n=this._adjustIndex(t,-1),r=js(this._lContainer,n);return r&&null!=oc($f(this._lContainer),n)?new Ws(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Bv(e){return e[8]}function $f(e){return e[8]||(e[8]=[])}function Lv(e,t){let n;const r=t[e.index];return Vt(r)?n=r:(n=$m(r,t,null,e),t[e.index]=n,Xc(t,n)),jv(n,t,e,r),new kv(n,e,t)}let jv=function Uv(e,t,n,r){if(e[Hn])return;let o;o=8&n.type?Qe(r):function sM(e,t){const n=e[we],r=n.createComment(""),o=Wt(t,e);return wo(n,Wc(n,o),r,function J_(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Hn]=o},Hf=()=>!1;class zf{constructor(t){this.queryList=t,this.matches=null}clone(){return new zf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class Wf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const u=i[a+1],l=t[-c];for(let d=ht;dn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Jf extends dy{constructor(t){super(),this.moduleType=t}create(t){return new Kf(this.moduleType,t,[])}}class fy extends _o{constructor(t){super(),this.componentFactoryResolver=new Ov(this),this.instance=null;const n=new di([...t.providers,{provide:_o,useValue:this},{provide:iu,useValue:this.componentFactoryResolver}],t.parent||_c(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function eh(e,t,n=null){return new fy({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ao=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new dt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ke(e,t,n,r,o,i,s,a){const c=U(),u=Pe(),l=e+be,d=u.firstCreatePass?function LM(e,t,n,r,o,i,s,a,c){const u=t.consts,l=Ci(t,e,4,s||null,zn(u,a));Ef(t,n,l,zn(u,c)),Sc(t,l);const d=l.tView=Cf(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,u,c,t,n,r,o,i,s):u.data[l];Gn(d,!1);const f=hy(u,c,d,e);rc()&&qc(u,c,f,d),$t(f,c);const p=$m(f,c,f,d);return c[l]=p,Xc(c,p),function Vv(e,t,n){return Hf(e,t,n)}(p,d,c),ec(d)&&xf(u,c,d),null!=s&&Df(c,d,a),Ke}let hy=function py(e,t,n,r){return Vr(!0),t[we].createComment("")};function lh(e,t,n,r){const o=U();return pt(o,Nn(),t)&&(Pe(),Qn(tt(),o,e,t,n,r)),lh}function ke(e,t,n){const r=U();return pt(r,Nn(),t)&&function rn(e,t,n,r,o,i,s,a){const c=Wt(t,n);let l,u=t.inputs;!a&&null!=u&&(l=u[r])?(_f(e,n,l,r,o),go(t)&&function pA(e,t){const n=dn(t,e);16&n[he]||(n[he]|=64)}(n,t.index)):3&t.type&&(r=function hA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(c,r,o))}(Pe(),tt(),r,e,t,r[we],n,!1),ke}function ph(e,t,n,r,o){const s=o?"class":"style";_f(e,n,t.inputs[s],s,r)}function me(e,t,n,r){const o=U(),i=Pe(),s=be+e,a=o[we],c=i.firstCreatePass?function a2(e,t,n,r,o,i){const s=t.consts,c=Ci(t,e,2,r,zn(s,o));return Ef(t,n,c,zn(s,i)),null!==c.attrs&&du(c,c.attrs,!1),null!==c.mergedAttrs&&du(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,o,t,n,r):i.data[s],u=ux(i,o,c,a,t,e);o[s]=u;const l=ec(c);return Gn(c,!0),Rm(a,u,c),32!=(32&c.flags)&&rc()&&qc(i,o,u,c),0===function cb(){return De.lFrame.elementDepthCount}()&&$t(u,o),function ub(){De.lFrame.elementDepthCount++}(),l&&(xf(i,o,c),yf(i,c,o)),null!==r&&Df(o,c),me}function fe(){let e=We();Ql()?Yl():(e=e.parent,Gn(e,!1));const t=e;(function db(e){return De.skipHydrationRootTNode===e})(t)&&function gb(){De.skipHydrationRootTNode=null}(),function lb(){De.lFrame.elementDepthCount--}();const n=Pe();return n.firstCreatePass&&(Sc(n,e),Vl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function OI(e){return 0!=(8&e.flags)}(t)&&ph(n,t,U(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function PI(e){return 0!=(16&e.flags)}(t)&&ph(n,t,U(),t.stylesWithoutHost,!1),fe}function nt(e,t,n,r){return me(e,t,n,r),fe(),nt}let ux=(e,t,n,r,o,i)=>(Vr(!0),zc(r,o,function Hp(){return De.lFrame.currentNamespace}()));function wu(e,t,n){const r=U(),o=Pe(),i=e+be,s=o.firstCreatePass?function l2(e,t,n,r,o){const i=t.consts,s=zn(i,r),a=Ci(t,e,8,"ng-container",s);return null!==s&&du(a,s,!0),Ef(t,n,a,zn(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Gn(s,!0);const a=dx(o,r,s,e);return r[i]=a,rc()&&qc(o,r,a,s),$t(a,r),ec(s)&&(xf(o,r,s),yf(o,s,r)),null!=n&&Df(r,s),wu}function bu(){let e=We();const t=Pe();return Ql()?Yl():(e=e.parent,Gn(e,!1)),t.firstCreatePass&&(Sc(t,e),Vl(e)&&t.queries.elementEnd(e)),bu}let dx=(e,t,n,r)=>(Vr(!0),df(t[we],""));function Er(){return U()}const $i="en-US";let mx=$i;function En(e,t,n,r){const o=U(),i=Pe(),s=We();return function Eh(e,t,n,r,o,i,s){const a=ec(r),u=e.firstCreatePass&&Gm(e),l=t[et],d=zm(t);let f=!0;if(3&r.type||s){const I=Wt(r,t),P=s?s(I):I,H=d.length,V=s?ge=>s(Qe(ge[r.index])):r.index;let ie=null;if(!s&&a&&(ie=function uR(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==ie)(ie.__ngLastListenerFn__||ie).__ngNextListenerFn__=i,ie.__ngLastListenerFn__=i,f=!1;else{i=Hx(r,t,l,i,!1);const ge=n.listen(P,o,i);d.push(i,ge),u&&u.push(o,V,H,H+1)}}else i=Hx(r,t,l,i,!1);const p=r.outputs;let C;if(f&&null!==p&&(C=p[o])){const I=C.length;if(I)for(let P=0;P-1?dn(e.index,t):t);let c=$x(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=$x(t,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function ut(e=1){return function Cb(e){return(De.lFrame.contextLView=function Rp(e,t){for(;e>0;)t=t[Qo],e--;return t}(e,De.lFrame.contextLView))[et]}(e)}function tD(){return function Qf(e,t){return e[fr].queries[t].queryList}(U(),Jl())}function Ye(e,t=""){const n=U(),r=Pe(),o=e+be,i=r.firstCreatePass?Ci(r,o,1,t,null):r.data[o],s=fD(r,n,i,t,e);n[o]=s,rc()&&qc(r,n,s,i),Gn(i,!1)}let fD=(e,t,n,r,o)=>(Vr(!0),function Hc(e,t){return e.createText(t)}(t[we],r));function wr(e){return wn("",e,""),wr}function wn(e,t,n){const r=U(),o=function Fi(e,t,n,r){return pt(e,Nn(),n)?t+Ie(n)+r:_e}(r,e,t,n);return o!==_e&&Dr(r,Ut(),o),wn}let PR=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=hg(0,n.type),o=r.length>0?eh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=le({token:e,providedIn:"environment",factory:()=>new e(de(hn))})}return e})();function bD(e){bo("NgStandalone"),e.getStandaloneInjector=t=>t.get(PR).getOrCreateStandaloneInjector(e)}function ND(e,t,n,r){return function OD(e,t,n,r,o,i){const s=t+n;return pt(e,s,o)?function Yn(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function ha(e,t){const n=e[t];return n===_e?void 0:n}(e,s+1)}(U(),function qt(){const e=De.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function jD(e,t){return eu(e,t)}let tC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const sC=new ce(""),Nu=new ce("");let kh,Oh=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,kh||(function JF(e){kh=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(de(je),de(Ph),de(Nu))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),Ph=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return kh?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ou(e){return!!e&&"function"==typeof e.then}function aC(e){return!!e&&"function"==typeof e.subscribe}const Bh=new ce("");let Lh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=K(Bh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ou(i))n.push(i);else if(aC(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jh=new ce("");function lC(e,t){return Array.isArray(t)?t.reduce(lC,e):{...e,...t}}let Fo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=K($g),this.afterRenderEffectManager=K(Ks),this.componentTypes=[],this.components=[],this.isStable=K(Ao).hasPendingTasks.pipe(Ve(n=>!n)),this._injector=K(hn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof lv;if(!this._injector.get(Lh).done)throw!o&&function Lr(e){const t=Fe(e)||bt(e)||Ft(e);return null!==t&&t.standalone}(n),new X(405,!1);let s;s=o?n:this._injector.get(iu).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function eN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_o),u=s.create(pn.NULL,[],r||s.selector,a),l=u.location.nativeElement,d=u.injector.get(sC,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Pu(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new X(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let n=0;do{if(100===n)throw new X(103,!1);const r=0===n;for(let{_lView:o,notifyErrorHandler:i}of this._views)!r&&!dC(o)||this.detectChangesInView(o,i,r);this.afterRenderEffectManager.execute(),n++}while(this._views.some(({_lView:r})=>dC(r)))}detectChangesInView(n,r,o){let i;o?(i=0,n[he]|=1024):i=64&n[he]?0:1,Jc(n,r,i)}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Pu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(jh,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new X(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dC(e){return Wl(e)}class nN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let fC=(()=>{class e{compileModuleSync(n){return new Jf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=gn(kt(n).declarations).reduce((s,a)=>{const c=Fe(a);return c&&s.push(new ta(c)),s},[]);return new nN(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iN=(()=>{class e{constructor(){this.zone=K(je),this.applicationRef=K(Fo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sN(){const e=K(je),t=K(yr);return n=>e.runOutsideAngular(()=>t.handleError(n))}let cN=(()=>{class e{constructor(){this.subscription=new yt,this.initialized=!1,this.zone=K(je),this.pendingTasks=K(Ao)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const br=new ce("",{providedIn:"root",factory:()=>K(br,Oe.Optional|Oe.SkipSelf)||function uN(){return typeof $localize<"u"&&$localize.locale||$i}()}),Vh=new ce("");let mC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function zS(e="zone.js",t){return"noop"===e?new _v:"zone.js"===e?new je(t):e}(r?.ngZone,function gC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function BM(e,t,n){return new Kf(e,t,n)}(n.moduleType,this.injector,function pC(e){return[{provide:je,useFactory:e},{provide:xo,multi:!0,useFactory:()=>{const t=K(iN,{optional:!0});return()=>t.initialize()}},{provide:xo,multi:!0,useFactory:()=>{const t=K(cN);return()=>{t.initialize()}}},{provide:$g,useFactory:sN}]}(()=>o)),s=i.injector.get(yr,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{Pu(this._modules,i),a.unsubscribe()})}),function uC(e,t,n){try{const r=n();return Ou(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Lh);return a.runInitializers(),a.donePromise.then(()=>(function vx(e){"string"==typeof e&&(mx=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(br,$i)||$i),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=lC({},r);return function oN(e,t,n){const r=new Jf(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Fo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new X(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new X(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Vh,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(de(pn))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Kr=null;const vC=new ce("");function yC(e,t,n=[]){const r=`Platform: ${t}`,o=new ce(r);return(i=[])=>{let s=Uh();if(!s||s.injector.get(vC,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function fN(e){if(Kr&&!Kr.get(vC,!1))throw new X(400,!1);(function cC(){!function z(e){Ae=e}(()=>{throw new X(600,!1)})})(),Kr=e;const t=e.get(mC);(function DC(e){e.get(Jp,null)?.forEach(n=>n())})(e)}(function xC(e=[],t){return pn.create({name:t,providers:[{provide:Fd,useValue:"platform"},{provide:Vh,useValue:new Set([()=>Kr=null])},...e]})}(a,r))}return function hN(e){const t=Uh();if(!t)throw new X(401,!1);return t}()}}function Uh(){return Kr?.get(mC)??null}const yN=yC(null,"core",[]);let xN=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(de(Fo))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Wn({})}return e})();function Zh(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let GC=null;function Wi(){return GC}class QN{}const sn=new ce("");let Qh=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(XN),providedIn:"platform"})}return e})();const YN=new ce("");let XN=(()=>{class e extends Qh{constructor(){super(),this._doc=K(sn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wi().getBaseHref(this._doc)}onPopState(n){const r=Wi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Wi().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#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Yh(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function WC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Ir(e){return e&&"?"!==e[0]?"?"+e:e}let Oo=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(ZC),providedIn:"root"})}return e})();const qC=new ce("");let ZC=(()=>{class e extends Oo{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??K(sn).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 Yh(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Ir(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Ir(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#e=this.\u0275fac=function(r){return new(r||e)(de(Qh),de(qC,8))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),KN=(()=>{class e extends Oo{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){const r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Yh(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ir(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ir(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(de(Qh),de(qC,8))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})(),xa=(()=>{class e{constructor(n){this._subject=new Tt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function t8(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(WC(QC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ir(r))}normalize(n){return e.stripTrailingSlash(function e8(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,QC(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+Ir(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ir(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)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=Ir;static#t=this.joinWithSlash=Yh;static#n=this.stripTrailingSlash=WC;static#r=this.\u0275fac=function(r){return new(r||e)(de(Oo))};static#o=this.\u0275prov=le({token:e,factory:()=>function JN(){return new xa(de(Oo))}(),providedIn:"root"})}return e})();function QC(e){return e.replace(/\/index.html$/,"")}function o1(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class U8{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Jr=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new U8(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),a1(a,o)}});for(let o=0,i=r.length;o{a1(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(ue(On),ue(Cr),ue(Bf))};static#t=this.\u0275dir=Pt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function a1(e,t){e.context.$implicit=t.item}let Jn=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new $8,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){c1("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){c1("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(ue(On),ue(Cr))};static#t=this.\u0275dir=Pt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class $8{constructor(){this.$implicit=null,this.ngIf=null}}function c1(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${wt(t)}'.`)}let d1=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Wn({})}return e})();const f1="browser";function h1(e){return"server"===e}let y4=(()=>{class e{static#e=this.\u0275prov=le({token:e,providedIn:"root",factory:()=>function v4(e){return e===f1}(K($r))?new x4(K(sn),window):new C4})}return e})();class x4{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function D4(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class C4{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class p1{}class Q4 extends QN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class h0 extends Q4{static makeCurrent(){!function ZN(e){GC??=e}(new h0)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Y4(){return wa=wa||document.querySelector("base"),wa?wa.getAttribute("href"):null}();return null==n?null:function X4(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){wa=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return o1(document.cookie,t)}}let wa=null,J4=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const p0=new ce("");let w1=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new X(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(de(p0),de(je))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();class b1{constructor(t){this._doc=t}}const g0="ng-app-id";let I1=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=h1(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${g0}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(g0),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(g0,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(de(sn),de(dc),de(eg,8),de($r))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const m0={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},v0=/%COMP%/g,rO=new ce("",{providedIn:"root",factory:()=>!0});function A1(e,t){return t.map(n=>n.replace(v0,e))}let S1=(()=>{class e{constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=h1(a),this.defaultRenderer=new y0(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Sn.ShadowDom&&(r={...r,encapsulation:Sn.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof T1?o.applyToHost(n):o instanceof x0&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Sn.Emulated:i=new T1(c,u,r,this.appId,l,s,a,d);break;case Sn.ShadowDom:return new aO(c,u,n,r,s,a,this.nonce,d);default:i=new x0(c,u,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(de(w1),de(I1),de(dc),de(rO),de(sn),de($r),de(je),de(eg))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();class y0{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(m0[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(M1(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(M1(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new X(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=m0[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=m0[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&(qr.DashCase|qr.Important)?t.style.setProperty(n,r,o&qr.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&qr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Wi().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function M1(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class aO extends y0{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=A1(o.id,o.styles);for(const l of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class x0 extends y0{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?A1(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class T1 extends x0{constructor(t,n,r,o,i,s,a,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=function oO(e){return"_ngcontent-%COMP%".replace(v0,e)}(u),this.hostAttr=function iO(e){return"_nghost-%COMP%".replace(v0,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let cO=(()=>{class e extends b1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(de(sn))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const R1=["alt","control","meta","shift"],uO={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let dO=(()=>{class e extends b1{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wi().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),R1.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=uO[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),R1.forEach(s=>{s!==o&&(0,lO[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(de(sn))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const gO=yC(yN,"browser",[{provide:$r,useValue:f1},{provide:Jp,useValue:function fO(){h0.makeCurrent()},multi:!0},{provide:sn,useFactory:function pO(){return function Tb(e){id=e}(document),document},deps:[]}]),mO=new ce(""),O1=[{provide:Nu,useClass:class K4{addToWindow(t){ze.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new X(5103,!1);return i},ze.getAllAngularTestabilities=()=>t.getAllTestabilities(),ze.getAllAngularRootElements=()=>t.getAllRootElements(),ze.frameworkStabilizers||(ze.frameworkStabilizers=[]),ze.frameworkStabilizers.push(r=>{const o=ze.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Wi().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:sC,useClass:Oh,deps:[je,Ph,Nu]},{provide:Oh,useClass:Oh,deps:[je,Ph,Nu]}],P1=[{provide:Fd,useValue:"root"},{provide:yr,useFactory:function hO(){return new yr},deps:[]},{provide:p0,useClass:cO,multi:!0,deps:[sn,je,$r]},{provide:p0,useClass:dO,multi:!0,deps:[sn]},S1,I1,w1,{provide:fv,useExisting:S1},{provide:p1,useClass:J4,deps:[]},[]];let vO=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:dc,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(de(mO,12))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Wn({providers:[...P1,...O1],imports:[d1,xN]})}return e})(),yO=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static#e=this.\u0275fac=function(r){return new(r||e)(de(sn))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function D0(e){return e[e.length-1]}function rl(e){return function EO(e){return e&&Re(e.schedule)}(D0(e))?e.pop():void 0}function eo(e){return this instanceof eo?(this.v=e,this):new eo(e)}function $1(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function b0(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const H1=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function z1(e){return Re(e?.then)}function G1(e){return Re(e[Wo])}function W1(e){return Symbol.asyncIterator&&Re(e?.[Symbol.asyncIterator])}function q1(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Z1=function GO(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Q1(e){return Re(e?.[Z1])}function Y1(e){return function U1(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(C,I){i.push([f,p,C,I])>1||a(f,p)})})}function a(f,p){try{!function c(f){f.value instanceof eo?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}(r[f](p))}catch(C){d(i[0][3],C)}}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield eo(n.read());if(o)return yield eo(void 0);yield yield eo(r)}}finally{n.releaseLock()}})}function X1(e){return Re(e?.getReader)}function Sr(e){if(e instanceof lt)return e;if(null!=e){if(G1(e))return function WO(e){return new lt(t=>{const n=e[Wo]();if(Re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(H1(e))return function qO(e){return new lt(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,uo)})}(e);if(W1(e))return K1(e);if(Q1(e))return function QO(e){return new lt(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(X1(e))return function YO(e){return K1(Y1(e))}(e)}throw q1(e)}function K1(e){return new lt(t=>{(function XO(e,t){var n,r,o,i;return function j1(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=$1(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Mr(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function J1(e,t=0){return Et((n,r)=>{n.subscribe(Mt(r,o=>Mr(r,e,()=>r.next(o),t),()=>Mr(r,e,()=>r.complete(),t),o=>Mr(r,e,()=>r.error(o),t)))})}function eE(e,t=0){return Et((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function tE(e,t){if(!e)throw new Error("Iterable cannot be null");return new lt(n=>{Mr(n,t,()=>{const r=e[Symbol.asyncIterator]();Mr(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Rt(e,t){return t?function rP(e,t){if(null!=e){if(G1(e))return function KO(e,t){return Sr(e).pipe(eE(t),J1(t))}(e,t);if(H1(e))return function eP(e,t){return new lt(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(z1(e))return function JO(e,t){return Sr(e).pipe(eE(t),J1(t))}(e,t);if(W1(e))return tE(e,t);if(Q1(e))return function tP(e,t){return new lt(n=>{let r;return Mr(n,t,()=>{r=e[Z1](),Mr(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Re(r?.return)&&r.return()})}(e,t);if(X1(e))return function nP(e,t){return tE(Y1(e),t)}(e,t)}throw q1(e)}(e,t):Sr(e)}function Ce(...e){return Rt(e,rl(e))}function Ht(e,t,n=1/0){return Re(t)?Ht((r,o)=>Ve((i,s)=>t(r,i,o,s))(Sr(e(r,o))),n):("number"==typeof t&&(n=t),Et((r,o)=>function oP(e,t,n,r,o,i,s,a){const c=[];let u=0,l=0,d=!1;const f=()=>{d&&!c.length&&!u&&t.complete()},p=I=>u{i&&t.next(I),u++;let P=!1;Sr(n(I,l++)).subscribe(Mt(t,H=>{o?.(H),i?p(H):t.next(H)},()=>{P=!0},void 0,()=>{if(P)try{for(u--;c.length&&uC(H)):C(H)}f()}catch(H){t.error(H)}}))};return e.subscribe(Mt(t,p,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Zi(e,t){return Re(t)?Ht(e,t,1):Ht(e,1)}function Tr(e,t){return Et((n,r)=>{let o=0;n.subscribe(Mt(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ia(e){return Et((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function jn(e,t){return Et((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Mt(r,c=>{o?.unsubscribe();let u=0;const l=i++;Sr(e(c,l)).subscribe(o=Mt(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class ol{}class il{}class Nt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Nt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Nt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Nt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class iP{encodeKey(t){return nE(t)}encodeValue(t){return nE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const aP=/%(\d[a-f0-9])/gi,cP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nE(e){return encodeURIComponent(e).replace(aP,(t,n)=>cP[n]??t)}function sl(e){return`${e}`}class to{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new iP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function sP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(sl):[sl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new to({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(sl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(sl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class uP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function rE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function oE(e){return typeof Blob<"u"&&e instanceof Blob}function iE(e){return typeof FormData<"u"&&e instanceof FormData}class _a{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function lP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Nt,this.context??=new uP,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new _a(n,r,i,{params:u,headers:c,context:l,reportProgress:a,responseType:o,withCredentials:s})}}var no=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}(no||{});class I0{constructor(t,n=Aa.Ok,r="OK"){this.headers=t.headers||new Nt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class al extends I0{constructor(t={}){super(t),this.type=no.ResponseHeader}clone(t={}){return new al({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Po extends I0{constructor(t={}){super(t),this.type=no.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Po({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Qi extends I0{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var Aa=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Aa||{});function _0(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,transferCache:e.transferCache}}let sE=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof _a)i=n;else{let c,u;c=o.headers instanceof Nt?o.headers:new Nt(o.headers),o.params&&(u=o.params instanceof to?o.params:new to({fromObject:o.params})),i=new _a(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=Ce(i).pipe(Zi(c=>this.handler.handle(c)));if(n instanceof _a||"events"===o.observe)return s;const a=s.pipe(Tr(c=>c instanceof Po));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Ve(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(Ve(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(Ve(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(Ve(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new to).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,_0(o,r))}post(n,r,o={}){return this.request("POST",n,_0(o,r))}put(n,r,o={}){return this.request("PUT",n,_0(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(de(ol))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function cE(e,t){return t(e)}function mP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const yP=new ce(""),Sa=new ce(""),uE=new ce(""),lE=new ce("");function xP(){let e=null;return(t,n)=>{null===e&&(e=(K(yP,{optional:!0})??[]).reduceRight(mP,cE));const r=K(Ao),o=r.add();return e(t,n).pipe(Ia(()=>r.remove(o)))}}let dE=(()=>{class e extends ol{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=K(Ao);const o=K(lE,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Sa),...this.injector.get(uE,[])]));this.chain=o.reduceRight((i,s)=>function vP(e,t,n){return(r,o)=>zr(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),cE)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ia(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(de(il),de(hn))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const bP=/^\)\]\}',?\n/;let hE=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new X(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Rt(r.\u0275loadImpl()):Ce(null)).pipe(jn(()=>new lt(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((I,P)=>s.setRequestHeader(I,P.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const I=n.detectContentTypeHeader();null!==I&&s.setRequestHeader("Content-Type",I)}if(n.responseType){const I=n.responseType.toLowerCase();s.responseType="json"!==I?I:"text"}const a=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const I=s.statusText||"OK",P=new Nt(s.getAllResponseHeaders()),H=function IP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return c=new al({headers:P,status:s.status,statusText:I,url:H}),c},l=()=>{let{headers:I,status:P,statusText:H,url:V}=u(),ie=null;P!==Aa.NoContent&&(ie=typeof s.response>"u"?s.responseText:s.response),0===P&&(P=ie?Aa.Ok:0);let ge=P>=200&&P<300;if("json"===n.responseType&&"string"==typeof ie){const Ee=ie;ie=ie.replace(bP,"");try{ie=""!==ie?JSON.parse(ie):null}catch(qe){ie=Ee,ge&&(ge=!1,ie={error:qe,text:ie})}}ge?(i.next(new Po({body:ie,headers:I,status:P,statusText:H,url:V||void 0})),i.complete()):i.error(new Qi({error:ie,headers:I,status:P,statusText:H,url:V||void 0}))},d=I=>{const{url:P}=u(),H=new Qi({error:I,status:s.status||0,statusText:s.statusText||"Unknown Error",url:P||void 0});i.error(H)};let f=!1;const p=I=>{f||(i.next(u()),f=!0);let P={type:no.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(P.total=I.total),"text"===n.responseType&&s.responseText&&(P.partialText=s.responseText),i.next(P)},C=I=>{let P={type:no.UploadProgress,loaded:I.loaded};I.lengthComputable&&(P.total=I.total),i.next(P)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),i.next({type:no.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",p),null!==a&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(de(p1))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();const M0=new ce(""),pE=new ce("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),gE=new ce("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class mE{}let SP=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=o1(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(de(sn),de($r),de(pE))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function MP(e,t){const n=e.url.toLowerCase();if(!K(M0)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=K(mE).getToken(),o=K(gE);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var ro=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(ro||{});function TP(...e){const t=[sE,hE,dE,{provide:ol,useExisting:dE},{provide:il,useExisting:hE},{provide:Sa,useValue:MP,multi:!0},{provide:M0,useValue:!0},{provide:mE,useClass:SP}];for(const n of e)t.push(...n.\u0275providers);return function wc(e){return{\u0275providers:e}}(t)}const vE=new ce("");function RP(){return function ko(e,t){return{\u0275kind:e,\u0275providers:t}}(ro.LegacyInterceptors,[{provide:vE,useFactory:xP},{provide:Sa,useExisting:vE,multi:!0}])}let FP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Wn({providers:[TP(RP())]})}return e})();const{isArray:jP}=Array,{getPrototypeOf:VP,prototype:UP,keys:$P}=Object;const{isArray:GP}=Array;function T0(...e){const t=rl(e),n=function wO(e){return Re(D0(e))?e.pop():void 0}(e),{args:r,keys:o}=function HP(e){if(1===e.length){const t=e[0];if(jP(t))return{args:t,keys:null};if(function zP(e){return e&&"object"==typeof e&&VP(e)===UP}(t)){const n=$P(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Rt([],t);const i=new lt(function QP(e,t,n=ar){return r=>{bE(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let c=0;c{const u=Rt(e[c],t);let l=!1;u.subscribe(Mt(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function ZP(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):ar));return n?i.pipe(function qP(e){return Ve(t=>function WP(e,t){return GP(t)?e(...t):e(t)}(e,t))}(n)):i}function bE(e,t,n){e?Mr(n,e,t):t()}const Ma=Nr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ta(e=1/0){return Ht(ar,e)}function R0(...e){return function YP(){return Ta(1)}()(Rt(e,rl(e)))}function IE(e){return new lt(t=>{Sr(e()).subscribe(t)})}function ul(e,t){const n=Re(e)?e:()=>e,r=o=>o.error(n());return new lt(t?o=>t.schedule(r,0,o):r)}const Rr=new lt(e=>e.complete());function F0(){return Et((e,t)=>{let n=null;e._refCount++;const r=Mt(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class _E extends lt{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fs(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new yt;const n=this.getSubject();t.add(this.source.subscribe(Mt(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=yt.EMPTY)}return t}refCount(){return F0()(this)}}function Yi(e){return e<=0?()=>Rr:Et((t,n)=>{let r=0;t.subscribe(Mt(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ll(e){return Et((t,n)=>{let r=!1;t.subscribe(Mt(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function AE(e=JP){return Et((t,n)=>{let r=!1;t.subscribe(Mt(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function JP(){return new Ma}function Bo(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Tr((o,i)=>e(o,i,r)):ar,Yi(1),n?ll(t):AE(()=>new Ma))}function zt(e,t,n){const r=Re(e)||t||n?{next:e,error:t,complete:n}:e;return r?Et((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Mt(i,c=>{var u;null===(u=r.next)||void 0===u||u.call(r,c),i.next(c)},()=>{var c;a=!1,null===(c=r.complete)||void 0===c||c.call(r),i.complete()},c=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,c),i.error(c)},()=>{var c,u;a&&(null===(c=r.unsubscribe)||void 0===c||c.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):ar}function Xi(e){return Et((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Mt(n,void 0,void 0,s=>{i=Sr(e(s,Xi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function N0(e){return e<=0?()=>Rr:Et((t,n)=>{let r=[];t.subscribe(Mt(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}const Me="primary",Ra=Symbol("RouteTitle");class ik{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Ki(e){return new ik(e)}function sk(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function ME(e){return e.length>0?e[e.length-1]:null}function oo(e){return function LP(e){return!!e&&(e instanceof lt||Re(e.lift)&&Re(e.subscribe))}(e)?e:Ou(e)?Rt(Promise.resolve(e)):Ce(e)}const ck={exact:function FE(e,t,n){if(!Lo(e.segments,t.segments)||!dl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!FE(e.children[r],t.children[r],n))return!1;return!0},subset:NE},TE={exact:function uk(e,t){return er(e,t)},subset:function lk(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>SE(e[n],t[n]))},ignored:()=>!0};function RE(e,t,n){return ck[n.paths](e.root,t.root,n.matrixParams)&&TE[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function NE(e,t,n){return OE(e,t,t.segments,n)}function OE(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Lo(o,n)||t.hasChildren()||!dl(o,n,r))}if(e.segments.length===n.length){if(!Lo(e.segments,n)||!dl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!NE(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Lo(e.segments,o)&&dl(e.segments,o,r)&&e.children[Me])&&OE(e.children[Me],t,i,r)}}function dl(e,t,n){return t.every((r,o)=>TE[n](e[o].parameters,r.parameters))}class Ji{constructor(t=new Xe([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ki(this.queryParams),this._queryParamMap}toString(){return hk.serialize(this)}}class Xe{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fl(this)}}class Fa{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Ki(this.parameters),this._parameterMap}toString(){return BE(this)}}function Lo(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let es=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>new P0,providedIn:"root"})}return e})();class P0{parse(t){const n=new bk(t);return new Ji(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Na(t.root,!0)}`,r=function mk(e){const t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${hl(n)}=${hl(o)}`).join("&"):`${hl(n)}=${hl(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function pk(e){return encodeURI(e)}(t.fragment)}`:""}`}}const hk=new P0;function fl(e){return e.segments.map(t=>BE(t)).join("/")}function Na(e,t){if(!e.hasChildren())return fl(e);if(t){const n=e.children[Me]?Na(e.children[Me],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==Me&&r.push(`${o}:${Na(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function fk(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===Me&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==Me&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===Me?[Na(e.children[Me],!1)]:[`${o}:${Na(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Me]?`${fl(e)}/${n[0]}`:`${fl(e)}/(${n.join("//")})`}}function PE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hl(e){return PE(e).replace(/%3B/gi,";")}function k0(e){return PE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pl(e){return decodeURIComponent(e)}function kE(e){return pl(e.replace(/\+/g,"%20"))}function BE(e){return`${k0(e.path)}${function gk(e){return Object.entries(e).map(([t,n])=>`;${k0(t)}=${k0(n)}`).join("")}(e.parameters)}`}const vk=/^[^\/()?;#]+/;function B0(e){const t=e.match(vk);return t?t[0]:""}const yk=/^[^\/()?;=#]+/,Dk=/^[^=?]+/,Ek=/^[^]+/;class bk{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xe([],{}):new Xe([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[Me]=new Xe(t,n)),r}parseSegment(){const t=B0(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new X(4009,!1);return this.capture(t),new Fa(pl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function xk(e){const t=e.match(yk);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=B0(this.remaining);o&&(r=o,this.capture(r))}t[pl(n)]=pl(r)}parseQueryParam(t){const n=function Ck(e){const t=e.match(Dk);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function wk(e){const t=e.match(Ek);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=kE(n),i=kE(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=B0(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new X(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Me);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[Me]:new Xe([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new X(4011,!1)}}function LE(e){return e.segments.length>0?new Xe([],{[Me]:e}):e}function jE(e){const t={};for(const[r,o]of Object.entries(e.children)){const i=jE(o);if(r===Me&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function Ik(e){if(1===e.numberOfChildren&&e.children[Me]){const t=e.children[Me];return new Xe(e.segments.concat(t.segments),t.children)}return e}(new Xe(e.segments,t))}function ts(e){return e instanceof Ji}function VE(e){let t;const o=LE(function n(i){const s={};for(const c of i.children){const u=n(c);s[c.outlet]=u}const a=new Xe(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function UE(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return L0(o,o,o,n,r);const i=function Ak(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new HE(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,c)=>{0==c&&"."===a||(0==c&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new HE(n,t,r)}(t);if(i.toRoot())return L0(o,o,new Xe([],{}),n,r);const s=function Sk(e,t,n){if(e.isAbsolute)return new ml(t,!0,0);if(!n)return new ml(t,!1,NaN);if(null===n.parent)return new ml(n,!0,0);const r=gl(e.commands[0])?0:1;return function Mk(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new X(4005,!1);o=r.segments.length}return new ml(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Pa(s.segmentGroup,s.index,i.commands):zE(s.segmentGroup,s.index,i.commands);return L0(o,s.segmentGroup,a,n,r)}function gl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Oa(e){return"object"==typeof e&&null!=e&&e.outlets}function L0(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`}),s=e===t?n:$E(e,t,n);const a=LE(jE(s));return new Ji(a,i,o)}function $E(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:$E(i,t,n)}),new Xe(e.segments,r)}class HE{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&gl(r[0]))throw new X(4003,!1);const o=r.find(Oa);if(o&&o!==ME(r))throw new X(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ml{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function zE(e,t,n){if(e??=new Xe([],{}),0===e.segments.length&&e.hasChildren())return Pa(e,t,n);const r=function Rk(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(Oa(a))break;const c=`${a}`,u=r0&&void 0===c)break;if(c&&u&&"object"==typeof u&&void 0===u.outlets){if(!WE(c,u,s))return i;r+=2}else{if(!WE(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==Me)&&e.children[Me]&&1===e.numberOfChildren&&0===e.children[Me].segments.length){const i=Pa(e.children[Me],t,n);return new Xe(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=zE(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new Xe(e.segments,o)}}function j0(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=j0(new Xe([],{}),0,r))}),t}function GE(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function WE(e,t,n){return e==n.path&&er(t,n.parameters)}const ka="imperative";var Be=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}(Be||{});class tr{constructor(t,n){this.id=t,this.url=n}}class vl extends tr{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Be.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Fr extends tr{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Be.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var _n=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(_n||{}),yl=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(yl||{});class ns extends tr{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Be.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rs extends tr{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Be.NavigationSkipped}}class xl extends tr{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Be.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class qE extends tr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Be.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nk extends tr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Be.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ok extends tr{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Be.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pk extends tr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Be.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kk extends tr{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Be.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bk{constructor(t){this.route=t,this.type=Be.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Lk{constructor(t){this.route=t,this.type=Be.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jk{constructor(t){this.snapshot=t,this.type=Be.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vk{constructor(t){this.snapshot=t,this.type=Be.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Uk{constructor(t){this.snapshot=t,this.type=Be.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $k{constructor(t){this.snapshot=t,this.type=Be.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZE{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=Be.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class V0{}class U0{constructor(t){this.url=t}}class Hk{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ba,this.attachRef=null}}let Ba=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Hk,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class QE{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=$0(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=$0(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=H0(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return H0(t,this._root).map(n=>n.value)}}function $0(e,t){if(e===t.value)return t;for(const n of t.children){const r=$0(e,n);if(r)return r}return null}function H0(e,t){if(e===t.value)return[t];for(const n of t.children){const r=H0(e,n);if(r.length)return r.unshift(t),r}return[]}class Vn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function os(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class YE extends QE{constructor(t,n){super(t),this.snapshot=n,W0(this,t)}toString(){return this.snapshot.toString()}}function XE(e){const t=function zk(e){const i=new G0([],{},{},"",{},Me,e,null,{});return new KE("",new Vn(i,[]))}(e),n=new dt([new Fa("",{})]),r=new dt({}),o=new dt({}),i=new dt({}),s=new dt(""),a=new io(n,r,i,s,o,Me,e,t.root);return a.snapshot=t.root,new YE(new Vn(a,[]),t)}class io{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(Ve(u=>u[Ra]))??Ce(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(Ve(t=>Ki(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ve(t=>Ki(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function z0(e,t,n="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===t||"always"!==n&&""!==o?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...o?.data,...e._resolvedData}},o&&ew(o)&&(r.resolve[Ra]=o.title),r}class G0{get title(){return this.data?.[Ra]}constructor(t,n,r,o,i,s,a,c,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=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??=Ki(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ki(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class KE extends QE{constructor(t,n){super(n),this.url=t,W0(this,n)}toString(){return JE(this._root)}}function W0(e,t){t.value._routerState=e,t.children.forEach(n=>W0(e,n))}function JE(e){const t=e.children.length>0?` { ${e.children.map(JE).join(", ")} } `:"";return`${e.value}${t}`}function q0(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,er(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),er(t.params,n.params)||e.paramsSubject.next(n.params),function ak(e,t){if(e.length!==t.length)return!1;for(let n=0;ner(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Z0(e.parent,t.parent))}function ew(e){return"string"==typeof e.title||null===e.title}let Q0=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Me,this.activateEvents=new Tt,this.deactivateEvents=new Tt,this.attachEvents=new Tt,this.detachEvents=new Tt,this.parentContexts=K(Ba),this.location=K(On),this.changeDetector=K(cu),this.environmentInjector=K(hn),this.inputBinder=K(Dl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new X(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new X(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new X(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new X(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Gk(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Pt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Co]})}return e})();class Gk{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===io?this.route:t===Ba?this.childContexts:this.parent.get(t,n)}}const Dl=new ce("");let tw=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=T0([r.queryParams,r.params,r.data]).pipe(jn(([i,s,a],c)=>(a={...i,...s,...a},0===c?Ce(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function qN(e){const t=Fe(e);if(!t)return null;const n=new ta(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function La(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function qk(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return La(e,r,o);return La(e,r)})}(e,t,n);return new Vn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>La(e,a)),s}}const r=function Zk(e){return new io(new dt(e.url),new dt(e.params),new dt(e.queryParams),new dt(e.fragment),new dt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>La(e,i));return new Vn(r,o)}}const nw="ngNavigationCancelingError";function rw(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=ts(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=ow(!1,_n.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function ow(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[nw]=!0,n.cancellationCode=t,n}function iw(e){return!!e&&e[nw]}let sw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ln({type:e,selectors:[["ng-component"]],standalone:!0,features:[bD],decls:1,vars:0,template:function(r,o){1&r&&nt(0,"router-outlet")},dependencies:[Q0],encapsulation:2})}return e})();function Y0(e){const t=e.children&&e.children.map(Y0),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Me&&(n.component=sw),n}function nr(e){return e.outlet||Me}function ja(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class nB{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),q0(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=os(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=os(t);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=os(t);for(const 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){const o=os(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new $k(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Vk(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(q0(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),q0(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ja(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class aw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Cl{constructor(t,n){this.component=t,this.route=n}}function rB(e,t,n){const r=e._root;return Va(r,t?t._root:null,n,[r.value])}function is(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function Rb(e){return null!==cc(e)}(e)?t.get(e):e:r}function Va(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=os(t);return e.children.forEach(s=>{(function iB(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const c=function sB(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Lo(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Lo(e.url,t.url)||!er(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Z0(e,t)||!er(e.queryParams,t.queryParams);default:return!Z0(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new aw(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Va(e,t,i.component?a?a.children:null:n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Cl(a.outlet.component,s))}else s&&Ua(t,a,o),o.canActivateChecks.push(new aw(r)),Va(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ua(a,n.getContext(s),o)),o}function Ua(e,t,n){const r=os(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Ua(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Cl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function $a(e){return"function"==typeof e}function cw(e){return e instanceof Ma||"EmptyError"===e?.name}const El=Symbol("INITIAL_VALUE");function ss(){return jn(e=>T0(e.map(t=>t.pipe(Yi(1),function KP(...e){const t=rl(e);return Et((n,r)=>{(t?R0(e,n,t):R0(e,n)).subscribe(r)})}(El)))).pipe(Ve(t=>{for(const n of t)if(!0!==n){if(n===El)return El;if(!1===n||n instanceof Ji)return n}return!0}),Tr(t=>t!==El),Yi(1)))}function uw(e){return function Tl(...e){return Wa(e)}(zt(t=>{if(ts(t))throw rw(0,t)}),Ve(t=>!0===t))}class X0{constructor(t){this.segmentGroup=t||null}}class K0 extends Error{constructor(t){super(),this.urlTree=t}}function as(e){return ul(new X0(e))}class IB{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return Ce(r);if(o.numberOfChildren>1||!o.children[Me])return ul(new X(4e3,!1));o=o.children[Me]}}applyRedirectCommands(t,n,r){const o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new K0(o);return o}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Ji(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new Xe(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new X(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const J0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _B(e,t,n,r,o){const i=ep(e,t,n);return i.matched?(r=function Yk(e,t){return e.providers&&!e._injector&&(e._injector=eh(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function EB(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?Ce(o.map(s=>{const a=is(s,e);return oo(function fB(e){return e&&$a(e.canMatch)}(a)?a.canMatch(t,n):zr(e,()=>a(t,n)))})).pipe(ss(),uw()):Ce(!0)}(r,t,n).pipe(Ve(s=>!0===s?i:{...J0}))):Ce(i)}function ep(e,t,n){if("**"===t.path)return function AB(e){return{matched:!0,parameters:e.length>0?ME(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...J0}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||sk)(n,e,t);if(!o)return{...J0};const i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function lw(e,t,n,r){return n.length>0&&function TB(e,t,n){return n.some(r=>wl(e,t,r)&&nr(r)!==Me)}(e,n,r)?{segmentGroup:new Xe(t,MB(r,new Xe(n,e.children))),slicedSegments:[]}:0===n.length&&function RB(e,t,n){return n.some(r=>wl(e,t,r))}(e,n,r)?{segmentGroup:new Xe(e.segments,SB(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Xe(e.segments,e.children),slicedSegments:n}}function SB(e,t,n,r){const o={};for(const i of n)if(wl(e,t,i)&&!r[nr(i)]){const s=new Xe([],{});o[nr(i)]=s}return{...r,...o}}function MB(e,t){const n={};n[Me]=t;for(const r of e)if(""===r.path&&nr(r)!==Me){const o=new Xe([],{});n[nr(r)]=o}return n}function wl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class OB{}class BB{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new IB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new X(4002,`'${t.segmentGroup}'`)}recognize(){const t=lw(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Ve(n=>{const r=new G0([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Me,this.rootComponentType,null,{}),o=new Vn(r,n),i=new KE("",o),s=function _k(e,t,n=null,r=null){return UE(VE(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,Me).pipe(Xi(r=>{if(r instanceof K0)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof X0?this.noMatchError(r):r}))}inheritParamsAndData(t,n){const r=t.value,o=z0(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(Ve(i=>i instanceof Vn?[i]:[]))}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Rt(o).pipe(Zi(i=>{const s=r.children[i],a=function eB(e,t){const n=e.filter(r=>nr(r)===t);return n.push(...e.filter(r=>nr(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function tk(e,t){return Et(function ek(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(Mt(s,l=>{const d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),ll(null),function nk(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Tr((o,i)=>e(o,i,r)):ar,N0(1),n?ll(t):AE(()=>new Ma))}(),Ht(i=>{if(null===i)return as(r);const s=dw(i);return function LB(e){e.sort((t,n)=>t.value.outlet===Me?-1:n.value.outlet===Me?1:t.value.outlet.localeCompare(n.value.outlet))}(s),Ce(s)}))}processSegment(t,n,r,o,i,s){return Rt(n).pipe(Zi(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Xi(c=>{if(c instanceof X0)return Ce(null);throw c}))),Bo(a=>!!a),Xi(a=>{if(cw(a))return function NB(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?Ce(new OB):as(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function FB(e,t,n,r){return!!(nr(e)===r||r!==Me&&wl(t,n,e))&&ep(t,e,n).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):as(o):as(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=ep(n,o,i);if(!a)return as(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(Ht(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){const s=_B(n,r,o,t);return"**"===r.path&&(n.children={}),s.pipe(jn(a=>a.matched?this.getChildConfig(t=r._injector??t,r,o).pipe(jn(({routes:c})=>{const u=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,p=new G0(l,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function VB(e){return e.data||{}}(r),nr(r),r.component??r._loadedComponent??null,r,function UB(e){return e.resolve||{}}(r)),{segmentGroup:C,slicedSegments:I}=lw(n,l,d,c);if(0===I.length&&C.hasChildren())return this.processChildren(u,c,C).pipe(Ve(H=>null===H?null:new Vn(p,H)));if(0===c.length&&0===I.length)return Ce(new Vn(p,[]));const P=nr(r)===i;return this.processSegment(u,c,C,I,P?Me:i,!0).pipe(Ve(H=>new Vn(p,H instanceof Vn?[H]:[])))})):as(n)))}getChildConfig(t,n,r){return n.children?Ce({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?Ce({routes:n._loadedRoutes,injector:n._loadedInjector}):function CB(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?Ce(!0):Ce(o.map(s=>{const a=is(s,e);return oo(function cB(e){return e&&$a(e.canLoad)}(a)?a.canLoad(t,n):zr(e,()=>a(t,n)))})).pipe(ss(),uw())}(t,n,r).pipe(Ht(o=>o?this.configLoader.loadChildren(t,n).pipe(zt(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function bB(e){return ul(ow(!1,_n.GuardRejected))}())):Ce({routes:[],injector:t})}}function jB(e){const t=e.value.routeConfig;return t&&""===t.path}function dw(e){const t=[],n=new Set;for(const r of e){if(!jB(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=dw(r.children);t.push(new Vn(r.value,o))}return t.filter(r=>!n.has(r))}function fw(e){const t=e.children.map(n=>fw(n)).flat();return[e,...t]}function tp(e){return jn(t=>{const n=e(t);return n?Rt(n).pipe(Ve(()=>t)):Ce(t)})}let hw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===Me);return r}getResolvedTitleForRoute(n){return n.data[Ra]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(qB),providedIn:"root"})}return e})(),qB=(()=>{class e extends hw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(de(yO))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const cs=new ce("",{providedIn:"root",factory:()=>({})}),us=new ce("");let np=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=K(fC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Ce(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=oo(n.loadComponent()).pipe(Ve(pw),zt(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Ia(()=>{this.componentLoaders.delete(n)})),o=new _E(r,()=>new Kt).pipe(F0());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Ce({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function ZB(e,t,n,r){return oo(e.loadChildren()).pipe(Ve(pw),Ht(o=>o instanceof dy||Array.isArray(o)?Ce(o):Rt(t.compileModuleAsync(o))),Ve(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(n).injector,s=i.get(us,[],{optional:!0,self:!0}).flat()),{routes:s.map(Y0),injector:i}}))}(r,this.compiler,n,this.onLoadEndListener).pipe(Ia(()=>{this.childrenLoaders.delete(r)})),s=new _E(i,()=>new Kt).pipe(F0());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pw(e){return function QB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let rp=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(YB),providedIn:"root"})}return e})(),YB=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const gw=new ce(""),mw=new ce("");function XB(e,t,n){const r=e.get(mw),o=e.get(sn);return e.get(je).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let i;const s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),function KB(e){return new Promise(t=>{Mv(t,{injector:e})})}(e))),{onViewTransitionCreated:c}=r;return c&&zr(e,()=>c({transition:a,from:t,to:n})),s})}let bl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Kt,this.transitionAbortSubject=new Kt,this.configLoader=K(np),this.environmentInjector=K(hn),this.urlSerializer=K(es),this.rootContexts=K(Ba),this.location=K(xa),this.inputBindingEnabled=null!==K(Dl,{optional:!0}),this.titleStrategy=K(hw),this.options=K(cs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=K(rp),this.createViewTransition=K(gw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Ce(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Lk(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Bk(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n,r,o){return this.transitions=new dt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ka,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Tr(i=>0!==i.id),Ve(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),jn(i=>{this.currentTransition=i;let s=!1,a=!1;return Ce(i).pipe(zt(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),jn(c=>{const u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!u&&"reload"!==(c.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const d="";return this.events.next(new rs(c.id,this.urlSerializer.serialize(c.rawUrl),d,yl.IgnoredSameUrlNavigation)),c.resolve(null),Rr}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return Ce(c).pipe(jn(d=>{const f=this.transitions?.getValue();return this.events.next(new vl(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Rr:Promise.resolve(d)}),function $B(e,t,n,r,o,i){return Ht(s=>function PB(e,t,n,r,o,i,s="emptyOnly"){return new BB(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(Ve(({state:a,tree:c})=>({...s,targetSnapshot:a,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),zt(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new qE(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:d,extractedUrl:f,source:p,restoredState:C,extras:I}=c,P=new vl(d,this.urlSerializer.serialize(f),p,C);this.events.next(P);const H=XE(this.rootComponentType).snapshot;return this.currentTransition=i={...c,targetSnapshot:H,urlAfterRedirects:f,extras:{...I,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,Ce(i)}{const d="";return this.events.next(new rs(c.id,this.urlSerializer.serialize(c.extractedUrl),d,yl.IgnoredByUrlHandlingStrategy)),c.resolve(null),Rr}}),zt(c=>{const u=new Nk(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Ve(c=>(this.currentTransition=i={...c,guards:rB(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},i)),function hB(e,t){return Ht(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?Ce({...n,guardsResult:!0}):function pB(e,t,n,r){return Rt(e).pipe(Ht(o=>function DB(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Ce(i.map(a=>{const c=ja(t)??o,u=is(a,c);return oo(function dB(e){return e&&$a(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):zr(c,()=>u(e,t,n,r))).pipe(Bo())})).pipe(ss()):Ce(!0)}(o.component,o.route,n,t,r)),Bo(o=>!0!==o,!0))}(s,r,o,e).pipe(Ht(a=>a&&function aB(e){return"boolean"==typeof e}(a)?function gB(e,t,n,r){return Rt(t).pipe(Zi(o=>R0(function vB(e,t){return null!==e&&t&&t(new jk(e)),Ce(!0)}(o.route.parent,r),function mB(e,t){return null!==e&&t&&t(new Uk(e)),Ce(!0)}(o.route,r),function xB(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function oB(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>IE(()=>Ce(s.guards.map(c=>{const u=ja(s.node)??n,l=is(c,u);return oo(function lB(e){return e&&$a(e.canActivateChild)}(l)?l.canActivateChild(r,e):zr(u,()=>l(r,e))).pipe(Bo())})).pipe(ss())));return Ce(i).pipe(ss())}(e,o.path,n),function yB(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Ce(!0);const o=r.map(i=>IE(()=>{const s=ja(t)??n,a=is(i,s);return oo(function uB(e){return e&&$a(e.canActivate)}(a)?a.canActivate(t,e):zr(s,()=>a(t,e))).pipe(Bo())}));return Ce(o).pipe(ss())}(e,o.route,n))),Bo(o=>!0!==o,!0))}(r,i,e,t):Ce(a)),Ve(a=>({...n,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),zt(c=>{if(i.guardsResult=c.guardsResult,ts(c.guardsResult))throw rw(0,c.guardsResult);const u=new Ok(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Tr(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",_n.GuardRejected),!1)),tp(c=>{if(c.guards.canActivateChecks.length)return Ce(c).pipe(zt(u=>{const l=new Pk(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),jn(u=>{let l=!1;return Ce(u).pipe(function HB(e,t){return Ht(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return Ce(n);const i=new Set(o.map(c=>c.route)),s=new Set;for(const c of i)if(!s.has(c))for(const u of fw(c))s.add(u);let a=0;return Rt(s).pipe(Zi(c=>i.has(c)?function zB(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!ew(o)&&(i[Ra]=o.title),function GB(e,t,n,r){const o=O0(e);if(0===o.length)return Ce({});const i={};return Rt(o).pipe(Ht(s=>function WB(e,t,n,r){const o=ja(t)??r,i=is(e,o);return oo(i.resolve?i.resolve(t,n):zr(o,()=>i(t,n)))}(e[s],t,n,r).pipe(Bo(),zt(a=>{i[s]=a}))),N0(1),function rk(e){return Ve(()=>e)}(i),Xi(s=>cw(s)?Rr:ul(s)))}(i,e,t,r).pipe(Ve(s=>(e._resolvedData=s,e.data=z0(e,e.parent,n).resolve,null)))}(c,r,e,t):(c.data=z0(c,c.parent,e).resolve,Ce(void 0))),zt(()=>a++),N0(1),Ht(c=>a===s.size?Ce(n):Rr))})}(this.paramsInheritanceStrategy,this.environmentInjector),zt({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",_n.NoDataFromResolver)}}))}),zt(u=>{const l=new kk(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),tp(c=>{const u=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(zt(f=>{l.component=f}),Ve(()=>{})));for(const f of l.children)d.push(...u(f));return d};return T0(u(c.targetSnapshot.root)).pipe(ll(null),Yi(1))}),tp(()=>this.afterPreactivation()),jn(()=>{const{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?Rt(l).pipe(Ve(()=>i)):Ce(i)}),Ve(c=>{const u=function Wk(e,t,n){const r=La(e,t._root,n?n._root:void 0);return new YE(r,t)}(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i={...c,targetRouterState:u},this.currentNavigation.targetRouterState=u,i}),zt(()=>{this.events.next(new V0)}),((e,t,n,r)=>Ve(o=>(new nB(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Yi(1),zt({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Fr(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),function ok(e){return Et((t,n)=>{Sr(e).subscribe(Mt(n,()=>n.complete(),Uo)),!n.closed&&t.subscribe(n)})}(this.transitionAbortSubject.pipe(zt(c=>{throw c}))),Ia(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",_n.SupersededByNewNavigation),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Xi(c=>{if(a=!0,iw(c))this.events.next(new ns(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),function Qk(e){return iw(e)&&ts(e.url)}(c)?this.events.next(new U0(c.url)):i.resolve(!1);else{this.events.next(new xl(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0));try{i.resolve(n.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(u)}}return Rr}))}))}cancelNavigationTransition(n,r,o){const i=new ns(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function JB(e){return e!==ka}let e3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(n3),providedIn:"root"})}return e})();class t3{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let n3=(()=>{class e extends t3{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gd(e)))(o||e)}})();static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vw=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:()=>K(r3),providedIn:"root"})}return e})(),r3=(()=>{class e extends vw{constructor(){super(...arguments),this.location=K(xa),this.urlSerializer=K(es),this.options=K(cs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=K(rp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ji,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=XE(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{"popstate"===r.type&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof vl)this.stateMemento=this.createStateMemento();else if(n instanceof rs)this.rawUrlTree=r.initialUrl;else if(n instanceof qE){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof V0?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof ns&&(n.code===_n.GuardRejected||n.code===_n.NoDataFromResolver)?this.restoreHistory(r):n instanceof xl?this.restoreHistory(r,!0):n instanceof Fr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&0===i&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gd(e)))(o||e)}})();static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ha=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Ha||{});function yw(e,t){e.events.pipe(Tr(n=>n instanceof Fr||n instanceof ns||n instanceof xl||n instanceof rs),Ve(n=>n instanceof Fr||n instanceof rs?Ha.COMPLETE:n instanceof ns&&(n.code===_n.Redirect||n.code===_n.SupersededByNewNavigation)?Ha.REDIRECTING:Ha.FAILED),Tr(n=>n!==Ha.REDIRECTING),Yi(1)).subscribe(()=>{t()})}function o3(e){throw e}const i3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},s3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=K(tC),this.stateManager=K(vw),this.options=K(cs,{optional:!0})||{},this.pendingTasks=K(Ao),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=K(bl),this.urlSerializer=K(es),this.location=K(xa),this.urlHandlingStrategy=K(rp),this._events=new Kt,this.errorHandler=this.options.errorHandler||o3,this.navigated=!1,this.routeReuseStrategy=K(e3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=K(us,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!K(Dl,{optional:!0}),this.eventsSubscription=new yt,this.isNgZoneEnabled=K(je)instanceof je&&je.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof ns&&r.code!==_n.Redirect&&r.code!==_n.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Fr)this.navigated=!0;else if(r instanceof U0){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||JB(o.source)};this.scheduleNavigation(s,ka,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function c3(e){return!(e instanceof V0||e instanceof U0)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ka,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(i.state=c)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Y0),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s;let d,l=null;switch(a){case"merge":l={...this.currentUrlTree.queryParams,...i};break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}null!==l&&(l=this.removeEmptyProps(l));try{d=VE(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return UE(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=ts(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ka,null,r)}navigate(n,r={skipLocationChange:!1}){return function a3(e){for(let t=0;t(null!=i&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,c=f});const l=this.pendingTasks.add();return yw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ls=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Kt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Fr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const n=this.urlTree;this.href=null!==n&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;const r=null===this.href?null:function nm(e,t,n){return function D_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?tm:ks}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(ue(vn),ue(io),function Pc(e){return function jI(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Tt,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Fr&&this.update()})}ngAfterContentInit(){Ce(this.links.changes,Ce(null)).pipe(Ta()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Rt(n).pipe(Ta()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function u3(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{const i=o.urlTree;return!!i&&n.isActive(i,r)}}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static#e=this.\u0275fac=function(r){return new(r||e)(ue(vn),ue(vr),ue(Xs),ue(cu),ue(ls,8))};static#t=this.\u0275dir=Pt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(1&r&&function Jx(e,t,n,r){Wv(e,t,n,r)}(i,ls,5),2&r){let s;(function eD(e){const t=U(),n=Pe(),r=Jl();nc(r+1);const o=Yf(n,r);if(e.dirty&&function ib(e){return 4==(4&e[he])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=Zv(t,r);e.reset(i,Gp),e.notifyOnChanges()}return!0}return!1})(s=tD())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Co]})}return e})();class Dw{}let l3=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Tr(n=>n instanceof Fr),Zi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=eh(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Rt(o).pipe(Ta())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):Ce(null);const i=o.pipe(Ht(s=>null===s?Ce(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Rt([i,this.loader.loadComponent(r)]).pipe(Ta()):i})}static#e=this.\u0275fac=function(r){return new(r||e)(de(vn),de(fC),de(hn),de(Dw),de(np))};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const op=new ce("");let Cw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof vl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Fr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof rs&&n.code===yl.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ZE&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ZE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Nm(){throw new Error("invalid")}()};static#t=this.\u0275prov=le({token:e,factory:e.\u0275fac})}return e})();function rr(e,t){return{\u0275kind:e,\u0275providers:t}}function ww(){const e=K(pn);return t=>{const n=e.get(Fo);if(t!==n.components[0])return;const r=e.get(vn),o=e.get(bw);1===e.get(ip)&&r.initialNavigation(),e.get(Iw,null,Oe.Optional)?.setUpPreloading(),e.get(op,null,Oe.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const bw=new ce("",{factory:()=>new Kt}),ip=new ce("",{providedIn:"root",factory:()=>1}),Iw=new ce("");function p3(e){return rr(0,[{provide:Iw,useExisting:l3},{provide:Dw,useExisting:e}])}function m3(e){return rr(9,[{provide:gw,useValue:XB},{provide:mw,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const _w=new ce("ROUTER_FORROOT_GUARD"),v3=[xa,{provide:es,useClass:P0},vn,Ba,{provide:io,useFactory:function Ew(e){return e.routerState.root},deps:[vn]},np,[]];let Aw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[v3,[],{provide:us,multi:!0,useValue:n},{provide:_w,useFactory:C3,deps:[[vn,new Dc,new Cc]]},{provide:cs,useValue:r||{}},r?.useHash?{provide:Oo,useClass:KN}:{provide:Oo,useClass:ZC},{provide:op,useFactory:()=>{const e=K(y4),t=K(je),n=K(cs),r=K(bl),o=K(es);return n.scrollOffset&&e.setOffset(n.scrollOffset),new Cw(o,r,e,t,n)}},r?.preloadingStrategy?p3(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?E3(r):[],r?.bindToComponentInputs?rr(8,[tw,{provide:Dl,useExisting:tw}]).\u0275providers:[],r?.enableViewTransitions?m3().\u0275providers:[],[{provide:Sw,useFactory:ww},{provide:jh,multi:!0,useExisting:Sw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:us,multi:!0,useValue:n}]}}static#e=this.\u0275fac=function(r){return new(r||e)(de(_w,8))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Wn({})}return e})();function C3(e){return"guarded"}function E3(e){return["disabled"===e.initialNavigation?rr(3,[{provide:Bh,multi:!0,useFactory:()=>{const t=K(vn);return()=>{t.setUpLocationChangeListener()}}},{provide:ip,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?rr(2,[{provide:ip,useValue:0},{provide:Bh,multi:!0,deps:[pn],useFactory:t=>{const n=t.get(YN,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(vn),i=t.get(bw);yw(o,()=>{r(!0)}),t.get(bl).afterPreactivation=()=>(r(!0),i.closed?Ce(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Sw=new ce("");var b3=N(108);let or=(()=>{class e{http;userInfo;scopes=["user-library-read","user-library-modify","user-modify-playback-state","user-follow-read"];accessToken;refreshToken;constructor(n){this.http=n,this.accessToken=window.localStorage.getItem("accessToken"),this.refreshToken=window.localStorage.getItem("refreshToken");const r=window.localStorage.getItem("userInfo");this.userInfo=null!==r?JSON.parse(r):null}isAuthenticated(){return null!==this.accessToken}get(n){var r=this;return y(function*(){if(null===r.accessToken)throw new Error("Can't fetch api, user not connected.");const o=(new Nt).set("Authorization",`Bearer ${r.accessToken}`);try{return yield function I3(e,t){const n="object"==typeof t;return new Promise((r,o)=>{const i=new zo({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ma)}});e.subscribe(i)})}(r.http.get(`https://api.spotify.com/v1/${n}`,{headers:o}))}catch(i){const a=i.error.error;if(console.log(a),401===a.status&&"The access token expired"===a.message)return yield r.refreshTokenFromToken(),r.get(n);throw new Error(`Error while tring to get uri '${n}'`)}})()}put(n,r){var o=this;return y(function*(){if(null===o.accessToken)throw new Error("Can't fetch api, user not connected.");const i=(new Nt).set("Authorization",`Bearer ${o.accessToken}`);try{yield o.http.put(`https://api.spotify.com/v1/${n}`,r,{headers:i}).toPromise()}catch(s){const c=s.error.error;throw console.log(c),401===c.status&&"The access token expired"===c.message&&(yield o.refreshTokenFromToken(),o.put(n,r)),new Error(`Error while tring to get uri '${n}'`)}})()}delete(n){var r=this;return y(function*(){if(null===r.accessToken)throw new Error("Can't fetch api, user not connected.");const o=(new Nt).set("Authorization",`Bearer ${r.accessToken}`);try{yield r.http.delete(`https://api.spotify.com/v1/${n}`,{headers:o}).toPromise()}catch(i){const a=i.error.error;throw console.log(a),401===a.status&&"The access token expired"===a.message&&(yield r.refreshTokenFromToken(),r.delete(n)),new Error(`Error while tring to get uri '${n}'`)}})()}refreshFollowedArtists(){var n=this;return y(function*(){if(null==n.userInfo)throw new Error("UserInfo must exists at this point.");n.userInfo.followedArtists=[];let r=null,o=0;{const i=yield n.get("me/following?type=artist&limit=50");for(let s=0;s=0;l--)u[l]!==r&&i.splice(l,1)}return i})()}disconnect(){this.accessToken=null,window.localStorage.removeItem("accessToken"),this.refreshToken=null,window.localStorage.removeItem("refreshToken"),this.userInfo=null,window.localStorage.removeItem("userInfo")}askForCode(n){const r=this.generateRandomString(128);window.localStorage.setItem("codeVerifier",r);const o=this.PKCEChallengeFromVerifier(r),i=this.generateRandomString(32);window.localStorage.setItem("authState",i);const s=encodeURIComponent(n),a=encodeURIComponent(this.scopes.join(" "));window.location.href=`https://accounts.spotify.com/authorize?client_id=1091f9db9b7d4f51b47f57b3a766c0dc&response_type=code&redirect_uri=${s}&code_challenge_method=S256&code_challenge=${o}&scope=${a}&state=${i}`}refreshTokenFromCode(n,r){var o=this;return y(function*(){const i=window.localStorage.getItem("codeVerifier");window.localStorage.removeItem("codeVerifier");const s=(new Nt).set("Content-Type","application/x-www-form-urlencoded");let a=new URLSearchParams;a.set("client_id","1091f9db9b7d4f51b47f57b3a766c0dc"),a.set("grant_type","authorization_code"),a.set("code",r),a.set("redirect_uri",n),a.set("code_verifier",i);const c=yield o.http.post("https://accounts.spotify.com/api/token",a.toString(),{headers:s}).toPromise();o.accessToken=c.access_token,o.refreshToken=c.refresh_token,yield o.onTokenRefreshed(!0)})()}refreshTokenFromToken(){var n=this;return y(function*(){if(null===n.refreshToken)return void console.error("No refresh token available.");const r=(new Nt).set("Content-Type","application/x-www-form-urlencoded");let o=new URLSearchParams;o.set("client_id","1091f9db9b7d4f51b47f57b3a766c0dc"),o.set("grant_type","refresh_token"),o.set("refresh_token",n.refreshToken);const i=yield n.http.post("https://accounts.spotify.com/api/token",o.toString(),{headers:r}).toPromise();n.accessToken=i.access_token,n.refreshToken=i.refresh_token,yield n.onTokenRefreshed(!1)})()}generateRandomString(n){let o="";for(let i=0;i>>24,s==r||(i[s++]=(16711680&c)>>>16,s==r)||(i[s++]=(65280&c)>>>8,s==r))break;i[s++]=255&c}return i}base64UrlEncode(n){return btoa(String.fromCharCode.apply(null,new Uint8Array(n))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}onTokenRefreshed(n){var r=this;return y(function*(){if(null==r.accessToken||null==r.refreshToken)throw new Error("Token is null");if(window.localStorage.setItem("accessToken",r.accessToken),window.localStorage.setItem("refreshToken",r.refreshToken),n){const o=yield r.get("me");r.userInfo=o.display_name?new Mw(o.display_name,o.images?o.images[0].url:void 0):new Mw("unknown")}if(null==r.userInfo)throw new Error("UserInfo must exists at this point.");r.userInfo.savedTrackCount=(yield r.get("me/tracks?limit=1")).total,r.userInfo.savedAlbumCount=(yield r.get("me/albums?limit=1")).total,window.localStorage.setItem("userInfo",JSON.stringify(r.userInfo))})()}static \u0275fac=function(r){return new(r||e)(de(sE))};static \u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Mw{name;imageUrl;savedTrackCount;savedAlbumCount;followedArtists;constructor(t,n){this.name=t,this.imageUrl=n,this.savedTrackCount=NaN,this.savedAlbumCount=NaN,this.followedArtists=[]}}class Tw{id;name;constructor(t){this.id=t.id,this.name=t.name}}const _3=new ce("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});let A3=(()=>{class e{constructor(n,r,o){this.ngZone=n,this.document=r,this.window=o,this.copySubject=new Kt,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(n){this.config=n}copy(n){if(!this.isSupported||!n)return this.pushCopyResponse({isSuccess:!1,content:n});const r=this.copyFromContent(n);return this.pushCopyResponse(r?{content:n,isSuccess:r}:{isSuccess:!1,content:n})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(n){if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement){if(n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(n,r=!0){try{this.selectTarget(n);const o=this.copyText();return this.clearSelection(r?n:void 0,this.window),o&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const n=this.window.clipboardData;return!(n&&n.getData&&!n.getData("Text"))}copyFromContent(n,r=this.document.body){if(this.tempTextArea&&!r.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{r.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=n;const o=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),o}destroy(n=this.document.body){this.tempTextArea&&(n.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(n){return n.select(),n.setSelectionRange(0,n.value.length),n.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(n,r){n&&n.focus(),r.getSelection()?.removeAllRanges()}createTempTextArea(n,r){const o="rtl"===n.documentElement.getAttribute("dir");let i;return i=n.createElement("textarea"),i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[o?"right":"left"]="-9999px",i.style.top=(r.pageYOffset||n.documentElement.scrollTop)+"px",i.setAttribute("readonly",""),i}pushCopyResponse(n){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(n)})}pushCopyReponse(n){this.pushCopyResponse(n)}}return e.\u0275fac=function(n){return new(n||e)(de(je),de(sn),de(_3,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Rw=(()=>{class e{constructor(n,r,o,i){this.ngZone=n,this.host=r,this.renderer=o,this.clipboardSrv=i,this.cbOnSuccess=new Tt,this.cbOnError=new Tt,this.onClick=s=>{this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,s):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,s):this.handleResult(!1,void 0,s)}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.clickListener=this.renderer.listen(this.host.nativeElement,"click",this.onClick)})}ngOnDestroy(){this.clickListener&&this.clickListener(),this.clipboardSrv.destroy(this.container)}handleResult(n,r,o){let i={isSuccess:n,content:r,successMessage:this.cbSuccessMsg,event:o};n?this.cbOnSuccess.observed&&this.ngZone.run(()=>{this.cbOnSuccess.emit(i)}):this.cbOnError.observed&&this.ngZone.run(()=>{this.cbOnError.emit(i)}),this.clipboardSrv.pushCopyResponse(i)}}return e.\u0275fac=function(n){return new(n||e)(ue(je),ue(vr),ue(Xs),ue(A3))},e.\u0275dir=Pt({type:e,selectors:[["","ngxClipboard",""]],inputs:{targetElm:[xn.None,"ngxClipboard","targetElm"],container:"container",cbContent:"cbContent",cbSuccessMsg:"cbSuccessMsg"},outputs:{cbOnSuccess:"cbOnSuccess",cbOnError:"cbOnError"}}),e})(),S3=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=lr({type:e}),e.\u0275inj=Wn({imports:[d1]}),e})();const M3=["album",""];function T3(e,t){if(1&e){const n=Er();me(0,"a",15),En("click",function(){hr(n);const o=ut();return pr(o.toggleSave(o.album.id))}),nt(1,"span",16),fe()}}function R3(e,t){if(1&e){const n=Er();me(0,"a",17),En("click",function(){hr(n);const o=ut();return pr(o.toggleSave(o.album.id))}),nt(1,"span",16),fe()}}function F3(e,t){if(1&e&&(me(0,"span"),Ye(1),fe()),2&e){const n=t.$implicit;Se(),wn("",n.name,"\xa0")}}function N3(e,t){if(1&e&&(me(0,"div",18),Ye(1),fe()),2&e){const n=ut();Se(),wn(" ",n.footer," ")}}let za=(()=>{class e{spotifyApi;album;saved;footer;constructor(n){this.spotifyApi=n}ngOnInit(){}play(n){this.spotifyApi.put("me/player/play",{context_uri:n})}toggleSave(n){var r=this;return y(function*(){try{r.saved?(yield r.spotifyApi.delete(`me/albums?ids=${n}`),r.saved=!1):(yield r.spotifyApi.put(`me/albums?ids=${n}`),r.saved=!0)}catch(o){console.error(o)}})()}static \u0275fac=function(r){return new(r||e)(ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-album-card","album",""]],inputs:{album:"album",saved:"saved",footer:"footer"},attrs:M3,decls:17,vars:8,consts:[[1,"card","text-white","bg-dark","mb-3","border-0"],["alt","Card image cap",1,"card-img-top",3,"src"],["data-toggle","buttons",1,"btn-group"],["ngxClipboard","",1,"btn","btn-dark",3,"cbContent"],[1,"oi","oi-clipboard"],[1,"btn","btn-success","btn-block",3,"click"],[1,"oi","oi-media-play"],["class","btn btn-secondary",3,"click",4,"ngIf"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"card-body"],[1,"card-title"],[1,"card-text"],[1,"text-muted","mr-2"],[4,"ngFor","ngForOf"],["class","card-footer text-muted",4,"ngIf"],[1,"btn","btn-secondary",3,"click"],[1,"oi","oi-heart"],[1,"btn","btn-danger",3,"click"],[1,"card-footer","text-muted"]],template:function(r,o){1&r&&(me(0,"div",0),nt(1,"img",1),me(2,"div",2)(3,"a",3),nt(4,"span",4),fe(),me(5,"a",5),En("click",function(){return o.play(o.album.uri)}),nt(6,"span",6),fe(),Ke(7,T3,2,0,"a",7)(8,R3,2,0,"a",8),fe(),me(9,"div",9)(10,"h5",10),Ye(11),fe(),me(12,"p",11)(13,"span",12),Ye(14),fe(),Ke(15,F3,2,1,"span",13),fe()(),Ke(16,N3,2,1,"div",14),fe()),2&r&&(Se(),ke("src",o.album.images[1].url,ks),Se(2),ke("cbContent",o.album.external_urls.spotify),Se(4),ke("ngIf",null!=o.saved&&!o.saved),Se(),ke("ngIf",null!=o.saved&&o.saved),Se(3),wr(o.album.name),Se(3),wr(o.album.release_date.split("-")[0]),Se(),ke("ngForOf",o.album.artists),Se(),ke("ngIf",o.footer))},dependencies:[Jr,Jn,Rw]})}return e})();function O3(e,t){if(1&e&&(me(0,"div",8),nt(1,"app-album-card",9),fe()),2&e){const n=t.$implicit;Se(),ke("album",n.album)("saved",!0)}}function P3(e,t){if(1&e){const n=Er();me(0,"div",1)(1,"div",2)(2,"p",3)(3,"button",4),En("click",function(){return hr(n),pr(ut().fetchAlbums())}),nt(4,"span",5),fe(),Ye(5),fe()(),me(6,"div",6),Ke(7,O3,2,2,"div",7),fe()()}if(2&e){const n=ut();Se(5),wn(" Select albums randomly among the ",null==n.spotifyApi.userInfo?null:n.spotifyApi.userInfo.savedAlbumCount," albums saved in your Spotify library. "),Se(2),ke("ngForOf",n.albums)}}let k3=(()=>{class e{spotifyApi;albums;constructor(n){this.spotifyApi=n,this.albums=[]}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.fetchAlbums()}fetchAlbums(){var n=this;return y(function*(){if(null==n.spotifyApi.userInfo)throw new Error("User should be connected to fetch albums.");let r=[];if(n.spotifyApi.userInfo.savedAlbumCount<=12)for(let o=0;o<12;o++)r.push(o);else{let o=0;for(;r.length<12&&o<24;){o++;const i=Math.floor(Math.random()*n.spotifyApi.userInfo.savedAlbumCount);r.includes(i)||r.push(i)}}n.albums=[];for(let o=0;o{class e{spotifyApi;albums;constructor(n){this.spotifyApi=n,this.albums=[]}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.fetchAlbums()}fetchAlbums(){var n=this;return y(function*(){if(null==n.spotifyApi.userInfo)throw new Error("User should be connected to fetch albums.");0==n.spotifyApi.userInfo.followedArtists.length&&(yield n.spotifyApi.refreshFollowedArtists()),n.albums=[];let r=[],o=0;for(;n.albums.length<12&&o<24;){o++;const i=Math.floor(Math.random()*n.spotifyApi.userInfo.followedArtists.length),s=n.spotifyApi.userInfo.followedArtists[i].id;let a=yield n.spotifyApi.getAlbums(s,!1);for(;a.length>0;){const c=Math.floor(Math.random()*a.length);if(!r.includes(a[c].id)){r.push(a[c].id),n.albums.push(a[c]);break}a.splice(c,1)}}})()}static \u0275fac=function(r){return new(r||e)(ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-artists"]],decls:1,vars:1,consts:[["class","m-2",4,"ngIf"],[1,"m-2"],[1,"input-group","m-3"],[1,"lead"],["type","button",1,"btn","btn-outline-secondary","mr-2",3,"click"],[1,"oi","oi-reload"],[1,"card-group"],["class","col-12 col-sm-6 col-md-4 col-lg-3 col-xl-2",4,"ngFor","ngForOf"],[1,"col-12","col-sm-6","col-md-4","col-lg-3","col-xl-2"],[3,"album","saved"]],template:function(r,o){1&r&&Ke(0,L3,8,2,"div",0),2&r&&ke("ngIf",o.spotifyApi.isAuthenticated())},dependencies:[Jr,Jn,za]})}return e})();function V3(e,t){if(1&e&&(me(0,"div",1),Ye(1),fe()),2&e){const n=ut();Se(),wn(" ",n.status,"\n")}}let Fw=(()=>{class e{router;route;spotifyApi;status="";constructor(n,r,o){this.router=n,this.route=r,this.spotifyApi=o}ngOnInit(){if(this.spotifyApi.isAuthenticated())return;let n=this.router.url;if(n.startsWith("/auth"))try{this.spotifyApi.askForCode("https://browsify.aallard.net/callback/")}catch(r){this.status=r}else n.startsWith("/callback")&&this.route.queryParamMap.subscribe(r=>{let o=r.get("state");const i=window.localStorage.getItem("authState");if(window.localStorage.removeItem("authState"),o!==i)return void(this.status="Invalid state. Authentication failed.");let s=r.get("error");if(null!==s)return void(this.status=`Authentication failed: ${s}`);let a=r.get("code");if(null!==a)try{this.spotifyApi.refreshTokenFromCode("https://browsify.aallard.net/callback/",a).then(()=>this.router.navigateByUrl("/"))}catch(c){this.status=c}})}static \u0275fac=function(r){return new(r||e)(ue(vn),ue(io),ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-authentication"]],decls:1,vars:1,consts:[["class","alert alert-danger m-5","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger","m-5"]],template:function(r,o){1&r&&Ke(0,V3,2,1,"div",0),2&r&&ke("ngIf",o.status)},dependencies:[Jn]})}return e})(),U3=(()=>{class e{spotifyApi;router;constructor(n,r){this.spotifyApi=n,this.router=r}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.router.navigateByUrl("albums")}static \u0275fac=function(r){return new(r||e)(ue(or),ue(vn))};static \u0275cmp=ln({type:e,selectors:[["app-home"]],decls:5,vars:0,consts:[[1,"jumbotron"],[1,"display-4"],[1,"lead"]],template:function(r,o){1&r&&(me(0,"div",0)(1,"h1",1),Ye(2,"Hello, fellow listener!"),fe(),me(3,"p",2),Ye(4,"Connect your Spotify account to start browsing your music randomly!"),fe()())}})}return e})();function $3(e,t){if(1&e&&(me(0,"div",19),nt(1,"app-album-card",20),fe()),2&e){const n=t.$implicit,r=t.index,o=ut(3);Se(),ke("album",n)("saved",o.albumsSaved[r])}}function H3(e,t){if(1&e&&(me(0,"div",17),Ke(1,$3,2,2,"div",18),fe()),2&e){const n=ut(2);Se(),ke("ngForOf",n.albums)}}function z3(e,t){if(1&e&&(me(0,"div",1)(1,"nav",2)(2,"ol",3)(3,"li",4)(4,"a",5),Ye(5,"Index"),fe()(),me(6,"li",6),Ye(7),fe()()(),me(8,"div",7)(9,"div",8),nt(10,"img",9),fe(),me(11,"div",10)(12,"div",7)(13,"h1",11),Ye(14),fe(),me(15,"div",12)(16,"a",13),nt(17,"span",14),fe()()(),me(18,"h3",7)(19,"small",15),Ye(20),fe()()()(),Ke(21,H3,2,1,"div",16),fe()),2&e){const n=ut();Se(7),wr(n.artist.name),Se(3),ke("src",n.artist.images[2].url,ks),Se(4),wn(" ",n.artist.name," "),Se(2),ke("cbContent",n.artist.external_urls.spotify),Se(4),wr(n.artist.genres.concat()),Se(),ke("ngIf",n.albums)}}let G3=(()=>{class e{spotifyApi;route;artist;albums;albumsSaved;constructor(n,r){this.spotifyApi=n,this.route=r,this.albumsSaved=[]}ngOnInit(){this.fetch()}fetch(){var n=this;return y(function*(){const r=n.route.snapshot.paramMap.get("id");if(null==r)return;let o=n.spotifyApi.get(`artists/${r}`),i=n.spotifyApi.getAlbums(r,void 0);n.artist=yield o,n.albums=yield i;let s="";for(let c=0;c["/index",e];function q3(e,t){if(1&e&&(me(0,"div",14)(1,"a",15),Ye(2),fe()()),2&e){const n=t.$implicit;Se(),ke("routerLink",ND(2,W3,n.id)),Se(),wr(n.name)}}function Z3(e,t){if(1&e&&(me(0,"div",11)(1,"h1",12),Ye(2),fe(),me(3,"div",2),Ke(4,q3,3,4,"div",13),fe()()),2&e){const n=t.$implicit;ke("id",n.name),Se(2),wr(n.name),Se(2),ke("ngForOf",n.artists)}}function Q3(e,t){if(1&e){const n=Er();me(0,"div",1)(1,"div",2)(2,"div",3)(3,"nav",4)(4,"ol",5)(5,"li",6),Ye(6,"Index"),fe()()()(),me(7,"div",7)(8,"button",8),En("click",function(){return hr(n),pr(ut().refreshIndex(!0))}),nt(9,"span",9),fe()()(),Ke(10,Z3,5,3,"div",10),fe()}if(2&e){const n=ut();Se(10),ke("ngForOf",n.categories)}}let Y3=(()=>{class e{spotifyApi;categories;constructor(n){this.spotifyApi=n,this.categories=[]}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.refreshIndex(!1)}refreshIndex(n){var r=this;return y(function*(){if(null==r.spotifyApi.userInfo)throw new Error("User should be connected to fetch albums.");(n||0==r.spotifyApi.userInfo.followedArtists.length)&&(yield r.spotifyApi.refreshFollowedArtists());var o=new RegExp(/^\d/);let i=Object.assign([],r.spotifyApi.userInfo.followedArtists);i.sort((a,c)=>{var u=o.test(a.name),l=o.test(c.name);return u&&!l?1:!u&&l?-1:a.name.localeCompare(c.name)}),console.log(i);let s=0;for(let a=65;a<88;a++){const c=String.fromCharCode(a);s=r.createCategory(c,i,s)}s=r.createCategory("X-Z",i,s),r.createCategory("#",i,s)})()}createCategory(n,r,o){let i=[],s=o;for(;s{class e{spotifyApi;albums;constructor(n){this.spotifyApi=n,this.albums=[]}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.fetchAlbums()}fetchAlbums(){var n=this;return y(function*(){if(null==n.spotifyApi.userInfo)throw new Error("User should be connected to fetch albums.");0==n.spotifyApi.userInfo.followedArtists.length&&(yield n.spotifyApi.refreshFollowedArtists()),n.albums=[];let r=[],o=0;for(;n.albums.length<12&&o<24;){o++;const i=Math.floor(Math.random()*n.spotifyApi.userInfo.followedArtists.length),s=n.spotifyApi.userInfo.followedArtists[i];let a=[];const c=yield n.spotifyApi.get(`artists/${s.id}/related-artists`);for(let f=0;f0;){const f=Math.floor(Math.random()*d.length);if(!r.includes(d[f].id)){r.push(d[f].id),n.albums.push(new tL(d[f],l,s));break}d.splice(f,1)}}})()}static \u0275fac=function(r){return new(r||e)(ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-related"]],decls:1,vars:1,consts:[["class","m-2",4,"ngIf"],[1,"m-2"],[1,"input-group","m-3"],[1,"lead"],["type","button",1,"btn","btn-outline-secondary","mr-2",3,"click"],[1,"oi","oi-reload"],[1,"card-group"],["class","col-12 col-sm-6 col-md-4 col-lg-3 col-xl-2",4,"ngFor","ngForOf"],[1,"col-12","col-sm-6","col-md-4","col-lg-3","col-xl-2"],[3,"album","saved","footer"]],template:function(r,o){1&r&&Ke(0,J3,8,2,"div",0),2&r&&ke("ngIf",o.spotifyApi.isAuthenticated())},dependencies:[Jr,Jn,za]})}return e})();class tL{album;artist;originArtist;constructor(t,n,r){this.album=t,this.artist=n,this.originArtist=r}getFooter(){return`related to ${this.originArtist.name}`}}function nL(e,t){if(1&e&&(me(0,"div",8),nt(1,"app-album-card",9),fe()),2&e){const n=t.$implicit,r=t.index,o=ut(2);Se(),ke("album",n)("saved",o.albumsSaved[r])}}function rL(e,t){if(1&e){const n=Er();me(0,"div",1)(1,"div",2)(2,"p",3)(3,"button",4),En("click",function(){return hr(n),pr(ut().fetchAlbums())}),nt(4,"span",5),fe(),Ye(5),fe()(),me(6,"div",6),Ke(7,nL,2,2,"div",7),fe()()}if(2&e){const n=ut();Se(5),wn(" Select albums randomly among the albums of the ",null==n.spotifyApi.userInfo?null:n.spotifyApi.userInfo.savedTrackCount," tracks saved in your Spotify library. "),Se(2),ke("ngForOf",n.albums)}}const oL=[{path:"",component:U3},{path:"auth",component:Fw},{path:"callback",component:Fw},{path:"tracks",component:(()=>{class e{spotifyApi;albums;albumsSaved;constructor(n){this.spotifyApi=n,this.albums=[],this.albumsSaved=[]}ngOnInit(){this.spotifyApi.isAuthenticated()&&this.fetchAlbums()}fetchAlbums(){var n=this;return y(function*(){if(null==n.spotifyApi.userInfo)throw new Error("User should be connected to fetch albums.");n.albums=[],n.albumsSaved=[];let r=[],o=0,i="";for(;r.length<12&&o<24;){o++;const a=Math.floor(Math.random()*n.spotifyApi.userInfo.savedTrackCount),u=(yield n.spotifyApi.get(`me/tracks?limit=1&offset=${a}`)).items[0].track.album;r.includes(u.id)||(n.albums.push(u),r.push(u.id),""!==i&&(i+=","),i+=u.id)}const s=yield n.spotifyApi.get(`me/albums/contains?ids=${i}`);n.albumsSaved=s})()}static \u0275fac=function(r){return new(r||e)(ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-tracks"]],decls:1,vars:1,consts:[["class","m-2",4,"ngIf"],[1,"m-2"],[1,"input-group","m-3"],[1,"lead"],["type","button",1,"btn","btn-outline-secondary","mr-2",3,"click"],[1,"oi","oi-reload"],[1,"card-group"],["class","col-12 col-sm-6 col-md-4 col-lg-3 col-xl-2",4,"ngFor","ngForOf"],[1,"col-12","col-sm-6","col-md-4","col-lg-3","col-xl-2"],[3,"album","saved"]],template:function(r,o){1&r&&Ke(0,rL,8,2,"div",0),2&r&&ke("ngIf",o.spotifyApi.isAuthenticated())},dependencies:[Jr,Jn,za]})}return e})()},{path:"albums",component:k3},{path:"artists",component:j3},{path:"related",component:eL},{path:"index",component:Y3},{path:"index/:id",component:G3}],iL={anchorScrolling:"enabled",scrollPositionRestoration:"enabled"};let sL=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=lr({type:e});static \u0275inj=Wn({imports:[Aw.forRoot(oL,iL),Aw]})}return e})();function aL(e,t){1&e&&nt(0,"img",22),2&e&&ke("src",ut(3).spotifyApi.userInfo.imageUrl,ks)}function cL(e,t){if(1&e&&(me(0,"span",20),Ke(1,aL,1,1,"img",21),Ye(2),fe()),2&e){const n=ut(2);Se(),ke("ngIf",n.spotifyApi.userInfo.imageUrl),Se(),wn(" ",n.spotifyApi.userInfo.name," ")}}function uL(e,t){if(1&e){const n=Er();wu(0,6),me(1,"button",7),nt(2,"span",8),fe(),me(3,"div",9)(4,"ul",10)(5,"li",11)(6,"a",12),Ye(7,"Artists"),fe()(),me(8,"li",11)(9,"a",13),Ye(10,"Albums"),fe()(),me(11,"li",11)(12,"a",14),Ye(13,"Tracks"),fe()(),me(14,"li",11)(15,"a",15),Ye(16,"Related"),fe()(),me(17,"li",11)(18,"a",16),Ye(19,"Index"),fe()()(),Ke(20,cL,3,2,"span",17),me(21,"button",18),En("click",function(){return hr(n),pr(ut().spotifyApi.disconnect())}),nt(22,"span",19),fe()(),bu()}if(2&e){const n=ut();Se(20),ke("ngIf",n.spotifyApi.userInfo)}}function lL(e,t){1&e&&(nt(0,"div",6),me(1,"button",23),Ye(2,"Connect"),fe())}let dL=(()=>{class e{spotifyApi;appVersion="0.5.5";constructor(n){this.spotifyApi=n}ngOnInit(){}static \u0275fac=function(r){return new(r||e)(ue(or))};static \u0275cmp=ln({type:e,selectors:[["app-header"]],decls:10,vars:3,consts:[[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark"],["routerLink","/",1,"navbar-brand"],["src","assets/logo.svg","width","40","height","40","alt","",1,"mr-2"],[1,"text-muted"],["class","container-fluid",4,"ngIf","ngIfElse"],["loggedOut",""],[1,"container-fluid"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"nav-item"],["routerLink","artists","routerLinkActive","active",1,"nav-link"],["routerLink","albums","routerLinkActive","active",1,"nav-link"],["routerLink","tracks","routerLinkActive","active",1,"nav-link"],["routerLink","related","routerLinkActive","active",1,"nav-link"],["routerLink","index","routerLinkActive","active",1,"nav-link"],["class","navbar-text mr-3",4,"ngIf"],[1,"btn","btn-outline-danger",3,"click"],["title","Disconnect",1,"oi","oi-power-standby"],[1,"navbar-text","mr-3"],["class","mr-2 circle-border","width","40","height","40","alt","",3,"src",4,"ngIf"],["width","40","height","40","alt","",1,"mr-2","circle-border",3,"src"],["routerLink","/auth",1,"btn","btn-outline-success"]],template:function(r,o){if(1&r&&(me(0,"nav",0)(1,"a",1),nt(2,"img",2),Ye(3," Browsify "),me(4,"span",3)(5,"small"),Ye(6),fe()()(),Ke(7,uL,23,1,"ng-container",4),fe(),Ke(8,lL,3,0,"ng-template",null,5,jD)),2&r){const i=function nD(e){return function Ko(e,t){return e[t]}(function mb(){return De.lFrame.contextLView}(),be+e)}(9);Se(6),wr(o.appVersion),Se(),ke("ngIf",o.spotifyApi.isAuthenticated())("ngIfElse",i)}},dependencies:[Jn,ls,xw],styles:[".circle-border[_ngcontent-%COMP%]{border-radius:50%}"]})}return e})(),fL=(()=>{class e{title="Browsify";constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ln({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(r,o){1&r&&nt(0,"app-header")(1,"router-outlet")},dependencies:[Q0,dL]})}return e})(),hL=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=lr({type:e,bootstrap:[fL]});static \u0275inj=Wn({imports:[vO,sL,FP,S3]})}return e})();gO().bootstrapModule(hL).catch(e=>console.error(e))},220:function(re,oe,N){var T;re.exports=(T=N(648),N(872),N(740),N(755),N(904),function(){var y=T,F=y.lib.BlockCipher,G=y.algo,A=[],L=[],h=[],D=[],_=[],v=[],b=[],m=[],w=[],E=[];!function(){for(var g=[],x=0;x<256;x++)g[x]=x<128?x<<1:x<<1^283;var O=0,S=0;for(x=0;x<256;x++){var k=S^S<<1^S<<2^S<<3^S<<4;A[O]=k=k>>>8^255&k^99,L[k]=O;var ee,B=g[O],ne=g[B],Z=g[ne];h[O]=(ee=257*g[k]^16843008*k)<<24|ee>>>8,D[O]=ee<<16|ee>>>16,_[O]=ee<<8|ee>>>24,v[O]=ee,b[k]=(ee=16843009*Z^65537*ne^257*B^16843008*O)<<24|ee>>>8,m[k]=ee<<16|ee>>>16,w[k]=ee<<8|ee>>>24,E[k]=ee,O?(O=B^g[g[g[Z^B]]],S^=g[g[S]]):O=S=1}}();var M=[0,1,2,4,8,16,32,64,128,27,54],R=G.AES=F.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var x=this._keyPriorReset=this._key,O=x.words,S=x.sigBytes/4,B=4*((this._nRounds=S+6)+1),ne=this._keySchedule=[],Z=0;Z6&&Z%S==4&&(g=A[g>>>24]<<24|A[g>>>16&255]<<16|A[g>>>8&255]<<8|A[255&g]):(g=A[(g=g<<8|g>>>24)>>>24]<<24|A[g>>>16&255]<<16|A[g>>>8&255]<<8|A[255&g],g^=M[Z/S|0]<<24),ne[Z]=ne[Z-S]^g);for(var ee=this._invKeySchedule=[],se=0;se>>24]]^m[A[g>>>16&255]]^w[A[g>>>8&255]]^E[A[255&g]]}}},encryptBlock:function(g,x){this._doCryptBlock(g,x,this._keySchedule,h,D,_,v,A)},decryptBlock:function(g,x){var O=g[x+1];g[x+1]=g[x+3],g[x+3]=O,this._doCryptBlock(g,x,this._invKeySchedule,b,m,w,E,L),O=g[x+1],g[x+1]=g[x+3],g[x+3]=O},_doCryptBlock:function(g,x,O,S,k,B,ne,Z){for(var ee=this._nRounds,se=g[x]^O[0],$=g[x+1]^O[1],te=g[x+2]^O[2],ae=g[x+3]^O[3],Q=4,ve=1;ve>>24]^k[$>>>16&255]^B[te>>>8&255]^ne[255&ae]^O[Q++],Ae=S[$>>>24]^k[te>>>16&255]^B[ae>>>8&255]^ne[255&se]^O[Q++],Ne=S[te>>>24]^k[ae>>>16&255]^B[se>>>8&255]^ne[255&$]^O[Q++],z=S[ae>>>24]^k[se>>>16&255]^B[$>>>8&255]^ne[255&te]^O[Q++];se=pe,$=Ae,te=Ne,ae=z}pe=(Z[se>>>24]<<24|Z[$>>>16&255]<<16|Z[te>>>8&255]<<8|Z[255&ae])^O[Q++],Ae=(Z[$>>>24]<<24|Z[te>>>16&255]<<16|Z[ae>>>8&255]<<8|Z[255&se])^O[Q++],Ne=(Z[te>>>24]<<24|Z[ae>>>16&255]<<16|Z[se>>>8&255]<<8|Z[255&$])^O[Q++],z=(Z[ae>>>24]<<24|Z[se>>>16&255]<<16|Z[$>>>8&255]<<8|Z[255&te])^O[Q++],g[x]=pe,g[x+1]=Ae,g[x+2]=Ne,g[x+3]=z},keySize:8});y.AES=F._createHelper(R)}(),T.AES)},920:function(re,oe,N){var T;re.exports=(T=N(648),N(872),N(740),N(755),N(904),function(){var y=T,F=y.lib.BlockCipher;const A=16,L=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],h=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var D={pbox:[],sbox:[]};function _(E,M){let S=E.sbox[0][M>>24&255]+E.sbox[1][M>>16&255];return S^=E.sbox[2][M>>8&255],S+=E.sbox[3][255&M],S}function v(E,M,R){let O,g=M,x=R;for(let S=0;S=R&&(g=0);let x=0,O=0,S=0;for(let k=0;k 1;--S)g^=E.pbox[S],x=_(E,g)^x,O=g,g=x,x=O;return O=g,g=x,x=O,x^=E.pbox[1],g^=E.pbox[0],{left:g,right:x}}(D,E[M],E[M+1]);E[M]=R.left,E[M+1]=R.right},blockSize:2,keySize:4,ivSize:2});y.Blowfish=F._createHelper(w)}(),T.Blowfish)},904:function(re,oe,N){var j,F,G,A,L,h,_,b,m,E,M,R,x,S,B,ne,ee,se,T;re.exports=(T=N(648),N(755),void(T.lib.Cipher||(j=T,F=j.lib,G=F.Base,A=F.WordArray,L=F.BufferedBlockAlgorithm,h=j.enc,_=h.Base64,b=j.algo.EvpKDF,m=F.Cipher=L.extend({cfg:G.extend(),createEncryptor:function($,te){return this.create(this._ENC_XFORM_MODE,$,te)},createDecryptor:function($,te){return this.create(this._DEC_XFORM_MODE,$,te)},init:function($,te,ae){this.cfg=this.cfg.extend(ae),this._xformMode=$,this._key=te,this.reset()},reset:function(){L.reset.call(this),this._doReset()},process:function($){return this._append($),this._process()},finalize:function($){return $&&this._append($),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function $(te){return"string"==typeof te?se:ne}return function(te){return{encrypt:function(ae,Q,ve){return $(Q).encrypt(te,ae,Q,ve)},decrypt:function(ae,Q,ve){return $(Q).decrypt(te,ae,Q,ve)}}}}()}),F.StreamCipher=m.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),E=j.mode={},M=F.BlockCipherMode=G.extend({createEncryptor:function($,te){return this.Encryptor.create($,te)},createDecryptor:function($,te){return this.Decryptor.create($,te)},init:function($,te){this._cipher=$,this._iv=te}}),R=E.CBC=function(){var $=M.extend();function te(ae,Q,ve){var pe,Ae=this._iv;Ae?(pe=Ae,this._iv=undefined):pe=this._prevBlock;for(var Ne=0;Ne>>2]}},F.BlockCipher=m.extend({cfg:m.cfg.extend({mode:R,padding:x}),reset:function(){var $;m.reset.call(this);var te=this.cfg,ae=te.iv,Q=te.mode;this._xformMode==this._ENC_XFORM_MODE?$=Q.createEncryptor:($=Q.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==$?this._mode.init(this,ae&&ae.words):(this._mode=$.call(Q,this,ae&&ae.words),this._mode.__creator=$)},_doProcessBlock:function($,te){this._mode.processBlock($,te)},_doFinalize:function(){var $,te=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(te.pad(this._data,this.blockSize),$=this._process(!0)):($=this._process(!0),te.unpad($)),$},blockSize:4}),S=F.CipherParams=G.extend({init:function($){this.mixIn($)},toString:function($){return($||this.formatter).stringify(this)}}),B=(j.format={}).OpenSSL={stringify:function($){var ae=$.ciphertext,Q=$.salt;return(Q?A.create([1398893684,1701076831]).concat(Q).concat(ae):ae).toString(_)},parse:function($){var te,ae=_.parse($),Q=ae.words;return 1398893684==Q[0]&&1701076831==Q[1]&&(te=A.create(Q.slice(2,4)),Q.splice(0,4),ae.sigBytes-=16),S.create({ciphertext:ae,salt:te})}},ne=F.SerializableCipher=G.extend({cfg:G.extend({format:B}),encrypt:function($,te,ae,Q){Q=this.cfg.extend(Q);var ve=$.createEncryptor(ae,Q),pe=ve.finalize(te),Ae=ve.cfg;return S.create({ciphertext:pe,key:ae,iv:Ae.iv,algorithm:$,mode:Ae.mode,padding:Ae.padding,blockSize:$.blockSize,formatter:Q.format})},decrypt:function($,te,ae,Q){return Q=this.cfg.extend(Q),te=this._parse(te,Q.format),$.createDecryptor(ae,Q).finalize(te.ciphertext)},_parse:function($,te){return"string"==typeof $?te.parse($,this):$}}),ee=(j.kdf={}).OpenSSL={execute:function($,te,ae,Q,ve){if(Q||(Q=A.random(8)),ve)var pe=b.create({keySize:te+ae,hasher:ve}).compute($,Q);else pe=b.create({keySize:te+ae}).compute($,Q);var Ae=A.create(pe.words.slice(te),4*ae);return pe.sigBytes=4*te,S.create({key:pe,iv:Ae,salt:Q})}},se=F.PasswordBasedCipher=ne.extend({cfg:ne.cfg.extend({kdf:ee}),encrypt:function($,te,ae,Q){var ve=(Q=this.cfg.extend(Q)).kdf.execute(ae,$.keySize,$.ivSize,Q.salt,Q.hasher);Q.iv=ve.iv;var pe=ne.encrypt.call(this,$,te,ve.key,Q);return pe.mixIn(ve),pe},decrypt:function($,te,ae,Q){Q=this.cfg.extend(Q),te=this._parse(te,Q.format);var ve=Q.kdf.execute(ae,$.keySize,$.ivSize,te.salt,Q.hasher);return Q.iv=ve.iv,ne.decrypt.call(this,$,te,ve.key,Q)}}))))},648:function(re,oe,N){var T;re.exports=(T=T||function(y,j){var F;if(typeof window<"u"&&window.crypto&&(F=window.crypto),typeof self<"u"&&self.crypto&&(F=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(F=globalThis.crypto),!F&&typeof window<"u"&&window.msCrypto&&(F=window.msCrypto),!F&&typeof global<"u"&&global.crypto&&(F=global.crypto),!F)try{F=N(392)}catch{}var G=function(){if(F){if("function"==typeof F.getRandomValues)try{return F.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof F.randomBytes)try{return F.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},A=Object.create||function(){function g(){}return function(x){var O;return g.prototype=x,O=new g,g.prototype=null,O}}(),L={},h=L.lib={},D=h.Base=function(){return{extend:function(g){var x=A(this);return g&&x.mixIn(g),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var x in g)g.hasOwnProperty(x)&&(this[x]=g[x]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=h.WordArray=D.extend({init:function(g,x){g=this.words=g||[],this.sigBytes=null!=x?x:4*g.length},toString:function(g){return(g||b).stringify(this)},concat:function(g){var x=this.words,O=g.words,S=this.sigBytes,k=g.sigBytes;if(this.clamp(),S%4)for(var B=0;B>>2]|=(O[B>>>2]>>>24-B%4*8&255)<<24-(S+B)%4*8;else for(var Z=0;Z>>2]=O[Z>>>2];return this.sigBytes+=k,this},clamp:function(){var g=this.words,x=this.sigBytes;g[x>>>2]&=4294967295<<32-x%4*8,g.length=y.ceil(x/4)},clone:function(){var g=D.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var x=[],O=0;O>>2]>>>24-k%4*8&255;S.push((B>>>4).toString(16)),S.push((15&B).toString(16))}return S.join("")},parse:function(g){for(var x=g.length,O=[],S=0;S>>3]|=parseInt(g.substr(S,2),16)<<24-S%8*4;return new _.init(O,x/2)}},m=v.Latin1={stringify:function(g){for(var x=g.words,O=g.sigBytes,S=[],k=0;k>>2]>>>24-k%4*8&255));return S.join("")},parse:function(g){for(var x=g.length,O=[],S=0;S>>2]|=(255&g.charCodeAt(S))<<24-S%4*8;return new _.init(O,x)}},w=v.Utf8={stringify:function(g){try{return decodeURIComponent(escape(m.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return m.parse(unescape(encodeURIComponent(g)))}},E=h.BufferedBlockAlgorithm=D.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(g){"string"==typeof g&&(g=w.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var x,O=this._data,S=O.words,k=O.sigBytes,B=this.blockSize,Z=k/(4*B),ee=(Z=g?y.ceil(Z):y.max((0|Z)-this._minBufferSize,0))*B,se=y.min(4*ee,k);if(ee){for(var $=0;$>>2]>>>24-m%4*8&255)<<16|(D[m+1>>>2]>>>24-(m+1)%4*8&255)<<8|D[m+2>>>2]>>>24-(m+2)%4*8&255,g=0;g<4&&m+.75*g<_;g++)b.push(v.charAt(R>>>6*(3-g)&63));var x=v.charAt(64);if(x)for(;b.length%4;)b.push(x);return b.join("")},parse:function(h){var D=h.length,_=this._map,v=this._reverseMap;if(!v){v=this._reverseMap=[];for(var b=0;b<_.length;b++)v[_.charCodeAt(b)]=b}var m=_.charAt(64);if(m){var w=h.indexOf(m);-1!==w&&(D=w)}return function L(h,D,_){for(var v=[],b=0,m=0;m>>6-m%4*2;v[b>>>2]|=(w|E)<<24-b%4*8,b++}return F.create(v,b)}(h,D,v)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},T.enc.Base64)},188:function(re,oe,N){var T,F;re.exports=(T=N(648),F=T.lib.WordArray,T.enc.Base64url={stringify:function(h,D){void 0===D&&(D=!0);var _=h.words,v=h.sigBytes,b=D?this._safe_map:this._map;h.clamp();for(var m=[],w=0;w>>2]>>>24-w%4*8&255)<<16|(_[w+1>>>2]>>>24-(w+1)%4*8&255)<<8|_[w+2>>>2]>>>24-(w+2)%4*8&255,x=0;x<4&&w+.75*x>>6*(3-x)&63));var O=b.charAt(64);if(O)for(;m.length%4;)m.push(O);return m.join("")},parse:function(h,D){void 0===D&&(D=!0);var _=h.length,v=D?this._safe_map:this._map,b=this._reverseMap;if(!b){b=this._reverseMap=[];for(var m=0;m>>6-m%4*2;v[b>>>2]|=(w|E)<<24-b%4*8,b++}return F.create(v,b)}(h,_,b)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},T.enc.Base64url)},316:function(re,oe,N){var T;re.exports=(T=N(648),function(){var F=T.lib.WordArray,G=T.enc;function L(h){return h<<8&4278255360|h>>>8&16711935}G.Utf16=G.Utf16BE={stringify:function(h){for(var D=h.words,_=h.sigBytes,v=[],b=0;b<_;b+=2)v.push(String.fromCharCode(D[b>>>2]>>>16-b%4*8&65535));return v.join("")},parse:function(h){for(var D=h.length,_=[],v=0;v>>1]|=h.charCodeAt(v)<<16-v%2*16;return F.create(_,2*D)}},G.Utf16LE={stringify:function(h){for(var D=h.words,_=h.sigBytes,v=[],b=0;b<_;b+=2){var m=L(D[b>>>2]>>>16-b%4*8&65535);v.push(String.fromCharCode(m))}return v.join("")},parse:function(h){for(var D=h.length,_=[],v=0;v>>1]|=L(h.charCodeAt(v)<<16-v%2*16);return F.create(_,2*D)}}}(),T.enc.Utf16)},755:function(re,oe,N){var y,j,F,G,A,h,T;re.exports=(T=N(648),N(488),N(0),G=(j=(y=T).lib).WordArray,h=(A=y.algo).EvpKDF=(F=j.Base).extend({cfg:F.extend({keySize:4,hasher:A.MD5,iterations:1}),init:function(D){this.cfg=this.cfg.extend(D)},compute:function(D,_){for(var v,b=this.cfg,m=b.hasher.create(),w=G.create(),E=w.words,M=b.keySize,R=b.iterations;E.lengthb&&(_=D.finalize(_)),_.clamp();for(var m=this._oKey=_.clone(),w=this._iKey=_.clone(),E=m.words,M=w.words,R=0;R>>2]|=L[_]<<24-_%4*8;G.call(this,D,h)}else G.apply(this,arguments)};A.prototype=F}}(),T.lib.WordArray)},740:function(re,oe,N){var T;re.exports=(T=N(648),function(y){var j=T,F=j.lib,G=F.WordArray,A=F.Hasher,L=j.algo,h=[];!function(){for(var w=0;w<64;w++)h[w]=4294967296*y.abs(y.sin(w+1))|0}();var D=L.MD5=A.extend({_doReset:function(){this._hash=new G.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(w,E){for(var M=0;M<16;M++){var R=E+M,g=w[R];w[R]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var x=this._hash.words,O=w[E+0],S=w[E+1],k=w[E+2],B=w[E+3],ne=w[E+4],Z=w[E+5],ee=w[E+6],se=w[E+7],$=w[E+8],te=w[E+9],ae=w[E+10],Q=w[E+11],ve=w[E+12],pe=w[E+13],Ae=w[E+14],Ne=w[E+15],z=x[0],q=x[1],Y=x[2],W=x[3];z=_(z,q,Y,W,O,7,h[0]),W=_(W,z,q,Y,S,12,h[1]),Y=_(Y,W,z,q,k,17,h[2]),q=_(q,Y,W,z,B,22,h[3]),z=_(z,q,Y,W,ne,7,h[4]),W=_(W,z,q,Y,Z,12,h[5]),Y=_(Y,W,z,q,ee,17,h[6]),q=_(q,Y,W,z,se,22,h[7]),z=_(z,q,Y,W,$,7,h[8]),W=_(W,z,q,Y,te,12,h[9]),Y=_(Y,W,z,q,ae,17,h[10]),q=_(q,Y,W,z,Q,22,h[11]),z=_(z,q,Y,W,ve,7,h[12]),W=_(W,z,q,Y,pe,12,h[13]),Y=_(Y,W,z,q,Ae,17,h[14]),z=v(z,q=_(q,Y,W,z,Ne,22,h[15]),Y,W,S,5,h[16]),W=v(W,z,q,Y,ee,9,h[17]),Y=v(Y,W,z,q,Q,14,h[18]),q=v(q,Y,W,z,O,20,h[19]),z=v(z,q,Y,W,Z,5,h[20]),W=v(W,z,q,Y,ae,9,h[21]),Y=v(Y,W,z,q,Ne,14,h[22]),q=v(q,Y,W,z,ne,20,h[23]),z=v(z,q,Y,W,te,5,h[24]),W=v(W,z,q,Y,Ae,9,h[25]),Y=v(Y,W,z,q,B,14,h[26]),q=v(q,Y,W,z,$,20,h[27]),z=v(z,q,Y,W,pe,5,h[28]),W=v(W,z,q,Y,k,9,h[29]),Y=v(Y,W,z,q,se,14,h[30]),z=b(z,q=v(q,Y,W,z,ve,20,h[31]),Y,W,Z,4,h[32]),W=b(W,z,q,Y,$,11,h[33]),Y=b(Y,W,z,q,Q,16,h[34]),q=b(q,Y,W,z,Ae,23,h[35]),z=b(z,q,Y,W,S,4,h[36]),W=b(W,z,q,Y,ne,11,h[37]),Y=b(Y,W,z,q,se,16,h[38]),q=b(q,Y,W,z,ae,23,h[39]),z=b(z,q,Y,W,pe,4,h[40]),W=b(W,z,q,Y,O,11,h[41]),Y=b(Y,W,z,q,B,16,h[42]),q=b(q,Y,W,z,ee,23,h[43]),z=b(z,q,Y,W,te,4,h[44]),W=b(W,z,q,Y,ve,11,h[45]),Y=b(Y,W,z,q,Ne,16,h[46]),z=m(z,q=b(q,Y,W,z,k,23,h[47]),Y,W,O,6,h[48]),W=m(W,z,q,Y,se,10,h[49]),Y=m(Y,W,z,q,Ae,15,h[50]),q=m(q,Y,W,z,Z,21,h[51]),z=m(z,q,Y,W,ve,6,h[52]),W=m(W,z,q,Y,B,10,h[53]),Y=m(Y,W,z,q,ae,15,h[54]),q=m(q,Y,W,z,S,21,h[55]),z=m(z,q,Y,W,$,6,h[56]),W=m(W,z,q,Y,Ne,10,h[57]),Y=m(Y,W,z,q,ee,15,h[58]),q=m(q,Y,W,z,pe,21,h[59]),z=m(z,q,Y,W,ne,6,h[60]),W=m(W,z,q,Y,Q,10,h[61]),Y=m(Y,W,z,q,k,15,h[62]),q=m(q,Y,W,z,te,21,h[63]),x[0]=x[0]+z|0,x[1]=x[1]+q|0,x[2]=x[2]+Y|0,x[3]=x[3]+W|0},_doFinalize:function(){var w=this._data,E=w.words,M=8*this._nDataBytes,R=8*w.sigBytes;E[R>>>5]|=128<<24-R%32;var g=y.floor(M/4294967296),x=M;E[15+(R+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),E[14+(R+64>>>9<<4)]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8),w.sigBytes=4*(E.length+1),this._process();for(var O=this._hash,S=O.words,k=0;k<4;k++){var B=S[k];S[k]=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8)}return O},clone:function(){var w=A.clone.call(this);return w._hash=this._hash.clone(),w}});function _(w,E,M,R,g,x,O){var S=w+(E&M|~E&R)+g+O;return(S<>>32-x)+E}function v(w,E,M,R,g,x,O){var S=w+(E&R|M&~R)+g+O;return(S<>>32-x)+E}function b(w,E,M,R,g,x,O){var S=w+(E^M^R)+g+O;return(S<>>32-x)+E}function m(w,E,M,R,g,x,O){var S=w+(M^(E|~R))+g+O;return(S<>>32-x)+E}j.MD5=A._createHelper(D),j.HmacMD5=A._createHmacHelper(D)}(Math),T.MD5)},436:function(re,oe,N){var T;re.exports=(T=N(648),N(904),T.mode.CFB=function(){var y=T.lib.BlockCipherMode.extend();function j(F,G,A,L){var h,D=this._iv;D?(h=D.slice(0),this._iv=void 0):h=this._prevBlock,L.encryptBlock(h,0);for(var _=0;_>24&255)){var L=A>>16&255,h=A>>8&255,D=255&A;255===L?(L=0,255===h?(h=0,255===D?D=0:++D):++h):++L,A=0,A+=L<<16,A+=h<<8,A+=D}else A+=1<<24;return A}var G=y.Encryptor=y.extend({processBlock:function(A,L){var h=this._cipher,D=h.blockSize,_=this._iv,v=this._counter;_&&(v=this._counter=_.slice(0),this._iv=void 0),function F(A){return 0===(A[0]=j(A[0]))&&(A[1]=j(A[1])),A}(v);var b=v.slice(0);h.encryptBlock(b,0);for(var m=0;m>>2]|=A<<24-L%4*8,y.sigBytes+=A},unpad:function(y){y.sigBytes-=255&y.words[y.sigBytes-1>>>2]}},T.pad.Ansix923)},824:function(re,oe,N){var T;re.exports=(T=N(648),N(904),T.pad.Iso10126={pad:function(y,j){var F=4*j,G=F-y.sigBytes%F;y.concat(T.lib.WordArray.random(G-1)).concat(T.lib.WordArray.create([G<<24],1))},unpad:function(y){y.sigBytes-=255&y.words[y.sigBytes-1>>>2]}},T.pad.Iso10126)},236:function(re,oe,N){var T;re.exports=(T=N(648),N(904),T.pad.Iso97971={pad:function(y,j){y.concat(T.lib.WordArray.create([2147483648],1)),T.pad.ZeroPadding.pad(y,j)},unpad:function(y){T.pad.ZeroPadding.unpad(y),y.sigBytes--}},T.pad.Iso97971)},968:function(re,oe,N){var T;re.exports=(T=N(648),N(904),T.pad.NoPadding={pad:function(){},unpad:function(){}},T.pad.NoPadding)},632:function(re,oe,N){var T;re.exports=(T=N(648),N(904),T.pad.ZeroPadding={pad:function(y,j){var F=4*j;y.clamp(),y.sigBytes+=F-(y.sigBytes%F||F)},unpad:function(y){var j=y.words,F=y.sigBytes-1;for(F=y.sigBytes-1;F>=0;F--)if(j[F>>>2]>>>24-F%4*8&255){y.sigBytes=F+1;break}}},T.pad.ZeroPadding)},760:function(re,oe,N){var y,j,F,G,A,h,D,T;re.exports=(T=N(648),N(504),N(0),G=(j=(y=T).lib).WordArray,h=(A=y.algo).HMAC,D=A.PBKDF2=(F=j.Base).extend({cfg:F.extend({keySize:4,hasher:A.SHA256,iterations:25e4}),init:function(_){this.cfg=this.cfg.extend(_)},compute:function(_,v){for(var b=this.cfg,m=h.create(b.hasher,_),w=G.create(),E=G.create([1]),M=w.words,R=E.words,g=b.keySize,x=b.iterations;M.length>>16,v[1],v[0]<<16|v[3]>>>16,v[2],v[1]<<16|v[0]>>>16,v[3],v[2]<<16|v[1]>>>16],w=this._C=[v[2]<<16|v[2]>>>16,4294901760&v[0]|65535&v[1],v[3]<<16|v[3]>>>16,4294901760&v[1]|65535&v[2],v[0]<<16|v[0]>>>16,4294901760&v[2]|65535&v[3],v[1]<<16|v[1]>>>16,4294901760&v[3]|65535&v[0]];this._b=0;for(var E=0;E<4;E++)_.call(this);for(E=0;E<8;E++)w[E]^=m[E+4&7];if(b){var M=b.words,R=M[0],g=M[1],x=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),O=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),S=x>>>16|4294901760&O,k=O<<16|65535&x;for(w[0]^=x,w[1]^=S,w[2]^=O,w[3]^=k,w[4]^=x,w[5]^=S,w[6]^=O,w[7]^=k,E=0;E<4;E++)_.call(this)}},_doProcessBlock:function(v,b){var m=this._X;_.call(this),A[0]=m[0]^m[5]>>>16^m[3]<<16,A[1]=m[2]^m[7]>>>16^m[5]<<16,A[2]=m[4]^m[1]>>>16^m[7]<<16,A[3]=m[6]^m[3]>>>16^m[1]<<16;for(var w=0;w<4;w++)A[w]=16711935&(A[w]<<8|A[w]>>>24)|4278255360&(A[w]<<24|A[w]>>>8),v[b+w]^=A[w]},blockSize:4,ivSize:2});function _(){for(var v=this._X,b=this._C,m=0;m<8;m++)L[m]=b[m];for(b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0,m=0;m<8;m++){var w=v[m]+b[m],E=65535&w,M=w>>>16;h[m]=((E*E>>>17)+E*M>>>15)+M*M^((4294901760&w)*w|0)+((65535&w)*w|0)}v[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,v[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,v[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,v[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,v[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,v[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,v[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,v[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}y.RabbitLegacy=F._createHelper(D)}(),T.RabbitLegacy)},104:function(re,oe,N){var T;re.exports=(T=N(648),N(872),N(740),N(755),N(904),function(){var y=T,F=y.lib.StreamCipher,A=[],L=[],h=[],D=y.algo.Rabbit=F.extend({_doReset:function(){for(var v=this._key.words,b=this.cfg.iv,m=0;m<4;m++)v[m]=16711935&(v[m]<<8|v[m]>>>24)|4278255360&(v[m]<<24|v[m]>>>8);var w=this._X=[v[0],v[3]<<16|v[2]>>>16,v[1],v[0]<<16|v[3]>>>16,v[2],v[1]<<16|v[0]>>>16,v[3],v[2]<<16|v[1]>>>16],E=this._C=[v[2]<<16|v[2]>>>16,4294901760&v[0]|65535&v[1],v[3]<<16|v[3]>>>16,4294901760&v[1]|65535&v[2],v[0]<<16|v[0]>>>16,4294901760&v[2]|65535&v[3],v[1]<<16|v[1]>>>16,4294901760&v[3]|65535&v[0]];for(this._b=0,m=0;m<4;m++)_.call(this);for(m=0;m<8;m++)E[m]^=w[m+4&7];if(b){var M=b.words,R=M[0],g=M[1],x=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),O=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),S=x>>>16|4294901760&O,k=O<<16|65535&x;for(E[0]^=x,E[1]^=S,E[2]^=O,E[3]^=k,E[4]^=x,E[5]^=S,E[6]^=O,E[7]^=k,m=0;m<4;m++)_.call(this)}},_doProcessBlock:function(v,b){var m=this._X;_.call(this),A[0]=m[0]^m[5]>>>16^m[3]<<16,A[1]=m[2]^m[7]>>>16^m[5]<<16,A[2]=m[4]^m[1]>>>16^m[7]<<16,A[3]=m[6]^m[3]>>>16^m[1]<<16;for(var w=0;w<4;w++)A[w]=16711935&(A[w]<<8|A[w]>>>24)|4278255360&(A[w]<<24|A[w]>>>8),v[b+w]^=A[w]},blockSize:4,ivSize:2});function _(){for(var v=this._X,b=this._C,m=0;m<8;m++)L[m]=b[m];for(b[0]=b[0]+1295307597+this._b|0,b[1]=b[1]+3545052371+(b[0]>>>0>>0?1:0)|0,b[2]=b[2]+886263092+(b[1]>>>0>>0?1:0)|0,b[3]=b[3]+1295307597+(b[2]>>>0>>0?1:0)|0,b[4]=b[4]+3545052371+(b[3]>>>0>>0?1:0)|0,b[5]=b[5]+886263092+(b[4]>>>0>>0?1:0)|0,b[6]=b[6]+1295307597+(b[5]>>>0>>0?1:0)|0,b[7]=b[7]+3545052371+(b[6]>>>0>>0?1:0)|0,this._b=b[7]>>>0>>0?1:0,m=0;m<8;m++){var w=v[m]+b[m],E=65535&w,M=w>>>16;h[m]=((E*E>>>17)+E*M>>>15)+M*M^((4294901760&w)*w|0)+((65535&w)*w|0)}v[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,v[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,v[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,v[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,v[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,v[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,v[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,v[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}y.Rabbit=F._createHelper(D)}(),T.Rabbit)},868:function(re,oe,N){var T;re.exports=(T=N(648),N(872),N(740),N(755),N(904),function(){var y=T,F=y.lib.StreamCipher,G=y.algo,A=G.RC4=F.extend({_doReset:function(){for(var D=this._key,_=D.words,v=D.sigBytes,b=this._S=[],m=0;m<256;m++)b[m]=m;m=0;for(var w=0;m<256;m++){var E=m%v,R=b[m];b[m]=b[w=(w+b[m]+(_[E>>>2]>>>24-E%4*8&255))%256],b[w]=R}this._i=this._j=0},_doProcessBlock:function(D,_){D[_]^=L.call(this)},keySize:8,ivSize:0});function L(){for(var D=this._S,_=this._i,v=this._j,b=0,m=0;m<4;m++){var w=D[_=(_+1)%256];D[_]=D[v=(v+D[_])%256],D[v]=w,b|=D[(D[_]+D[v])%256]<<24-8*m}return this._i=_,this._j=v,b}y.RC4=F._createHelper(A);var h=G.RC4Drop=A.extend({cfg:A.cfg.extend({drop:192}),_doReset:function(){A._doReset.call(this);for(var D=this.cfg.drop;D>0;D--)L.call(this)}});y.RC4Drop=F._createHelper(h)}(),T.RC4)},196:function(re,oe,N){var T;re.exports=(T=N(648),function(y){var j=T,F=j.lib,G=F.WordArray,A=F.Hasher,L=j.algo,h=G.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),D=G.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),_=G.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),v=G.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),b=G.create([0,1518500249,1859775393,2400959708,2840853838]),m=G.create([1352829926,1548603684,1836072691,2053994217,0]),w=L.RIPEMD160=A.extend({_doReset:function(){this._hash=G.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(S,k){for(var B=0;B<16;B++){var ne=k+B,Z=S[ne];S[ne]=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8)}var pe,Ae,Ne,z,q,Y,W,st,Ze,Gt,Te,ee=this._hash.words,se=b.words,$=m.words,te=h.words,ae=D.words,Q=_.words,ve=v.words;for(Y=pe=ee[0],W=Ae=ee[1],st=Ne=ee[2],Ze=z=ee[3],Gt=q=ee[4],B=0;B<80;B+=1)Te=pe+S[k+te[B]]|0,Te+=B<16?E(Ae,Ne,z)+se[0]:B<32?M(Ae,Ne,z)+se[1]:B<48?R(Ae,Ne,z)+se[2]:B<64?g(Ae,Ne,z)+se[3]:x(Ae,Ne,z)+se[4],Te=(Te=O(Te|=0,Q[B]))+q|0,pe=q,q=z,z=O(Ne,10),Ne=Ae,Ae=Te,Te=Y+S[k+ae[B]]|0,Te+=B<16?x(W,st,Ze)+$[0]:B<32?g(W,st,Ze)+$[1]:B<48?R(W,st,Ze)+$[2]:B<64?M(W,st,Ze)+$[3]:E(W,st,Ze)+$[4],Te=(Te=O(Te|=0,ve[B]))+Gt|0,Y=Gt,Gt=Ze,Ze=O(st,10),st=W,W=Te;Te=ee[1]+Ne+Ze|0,ee[1]=ee[2]+z+Gt|0,ee[2]=ee[3]+q+Y|0,ee[3]=ee[4]+pe+W|0,ee[4]=ee[0]+Ae+st|0,ee[0]=Te},_doFinalize:function(){var S=this._data,k=S.words,B=8*this._nDataBytes,ne=8*S.sigBytes;k[ne>>>5]|=128<<24-ne%32,k[14+(ne+64>>>9<<4)]=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),S.sigBytes=4*(k.length+1),this._process();for(var Z=this._hash,ee=Z.words,se=0;se<5;se++){var $=ee[se];ee[se]=16711935&($<<8|$>>>24)|4278255360&($<<24|$>>>8)}return Z},clone:function(){var S=A.clone.call(this);return S._hash=this._hash.clone(),S}});function E(S,k,B){return S^k^B}function M(S,k,B){return S&k|~S&B}function R(S,k,B){return(S|~k)^B}function g(S,k,B){return S&B|k&~B}function x(S,k,B){return S^(k|~B)}function O(S,k){return S<>>32-k}j.RIPEMD160=A._createHelper(w),j.HmacRIPEMD160=A._createHmacHelper(w)}(Math),T.RIPEMD160)},488:function(re,oe,N){var y,j,F,G,L,h,T;re.exports=(T=N(648),F=(j=(y=T).lib).WordArray,L=[],h=y.algo.SHA1=(G=j.Hasher).extend({_doReset:function(){this._hash=new F.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(D,_){for(var v=this._hash.words,b=v[0],m=v[1],w=v[2],E=v[3],M=v[4],R=0;R<80;R++){if(R<16)L[R]=0|D[_+R];else{var g=L[R-3]^L[R-8]^L[R-14]^L[R-16];L[R]=g<<1|g>>>31}var x=(b<<5|b>>>27)+M+L[R];x+=R<20?1518500249+(m&w|~m&E):R<40?1859775393+(m^w^E):R<60?(m&w|m&E|w&E)-1894007588:(m^w^E)-899497514,M=E,E=w,w=m<<30|m>>>2,m=b,b=x}v[0]=v[0]+b|0,v[1]=v[1]+m|0,v[2]=v[2]+w|0,v[3]=v[3]+E|0,v[4]=v[4]+M|0},_doFinalize:function(){var D=this._data,_=D.words,v=8*this._nDataBytes,b=8*D.sigBytes;return _[b>>>5]|=128<<24-b%32,_[14+(b+64>>>9<<4)]=Math.floor(v/4294967296),_[15+(b+64>>>9<<4)]=v,D.sigBytes=4*_.length,this._process(),this._hash},clone:function(){var D=G.clone.call(this);return D._hash=this._hash.clone(),D}}),y.SHA1=G._createHelper(h),y.HmacSHA1=G._createHmacHelper(h),T.SHA1)},576:function(re,oe,N){var y,F,G,A,L,T;re.exports=(T=N(648),N(504),F=(y=T).lib.WordArray,L=(G=y.algo).SHA224=(A=G.SHA256).extend({_doReset:function(){this._hash=new F.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var h=A._doFinalize.call(this);return h.sigBytes-=4,h}}),y.SHA224=A._createHelper(L),y.HmacSHA224=A._createHmacHelper(L),T.SHA224)},504:function(re,oe,N){var T;re.exports=(T=N(648),function(y){var j=T,F=j.lib,G=F.WordArray,A=F.Hasher,L=j.algo,h=[],D=[];!function(){function b(M){for(var R=y.sqrt(M),g=2;g<=R;g++)if(!(M%g))return!1;return!0}function m(M){return 4294967296*(M-(0|M))|0}for(var w=2,E=0;E<64;)b(w)&&(E<8&&(h[E]=m(y.pow(w,.5))),D[E]=m(y.pow(w,1/3)),E++),w++}();var _=[],v=L.SHA256=A.extend({_doReset:function(){this._hash=new G.init(h.slice(0))},_doProcessBlock:function(b,m){for(var w=this._hash.words,E=w[0],M=w[1],R=w[2],g=w[3],x=w[4],O=w[5],S=w[6],k=w[7],B=0;B<64;B++){if(B<16)_[B]=0|b[m+B];else{var ne=_[B-15],ee=_[B-2];_[B]=((ne<<25|ne>>>7)^(ne<<14|ne>>>18)^ne>>>3)+_[B-7]+((ee<<15|ee>>>17)^(ee<<13|ee>>>19)^ee>>>10)+_[B-16]}var te=E&M^E&R^M&R,ve=k+((x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25))+(x&O^~x&S)+D[B]+_[B];k=S,S=O,O=x,x=g+ve|0,g=R,R=M,M=E,E=ve+(((E<<30|E>>>2)^(E<<19|E>>>13)^(E<<10|E>>>22))+te)|0}w[0]=w[0]+E|0,w[1]=w[1]+M|0,w[2]=w[2]+R|0,w[3]=w[3]+g|0,w[4]=w[4]+x|0,w[5]=w[5]+O|0,w[6]=w[6]+S|0,w[7]=w[7]+k|0},_doFinalize:function(){var b=this._data,m=b.words,w=8*this._nDataBytes,E=8*b.sigBytes;return m[E>>>5]|=128<<24-E%32,m[14+(E+64>>>9<<4)]=y.floor(w/4294967296),m[15+(E+64>>>9<<4)]=w,b.sigBytes=4*m.length,this._process(),this._hash},clone:function(){var b=A.clone.call(this);return b._hash=this._hash.clone(),b}});j.SHA256=A._createHelper(v),j.HmacSHA256=A._createHmacHelper(v)}(Math),T.SHA256)},808:function(re,oe,N){var T;re.exports=(T=N(648),N(744),function(y){var j=T,F=j.lib,G=F.WordArray,A=F.Hasher,h=j.x64.Word,D=j.algo,_=[],v=[],b=[];!function(){for(var E=1,M=0,R=0;R<24;R++){_[E+5*M]=(R+1)*(R+2)/2%64;var x=(2*E+3*M)%5;E=M%5,M=x}for(E=0;E<5;E++)for(M=0;M<5;M++)v[E+5*M]=M+(2*E+3*M)%5*5;for(var O=1,S=0;S<24;S++){for(var k=0,B=0,ne=0;ne<7;ne++){if(1&O){var Z=(1<>>24)|4278255360&(O<<24|O>>>8),(k=R[x]).high^=S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),k.low^=O}for(var B=0;B<24;B++){for(var ne=0;ne<5;ne++){for(var Z=0,ee=0,se=0;se<5;se++)Z^=(k=R[ne+5*se]).high,ee^=k.low;var $=m[ne];$.high=Z,$.low=ee}for(ne=0;ne<5;ne++){var te=m[(ne+4)%5],ae=m[(ne+1)%5],Q=ae.high,ve=ae.low;for(Z=te.high^(Q<<1|ve>>>31),ee=te.low^(ve<<1|Q>>>31),se=0;se<5;se++)(k=R[ne+5*se]).high^=Z,k.low^=ee}for(var pe=1;pe<25;pe++){var Ae=(k=R[pe]).high,Ne=k.low,z=_[pe];z<32?(Z=Ae<>>32-z,ee=Ne<>>32-z):(Z=Ne<>>64-z,ee=Ae<>>64-z);var q=m[v[pe]];q.high=Z,q.low=ee}var Y=m[0],W=R[0];for(Y.high=W.high,Y.low=W.low,ne=0;ne<5;ne++)for(se=0;se<5;se++){var st=m[pe=ne+5*se],Ze=m[(ne+1)%5+5*se],Gt=m[(ne+2)%5+5*se];(k=R[pe]).high=st.high^~Ze.high&Gt.high,k.low=st.low^~Ze.low&Gt.low}var k,Te=b[B];(k=R[0]).high^=Te.high,k.low^=Te.low}},_doFinalize:function(){var E=this._data,M=E.words,g=8*E.sigBytes,x=32*this.blockSize;M[g>>>5]|=1<<24-g%32,M[(y.ceil((g+1)/x)*x>>>5)-1]|=128,E.sigBytes=4*M.length,this._process();for(var O=this._state,S=this.cfg.outputLength/8,k=S/8,B=[],ne=0;ne>>24)|4278255360&(ee<<24|ee>>>8),B.push(se=16711935&(se<<8|se>>>24)|4278255360&(se<<24|se>>>8)),B.push(ee)}return new G.init(B,S)},clone:function(){for(var E=A.clone.call(this),M=E._state=this._state.slice(0),R=0;R<25;R++)M[R]=M[R].clone();return E}});j.SHA3=A._createHelper(w),j.HmacSHA3=A._createHmacHelper(w)}(Math),T.SHA3)},712:function(re,oe,N){var y,j,F,G,A,L,h,T;re.exports=(T=N(648),N(744),N(348),F=(j=(y=T).x64).Word,G=j.WordArray,h=(A=y.algo).SHA384=(L=A.SHA512).extend({_doReset:function(){this._hash=new G.init([new F.init(3418070365,3238371032),new F.init(1654270250,914150663),new F.init(2438529370,812702999),new F.init(355462360,4144912697),new F.init(1731405415,4290775857),new F.init(2394180231,1750603025),new F.init(3675008525,1694076839),new F.init(1203062813,3204075428)])},_doFinalize:function(){var D=L._doFinalize.call(this);return D.sigBytes-=16,D}}),y.SHA384=L._createHelper(h),y.HmacSHA384=L._createHmacHelper(h),T.SHA384)},348:function(re,oe,N){var T;re.exports=(T=N(648),N(744),function(){var y=T,F=y.lib.Hasher,G=y.x64,A=G.Word,L=G.WordArray,h=y.algo;function D(){return A.create.apply(A,arguments)}var _=[D(1116352408,3609767458),D(1899447441,602891725),D(3049323471,3964484399),D(3921009573,2173295548),D(961987163,4081628472),D(1508970993,3053834265),D(2453635748,2937671579),D(2870763221,3664609560),D(3624381080,2734883394),D(310598401,1164996542),D(607225278,1323610764),D(1426881987,3590304994),D(1925078388,4068182383),D(2162078206,991336113),D(2614888103,633803317),D(3248222580,3479774868),D(3835390401,2666613458),D(4022224774,944711139),D(264347078,2341262773),D(604807628,2007800933),D(770255983,1495990901),D(1249150122,1856431235),D(1555081692,3175218132),D(1996064986,2198950837),D(2554220882,3999719339),D(2821834349,766784016),D(2952996808,2566594879),D(3210313671,3203337956),D(3336571891,1034457026),D(3584528711,2466948901),D(113926993,3758326383),D(338241895,168717936),D(666307205,1188179964),D(773529912,1546045734),D(1294757372,1522805485),D(1396182291,2643833823),D(1695183700,2343527390),D(1986661051,1014477480),D(2177026350,1206759142),D(2456956037,344077627),D(2730485921,1290863460),D(2820302411,3158454273),D(3259730800,3505952657),D(3345764771,106217008),D(3516065817,3606008344),D(3600352804,1432725776),D(4094571909,1467031594),D(275423344,851169720),D(430227734,3100823752),D(506948616,1363258195),D(659060556,3750685593),D(883997877,3785050280),D(958139571,3318307427),D(1322822218,3812723403),D(1537002063,2003034995),D(1747873779,3602036899),D(1955562222,1575990012),D(2024104815,1125592928),D(2227730452,2716904306),D(2361852424,442776044),D(2428436474,593698344),D(2756734187,3733110249),D(3204031479,2999351573),D(3329325298,3815920427),D(3391569614,3928383900),D(3515267271,566280711),D(3940187606,3454069534),D(4118630271,4000239992),D(116418474,1914138554),D(174292421,2731055270),D(289380356,3203993006),D(460393269,320620315),D(685471733,587496836),D(852142971,1086792851),D(1017036298,365543100),D(1126000580,2618297676),D(1288033470,3409855158),D(1501505948,4234509866),D(1607167915,987167468),D(1816402316,1246189591)],v=[];!function(){for(var m=0;m<80;m++)v[m]=D()}();var b=h.SHA512=F.extend({_doReset:function(){this._hash=new L.init([new A.init(1779033703,4089235720),new A.init(3144134277,2227873595),new A.init(1013904242,4271175723),new A.init(2773480762,1595750129),new A.init(1359893119,2917565137),new A.init(2600822924,725511199),new A.init(528734635,4215389547),new A.init(1541459225,327033209)])},_doProcessBlock:function(m,w){for(var E=this._hash.words,M=E[0],R=E[1],g=E[2],x=E[3],O=E[4],S=E[5],k=E[6],B=E[7],ne=M.high,Z=M.low,ee=R.high,se=R.low,$=g.high,te=g.low,ae=x.high,Q=x.low,ve=O.high,pe=O.low,Ae=S.high,Ne=S.low,z=k.high,q=k.low,Y=B.high,W=B.low,st=ne,Ze=Z,Gt=ee,Te=se,so=$,ao=te,jo=ae,co=Q,yn=ve,Re=pe,Nr=Ae,sr=Ne,Or=z,yt=q,Vo=Y,Pr=W,Xt=0;Xt<80;Xt++){var xt,an,uo=v[Xt];if(Xt<16)an=uo.high=0|m[w+2*Xt],xt=uo.low=0|m[w+2*Xt+1];else{var Uo=v[Xt-15],kr=Uo.high,lo=Uo.low,$o=(lo>>>1|kr<<31)^(lo>>>8|kr<<24)^(lo>>>7|kr<<25),Un=v[Xt-2],An=Un.high,fo=Un.low,Ga=(fo>>>19|An<<13)^(fo<<3|An>>>29)^(fo>>>6|An<<26),Ho=v[Xt-7],ho=v[Xt-16],Go=ho.low;uo.high=an=(an=(an=((kr>>>1|lo<<31)^(kr>>>8|lo<<24)^kr>>>7)+Ho.high+((xt=$o+Ho.low)>>>0<$o>>>0?1:0))+((An>>>19|fo<<13)^(An<<3|fo>>>29)^An>>>6)+((xt+=Ga)>>>0>>0?1:0))+ho.high+((xt+=Go)>>>0>>0?1:0),uo.low=xt}var Ot,Ml=yn&Nr^~yn&Or,Wo=Re&sr^~Re&yt,ar=st&Gt^st&so^Gt&so,lt=(Ze>>>28|st<<4)^(Ze<<30|st>>>2)^(Ze<<25|st>>>7),Za=_[Xt],Kt=Za.low,dt=Vo+((yn>>>14|Re<<18)^(yn>>>18|Re<<14)^(yn<<23|Re>>>9))+((Ot=Pr+((Re>>>14|yn<<18)^(Re>>>18|yn<<14)^(Re<<23|yn>>>9)))>>>0>>0?1:0),fs=lt+(Ze&Te^Ze&ao^Te&ao);Vo=Or,Pr=yt,Or=Nr,yt=sr,Nr=yn,sr=Re,yn=jo+(dt=(dt=(dt=dt+Ml+((Ot+=Wo)>>>0>>0?1:0))+Za.high+((Ot+=Kt)>>>0>>0?1:0))+an+((Ot+=xt)>>>0>>0?1:0))+((Re=co+Ot|0)>>>0>>0?1:0)|0,jo=so,co=ao,so=Gt,ao=Te,Gt=st,Te=Ze,st=dt+(((st>>>28|Ze<<4)^(st<<30|Ze>>>2)^(st<<25|Ze>>>7))+ar+(fs>>>0>>0?1:0))+((Ze=Ot+fs|0)>>>0>>0?1:0)|0}Z=M.low=Z+Ze,M.high=ne+st+(Z>>>0>>0?1:0),se=R.low=se+Te,R.high=ee+Gt+(se>>>0>>0?1:0),te=g.low=te+ao,g.high=$+so+(te>>>0>>0?1:0),Q=x.low=Q+co,x.high=ae+jo+(Q>>>0>>0?1:0),pe=O.low=pe+Re,O.high=ve+yn+(pe>>>0>>0?1:0),Ne=S.low=Ne+sr,S.high=Ae+Nr+(Ne>>>0>>0?1:0),q=k.low=q+yt,k.high=z+Or+(q>>>0>>0?1:0),W=B.low=W+Pr,B.high=Y+Vo+(W>>>0>>0?1:0)},_doFinalize:function(){var m=this._data,w=m.words,E=8*this._nDataBytes,M=8*m.sigBytes;return w[M>>>5]|=128<<24-M%32,w[30+(M+128>>>10<<5)]=Math.floor(E/4294967296),w[31+(M+128>>>10<<5)]=E,m.sigBytes=4*w.length,this._process(),this._hash.toX32()},clone:function(){var m=F.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:32});y.SHA512=F._createHelper(b),y.HmacSHA512=F._createHmacHelper(b)}(),T.SHA512)},636:function(re,oe,N){var T;re.exports=(T=N(648),N(872),N(740),N(755),N(904),function(){var y=T,j=y.lib,F=j.WordArray,G=j.BlockCipher,A=y.algo,L=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],D=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],_=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],v=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],b=A.DES=G.extend({_doReset:function(){for(var R=this._key.words,g=[],x=0;x<56;x++){var O=L[x]-1;g[x]=R[O>>>5]>>>31-O%32&1}for(var S=this._subKeys=[],k=0;k<16;k++){var B=S[k]=[],ne=D[k];for(x=0;x<24;x++)B[x/6|0]|=g[(h[x]-1+ne)%28]<<31-x%6,B[4+(x/6|0)]|=g[28+(h[x+24]-1+ne)%28]<<31-x%6;for(B[0]=B[0]<<1|B[0]>>>31,x=1;x<7;x++)B[x]=B[x]>>>4*(x-1)+3;B[7]=B[7]<<5|B[7]>>>27}var Z=this._invSubKeys=[];for(x=0;x<16;x++)Z[x]=S[15-x]},encryptBlock:function(M,R){this._doCryptBlock(M,R,this._subKeys)},decryptBlock:function(M,R){this._doCryptBlock(M,R,this._invSubKeys)},_doCryptBlock:function(M,R,g){this._lBlock=M[R],this._rBlock=M[R+1],m.call(this,4,252645135),m.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),m.call(this,1,1431655765);for(var x=0;x<16;x++){for(var O=g[x],S=this._lBlock,k=this._rBlock,B=0,ne=0;ne<8;ne++)B|=_[ne][((k^O[ne])&v[ne])>>>0];this._lBlock=k,this._rBlock=S^B}var Z=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Z,m.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),M[R]=this._lBlock,M[R+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function m(M,R){var g=(this._lBlock>>>M^this._rBlock)&R;this._rBlock^=g,this._lBlock^=g<>>M^this._lBlock)&R;this._lBlock^=g,this._rBlock^=g<192.");var g=R.slice(0,2),x=R.length<4?R.slice(0,2):R.slice(2,4),O=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=b.createEncryptor(F.create(g)),this._des2=b.createEncryptor(F.create(x)),this._des3=b.createEncryptor(F.create(O))},encryptBlock:function(M,R){this._des1.encryptBlock(M,R),this._des2.decryptBlock(M,R),this._des3.encryptBlock(M,R)},decryptBlock:function(M,R){this._des3.decryptBlock(M,R),this._des2.encryptBlock(M,R),this._des1.decryptBlock(M,R)},keySize:6,ivSize:2,blockSize:2});y.TripleDES=G._createHelper(E)}(),T.TripleDES)},744:function(re,oe,N){var F,G,A,L,T;re.exports=(T=N(648),G=(F=T.lib).Base,A=F.WordArray,(L=T.x64={}).Word=G.extend({init:function(_,v){this.high=_,this.low=v}}),L.WordArray=G.extend({init:function(_,v){_=this.words=_||[],this.sigBytes=null!=v?v:8*_.length},toX32:function(){for(var _=this.words,v=_.length,b=[],m=0;m{}},re=>{re(re.s=80)}]);
\ No newline at end of file
diff --git a/open-iconic.05f3a17709ceaa81.ttf b/open-iconic.05f3a17709ceaa81.ttf
new file mode 100644
index 0000000..fab6048
Binary files /dev/null and b/open-iconic.05f3a17709ceaa81.ttf differ
diff --git a/open-iconic.178770d6dc3ae2e7.eot b/open-iconic.178770d6dc3ae2e7.eot
new file mode 100644
index 0000000..f98177d
Binary files /dev/null and b/open-iconic.178770d6dc3ae2e7.eot differ
diff --git a/open-iconic.3205870011f84472.woff b/open-iconic.3205870011f84472.woff
new file mode 100644
index 0000000..f930998
Binary files /dev/null and b/open-iconic.3205870011f84472.woff differ
diff --git a/open-iconic.609a03013cfb1ef4.svg b/open-iconic.609a03013cfb1ef4.svg
new file mode 100644
index 0000000..32b2c4e
--- /dev/null
+++ b/open-iconic.609a03013cfb1ef4.svg
@@ -0,0 +1,543 @@
+
+
+
+
+
+Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014
+ By P.J. Onori
+Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/polyfills.840deab88d5670d2.js b/polyfills.840deab88d5670d2.js
new file mode 100644
index 0000000..38807f1
--- /dev/null
+++ b/polyfills.840deab88d5670d2.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkbrowsify=self.webpackChunkbrowsify||[]).push([[260],{432:(ce,Ee,de)=>{de(964)},964:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,X),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(z,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==z&&e._transitionTo(j,z),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||K).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||t[Z]&&(J=t[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const ce=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Fe=Array.prototype.slice,Oe="addEventListener",Ze="removeEventListener",Ne=Zone.__symbol__(Oe),Ie=Zone.__symbol__(Ze),ae="true",le="false",ke=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Be(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Re&&!Ue&&!(!we||!Te.HTMLElement),We=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Ue&&!(!we||!Te.HTMLElement),Ce={},qe=function(t){if(!(t=t||Y.event))return;let n=Ce[t.type];n||(n=Ce[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function ze(t,n,i){let o=ce(t,n);if(!o&&i&&ce(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Ce[d];b||(b=Ce[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,qe),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,qe,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},Ee(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function fe(t,n){t[A("OriginalDelegate")]=n}let Ye=!1,He=!1;function ht(){if(Ye)return He;Ye=!0;try{const t=Te.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const Z=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[Z];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function J(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),z="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{X(u,l,s)}catch(f){X(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function X(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{X(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),X(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{X(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[K]),l===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=u[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=l.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);X(s,!0,O)}catch(D){X(s,!1,D)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:X(new this(null),E,l)}static reject(l){return X(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of l)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of l)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of l){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){X(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(g,w){return new e((D,S)=>{f.call(this,D,S)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),ue(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ye=!1}const dt={useG:!0},ne={},$e={},Ke=new RegExp("^"+ke+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Qe(t,n){const i=(n?n(t):t)+le,o=(n?n(t):t)+ae,c=ke+i,a=ke+o;ne[t]={},ne[t][le]=c,ne[t][ae]=a}function _t(t,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Ze,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){z=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||t.event))return;const x=R||_.target||t,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const E=Z(z[0],x,_);E&&j.push(E)}else{const E=z.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let X;_&&_.prepend&&(X=E[A(_.prepend)]=E[_.prepend]);const e=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ae:le]);const w=g&&s.target[g];if(w)for(let m=0;m{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,Pe&&(Pe.taskData=null),rt&&(ee.once=!0),!ye&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=S,ie.capture=Ge,ie.eventName=O,F&&(ie.originalDelegate=V),D?me.unshift(ie):me.push(ie),m?S:void 0}};return E[c]=l(I,v,e,r,j),X&&(E[p]=l(X,M,function(s){return X.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const D=ne[f];let S;D&&(S=D[w?ae:le]);const O=S&&s[S];if(O)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=t.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function tt(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function nt(t,n,i,o){t&&Xe(t,tt(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=ue,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ce,i.ObjectCreate=ge,i.ArraySlice=Fe,i.patchClass=ve,i.wrapWithCurrentZone=Me,i.filterProperties=tt,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:$e,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:We,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Ze})});const De=A("zoneTask");function pe(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=ue(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const B=Le(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[De]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=ue(t,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";pe(t,n,i,"Timeout"),pe(t,n,i,"Interval"),pe(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{pe(t,"request","cancel","AnimationFrame"),pe(t,"mozRequest","mozCancel","AnimationFrame"),pe(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(Re&&!We||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=Te.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];nt(c,xe(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=ue(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return fe(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){et(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},ce=>{ce(ce.s=432)}]);
\ No newline at end of file
diff --git a/runtime.20ae1b6071e76068.js b/runtime.20ae1b6071e76068.js
new file mode 100644
index 0000000..01ad0c2
--- /dev/null
+++ b/runtime.20ae1b6071e76068.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e].call(r.exports,r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,o,l)=>{if(!r){var u=1/0;for(f=0;f=l)&&Object.keys(n.O).every(d=>n.O[d](r[t]))?r.splice(t--,1):(c=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,o,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={688:0};n.O.j=o=>0===e[o];var a=(o,l)=>{var t,s,[f,u,c]=l,v=0;if(f.some(p=>0!==e[p])){for(t in u)n.o(u,t)&&(n.m[t]=u[t]);if(c)var i=c(n)}for(o&&o(l);v