diff --git a/angular.json b/angular.json
index c122118..0bff440 100644
--- a/angular.json
+++ b/angular.json
@@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
- "outputPath": "dist/movie-web-app",
+ "outputPath": "docs",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt
new file mode 100644
index 0000000..b1924de
--- /dev/null
+++ b/docs/3rdpartylicenses.txt
@@ -0,0 +1,322 @@
+@angular/animations
+MIT
+
+@angular/cdk
+MIT
+The MIT License
+
+Copyright (c) 2023 Google LLC.
+
+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.
+
+
+@angular/common
+MIT
+
+@angular/core
+MIT
+
+@angular/forms
+MIT
+
+@angular/material
+MIT
+The MIT License
+
+Copyright (c) 2023 Google LLC.
+
+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.
+
+
+@angular/platform-browser
+MIT
+
+@angular/router
+MIT
+
+dayjs
+MIT
+MIT License
+
+Copyright (c) 2018-present, iamkun
+
+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.
+
+
+rxjs
+Apache-2.0
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
+zone.js
+MIT
+The MIT License
+
+Copyright (c) 2010-2023 Google LLC. https://angular.io/license
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/docs/assets/Avengers.png b/docs/assets/Avengers.png
new file mode 100644
index 0000000..943b981
Binary files /dev/null and b/docs/assets/Avengers.png differ
diff --git a/docs/assets/Guardians of The Galaxy.png b/docs/assets/Guardians of The Galaxy.png
new file mode 100644
index 0000000..d9f4633
Binary files /dev/null and b/docs/assets/Guardians of The Galaxy.png differ
diff --git a/docs/assets/Knives Out.png b/docs/assets/Knives Out.png
new file mode 100644
index 0000000..0931d33
Binary files /dev/null and b/docs/assets/Knives Out.png differ
diff --git a/docs/assets/Spider Man.png b/docs/assets/Spider Man.png
new file mode 100644
index 0000000..d3c1536
Binary files /dev/null and b/docs/assets/Spider Man.png differ
diff --git a/docs/assets/Tenet.png b/docs/assets/Tenet.png
new file mode 100644
index 0000000..81b2ebc
Binary files /dev/null and b/docs/assets/Tenet.png differ
diff --git a/docs/favicon.ico b/docs/favicon.ico
new file mode 100644
index 0000000..997406a
Binary files /dev/null and b/docs/favicon.ico differ
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..a5b0176
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ MovieWebApp
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/main.30f86d4e7c284074.js b/docs/main.30f86d4e7c284074.js
new file mode 100644
index 0000000..cae457f
--- /dev/null
+++ b/docs/main.30f86d4e7c284074.js
@@ -0,0 +1 @@
+(self.webpackChunkmovie_web_app=self.webpackChunkmovie_web_app||[]).push([[179],{405:(lr,zn,Zt)=>{"use strict";function ne(e){return"function"==typeof e}function hi(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Kt=hi(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Xt(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ee{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ne(i))try{i()}catch(o){n=o instanceof Kt?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{vt(o)}catch(s){n=n??[],s instanceof Kt?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Kt(n)}}add(n){var t;if(n&&n!==this)if(this.closed)vt(n);else{if(n instanceof Ee){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Xt(t,n)}remove(n){const{_finalizers:t}=this;t&&Xt(t,n),n instanceof Ee&&n._removeParent(this)}}Ee.EMPTY=(()=>{const e=new Ee;return e.closed=!0,e})();const Bt=Ee.EMPTY;function fi(e){return e instanceof Ee||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function vt(e){ne(e)?e():e.unsubscribe()}const Jt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jt={setTimeout(e,n,...t){const{delegate:i}=jt;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=jt;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sn(e){jt.setTimeout(()=>{const{onUnhandledError:n}=Jt;if(!n)throw e;n(e)})}function In(){}const ls=pi("C",void 0,void 0);function pi(e,n,t){return{kind:e,value:n,error:t}}let mi=null;function Gn(e){if(Jt.useDeprecatedSynchronousErrorHandling){const n=!mi;if(n&&(mi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=mi;if(mi=null,t)throw i}}else e()}class Ur extends Ee{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,fi(n)&&n.add(this)):this.destination=F}static create(n,t,i){return new ae(n,t,i)}next(n){this.isStopped?B(function cs(e){return pi("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?B(function Xa(e){return pi("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?B(ls,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ds=Function.prototype.bind;function $i(e,n){return ds.call(e,n)}class Ye{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){_i(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){_i(i)}else _i(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){_i(t)}}}class ae extends Ur{constructor(n,t,i){let r;if(super(),ne(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Jt.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&$i(n.next,o),error:n.error&&$i(n.error,o),complete:n.complete&&$i(n.complete,o)}):r=n}this.destination=new Ye(r)}}function _i(e){Jt.useDeprecatedSynchronousErrorHandling?function gi(e){Jt.useDeprecatedSynchronousErrorHandling&&mi&&(mi.errorThrown=!0,mi.error=e)}(e):Sn(e)}function B(e,n){const{onStoppedNotification:t}=Jt;t&&jt.setTimeout(()=>t(e,n))}const F={closed:!0,next:In,error:function Ja(e){throw e},complete:In},E="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(e){return e}function W(e){return 0===e.length?k:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let R=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function Ze(e){return e&&e instanceof Ur||function Le(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&fi(e)}(t)?t:new ae(t,i,r);return Gn(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=we(i))((r,o)=>{const s=new ae({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[E](){return this}pipe(...t){return W(t)(this)}toPromise(t){return new(t=we(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function we(e){var n;return null!==(n=e??Jt.Promise)&&void 0!==n?n:Promise}const st=hi(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let z=(()=>{class e extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new vi(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new st}next(t){Gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Gn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Bt:(this.currentObservers=null,o.push(t),new Ee(()=>{this.currentObservers=null,Xt(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new R;return t.source=this,t}}return e.create=(n,t)=>new vi(n,t),e})();class vi extends z{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Bt}}function qn(e){return ne(e?.lift)}function Me(e){return n=>{if(qn(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function fe(e,n,t,i,r){return new yt(e,n,t,i,r)}class yt extends Ur{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function X(e,n){return Me((t,i)=>{let r=0;t.subscribe(fe(i,o=>{i.next(e.call(n,o,r++))}))})}function Hi(e){return this instanceof Hi?(this.v=e,this):new Hi(e)}function wg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function nu(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const iu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Dg(e){return ne(e?.then)}function Cg(e){return ne(e[E])}function xg(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function Eg(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 Mg=function LS(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Sg(e){return ne(e?.[Mg])}function Ig(e){return function bg(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(f){return new Promise(function(p,m){o.push([h,f,p,m])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Hi?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](f))}catch(p){u(o[0][3],p)}}function c(h){a("next",h)}function d(h){a("throw",h)}function u(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Hi(t.read());if(r)return yield Hi(void 0);yield yield Hi(i)}}finally{t.releaseLock()}})}function Ag(e){return ne(e?.getReader)}function At(e){if(e instanceof R)return e;if(null!=e){if(Cg(e))return function VS(e){return new R(n=>{const t=e[E]();if(ne(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(iu(e))return function BS(e){return new R(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Sn)})}(e);if(xg(e))return Tg(e);if(Sg(e))return function $S(e){return new R(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Ag(e))return function HS(e){return Tg(Ig(e))}(e)}throw Eg(e)}function Tg(e){return new R(n=>{(function US(e,n){var t,i,r,o;return function vg(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=wg(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function at(e,n,t=1/0){return ne(n)?at((i,r)=>X((o,s)=>n(i,o,r,s))(At(e(i,r))),t):("number"==typeof n&&(t=n),Me((i,r)=>function zS(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=m=>c{o&&n.next(m),c++;let y=!1;At(t(m,d++)).subscribe(fe(n,b=>{r?.(b),o?f(b):n.next(b)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(b)):p(b)}h()}catch(b){n.error(b)}}))};return e.subscribe(fe(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function Gr(e=1/0){return at(k,e)}const Wn=new R(e=>e.complete());function Rg(e){return e&&ne(e.schedule)}function ru(e){return e[e.length-1]}function us(e){return Rg(ru(e))?e.pop():void 0}function Og(e,n=0){return Me((t,i)=>{t.subscribe(fe(i,r=>bi(i,e,()=>i.next(r),n),()=>bi(i,e,()=>i.complete(),n),r=>bi(i,e,()=>i.error(r),n)))})}function kg(e,n=0){return Me((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Ng(e,n){if(!e)throw new Error("Iterable cannot be null");return new R(t=>{bi(t,n,()=>{const i=e[Symbol.asyncIterator]();bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function lt(e,n){return n?function XS(e,n){if(null!=e){if(Cg(e))return function WS(e,n){return At(e).pipe(kg(n),Og(n))}(e,n);if(iu(e))return function YS(e,n){return new R(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Dg(e))return function QS(e,n){return At(e).pipe(kg(n),Og(n))}(e,n);if(xg(e))return Ng(e,n);if(Sg(e))return function ZS(e,n){return new R(t=>{let i;return bi(t,n,()=>{i=e[Mg](),bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ne(i?.return)&&i.return()})}(e,n);if(Ag(e))return function KS(e,n){return Ng(Ig(e),n)}(e,n)}throw Eg(e)}(e,n):At(e)}function hs(...e){const n=us(e),t=function qS(e,n){return"number"==typeof ru(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?At(i[0]):Gr(t)(lt(i,n)):Wn}class en extends z{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function j(...e){return lt(e,us(e))}function Pg(e={}){const{connector:n=(()=>new z),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return Me((m,y)=>{c++,!u&&!d&&h();const b=l=l??n();y.add(()=>{c--,0===c&&!u&&!d&&(a=ou(p,r))}),b.subscribe(y),!s&&c>0&&(s=new ae({next:_=>b.next(_),error:_=>{u=!0,h(),a=ou(f,t,_),b.error(_)},complete:()=>{d=!0,h(),a=ou(f,i),b.complete()}}),At(m).subscribe(s))})(o)}}function ou(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new ae({next:()=>{i.unsubscribe(),e()}});return At(n(...t)).subscribe(i)}function An(e,n){return Me((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(fe(i,l=>{r?.unsubscribe();let c=0;const d=o++;At(e(l,d)).subscribe(r=fe(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function su(e,n=k){return e=e??JS,Me((t,i)=>{let r,o=!0;t.subscribe(fe(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function JS(e,n){return e===n}function De(e){for(let n in e)if(e[n]===De)return n;throw Error("Could not find renamed property on target object.")}function el(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function tt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(tt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function au(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const eI=De({__forward_ref__:De});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return tt(this())},e}function U(e){return lu(e)?e():e}function lu(e){return"function"==typeof e&&e.hasOwnProperty(eI)&&e.__forward_ref__===xe}function cu(e){return e&&!!e.\u0275providers}const Lg="https://g.co/ng/security#xss";class v extends Error{constructor(n,t){super(function tl(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function G(e){return"string"==typeof e?e:null==e?"":String(e)}function du(e,n){throw new v(-201,!1)}function gn(e,n){null==e&&function $(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(n,e,null,"!=")}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function nl(e){return Vg(e,rl)||Vg(e,Bg)}function Vg(e,n){return e.hasOwnProperty(n)?e[n]:null}function il(e){return e&&(e.hasOwnProperty(uu)||e.hasOwnProperty(lI))?e[uu]:null}const rl=De({\u0275prov:De}),uu=De({\u0275inj:De}),Bg=De({ngInjectableDef:De}),lI=De({ngInjectorDef:De});var ie=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}(ie||{});let hu;function $t(e){const n=hu;return hu=e,n}function $g(e,n,t){const i=nl(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void du(tt(e))}const Ie=globalThis;class C{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=I({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const fs={},_u="__NG_DI_FLAG__",ol="ngTempTokenPath",uI=/\n/gm,Ug="__source";let qr;function Ui(e){const n=qr;return qr=e,n}function pI(e,n=ie.Default){if(void 0===qr)throw new v(-203,!1);return null===qr?$g(e,void 0,n):qr.get(e,n&ie.Optional?null:void 0,n)}function D(e,n=ie.Default){return(function jg(){return hu}()||pI)(U(e),n)}function x(e,n=ie.Default){return D(e,sl(n))}function sl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vu(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==Wg(f,c,0)||2&i&&c!==h){if(Tn(i))return!1;s=!0}}}}else{if(!s&&!Tn(i)&&!Tn(l))return!1;if(s&&Tn(l))continue;s=!1,i=l|1&i}}return Tn(i)||s}function Tn(e){return 0==(1&e)}function wI(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Tn(s)&&(n+=e_(o,r),r=""),i=s,o=o||!Tn(i);t++}return""!==r&&(n+=e_(o,r)),n}function He(e){return wi(()=>{const n=n_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===al.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""};i_(t);const i=e.dependencies;return t.directiveDefs=cl(i,!1),t.pipeDefs=cl(i,!0),t.id=function kI(e){let n=0;const t=[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 r of t)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function TI(e){return le(e)||ht(e)}function RI(e){return null!==e}function nt(e){return wi(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function t_(e,n){if(null==e)return Qn;const t={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,n&&(n[r]=o)}return t}function T(e){return wi(()=>{const n=n_(e);return i_(n),n})}function le(e){return e[ll]||null}function ht(e){return e[yu]||null}function Tt(e){return e[bu]||null}function nn(e,n){const t=e[Gg]||null;if(!t&&!0===n)throw new Error(`Type ${tt(e)} does not have '\u0275mod' property.`);return t}function n_(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||Qn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:t_(e.inputs,n),outputs:t_(e.outputs)}}function i_(e){e.features?.forEach(n=>n(e))}function cl(e,n){if(!e)return null;const t=n?Tt:TI;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(RI)}const je=0,M=1,Y=2,ke=3,Rn=4,_s=5,bt=6,Qr=7,Ue=8,zi=9,Yr=10,q=11,vs=12,r_=13,Zr=14,ze=15,ys=16,Kr=17,Yn=18,bs=19,o_=20,Gi=21,Ci=22,ws=23,Ds=24,re=25,Du=1,s_=2,Zn=7,Xr=9,ft=11;function Ut(e){return Array.isArray(e)&&"object"==typeof e[Du]}function Rt(e){return Array.isArray(e)&&!0===e[Du]}function Cu(e){return 0!=(4&e.flags)}function dr(e){return e.componentOffset>-1}function ul(e){return 1==(1&e.flags)}function Fn(e){return!!e.template}function xu(e){return 0!=(512&e[Y])}function ur(e,n){return e.hasOwnProperty(Di)?e[Di]:null}let pt=null,hl=!1;function vn(e){const n=pt;return pt=e,n}const c_={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function u_(e){if(!xs(e)||e.dirty){if(!e.producerMustRecompute(e)&&!p_(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function f_(e){e.dirty=!0,function h_(e){if(void 0===e.liveConsumerNode)return;const n=hl;hl=!0;try{for(const t of e.liveConsumerNode)t.dirty||f_(t)}finally{hl=n}}(e),e.consumerMarkedDirty?.(e)}function Mu(e){return e&&(e.nextProducerIndex=0),vn(e)}function Su(e,n){if(vn(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(xs(e))for(let t=e.nextProducerIndex;te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function p_(e){Jr(e);for(let n=0;n0}function Jr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let v_=null;const D_=()=>{},WI=(()=>({...c_,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:D_}))();class QI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function rn(){return C_}function C_(e){return e.type.prototype.ngOnChanges&&(e.setInput=ZI),YI}function YI(){const e=E_(this),n=e?.current;if(n){const t=e.previous;if(t===Qn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function ZI(e,n,t,i){const r=this.declaredInputs[t],o=E_(e)||function KI(e,n){return e[x_]=n}(e,{previous:Qn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new QI(l&&l.currentValue,n,a===Qn),e[i]=n}rn.ngInherit=!0;const x_="__ngSimpleChanges__";function E_(e){return e[x_]||null}const Kn=function(e,n,t){},M_="svg";function Ae(e){for(;Array.isArray(e);)e=e[je];return e}function pl(e,n){return Ae(n[e])}function zt(e,n){return Ae(n[e.index])}function I_(e,n){return e.data[n]}function on(e,n){const t=n[e];return Ut(t)?t:t[je]}function Wi(e,n){return null==n?null:e[n]}function A_(e){e[Kr]=0}function iA(e){1024&e[Y]||(e[Y]|=1024,R_(e,1))}function T_(e){1024&e[Y]&&(e[Y]&=-1025,R_(e,-1))}function R_(e,n){let t=e[ke];if(null===t)return;t[_s]+=n;let i=t;for(t=t[ke];null!==t&&(1===n&&1===i[_s]||-1===n&&0===i[_s]);)t[_s]+=n,i=t,t=t[ke]}const H={lFrame:z_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function k_(){return H.bindingsEnabled}function to(){return null!==H.skipHydrationRootTNode}function w(){return H.lFrame.lView}function ce(){return H.lFrame.tView}function mt(){let e=L_();for(;null!==e&&64===e.type;)e=e.parent;return e}function L_(){return H.lFrame.currentTNode}function Xn(e,n){const t=H.lFrame;t.currentTNode=e,t.isParent=n}function Fu(){return H.lFrame.isParent}function Ou(){H.lFrame.isParent=!1}function no(){return H.lFrame.bindingIndex++}function mA(e,n){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=e,ku(n)}function ku(e){H.lFrame.currentDirectiveIndex=e}function Nu(e){const n=H.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function $_(){return H.lFrame.currentQueryIndex}function Pu(e){H.lFrame.currentQueryIndex=e}function _A(e){const n=e[M];return 2===n.type?n.declTNode:1===n.type?e[bt]:null}function H_(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=_A(o),null===r||(o=o[Zr],10&r.type))););if(null===r)return!1;n=r,e=o}const i=H.lFrame=U_();return i.currentTNode=n,i.lView=e,!0}function Lu(e){const n=U_(),t=e[M];H.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function U_(){const e=H.lFrame,n=null===e?null:e.child;return null===n?z_(e):n}function z_(e){const n={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=n),n}function G_(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const q_=G_;function Vu(){const e=G_();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 Ot(){return H.lFrame.selectedIndex}function hr(e){H.lFrame.selectedIndex=e}function Ve(){const e=H.lFrame;return I_(e.tView,e.selectedIndex)}let Y_=!0;function ml(){return Y_}function Qi(e){Y_=e}function gl(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Kr]+=65536),(a>13>16&&(3&e[Y])===n&&(e[Y]+=8192,K_(a,o)):K_(a,o)}const io=-1;class Ms{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function $u(e){return e!==io}function Ss(e){return 32767&e}function Is(e,n){let t=function IA(e){return e>>16}(e),i=n;for(;t>0;)i=i[Zr],t--;return i}let Hu=!0;function yl(e){const n=Hu;return Hu=e,n}const X_=255,J_=5;let AA=0;const Jn={};function bl(e,n){const t=ev(e,n);if(-1!==t)return t;const i=n[M];i.firstCreatePass&&(e.injectorIndex=n.length,Uu(i.data,e),Uu(n,null),Uu(i.blueprint,null));const r=wl(e,n),o=e.injectorIndex;if($u(r)){const s=Ss(r),a=Is(r,n),l=a[M].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Uu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function ev(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function wl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=av(r),null===i)return io;if(t++,r=r[Zr],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return io}function zu(e,n,t){!function TA(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(ms)&&(i=t[ms]),null==i&&(i=t[ms]=AA++);const r=i&X_;n.data[e+(r>>J_)]|=1<=0?n&X_:NA:n}(t);if("function"==typeof o){if(!H_(n,e,i))return i&ie.Host?tv(r,0,i):nv(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;du()}finally{q_()}}else if("number"==typeof o){let s=null,a=ev(e,n),l=io,c=i&ie.Host?n[ze][bt]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?wl(e,n):n[a+8],l!==io&&sv(i,!1)?(s=n[M],a=Ss(l),n=Is(l,n)):a=-1);-1!==a;){const d=n[M];if(ov(o,a,d.data)){const u=FA(a,n,t,s,i,c);if(u!==Jn)return u}l=n[a+8],l!==io&&sv(i,n[M].data[a+8]===c)&&ov(o,a,n)?(s=d,a=Ss(l),n=Is(l,n)):a=-1}}return r}function FA(e,n,t,i,r,o){const s=n[M],a=s.data[e+8],d=Dl(a,s,t,null==i?dr(a)&&Hu:i!=s&&0!=(3&a.type),r&ie.Host&&o===a);return null!==d?fr(n,s,d,a):Jn}function Dl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=r?a+d:e.directiveEnd;for(let f=i?a:a+d;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&Fn(f)&&f.type===t)return l}return null}function fr(e,n,t,i){let r=e[t];const o=n.data;if(function EA(e){return e instanceof Ms}(r)){const s=r;s.resolving&&function tI(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new v(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=yl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?$t(s.injectImpl):null;H_(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function CA(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=C_(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&$t(c),yl(a),s.resolving=!1,q_()}}return r}function ov(e,n,t){return!!(t[n+(e>>J_)]&1<{const n=e.prototype.constructor,t=n[Di]||Gu(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Di]||Gu(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Gu(e){return lu(e)?()=>{const n=Gu(U(e));return n&&n()}:ur(e)}function av(e){const n=e[M],t=n.type;return 2===t?n.declTNode:1===t?e[bt]:null}function ro(e){return function RA(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r{const i=function qu(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(so)?l[so]:Object.defineProperty(l,so,{value:[]})[so];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function uo(e,n){e.forEach(t=>Array.isArray(t)?uo(t,n):n(t))}function cv(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Cl(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Rs(e,n){const t=[];for(let i=0;i=0?e[1|i]=t:(i=~i,function UA(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Wu(e,n){const t=ho(e,n);if(t>=0)return e[1|t]}function ho(e,n){return function dv(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<0&&(e[t-1][Rn]=i[Rn]);const o=Cl(e,ft+n);!function MT(e,n){Ps(e,n,n[q],2,null,null),n[je]=null,n[bt]=null}(i[M],i);const s=o[Yn];null!==s&&s.detachView(o[M]),i[ke]=null,i[Rn]=null,i[Y]&=-129}return i}function rh(e,n){if(!(256&n[Y])){const t=n[q];n[ws]&&m_(n[ws]),n[Ds]&&m_(n[Ds]),t.destroyNode&&Ps(e,n,t,3,null,null),function AT(e){let n=e[vs];if(!n)return oh(e[M],e);for(;n;){let t=null;if(Ut(n))t=n[vs];else{const i=n[ft];i&&(t=i)}if(!t){for(;n&&!n[Rn]&&n!==e;)Ut(n)&&oh(n[M],n),n=n[ke];null===n&&(n=e),Ut(n)&&oh(n[M],n),t=n&&n[Rn]}n=t}}(n)}}function oh(e,n){if(!(256&n[Y])){n[Y]&=-129,n[Y]|=256,function OT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Qr]=null);const r=n[Gi];if(null!==r){n[Gi]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===_n.None||o===_n.Emulated)return null}return zt(i,t)}}(e,n.parent,t)}function pr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Pv(e,n,t){e.appendChild(n,t)}function Lv(e,n,t,i,r){null!==i?pr(e,n,t,i,r):Pv(e,n,t)}function Pl(e,n){return e.parentNode(n)}function Vv(e,n,t){return jv(e,n,t)}let ah,Bl,uh,jl,jv=function Bv(e,n,t){return 40&e.type?zt(e,t):null};function Ll(e,n,t,i){const r=sh(e,i,n),o=n[q],a=Vv(i.parent||n[bt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bl}()?.createHTML(e)||e}function Yv(e){return function hh(){if(void 0===jl&&(jl=null,Ie.trustedTypes))try{jl=Ie.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jl}()?.createScriptURL(e)||e}class mr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lg})`}}class zT extends mr{getTypeName(){return"HTML"}}class GT extends mr{getTypeName(){return"Style"}}class qT extends mr{getTypeName(){return"Script"}}class WT extends mr{getTypeName(){return"URL"}}class QT extends mr{getTypeName(){return"ResourceURL"}}function an(e){return e instanceof mr?e.changingThisBreaksApplicationSecurity:e}function ei(e,n){const t=function YT(e){return e instanceof mr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Lg})`)}return t===n}class t1{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=" "+n;try{const t=(new window.DOMParser).parseFromString(go(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class n1{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=go(n),t}}const o1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $l(e){return(e=String(e)).match(o1)?e:"unsafe:"+e}function Mi(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ls(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Kv=Mi("area,br,col,hr,img,wbr"),Xv=Mi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jv=Mi("rp,rt"),fh=Ls(Kv,Ls(Xv,Mi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ls(Jv,Mi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ls(Jv,Xv)),ph=Mi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ey=Ls(ph,Mi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Mi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),s1=Mi("script,style,template");class a1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!fh.hasOwnProperty(t))return this.sanitizedSomething=!0,!s1.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=n.nodeName.toLowerCase();fh.hasOwnProperty(t)&&!Kv.hasOwnProperty(t)&&(this.buf.push(""),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(ty(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const l1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c1=/([^\#-~ |!])/g;function ty(e){return e.replace(/&/g,"&").replace(l1,function(n){return""+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(c1,function(n){return""+n.charCodeAt(0)+";"}).replace(//g,">")}let Hl;function ny(e,n){let t=null;try{Hl=Hl||function Zv(e){const n=new n1(e);return function r1(){try{return!!(new window.DOMParser).parseFromString(go(""),"text/html")}catch{return!1}}()?new t1(n):n}(e);let i=n?String(n):"";t=Hl.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Hl.getInertBodyElement(i)}while(i!==o);return go((new a1).sanitizeChildren(mh(t)||t))}finally{if(t){const i=mh(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function mh(e){return"content"in e&&function d1(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bn=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}(bn||{});function Ul(e){const n=Vs();return n?n.sanitize(bn.URL,e)||"":ei(e,"URL")?an(e):$l(G(e))}function gh(e){const n=Vs();if(n)return Yv(n.sanitize(bn.RESOURCE_URL,e)||"");if(ei(e,"ResourceURL"))return Yv(an(e));throw new v(904,!1)}function Vs(){const e=w();return e&&e[Yr].sanitizer}const Bs=new C("ENVIRONMENT_INITIALIZER"),ry=new C("INJECTOR",-1),oy=new C("INJECTOR_DEF_TYPES");class _h{get(n,t=fs){if(t===fs){const i=new Error(`NullInjectorError: No provider for ${tt(n)}!`);throw i.name="NullInjectorError",i}return t}}function _1(...e){return{\u0275providers:ay(0,e),\u0275fromNgModule:!0}}function ay(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return uo(n,s=>{const a=s;zl(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ly(r,o),t}function ly(e,n){for(let t=0;t{n(o,i)})}}function zl(e,n,t,i){if(!(e=U(e)))return!1;let r=null,o=il(e);const s=!o&&le(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=il(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)zl(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{uo(o.imports,d=>{zl(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&ly(c,n)}if(!a){const c=ur(r)||(()=>new r);n({provide:r,useFactory:c,deps:he},r),n({provide:oy,useValue:r,multi:!0},r),n({provide:Bs,useValue:()=>D(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;vh(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function vh(e,n){for(let t of e)cu(t)&&(t=t.\u0275providers),Array.isArray(t)?vh(t,n):n(t)}const v1=De({provide:String,useValue:De});function yh(e){return null!==e&&"object"==typeof e&&v1 in e}function gr(e){return"function"==typeof e}const bh=new C("Set Injector scope."),Gl={},b1={};let wh;function ql(){return void 0===wh&&(wh=new _h),wh}class wn{}class vo extends wn{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ch(n,s=>this.processProvider(s)),this.records.set(ry,yo(void 0,this)),r.has("environment")&&this.records.set(wn,yo(void 0,this));const o=this.records.get(bh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(oy.multi,he,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Ui(this),i=$t(void 0);try{return n()}finally{Ui(t),$t(i)}}get(n,t=fs,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(qg))return n[qg](this);i=sl(i);const o=Ui(this),s=$t(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function E1(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&nl(n);l=c&&this.injectableDefInScope(c)?yo(Dh(n),Gl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ql():this.parent).get(n,t=i&ie.Optional&&t===fs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ol]=a[ol]||[]).unshift(tt(n)),o)throw a;return function gI(e,n,t,i){const r=e[ol];throw n[Ug]&&r.unshift(n[Ug]),e.message=function _I(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=tt(n);if(Array.isArray(n))r=n.map(tt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):tt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(uI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[ol]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{$t(s),Ui(o)}}resolveInjectorInitializers(){const n=Ui(this),t=$t(void 0);try{const r=this.get(Bs.multi,he,ie.Self);for(const o of r)o()}finally{Ui(n),$t(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(tt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(n){let t=gr(n=U(n))?n:U(n&&n.provide);const i=function D1(e){return yh(e)?yo(void 0,e.useValue):yo(uy(e),Gl)}(n);if(gr(n)||!0!==n.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=yo(void 0,Gl,!0),r.factory=()=>vu(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===Gl&&(t.value=b1,t.value=t.factory()),"object"==typeof t.value&&t.value&&function x1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=U(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Dh(e){const n=nl(e),t=null!==n?n.factory:ur(e);if(null!==t)return t;if(e instanceof C)throw new v(204,!1);if(e instanceof Function)return function w1(e){const n=e.length;if(n>0)throw Rs(n,"?"),new v(204,!1);const t=function aI(e){return e&&(e[rl]||e[Bg])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new v(204,!1)}function uy(e,n,t){let i;if(gr(e)){const r=U(e);return ur(r)||Dh(r)}if(yh(e))i=()=>U(e.useValue);else if(function dy(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...vu(e.deps||[]));else if(function cy(e){return!(!e||!e.useExisting)}(e))i=()=>D(U(e.useExisting));else{const r=U(e&&(e.useClass||e.provide));if(!function C1(e){return!!e.deps}(e))return ur(r)||Dh(r);i=()=>new r(...vu(e.deps))}return i}function yo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Ch(e,n){for(const t of e)Array.isArray(t)?Ch(t,n):t&&cu(t)?Ch(t.\u0275providers,n):n(t)}const Wl=new C("AppId",{providedIn:"root",factory:()=>M1}),M1="ng",hy=new C("Platform Initializer"),_r=new C("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),vr=new C("AnimationModuleType"),xh=new C("CSP nonce",{providedIn:"root",factory:()=>function _o(){if(void 0!==uh)return uh;if(typeof document<"u")return document;throw new v(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let fy=(e,n,t)=>null;function Fh(e,n,t=!1){return fy(e,n,t)}class P1{}class gy{}class V1{resolveComponentFactory(n){throw function L1(e){const n=Error(`No component factory found for ${tt(e)}.`);return n.ngComponent=e,n}(n)}}let Jl=(()=>{class e{static#e=this.NULL=new V1}return e})();function B1(){return Do(mt(),w())}function Do(e,n){return new _e(zt(e,n))}let _e=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=B1}return e})();function j1(e){return e instanceof _e?e.nativeElement:e}class Hs{}let Si=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function $1(){const e=w(),t=on(mt().index,e);return(Ut(t)?t:e)[q]}()}return e})(),H1=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();class yr{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const U1=new yr("16.2.12"),Nh={};function wy(e,n=null,t=null,i){const r=Dy(e,n,t,i);return r.resolveInjectorInitializers(),r}function Dy(e,n=null,t=null,i,r=new Set){const o=[t||he,_1(e)];return i=i||("object"==typeof e?void 0:tt(e)),new vo(o,n||ql(),i||null,r)}let qt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=fs;static#t=this.NULL=new _h;static create(t,i){if(Array.isArray(t))return wy({name:""},i,t,"");{const r=t.name??"";return wy({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=I({token:e,providedIn:"any",factory:()=>D(ry)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Lh(e){return e.ngOriginalError}class Ii{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lh(n);for(;t&&Lh(t);)t=Lh(t);return t||null}}function Bh(e){return n=>{setTimeout(e,void 0,n)}}const de=class Z1 extends z{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Bh(o),r&&(r=Bh(r)),s&&(s=Bh(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ee&&n.add(a),a}};function xy(...e){}class J{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new de(!1),this.onMicrotaskEmpty=new de(!1),this.onStable=new de(!1),this.onError=new de(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function K1(){const e="function"==typeof Ie.requestAnimationFrame;let n=Ie[e?"requestAnimationFrame":"setTimeout"],t=Ie[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function eR(e){const n=()=>{!function J1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,$h(e),e.isCheckStableRunning=!0,jh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),$h(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function nR(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return Ey(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),My(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return Ey(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),My(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,$h(e),jh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!J.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new v(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,X1,xy,xy);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const X1={};function jh(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 $h(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ey(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function My(e){e._nesting--,jh(e)}class tR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new de,this.onMicrotaskEmpty=new de,this.onStable=new de,this.onError=new de}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}const Sy=new C("",{providedIn:"root",factory:Iy});function Iy(){const e=x(J);let n=!0;return hs(new R(r=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(n),r.complete()})}),new R(r=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,r.next(!0))})})});const s=e.onUnstable.subscribe(()=>{J.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Pg()))}function Ai(e){return e instanceof Function?e():e}let Hh=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function Us(e){for(;e;){e[Y]|=64;const n=ks(e);if(xu(e)&&!n)return e;e=n}return null}const Oy=new C("",{providedIn:"root",factory:()=>!1});let tc=null;function Ly(e,n){return e[n]??jy()}function Vy(e,n){const t=jy();t.producerNode?.length&&(e[n]=tc,t.lView=e,tc=By())}const hR={...c_,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Us(e.lView)},lView:null};function By(){return Object.create(hR)}function jy(){return tc??=By(),tc}const Q={};function oe(e){$y(ce(),w(),Ot()+e,!1)}function $y(e,n,t,i){if(!i)if(3==(3&n[Y])){const o=e.preOrderCheckHooks;null!==o&&_l(n,o,t)}else{const o=e.preOrderHooks;null!==o&&vl(n,o,0,t)}hr(t)}function g(e,n=ie.Default){const t=w();return null===t?D(e,n):iv(mt(),t,U(e),n)}function nc(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[je]=r,u[Y]=140|i,(null!==c||e&&2048&e[Y])&&(u[Y]|=2048),A_(u),u[ke]=u[Zr]=e,u[Ue]=t,u[Yr]=s||e&&e[Yr],u[q]=a||e&&e[q],u[zi]=l||e&&e[zi]||null,u[bt]=o,u[bs]=function pT(){return fT++}(),u[Ci]=d,u[o_]=c,u[ze]=2==n.type?e[ze]:u,u}function Eo(e,n,t,i,r){let o=e.data[n];if(null===o)o=function Uh(e,n,t,i,r){const o=L_(),s=Fu(),l=e.data[n]=function bR(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return to()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,i,r),function pA(){return H.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function Es(){const e=H.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Xn(o,!0),o}function zs(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;ore&&$y(e,n,re,!1),Kn(a?2:0,r);const c=a?o:null,d=Mu(c);try{null!==c&&(c.dirty=!1),t(i,r)}finally{Su(c,d)}}finally{a&&null===n[ws]&&Vy(n,ws),hr(s),Kn(a?3:1,r)}}function zh(e,n,t){if(Cu(n)){const i=vn(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function qy(e,n,t,i){for(let r in e)if(e.hasOwnProperty(r)){t=null===t?{}:t;const o=e[r];null===i?Wy(t,n,r,o):i.hasOwnProperty(r)&&Wy(t,n,i[r],o)}return t}function Wy(e,n,t,i){e.hasOwnProperty(t)?e[t].push(n,i):e[t]=[n,i]}function ln(e,n,t,i,r,o,s,a){const l=zt(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Xh(e,t,d,i,r),dr(n)&&function CR(e,n){const t=on(n,e);16&t[Y]||(t[Y]|=64)}(t,n.index)):3&n.type&&(i=function DR(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Qh(e,n,t,i){if(k_()){const r=null===i?null:{"":-1},o=function AR(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,zs(e,t,r.hostVars,Q),r)}function ti(e,n,t,i,r,o){const s=zt(e,n);!function Zh(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[q],s,o,e.value,t,i,r)}function NR(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,i,r){const o=typeof Zone>"u"?null:Zone.current,s=function qI(e,n,t){const i=Object.create(WI);t&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=n;const r=s=>{i.cleanupFn=s};return i.ref={notify:()=>f_(i),run:()=>{if(i.dirty=!1,i.hasRun&&!p_(i))return;i.hasRun=!0;const s=Mu(i);try{i.cleanupFn(),i.cleanupFn=D_,i.fn(r)}finally{Su(i,s)}},cleanup:()=>i.cleanupFn()},i.ref}(t,c=>{this.all.has(c)&&this.queue.set(c,o)},r);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=i?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,i]of this.queue)this.queue.delete(t),i?i.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function rc(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0){sb(e,1);const r=t.components;null!==r&&lb(e,r,1)}}function lb(e,n,t){for(let i=0;i-1&&(Nl(n,i),Cl(t,i))}this._attachedToViewContainer=!1}rh(this._lView[M],this._lView)}onDestroy(n){!function F_(e,n){if(256==(256&e[Y]))throw new v(911,!1);null===e[Gi]&&(e[Gi]=[]),e[Gi].push(n)}(this._lView,n)}markForCheck(){Us(this._cdRefInjectingView||this._lView)}detach(){this._lView[Y]&=-129}reattach(){this._lView[Y]|=128}detectChanges(){oc(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function IT(e,n){Ps(e,n,n[q],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=n}}class zR extends qs{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;oc(n[M],n,n[Ue],!1)}checkNoChanges(){}get context(){return null}}class cb extends Jl{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=le(n);return new Ws(t,this.ngModule)}}function db(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class qR{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=sl(i);const r=this.injector.get(n,Nh,i);return r!==Nh||t===Nh?r:this.parentInjector.get(n,t,i)}}class Ws extends gy{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=db(n.inputs);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return db(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function SI(e){return e.map(MI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){let o=(r=r||this.ngModule)instanceof wn?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new qR(n,o):n,a=s.get(Hs,null);if(null===a)throw new v(407,!1);const u={rendererFactory:a,sanitizer:s.get(H1,null),effectManager:s.get(ib,null),afterRenderEventManager:s.get(Hh,null)},h=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=i?function mR(e,n,t,i){const o=i.get(Oy,!1)||t===_n.ShadowDom,s=e.selectRootElement(n,o);return function gR(e){Gy(e)}(s),s}(h,i,this.componentDef.encapsulation,s):kl(h,f,function GR(e){const n=e.toLowerCase();return"svg"===n?M_:"math"===n?"math":null}(f)),b=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let _=null;null!==p&&(_=Fh(p,s,!0));const S=Wh(0,null,null,1,0,null,null,null,null,null,null),O=nc(null,S,null,b,null,null,u,h,s,null,_);let K,Fe;Lu(O);try{const Oe=this.componentDef;let St,pn=null;Oe.findHostDirectiveDefs?(St=[],pn=new Map,Oe.findHostDirectiveDefs(Oe,St,pn),St.push(Oe)):St=[Oe];const Un=function QR(e,n){const t=e[M],i=re;return e[i]=n,Eo(t,i,2,"#host",null)}(O,p),Xd=function YR(e,n,t,i,r,o,s){const a=r[M];!function ZR(e,n,t,i){for(const r of e)n.mergedAttrs=gs(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(rc(n,n.mergedAttrs,!0),null!==t&&qv(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=Fh(n,r[zi]));const c=o.rendererFactory.createRenderer(n,t);let d=16;t.signals?d=4096:t.onPush&&(d=64);const u=nc(r,zy(t),null,d,r[e.index],e,o,c,null,null,l);return a.firstCreatePass&&Yh(a,e,i.length-1),ic(r,u),r[e.index]=u}(Un,p,Oe,St,O,u,h);Fe=I_(S,re),p&&function XR(e,n,t,i){if(i)wu(e,t,["ng-version",U1.full]);else{const{attrs:r,classes:o}=function II(e){const n=[],t=[];let i=1,r=2;for(;i0&&Gv(e,t,o.join(" "))}}(h,Oe,p,i),void 0!==t&&function JR(e,n,t){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=gs(r.hostAttrs,t=gs(t,r.hostAttrs))}}(i)}function sc(e){return e===Qn?{}:e===he?[]:e}function nF(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function iF(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function rF(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function mb(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[2]&&(t[i]=r[2])}e.inputTransforms=t}function ac(e){return!!function ef(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Dt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ne(e,n,t,i){const r=w();return Dt(r,no(),n)&&(ce(),ti(Ve(),r,e,n,t,i)),Ne}function Ct(e,n,t,i,r,o,s,a){const l=w(),c=ce(),d=e+re,u=c.firstCreatePass?function AF(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Eo(n,e,4,s||null,Wi(c,a));Qh(n,t,d,Wi(c,l)),gl(n,d);const u=d.tView=Wh(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,r,o,s):c.data[d];Xn(u,!1);const h=Ib(c,l,u,e);ml()&&Ll(c,l,h,u),wt(h,l),ic(l,l[d]=Ky(h,l,h,u)),ul(u)&&Gh(c,l,u),null!=s&&qh(l,u,a)}let Ib=function Ab(e,n,t,i){return Qi(!0),n[q].createComment("")};function ve(e,n,t){const i=w();return Dt(i,no(),n)&&ln(ce(),Ve(),i,e,n,i[q],t,!1),ve}function lf(e,n,t,i,r){const s=r?"class":"style";Xh(e,t,n.inputs[s],s,i)}function L(e,n,t,i){const r=w(),o=ce(),s=re+e,a=r[q],l=o.firstCreatePass?function OF(e,n,t,i,r,o){const s=n.consts,l=Eo(n,e,2,i,Wi(s,r));return Qh(n,t,l,Wi(s,o)),null!==l.attrs&&rc(l,l.attrs,!1),null!==l.mergedAttrs&&rc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=Rb(o,r,l,a,n,e);r[s]=c;const d=ul(l);return Xn(l,!0),qv(a,c,l),32!=(32&l.flags)&&ml()&&Ll(o,r,c,l),0===function oA(){return H.lFrame.elementDepthCount}()&&wt(c,r),function sA(){H.lFrame.elementDepthCount++}(),d&&(Gh(o,r,l),zh(o,l,r)),null!==i&&qh(r,l),L}function Z(){let e=mt();Fu()?Ou():(e=e.parent,Xn(e,!1));const n=e;(function lA(e){return H.skipHydrationRootTNode===e})(n)&&function hA(){H.skipHydrationRootTNode=null}(),function aA(){H.lFrame.elementDepthCount--}();const t=ce();return t.firstCreatePass&&(gl(t,e),Cu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function MA(e){return 0!=(8&e.flags)}(n)&&lf(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function SA(e){return 0!=(16&e.flags)}(n)&&lf(t,n,w(),n.stylesWithoutHost,!1),Z}function gt(e,n,t,i){return L(e,n,t,i),Z(),gt}let Rb=(e,n,t,i,r,o)=>(Qi(!0),kl(i,r,function Q_(){return H.lFrame.currentNamespace}()));function Xs(e){return!!e&&"function"==typeof e.then}function Nb(e){return!!e&&"function"==typeof e.subscribe}function qe(e,n,t,i){const r=w(),o=ce(),s=mt();return Pb(o,r,r[q],s,e,n,i),qe}function cf(e,n){const t=mt(),i=w(),r=ce();return Pb(r,i,tb(Nu(r.data),t,i),t,e,n),cf}function Pb(e,n,t,i,r,o,s){const a=ul(i),c=e.firstCreatePass&&eb(e),d=n[Ue],u=Jy(n);let h=!0;if(3&i.type||s){const m=zt(i,n),y=s?s(m):m,b=u.length,_=s?O=>s(Ae(O[i.index])):i.index;let S=null;if(!s&&a&&(S=function BF(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,h=!1;else{o=Vb(i,n,d,o,!1);const O=t.listen(y,r,o);u.push(o,O),c&&c.push(r,_,b,b+1)}}else o=Vb(i,n,d,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let y=0;y-1?on(e.index,n):n);let l=Lb(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Lb(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function Js(e=1){return function vA(e){return(H.lFrame.contextLView=function yA(e,n){for(;e>0;)n=n[Zr],e--;return n}(e,H.lFrame.contextLView))[Ue]}(e)}function jF(e,n){let t=null;const i=function DI(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r>17&32767}function uf(e){return 2|e}function wr(e){return(131068&e)>>2}function hf(e,n){return-131069&e|n<<2}function ff(e){return 1|e}function Qb(e,n,t,i,r){const o=e[t+1],s=null===n;let a=i?Zi(o):wr(o),l=!1;for(;0!==a&&(!1===l||s);){const d=e[a+1];qF(e[a],n)&&(l=!0,e[a+1]=i?ff(d):uf(d)),a=i?Zi(d):wr(d)}l&&(e[t+1]=i?uf(o):ff(o))}function qF(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&ho(e,n)>=0}function pf(e,n,t){return On(e,n,t,!1),pf}function _t(e,n){return On(e,n,null,!0),_t}function On(e,n,t,i){const r=w(),o=ce(),s=function Ei(e){const n=H.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);o.firstUpdatePass&&function nw(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Ot()],s=function tw(e,n){return n>=e.expandoStartIndex}(e,t);(function sw(e,n){return 0!=(e.flags&(n?8:16))})(o,i)&&null===n&&!s&&(n=!1),n=function tO(e,n,t,i){const r=Nu(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=ea(t=mf(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=mf(r,e,n,t,i),null===o){let l=function nO(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==wr(i))return e[Zi(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=mf(null,e,n,l[1],i),l=ea(l,n.attrs,i),function iO(e,n,t,i){e[Zi(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function rO(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const h=Zi(e[a+1]);e[i+1]=hc(h,a),0!==h&&(e[h+1]=hf(e[h+1],i)),e[a+1]=function HF(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=hc(a,0),0!==a&&(e[a+1]=hf(e[a+1],i)),a=i;else e[i+1]=hc(l,0),0===a?a=i:e[l+1]=hf(e[l+1],i),l=i;c&&(e[i+1]=uf(e[i+1])),Qb(e,d,i,!0),Qb(e,d,i,!1),function GF(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ho(o,n)>=0&&(t[i+1]=ff(t[i+1]))}(n,d,e,i,o),s=hc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}(o,e,s,i),n!==Q&&Dt(r,s,n)&&function rw(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function UF(e){return 1==(1&e)}(c)?ow(l,n,t,r,wr(c),s):void 0;fc(d)||(fc(o)||function $F(e){return 2==(2&e)}(c)&&(o=ow(l,null,t,r,a,s)),function VT(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Yi.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Yi.Important),e.setStyle(t,i,r,o))}}(i,s,pl(Ot(),t),r,o))}(o,o.data[Ot()],r,r[q],e,r[s+1]=function lO(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=tt(an(e)))),e}(n,t),i,s)}function mf(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===Q&&(h=u?he:void 0);let f=u?Wu(h,i):d===i?h:void 0;if(c&&!fc(f)&&(f=Wu(l,i)),fc(f)&&(a=f,s))return a;const p=e[r+1];r=s?Zi(p):wr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Wu(l,i))}return a}function fc(e){return void 0!==e}function ct(e,n=""){const t=w(),i=ce(),r=e+re,o=i.firstCreatePass?Eo(i,r,1,n,null):i.data[r],s=aw(i,t,o,n,e);t[r]=s,ml()&&Ll(i,t,s,o),Xn(o,!1)}let aw=(e,n,t,i,r)=>(Qi(!0),function Ol(e,n){return e.createText(n)}(n[q],i));function ta(e){return cn("",e,""),ta}function cn(e,n,t){const i=w(),r=function So(e,n,t,i){return Dt(e,no(),t)?n+G(t)+i:Q}(i,e,n,t);return r!==Q&&function Ti(e,n,t){const i=pl(n,e);!function Ov(e,n,t){e.setValue(n,t)}(e[q],i,t)}(i,Ot(),r),cn}function Ki(e,n,t){const i=w();return Dt(i,no(),n)&&ln(ce(),Ve(),i,e,n,i[q],t,!0),Ki}function gf(e,n,t){const i=w();if(Dt(i,no(),n)){const o=ce(),s=Ve();ln(o,s,i,e,n,tb(Nu(o.data),s,i),t,!0)}return gf}const Bo="en-US";let Sw=Bo;function yf(e,n,t,i,r){if(e=U(e),Array.isArray(e))for(let o=0;o>20;if(gr(e)||!e.multi){const f=new Ms(c,r,g),p=wf(l,n,r?d:d+h,u);-1===p?(zu(bl(a,s),o,l),bf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=wf(l,n,d+h,u),p=wf(l,n,d,d+h),y=p>=0&&t[p];if(r&&!y||!r&&!(f>=0&&t[f])){zu(bl(a,s),o,l);const b=function Ak(e,n,t,i,r){const o=new Ms(e,t,g);return o.multi=[],o.index=n,o.componentProviders=0,Xw(o,r,i&&!t),o}(r?Ik:Sk,t.length,r,i,c);!r&&y&&(t[p].providerFactory=b),bf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else bf(o,e,f>-1?f:p,Xw(t[r?p:f],c,!r&&i));!r&&i&&y&&t[p].componentProviders++}}}function bf(e,n,t,i){const r=gr(n),o=function y1(e){return!!e.useClass}(n);if(r||o){const l=(o?U(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function Xw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function wf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function Mk(e,n,t){const i=ce();if(i.firstCreatePass){const r=Fn(e);yf(t,i.data,i.blueprint,r,!0),yf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}class Cr{}class Jw{}class Cf extends Cr{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new cb(this);const r=nn(n);this._bootstrapComponents=Ai(r.bootstrap),this._r3Injector=Dy(n,t,[{provide:Cr,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver},...i],tt(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class xf extends Jw{constructor(n){super(),this.moduleType=n}create(n){return new Cf(this.moduleType,n,[])}}class eD extends Cr{constructor(n){super(),this.componentFactoryResolver=new cb(this),this.instance=null;const t=new vo([...n.providers,{provide:Cr,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],n.parent||ql(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Ef(e,n,t=null){return new eD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Fk=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=ay(0,t.type),r=i.length>0?Ef([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(D(wn))})}return e})();function tD(e){e.getStandaloneInjector=n=>n.get(Fk).getOrCreateStandaloneInjector(e)}function lD(e,n,t,i){return function cD(e,n,t,i,r,o){const s=n+t;return Dt(e,s,r)?function ni(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function aa(e,n){const t=e[n];return t===Q?void 0:t}(e,s+1)}(w(),function Ft(){const e=H.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),e,n,t,i)}function iN(){return this._results[Symbol.iterator]()}class xr{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new de)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=xr.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=iN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const i=this;i.dirty=!1;const r=function yn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function $A(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i0&&(t[r-1][Rn]=n),i{class e{static#e=this.__NG_ELEMENT_ID__=lN}return e})();const sN=Ri,aN=class extends sN{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function rN(e,n,t,i){const r=n.tView,a=nc(e,r,t,4096&e[Y]?4096:16,null,n,null,null,null,i?.injector??null,i?.hydrationInfo??null);a[ys]=e[n.index];const c=e[Yn];return null!==c&&(a[Yn]=c.createEmbeddedView(r)),Jh(r,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:i});return new qs(r)}};function lN(){return vc(mt(),w())}function vc(e,n){return 4&e.type?new aN(n,e,Do(e,n)):null}let Nn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pN}return e})();function pN(){return bD(mt(),w())}const mN=Nn,vD=class extends mN{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Do(this._hostTNode,this._hostLView)}get injector(){return new kt(this._hostTNode,this._hostLView)}get parentInjector(){const n=wl(this._hostTNode,this._hostLView);if($u(n)){const t=Is(n,this._hostLView),i=Ss(n);return new kt(t[M].data[i+8],t)}return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=yD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-ft}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,false),a}createComponent(n,t,i,r,o){const s=n&&!function Ts(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Ws(le(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(wn,null);y&&(o=y)}le(l.componentType??{});const f=l.create(c,r,null,o);return this.insertImpl(f.hostView,a,false),f}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,i){const r=n._lView;if(function nA(e){return Rt(e[ke])}(r)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=r[ke],d=new vD(c,c[bt],c[ke]);d.detach(d.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return oN(a,r,s,!i),n.attachToViewContainerRef(),cv(Sf(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=yD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Nl(this._lContainer,t);i&&(Cl(Sf(this._lContainer),t),rh(i[M],i))}detach(n){const t=this._adjustIndex(n,-1),i=Nl(this._lContainer,t);return i&&null!=Cl(Sf(this._lContainer),t)?new qs(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function yD(e){return e[8]}function Sf(e){return e[8]||(e[8]=[])}function bD(e,n){let t;const i=n[e.index];return Rt(i)?t=i:(t=Ky(i,n,null,e),n[e.index]=t,ic(n,t)),wD(t,n,e,i),new vD(t,e,n)}let wD=function DD(e,n,t,i){if(e[Zn])return;let r;r=8&t.type?Ae(i):function gN(e,n){const t=e[q],i=t.createComment(""),r=zt(n,e);return pr(t,Pl(t,r),i,function NT(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Zn]=r};class If{constructor(n){this.queryList=n,this.matches=null}clone(){return new If(this.queryList)}setDirty(){this.queryList.setDirty()}}class Af{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=ft;u{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=x(Vf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Xs(o))t.push(o);else if(Nb(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GD=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const oi=new C("LocaleId",{providedIn:"root",factory:()=>x(oi,ie.Optional|ie.SkipSelf)||function GN(){return typeof $localize<"u"&&$localize.locale||Bo}()});let qD=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new en(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class QN{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let WD=(()=>{class e{compileModuleSync(t){return new xf(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Ai(nn(t).declarations).reduce((s,a)=>{const l=le(a);return l&&s.push(new Ws(l)),s},[]);return new QN(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const KD=new C(""),Dc=new C("");let zf,Hf=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,zf||(function gP(e){zf=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(D(J),D(Uf),D(Dc))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Uf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return zf?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Xi=null;const XD=new C("AllowMultipleToken"),Gf=new C("PlatformDestroyListeners"),qf=new C("appBootstrapListener");class eC{constructor(n,t){this.name=n,this.token=t}}function nC(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=Wf();if(!s||s.injector.get(XD,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function yP(e){if(Xi&&!Xi.get(XD,!1))throw new v(400,!1);(function JD(){!function $I(e){v_=e}(()=>{throw new v(600,!1)})})(),Xi=e;const n=e.get(rC);(function tC(e){e.get(hy,null)?.forEach(t=>t())})(e)}(function iC(e=[],n){return qt.create({name:n,providers:[{provide:bh,useValue:"platform"},{provide:Gf,useValue:new Set([()=>Xi=null])},...e]})}(a,i))}return function wP(e){const n=Wf();if(!n)throw new v(401,!1);return n}()}}function Wf(){return Xi?.get(rC)??null}let rC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function DP(e="zone.js",n){return"noop"===e?new tR:"zone.js"===e?new J(n):e}(i?.ngZone,function oC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function Rk(e,n,t){return new Cf(e,n,t)}(t.moduleType,this.injector,function dC(e){return[{provide:J,useFactory:e},{provide:Bs,multi:!0,useFactory:()=>{const n=x(xP,{optional:!0});return()=>n.initialize()}},{provide:cC,useFactory:CP},{provide:Sy,useFactory:Iy}]}(()=>r)),s=o.injector.get(Ii,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{Cc(this._modules,o),a.unsubscribe()})}),function sC(e,n,t){try{const i=t();return Xs(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(Bf);return a.runInitializers(),a.donePromise.then(()=>(function Iw(e){gn(e,"Expected localeId to be defined"),"string"==typeof e&&(Sw=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(oi,Bo)||Bo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=aC({},i);return function _P(e,n,t){const i=new xf(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(Er);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new v(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Gf,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(D(qt))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function aC(e,n){return Array.isArray(n)?n.reduce(aC,e):{...e,...n}}let Er=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=x(cC),this.zoneIsStable=x(Sy),this.componentTypes=[],this.components=[],this.isStable=x(qD).hasPendingTasks.pipe(An(t=>t?j(!1):this.zoneIsStable),su(),Pg()),this._injector=x(wn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof gy;if(!this._injector.get(Bf).done)throw!r&&function Wr(e){const n=le(e)||ht(e)||Tt(e);return null!==n&&n.standalone}(t),new v(405,!1);let s;s=r?t:this._injector.get(Jl).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function vP(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Cr),c=s.create(qt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(KD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Cc(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Cc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(qf,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Cc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new v(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const cC=new C("",{providedIn:"root",factory:()=>x(Ii).handleError.bind(void 0)});function CP(){const e=x(J),n=x(Ii);return t=>e.runOutsideAngular(()=>n.handleError(t))}let xP=(()=>{class e{constructor(){this.zone=x(J),this.applicationRef=x(Er)}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(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let si=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MP}return e})();function MP(e){return function SP(e,n,t){if(dr(e)&&!t){const i=on(e.index,n);return new qs(i,i)}return 47&e.type?new qs(n[ze],n):null}(mt(),w(),16==(16&e))}class pC{constructor(){}supports(n){return ac(n)}create(n){return new OP(n)}}const FP=(e,n)=>n;class OP{constructor(n){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=n||FP}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new kP(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new mC),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mC),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class kP{constructor(n,t){this.item=n,this.trackById=t,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 NP{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class mC{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new NP,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gC(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:vC});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||vC()),deps:[[e,new Ml,new El]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new v(901,!1)}}return e})();const jP=nC(null,"core",[]);let $P=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(D(Er))};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function Ho(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Jf=null;function Ji(){return Jf}class tL{}const be=new C("DocumentToken");let ep=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return x(iL)},providedIn:"platform"})}return e})();const nL=new C("Location Initialized");let iL=(()=>{class e extends ep{constructor(){super(),this._doc=x(be),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ji().getBaseHref(this._doc)}onPopState(t){const i=Ji().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Ji().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return new e},providedIn:"platform"})}return e})();function tp(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function IC(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Fi(e){return e&&"?"!==e[0]?"?"+e:e}let Sr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return x(TC)},providedIn:"root"})}return e})();const AC=new C("appBaseHref");let TC=(()=>{class e extends Sr{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??x(be).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return tp(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Fi(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Fi(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Fi(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(ep),D(AC,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rL=(()=>{class e extends Sr{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=tp(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Fi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Fi(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(ep),D(AC,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),np=(()=>{class e{constructor(t){this._subject=new de,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function aL(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(IC(RC(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Fi(i))}normalize(t){return e.stripTrailingSlash(function sL(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,RC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Fi(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Fi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static#e=this.normalizeQueryParams=Fi;static#t=this.joinWithSlash=tp;static#n=this.stripTrailingSlash=IC;static#i=this.\u0275fac=function(i){return new(i||e)(D(Sr))};static#r=this.\u0275prov=I({token:e,factory:function(){return function oL(){return new np(D(Sr))}()},providedIn:"root"})}return e})();function RC(e){return e.replace(/\/index.html$/,"")}class QL{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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 HC=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new QL(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),UC(a,r)}});for(let r=0,o=i.length;r{UC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(g(Nn),g(Ri),g(Mc))};static#t=this.\u0275dir=T({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function UC(e,n){e.context.$implicit=n.item}let zo=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new YL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){zC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){zC("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(g(Nn),g(Ri))};static#t=this.\u0275dir=T({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class YL{constructor(){this.$implicit=null,this.ngIf=null}}function zC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${tt(n)}'.`)}let Bc=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({})}return e})();const QC="browser";function YC(e){return"server"===e}let x2=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>new E2(D(be),window)})}return e})();class E2{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function M2(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Z2 extends tL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class vp extends Z2{static makeCurrent(){!function eL(e){Jf||(Jf=e)}(new vp)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function K2(){return ga=ga||document.querySelector("base"),ga?ga.getAttribute("href"):null}();return null==t?null:function X2(e){Hc=Hc||document.createElement("a"),Hc.setAttribute("href",e);const n=Hc.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){ga=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function GL(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let Hc,ga=null,eV=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const yp=new C("EventManagerPlugins");let e0=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new v(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(D(yp),D(J))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class t0{constructor(n){this._doc=n}}const bp="ng-app-id";let n0=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=YC(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${bp}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(bp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(bp,this.appId),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i);t.appendChild(r);const o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(D(be),D(Wl),D(xh,8),D(_r))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const wp={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/"},Dp=/%COMP%/g,rV=new C("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function o0(e,n){return n.map(t=>t.replace(Dp,e))}let Cp=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=YC(a),this.defaultRenderer=new xp(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===_n.ShadowDom&&(i={...i,encapsulation:_n.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof a0?r.applyToHost(t):r instanceof Ep&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case _n.Emulated:o=new a0(l,c,i,this.appId,d,s,a,u);break;case _n.ShadowDom:return new lV(l,c,t,i,s,a,this.nonce,u);default:o=new Ep(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(D(e0),D(n0),D(Wl),D(rV),D(be),D(_r),D(J),D(xh))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class xp{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(wp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(s0(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(s0(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new v(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=wp[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=wp[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Yi.DashCase|Yi.Important)?n.style.setProperty(t,i,r&Yi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Yi.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n[t]=i}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Ji().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function s0(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class lV extends xp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=o0(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ep extends xp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?o0(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class a0 extends Ep{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function oV(e){return"_ngcontent-%COMP%".replace(Dp,e)}(c),this.hostAttr=function sV(e){return"_nghost-%COMP%".replace(Dp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let cV=(()=>{class e extends t0{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(D(be))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const l0=["alt","control","meta","shift"],dV={"\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"},uV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let hV=(()=>{class e extends t0{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ji().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),l0.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=dV[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),l0.forEach(s=>{s!==r&&(0,uV[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(D(be))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const gV=nC(jP,"browser",[{provide:_r,useValue:QC},{provide:hy,useValue:function fV(){vp.makeCurrent()},multi:!0},{provide:be,useFactory:function mV(){return function UT(e){uh=e}(document),document},deps:[]}]),_V=new C(""),u0=[{provide:Dc,useClass:class J2{addToWindow(n){Ie.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new v(5103,!1);return o},Ie.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ie.getAllAngularRootElements=()=>n.getAllRootElements(),Ie.frameworkStabilizers||(Ie.frameworkStabilizers=[]),Ie.frameworkStabilizers.push(i=>{const r=Ie.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?Ji().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:KD,useClass:Hf,deps:[J,Uf,Dc]},{provide:Hf,useClass:Hf,deps:[J,Uf,Dc]}],h0=[{provide:bh,useValue:"root"},{provide:Ii,useFactory:function pV(){return new Ii},deps:[]},{provide:yp,useClass:cV,multi:!0,deps:[be,J,_r]},{provide:yp,useClass:hV,multi:!0,deps:[be]},Cp,n0,e0,{provide:Hs,useExisting:Cp},{provide:class S2{},useClass:eV,deps:[]},[]];let f0=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Wl,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(D(_V,12))};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({providers:[...h0,...u0],imports:[Bc,$P]})}return e})(),p0=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(i){return new(i||e)(D(be))};static#t=this.\u0275prov=I({token:e,factory:function(i){let r=null;return r=i?new i:function yV(){return new p0(D(be))}(),r},providedIn:"root"})}return e})();typeof window<"u"&&window;let _0=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(i){let r=null;return r=i?new(i||e):D(v0),r},providedIn:"root"})}return e})(),v0=(()=>{class e extends _0{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case bn.NONE:return i;case bn.HTML:return ei(i,"HTML")?an(i):ny(this._doc,String(i)).toString();case bn.STYLE:return ei(i,"Style")?an(i):i;case bn.SCRIPT:if(ei(i,"Script"))return an(i);throw new v(5200,!1);case bn.URL:return ei(i,"URL")?an(i):$l(String(i));case bn.RESOURCE_URL:if(ei(i,"ResourceURL"))return an(i);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(t){return function ZT(e){return new zT(e)}(t)}bypassSecurityTrustStyle(t){return function KT(e){return new GT(e)}(t)}bypassSecurityTrustScript(t){return function XT(e){return new qT(e)}(t)}bypassSecurityTrustUrl(t){return function JT(e){return new WT(e)}(t)}bypassSecurityTrustResourceUrl(t){return function e1(e){return new QT(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(be))};static#t=this.\u0275prov=I({token:e,factory:function(i){let r=null;return r=i?new i:function CV(e){return new v0(e.get(be))}(D(qt)),r},providedIn:"root"})}return e})();const{isArray:EV}=Array,{getPrototypeOf:MV,prototype:SV,keys:IV}=Object;const{isArray:TV}=Array;function Sp(e){return X(n=>function RV(e,n){return TV(n)?e(...n):e(n)}(e,n))}function Uc(...e){const n=us(e),t=function Fg(e){return ne(ru(e))?e.pop():void 0}(e),{args:i,keys:r}=function b0(e){if(1===e.length){const n=e[0];if(EV(n))return{args:n,keys:null};if(function AV(e){return e&&"object"==typeof e&&MV(e)===SV}(n)){const t=IV(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e);if(0===i.length)return lt([],n);const o=new R(function FV(e,n,t=k){return i=>{D0(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=lt(e[l],n);let d=!1;c.subscribe(fe(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>function w0(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}(r,s):k));return t?o.pipe(Sp(t)):o}function D0(e,n,t){e?bi(t,e,n):n()}const zc=hi(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Gc(...e){return function OV(){return Gr(1)}()(lt(e,us(e)))}function C0(e){return new R(n=>{At(e()).subscribe(n)})}function _a(e,n){const t=ne(e)?e:()=>e,i=r=>r.error(t());return new R(n?r=>n.schedule(i,0,r):i)}function Ip(){return Me((e,n)=>{let t=null;e._refCount++;const i=fe(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class x0 extends R{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,qn(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Ee;const t=this.getSubject();n.add(this.source.subscribe(fe(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ee.EMPTY)}return n}refCount(){return Ip()(this)}}function Vn(e){return e<=0?()=>Wn:Me((n,t)=>{let i=0;n.subscribe(fe(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function tr(...e){const n=us(e);return Me((t,i)=>{(n?Gc(e,t,n):Gc(e,t)).subscribe(i)})}function dt(e,n){return Me((t,i)=>{let r=0;t.subscribe(fe(i,o=>e.call(n,o,r++)&&i.next(o)))})}function qc(e){return Me((n,t)=>{let i=!1;n.subscribe(fe(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function E0(e=kV){return Me((n,t)=>{let i=!1;n.subscribe(fe(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function kV(){return new zc}function Ir(e,n){const t=arguments.length>=2;return i=>i.pipe(e?dt((r,o)=>e(r,o,i)):k,Vn(1),t?qc(n):E0(()=>new zc))}function va(e,n){return ne(n)?at(e,n,1):at(e,1)}function ot(e,n,t){const i=ne(e)||n||t?{next:e,error:n,complete:t}:e;return i?Me((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(fe(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):k}function Ar(e){return Me((n,t)=>{let o,i=null,r=!1;i=n.subscribe(fe(t,void 0,void 0,s=>{o=At(e(s,Ar(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Ap(e){return e<=0?()=>Wn:Me((n,t)=>{let i=[];n.subscribe(fe(t,r=>{i.push(r),e{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Tp(e){return X(()=>e)}function Rp(e){return Me((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Pe(e){return Me((n,t)=>{At(e).subscribe(fe(t,()=>t.complete(),In)),!t.closed&&n.subscribe(t)})}const ee="primary",ya=Symbol("RouteTitle");class VV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Go(e){return new VV(e)}function BV(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.lengthi[o]===r)}return e===n}function S0(e){return e.length>0?e[e.length-1]:null}function nr(e){return function xV(e){return!!e&&(e instanceof R||ne(e.lift)&&ne(e.subscribe))}(e)?e:Xs(e)?lt(Promise.resolve(e)):j(e)}const $V={exact:function T0(e,n,t){if(!Tr(e.segments,n.segments)||!Wc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!T0(e.children[i],n.children[i],t))return!1;return!0},subset:R0},I0={exact:function HV(e,n){return ai(e,n)},subset:function UV(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>M0(e[t],n[t]))},ignored:()=>!0};function A0(e,n,t){return $V[t.paths](e.root,n.root,t.matrixParams)&&I0[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function R0(e,n,t){return F0(e,n,n.segments,t)}function F0(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!Tr(r,t)||n.hasChildren()||!Wc(r,t,i))}if(e.segments.length===t.length){if(!Tr(e.segments,t)||!Wc(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!R0(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Tr(e.segments,r)&&Wc(e.segments,r,i)&&e.children[ee])&&F0(e.children[ee],n,o,i)}}function Wc(e,n,t){return n.every((i,r)=>I0[t](e[r].parameters,i.parameters))}class qo{constructor(n=new Ce([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Go(this.queryParams)),this._queryParamMap}toString(){return qV.serialize(this)}}class Ce{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qc(this)}}class ba{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Go(this.parameters)),this._parameterMap}toString(){return N0(this)}}function Tr(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let wa=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return new Fp},providedIn:"root"})}return e})();class Fp{parse(n){const t=new iB(n);return new qo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Da(n.root,!0)}`,i=function YV(e){const n=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(r=>`${Yc(t)}=${Yc(r)}`).join("&"):`${Yc(t)}=${Yc(i)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function WV(e){return encodeURI(e)}(n.fragment)}`:""}`}}const qV=new Fp;function Qc(e){return e.segments.map(n=>N0(n)).join("/")}function Da(e,n){if(!e.hasChildren())return Qc(e);if(n){const t=e.children[ee]?Da(e.children[ee],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==ee&&i.push(`${r}:${Da(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function GV(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===ee&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==ee&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===ee?[Da(e.children[ee],!1)]:[`${r}:${Da(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ee]?`${Qc(e)}/${t[0]}`:`${Qc(e)}/(${t.join("//")})`}}function O0(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yc(e){return O0(e).replace(/%3B/gi,";")}function Op(e){return O0(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zc(e){return decodeURIComponent(e)}function k0(e){return Zc(e.replace(/\+/g,"%20"))}function N0(e){return`${Op(e.path)}${function QV(e){return Object.keys(e).map(n=>`;${Op(n)}=${Op(e[n])}`).join("")}(e.parameters)}`}const ZV=/^[^\/()?;#]+/;function kp(e){const n=e.match(ZV);return n?n[0]:""}const KV=/^[^\/()?;=#]+/,JV=/^[^=?]+/,tB=/^[^]+/;class iB{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ce([],{}):new Ce([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[ee]=new Ce(n,t)),i}parseSegment(){const n=kp(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(n),new ba(Zc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function XV(e){const n=e.match(KV);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=kp(this.remaining);r&&(i=r,this.capture(i))}n[Zc(t)]=Zc(i)}parseQueryParam(n){const t=function eB(e){const n=e.match(JV);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function nB(e){const n=e.match(tB);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=k0(t),o=k0(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=kp(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new v(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ee);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ee]:new Ce([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new v(4011,!1)}}function P0(e){return e.segments.length>0?new Ce([],{[ee]:e}):e}function L0(e){const n={};for(const i of Object.keys(e.children)){const o=L0(e.children[i]);if(i===ee&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function rB(e){if(1===e.numberOfChildren&&e.children[ee]){const n=e.children[ee];return new Ce(e.segments.concat(n.segments),n.children)}return e}(new Ce(e.segments,n))}function Rr(e){return e instanceof qo}function V0(e){let n;const r=P0(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Ce(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function B0(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Np(r,r,r,t,i);const o=function sB(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new $0(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new $0(t,n,i)}(n);if(o.toRoot())return Np(r,r,new Ce([],{}),t,i);const s=function aB(e,n,t){if(e.isAbsolute)return new Xc(n,!0,0);if(!t)return new Xc(n,!1,NaN);if(null===t.parent)return new Xc(t,!0,0);const i=Kc(e.commands[0])?0:1;return function lB(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new v(4005,!1);r=i.segments.length}return new Xc(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?xa(s.segmentGroup,s.index,o.commands):H0(s.segmentGroup,s.index,o.commands);return Np(r,s.segmentGroup,a,t,i)}function Kc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ca(e){return"object"==typeof e&&null!=e&&e.outlets}function Np(e,n,t,i,r){let s,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),s=e===n?t:j0(e,n,t);const a=P0(L0(s));return new qo(a,o,r)}function j0(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:j0(o,n,t)}),new Ce(e.segments,i)}class $0{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Kc(i[0]))throw new v(4003,!1);const r=i.find(Ca);if(r&&r!==S0(i))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xc{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function H0(e,n,t){if(e||(e=new Ce([],{})),0===e.segments.length&&e.hasChildren())return xa(e,n,t);const i=function dB(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=e.segments[r],a=t[i];if(Ca(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!z0(l,c,s))return o;i+=2}else{if(!z0(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndexo!==ee)&&e.children[ee]&&1===e.numberOfChildren&&0===e.children[ee].segments.length){const o=xa(e.children[ee],n,t);return new Ce(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=H0(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new Ce(e.segments,r)}}function Pp(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Pp(new Ce([],{}),0,i))}),n}function U0(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function z0(e,n,t){return e==t.path&&ai(n,t.parameters)}const Ea="imperative";class li{constructor(n,t){this.id=n,this.url=t}}class Jc extends li{constructor(n,t,i="imperative",r=null){super(n,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ni extends li{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ma extends li{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wo extends li{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=16}}class ed extends li{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class G0 extends li{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hB extends li{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fB extends li{constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pB extends li{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mB extends li{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gB{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _B{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bB{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q0{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Lp{}class Vp{constructor(n){this.url=n}}class DB{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Sa,this.attachRef=null}}let Sa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new DB,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class W0{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Bp(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Bp(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=jp(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return jp(n,this._root).map(t=>t.value)}}function Bp(e,n){if(e===n.value)return n;for(const t of n.children){const i=Bp(e,t);if(i)return i}return null}function jp(e,n){if(e===n.value)return[n];for(const t of n.children){const i=jp(e,t);if(i.length)return i.unshift(n),i}return[]}class Pi{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Qo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class Q0 extends W0{constructor(n,t){super(n),this.snapshot=t,$p(this,n)}toString(){return this.snapshot.toString()}}function Y0(e,n){const t=function CB(e,n){const s=new td([],{},{},"",{},ee,n,null,{});return new K0("",new Pi(s,[]))}(0,n),i=new en([new ba("",{})]),r=new en({}),o=new en({}),s=new en({}),a=new en(""),l=new Fr(i,r,s,a,o,ee,n,t.root);return l.snapshot=t.root,new Q0(new Pi(l,[]),t)}class Fr{constructor(n,t,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(X(c=>c[ya]))??j(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(X(n=>Go(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(X(n=>Go(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Z0(e,n="emptyOnly"){const t=e.pathFromRoot;let i=0;if("always"!==n)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function xB(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class td{get title(){return this.data?.[ya]}constructor(n,t,i,r,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Go(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Go(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class K0 extends W0{constructor(n,t){super(t),this.url=n,$p(this,t)}toString(){return X0(this._root)}}function $p(e,n){n.value._routerState=e,n.children.forEach(t=>$p(e,t))}function X0(e){const n=e.children.length>0?` { ${e.children.map(X0).join(", ")} } `:"";return`${e.value}${n}`}function Hp(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ai(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),ai(n.params,t.params)||e.paramsSubject.next(t.params),function jV(e,n){if(e.length!==n.length)return!1;for(let t=0;tai(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Up(e.parent,n.parent))}let zp=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ee,this.activateEvents=new de,this.deactivateEvents=new de,this.attachEvents=new de,this.detachEvents=new de,this.parentContexts=x(Sa),this.location=x(Nn),this.changeDetector=x(si),this.environmentInjector=x(wn),this.inputBinder=x(nd,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new EB(t,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rn]})}return e})();class EB{constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===Fr?this.route:n===Sa?this.childContexts:this.parent.get(n,t)}}const nd=new C("");let J0=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,r=Uc([i.queryParams,i.params,i.data]).pipe(An(([o,s,a],l)=>(a={...o,...s,...a},0===l?j(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const s=function JP(e){const n=le(e);if(!n)return null;const t=new Ws(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function Ia(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function SB(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Ia(e,i,r);return Ia(e,i)})}(e,n,t);return new Pi(i,r)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ia(e,a)),s}}const i=function IB(e){return new Fr(new en(e.url),new en(e.params),new en(e.queryParams),new en(e.fragment),new en(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>Ia(e,o));return new Pi(i,r)}}const Gp="ngNavigationCancelingError";function ex(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=Rr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=tx(!1,0,n);return r.url=t,r.navigationBehaviorOptions=i,r}function tx(e,n,t){const i=new Error("NavigationCancelingError: "+(e||""));return i[Gp]=!0,i.cancellationCode=n,t&&(i.url=t),i}function nx(e){return e&&e[Gp]}let ix=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=He({type:e,selectors:[["ng-component"]],standalone:!0,features:[tD],decls:1,vars:0,template:function(i,r){1&i&>(0,"router-outlet")},dependencies:[zp],encapsulation:2})}return e})();function qp(e){const n=e.children&&e.children.map(qp),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ee&&(t.component=ix),t}function Bn(e){return e.outlet||ee}function Aa(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class PB{constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),Hp(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=Qo(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Qo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Qo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=Qo(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new wB(o.value.snapshot))}),n.children.length&&this.forwardEvent(new yB(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(Hp(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),Hp(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Aa(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class rx{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class id{constructor(n,t){this.component=n,this.route=t}}function LB(e,n,t){const i=e._root;return Ta(i,n?n._root:null,t,[i.value])}function Yo(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function sI(e){return null!==nl(e)}(e)?n.get(e):e:i}function Ta(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Qo(n);return e.children.forEach(s=>{(function BB(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function jB(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Tr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Tr(e.url,n.url)||!ai(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Up(e,n)||!ai(e.queryParams,n.queryParams);default:return!Up(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new rx(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Ta(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new id(a.outlet.component,s))}else s&&Ra(n,a,r),r.canActivateChecks.push(new rx(i)),Ta(e,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ra(a,t.getContext(s),r)),r}function Ra(e,n,t){const i=Qo(e),r=e.value;Object.entries(i).forEach(([o,s])=>{Ra(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new id(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Fa(e){return"function"==typeof e}function ox(e){return e instanceof zc||"EmptyError"===e?.name}const rd=Symbol("INITIAL_VALUE");function Zo(){return An(e=>Uc(e.map(n=>n.pipe(Vn(1),tr(rd)))).pipe(X(n=>{for(const t of n)if(!0!==t){if(t===rd)return rd;if(!1===t||t instanceof qo)return t}return!0}),dt(n=>n!==rd),Vn(1)))}function sx(e){return function A(...e){return W(e)}(ot(n=>{if(Rr(n))throw ex(0,n)}),X(n=>!0===n))}class od{constructor(n){this.segmentGroup=n||null}}class ax{constructor(n){this.urlTree=n}}function Ko(e){return _a(new od(e))}function lx(e){return _a(new ax(e))}class sj{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new v(4002,!1)}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return j(i);if(r.numberOfChildren>1||!r.children[ee])return _a(new v(4e3,!1));r=r.children[ee]}}applyRedirectCommands(n,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i)}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new qo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Ce(o,s)}createSegments(n,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new v(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const Wp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function aj(e,n,t,i,r){const o=Qp(e,n,t);return o.matched?(i=function TB(e,n){return e.providers&&!e._injector&&(e._injector=Ef(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function ij(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?j(r.map(s=>{const a=Yo(s,e);return nr(function qB(e){return e&&Fa(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Zo(),sx()):j(!0)}(i,n,t).pipe(X(s=>!0===s?o:{...Wp}))):j(o)}function Qp(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Wp}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||BV)(t,e,n);if(!r)return{...Wp};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function cx(e,n,t,i){return t.length>0&&function dj(e,n,t){return t.some(i=>sd(e,n,i)&&Bn(i)!==ee)}(e,t,i)?{segmentGroup:new Ce(n,cj(i,new Ce(t,e.children))),slicedSegments:[]}:0===t.length&&function uj(e,n,t){return t.some(i=>sd(e,n,i))}(e,t,i)?{segmentGroup:new Ce(e.segments,lj(e,0,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Ce(e.segments,e.children),slicedSegments:t}}function lj(e,n,t,i,r){const o={};for(const s of i)if(sd(e,t,s)&&!r[Bn(s)]){const a=new Ce([],{});o[Bn(s)]=a}return{...r,...o}}function cj(e,n){const t={};t[ee]=n;for(const i of e)if(""===i.path&&Bn(i)!==ee){const r=new Ce([],{});t[Bn(i)]=r}return t}function sd(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class mj{constructor(n,t,i,r,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new sj(this.urlSerializer,this.urlTree)}noMatchError(n){return new v(4002,!1)}recognize(){const n=cx(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,ee).pipe(Ar(t=>{if(t instanceof ax)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof od?this.noMatchError(t):t}),X(t=>{const i=new td([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ee,this.rootComponentType,null,{}),r=new Pi(i,t),o=new K0("",r),s=function oB(e,n,t=null,i=null){return B0(V0(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,ee).pipe(Ar(i=>{throw i instanceof od?this.noMatchError(i):i}))}inheritParamsAndData(n){const t=n.value,i=Z0(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,r,!0)}processChildren(n,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return lt(r).pipe(va(o=>{const s=i.children[o],a=function kB(e,n){const t=e.filter(i=>Bn(i)===n);return t.push(...e.filter(i=>Bn(i)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function PV(e,n){return Me(function NV(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(fe(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),qc(null),function LV(e,n){const t=arguments.length>=2;return i=>i.pipe(e?dt((r,o)=>e(r,o,i)):k,Ap(1),t?qc(n):E0(()=>new zc))}(),at(o=>{if(null===o)return Ko(i);const s=dx(o);return function gj(e){e.sort((n,t)=>n.value.outlet===ee?-1:t.value.outlet===ee?1:n.value.outlet.localeCompare(t.value.outlet))}(s),j(s)}))}processSegment(n,t,i,r,o,s){return lt(t).pipe(va(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,i,r,o,s).pipe(Ar(l=>{if(l instanceof od)return j(null);throw l}))),Ir(a=>!!a),Ar(a=>{if(ox(a))return function fj(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?j([]):Ko(i);throw a}))}processSegmentAgainstRoute(n,t,i,r,o,s,a){return function hj(e,n,t,i){return!!(Bn(e)===i||i!==ee&&sd(n,t,e))&&("**"===e.path||Qp(n,e,t).matched)}(i,r,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s):Ko(r):Ko(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,i,r){const o=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?lx(o):this.applyRedirects.lineralizeSegments(i,o).pipe(at(s=>{const a=new Ce(s,{});return this.processSegment(n,t,a,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=Qp(t,r,o);if(!a)return Ko(t);const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?lx(u):this.applyRedirects.lineralizeSegments(r,u).pipe(at(h=>this.processSegment(n,i,t,h.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,i,r,o,s){let a;if("**"===i.path){const l=r.length>0?S0(r).parameters:{};a=j({snapshot:new td(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ux(i),Bn(i),i.component??i._loadedComponent??null,i,hx(i)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=aj(t,i,r,n).pipe(X(({matched:l,consumedSegments:c,remainingSegments:d,parameters:u})=>l?{snapshot:new td(c,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ux(i),Bn(i),i.component??i._loadedComponent??null,i,hx(i)),consumedSegments:c,remainingSegments:d}:null));return a.pipe(An(l=>null===l?Ko(t):this.getChildConfig(n=i._injector??n,i,r).pipe(An(({routes:c})=>{const d=i._loadedInjector??n,{snapshot:u,consumedSegments:h,remainingSegments:f}=l,{segmentGroup:p,slicedSegments:m}=cx(t,h,f,c);if(0===m.length&&p.hasChildren())return this.processChildren(d,c,p).pipe(X(b=>null===b?null:[new Pi(u,b)]));if(0===c.length&&0===m.length)return j([new Pi(u,[])]);const y=Bn(i)===o;return this.processSegment(d,c,p,m,y?ee:o,!0).pipe(X(b=>[new Pi(u,b)]))}))))}getChildConfig(n,t,i){return t.children?j({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?j({routes:t._loadedRoutes,injector:t._loadedInjector}):function nj(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?j(!0):j(r.map(s=>{const a=Yo(s,e);return nr(function HB(e){return e&&Fa(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Zo(),sx())}(n,t,i).pipe(at(r=>r?this.configLoader.loadChildren(n,t).pipe(ot(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function oj(e){return _a(tx(!1,3))}())):j({routes:[],injector:n})}}function _j(e){const n=e.value.routeConfig;return n&&""===n.path}function dx(e){const n=[],t=new Set;for(const i of e){if(!_j(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=dx(i.children);n.push(new Pi(i.value,r))}return n.filter(i=>!t.has(i))}function ux(e){return e.data||{}}function hx(e){return e.resolve||{}}function fx(e){return"string"==typeof e.title||null===e.title}function Yp(e){return An(n=>{const t=e(n);return t?lt(t).pipe(X(()=>n)):j(n)})}const Xo=new C("ROUTES");let Zp=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=x(WD)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return j(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=nr(t.loadComponent()).pipe(X(px),ot(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Rp(()=>{this.componentLoaders.delete(t)})),r=new x0(i,()=>new z).pipe(Ip());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return j({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function xj(e,n,t,i){return nr(e.loadChildren()).pipe(X(px),at(r=>r instanceof Jw||Array.isArray(r)?j(r):lt(n.compileModuleAsync(r))),X(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(Xo,[],{optional:!0,self:!0}).flat()),{routes:s.map(qp),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Rp(()=>{this.childrenLoaders.delete(i)})),s=new x0(o,()=>new z).pipe(Ip());return this.childrenLoaders.set(i,s),s}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function px(e){return function Ej(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let ad=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new z,this.transitionAbortSubject=new z,this.configLoader=x(Zp),this.environmentInjector=x(wn),this.urlSerializer=x(wa),this.rootContexts=x(Sa),this.inputBindingEnabled=null!==x(nd,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>j(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new _B(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new gB(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new en({id:0,currentUrlTree:i,currentRawUrl:i,currentBrowserUrl:i,extractedUrl:t.urlHandlingStrategy.extract(i),urlAfterRedirects:t.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ea,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(dt(o=>0!==o.id),X(o=>({...o,extractedUrl:t.urlHandlingStrategy.extract(o.rawUrl)})),An(o=>{this.currentTransition=o;let s=!1,a=!1;return j(o).pipe(ot(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),An(l=>{const c=l.currentBrowserUrl.toString(),d=!t.navigated||l.extractedUrl.toString()!==c||c!==l.currentUrlTree.toString();if(!d&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const h="";return this.events.next(new Wo(l.id,this.urlSerializer.serialize(l.rawUrl),h,0)),l.resolve(null),Wn}if(t.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return j(l).pipe(An(h=>{const f=this.transitions?.getValue();return this.events.next(new Jc(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?Wn:Promise.resolve(h)}),function vj(e,n,t,i,r,o){return at(s=>function pj(e,n,t,i,r,o,s="emptyOnly"){return new mj(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(X(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),ot(h=>{o.targetSnapshot=h.targetSnapshot,o.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const f=new G0(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(d&&t.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:y}=l,b=new Jc(h,this.urlSerializer.serialize(f),p,m);this.events.next(b);const _=Y0(0,this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:_,urlAfterRedirects:f,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},j(o)}{const h="";return this.events.next(new Wo(l.id,this.urlSerializer.serialize(l.extractedUrl),h,1)),l.resolve(null),Wn}}),ot(l=>{const c=new hB(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),X(l=>(this.currentTransition=o={...l,guards:LB(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function QB(e,n){return at(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?j({...t,guardsResult:!0}):function YB(e,n,t,i){return lt(e).pipe(at(r=>function tj(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?j(o.map(a=>{const l=Aa(n)??r,c=Yo(a,l);return nr(function GB(e){return e&&Fa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):l.runInContext(()=>c(e,n,t,i))).pipe(Ir())})).pipe(Zo()):j(!0)}(r.component,r.route,t,n,i)),Ir(r=>!0!==r,!0))}(s,i,r,e).pipe(at(a=>a&&function $B(e){return"boolean"==typeof e}(a)?function ZB(e,n,t,i){return lt(n).pipe(va(r=>Gc(function XB(e,n){return null!==e&&n&&n(new vB(e)),j(!0)}(r.route.parent,i),function KB(e,n){return null!==e&&n&&n(new bB(e)),j(!0)}(r.route,i),function ej(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function VB(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>C0(()=>j(s.guards.map(l=>{const c=Aa(s.node)??t,d=Yo(l,c);return nr(function zB(e){return e&&Fa(e.canActivateChild)}(d)?d.canActivateChild(i,e):c.runInContext(()=>d(i,e))).pipe(Ir())})).pipe(Zo())));return j(o).pipe(Zo())}(e,r.path,t),function JB(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return j(!0);const r=i.map(o=>C0(()=>{const s=Aa(n)??t,a=Yo(o,s);return nr(function UB(e){return e&&Fa(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Ir())}));return j(r).pipe(Zo())}(e,r.route,t))),Ir(r=>!0!==r,!0))}(i,o,e,n):j(a)),X(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),ot(l=>{if(o.guardsResult=l.guardsResult,Rr(l.guardsResult))throw ex(0,l.guardsResult);const c=new fB(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),dt(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),Yp(l=>{if(l.guards.canActivateChecks.length)return j(l).pipe(ot(c=>{const d=new pB(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),An(c=>{let d=!1;return j(c).pipe(function yj(e,n){return at(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return j(t);let o=0;return lt(r).pipe(va(s=>function bj(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!fx(r)&&(o[ya]=r.title),function wj(e,n,t,i){const r=function Dj(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===r.length)return j({});const o={};return lt(r).pipe(at(s=>function Cj(e,n,t,i){const r=Aa(n)??i,o=Yo(e,r);return nr(o.resolve?o.resolve(n,t):r.runInContext(()=>o(n,t)))}(e[s],n,t,i).pipe(Ir(),ot(a=>{o[s]=a}))),Ap(1),Tp(o),Ar(s=>ox(s)?Wn:_a(s)))}(o,e,n,i).pipe(X(s=>(e._resolvedData=s,e.data=Z0(e,t).resolve,r&&fx(r)&&(e.data[ya]=r.title),null)))}(s.route,i,e,n)),ot(()=>o++),Ap(1),at(s=>o===r.length?j(t):Wn))})}(t.paramsInheritanceStrategy,this.environmentInjector),ot({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",2)}}))}),ot(c=>{const d=new mB(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),Yp(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(ot(h=>{d.component=h}),X(()=>{})));for(const h of d.children)u.push(...c(h));return u};return Uc(c(l.targetSnapshot.root)).pipe(qc(),Vn(1))}),Yp(()=>this.afterPreactivation()),X(l=>{const c=function MB(e,n,t){const i=Ia(e,n._root,t?t._root:void 0);return new Q0(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},o}),ot(()=>{this.events.next(new Lp)}),((e,n,t,i)=>X(r=>(new PB(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Vn(1),ot({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ni(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),t.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Pe(this.transitionAbortSubject.pipe(ot(l=>{throw l}))),Rp(()=>{s||a||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Ar(l=>{if(a=!0,nx(l))this.events.next(new Ma(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function AB(e){return nx(e)&&Rr(e.url)}(l)?this.events.next(new Vp(l.url)):o.resolve(!1);else{this.events.next(new ed(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){o.reject(c)}}return Wn}))}))}cancelNavigationTransition(t,i,r){const o=new Ma(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mx(e){return e!==Ea}let gx=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ee);return i}getResolvedTitleForRoute(t){return t.data[ya]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return x(Mj)},providedIn:"root"})}return e})(),Mj=(()=>{class e extends gx{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||e)(D(p0))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return x(Aj)},providedIn:"root"})}return e})();class Ij{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let Aj=(()=>{class e extends Ij{static#e=this.\u0275fac=function(){let t;return function(r){return(t||(t=Ge(e)))(r||e)}}();static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ld=new C("",{providedIn:"root",factory:()=>({})});let Tj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:function(){return x(Rj)},providedIn:"root"})}return e})(),Rj=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Oa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Oa||{});function _x(e,n){e.events.pipe(dt(t=>t instanceof Ni||t instanceof Ma||t instanceof ed||t instanceof Wo),X(t=>t instanceof Ni||t instanceof Wo?Oa.COMPLETE:t instanceof Ma&&(0===t.code||1===t.code)?Oa.REDIRECTING:Oa.FAILED),dt(t=>t!==Oa.REDIRECTING),Vn(1)).subscribe(()=>{n()})}function Fj(e){throw e}function Oj(e,n,t){return n.parse("/")}const kj={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let un=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=x(GD),this.isNgZoneEnabled=!1,this._events=new z,this.options=x(ld,{optional:!0})||{},this.pendingTasks=x(qD),this.errorHandler=this.options.errorHandler||Fj,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Oj,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=x(Tj),this.routeReuseStrategy=x(Sj),this.titleStrategy=x(gx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=x(Xo,{optional:!0})?.flat()??[],this.navigationTransitions=x(ad),this.urlSerializer=x(wa),this.location=x(np),this.componentInputBindingEnabled=!!x(nd,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=x(J)instanceof J&&J.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new qo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Y0(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const{currentTransition:r}=this.navigationTransitions;if(null===r)return void(vx(i)&&this._events.next(i));if(i instanceof Jc)mx(r.source)&&(this.browserUrlTree=r.extractedUrl);else if(i instanceof Wo)this.rawUrlTree=r.rawUrl;else if(i instanceof G0){if("eager"===this.urlUpdateStrategy){if(!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.urlAfterRedirects,r.rawUrl);this.setBrowserUrl(o,r)}this.browserUrlTree=r.urlAfterRedirects}}else if(i instanceof Lp)this.currentUrlTree=r.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(r.urlAfterRedirects,r.rawUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r),this.browserUrlTree=r.urlAfterRedirects);else if(i instanceof Ma)0!==i.code&&1!==i.code&&(this.navigated=!0),(3===i.code||2===i.code)&&this.restoreHistory(r);else if(i instanceof Vp){const o=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),s={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mx(r.source)};this.scheduleNavigation(o,Ea,null,s,{resolve:r.resolve,reject:r.reject,promise:r.promise})}i instanceof ed&&this.restoreHistory(r,!0),i instanceof Ni&&(this.navigated=!0),vx(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ea,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const i="popstate"===t.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,i,t.state)},0)}))}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(qp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u,d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=V0(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),u=this.currentUrlTree.root}return B0(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=Rr(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ea,null,i)}navigate(t,i={skipLocationChange:!1}){return function Pj(e){for(let n=0;n{const o=t[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,h)=>{a=u,l=h});const d=this.pendingTasks.add();return _x(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",o)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vx(e){return!(e instanceof Lp||e instanceof Vp)}let cd=(()=>{class e{constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,r,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function iy(e,n,t){return function g1(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?gh:Ul}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}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(i){return new(i||e)(g(un),g(Fr),ro("tabindex"),g(Si),g(_e),g(Sr))};static#t=this.\u0275dir=T({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){1&i&&qe("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&Ne("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ho],skipLocationChange:["skipLocationChange","skipLocationChange",Ho],replaceUrl:["replaceUrl","replaceUrl",Ho],routerLink:"routerLink"},standalone:!0,features:[mb,rn]})}return e})();class yx{}let Bj=(()=>{class e{constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(dt(t=>t instanceof Ni),va(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=Ef(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return lt(r).pipe(Gr())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):j(null);const o=r.pipe(at(s=>null===s?j(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?lt([o,this.loader.loadComponent(i)]).pipe(Gr()):o})}static#e=this.\u0275fac=function(i){return new(i||e)(D(un),D(WD),D(wn),D(yx),D(Zp))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Kp=new C("");let bx=(()=>{class e{constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=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(t=>{t instanceof Jc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ni?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Wo&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof q0&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new q0(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){!function Hy(){throw new Error("invalid")}()};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function Li(e,n){return{\u0275kind:e,\u0275providers:n}}function Dx(){const e=x(qt);return n=>{const t=e.get(Er);if(n!==t.components[0])return;const i=e.get(un),r=e.get(Cx);1===e.get(Xp)&&i.initialNavigation(),e.get(xx,null,ie.Optional)?.setUpPreloading(),e.get(Kp,null,ie.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const Cx=new C("",{factory:()=>new z}),Xp=new C("",{providedIn:"root",factory:()=>1}),xx=new C("");function Uj(e){return Li(0,[{provide:xx,useExisting:Bj},{provide:yx,useExisting:e}])}const Ex=new C("ROUTER_FORROOT_GUARD"),Gj=[np,{provide:wa,useClass:Fp},un,Sa,{provide:Fr,useFactory:function wx(e){return e.routerState.root},deps:[un]},Zp,[]];function qj(){return new eC("Router",un)}let Mx=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[Gj,[],{provide:Xo,multi:!0,useValue:t},{provide:Ex,useFactory:Zj,deps:[[un,new El,new Ml]]},{provide:ld,useValue:i||{}},i?.useHash?{provide:Sr,useClass:rL}:{provide:Sr,useClass:TC},{provide:Kp,useFactory:()=>{const e=x(x2),n=x(J),t=x(ld),i=x(ad),r=x(wa);return t.scrollOffset&&e.setOffset(t.scrollOffset),new bx(r,i,e,n,t)}},i?.preloadingStrategy?Uj(i.preloadingStrategy).\u0275providers:[],{provide:eC,multi:!0,useFactory:qj},i?.initialNavigation?Kj(i):[],i?.bindToComponentInputs?Li(8,[J0,{provide:nd,useExisting:J0}]).\u0275providers:[],[{provide:Sx,useFactory:Dx},{provide:qf,multi:!0,useExisting:Sx}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Xo,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(i){return new(i||e)(D(Ex,8))};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function Zj(e){return"guarded"}function Kj(e){return["disabled"===e.initialNavigation?Li(3,[{provide:Vf,multi:!0,useFactory:()=>{const n=x(un);return()=>{n.setUpLocationChangeListener()}}},{provide:Xp,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Li(2,[{provide:Xp,useValue:0},{provide:Vf,multi:!0,deps:[qt],useFactory:n=>{const t=n.get(nL,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(un),o=n.get(Cx);_x(r,()=>{i(!0)}),n.get(ad).afterPreactivation=()=>(i(!0),o.closed?j(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const Sx=new C("");function Qe(e){return null!=e&&"false"!=`${e}`}function dd(e,n=0){return function Jj(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Ix(e){return Array.isArray(e)?e:[e]}function Jo(e){return e instanceof _e?e.nativeElement:e}function Ax(e){return dt((n,t)=>e<=t)}class e$ extends Ee{constructor(n,t){super()}schedule(n,t=0){return this}}const ud={setInterval(e,n,...t){const{delegate:i}=ud;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ud;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class Jp extends e${constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return ud.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&ud.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Xt(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const Tx={now:()=>(Tx.delegate||Date).now(),delegate:void 0};class ka{constructor(n,t=ka.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}ka.now=Tx.now;class em extends ka{constructor(n,t=ka.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const tm=new em(Jp),t$=tm;function nm(e,n=tm){return Me((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}let im;try{im=typeof Intl<"u"&&Intl.v8BreakIterator}catch{im=!1}let Na,fd,Or,rm,jn=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function C2(e){return e===QC}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!im)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(D(_r))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hd(e){return function n$(){if(null==Na&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Na=!0}))}finally{Na=Na||!1}return Na}()?e:!!e.capture}function Pa(){if("object"!=typeof document||!document)return 0;if(null==fd){const e=document.createElement("div"),n=e.style;e.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const t=document.createElement("div"),i=t.style;i.width="2px",i.height="1px",e.appendChild(t),document.body.appendChild(e),fd=0,0===e.scrollLeft&&(e.scrollLeft=1,fd=0===e.scrollLeft?1:2),e.remove()}return fd}function ts(e){return e.composedPath?e.composedPath()[0]:e.target}const Fx=new Set;let kr,a$=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):c$}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function l$(e,n){if(!Fx.has(e))try{kr||(kr=document.createElement("style"),n&&(kr.nonce=n),kr.setAttribute("type","text/css"),document.head.appendChild(kr)),kr.sheet&&(kr.sheet.insertRule(`@media ${e} {body{ }}`,0),Fx.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(D(jn),D(xh,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function c$(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Ox=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new z}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return kx(Ix(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Uc(kx(Ix(t)).map(s=>this._registerQuery(s).observable));return o=Gc(o.pipe(Vn(1)),o.pipe(Ax(1),nm(0))),o.pipe(X(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new R(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(tr(i),X(({matches:s})=>({query:t,matches:s})),Pe(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(D(a$),D(J))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kx(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}const ci_Small="(min-width: 600px) and (max-width: 959.98px)",ci_Medium="(min-width: 960px) and (max-width: 1279.98px)",ci_Large="(min-width: 1280px) and (max-width: 1919.98px)";var Nx=Zt(304);const d$=JSON.parse('[{"id":1,"title":"Tenet","description":"Armed with only one word, Tenet, and fighting for the survival of the entire world, a\\nProtagonist journeys through a twilight world of international espionage on a mission that will unfold in\\nsomething beyond real time.","rating":7.8,"duration":150,"genre":["Action","Sci-Fi"],"released_date":"3 September 2020","trailer_url":"https://www.youtube.com/watch?v=LdOM0x0XDMo","thumbnail":"assets/Tenet.png"},{"id":2,"title":"Spider-Man: Into the Spider-Verse","description":"Teen Miles Morales becomes the Spider-Man of his universe, and must join with five spider-powered individuals from other dimensions to stop a threat for all realities.","rating":8.4,"duration":117,"genre":["Action","Animation","Adventure"],"released_date":"14 December 2018","trailer_url":"https://www.youtube.com/watch?v=tg52up16eq0","thumbnail":"assets/Spider Man.png"},{"id":3,"title":"Knives Out","description":"A detective investigates the death of a patriarch of an eccentric, combative family.","rating":7.9,"duration":130,"genre":["Comedy","Crime","Drama"],"released_date":"27 November 2019","trailer_url":"https://www.youtube.com/watch?v=qGqiHJTsRkQ","thumbnail":"assets/Knives Out.png"},{"id":4,"title":"Guardians of the Galaxy","description":"A group of intergalactic criminals must pull together to stop a fanatical warrior with plans to\\npurge the universe.","rating":8,"duration":121,"genre":["Action","Adventure","Comedy"],"released_date":"1 August 2014","trailer_url":"https://www.youtube.com/watch?v=d96cjJhvlMA","thumbnail":"assets/Guardians of The Galaxy.png"},{"id":5,"title":"Avengers: Age of Ultron","description":"When Tony Stark and Bruce Banner try to jump-start a dormant peacekeeping program\\ncalled Ultron, things go horribly wrong and it\'s up to Earth\'s mightiest heroes to stop the villainous Ultron\\nfrom enacting his terrible plan.","rating":7.3,"duration":141,"genre":["Action","Adventure","Sci-Fi"],"released_date":"1 May 2015","trailer_url":"https://www.youtube.com/watch?v=tmeOjFno6D","thumbnail":"assets/Avengers.png"}]');var u$=Zt.t(d$,2);let pd=(()=>{class e{get watchList(){return[...Array.from(this._watchList)]}constructor(t){this.sanitizer=t,this._watchList=new Set,this.WATCHLIST_STORAGE_KEY="WATCHLIST_STORAGE_KEY",this.retrieveWatchListFromLocalStorage(),this.setMovies()}getMovies(){return this.movies}getMovie(t){return this.movies.find(i=>i.id==t)}addToWatchList(t){this._watchList.add(t),this.saveWatchListToLocalStorage()}removeFromWatchList(t){this._watchList.delete(t),this.saveWatchListToLocalStorage()}setMovies(){const t=Array.from(u$),i=this;this.movies=t.map(r=>({...r,trailerUrl:this.sanitizer.bypassSecurityTrustResourceUrl(r.trailer_url.replace("watch?v=","embed/")),releaseDate:Nx(r.released_date).format("LL"),duration:`${Math.floor(r.duration/60)}h ${r.duration%60}min`,get watchlist(){return i.watchList.includes(this.id)}}))}retrieveWatchListFromLocalStorage(){const t=localStorage.getItem(this.WATCHLIST_STORAGE_KEY);t&&(this._watchList=new Set(JSON.parse(t)))}saveWatchListToLocalStorage(){localStorage.setItem(this.WATCHLIST_STORAGE_KEY,JSON.stringify(this.watchList))}static#e=this.\u0275fac=function(i){return new(i||e)(D(_0))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();let Bx=(()=>{class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function P$(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function N$(e){try{return e.frameElement}catch{return null}}(function z$(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(t));if(i&&(-1===$x(i)||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=$x(t);return t.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function H$(e){let n=e.nodeName.toLowerCase(),t="input"===n&&e.type;return"text"===t||"password"===t||"select"===n||"textarea"===n}(t))&&("audio"===r?!!t.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function U$(e){return!function V$(e){return function j$(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function L$(e){let n=e.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(e)||function B$(e){return function $$(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||jx(e))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static#e=this.\u0275fac=function(i){return new(i||e)(D(jn))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jx(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let n=e.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function $x(e){if(!jx(e))return null;const n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class G${get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,t,i,r,o=!1){this._element=n,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(n),!!i}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){const t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=0;i=0;i--){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Vn(1)).subscribe(n)}}let q$=(()=>{class e{constructor(t,i,r){this._checker=t,this._ngZone=i,this._document=r}create(t,i=!1){return new G$(t,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||e)(D(Bx),D(J),D(be))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hx(e){return 0===e.buttons||0===e.detail}function Ux(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const W$=new C("cdk-input-modality-detector-options"),Q$={ignoreKeys:[18,17,224,91,16]},ns=hd({passive:!0,capture:!0});let Y$=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new en(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ts(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Hx(s)?"keyboard":"mouse"),this._mostRecentTarget=ts(s))},this._onTouchstart=s=>{Ux(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ts(s))},this._options={...Q$,...o},this.modalityDetected=this._modality.pipe(Ax(1)),this.modalityChanged=this.modalityDetected.pipe(su()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,ns),r.addEventListener("mousedown",this._onMousedown,ns),r.addEventListener("touchstart",this._onTouchstart,ns)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ns),document.removeEventListener("mousedown",this._onMousedown,ns),document.removeEventListener("touchstart",this._onTouchstart,ns))}static#e=this.\u0275fac=function(i){return new(i||e)(D(jn),D(J),D(be),D(W$,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const K$=new C("cdk-focus-monitor-default-options"),_d=hd({passive:!0,capture:!0});let am=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new z,this._rootNodeFocusAndBlurListener=a=>{for(let c=ts(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(t,i=!1){const r=Jo(t);if(!this._platform.isBrowser||1!==r.nodeType)return j();const o=function o$(e){if(function r$(){if(null==rm){const e=typeof document<"u"?document.head:null;rm=!(!e||!e.createShadowRoot&&!e.attachShadow)}return rm}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new z,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=Jo(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=Jo(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=ts(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,_d),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,_d)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_d),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_d),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=x(Ox).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(lm,Gx,qx),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?t.add(lm,Gx):2===i&&t.add(lm,qx)}}static#e=this.\u0275fac=function(i){return new(i||e)(D(jn),D(be))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const J$=new C("cdk-dir-doc",{providedIn:"root",factory:function eH(){return x(be)}}),tH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let La=(()=>{class e{constructor(t){this.value="ltr",this.change=new de,t&&(this.value=function nH(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?tH.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(D(J$,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wx=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({})}return e})();const rH=new C("mat-sanity-checks",{providedIn:"root",factory:function iH(){return!0}});let Yt=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!function s$(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(D(X$),D(rH,8),D(be))};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Wx,Wx]})}return e})();function oH(e){return class extends e{get disabled(){return this._disabled}set disabled(n){this._disabled=Qe(n)}constructor(...n){super(...n),this._disabled=!1}}}function Zx(e,n){return class extends e{get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...t){super(...t),this.defaultColor=n,this.color=n}}}function sH(e){return class extends e{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=Qe(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function cm(e,n=0){return class extends e{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?dd(t):this.defaultTabIndex}constructor(...t){super(...t),this._tabIndex=n,this.defaultTabIndex=n}}}let Kx=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xx=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Yt,Yt]})}return e})();class cH{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Jx=hd({passive:!0,capture:!0});class dH{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=ts(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Jx)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Jx)))}}const eE={enterDuration:225,exitDuration:150},tE=hd({passive:!0,capture:!0}),nE=["mousedown","touchstart"],iE=["mouseup","mouseleave","touchend","touchcancel"];class vd{static#e=this._eventManager=new dH;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Jo(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...eE,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function hH(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,m=new cH(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);let y=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>this._finishRippleTransition(m),_=()=>this._destroyRipple(m);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",_),y={onTransitionEnd:b,onTransitionCancel:_}}),this._activeRipples.set(m,y),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(2===n.state||3===n.state)return;const t=n.element,i={...eE,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=Jo(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,nE.forEach(i=>{vd._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{iE.forEach(t=>{this._triggerElement.addEventListener(t,this,tE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=Hx(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(nE.forEach(t=>vd._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&iE.forEach(t=>n.removeEventListener(t,this,tE)))}}const yd=new C("mat-ripple-global-options");let fH=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new vd(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(J),g(jn),g(yd,8),g(vr,8))};static#t=this.\u0275dir=T({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&_t("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})(),pH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Yt,Yt]})}return e})();const rE={capture:!0},oE=["focus","click","mouseenter","touchstart"],dm="mat-ripple-loader-uninitialized",um="mat-ripple-loader-class-name",sE="mat-ripple-loader-centered",bd="mat-ripple-loader-disabled";let mH=(()=>{class e{constructor(){this._document=x(be,{optional:!0}),this._animationMode=x(vr,{optional:!0}),this._globalRippleOptions=x(yd,{optional:!0}),this._platform=x(jn),this._ngZone=x(J),this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const r=t.target.closest(`[${dm}]`);r&&this.createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const t of oE)this._document?.addEventListener(t,this._onInteraction,rE)})}ngOnDestroy(){for(const t of oE)this._document?.removeEventListener(t,this._onInteraction,rE)}configureRipple(t,i){t.setAttribute(dm,""),(i.className||!t.hasAttribute(um))&&t.setAttribute(um,i.className||""),i.centered&&t.setAttribute(sE,""),i.disabled&&t.setAttribute(bd,"")}getRipple(t){return t.matRipple?t.matRipple:this.createRipple(t)}setDisabled(t,i){const r=t.matRipple;r?r.disabled=i:i?t.setAttribute(bd,""):t.removeAttribute(bd)}createRipple(t){if(!this._document)return;t.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",t.getAttribute(um)),t.append(i);const r=new fH(new _e(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=t,r.centered=t.hasAttribute(sE),r.disabled=t.hasAttribute(bd),this.attachRipple(t,r),r}attachRipple(t,i){t.removeAttribute(dm),t.matRipple=i}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const aE=["*"];class _H{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,t){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=t.map(i=>this._trackTile(i))}_trackTile(n){const t=this._findMatchingGap(n.colspan);return this._markTilePosition(t,n),this.columnIndex=t+n.colspan,new vH(this.rowIndex,t)}_findMatchingGap(n){let t=-1,i=-1;do{this.columnIndex+n>this.tracker.length?(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(t)):(t=this.tracker.indexOf(0,this.columnIndex),-1!=t?(i=this._findGapEndIndex(t),this.columnIndex=t+1):(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(t)))}while(i-t{class e{constructor(t,i){this._element=t,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(dd(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(dd(t))}_setStyle(t,i){this._element.nativeElement.style[t]=i}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(lE,8))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(i,r){2&i&&Ne("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:aE,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(i,r){1&i&&(xt(),L(0,"div",0),ye(1),Z())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return e})();const yH=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class hm{constructor(){this._rows=0,this._rowspan=0}init(n,t,i,r){this._gutterSize=dE(n),this._rows=t.rowCount,this._rowspan=t.rowspan,this._cols=i,this._direction=r}getBaseTileSize(n,t){return`(${n}% - (${this._gutterSize} * ${t}))`}getTilePosition(n,t){return 0===t?"0":Nr(`(${n} + ${this._gutterSize}) * ${t}`)}getTileSize(n,t){return`(${n} * ${t}) + (${t-1} * ${this._gutterSize})`}setStyle(n,t,i){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(n,i,r,o),this.setRowStyles(n,t,r,o)}setColStyles(n,t,i,r){let o=this.getBaseTileSize(i,r);n._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(o,t)),n._setStyle("width",Nr(this.getTileSize(o,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}}class bH extends hm{constructor(n){super(),this.fixedRowHeight=n}init(n,t,i,r){super.init(n,t,i,r),this.fixedRowHeight=dE(this.fixedRowHeight),yH.test(this.fixedRowHeight)}setRowStyles(n,t){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,t)),n._setStyle("height",Nr(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Nr(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}class wH extends hm{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,t,i,r){this.baseTileHeight=this.getBaseTileSize(i/this.rowHeightRatio,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,t)),n._setStyle("paddingTop",Nr(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Nr(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(t=>{t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})}_parseRatio(n){const t=n.split(":");this.rowHeightRatio=parseFloat(t[0])/parseFloat(t[1])}}class DH extends hm{setRowStyles(n,t){let o=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);n._setStyle("top",this.getTilePosition(o,t)),n._setStyle("height",Nr(this.getTileSize(o,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}function Nr(e){return`calc(${e})`}function dE(e){return e.match(/([A-Za-z%]+)$/)?e:`${e}px`}let xH=(()=>{class e{constructor(t,i){this._element=t,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(dd(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=`${t??""}`}get rowHeight(){return this._rowHeight}set rowHeight(t){const i=`${t??""}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new DH:t&&t.indexOf(":")>-1?new wH(t):new bH(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new _H);const t=this._tileCoordinator,i=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,t,this.cols,r),i.forEach((o,s)=>{const a=t.positions[s];this._tileStyler.setStyle(o,a.row,a.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(La,8))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-grid-list"]],contentQueries:function(i,r,o){if(1&i&&Et(o,cE,5),2&i){let s;Xe(s=Je())&&(r._tiles=s)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(i,r){2&i&&Ne("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[se([{provide:lE,useExisting:e}])],ngContentSelectors:aE,decls:2,vars:0,template:function(i,r){1&i&&(xt(),L(0,"div"),ye(1),Z())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return e})(),EH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Xx,Yt,Xx,Yt]})}return e})();const MH=["*"],AH=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],TH=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],RH=new C("MAT_CARD_CONFIG");let fm=(()=>{class e{constructor(t){this.appearance=t?.appearance||"raised"}static#e=this.\u0275fac=function(i){return new(i||e)(g(RH,8))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){2&i&&_t("mat-mdc-card-outlined","outlined"===r.appearance)("mdc-card--outlined","outlined"===r.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:MH,decls:1,vars:0,template:function(i,r){1&i&&(xt(),ye(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return e})(),pm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return e})(),mm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return e})(),uE=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return e})(),gm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:TH,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){1&i&&(xt(AH),ye(0),L(1,"div",0),ye(2,1),Z(),ye(3,2))},encapsulation:2,changeDetection:0})}return e})(),hE=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]})}return e})(),NH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Yt,Bc,Yt]})}return e})();class gM{}class PU{}const Bi="*";function _M(e,n){return{type:7,name:e,definitions:n,options:{}}}function Pm(e,n=null){return{type:4,styles:n,timings:e}}function vM(e,n=null){return{type:2,steps:e,options:n}}function rs(e){return{type:6,styles:e,offset:null}}function Lm(e,n,t){return{type:0,name:e,styles:n,options:t}}function Vm(e,n,t=null){return{type:1,expr:e,animation:n,options:t}}class za{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class yM{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function GU(e,n){1&e&&(L(0,"span",7),ye(1,1),Z())}function qU(e,n){1&e&&(L(0,"span",8),ye(1,2),Z())}const bM=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],wM=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function WU(e,n){1&e&&(L(0,"span",8),ye(1,1),L(2,"span",9),function W_(){H.lFrame.currentNamespace=M_}(),L(3,"svg",10),gt(4,"path",11),Z()()())}function QU(e,n){1&e&&(L(0,"span",12),ye(1,2),Z())}const Fd=new C("mat-chips-default-options"),$m=new C("MatChipAvatar"),Hm=new C("MatChipTrailingIcon"),Um=new C("MatChipRemove"),Od=new C("MatChip");class rz{}const oz=cm(rz,-1);let os=(()=>{class e extends oz{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=Qe(t)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,i){super(),this._elementRef=t,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===t.nativeElement.nodeName&&t.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(Od))};static#t=this.\u0275dir=T({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,r){1&i&&qe("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(Ne("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),_t("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[te]})}return e})(),cz=0;const dz=cm(Zx(sH(oH(class{constructor(e){this._elementRef=e}})),"primary"),-1);let ss=(()=>{class e extends dz{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get removable(){return this._removable}set removable(t){this._removable=Qe(t)}get highlighted(){return this._highlighted}set highlighted(t){this._highlighted=Qe(t)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}constructor(t,i,r,o,s,a,l,c){super(i),this._changeDetectorRef=t,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=l,this._onFocus=new z,this._onBlur=new z,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+cz++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new de,this.destroyed=new de,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=x(mH),this._document=s,this._animationsDisabled="NoopAnimations"===a,null!=c&&(this.tabIndex=parseInt(c)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const t=this._elementRef.nativeElement;this._isBasicChip=t.hasAttribute(this.basicChipAttrName)||t.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=hs(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(t){(8===t.keyCode||46===t.keyCode)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===t||r.contains(t)})}_getActions(){const t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const i=null!==t;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Vn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||e)(g(si),g(_e),g(J),g(am),g(be),g(vr,8),g(yd,8),ro("tabindex"))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,r,o){if(1&i&&(Et(o,$m,5),Et(o,Hm,5),Et(o,Um,5),Et(o,$m,5),Et(o,Hm,5),Et(o,Um,5)),2&i){let s;Xe(s=Je())&&(r.leadingIcon=s.first),Xe(s=Je())&&(r.trailingIcon=s.first),Xe(s=Je())&&(r.removeIcon=s.first),Xe(s=Je())&&(r._allLeadingIcons=s),Xe(s=Je())&&(r._allTrailingIcons=s),Xe(s=Je())&&(r._allRemoveIcons=s)}},viewQuery:function(i,r){if(1&i&&ca(os,5),2&i){let o;Xe(o=Je())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(i,r){1&i&&qe("keydown",function(s){return r._handleKeydown(s)}),2&i&&(Ki("id",r.id),Ne("role",r.role)("tabindex",r.role?r.tabIndex:null)("aria-label",r.ariaLabel),_t("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[se([{provide:Od,useExisting:e}]),te],ngContentSelectors:wM,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(xt(bM),gt(0,"span",0),L(1,"span",1)(2,"span",2),Ct(3,GU,2,0,"span",3),L(4,"span",4),ye(5),gt(6,"span",5),Z()()(),Ct(7,qU,2,0,"span",6)),2&i&&(oe(2),ve("isInteractive",!1),oe(1),ve("ngIf",r.leadingIcon),oe(4),ve("ngIf",r._hasTrailingIcon()))},dependencies:[zo,os],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),zm=(()=>{class e extends ss{constructor(){super(...arguments),this._defaultOptions=x(Fd,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new de}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=Qe(t),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(t){this._setSelectedState(Qe(t),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(t=!1){return this._setSelectedState(!this.selected,t,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(t,i,r){t!==this.selected&&(this._selected=t,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let t;return function(r){return(t||(t=Ge(e)))(r||e)}}();static#t=this.\u0275cmp=He({type:e,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(i,r){2&i&&(Ki("id",r.id),Ne("tabindex",null)("aria-label",null)("aria-description",null)("role",r.role),_t("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--filter",!r._isBasicChip)("mdc-evolution-chip--selectable",!r._isBasicChip)("mat-mdc-chip-selected",r.selected)("mat-mdc-chip-multiple",r._chipListMultiple)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-with-avatar",r.leadingIcon)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--selected",r.selected)("mdc-evolution-chip--selecting",!r._animationsDisabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-primary-graphic",r._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[se([{provide:ss,useExisting:e},{provide:Od,useExisting:e}]),te],ngContentSelectors:wM,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,r){1&i&&(xt(bM),gt(0,"span",0),L(1,"span",1)(2,"button",2),Ct(3,WU,5,0,"span",3),L(4,"span",4),ye(5),gt(6,"span",5),Z()()(),Ct(7,QU,2,0,"span",6),L(8,"span",7),ct(9),Z()),2&i&&(oe(2),ve("tabIndex",r.tabIndex)("_allowFocusWhenDisabled",!0),Ne("aria-selected",r.ariaSelected)("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),oe(1),ve("ngIf",r._hasLeadingGraphic()),oe(4),ve("ngIf",r._hasTrailingIcon()),oe(1),ve("id",r._ariaDescriptionId),oe(1),ta(r.ariaDescription))},dependencies:[zo,os],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return e})(),bz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({providers:[Kx,{provide:Fd,useValue:{separatorKeyCodes:[13]}}],imports:[Yt,Bc,pH,Yt]})}return e})(),MM=(()=>{class e{constructor(t){this.moviesService=t,this.onWatchlist=!1}ngOnInit(){this.onWatchlist=this.moviesService.getMovie(this.id)?.watchlist??!1}toggleWatchlist(t,i){t.stopPropagation(),this.onWatchlist=!this.onWatchlist,this.onWatchlist?this.moviesService.addToWatchList(i):this.moviesService.removeFromWatchList(i)}static#e=this.\u0275fac=function(i){return new(i||e)(g(pd))};static#t=this.\u0275cmp=He({type:e,selectors:[["app-watchlist-button"]],inputs:{id:"id"},decls:2,vars:2,consts:[["type","button","color","primary","highlighted","","selectable","false",3,"color","click"]],template:function(i,r){1&i&&(L(0,"mat-chip-option",0),qe("click",function(s){return r.toggleWatchlist(s,r.id)}),ct(1),Z()),2&i&&(ve("color",r.onWatchlist?"accent":"primary"),oe(1),cn(" ",r.onWatchlist?"Remove from watchlist":"Add to watchlist"," "))},dependencies:[zm],encapsulation:2})}return e})();const wz=function(e){return["/movie",e]};function Dz(e,n){if(1&e&&(L(0,"mat-grid-tile",2)(1,"mat-card",3,4)(3,"mat-card-header")(4,"mat-card-title"),ct(5),Z()(),L(6,"mat-card-content"),gt(7,"img",5),L(8,"table",6)(9,"tr")(10,"td",7)(11,"p",8),ct(12),Z()()(),L(13,"tr")(14,"td",9)(15,"p",10),ct(16),gt(17,"app-watchlist-button",11),Z()()()()()()()),2&e){const t=n.$implicit;oe(1),ve("routerLink",lD(7,wz,t.id)),oe(4),cn(" ",t.title," "),oe(2),ve("src",t.thumbnail,Ul)("alt",t.title),oe(5),cn(" ",t.description," "),oe(4),cn(" Rating: ",t.rating," "),oe(1),ve("id",t.id)}}function xz(e,n){if(1&e&&(L(0,"div",1)(1,"div",2),gt(2,"img",3),L(3,"p")(4,"b"),ct(5," Rating"),Z()(),L(6,"p"),ct(7),Z(),L(8,"p")(9,"b"),ct(10," Release Date "),Z()(),L(11,"p"),ct(12),Z(),L(13,"p")(14,"b"),ct(15," Duration "),Z()(),L(16,"p"),ct(17),Z(),L(18,"p")(19,"b"),ct(20," Genre"),Z()(),L(21,"p"),ct(22),Z(),L(23,"p"),gt(24,"app-watchlist-button",4),Z()(),L(25,"div",5)(26,"mat-card")(27,"mat-card-header")(28,"mat-card-title"),ct(29),Z(),L(30,"mat-card-subtitle")(31,"p"),ct(32),Z()()(),L(33,"mat-card-content")(34,"div",6)(35,"p"),gt(36,"iframe",7),Z()()()()()()),2&e){const t=Js();oe(2),ve("src",null==t.movie?null:t.movie.thumbnail,Ul)("alt",null==t.movie?null:t.movie.title),oe(5),cn(" ",null==t.movie?null:t.movie.rating," "),oe(5),cn(" ",null==t.movie?null:t.movie.releaseDate," "),oe(5),cn(" ",null==t.movie?null:t.movie.duration," "),oe(5),cn(" ",null==t.movie?null:t.movie.joinedGenres," "),oe(2),ve("id",t.movie.id),oe(5),cn(" ",null==t.movie?null:t.movie.title," "),oe(3),cn(" ",null==t.movie?null:t.movie.description," "),oe(4),ve("src",null==t.movie?null:t.movie.trailerUrl,gh)}}const Ez=[{path:"",pathMatch:"full",redirectTo:"movies"},{component:(()=>{class e{constructor(t,i){this.moviesService=i,this.gridByBreakpoint={"(min-width: 1920px)":{cols:4,rowHeight:"2:1.2"},[ci_Large]:{cols:3,rowHeight:"2:1.4"},[ci_Medium]:{cols:2,rowHeight:"2:1"},[ci_Small]:{cols:1,rowHeight:"2:0.9"},"(max-width: 599.98px)":{cols:1,rowHeight:"2:1.2"}},this.onDestroy$=new z,t.observe(["(max-width: 599.98px)",ci_Small,ci_Medium,ci_Large,"(min-width: 1920px)"]).pipe(ot(r=>{if(r.matches){const[o]=Object.entries(r.breakpoints).find(([,l])=>l),{cols:s,rowHeight:a}=this.gridByBreakpoint[o];this.cols=s,this.rowHeight=a}}),Pe(this.onDestroy$)).subscribe()}ngOnInit(){this.moviesList=this.moviesService.getMovies()}ngOnDestroy(){this.onDestroy$.next()}static#e=this.\u0275fac=function(i){return new(i||e)(g(Ox),g(pd))};static#t=this.\u0275cmp=He({type:e,selectors:[["ng-component"]],decls:2,vars:3,consts:[[3,"cols","rowHeight"],["class","grid-tile",4,"ngFor","ngForOf"],[1,"grid-tile"],[1,"movie-card",3,"routerLink"],["movieCard",""],["mat-card-image","",1,"movie-thumbnail",3,"src","alt"],[1,"description-rating-table"],["valign","top"],[1,"movie-description"],["valign","bottom"],[1,"movie-rating"],[3,"id"]],template:function(i,r){1&i&&(L(0,"mat-grid-list",0),Ct(1,Dz,18,9,"mat-grid-tile",1),Z()),2&i&&(ve("cols",r.cols)("rowHeight",r.rowHeight),oe(1),ve("ngForOf",r.moviesList))},dependencies:[HC,cd,xH,cE,fm,mm,gm,hE,pm,MM],styles:[".movie-card[_ngcontent-%COMP%]{height:18rem;width:30rem;cursor:pointer!important}.movie-thumbnail[_ngcontent-%COMP%]{height:12.5rem;float:left;margin-top:.5rem;margin-inline-end:10px}.movie-description[_ngcontent-%COMP%]{text-align:justify;text-justify:inter-word}.description-rating-table[_ngcontent-%COMP%]{height:100%;border-collapse:collapse}app-watchlist-button[_ngcontent-%COMP%]{float:right}"]})}return e})(),path:"movies"},{component:(()=>{class e{constructor(t,i){this.route=t,this.moviesService=i,this.notFound=!1}ngOnInit(){const t=this.moviesService.getMovie(this.route.snapshot.params.id);t?this.movie={...t,joinedGenres:t.genre.join(", ")}:this.notFound=!0}static#e=this.\u0275fac=function(i){return new(i||e)(g(Fr),g(pd))};static#t=this.\u0275cmp=He({type:e,selectors:[["ng-component"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"container-left"],[1,"movie-thumbnail",3,"src","alt"],[3,"id"],[1,"container-right"],[1,"youtube-embed"],["frameborder","0","allowfullscreen","",3,"src"]],template:function(i,r){1&i&&Ct(0,xz,37,10,"div",0),2&i&&ve("ngIf",!r.notFound)},dependencies:[zo,fm,mm,gm,uE,pm,MM],styles:[".container[_ngcontent-%COMP%]{height:calc(100% - 64px - 2rem);width:60%;margin-top:2rem;margin-inline:20%}.container-left[_ngcontent-%COMP%]{width:20rem;float:left;height:100%}.container-left[_ngcontent-%COMP%] .movie-thumbnail[_ngcontent-%COMP%]{width:15rem;margin-bottom:10px}.container-right[_ngcontent-%COMP%] .youtube-embed[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;padding-top:56.25%}.container-right[_ngcontent-%COMP%] .youtube-embed[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;width:100%;height:100%;border:none}"]})}return e})(),path:"movie/:id"}];let Mz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Mx.forRoot(Ez),Mx]})}return e})();const Sz=["*",[["mat-toolbar-row"]]],Iz=["*","mat-toolbar-row"],Az=Zx(class{constructor(e){this._elementRef=e}});let Tz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=T({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return e})(),Rz=(()=>{class e extends Az{constructor(t,i,r){super(t),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(jn),g(be))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(1&i&&Et(o,Tz,5),2&i){let s;Xe(s=Je())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(i,r){2&i&&_t("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",0===r._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[te],ngContentSelectors:Iz,decls:2,vars:0,template:function(i,r){1&i&&(xt(Sz),ye(0),ye(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return e})(),Fz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Yt,Yt]})}return e})();const Oz=["addListener","removeListener"],kz=["addEventListener","removeEventListener"],Nz=["on","off"];function Ga(e,n,t,i){if(ne(t)&&(i=t,t=void 0),i)return Ga(e,n,t).pipe(Sp(i));const[r,o]=function Vz(e){return ne(e.addEventListener)&&ne(e.removeEventListener)}(e)?kz.map(s=>a=>e[s](n,a,t)):function Pz(e){return ne(e.addListener)&&ne(e.removeListener)}(e)?Oz.map(SM(e,n)):function Lz(e){return ne(e.on)&&ne(e.off)}(e)?Nz.map(SM(e,n)):[];if(!r&&iu(e))return at(s=>Ga(s,n,t))(At(e));if(!r)throw new TypeError("Invalid event target");return new R(s=>{const a=(...l)=>s.next(1o(a)})}function SM(e,n){return t=>i=>e[t](n,i)}const qa={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=qa;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ee(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=qa;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=qa;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class jz extends em{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class Bz extends Jp{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=qa.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(qa.cancelAnimationFrame(t),n._scheduled=void 0)}});let qm,Hz=1;const Nd={};function IM(e){return e in Nd&&(delete Nd[e],!0)}const Uz={setImmediate(e){const n=Hz++;return Nd[n]=!0,qm||(qm=Promise.resolve()),qm.then(()=>IM(n)&&e()),n},clearImmediate(e){IM(e)}},{setImmediate:zz,clearImmediate:Gz}=Uz,Pd={setImmediate(...e){const{delegate:n}=Pd;return(n?.setImmediate||zz)(...e)},clearImmediate(e){const{delegate:n}=Pd;return(n?.clearImmediate||Gz)(e)},delegate:void 0};new class Wz extends em{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class qz extends Jp{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Pd.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Pd.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function AM(e,n=tm){return function Yz(e){return Me((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(fe(t,c=>{i=!0,r=c,o||At(e(c)).subscribe(o=fe(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function Kz(e=0,n,t=t$){let i=-1;return null!=n&&(Rg(n)?t=n:i=n),new R(r=>{let o=function Zz(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n))}let TM=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new z,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new R(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(AM(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):j()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(dt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=Jo(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ga(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(D(J),D(jn),D(be,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wm=(()=>{class e{constructor(t,i,r,o){this.elementRef=t,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new z,this._elementScrolled=new R(s=>this.ngZone.runOutsideAngular(()=>Ga(this.elementRef.nativeElement,"scroll").pipe(Pe(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=r?t.end:t.start),null==t.right&&(t.right=r?t.start:t.end),null!=t.bottom&&(t.top=i.scrollHeight-i.clientHeight-t.bottom),r&&0!=Pa()?(null!=t.left&&(t.right=i.scrollWidth-i.clientWidth-t.left),2==Pa()?t.left=t.right:1==Pa()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=i.scrollWidth-i.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const i=this.elementRef.nativeElement;!function i$(){if(null==Or){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Or=!1,Or;if("scrollBehavior"in document.documentElement.style)Or=!0;else{const e=Element.prototype.scrollTo;Or=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Or}()?(null!=t.top&&(i.scrollTop=t.top),null!=t.left&&(i.scrollLeft=t.left)):i.scrollTo(t)}measureScrollOffset(t){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==t)return o.scrollTop;if("bottom"==t)return o.scrollHeight-o.clientHeight-o.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==t?t=s?r:i:"end"==t&&(t=s?i:r),s&&2==Pa()?t==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&1==Pa()?t==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:t==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(TM),g(J),g(La,8))};static#t=this.\u0275dir=T({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return e})(),e3=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new z,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(AM(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||e)(D(jn),D(J),D(be,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({})}return e})();const FM=["*"],t3=["content"];function n3(e,n){if(1&e){const t=function kb(){return w()}();L(0,"div",2),qe("click",function(){return function N_(e){return H.lFrame.contextLView=e,e[Ue]}(t),function P_(e){return H.lFrame.contextLView=null,e}(Js()._onBackdropClicked())}),Z()}2&e&&_t("mat-drawer-shown",Js()._isShowingBackdrop())}function r3(e,n){1&e&&(L(0,"mat-drawer-content"),ye(1,2),Z())}const o3=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],s3=["mat-drawer","mat-drawer-content","*"],a3={transformDrawer:_M("transform",[Lm("open, open-instant",rs({transform:"none",visibility:"visible"})),Lm("void",rs({"box-shadow":"none",visibility:"hidden"})),Vm("void => open-instant",Pm("0ms")),Vm("void <=> open, open-instant => void",Pm("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},l3=new C("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function c3(){return!1}}),OM=new C("MAT_DRAWER_CONTAINER");let Ld=(()=>{class e extends Wm{constructor(t,i,r,o,s){super(r,o,s),this._changeDetectorRef=t,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(i){return new(i||e)(g(si),g(xe(()=>kM)),g(_e),g(TM),g(J))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,r){2&i&&pf("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},features:[se([{provide:Wm,useExisting:e}]),te],ngContentSelectors:FM,decls:1,vars:0,template:function(i,r){1&i&&(xt(),ye(0))},encapsulation:2,changeDetection:0})}return e})(),d3=(()=>{class e{get position(){return this._position}set position(t){(t="end"===t?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(t),this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Qe(t)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(t){("true"===t||"false"===t||null==t)&&(t=Qe(t)),this._autoFocus=t}get opened(){return this._opened}set opened(t){this.toggle(Qe(t))}constructor(t,i,r,o,s,a,l,c){this._elementRef=t,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=o,this._ngZone=s,this._interactivityChecker=a,this._doc=l,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new z,this._animationEnd=new z,this._animationState="void",this.openedChange=new de(!0),this._openedStream=this.openedChange.pipe(dt(d=>d),X(()=>{})),this.openedStart=this._animationStarted.pipe(dt(d=>d.fromState!==d.toState&&0===d.toState.indexOf("open")),Tp(void 0)),this._closedStream=this.openedChange.pipe(dt(d=>!d),X(()=>{})),this.closedStart=this._animationStarted.pipe(dt(d=>d.fromState!==d.toState&&"void"===d.toState),Tp(void 0)),this._destroyed=new z,this.onPositionChanged=new de,this._modeChanged=new z,this.openedChange.subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Ga(this._elementRef.nativeElement,"keydown").pipe(dt(d=>27===d.keyCode&&!this.disableClose&&!function gd(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(d)),Pe(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(su((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{const{fromState:u,toState:h}=d;(0===h.indexOf("open")&&"void"===u||"void"===h&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{t.removeEventListener("blur",r),t.removeEventListener("mousedown",r),t.removeAttribute("tabindex")};t.addEventListener("blur",r),t.addEventListener("mousedown",r)})),t.focus(i)}_focusByCssSelector(t,i){let r=this._elementRef.nativeElement.querySelector(t);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;const t=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&t.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(t){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,t):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const t=this._doc.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(t=!this.opened,i){t&&i&&(this._openedVia=i);const r=this._setOpen(t,!t&&this._isFocusWithinDrawer(),this._openedVia||"program");return t||(this._openedVia=null),r}_setOpen(t,i,r){return this._opened=t,t?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Vn(1)).subscribe(s=>o(s?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(t){const i=this._elementRef.nativeElement,r=i.parentNode;"end"===t?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static#e=this.\u0275fac=function(i){return new(i||e)(g(_e),g(q$),g(am),g(jn),g(J),g(Bx),g(be,8),g(OM,8))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(1&i&&ca(t3,5),2&i){let o;Xe(o=Je())&&(r._content=o.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){1&i&&cf("@transform.start",function(s){return r._animationStarted.next(s)})("@transform.done",function(s){return r._animationEnd.next(s)}),2&i&&(Ne("align",null),gf("@transform",r._animationState),_t("mat-drawer-end","end"===r.position)("mat-drawer-over","over"===r.mode)("mat-drawer-push","push"===r.mode)("mat-drawer-side","side"===r.mode)("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:FM,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(i,r){1&i&&(xt(),L(0,"div",0,1),ye(2),Z())},dependencies:[Wm],encapsulation:2,data:{animation:[a3.transformDrawer]},changeDetection:0})}return e})(),kM=(()=>{class e{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Qe(t)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(t){this._backdropOverride=null==t?null:Qe(t)}get scrollable(){return this._userContent||this._content}constructor(t,i,r,o,s,a=!1,l){this._dir=t,this._element=i,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=l,this._drawers=new xr,this.backdropClick=new de,this._destroyed=new z,this._doCheckSubject=new z,this._contentMargins={left:null,right:null},this._contentMarginChanges=new z,t&&t.change.pipe(Pe(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Pe(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}ngAfterContentInit(){this._allDrawers.changes.pipe(tr(this._allDrawers),Pe(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(tr(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(nm(10),Pe(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();t+=r,i-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();i+=r,t-=r}t=t||null,i=i||null,(t!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:t,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(dt(i=>i.fromState!==i.toState),Pe(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Pe(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Pe(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Vn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Pe(hs(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";t?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._drawerHasBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(t){return null!=t&&t.opened}_drawerHasBackdrop(t){return null==this._backdropOverride?!!t&&"side"!==t.mode:this._backdropOverride}static#e=this.\u0275fac=function(i){return new(i||e)(g(La,8),g(_e),g(J),g(si),g(e3),g(l3),g(vr,8))};static#t=this.\u0275cmp=He({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,o){if(1&i&&(Et(o,Ld,5),Et(o,d3,5)),2&i){let s;Xe(s=Je())&&(r._content=s.first),Xe(s=Je())&&(r._allDrawers=s)}},viewQuery:function(i,r){if(1&i&&ca(Ld,5),2&i){let o;Xe(o=Je())&&(r._userContent=o.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){2&i&&_t("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[se([{provide:OM,useExisting:e}])],ngContentSelectors:s3,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){1&i&&(xt(o3),Ct(0,n3,1,2,"div",0),ye(1),ye(2,1),Ct(3,r3,2,0,"mat-drawer-content",1)),2&i&&(ve("ngIf",r.hasBackdrop),oe(3),ve("ngIf",!r._content))},dependencies:[zo,Ld],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return e})(),u3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({imports:[Bc,Yt,RM,RM,Yt]})}return e})(),h3=(()=>{class e{constructor(t,i){this.title="Movies",t.events.pipe(dt(r=>r instanceof Ni),X(r=>r),ot(({urlAfterRedirects:r})=>{const o=r.match(/\d+$/)?.[0];if(o){const s=i.getMovie(+o);this.title=s?s.title:"Movie not found"}else this.title="Movies"})).subscribe()}static#e=this.\u0275fac=function(i){return new(i||e)(g(un),g(pd))};static#t=this.\u0275cmp=He({type:e,selectors:[["app-root"]],decls:7,vars:1,consts:[[1,"container"],["container",""],["color","primary"]],template:function(i,r){1&i&&(L(0,"mat-drawer-container",0,1)(2,"mat-drawer-content")(3,"mat-toolbar",2)(4,"span"),ct(5),Z()(),gt(6,"router-outlet"),Z()()),2&i&&(oe(5),ta(r.title))},dependencies:[zp,Rz,kM,Ld],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%}mat-toolbar[_ngcontent-%COMP%]{margin-bottom:20px}"]})}return e})();function NM(e){return new v(3e3,!1)}function or(e){switch(e.length){case 0:return new za;case 1:return e[0];default:return new yM(e)}}function PM(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(f);break;case Bi:m=i.get(f);break;default:m=e.normalizeStyleValue(f,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function N3(e){return new v(3502,!1)}();return o}function Qm(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Ym(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Ym(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Ym(t,"destroy",e)))}}function Ym(e,n,t){const o=Zm(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Zm(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function hn(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function LM(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const W3=(()=>typeof document>"u"?null:document.documentElement)();function Km(e){const n=e.parentNode||e.host||null;return n===W3?null:n}let Vr=null,VM=!1;function BM(e,n){for(;n;){if(n===e)return!0;n=Km(n)}return!1}function jM(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let $M=(()=>{class e{validateStyleProperty(t){return function Y3(e){Vr||(Vr=function Z3(){return typeof document<"u"?document.body:null}()||{},VM=!!Vr.style&&"WebkitAppearance"in Vr.style);let n=!0;return Vr.style&&!function Q3(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Vr.style,!n&&VM&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Vr.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return BM(t,i)}getParentElement(t){return Km(t)}query(t,i,r){return jM(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new za(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Xm=(()=>{class e{static#e=this.NOOP=new $M}return e})();const K3=1e3,Jm="ng-enter",Vd="ng-leave",Bd="ng-trigger",jd=".ng-trigger",UM="ng-animating",eg=".ng-animating";function ji(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:tg(parseFloat(n[1]),n[2])}function tg(e,n){return"s"===n?e*K3:e}function $d(e,n,t){return e.hasOwnProperty("duration")?e:function J3(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(NM()),{duration:0,delay:0,easing:""};r=tg(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=tg(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function f3(){return new v(3100,!1)}()),a=!0),o<0&&(n.push(function p3(){return new v(3101,!1)}()),a=!0),a&&n.splice(l,0,NM())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Wa(e,n={}){return Object.keys(e).forEach(t=>{n[t]=e[t]}),n}function zM(e){const n=new Map;return Object.keys(e).forEach(t=>{n.set(t,e[t])}),n}function sr(e,n=new Map,t){if(t)for(let[i,r]of t)n.set(i,r);for(let[i,r]of e)n.set(i,r);return n}function di(e,n,t){n.forEach((i,r)=>{const o=ig(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Br(e,n){n.forEach((t,i)=>{const r=ig(i);e.style[r]=""})}function Qa(e){return Array.isArray(e)?1==e.length?e[0]:vM(e):e}const ng=new RegExp("{{\\s*(.+?)\\s*}}","g");function qM(e){let n=[];if("string"==typeof e){let t;for(;t=ng.exec(e);)n.push(t[1]);ng.lastIndex=0}return n}function Ya(e,n,t){const i=e.toString(),r=i.replace(ng,(o,s)=>{let a=n[s];return null==a&&(t.push(function g3(e){return new v(3003,!1)}()),a=""),a.toString()});return r==i?e:r}function Hd(e){const n=[];let t=e.next();for(;!t.done;)n.push(t.value),t=e.next();return n}const n4=/-+([a-z0-9])/g;function ig(e){return e.replace(n4,(...n)=>n[1].toUpperCase())}function fn(e,n,t){switch(n.type){case 7:return e.visitTrigger(n,t);case 0:return e.visitState(n,t);case 1:return e.visitTransition(n,t);case 2:return e.visitSequence(n,t);case 3:return e.visitGroup(n,t);case 4:return e.visitAnimate(n,t);case 5:return e.visitKeyframes(n,t);case 6:return e.visitStyle(n,t);case 8:return e.visitReference(n,t);case 9:return e.visitAnimateChild(n,t);case 10:return e.visitAnimateRef(n,t);case 11:return e.visitQuery(n,t);case 12:return e.visitStagger(n,t);default:throw function _3(e){return new v(3004,!1)}()}}function WM(e,n){return window.getComputedStyle(e)[n]}const Ud="*";function o4(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function s4(e,n,t){if(":"==e[0]){const l=function a4(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function T3(e){return new v(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(QM(r,s));"<"==o[0]&&!(r==Ud&&s==Ud)&&n.push(QM(s,r))}(i,t,n)):t.push(e),t}const zd=new Set(["true","1"]),Gd=new Set(["false","0"]);function QM(e,n){const t=zd.has(e)||Gd.has(e),i=zd.has(n)||Gd.has(n);return(r,o)=>{let s=e==Ud||e==r,a=n==Ud||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?zd.has(e):Gd.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?zd.has(n):Gd.has(n)),s&&a}}const l4=new RegExp("s*:selfs*,?","g");function rg(e,n,t,i){return new c4(e).build(n,t,i)}class c4{constructor(n){this._driver=n}build(n,t,i){const r=new h4(t);return this._resetContextStyleTimingState(r),fn(this,Qa(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function y3(){return new v(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function b3(){return new v(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{qM(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Hd(o.values()),t.errors.push(function w3(e,n){return new v(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=fn(this,Qa(n.animation),t);return{type:1,matchers:o4(n.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:jr(n.options)}}visitSequence(n,t){return{type:2,steps:n.steps.map(i=>fn(this,i,t)),options:jr(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=fn(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:jr(n.options)}}visitAnimate(n,t){const i=function p4(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return og($d(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=og(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=$d(t,n);return og(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:rs({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=rs(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Bi?i.push(a):t.errors.push(new v(3002,!1)):i.push(zM(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function C3(e,n,t,i,r){return new v(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function t4(e,n,t){const i=n.params||{},r=qM(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function m3(e){return new v(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function x3(){return new v(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(b=>{const _=this._makeStyleAst(b,t);let S=null!=_.offset?_.offset:function f4(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(_.styles),O=0;return null!=S&&(o++,O=_.offset=S),l=l||O<0||O>1,a=a||O0&&o{const S=h>0?_==f?1:h*_:s[_],O=S*y;t.currentTime=p+m.delay+O,m.duration=O,this._validateStyleAst(b,t),b.offset=S,i.styles.push(b)}),i}visitReference(n,t){return{type:8,animation:fn(this,Qa(n.animation),t),options:jr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:9,options:jr(n.options)}}visitAnimateRef(n,t){return{type:10,animation:this.visitReference(n.animation,t),options:jr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function d4(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(l4,"")),e=e.replace(/@\*/g,jd).replace(/@\w+/g,t=>jd+"-"+t.slice(1)).replace(/:animating/g,eg),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,hn(t.collectedStyles,t.currentQuerySelector,new Map);const a=fn(this,Qa(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:jr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function I3(){return new v(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:$d(n.timings,t.errors,!0);return{type:12,animation:fn(this,Qa(n.animation),t),timings:i,options:null}}}class h4{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function jr(e){return e?(e=Wa(e)).params&&(e.params=function u4(e){return e?Wa(e):null}(e.params)):e={},e}function og(e,n,t){return{duration:e,delay:n,easing:t}}function sg(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class qd{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const _4=new RegExp(":enter","g"),y4=new RegExp(":leave","g");function ag(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new b4).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class b4{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new qd;const u=new lg(n,t,c,r,o,d,[]);u.options=l;const h=l.delay?ji(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),fn(this,i,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const y=f[m];if(y.element===t){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[sg(t,[],[],[],0,h,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:ji(Ya(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?ji(i.duration):null,a=null!=i.delay?ji(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),fn(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Wd);const s=ji(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>fn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?ji(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),fn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return $d(t.params?Ya(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?ji(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Wd);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),fn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;fn(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Wd={};class lg{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Qd(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=ji(i.duration)),null!=i.delay&&(r.delay=ji(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Ya(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new lg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Wd,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new w4(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(_4,"."+this._enterClassName)).replace(y4,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function A3(e){return new v(3014,!1)}()),a}}class Qd{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new Qd(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Bi),this._currentKeyframe.set(t,Bi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function D4(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)t.set(o,Bi)}else sr(r,t)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Ya(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Bi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=sr(a,new Map,this._backFill);c.forEach((d,u)=>{"!"===d?n.add(u):d===Bi&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=n.size?Hd(n.values()):[],s=t.size?Hd(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return sg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class w4 extends Qd{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=sr(n[0]);l.set("offset",0),o.push(l);const c=sr(n[0]);c.set("offset",KM(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let h=sr(n[u]);const f=h.get("offset");h.set("offset",KM((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return sg(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function KM(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}class cg{}const C4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class x4 extends cg{normalizePropertyName(n,t){return ig(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(C4.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function v3(e,n){return new v(3005,!1)}())}return s+o}}function XM(e,n,t,i,r,o,s,a,l,c,d,u,h){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const dg={};class JM{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function E4(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||dg,p=this.buildStyles(i,a&&a.params||dg,u),m=l&&l.params||dg,y=this.buildStyles(r,m,u),b=new Set,_=new Map,S=new Map,O="void"===r,K={params:M4(m,h),delay:this.ast.options?.delay},Fe=d?[]:ag(n,t,this.ast.animation,o,s,p,y,K,c,u);let Oe=0;if(Fe.forEach(pn=>{Oe=Math.max(pn.duration+pn.delay,Oe)}),u.length)return XM(t,this._triggerName,i,r,O,p,y,[],[],_,S,Oe,u);Fe.forEach(pn=>{const Un=pn.element,Xd=hn(_,Un,new Set);pn.preStyleProps.forEach($r=>Xd.add($r));const Ka=hn(S,Un,new Set);pn.postStyleProps.forEach($r=>Ka.add($r)),Un!==t&&b.add(Un)});const St=Hd(b.values());return XM(t,this._triggerName,i,r,O,p,y,Fe,St,_,S,Oe)}}function M4(e,n){const t=Wa(n);for(const i in e)e.hasOwnProperty(i)&&null!=e[i]&&(t[i]=e[i]);return t}class S4{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=Wa(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Ya(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class A4{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new S4(r.style,r.options&&r.options.params||{},i))}),eS(this.states,"true","1"),eS(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new JM(n,r,this.states))}),this.fallbackTransition=function T4(e,n,t){return new JM(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function eS(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const R4=new qd;class F4{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=rg(this._driver,t,i,[]);if(i.length)throw function P3(e){return new v(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=PM(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=ag(this._driver,t,o,Jm,Vd,new Map,new Map,i,R4,r),s.forEach(d=>{const u=hn(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function L3(){return new v(3300,!1)}()),s=[]),r.length)throw function V3(e){return new v(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Bi))})});const c=or(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function B3(e){return new v(3301,!1)}();return t}listen(n,t,i,r){const o=Zm(t,"","","");return Qm(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const tS="ng-animate-queued",ug="ng-animate-disabled",L4=[],nS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},V4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Hn="__ng_removed";class hg{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function H4(e){return e??null}(i?n.value:n),i){const o=Wa(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Za="void",fg=new hg(Za);class B4{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,En(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function j3(e,n){return new v(3302,!1)}();if(null==i||0==i.length)throw function $3(e){return new v(3303,!1)}();if(!function U4(e){return"start"==e||"done"==e}(i))throw function H3(e,n){return new v(3400,!1)}();const o=hn(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=hn(this._engine.statesByElement,n,new Map);return a.has(t)||(En(n,Bd),En(n,Bd+"-"+t),a.set(t,fg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function U3(e){return new v(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new pg(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(En(n,Bd),En(n,Bd+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new hg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=fg),c.value!==Za&&l.value===c.value){if(!function q4(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{Br(n,y),di(n,b)})}return}const h=hn(this._engine.playersByElement,n,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(En(n,tS),s.onStart(()=>{as(n,tS)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const y=this._engine.playersByElement.get(n);if(y){let b=y.indexOf(s);b>=0&&y.splice(b,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,jd,!0);i.forEach(r=>{if(r[Hn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Za,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&or(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||fg,d=new hg(Za),u=new pg(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Hn];(!o||o===nS)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){En(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Zm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Qm(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class j4{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new B4(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(Yd(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Yd(t))return;const o=t[Hn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),En(n,ug)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),as(n,ug))}removeNode(n,t,i){if(Yd(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Hn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return Yd(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,jd,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,eg,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return or(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Hn];if(t&&t.setForRemoval){if(n[Hn]=nS,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(ug)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?or(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function z3(e){return new v(3402,!1)}()}_flushAnimations(n,t){const i=new qd,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(N=>{d.add(N);const P=this.driver.query(N,".ng-animate-queued",!0);for(let V=0;V{const V=Jm+m++;p.set(P,V),N.forEach(ue=>En(ue,V))});const y=[],b=new Set,_=new Set;for(let N=0;Nb.add(ue)):_.add(P))}const S=new Map,O=oS(h,Array.from(b));O.forEach((N,P)=>{const V=Vd+m++;S.set(P,V),N.forEach(ue=>En(ue,V))}),n.push(()=>{f.forEach((N,P)=>{const V=p.get(P);N.forEach(ue=>as(ue,V))}),O.forEach((N,P)=>{const V=S.get(P);N.forEach(ue=>as(ue,V))}),y.forEach(N=>{this.processLeaveNode(N)})});const K=[],Fe=[];for(let N=this._namespaceList.length-1;N>=0;N--)this._namespaceList[N].drainQueuedTransitions(t).forEach(V=>{const ue=V.player,ut=V.element;if(K.push(ue),this.collectedEnterElements.length){const It=ut[Hn];if(It&&It.setForMove){if(It.previousTriggersValues&&It.previousTriggersValues.has(V.triggerName)){const Hr=It.previousTriggersValues.get(V.triggerName),Mn=this.statesByElement.get(V.element);if(Mn&&Mn.has(V.triggerName)){const Jd=Mn.get(V.triggerName);Jd.value=Hr,Mn.set(V.triggerName,Jd)}}return void ue.destroy()}}const ui=!u||!this.driver.containsElement(u,ut),mn=S.get(ut),ar=p.get(ut),Be=this._buildInstruction(V,i,ar,mn,ui);if(Be.errors&&Be.errors.length)return void Fe.push(Be);if(ui)return ue.onStart(()=>Br(ut,Be.fromStyles)),ue.onDestroy(()=>di(ut,Be.toStyles)),void r.push(ue);if(V.isFallbackTransition)return ue.onStart(()=>Br(ut,Be.fromStyles)),ue.onDestroy(()=>di(ut,Be.toStyles)),void r.push(ue);const gS=[];Be.timelines.forEach(It=>{It.stretchStartingKeyframe=!0,this.disabledNodes.has(It.element)||gS.push(It)}),Be.timelines=gS,i.append(ut,Be.timelines),s.push({instruction:Be,player:ue,element:ut}),Be.queriedElements.forEach(It=>hn(a,It,[]).push(ue)),Be.preStyleProps.forEach((It,Hr)=>{if(It.size){let Mn=l.get(Hr);Mn||l.set(Hr,Mn=new Set),It.forEach((Jd,_g)=>Mn.add(_g))}}),Be.postStyleProps.forEach((It,Hr)=>{let Mn=c.get(Hr);Mn||c.set(Hr,Mn=new Set),It.forEach((Jd,_g)=>Mn.add(_g))})});if(Fe.length){const N=[];Fe.forEach(P=>{N.push(function G3(e,n){return new v(3505,!1)}())}),K.forEach(P=>P.destroy()),this.reportError(N)}const Oe=new Map,St=new Map;s.forEach(N=>{const P=N.element;i.has(P)&&(St.set(P,P),this._beforeAnimationBuild(N.player.namespaceId,N.instruction,Oe))}),r.forEach(N=>{const P=N.element;this._getPreviousPlayers(P,!1,N.namespaceId,N.triggerName,null).forEach(ue=>{hn(Oe,P,[]).push(ue),ue.destroy()})});const pn=y.filter(N=>aS(N,l,c)),Un=new Map;rS(Un,this.driver,_,c,Bi).forEach(N=>{aS(N,l,c)&&pn.push(N)});const Ka=new Map;f.forEach((N,P)=>{rS(Ka,this.driver,new Set(N),l,"!")}),pn.forEach(N=>{const P=Un.get(N),V=Ka.get(N);Un.set(N,new Map([...P?.entries()??[],...V?.entries()??[]]))});const $r=[],pS=[],mS={};s.forEach(N=>{const{element:P,player:V,instruction:ue}=N;if(i.has(P)){if(d.has(P))return V.onDestroy(()=>di(P,ue.toStyles)),V.disabled=!0,V.overrideTotalTime(ue.totalTime),void r.push(V);let ut=mS;if(St.size>1){let mn=P;const ar=[];for(;mn=mn.parentNode;){const Be=St.get(mn);if(Be){ut=Be;break}ar.push(mn)}ar.forEach(Be=>St.set(Be,ut))}const ui=this._buildAnimation(V.namespaceId,ue,Oe,o,Ka,Un);if(V.setRealPlayer(ui),ut===mS)$r.push(V);else{const mn=this.playersByElement.get(ut);mn&&mn.length&&(V.parentPlayer=or(mn)),r.push(V)}}else Br(P,ue.fromStyles),V.onDestroy(()=>di(P,ue.toStyles)),pS.push(V),d.has(P)&&r.push(V)}),pS.forEach(N=>{const P=o.get(N.element);if(P&&P.length){const V=or(P);N.setRealPlayer(V)}}),r.forEach(N=>{N.parentPlayer?N.syncPlayerEvents(N.parentPlayer):N.destroy()});for(let N=0;N!ui.destroyed);ut.length?z4(this,P,ut):this.processLeaveNode(P)}return y.length=0,$r.forEach(N=>{this.players.push(N),N.onDone(()=>{N.destroy();const P=this.players.indexOf(N);this.players.splice(P,1)}),N.play()}),$r}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Za;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=hn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}Br(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(p=>{const m=p.element;d.add(m);const y=m[Hn];if(y&&y.removedBeforeQueried)return new za(p.duration,p.delay);const b=m!==l,_=function G4(e){const n=[];return sS(e,n),n}((i.get(m)||L4).map(Oe=>Oe.getRealPlayer())).filter(Oe=>!!Oe.element&&Oe.element===m),S=o.get(m),O=s.get(m),K=PM(this._normalizer,p.keyframes,S,O),Fe=this._buildPlayer(p,K,_);if(p.subTimeline&&r&&u.add(m),b){const Oe=new pg(n,a,m);Oe.setRealPlayer(Fe),c.push(Oe)}return Fe});c.forEach(p=>{hn(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function $4(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>En(p,UM));const f=or(h);return f.onDestroy(()=>{d.forEach(p=>as(p,UM)),di(l,t.toStyles)}),u.forEach(p=>{hn(r,p,[]).push(f)}),f}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new za(n.duration,n.delay)}}class pg{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new za,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Qm(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){hn(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Yd(e){return e&&1===e.nodeType}function iS(e,n){const t=e.style.display;return e.style.display=n??"none",t}function rS(e,n,t,i,r){const o=[];t.forEach(l=>o.push(iS(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Hn]=V4,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>iS(l,o[a++])),s}function oS(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function En(e,n){e.classList?.add(n)}function as(e,n){e.classList?.remove(n)}function z4(e,n,t){or(t).onDone(()=>e.processLeaveNode(n))}function sS(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class Zd{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new j4(n,t,i),this._timelineEngine=new F4(n,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=rg(this._driver,o,l,[]);if(l.length)throw function k3(e,n){return new v(3404,!1)}();a=function I4(e,n,t){return new A4(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=LM(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=LM(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let Q4=(()=>{class e{static#e=this.initialStylesByElement=new WeakMap;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&di(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(di(this._element,this._initialStyles),this._endStyles&&(di(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Br(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Br(this._element,this._endStyles),this._endStyles=null),di(this._element,this._initialStyles),this._state=3)}}return e})();function mg(e){let n=null;return e.forEach((t,i)=>{(function Y4(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class lS{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:WM(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Z4{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return BM(n,t)}getParentElement(n){return Km(n)}query(n,t,i){return jM(n,t,i)}computeStyle(n,t,i){return window.getComputedStyle(n)[t]}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(f=>f instanceof lS);(function i4(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function e4(e){return e.length?e[0]instanceof Map?e:e.map(n=>zM(n)):[]}(t).map(f=>sr(f));u=function r4(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,WM(e,a)))}}return n}(n,u,c);const h=function W4(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=mg(n[0]),n.length>1&&(i=mg(n[n.length-1]))):n instanceof Map&&(t=mg(n)),t||i?new Q4(e,t,i):null}(n,u);return new lS(n,u,l,h)}}let K4=(()=>{class e extends gM{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:_n.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?vM(t):t;return cS(this._renderer,null,i,"register",[r]),new X4(i,this._renderer)}static#e=this.\u0275fac=function(i){return new(i||e)(D(Hs),D(be))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class X4 extends PU{constructor(n,t){super(),this._id=n,this._renderer=t}create(n,t){return new J4(this._id,n,t||{},this._renderer)}}class J4{constructor(n,t,i,r){this.id=n,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,t){return this._renderer.listen(this.element,`@@${this.id}:${n}`,t)}_command(n,...t){return cS(this._renderer,this.element,this.id,n,t)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function cS(e,n,t,i,r){return e.setProperty(n,`@@${t}:${i}`,r)}const dS="@.disabled";let e8=(()=>{class e{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,i){const o=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new uS("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(s,a,t,d.name,d)};return i.data.animation.forEach(l),new t8(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&ti(r)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(i){return new(i||e)(D(Hs),D(Zd),D(J))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class uS{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==dS?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class t8 extends uS{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==dS?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function n8(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function i8(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}const hS=[{provide:gM,useClass:K4},{provide:cg,useFactory:function o8(){return new x4}},{provide:Zd,useClass:(()=>{class e extends Zd{constructor(t,i,r,o){super(t.body,i,r)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(D(be),D(Xm),D(cg),D(Er))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})()},{provide:Hs,useFactory:function s8(e,n,t){return new e8(e,n,t)},deps:[Cp,Zd,J]}],gg=[{provide:Xm,useFactory:()=>new Z4},{provide:vr,useValue:"BrowserAnimations"},...hS],fS=[{provide:Xm,useClass:$M},{provide:vr,useValue:"NoopAnimations"},...hS];let a8=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?fS:gg}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e});static#n=this.\u0275inj=Ke({providers:gg,imports:[f0]})}return e})();var l8=Zt(943);Nx.extend(l8);let c8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=nt({type:e,bootstrap:[h3]});static#n=this.\u0275inj=Ke({imports:[f0,a8,Mz,Fz,EH,NH,u3,bz]})}return e})();gV().bootstrapModule(c8).catch(e=>console.error(e))},304:function(lr){lr.exports=function(){"use strict";var hi="millisecond",Kt="second",Xt="minute",Ee="hour",Bt="day",fi="week",vt="month",Jt="quarter",jt="year",Sn="date",In="Invalid Date",ls=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Xa=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,cs={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var F=["th","st","nd","rd"],E=B%100;return"["+B+(F[(E-20)%10]||F[E]||F[0])+"]"}},pi=function(B,F,E){var k=String(B);return!k||k.length>=F?B:""+Array(F+1-k.length).join(E)+B},mi={s:pi,z:function(B){var F=-B.utcOffset(),E=Math.abs(F),k=Math.floor(E/60),A=E%60;return(F<=0?"+":"-")+pi(k,2,"0")+":"+pi(A,2,"0")},m:function B(F,E){if(F.date()1)return B(R[0])}else{var we=F.name;gi[we]=F,A=we}return!k&&A&&(Gn=A),A||!k&&Gn},Ye=function(B,F){if(ds(B))return B.clone();var E="object"==typeof F?F:{};return E.date=B,E.args=arguments,new _i(E)},ae=mi;ae.l=$i,ae.i=ds,ae.w=function(B,F){return Ye(B,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var _i=function(){function B(E){this.$L=$i(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[Ur]=!0}var F=B.prototype;return F.parse=function(E){this.$d=function(k){var A=k.date,W=k.utc;if(null===A)return new Date(NaN);if(ae.u(A))return new Date;if(A instanceof Date)return new Date(A);if("string"==typeof A&&!/Z$/i.test(A)){var R=A.match(ls);if(R){var we=R[2]-1||0,Le=(R[7]||"0").substring(0,3);return W?new Date(Date.UTC(R[1],we,R[3]||1,R[4]||0,R[5]||0,R[6]||0,Le)):new Date(R[1],we,R[3]||1,R[4]||0,R[5]||0,R[6]||0,Le)}}return new Date(A)}(E),this.init()},F.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},F.$utils=function(){return ae},F.isValid=function(){return this.$d.toString()!==In},F.isSame=function(E,k){var A=Ye(E);return this.startOf(k)<=A&&A<=this.endOf(k)},F.isAfter=function(E,k){return Ye(E){lr(lr.s=405)}]);
\ No newline at end of file
diff --git a/docs/polyfills.44a7860c9ba81f28.js b/docs/polyfills.44a7860c9ba81f28.js
new file mode 100644
index 0000000..5e8855e
--- /dev/null
+++ b/docs/polyfills.44a7860c9ba81f28.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmovie_web_app=self.webpackChunkmovie_web_app||[]).push([[429],{332:()=>{!function(e){const n=e.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=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${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"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&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)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),Pe={},Ue=function(e){if(!(e=e||Y.event))return;let n=Pe[e.type];n||(n=Pe[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Pe[d];b||(b=Pe[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,Ue),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===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[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,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]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(P){return f(()=>{z(l,!1,P)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(P){f(()=>{z(l,!1,P)})()}else{l[q]=u;const P=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=P);const D=u.run(m,void 0,Z&&m!==K&&m!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.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 P=[];return new t((m,S)=>{for(let Z=0;Z{g||(g=!0,m(D))},D=>{P.push(D),f--,0===f&&(g=!0,S(new T(P,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function P(S){s(S)}function m(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(P,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,P=new this((D,V)=>{f=D,g=V}),m=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,m--,0===m&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),m--,0===m&&f(Z)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(Z),P}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=w();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),P=n.current;return this[q]==A?this[R].push(P,g,u,s):ee(this,P,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,P){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,P)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("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=e[o];if(p)return n.call(p)}if(this===Error){const p=e[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 Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],w=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=J?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=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const P=g&&s.target[g];if(P)for(let m=0;mfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:we,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,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(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={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{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Be||Zone[e.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 ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Oe],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===K){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const w=function O(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=332)}]);
\ No newline at end of file
diff --git a/docs/runtime.a547c0d464b5d6a2.js b/docs/runtime.a547c0d464b5d6a2.js
new file mode 100644
index 0000000..5ee8cb8
--- /dev/null
+++ b/docs/runtime.a547c0d464b5d6a2.js
@@ -0,0 +1 @@
+(()=>{"use strict";var r,_={},s={};function t(r){var f=s[r];if(void 0!==f)return f.exports;var e=s[r]={exports:{}};return _[r].call(e.exports,e,e.exports,t),e.exports}t.m=_,r=[],t.O=(f,e,a,n)=>{if(!e){var i=1/0;for(o=0;o=n)&&Object.keys(t.O).every(O=>t.O[O](e[c]))?e.splice(c--,1):(l=!1,n0&&r[o-1][2]>n;o--)r[o]=r[o-1];r[o]=[e,a,n]},(()=>{var f,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(e,a){if(1&a&&(e=this(e)),8&a||"object"==typeof e&&e&&(4&a&&e.__esModule||16&a&&"function"==typeof e.then))return e;var n=Object.create(null);t.r(n);var o={};f=f||[null,r({}),r([]),r(r)];for(var i=2&a&&e;"object"==typeof i&&!~f.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(l=>o[l]=()=>e[l]);return o.default=()=>e,t.d(n,o),n}})(),t.d=(r,f)=>{for(var e in f)t.o(f,e)&&!t.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:f[e]})},t.o=(r,f)=>Object.prototype.hasOwnProperty.call(r,f),t.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},(()=>{var r={666:0};t.O.j=a=>0===r[a];var f=(a,n)=>{var c,p,[o,i,l]=n,b=0;if(o.some(d=>0!==r[d])){for(c in i)t.o(i,c)&&(t.m[c]=i[c]);if(l)var u=l(t)}for(a&&a(n);b